Update ChangeLog and version files for release
[official-gcc.git] / libgcc / ChangeLog
blobf23623b7fc551074237f723c30e1e48c8eedfaf9
1 2017-08-14  Release Manager
3         * GCC 7.2.0 released.
5 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
7         Backport from mainline
8         2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
10         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
12 2017-07-20  Peter Bergner  <bergner@vnet.ibm.com>
14         Backport from mainline
15         2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
17         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
18         (have_ieee_hw_p): Delete function.
19         (SW_OR_HW) Use __builtin_cpu_supports().
21 2017-07-19  John Marino  <gnugcc@marino.st>
23         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
25 2017-07-04  Joseph Myers  <joseph@codesourcery.com>
27         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
28         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
29         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
30         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
31         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
32         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
33         config/pa/linux-unwind.h (pa32_fallback_frame_state),
34         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
35         config/sh/linux-unwind.h (sh_fallback_frame_state),
36         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
37         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
38         ucontext_t instead of struct ucontext.
40 2017-06-28  Richard Biener  <rguenther@suse.de>
42         Backport from mainline
43         2017-06-21  Richard Biener  <rguenther@suse.de>
45         PR gcov-profile/81080
46         * configure.ac: Add AC_SYS_LARGEFILE.
47         * libgcov.h: Include auto-target.h before tsystem.h to pick
48         up _FILE_OFFSET_BITS which might differ for multilibs.
49         * config.in: Regenerate.
50         * configure: Likewise.
52 2017-05-26  Richard Henderson  <rth@redhat.com>
54         PR libgcc/80037
55         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
57 2017-05-19  Andreas Tobler  <andreast@gcc.gnu.org>
59         Backport from mainline
60         2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
62         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
63         _Unwind_SetIP available as functions for arm*-*-freebsd*.
64         * config/arm/unwind-arm.c: Implement the above.
66 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
68         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
69         section for a non-executable stack.
71 2017-05-10  Andreas Tobler  <andreast@gcc.gnu.org>
73         Backport from mainline
74         2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
76         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
77         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
79 2017-05-02  Release Manager
81         * GCC 7.1.0 released.
83 2017-04-19  Martin Liska  <mliska@suse.cz>
85         PR gcov-profile/80435
86         * Makefile.in: Install gcov.h.
87         * gcov.h: New file.
88         * libgcov.h: Use the header and make __gcov_flush publicly
89         visible.
91 2017-04-18  Martin Liska  <mliska@suse.cz>
93         PR gcov-profile/78783
94         * libgcov-driver.c (gcov_get_filename): New function.
96 2017-04-07  Jeff Law  <law@redhat.com>
98         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
99         target makefile fragment.
100         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
102 2017-04-07  Alan Modra  <amodra@gmail.com>
104         PR target/45053
105         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
107 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
109         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
111 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
113         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
115 2017-03-10  John Marino  <gnugcc@marino.st>
117         * config/aarch64/freebsd-unwind.h: New file.
118         * config.host: Add aarch64-*-freebsd unwinder.
120 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
122         * config/rs6000/crtrestvr.s: Use .machine altivec.
123         * config/rs6000/crtsavevr.s: Ditto.
125 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
127         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
128         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
129         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
130         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
131         * configure: Regenerate.
132         * config.in: Regenerate.
134 2017-03-02  Jonathan Yong <10walls@gmail.com>
136         * config/i386/gthr-win32.h: Define NOGDI before
137         windows.h include to prevent w32api CC_NONE macro
138         clash with libgfortran.
140 2017-03-02  Jonathan Yong <10walls@gmail.com>
142         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
144 2017-02-16  Andrew Pinski  <apinski@cavium.com>
146         * config/aarch64/value-unwind.h: New file.
147         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
148         to tm_file.
150 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
152         * config.host: Add RISC-V tuples.
153         * config/riscv/atomic.c: New file.
154         * config/riscv/crti.S: Likewise.
155         * config/riscv/crtn.S: Likewise.
156         * config/riscv/div.S: Likewise.
157         * config/riscv/linux-unwind.h: Likewise.
158         * config/riscv/muldi3.S: Likewise.
159         * config/riscv/multi3.S: Likewise.
160         * config/riscv/save-restore.S: Likewise.
161         * config/riscv/sfp-machine.h: Likewise.
162         * config/riscv/t-elf: Likewise.
163         * config/riscv/t-elf32: Likewise.
164         * config/riscv/t-elf64: Likewise.
165         * config/riscv/t-softfp32: Likewise.
166         * config/riscv/t-softfp64: Likewise.
168 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
170         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
171         /* FALLTHRU */ comments.
173 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
175         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
177 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
179         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
180         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
181         DW_CFA_GNU_window_save for AArch64 and LP64.
183 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
185         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
187 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
189         * config/aarch64/aarch64-unwind.h: New file.
190         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
191         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
192         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
193         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
194         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
195         (aarch64_post_extract_frame_addr): New function.
196         (aarch64_post_frob_eh_handler_addr): New function.
197         (aarch64_frob_update_context): New function.
198         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
199         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
200         aarch64*-*-freebsd*):
201         Initialize md_unwind_header to include aarch64-unwind.h.
202         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
203         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
204         __aarch64__.
205         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
206         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
207         (uw_frob_return_addr): New function.
208         (uw_install_context): Use uw_frob_return_addr.
210 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
212         PR other/79046
213         * configure.ac: Add GCC_BASE_VER.
214         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
215         version from BASE-VER file.
216         * configure: Regenerated.
218 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
220         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
221         libmul_f5.a): Filter archived prerequisites.
223 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
225         * config/i386/cpuinfo.h (processor_features): Add
226         FEATURE_AVX512VPOPCNTDQ.
227         * config/i386/cpuinfo.c (get_available_features): Habdle new
228         feature.
230 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
232         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
233         payload if [__mips_nan2008].
235 2017-01-04  Alan Modra  <amodra@gmail.com>
237         * Makefile.in (configure_deps): Update.
238         * configure: Regenerate.
240 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
242         Update copyright years.
244 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
246         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
247         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
248         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
250 2016-12-17  Matthias Klose  <doko@ubuntu.com>
252         * config/arc/gmon: Remove empty directory.
254 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
256         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
257         crtgend.
258         (arc*-*-elf*): Likewise.
259         * config/arc/t-arc: Remove old gmon lib targets.
260         * config/arc/crtg.S: Remove.
261         * config/arc/crtgend.S: Likewise.
262         * config/arc/gmon/atomic.h: Likewise.
263         * config/arc/gmon/auxreg.h: Likewise.
264         * config/arc/gmon/dcache_linesz.S: Likewise.
265         * config/arc/gmon/gmon.c: Likewise.
266         * config/arc/gmon/machine-gmon.h: Likewise.
267         * config/arc/gmon/mcount.c: Likewise.
268         * config/arc/gmon/prof-freq-stub.S: Likewise.
269         * config/arc/gmon/prof-freq.c: Likewise.
270         * config/arc/gmon/profil.S: Likewise.
271         * config/arc/gmon/sys/gmon.h: Likewise.
272         * config/arc/gmon/sys/gmon_out.h: Likewise.
273         * config/arc/t-arc-newlib: Likewise.
274         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
276 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
278         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
280 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
282         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
283         R16 instead of push + pop.
284         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
286 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
288         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
289         tmake_file.
291 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
293         * config.host (arc*-*-linux-uclibc*): Use default extra
294         objects. Include linux-android header.
295         * config/arc/crti.S (_init): Declare symbol as function.
296         (_fini): Likewise.
298 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
300         PR fortran/78379
301         * config/i386/cpuinfo.c:  Move denums for processor vendors,
302         processor type, processor subtypes and declaration of
303         struct __processor_model into
304         * config/i386/cpuinfo.h:  New header file.
306 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
307             Thomas Preud'homme  <thomas.preudhomme@arm.com>
309         * config/arm/cmse_nonsecure_call.S: New.
310         * config/arm/t-arm: Compile cmse_nonsecure_call.S
312 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
313             Thomas Preud'homme  <thomas.preudhomme@arm.com>
315         * config/arm/t-arm (HAVE_CMSE): New.
316         * config/arm/cmse.c: New.
318 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
320         PR gcc/74748
321         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
322         use generic linker version information on Blackfin.
324         PR gcc/74748
325         * libgcc/mkmap-symver.awk: add support for skip_underscore
327 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
328             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
330         PR target/67710
331         *  config/t-darwin: Default builds to 10.5 codegen.
333 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
335         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
336         (_FP_NANSIGN_H): Likewise.
337         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
338         (softfp_truncations): Add tfhf.
339         (softfp_extras): Add required conversion functions.
341 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
342             Matthew Wahab  <matthew.wahab@arm.com>
344         * config/arm/fp16.c (binary64): New.
345         (__gnu_d2h_internal): New.
346         (__gnu_d2h_ieee): New.
347         (__gnu_d2h_alternative): New.
349 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
350             Matthew Wahab  <matthew.wahab@arm.com>
352         * config/arm/fp16.c (struct format): New.
353         (binary32): New.
354         (__gnu_float2h_internal): New.  Body moved from
355         __gnu_f2h_internal and generalize.
356         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
357         Call it with binary32.
359 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
361         * soft-fp/extendhftf2.c: Update from glibc.
362         * soft-fp/fixhfti.c: Likewise.
363         * soft-fp/fixunshfti.c: Likewise.
364         * soft-fp/floattihf.c: Likewise.
365         * soft-fp/floatuntihf.c: Likewise.
366         * soft-fp/half.h: Likewise.
367         * soft-fp/trunctfhf2.c: Likewise.
369 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
371         PR libgcc/77813
372         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
373         __TMC_END__ behind a passthrough asm.
375 2016-11-18  Walter Lee  <walt@tilera.com>
377         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
379 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
381         * config/i386/cpuinfo.c (processor_features): Add
382         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
384 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
386         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
387         (__ARC_NORM__): Use instead ARC_OPTFPE.
388         * config/arc/fp-hack.h: Likewise.
389         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
390         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
392 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
394         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
395         * config/nvptx/mgomp.c: New file.
396         * config/nvptx/t-nvptx: Add mgomp.c
398 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
400         PR libgcc/68468
401         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
403 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
405         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
406         of checking for cpus.
407         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
408         (__modsi3, __clzsi2): Likewise.
410 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
412         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
413         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
414         * config/i386/t-cpuinfo-static: New.
416 2016-11-03  Martin Liska  <mliska@suse.cz>
418         * libgcov-profiler.c (__gcov_time_profiler): Remove.
419         (__gcov_time_profiler_atomic): Likewise.
421 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
423         PR libgcc/78067
424         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
425         count_leading_zeros.
427 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
429         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
430         * libgcc2.c (__divmoddi4): New function.
431         * libgcc2.h (__divmoddi4): Declare.
432         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
433         and __PFX_divmodti4.
435 2016-10-24  Florian Weimer  <fweimer@redhat.com>
437         PR libgcc/78064
438         * unwind-c.c: Include auto-target.h.
440 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
442         * config/pa/pa64-hpux-lib.h: New file.
443         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
444         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
445         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
446         hppa*64*-*-hpux11*.
448 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
450         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
451         definition.
452         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
453         definition.
454         * config/xtensa/t-windowed (LIB2ADDEH): Use
455         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
456         or xtensa/t-linux.
458 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
460         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
461         __ieee754_sqrt): New functions.
462         (__divdf3): Add implementation with new FPU instructions under
463         #if XCHAL_HAVE_DFP_DIV.
464         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
465         __ieee754_sqrtf): New functions.
466         (__divsf3): Add implementation with new FPU instructions under
467         #if XCHAL_HAVE_FP_DIV.
468         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
469         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
471 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
473         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
474         equivalent.
475         * config/tilepro/atomic.c: Likewise and stop casting model to
476         enum memmodel.
478 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
480         PR target/77586
481         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
482         soft-fp.
484 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
486         * config.host: Add support for aarch64-*-freebsd*.
488 2016-10-05  Andreas Schwab  <schwab@suse.de>
490         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
491         (.section .init_array): Don't call __do_jv_register_classes.
492         (.section .init): Likewise.
494 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
496         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
497         (__JCR_LIST__): Remove.
498         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
499         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
500         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
501         * config/ia64/crtend.S (__JCR_END__): Remove.
502         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
503         conditionals.
504         (__JCR_LIST__, __JCR_END__): Remove.
505         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
506         (__do_global_ctors_1): Likewise.
508 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
510         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
511         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
513 2016-09-27  Martin Liska  <mliska@suse.cz>
515         PR gcov-profile/7970
516         PR gcov-profile/16855
517         PR gcov-profile/44779
518         * libgcov-driver.c (__gcov_init): Do not register a atexit
519         handler.
520         (__gcov_exit): Rename from gcov_exit.
521         * libgcov.h (__gcov_exit): Declare.
523 2016-09-27  Martin Liska  <mliska@suse.cz>
525         PR bootstrap/77749
526         * Makefile.in: Remove _gcov_merge_delta.
527         * libgcov-merge.c (void __gcov_merge_delta): Remove.
528         * libgcov-util.c (__gcov_delta_counter_op): Remove.
529         * libgcov.h: Remove declaration of __gcov_merge_delta.
531 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
533         * configure.ac: Do not create links, only substitute the filenames.
534         * configure: Regenerate.
535         * Makefile.in: Assign the substitution results to variables.
536         (LIBGCC_LINKS): Define.
537         (enable-execute-stack.c): New rule.
538         (unwind.h): Likewise.
539         (md-unwind-support.h): Likewise.
540         (sfp-machine.h): Likewise.
541         (gthr-default.h): Likewise.
542         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
543         unwind.h as prerequisite of install-unwind_h-forbuild.
545 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
547         PR libgcc/71744
548         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
549         is not the primary registry and atomics are available.
550         (any_objects_registered): New variable.
551         (__register_frame_info_bases, __register_frame_info_table_bases):
552         Atomically store 1 to any_objects_registered after registering first
553         unwind info.
554         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
556 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
558         PR target/63250
559         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
560         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
561         (HFtype): Likewise.
562         (HCtype): Likewise.
563         (__divhc3): Likewise.
564         (__mulhc3): Likewise.
565         * libgcc2.c: Support _mulhc3 and _divhc3.
567 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
569         PR libgcc/77519
570         * libgcc2.c (NOTRUNC): Invert settings.
572 2016-09-06  Martin Liska  <mliska@suse.cz>
574         PR gcov-profile/77378
575         PR gcov-profile/77466
576         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
577         conditionaly enable/disable *_atomic functions.
579 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
581         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
582         where not already enabled.
584 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
586         * config/mips/linux-unwind.h: Use sys/syscall.h.
588 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
590         PR libgcc/77265
591         * soft-fp/adddf3.c: Update from glibc.
592         * soft-fp/addsf3.c: Likewise.
593         * soft-fp/addtf3.c: Likewise.
594         * soft-fp/divdf3.c: Likewise.
595         * soft-fp/divsf3.c: Likewise.
596         * soft-fp/divtf3.c: Likewise.
597         * soft-fp/double.h: Likewise.
598         * soft-fp/eqdf2.c: Likewise.
599         * soft-fp/eqsf2.c: Likewise.
600         * soft-fp/eqtf2.c: Likewise.
601         * soft-fp/extenddftf2.c: Likewise.
602         * soft-fp/extended.h: Likewise.
603         * soft-fp/extendsfdf2.c: Likewise.
604         * soft-fp/extendsftf2.c: Likewise.
605         * soft-fp/extendxftf2.c: Likewise.
606         * soft-fp/fixdfdi.c: Likewise.
607         * soft-fp/fixdfsi.c: Likewise.
608         * soft-fp/fixdfti.c: Likewise.
609         * soft-fp/fixsfdi.c: Likewise.
610         * soft-fp/fixsfsi.c: Likewise.
611         * soft-fp/fixsfti.c: Likewise.
612         * soft-fp/fixtfdi.c: Likewise.
613         * soft-fp/fixtfsi.c: Likewise.
614         * soft-fp/fixtfti.c: Likewise.
615         * soft-fp/fixunsdfdi.c: Likewise.
616         * soft-fp/fixunsdfsi.c: Likewise.
617         * soft-fp/fixunsdfti.c: Likewise.
618         * soft-fp/fixunssfdi.c: Likewise.
619         * soft-fp/fixunssfsi.c: Likewise.
620         * soft-fp/fixunssfti.c: Likewise.
621         * soft-fp/fixunstfdi.c: Likewise.
622         * soft-fp/fixunstfsi.c: Likewise.
623         * soft-fp/fixunstfti.c: Likewise.
624         * soft-fp/floatdidf.c: Likewise.
625         * soft-fp/floatdisf.c: Likewise.
626         * soft-fp/floatditf.c: Likewise.
627         * soft-fp/floatsidf.c: Likewise.
628         * soft-fp/floatsisf.c: Likewise.
629         * soft-fp/floatsitf.c: Likewise.
630         * soft-fp/floattidf.c: Likewise.
631         * soft-fp/floattisf.c: Likewise.
632         * soft-fp/floattitf.c: Likewise.
633         * soft-fp/floatundidf.c: Likewise.
634         * soft-fp/floatundisf.c: Likewise.
635         * soft-fp/floatunditf.c: Likewise.
636         * soft-fp/floatunsidf.c: Likewise.
637         * soft-fp/floatunsisf.c: Likewise.
638         * soft-fp/floatunsitf.c: Likewise.
639         * soft-fp/floatuntidf.c: Likewise.
640         * soft-fp/floatuntisf.c: Likewise.
641         * soft-fp/floatuntitf.c: Likewise.
642         * soft-fp/gedf2.c: Likewise.
643         * soft-fp/gesf2.c: Likewise.
644         * soft-fp/getf2.c: Likewise.
645         * soft-fp/ledf2.c: Likewise.
646         * soft-fp/lesf2.c: Likewise.
647         * soft-fp/letf2.c: Likewise.
648         * soft-fp/muldf3.c: Likewise.
649         * soft-fp/mulsf3.c: Likewise.
650         * soft-fp/multf3.c: Likewise.
651         * soft-fp/negdf2.c: Likewise.
652         * soft-fp/negsf2.c: Likewise.
653         * soft-fp/negtf2.c: Likewise.
654         * soft-fp/op-1.h: Likewise.
655         * soft-fp/op-2.h: Likewise.
656         * soft-fp/op-4.h: Likewise.
657         * soft-fp/op-8.h: Likewise.
658         * soft-fp/op-common.h: Likewise.
659         * soft-fp/quad.h: Likewise.
660         * soft-fp/single.h: Likewise.
661         * soft-fp/soft-fp.h: Likewise.
662         * soft-fp/subdf3.c: Likewise.
663         * soft-fp/subsf3.c: Likewise.
664         * soft-fp/subtf3.c: Likewise.
665         * soft-fp/truncdfsf2.c: Likewise.
666         * soft-fp/trunctfdf2.c: Likewise.
667         * soft-fp/trunctfsf2.c: Likewise.
668         * soft-fp/trunctfxf2.c: Likewise.
669         * soft-fp/unorddf2.c: Likewise.
670         * soft-fp/unordsf2.c: Likewise.
671         * soft-fp/unordtf2.c: Likewise.
673 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
675         PR gcov-profile/67097
676         * libgcov-util.c (gcov_profile_merge): Skip missing files.
678 2016-08-10  Martin Liska  <mliska@suse.cz>
680         PR gcov-profile/58306
681         * Makefile.in: New functions (modules) are added.
682         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
683         function.
684         (__gcov_pow2_profiler_atomic): New function.
685         (__gcov_one_value_profiler_body): New argument is instroduced.
686         (__gcov_one_value_profiler): Call with the new argument.
687         (__gcov_one_value_profiler_atomic): Likewise.
688         (__gcov_indirect_call_profiler_v2): Likewise.
689         (__gcov_time_profiler_atomic): New function.
690         (__gcov_average_profiler_atomic): Likewise.
691         (__gcov_ior_profiler_atomic): Likewise.
692         * libgcov.h: Declare the aforementioned functions.
694 2016-08-09  Martin Liska  <mliska@suse.cz>
696         * libgcov-util.c: Fix typo and GNU coding style.
698 2016-08-09  Martin Liska  <mliska@suse.cz>
700         * Makefile.in: Remove __gcov_indirect_call_profiler.
701         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
702         function.
703         * libgcov.h: And the declaration of the function.
705 2016-08-09  Martin Liska  <mliska@suse.cz>
707         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
708         power of two.
710 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
712         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
713         * config/rs6000/_mulkc3.c: Likewise.
715 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
717         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
718         zero_reg as previous call to __umulhisi3 already cleared it.
720 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
722         PR target/59833
723         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
725 2016-07-19  Nick Clifton  <nickc@redhat.com>
727         * config.host (m32r): Add m32r/t-m32r to tmake_file.
728         Add crtinit.o and crtfini.o to extra_parts.
730 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
732         * config/rs6000/_divkc3.c: New.
733         * config/rs6000/_mulkc3.c: New.
734         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
735         and _divkc3.
736         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
737         fp128_ppc_funcs.
739 2016-07-11  Hale Wang  <hale.wang@arm.com>
740             Andre Vieira  <andre.simoesdiasvieira@arm.com>
742         * config/arm/lib1funcs.S: Add new wrapper.
744 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
746         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
748 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
750         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
751         and ARMv5t* rather than for a fixed list of architectures.
753 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
755         * config/arm/bpabi-v6m.S: Clarify what architectures is the
756         implementation suitable for.
757         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
758         for all Thumb-1 only targets.
759         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
760         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
761         __ARM_ARCH_6M__.
762         (EQUIV): Likewise.
763         (ARM_FUNC_ALIAS): Likewise.
764         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
765         version.
766         (modsi3): Likewise.
767         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
768         (clzdi2): Likewise.
769         (ctzsi2): Likewise.
770         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
771         __ARM_ARCH_6M__ in guard for checking whether it is defined.
772         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
773         __ARM_ARCH_6M__ and add comment to indicate the connection between
774         this condition and the one in gcc/config/arm/elf.h.
775         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
776         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
777         * config/arm/t-softfp: Likewise.
779 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
781         * libgcc2.c (SYMBOL__MAIN): Remove checks for
782         CTOR_LISTS_DEFINED_EXTERNALLY.
784 2016-06-28  Walter Lee  <walt@tilera.com>
786         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
787         asm/unistd.h.
788         (SPR_CMPEXCH_VALUE): Define for tilegx.
789         (__NR_FAST_cmpxchg): Define for tilepro.
790         (__NR_FAST_atomic_update): Define for tilepro.
791         (__NR_FAST_cmpxchg64): Define for tilepro.
793 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
795         * config.host: Add suport for arm*-*-phoenix* targets.
797 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
799         * config.host: Remove support for mep-*.
800         * config/mep/lib1funcs.S: Remove.
801         * config/mep/lib2funcs.c: Remove.
802         * config/mep/t-mep: Remove.
803         * config/mep/tramp.c: Remove.
805 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
807         * config.host: Remove support for avr-rtems.
808         * config/avr/t-rtems: Remove.
810 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
812         * config.host: Remove m32r-rtems support.
814 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
816         * config.host: Remove h8300-rtems support.
818 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
820         * config.host: Remove support for knetbsd.
822 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
824         * config.host: Remove support for openbsd 2 and 3.
826 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
828         * config.host: Remove interix support.
829         * config/i386/t-interix: Remove.
831 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
833         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
834         least-significant bit in function pointer for fixup.
836 2016-06-05  Aaron Conole  <aconole@redhat.com>
837             Nathan Sidwell  <nathan@acm.org>
839         PR libgcc/71400
840         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
841         (get_gcov_error_file): Check __gcov_error_file before trying to
842         initialize it.
843         (gcov_error): Always use get_gcov_error_file.
845 2016-06-02  Aaron Conole  <aconole@redhat.com>
847         * libgcov-driver-system.c (__gcov_error_file): New.
848         (get_gcov_error_file): New.
849         (gcov_error): Use and set __gcov_error_file.
850         (gcov_error_exit): New.
851         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
853 2016-05-26  Nathan Sidwell  <nathan@acm.org>
855         * config/nvptx/free.asm: Delete.
856         * config/nvptx/malloc.asm: Delete.
857         * config/nvptx/realloc.c: Delete.
858         * t-nvptx: Update.
860 2016-05-25  Nathan Sidwell  <nathan@acm.org>
862         * config/nvptx/crt0.s: Delete.
863         * config/nvptx/crt0.c: New.
864         * t-nvptx: Update.
866 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
868         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
869         dw2/seh configuration.
870         [x86_64-*-mingw*]: Likewise.
872 2016-05-10  Joel Sherrill <joel@rtems.org>
874         PR libgcc/70720
875         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
876         targets so the same extra_parts are built.  Also have tmake_file add
877         on to its value rather than override.
879 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
881         * config.host: Remove SH5 support.
882         * configure: Likewise.
884 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
886         * config/sh/crt1.S: Remove SH5 support.
887         * config/sh/crti.S: Likewise.
888         * config/sh/crtn.S: Likewise.
889         * config/sh/lib1funcs-4-300.S: Likewise.
890         * config/sh/lib1funcs-Os-4-200.S: Likewise.
891         * config/sh/lib1funcs.S: Likewise.
892         * config/sh/linux-unwind.h: Likewise.
893         * config/sh/t-sh64: Delete.
895 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
897         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
899 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
900             Joern Rennecke  <joern.rennecke@embecosm.com>
902         * config/arc/crttls.S: New file.
903         * config/arc/t-arc: New rule.
904         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
906 2016-04-25  Nick Clifton  <nickc@redhat.com>
908         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
909         (__mspabi_cmpd): Likewise.
910         * config/msp430/floathidf.c (__floathidf): Likewise.
911         * config/msp430/floathisf.c (__floathisf): Likewise
912         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
913         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
914         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
915         second parameter.
916         (__ashrsi3): Likewise.
918 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
920         * config/m68k/linux-atomic.c: Do not include unistd.h
922 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
924         * config/arm/ieee754-df.S: Fix typos in comments.
926 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
928         PR target/70381
929         * configure.ac (powerpc*-*-linux*): Rework tests to build
930         __float128 emulation routines to not depend on using #pragma GCC
931         target to enable -mfloat128.
932         * configure: Regnerate.
934 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
936         PR target/67172
937         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
938         __MINGW32__ is defined.
940 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
942         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
944 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
946         PR libgcc/70363
947         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
948         built with an assembler that does not support ISA 3.0
949         instructions, rename __extendkftf2_sw to __extendkftf2.
951 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
953         PR target/38239
954         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
955         call-clobbered registers.
956         (internal_mcount): Remove __i386__ handling.
958 2016-02-26  Joel Sherrill <joel@rtems.org>
960         * config.host: Add x86_64-*-rtems*.
962 2016-02-26  Joel Sherrill <joel@rtems.org>
964         * libgcc/config.host: Add aarch64-*-rtems*.
966 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
967             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
969         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
970         union of u64 and double.
971         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
972         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
973         value.
974         (FP_ROUNDMODE): Update the usage of _fpscr.
976 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
978         PR driver/68463
979         * Makefile.in (crtoffloadtable$(objext)): New rule.
980         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
981         enable_offload_targets is not empty.
982         * configure: Regenerate.
983         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
984         crtoffloadtable.
986 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
988         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
989         .literal_position before the function.
990         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
991         Likewise.
993 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
995         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
996         * config/s390/morestack.S: New file.
997         * config/s390/t-stack-s390: New file.
998         * generic-morestack.c (__splitstack_find): Add s390-specific code.
1000 2016-02-12  Walter Lee  <walt@tilera.com>
1002         * config.host (tilegx*-*-linux*): remove ti from
1003         softfp_int_modes for 32-bit configs.
1005 2016-02-10  Ian Lance Taylor  <iant@google.com>
1007         PR go/68562
1008         * config/i386/morestack.S (__stack_split_initialize): Align
1009         stack.
1011 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
1013         PR bootstrap/69611
1014         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
1015         __FLOAT128__ to compile only for __float128 capable targets.
1017 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
1019         PR target/69444
1020         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
1021         instead of ___NO_FPRS__.
1023 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
1024             Steven Munroe  <munroesj@linux.vnet.ibm.com>
1025             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
1027         * config/rs6000/float128-sed: New files to convert TF names to KF
1028         names for PowerPC IEEE 128-bit floating point support.
1029         * config/rs6000/float128-sed-hw: Likewise.
1031         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1032         floating point hardware support.
1034         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1035         128-bit floating point software emulation or use ISA 3.0 hardware
1036         support if it is available.
1038         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1039         floating point.
1041         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
1042         floating point to IBM extended double.
1044         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
1045         double to IEEE 128-bit floating point.
1047         * config/rs6000/t-float128: New Makefile fragments to enable
1048         building __float128 emulation support.
1049         * config/rs6000/t-float128-hw: Likewise.
1051         * config/rs6000/sfp-exceptions.c: New file to provide exception
1052         support for IEEE 128-bit floating point.
1054         * config/rs6000/floattikf.c: New files for converting between IEEE
1055         128-bit floating point and signed/unsigned 128-bit integers.
1056         * config/rs6000/fixunskfti.c: Likewise.
1057         * config/rs6000/fixkfti.c: Likewise.
1058         * config/rs6000/floatuntikf.c: Likewise.
1060         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1061         when building on 64-bit systems, or when VSX is enabled.
1062         (_FP_W_TYPE): Likewise.
1063         (_FP_WS_TYPE): Likewise.
1064         (_FP_I_TYPE): Likewise.
1065         (TItype): Define on 64-bit systems.
1066         (UTItype): Likewise.
1067         (TI_BITS): Likewise.
1068         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1069         (_FP_MUL_MEAT_Q): Likewise.
1070         (_FP_DIV_MEAT_D): Likewise.
1071         (_FP_DIV_MEAT_Q): Likewise.
1072         (_FP_NANFRAC_D): Likewise.
1073         (_FP_NANFRAC_Q): Likewise.
1074         (ISA_BIT): Add exception support if we are being compiled on a
1075         machine with hardware floating point support to build the IEEE
1076         128-bit emulation functions.
1077         (FP_EX_INVALID): Likewise.
1078         (FP_EX_OVERFLOW): Likewise.
1079         (FP_EX_UNDERFLOW): Likewise.
1080         (FP_EX_DIVZERO): Likewise.
1081         (FP_EX_INEXACT): Likewise.
1082         (FP_EX_ALL): Likewise.
1083         (__sfp_handle_exceptions): Likewise.
1084         (FP_HANDLE_EXCEPTIONS): Likewise.
1085         (FP_RND_NEAREST): Likewise.
1086         (FP_RND_ZERO): Likewise.
1087         (FP_RND_PINF): Likewise.
1088         (FP_RND_MINF): Likewise.
1089         (FP_RND_MASK): Likewise.
1090         (_FP_DECL_EX): Likewise.
1091         (FP_INIT_ROUNDMODE): Likewise.
1092         (FP_ROUNDMODE): Likewise.
1094         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1095         VSX code, enable IEEE 128-bit floating point.  If the compiler can
1096         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
1097         floating point hardware instructions and it supports declaring
1098         functions with the ifunc attribute, enable ifunc functions to
1099         switch between software and hardware support.
1100         * configure.ac (powerpc*-*-linux*): Likewise.
1101         * configure: Regenerate.
1103 2016-01-15  Nick Clifton  <nickc@redhat.com>
1105         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
1106         dependency as the source file to be compiled.
1107         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
1108         (lib2hw_mul_f5.o): Likewise.
1110 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
1112         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
1113         * libgcc/config/rs6000/fixkfti.c: Likewise.
1114         * libgcc/config/rs6000/fixunskfti.c: Likewise.
1115         * libgcc/config/rs6000/float128-hw.c: Likewise.
1116         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
1117         * libgcc/config/rs6000/float128-sed: Likewise.
1118         * libgcc/config/rs6000/floattikf.c: Likewise.
1119         * libgcc/config/rs6000/floatuntikf.c: Likewise.
1120         * libgcc/config/rs6000/quad-float128.h: Likewise.
1121         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
1122         * libgcc/config/rs6000/sfp-machine.h: Likewise.
1123         * libgcc/config/rs6000/t-float128: Likewise.
1124         * libgcc/config/rs6000/t-float128-hw: Likewise.
1125         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
1126         * libgcc/config.host: Likewise.
1127         * libgcc/configure: Likewise.
1128         * libgcc/configure.ac: Likewise.
1130 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
1131             Steven Munroe  <munroesj@linux.vnet.ibm.com>
1132             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
1134         * config/rs6000/sfp-exceptions.c: New file to provide exception
1135         support for IEEE 128-bit floating point.
1137         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1138         floating point hardware support.
1140         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
1141         point conversions.
1142         * config/rs6000/fixunskfti.c: Likewise.
1143         * config/rs6000/fixkfti.c: Likewise.
1144         * config/rs6000/floatuntikf.c: Likewise.
1145         * config/rs6000/extendkftf2-sw.c: Likewise.
1146         * config/rs6000/trunctfkf2-sw.c: Likewise.
1148         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1149         128-bit floating point software emulation or use ISA 3.0 hardware
1150         support if it is available.
1152         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1153         floating point.
1155         * config/rs6000/t-float128: New Makefile fragments to enable
1156         building __float128 emulation support.
1157         * config/rs6000/t-float128-hw: Likewise.
1159         * config/rs6000/float128-sed: New file to convert TF names to KF
1160         names for PowerPC IEEE 128-bit floating point support.
1162         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1163         when building on 64-bit systems, or when VSX is enabled.
1164         (_FP_W_TYPE): Likewise.
1165         (_FP_WS_TYPE): Likewise.
1166         (_FP_I_TYPE): Likewise.
1167         (TItype): Define on 64-bit systems.
1168         (UTItype): Likewise.
1169         (TI_BITS): Likewise.
1170         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1171         (_FP_MUL_MEAT_Q): Likewise.
1172         (_FP_DIV_MEAT_D): Likewise.
1173         (_FP_DIV_MEAT_Q): Likewise.
1174         (_FP_NANFRAC_D): Likewise.
1175         (_FP_NANFRAC_Q): Likewise.
1176         (ISA_BIT): Add exception support if we are being compiled on a
1177         machine with hardware floating point support to build the IEEE
1178         128-bit emulation functions.
1179         (FP_EX_INVALID): Likewise.
1180         (FP_EX_OVERFLOW): Likewise.
1181         (FP_EX_UNDERFLOW): Likewise.
1182         (FP_EX_DIVZERO): Likewise.
1183         (FP_EX_INEXACT): Likewise.
1184         (FP_EX_ALL): Likewise.
1185         (__sfp_handle_exceptions): Likewise.
1186         (FP_HANDLE_EXCEPTIONS): Likewise.
1187         (FP_RND_NEAREST): Likewise.
1188         (FP_RND_ZERO): Likewise.
1189         (FP_RND_PINF): Likewise.
1190         (FP_RND_MINF): Likewise.
1191         (FP_RND_MASK): Likewise.
1192         (_FP_DECL_EX): Likewise.
1193         (FP_INIT_ROUNDMODE): Likewise.
1194         (FP_ROUNDMODE): Likewise.
1196         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
1197         compiler can do __float128.
1198         * configure: Regenerate.
1200         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1201         VSX code, enable IEEE 128-bit floating point.
1203 2016-01-05  Olivier Hainque  <hainque@adacore.com>
1205         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
1206         specificities.
1208 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
1210         Update copyright years.
1212 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
1214         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
1215         soft-fp targets.
1217 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1219         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
1220         instead of abort to avoid dependency on stdlib.h.
1222 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
1224         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
1225         to initialize call to __dl_fixup once.
1227 2015-12-04  Nick Clifton  <nickc@redhat.com>
1229         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
1230         Allow for the second argument being negative.
1231         * config.host (extra_parts): Define for MSP430.  Create separate
1232         libraries for each of the hardware multiply formats.
1233         * config/msp430/lib2hw_mul.S: Build only the multiply routines
1234         that are needed.
1235         * config/msp430/lib2mul.c: Likewise.
1236         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
1237         Add rules to build hardware multiply libraries.
1238         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
1239         __mspabi_divul function.
1240         (__mspabi_divllu): New stub function.
1242 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
1244         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
1245         fixup values if saved GOT address doesn't match runtime address.
1246         (fixup_branch_offset): Reorder list.
1248 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1250         * Makefile.in (VTV_CFLAGS): New variable.
1251         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
1252         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
1253         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1254         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
1255         to extra_parts if $enable_vtable_verify = yes.
1257 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1259         PR target/68059
1260         * config/arm/linux-atomic-64bit.c (__write): Rename to...
1261         (write): ...this and fix the return type.
1263 2015-11-19  DJ Delorie  <dj@redhat.com>
1265         * config/msp430/lib2hw_mul.S: Fix alignment.
1267 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
1269         * config/nvptx/reduction.c: New.
1270         * config/nvptx/t-nvptx (LIB2ADD): Add it.
1272 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
1274         * config/rs6000/on_exit.c: New file.
1275         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
1276         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
1278 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
1280         * config/arc/dp-hack.h: Add support for ARCHS.
1281         * config/arc/ieee-754/divdf3.S: Likewise.
1282         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
1283         * config/arc/ieee-754/muldf3.S: Likewise.
1284         * config/arc/ieee-754/mulsf3.S: Likewise
1285         * config/arc/lib1funcs.S: Likewise
1286         * config/arc/gmon/dcache_linesz.S: Don't read the build register
1287         for ARCv2 cores.
1288         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
1289         for ARCv2 cores.
1290         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
1291         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
1292         cores.
1294 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1296         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
1297         value.
1298         * config/ia64/crtend.S: Likewise.
1300 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1302         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
1303         __CHAR_BIT__ instead of BITS_PER_UNIT.
1304         * fixed-bit.h: Likewise.
1305         * fp-bit.h: Likewise.
1306         * libgcc2.c (__popcountSI2): Likewise.
1307         (__popcountDI2): Likewise.
1308         * libgcc2.h: Likewise.
1309         * libgcov.h: Likewise.
1311 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
1313         * config/rs6000/atexit.c: New file.
1314         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
1315         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
1316         * config/rs6000/cxa_finalize.c
1317         (catomic_compare_and_exchange_bool_acq): Negate return value.
1319 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
1321         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
1322         (processor_subtypes): Add znver1.
1323         (get_amd_cpu): Detect znver1.
1325 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
1327         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
1328         Include crtfastmath.o.
1330 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
1332         PR libgcc/66883
1333         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1335 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
1337         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
1338         * config/rl78/divmodsi.S: Update return register to r8.
1339         * config/rl78/divmodhi.S: Update return register to r8,r9.
1340         Branch to main_loop_done_himode to pop registers before return.
1342 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
1344         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
1345         (__cpu_indicator_init): Fix model selection for AMD CPUs.
1347 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
1349         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
1351 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
1353         * config.host (xtensa*-*-uclinux*): New configuration.
1355 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
1357         * config/i386/cpuinfo.c (processor_features): Add
1358         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
1360 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
1362         * soft-fp/adddf3.c: Update from glibc.
1363         * soft-fp/addsf3.c: Likewise.
1364         * soft-fp/addtf3.c: Likewise.
1365         * soft-fp/divdf3.c: Likewise.
1366         * soft-fp/divsf3.c: Likewise.
1367         * soft-fp/divtf3.c: Likewise.
1368         * soft-fp/double.h: Likewise.
1369         * soft-fp/eqdf2.c: Likewise.
1370         * soft-fp/eqsf2.c: Likewise.
1371         * soft-fp/eqtf2.c: Likewise.
1372         * soft-fp/extenddftf2.c: Likewise.
1373         * soft-fp/extended.h: Likewise.
1374         * soft-fp/extendsfdf2.c: Likewise.
1375         * soft-fp/extendsftf2.c: Likewise.
1376         * soft-fp/extendxftf2.c: Likewise.
1377         * soft-fp/fixdfdi.c: Likewise.
1378         * soft-fp/fixdfsi.c: Likewise.
1379         * soft-fp/fixdfti.c: Likewise.
1380         * soft-fp/fixsfdi.c: Likewise.
1381         * soft-fp/fixsfsi.c: Likewise.
1382         * soft-fp/fixsfti.c: Likewise.
1383         * soft-fp/fixtfdi.c: Likewise.
1384         * soft-fp/fixtfsi.c: Likewise.
1385         * soft-fp/fixtfti.c: Likewise.
1386         * soft-fp/fixunsdfdi.c: Likewise.
1387         * soft-fp/fixunsdfsi.c: Likewise.
1388         * soft-fp/fixunsdfti.c: Likewise.
1389         * soft-fp/fixunssfdi.c: Likewise.
1390         * soft-fp/fixunssfsi.c: Likewise.
1391         * soft-fp/fixunssfti.c: Likewise.
1392         * soft-fp/fixunstfdi.c: Likewise.
1393         * soft-fp/fixunstfsi.c: Likewise.
1394         * soft-fp/fixunstfti.c: Likewise.
1395         * soft-fp/floatdidf.c: Likewise.
1396         * soft-fp/floatdisf.c: Likewise.
1397         * soft-fp/floatditf.c: Likewise.
1398         * soft-fp/floatsidf.c: Likewise.
1399         * soft-fp/floatsisf.c: Likewise.
1400         * soft-fp/floatsitf.c: Likewise.
1401         * soft-fp/floattidf.c: Likewise.
1402         * soft-fp/floattisf.c: Likewise.
1403         * soft-fp/floattitf.c: Likewise.
1404         * soft-fp/floatundidf.c: Likewise.
1405         * soft-fp/floatundisf.c: Likewise.
1406         * soft-fp/floatunditf.c: Likewise.
1407         * soft-fp/floatunsidf.c: Likewise.
1408         * soft-fp/floatunsisf.c: Likewise.
1409         * soft-fp/floatunsitf.c: Likewise.
1410         * soft-fp/floatuntidf.c: Likewise.
1411         * soft-fp/floatuntisf.c: Likewise.
1412         * soft-fp/floatuntitf.c: Likewise.
1413         * soft-fp/gedf2.c: Likewise.
1414         * soft-fp/gesf2.c: Likewise.
1415         * soft-fp/getf2.c: Likewise.
1416         * soft-fp/ledf2.c: Likewise.
1417         * soft-fp/lesf2.c: Likewise.
1418         * soft-fp/letf2.c: Likewise.
1419         * soft-fp/muldf3.c: Likewise.
1420         * soft-fp/mulsf3.c: Likewise.
1421         * soft-fp/multf3.c: Likewise.
1422         * soft-fp/negdf2.c: Likewise.
1423         * soft-fp/negsf2.c: Likewise.
1424         * soft-fp/negtf2.c: Likewise.
1425         * soft-fp/op-1.h: Likewise.
1426         * soft-fp/op-2.h: Likewise.
1427         * soft-fp/op-4.h: Likewise.
1428         * soft-fp/op-8.h: Likewise.
1429         * soft-fp/op-common.h: Likewise.
1430         * soft-fp/quad.h: Likewise.
1431         * soft-fp/single.h: Likewise.
1432         * soft-fp/soft-fp.h: Likewise.
1433         * soft-fp/subdf3.c: Likewise.
1434         * soft-fp/subsf3.c: Likewise.
1435         * soft-fp/subtf3.c: Likewise.
1436         * soft-fp/truncdfsf2.c: Likewise.
1437         * soft-fp/trunctfdf2.c: Likewise.
1438         * soft-fp/trunctfsf2.c: Likewise.
1439         * soft-fp/trunctfxf2.c: Likewise.
1440         * soft-fp/unorddf2.c: Likewise.
1441         * soft-fp/unordsf2.c: Likewise.
1442         * soft-fp/unordtf2.c: Likewise.
1444 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
1446         PR libgcc/67624
1447         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
1449 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1451         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1452         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
1453         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
1454         messages.
1455         (internal_mcount): Likewise.
1456         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
1457         crt_compile, add CRTSTUFF_T_CFLAGS_S.
1459 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1461         * configure.ac (libgcc_cv_solaris_crts): New test.
1462         * configure: Regenerate.
1463         * config.in: Regenerate.
1464         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
1465         * config/gmon-sol2.c: Rename to ...
1466         * config/sol2/gmon.c: ... this.
1467         Include auto-target.h.
1468         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
1469         * config/t-sol2: Rename to ...
1470         * config/sol2/t-sol2: ... this.
1471         (gmon.o): Reflect renaming.
1472         (crtp.o, crtpg.o): New rules.
1473         * config.host (*-*-solaris2*): Reflect renaming.
1474         Use system CRTs if present.
1475         Remove default CRT case.
1477 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
1479         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
1480         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
1481         __kernel_cmpxchg2.
1482         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
1483         (__sync_val_compare_and_swap_##WIDTH): Likewise.
1484         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
1485         (__sync_lock_test_and_set_##WIDTH): Likewise.
1486         (__sync_lock_release_##WIDTH): Likewise.
1487         (__sync_fetch_and_##OP##_4): Change result to match type of
1488         __kernel_cmpxchg.
1489         (__sync_##OP##_and_fetch_4): Likewise.
1490         (__sync_val_compare_and_swap_4): Likewise.
1491         (__sync_bool_compare_and_swap_4): likewise.
1492         (__sync_lock_test_and_set_4): Likewise.
1493         (__sync_lock_release_4): Likewise.
1494         (FETCH_AND_OP_2): Add long long variants.
1495         (OP_AND_FETCH_2): Likewise.
1496         (COMPARE_AND_SWAP_2 ): Likewise.
1497         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1498         (SYNC_LOCK_RELEASE_2): Likewise.
1499         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
1501 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
1503         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
1504         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
1505         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
1506         (get_available_features): Habdle new features.
1508 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
1510         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
1511         memory layout. Deal correctly with BSS region larger than 32K.
1512         Handle a watchdog reset like a power-on reset. Clean up unused
1513         code.
1515 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
1516             David Edelsohn  <dje.gcc@gmail.com>
1518         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
1519         * config/rs6000/crtdbase.S: New file.
1520         * config/rs6000/t-aix-cxa: Build crtdbase.o.
1522 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
1524         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1525         Add support for call0 ABI.
1527 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
1529         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
1531 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1533         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
1534         (__GTHREAD_HAS_COND): Likewise.
1535         (__gthread_t): Likewise.
1536         (__gthread_cond_t): Likewise.
1537         (__gthread_time_t): Likewise.
1538         (__GTHREAD_MUTEX_INIT): Likewise.
1539         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
1540         (__GTHREAD_COND_INIT): Likewise.
1541         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
1542         (__GTHREAD_TIME_INIT): Likewise.
1543         (__gthread_create): Likewise.
1544         (__gthread_join): Likewise.
1545         (__gthread_detach): Likewise.
1546         (__gthread_equal): Likewise.
1547         (__gthread_self): Likewise.
1548         (__gthread_yield): Likewise.
1549         (__gthread_cond_broadcast): Likewise.
1550         (__gthread_cond_signal): Likewise.
1551         (__gthread_cond_wait): Likewise.
1552         (__gthread_cond_timedwait): Likewise.
1553         (__gthread_cond_wait_recursive): Likewise.
1554         (__gthread_cond_destroy): Likewise.
1555         (rtems_gxx_once): Delete.
1556         (rtems_gxx_key_create): Likewise.
1557         (rtems_gxx_key_delete): Likewise.
1558         (rtems_gxx_getspecific): Likewise.
1559         (rtems_gxx_setspecific): Likewise.
1560         (rtems_gxx_mutex_init): Likewise.
1561         (rtems_gxx_mutex_destroy): Likewise.
1562         (rtems_gxx_mutex_lock): Likewise.
1563         (rtems_gxx_mutex_trylock): Likewise.
1564         (rtems_gxx_mutex_unlock): Likewise.
1565         (rtems_gxx_recursive_mutex_init): Likewise.
1566         (rtems_gxx_recursive_mutex_lock): Likewise.
1567         (rtems_gxx_recursive_mutex_trylock): Likewise.
1568         (rtems_gxx_recursive_mutex_unlock): Likewise.
1569         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
1570         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
1571         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
1572         (__gthread_once): Likewise.
1573         (__gthread_key_create): Likewise.
1574         (__gthread_key_delete): Likewise.
1575         (__gthread_getspecific): Likewise.
1576         (__gthread_setspecific): Likewise.
1577         (__gthread_key_t): Use <pthread.h> type.
1578         (__gthread_once_t): Likewise
1579         (__gthread_mutex_t): Use <sys/lock.h> type.
1580         (__gthread_recursive_mutex_t): Likewise
1581         (__gthread_mutex_lock): Use <sys/lock.h> function.
1582         (__gthread_mutex_trylock): Likewise.
1583         (__gthread_mutex_timedlock): Likewise.
1584         (__gthread_mutex_unlock): Likewise.
1585         (__gthread_mutex_destroy): Likewise.
1586         (__gthread_recursive_mutex_lock): Likewise.
1587         (__gthread_recursive_mutex_trylock): Likewise.
1588         (__gthread_recursive_mutex_timedlock): Likewise.
1589         (__gthread_recursive_mutex_unlock): Likewise.
1590         (__gthread_recursive_mutex_destroy): Likewise.
1592 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
1594         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
1595         context->sp instead of context->cfa.
1597 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
1599         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
1600         with unwind-dw2-fde-dip.
1602 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
1604         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
1605         CALL12 followed by series of ENTRY to spill windowed registers.
1606         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
1607         instead of making linux spill syscall.
1609 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
1611         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
1612         (get_intel_cpu): Likewise.
1614 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
1616         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
1617         (get_intel_cpu): Add Knights Landing support.
1619 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
1621         PR target/66954
1622         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
1623         (get_available_features): Handle FEATURE_PCLMUL.
1625 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
1627         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
1628         Broadwell.
1630 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
1632         PR target/66954
1633         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
1634         (get_available_features): Handle FEATURE_AES.
1636 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
1638         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
1639         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
1641 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
1643         * offloadstuff.c: Constify host data.
1645 2015-07-17  Jan Beulich  <jbeulich@suse.com>
1647         * config/t-softfp: Split up "else ifneq".
1649 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
1650             Cesar Philippidis  <cesar@codesourcery.com>
1651             Chung-Lin Tang  <cltang@codesourcery.com>
1653         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
1654         for __nios2_arch__ level.
1656 2015-07-13  John Marino  <gnugcc@marino.st>
1658         * config/i386/t-dragonfly: New.
1660 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
1662         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
1663         better match light-weight syscall argument order.
1664         (__kernel_cmpxchg2): Likewise.
1665         Adjust callers.
1667 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
1669         * config.host: Support i[34567]86-*-elfiamcu target.
1670         * config/t-softfp-sfdftf: New file.
1671         * config/i386/32/t-iamcu: Likewise.
1672         * configure: Regenerated.
1674 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
1676         libgcc/config/arm/
1677         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
1679 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
1681         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
1683 2015-05-27  John Marino  <gnugcc@marino.st>
1685         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
1686         md_unwind_header
1687         * config/i386/freebsd-unwind.h: New.
1689 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
1691         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
1692         i386/t-crtfm to tmake_file.
1693         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
1694         (set_fast_math): Use set_fast_math_sse for SSE targets.
1695         * config/i386/t-crtfm: Remove.
1697 2015-05-21  Alan Modra  <amodra@gmail.com>
1699         PR libgcc/66225
1700         * config/rs6000/morestack.S: Remove ".abiversion 1".
1702 2015-05-20  Alan Modra  <amodra@gmail.com>
1704         * config/rs6000/morestack.S: New.
1705         * config/rs6000/t-stack-rs6000: New.
1706         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
1707         to tmake_file.
1708         * generic-morestack.c: Don't build for powerpc 32-bit.
1710 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
1712         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
1713         Remove useless endif/ifneq ($(enable_shared),yes) pair.
1715 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
1717         * config.host: FT32 target added.
1718         * config/ft32/*: New files for FT32 target.
1720 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
1722         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
1723         New macros.
1724         * config/arm/ieee754-df.S: Add CFI directives.
1725         * config/arm/ieee754-sf.S: Add CFI directives.
1727 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
1729         * configure.ac: Include config/sjlj.m4.
1730         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
1731         * config.in: Regenerate.
1732         * configure: Likewise.
1733         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
1735 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
1737         * libgcov-util.c: Add space between string literal and macro name.
1739 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
1740             Chris Jones  <chrisj@nvidia.com>
1741             Joshua Conner  <jconner@nvidia.com>
1743         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
1744         (arm*-*-uclinux*): Likewise.
1745         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
1746         * config/arm/crtfastmath.c: New file.
1748 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
1750         * Makefile.in (real_host_noncanonical): New variable.
1751         (libsubdir): Use it.
1752         * configure.ac (real_host_noncanonical): Compute.  Remove special
1753         case for intelmicemul.
1754         * configure: Regenerate.
1756 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
1758         * config/frv/elf-lib.h: New file.
1759         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
1760         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
1761         to tm_file.
1763 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
1765         * config/frv/frvbengin.c: Do not include defaults.h
1766         * config/frv/frvend.c: Ditto.
1768 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
1770         * config.host: Add h8300-*-linux
1771         * config/h8300/t-linux: New file.
1772         * config/h8300/lib1funs.s: Change symbol prefix.
1773         * config/h8300/sfp-machine.h: 64bit double support.
1775 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
1776             Szabolcs Nagy  <szabolcs.nagy@arm.com>
1778         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
1779         Linux if target provides dl_iterate_phdr.
1781 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
1783         PR target/65612
1784         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
1785         * config/i386/cpuinfo.c (__cpu_model): Initialize.
1786         (__cpu_indicator_init@GCC_4.8.0): New.
1787         (__cpu_model@GCC_4.8.0): Likewise.
1788         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
1789         -DUSE_ELF_SYMVER.
1791 2015-04-16  Nick Clifton  <nickc@redhat.com>
1793         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
1794         and __modhi3 functions.
1795         * config/rl78/divmodso.S: Add G14 and G13 versions of the
1796         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
1798 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
1800         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
1801         do-while loop as macro body to avoid warnings.
1803 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
1804             Iain Sandoe  <iain@codesourcery.com>
1806         PR target/65351
1807         * configure: Regenerate.
1809 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
1810             Iain Sandoe  <iain@codesourcery.com>
1812         PR target/65351
1813         * configure: Regenerate.
1815 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
1817         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
1819 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
1821         Implement call0 ABI for xtensa
1822         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
1823         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
1824         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
1825         use ret in call0 ABI.
1826         * config/xtensa/t-windowed: New file.
1827         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
1828         * libgcc/configure: Regenerated.
1829         * libgcc/configure.ac: Check if xtensa target is configured for
1830         windowed ABI and thus needs to use custom unwind code.
1832 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
1834         PR libgcc/64885
1835         * gthr-single.h: Use __unused__ attribute instead of unused.
1836         * config/gthr-vxworks.h: Likewise.
1837         * config/i386/gthr-win32.h: Likewise.
1839 2015-02-27  Kai Tietz  <ktietz@redhat.com>
1841         PR target/65038
1842         * config.in: Regenerated.
1843         * configure: Likewise.
1844         * configure.ac (AC_HEADER_STDC): Added explicit.
1845         (AC_CHECK_HEADERS): Check for default headers  plus
1846         for ftw.h header.
1847         * libgcov-util.c (gcov_read_profile_dir): Disable use
1848         of ftw-function, if header is not found.
1849         (ftw_read_file): Likewise.
1851 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
1853         PR target/65181
1854         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
1855         -Dinhibit_libc.
1857 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
1859         * config/arm/bpabi.S (test_div_by_zero): Make label names
1860         consistent between thumb2 and arm mode cases.  Separate the
1861         signed comparison on the high word of the numerator from the
1862         unsigned comparison on the low word.
1863         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
1864         signed comparison.
1866 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1868         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
1869         and <string.h>.
1870         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
1872 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
1874         PR gcov-profile/61889
1875         * libgcov-driver-system.c: undefine clashing macro for mkdir.
1877 2015-02-02  Nick Clifton  <nickc@redhat.com>
1879         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
1880         rounding up the fraction.
1882 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
1884         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
1885         oldval and newval to const void *.  Fix typo.
1886         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
1887         (FETCH_AND_OP_WORD): Likewise.
1888         (OP_AND_FETCH_WORD): Likewise.
1889         (COMPARE_AND_SWAP_2): Likewise.
1890         (__sync_val_compare_and_swap_4): Likewise.
1891         (__sync_lock_test_and_set_4): Likewise.
1892         (SYNC_LOCK_RELEASE_2): Likewise.
1893         Remove support for long long atomic operations.
1895 2015-01-27  Caroline Tice  <cmtice@google.com>
1897         Committing VTV Cywin/Ming patch for Patrick Wollgast
1898         * Makefile.in: Move rules to build vtv_*.o out of the check
1899         for CUSTOM_CRTSTUFF.
1900         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
1901         i[34567]86-*-mingw*)
1902          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
1903         enable_vtable_verify.
1905 2015-01-27  Nick Clifton  <nickc@redhat.com>
1907         * config/rl78/cmpsi2.S: Use function start and end macros.
1908         (__gcc_bcmp): New function.
1909         * config/rl78/lshrsi3.S: Use function start and end macros.
1910         * config/rl78/mulsi3.S: Add support for G10.
1911         (__mulqi3): New function for G10.
1912         * config/rl78/signbit.S: Use function start and end macros.
1913         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
1914         fpmath-sf.S.
1915         (LIB2FUNCS_EXCLUDE): Define.
1916         (LIB2FUNCS_ST): Define.
1917         * config/rl78/trampoline.S: Use function start and end macros.
1918         * config/rl78/vregs.h (START_FUNC): New macro.
1919         (START_ANOTHER_FUNC): New macro.
1920         (END_FUNC): New macro.
1921         (END_ANOTHER_FUNC): New macro.
1922         * config/rl78/bit-count.S: New file.  Contains assembler
1923         implementations of the bit counting functions: ___clzhi2,
1924         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
1925         __paritysi2, __popcounthi2 and __popcountsi2.
1926         * config/rl78/fpbit-sf.S: New file.  Contains assembler
1927         implementationas of the math functions: __negsf2, __cmpsf2,
1928         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
1929         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
1930         * config/rl78/fpmath-sf.S: New file.  Contains assembler
1931         implementations of the math functions: __subsf3, __addsf3,
1932         __mulsf3 and __divsf3
1934 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1936         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
1937         Add i386/elf-lib.h to tm_file.
1938         * config/i386/elf-lib.h: Fix comment.
1939         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
1940         && __sun__ && __svr4__]: Remove workaround.
1942 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
1944         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
1945         FEATURE_BMI2.
1946         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
1948 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
1950         * config/i386/cpuinfo.c (processor_subtypes): Add
1951         INTEL_COREI7_BROADWELL.
1952         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
1953         model numbers.
1955 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
1957         * config/i386/elf-lib.h: New file.
1958         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
1959         Wrap definition in #ifdef __i386__.
1960         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
1961         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
1962         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
1963         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
1964         to tm_file.
1966 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
1968         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
1969         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
1971 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
1973         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
1974         Update rt_sigframe format and address for current Nios II
1975         Linux conventions.
1977 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
1979         * config.host (arm*-*-freebsd*): Add new configuration for
1980         arm*-*-freebsd*.
1981         * config/arm/freebsd-atomic.c: New file.
1982         * config/arm/t-freebsd: Likewise.
1983         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
1984         'PC-relative indirect' OS's.
1986 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
1988         * config.host: Add Visium support.
1989         * config/visium: New directory.
1991 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
1993         Update copyright years.
1995 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
1997         * config.host: Support mipsisa32r6 and mipsisa64r6.
1998         * config/mips/mips16.S: Do not build for R6.
2000 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
2002         * config/sh/crt.h: New.
2003         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
2004         symbols.
2005         * config/sh/crt1.S: Likewise.
2007 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
2009         PR libgcc/63832
2010         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
2011         func_ptr *dtor_list temporary variable to avoid "array subscript
2012         is above array bounds" warnings.
2014 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
2016         * Makefile.in (with_aix_soname): Define.
2017         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
2018         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
2019         * configure: Recreate.
2021 2014-12-05  Olivier Hainque  <hainque@adacore.com>
2023         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
2024         now provided by defaults.h.
2026 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
2028         PR target/55351
2029         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
2030         whether it's defined.
2032 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
2034         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
2035         * config/i386/cpuinfo.c (get_available_features): Detect it.
2037 2014-11-27  Tony Wang  <tony.wang@arm.com>
2039         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
2040         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
2041         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
2043 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
2045         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
2047 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
2049         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
2050         instead.
2052 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
2053             John David Anglin  <danglin@gcc.gnu.org>
2055         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
2056         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
2057         (OP_AND_FETCH_2): Likewise.
2058         (COMPARE_AND_SWAP_2): Likewise.
2059         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2060         (SYNC_LOCK_RELEASE_2): Likewise.
2061         (SUBWORD_SYNC_OP): Remove.
2062         (SUBWORD_VAL_CAS): Likewise.
2063         (SUBWORD_BOOL_CAS): Likewise.
2064         (FETCH_AND_OP_WORD): Update.
2065         Consistently use signed types.
2067 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
2068             Thomas Schwinge  <thomas@codesourcery.com>
2069             Ilya Verbin  <ilya.verbin@intel.com>
2070             Andrey Turetskiy  <andrey.turetskiy@intel.com>
2072         * Makefile.in (crtoffloadbegin$(objext)): New rule.
2073         (crtoffloadend$(objext)): Likewise.
2074         * configure: Regenerate.
2075         * configure.ac (accel_dir_suffix): Compute new variable.
2076         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
2077         if enable_offload_targets is not empty.
2078         * offloadstuff.c: New file.
2080 2014-11-13  Nick Clifton  <nickc@redhat.com>
2082         * config/rl78/divmodhi.S: Add support for the G10 architecture.
2083         Use START_FUNC and END_FUNC macros to enable linker garbage
2084         collection.
2085         * config/rl78/divmodqi.S: Likewise.
2086         * config/rl78/divmodsi.S: Likewise.
2087         * config/rl78/mulsi3.S: Likewise.
2088         * config/rl78/lib2div.c: Remove G10 functions.
2089         * config/rl78/lib2muls.c: Likewise.
2090         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
2091         * config/rl78/vregs.h (START_FUNC): New macro.
2092         (END_FUNC): New macro.
2094 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
2096         * config/mips/mips16.S: Set .module when supported.  Update O32
2097         FP64 calling convention and use for FPXX when possible.  Add FPXX
2098         calling convention fallback case.
2100 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
2102         * config.host: Handle nvptx-*-*.
2103         * shared-object.mk (as-flags-$o): Define.
2104         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
2105         -xassembler-with-cpp.
2106         * static-object.mk: Identical changes.
2107         * config/nvptx/t-nvptx: New file.
2108         * config/nvptx/crt0.s: New file.
2109         * config/nvptx/free.asm: New file.
2110         * config/nvptx/malloc.asm: New file.
2111         * config/nvptx/realloc.c: New file.
2113 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
2115         * Makefile.in (libgcc.map.in): New target.
2116         (libgcc.map): Use libgcc.map.in.
2117         * config/t-softfp (softfp_compat): New variable to be set by
2118         users.
2119         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
2120         variables.
2121         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
2122         directory.
2123         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
2124         that use compat symbols and disable all code unless [SHARED].
2125         * config/t-softfp-compat: New file.
2126         * find-symver.awk: New file.
2127         * configure.ac (--with-glibc-version): New configure option.
2128         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
2129         * configure: Regenerate.
2130         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
2131         soft-float and e500.
2133 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
2135         * config/t-hardfp (hardfp_exclusions): Document new variable for
2136         user to define.
2137         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
2138         * config/t-softfp (softfp_extras): Document new variable for user
2139         to define.
2140         (softfp_func_list): Add functions from $(softfp_extras).
2141         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
2142         * config.host (powerpc*-*-linux*): For e500v1, use
2143         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
2144         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
2145         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
2147 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
2149         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
2150         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
2151         memory read accesses are ok.
2153 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
2155         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
2156         * configure: Regenerate.
2157         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
2158         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
2159         of soft-fp for 32-bit classic hard float.  Do not use
2160         t-softfp-excl for soft float.
2162 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
2164         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
2165         configurations.
2166         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
2167         Remove variables.
2169 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
2171         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
2172         introduced with 2014-10-21 trunk r216525.
2174 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
2175             Vidya Praveen  <vidya.praveen@atmel.com>
2176             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
2177             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
2178             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
2180         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
2181         order.
2183         Updated library functions for AVRTINY arch.
2184         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
2185         Replaced occurrences of r0/r1 with tmp/zero reg macros.
2186         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
2187         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
2188         wsubi/wadi macors.
2189         (__mulsi3_helper): Update stack, preserve callee saved regs and
2190         argument from stack. Restore callee save registers.
2191         (__mulpsi3): Likewise.
2192         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
2193         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
2194         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
2195         AVRTINY.
2196         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
2197         (__do_copy_data): Added new definition for AVRTINY.
2198         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
2199         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
2200         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
2201         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
2202         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
2203         macors.
2204         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
2205         AVRTINY.
2207         Fix broken long multiplication on tiny arch.
2209 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
2211         * soft-fp/double.h: Update from glibc.
2212         * soft-fp/eqdf2.c: Likewise.
2213         * soft-fp/eqsf2.c: Likewise.
2214         * soft-fp/eqtf2.c: Likewise.
2215         * soft-fp/extenddftf2.c: Likewise.
2216         * soft-fp/extended.h: Likewise.
2217         * soft-fp/extendsfdf2.c: Likewise.
2218         * soft-fp/extendsftf2.c: Likewise.
2219         * soft-fp/extendxftf2.c: Likewise.
2220         * soft-fp/gedf2.c: Likewise.
2221         * soft-fp/gesf2.c: Likewise.
2222         * soft-fp/getf2.c: Likewise.
2223         * soft-fp/ledf2.c: Likewise.
2224         * soft-fp/lesf2.c: Likewise.
2225         * soft-fp/letf2.c: Likewise.
2226         * soft-fp/op-1.h: Likewise.
2227         * soft-fp/op-2.h: Likewise.
2228         * soft-fp/op-4.h: Likewise.
2229         * soft-fp/op-8.h: Likewise.
2230         * soft-fp/op-common.h: Likewise.
2231         * soft-fp/quad.h: Likewise.
2232         * soft-fp/single.h: Likewise.
2233         * soft-fp/soft-fp.h: Likewise.
2234         * soft-fp/unorddf2.c: Likewise.
2235         * soft-fp/unordsf2.c: Likewise.
2236         * soft-fp/unordtf2.c: Likewise.
2237         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
2238         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
2239         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
2240         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
2241         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
2242         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
2243         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
2244         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
2245         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
2246         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
2248 2014-10-08  Rong Xu  <xur@google.com>
2250         * libgcov-util.c (read_gcda_file): Fix format.
2251         (find_match_gcov_info): Ditto.
2252         (calculate_2_entries): New.
2253         (compute_one_gcov): Ditto.
2254         (gcov_info_count_all_cold): Ditto.
2255         (gcov_info_count_all_zero): Ditto.
2256         (extract_file_basename): Ditto.
2257         (get_file_basename): Ditto.
2258         (set_flag): Ditto.
2259         (matched_gcov_info): Ditto.
2260         (calculate_overlap): Ditto.
2261         (gcov_profile_overlap): Ditto.
2262         * libgcov-driver.c (compute_summary): Make
2263         it avavilable for external calls.
2265 2014-10-06  Rong Xu  <xur@google.com>
2267         * Makefile.in: Ditto.
2268         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
2269         (gcov_sort_icall_topn_counter): Ditto.
2270         (gcov_sort_topn_counter_arrays): Ditto.
2271         (dump_one_gcov): Sort indirect_call topn counters.
2272         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
2273         function.
2274         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
2275         utility function.
2276         (__gcov_indirect_call_topn_profiler): New profiler function.
2277         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
2278         * libgcov.h: New decls.
2280 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
2282         * config.host: Remove support for score-*.
2284 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
2286         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2287         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
2288         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
2289         __LIBGCC_XF_MANT_DIG__.
2290         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
2291         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
2292         __LIBGCC_TF_MANT_DIG__.
2293         * libgcc2.c (NOTRUNC): Define in terms of
2294         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
2295         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2297 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
2299         PR target/63312
2300         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
2301         New macros.
2303 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
2305         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
2306         override USE_PT_GNU_EH_FRAME.
2307         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
2308         check USE_EH_FRAME_REGISTRY_ALWAYS against
2309         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
2310         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
2311         variable for substituted force_explicit_eh_registry.
2312         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
2313         * configure.ac (explicit-exception-frame-registration):
2314         New AC_ARG_ENABLE.
2315         * configure: Regenerate.
2317 2014-09-19  Olivier Hainque  <hainque@adacore.com>
2319         * config.host (powerpc-wrs-vxworksmils): New configuration,
2320         same as vxworksae.
2322 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
2324         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
2326 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
2328         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
2329         bits not set bits as indicating trapping exceptions.
2331 2014-09-17  Nathan sidwell  <nathan@acm.org>
2333         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
2334         (LIBGCOV_DRIVER): ... here.
2335         * libgcov-driver.c (gcov_master): New.
2336         (gcov_exit): Remove from master chain.
2337         (__gcov_init): Add to master chain if version compatible.  Don't
2338         clear the version.
2339         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
2340         (gcov_reset_int): Clear master chain, if compatible.
2341         (gcov_dump_int): New internal interface.  Dump master chain, if
2342         compatible.
2343         (gcov_dump): Alias for gcov_dump_int.
2344         * libgcov.h (struct gcov_root): Add next and prev fields.
2345         (struct gcov_master): New struct.
2346         (__gcov_master): New.
2347         (gcov_dump_int): Declare.
2349 2014-09-17  Olivier Hainque  <hainque@adacore.com>
2351         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
2352         and crtbegin.o + crtend.o to extra_parts.
2354 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
2356         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
2357         __LIBGCC_HAS_SF_MODE__.
2358         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2359         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2360         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2361         * config/libbid/bid_gcc_intrinsics.h
2362         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2363         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2364         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2365         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2366         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
2367         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2369 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
2371         PR target/63223
2372         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
2373         and R24 as needed.  Make work for all devices and .text locations.
2374         (__do_global_ctors, __do_global_dtors): Use word addresses.
2375         (__tablejump__, __tablejump_elpm__): Remove functions.
2376         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
2377         Add _tablejump2.
2378         (XICALL, XIJMP): New macros.
2380 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2381         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
2383         * config.host (aarch64*): Include crtfastmath.o and
2384         t-crtfm.
2385         * config/aarch64/crtfastmath.c: New file.
2387 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
2389         * config.host: Remove picochip support.
2390         * config/picochip/adddi3.S: Remove.
2391         * config/picochip/ashlsi3.S: Remove.
2392         * config/picochip/ashlsi3.c: Remove.
2393         * config/picochip/ashrsi3.S: Remove.
2394         * config/picochip/ashrsi3.c: Remove.
2395         * config/picochip/clzsi2.S: Remove.
2396         * config/picochip/cmpsi2.S: Remove.
2397         * config/picochip/divmod15.S: Remove.
2398         * config/picochip/divmodhi4.S: Remove.
2399         * config/picochip/divmodsi4.S: Remove.
2400         * config/picochip/lib1funcs.S: Remove.
2401         * config/picochip/longjmp.S: Remove.
2402         * config/picochip/lshrsi3.S: Remove.
2403         * config/picochip/lshrsi3.c: Remove.
2404         * config/picochip/parityhi2.S: Remove.
2405         * config/picochip/popcounthi2.S: Remove.
2406         * config/picochip/setjmp.S: Remove.
2407         * config/picochip/subdi3.S: Remove.
2408         * config/picochip/t-picochip: Remove.
2409         * config/picochip/ucmpsi2.S: Remove.
2410         * config/picochip/udivmodhi4.S: Remove.
2411         * config/picochip/udivmodsi4.S: Remove.
2413 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
2415         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
2416         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
2417         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
2418         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
2419         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
2420         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
2421         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
2422         defined and LIBGCC2_HAS_DF_MODE is defined.
2423         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
2424         defined and LIBGCC2_HAS_XF_MODE is defined.
2425         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
2426         defined and LIBGCC2_HAS_TF_MODE is defined.
2428 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
2430         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
2431         and ROUND_TOWARDS_ZERO conditionals.
2433 2014-09-07  Nathan sidwell  <nathan@acm.org>
2435         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
2436         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
2438 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
2440         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
2441         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2442         uses to __LIBGCC_STACK_POINTER_REGNUM__.
2443         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2444         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2445         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2446         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2447         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
2448         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
2449         (DWARF_FRAME_REGISTERS): Change all uses to
2450         __LIBGCC_DWARF_FRAME_REGISTERS__.
2451         (EH_RETURN_STACKADJ_RTX): Change all uses to
2452         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2453         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
2454         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
2455         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
2456         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
2457         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
2458         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
2459         to __LIBGCC_EH_FRAME_SECTION_NAME__.
2460         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
2461         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
2462         __LIBGCC_STACK_POINTER_REGNUM__.
2463         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2464         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2465         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2466         to __LIBGCC_STACK_POINTER_REGNUM__.
2467         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2468         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2469         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2470         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2471         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2472         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2473         (STACK_POINTER_REGNUM): Change all uses to
2474         __LIBGCC_STACK_POINTER_REGNUM__.
2475         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
2476         use to __LIBGCC_STACK_POINTER_REGNUM__.
2477         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2478         uses to __LIBGCC_STACK_POINTER_REGNUM__.
2479         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
2480         to __LIBGCC_DWARF_FRAME_REGISTERS__.
2481         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
2482         to __LIBGCC_DWARF_FRAME_REGISTERS__.
2483         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2484         to __LIBGCC_STACK_POINTER_REGNUM__.
2485         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
2486         Remove conditional definition.
2487         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
2488         __LIBGCC_TEXT_SECTION_ASM_OP__.
2489         (EH_FRAME_SECTION_NAME): Change all uses to
2490         __LIBGCC_EH_FRAME_SECTION_NAME__.
2491         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
2492         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
2493         (CTORS_SECTION_ASM_OP): Change all uses to
2494         __LIBGCC_CTORS_SECTION_ASM_OP__.
2495         (DTORS_SECTION_ASM_OP): Change all uses to
2496         __LIBGCC_DTORS_SECTION_ASM_OP__.
2497         (JCR_SECTION_NAME): Change all uses to
2498         __LIBGCC_JCR_SECTION_NAME__.
2499         (INIT_SECTION_ASM_OP): Change all uses to
2500         __LIBGCC_INIT_SECTION_ASM_OP__.
2501         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2502         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2503         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
2504         __LIBGCC_STACK_GROWS_DOWNWARD__.
2505         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
2506         __LIBGCC_INIT_SECTION_ASM_OP__.
2507         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2508         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2509         (EH_FRAME_SECTION_NAME): Change all uses to
2510         __LIBGCC_EH_FRAME_SECTION_NAME__.
2511         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
2512         definitions.  Change all uses to
2513         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
2514         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
2515         __LIBGCC_STACK_GROWS_DOWNWARD__.
2516         (DWARF_FRAME_REGISTERS): Change all uses to
2517         __LIBGCC_DWARF_FRAME_REGISTERS__.
2518         (EH_RETURN_STACKADJ_RTX): Change all uses to
2519         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2520         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
2521         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
2522         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
2523         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
2524         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
2526 2014-09-02  Nathan sidwell  <nathan@acm.org>
2528         * libgcov-interface.c (STRONG_ALIAS): New.
2529         (__gcov_flush): Call __gcov_reset_int.
2530         (__gcov_reset): Strong alias for ...
2531         (__gcov_reset_ing): ... this renamed hidden version.
2532         * libgcov.h (__gcov_reset_int): New declaration.
2534 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
2536         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
2537         call from here...
2538         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
2539         (__dso_handle): Define on Cygwin.
2540         * config/i386/t-cygming (crtbeginS.o): New rule.
2541         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
2543         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
2544         declaration syntax.
2546 2014-08-13  Steve Ellcey  <sellcey@mips.com>
2548         * crtstuff.c: Undef caddr_t.
2550 2014-08-12  Steve Ellcey  <sellcey@mips.com>
2552         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
2554 2014-08-07  Nathan Sidwell  <nathan@acm.org>
2556         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
2557         (LIBGCOV_DRIVER): ... to here.
2558         * libgcov.h (gcov_do_dump): New #define.
2559         (struct gcov_root): New.
2560         (__gcov_root): New declaration.
2561         (__gcov_dump_one): Declare.
2562         * libgcov-driver.c (gcov_list, gcov_dump_complete,
2563         run_accounted): Delete.
2564         (gcov_compute_histogram): Add LIST argument, adjust.
2565         (compute_summary): Adjust gcov_compute_histogram call.
2566         (gcov_do_dump): Not hidden, static in libgcov.
2567         (gcov_clear): Move  to interface.c.
2568         (__gcov_dump_one): New, broken out of ...
2569         (gcov_exit): ... here.  Make static.
2570         (__gcov_root): New.
2571         (__gcov_init): Adjust.
2572         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
2573         declarations.
2574         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
2575         (gcov_clear): Moved from driver.c.   Add LIST argument.
2576         (__gcov_reset): Adjust for changed interfaces.
2577         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
2579 2014-08-04  Rohit  <rohitarulraj@freescale.com>
2581         PR target/60102
2582         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
2583         based on change in SPE high register numbers and 3 HTM registers.
2585 2014-08-01  Nathan Sidwell  <nathan@acm.org>
2587         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
2588         LIBGCOV_INTERFACE): Reformat.
2589         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
2590         IN_GCOV_TOOL.
2591         * libgcov-interface.c: Reformat some comments.
2592         (__gcov_flush_mx): Add declaration.  Tidy up definition.
2594 2014-07-31  Alan Modra  <amodra@gmail.com>
2595             Peter Bergner  <bergner@vnet.ibm.com>
2597         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
2598         (pack_ldouble): New function.
2599         (__gcc_qadd): Use it.
2600         (__gcc_qmul): Likewise.
2601         (__gcc_qdiv): Likewise.
2602         (__gcc_qneg): Likewise.
2603         (__gcc_stoq): Likewise.
2604         (__gcc_dtoq): Likewise.
2606 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
2608         * config/s390/tpf-unwind.h: Include <stdbool.h>.
2609         (__tpf_eh_return): Add original return address as second parameter.
2610         Handle cases where unwinder routines were called directly, instead
2611         of from within the C++ library.
2613 2014-07-29  Nathan Sidwell  <nathan@acm.org>
2615         * libgcov.h: Move renaming of entry points to lib gcov specific
2616         portion.
2617         (gcov_do_dump): New rename.
2618         (gcov_rewrite): Remove inline, make HIDDEN.
2619         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
2620         (gcov_exit_compute_summary): Rename to ...
2621         (compute_summary): ... here.  Add LIST argument.
2622         (gcov_exit_merge_gcda): Rename to ...
2623         (merge_one_data): ... here.
2624         (gcov_exit_write_gcda): Rename to ...
2625         (write_one_data): ... here.
2626         (gcov_exit_merge_summary): Rename to ...
2627         (merge_summary): Add RUN_COUNTED argument.
2628         (gcov_exit_dump_gcov): Rename to ...
2629         (dump_one_gcov): Add RUN_COUNTED argument.
2630         (gcov_do_dump): New function, broken out of ...
2631         (gcov_exit): ... here.  Call it.
2633 2014-07-27  Anthony Green  <green@moxielogic.com>
2635         * config.host: Add moxiebox configuration suppport.
2637 2014-07-27  Nathan Sidwell  <nathan@acm.org>
2639         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
2640         (struct gcov_filename): ... here.  Include buffer and max length
2641         fields.
2642         (gcov_max_filename): Remove.
2643         (gi_filename): Remove.
2644         (gcov_exit_compute_summary): Compute max filename here.
2645         (gcov_exit_merge_gcda): Add filename parm, adjust.
2646         (gcov_exit_merge_summary): Likewise.
2647         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
2648         (gcov_exit): Likewise.
2649         (__gcov_init): Don't calculate max length here.
2650         * libgcov_util.c (max_filename_len): Remove.
2651         (read_gcda_file): Don't calculate max length here.
2652         (gcov_read_profile_dir): Don't propagate here.
2653         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
2654         struct gcov_filename changes.
2655         (gcov_exit_open_gcda_file): Likewise.
2657 2014-07-25  Nathan Sidwell  <nathan@acm.org>
2659         * libgcov-driver.c (set_gcov_dump_complete,
2660         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
2661         functions polluting user's namespace.
2662         (gcov_exit): Set variable directly.
2663         (gcov_clear): Reset variable directly.
2664         * libgcov-interface.c (get_gcov_dymp_complete,
2665         reset_gov_dump_complete): Remove declarations.
2666         (__gcov_reset, __gcov_dump): Don't call them.
2668 2014-07-24  DJ Delorie  <dj@redhat.com>
2670         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
2671         (__gcc_deregister_frame): Move logic to detect deregister function
2672         to ...
2673         (__gcc_register_frame): here, so it's consistent with the register
2674         logic.
2676 2014-07-23  Nathan Sidwell  <nathan@acm.org>
2678         * libgcov-driver.c (set_gcov_list): Remove.
2679         (gcov_list): Make non-static in GCOV_TOOL.
2680         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
2682 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
2684         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
2685         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
2686         Don't use SYNC_LOCK_RELEASE for int type.
2688 2014-07-14  Richard Biener  <rguenther@suse.de>
2690         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
2692 2014-07-11  Rong Xu  <xur@google.com>
2694         * libgcov-util.c (gcov_max_filename): Fix declartion.
2696 2014-07-10  Rong Xu  <xur@google.com>
2698         Add gcov-tool: an offline gcda profile processing tool
2699         Support.
2700         * libgcov-driver.c (gcov_max_filename): Make available
2701         to gcov-tool.
2702         * libgcov-merge.c (__gcov_merge_add): Replace
2703         gcov_read_counter() with a Macro.
2704         (__gcov_merge_ior): Ditto.
2705         (__gcov_merge_time_profile): Ditto.
2706         (__gcov_merge_single): Ditto.
2707         (__gcov_merge_delta): Ditto.
2708         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
2709         in the utility functions.
2710         (set_fn_ctrs): Utility function for reading gcda files to in-memory
2711         gcov_list object link lists.
2712         (tag_function): Ditto.
2713         (tag_blocks): Ditto.
2714         (tag_arcs): Ditto.
2715         (tag_lines): Ditto.
2716         (tag_counters): Ditto.
2717         (tag_summary): Ditto.
2718         (read_gcda_finalize): Ditto.
2719         (read_gcda_file): Ditto.
2720         (ftw_read_file): Ditto.
2721         (read_profile_dir_init): Ditto.
2722         (gcov_read_profile_dir): Ditto.
2723         (gcov_read_counter_mem): Ditto.
2724         (gcov_get_merge_weight): Ditto.
2725         (merge_wrapper): A wrapper function that calls merging handler.
2726         (gcov_merge): Merge two gcov_info objects with weights.
2727         (find_match_gcov_info): Find the matched gcov_info in the list.
2728         (gcov_profile_merge): Merge two gcov_info object lists.
2729         (__gcov_add_counter_op): Process edge profile counter values.
2730         (__gcov_ior_counter_op): Process IOR profile counter values.
2731         (__gcov_delta_counter_op): Process delta profile counter values.
2732         (__gcov_single_counter_op): Process single  profile counter values.
2733         (fp_scale): Callback function for float-point scaling.
2734         (int_scale): Callback function for integer fraction scaling.
2735         (gcov_profile_scale): Scaling profile counters.
2736         (gcov_profile_normalize): Normalize profile counters.
2737         * libgcov.h: Add headers and functions for gcov-tool use.
2738         (gcov_get_counter): New.
2739         (gcov_get_counter_target): Ditto.
2740         (struct gcov_info): Make the functions field mutable in gcov-tool
2741         compilation.
2743 2014-06-23  Kai Tietz  <ktietz@redhat.com>
2745         PR libgcc/61585
2746         * unwind-seh.c (_Unwind_GetGR): Check for proper
2747         index range.
2748         (_Unwind_SetGR): Likewise.
2750 2014-05-22  Nick Clifton  <nickc@redhat.com>
2752         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
2753         -mhwmult=none.
2755 2014-05-22  Teresa Johnson  <tejohnson@google.com>
2757         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
2758         include.
2760 2014-05-20  John Marino  <gnugcc@marino.st>
2762         * config.host (*-*-dragonfly*): New target.
2763         * crtstuff.c: Make dl_iterate_support generic on *bsd.
2764         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
2765         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
2766         * config/i386/dragonfly-unwind.h: New.
2768 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
2770         PR libgcc/60166
2771         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
2772         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
2774 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2776         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
2777         implementation.
2779 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
2781         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
2783 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2785         PR libgcc/61097
2786         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
2787         if --enable-shared.
2789 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2791         Work around for current cygwin32 build problems.
2792         * config/i386/cygming-crtbegin.c (__register_frame_info,
2793         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
2794         functions only for 64-bit systems.
2796 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2798         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
2799         (sigill_caught, sigill_hdlr): Remove.
2801 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2803         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
2804         check.
2805         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2806         Solaris 9 single-threaded support.
2807         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
2808         Solaris 9 single-threaded support.  Add call_user_handler code
2809         sequences.
2810         (sparc_is_sighandler): Likewise.
2812 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2814         * config.host: Append t-floattodi to tmake_file depending on
2815         host_address.
2817 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
2819         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
2821 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
2823         PR libgcc/60472
2824         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2825         variable to avoid "array subscript is above array bounds" warnings.
2826         Use __builtin_expect when checking *jcr_list for NULL.
2828 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2830         PR libgcc/59339
2831         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
2832         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
2833         vtv_*.o to extra_parts if enable_vtable_verify.
2835 2014-03-06  Nick Clifton  <nickc@redhat.com>
2837         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
2838         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
2840 2014-02-28  Joey Ye  <joey.ye@arm.com>
2842         PR libgcc/60166
2843         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
2844         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
2845         Set to zero.
2847 2014-02-24  Walter Lee  <walt@tilera.com>
2849         * config.host: Support "tilegx*" and "tilepro*" triplets.
2850         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
2851         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
2853 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
2854             Chung-Lin Tang  <cltang@codesourcery.com>
2856         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
2857         * config/nios2/crti.S: Remove .file directive.
2858         * config/nios2/crtn.S: Likewise.
2860 2014-02-18  Kai Tietz  <ktietz@redhat.com>
2861         Jonathan Schleifer  <js@webkeks.org>
2863         PR objc/56870
2864         * unwind-seh.c (_GCC_specific_handler): Pass proper
2865         value to unwind-handler.
2867 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
2869         * soft-fp/adddf3.c: Update from glibc.
2870         * soft-fp/addsf3.c: Likewise.
2871         * soft-fp/addtf3.c: Likewise.
2872         * soft-fp/divdf3.c: Likewise.
2873         * soft-fp/divsf3.c: Likewise.
2874         * soft-fp/divtf3.c: Likewise.
2875         * soft-fp/double.h: Likewise.
2876         * soft-fp/eqdf2.c: Likewise.
2877         * soft-fp/eqsf2.c: Likewise.
2878         * soft-fp/eqtf2.c: Likewise.
2879         * soft-fp/extenddftf2.c: Likewise.
2880         * soft-fp/extended.h: Likewise.
2881         * soft-fp/extendsfdf2.c: Likewise.
2882         * soft-fp/extendsftf2.c: Likewise.
2883         * soft-fp/extendxftf2.c: Likewise.
2884         * soft-fp/fixdfdi.c: Likewise.
2885         * soft-fp/fixdfsi.c: Likewise.
2886         * soft-fp/fixdfti.c: Likewise.
2887         * soft-fp/fixsfdi.c: Likewise.
2888         * soft-fp/fixsfsi.c: Likewise.
2889         * soft-fp/fixsfti.c: Likewise.
2890         * soft-fp/fixtfdi.c: Likewise.
2891         * soft-fp/fixtfsi.c: Likewise.
2892         * soft-fp/fixtfti.c: Likewise.
2893         * soft-fp/fixunsdfdi.c: Likewise.
2894         * soft-fp/fixunsdfsi.c: Likewise.
2895         * soft-fp/fixunsdfti.c: Likewise.
2896         * soft-fp/fixunssfdi.c: Likewise.
2897         * soft-fp/fixunssfsi.c: Likewise.
2898         * soft-fp/fixunssfti.c: Likewise.
2899         * soft-fp/fixunstfdi.c: Likewise.
2900         * soft-fp/fixunstfsi.c: Likewise.
2901         * soft-fp/fixunstfti.c: Likewise.
2902         * soft-fp/floatdidf.c: Likewise.
2903         * soft-fp/floatdisf.c: Likewise.
2904         * soft-fp/floatditf.c: Likewise.
2905         * soft-fp/floatsidf.c: Likewise.
2906         * soft-fp/floatsisf.c: Likewise.
2907         * soft-fp/floatsitf.c: Likewise.
2908         * soft-fp/floattidf.c: Likewise.
2909         * soft-fp/floattisf.c: Likewise.
2910         * soft-fp/floattitf.c: Likewise.
2911         * soft-fp/floatundidf.c: Likewise.
2912         * soft-fp/floatundisf.c: Likewise.
2913         * soft-fp/floatunditf.c: Likewise.
2914         * soft-fp/floatunsidf.c: Likewise.
2915         * soft-fp/floatunsisf.c: Likewise.
2916         * soft-fp/floatunsitf.c: Likewise.
2917         * soft-fp/floatuntidf.c: Likewise.
2918         * soft-fp/floatuntisf.c: Likewise.
2919         * soft-fp/floatuntitf.c: Likewise.
2920         * soft-fp/gedf2.c: Likewise.
2921         * soft-fp/gesf2.c: Likewise.
2922         * soft-fp/getf2.c: Likewise.
2923         * soft-fp/ledf2.c: Likewise.
2924         * soft-fp/lesf2.c: Likewise.
2925         * soft-fp/letf2.c: Likewise.
2926         * soft-fp/muldf3.c: Likewise.
2927         * soft-fp/mulsf3.c: Likewise.
2928         * soft-fp/multf3.c: Likewise.
2929         * soft-fp/negdf2.c: Likewise.
2930         * soft-fp/negsf2.c: Likewise.
2931         * soft-fp/negtf2.c: Likewise.
2932         * soft-fp/op-1.h: Likewise.
2933         * soft-fp/op-2.h: Likewise.
2934         * soft-fp/op-4.h: Likewise.
2935         * soft-fp/op-8.h: Likewise.
2936         * soft-fp/op-common.h: Likewise.
2937         * soft-fp/quad.h: Likewise.
2938         * soft-fp/single.h: Likewise.
2939         * soft-fp/soft-fp.h: Likewise.
2940         * soft-fp/subdf3.c: Likewise.
2941         * soft-fp/subsf3.c: Likewise.
2942         * soft-fp/subtf3.c: Likewise.
2943         * soft-fp/truncdfsf2.c: Likewise.
2944         * soft-fp/trunctfdf2.c: Likewise.
2945         * soft-fp/trunctfsf2.c: Likewise.
2946         * soft-fp/trunctfxf2.c: Likewise.
2947         * soft-fp/unorddf2.c: Likewise.
2948         * soft-fp/unordsf2.c: Likewise.
2949         * soft-fp/unordtf2.c: Likewise.
2950         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
2951         macro.
2952         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2953         Likewise.
2954         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2955         Likewise.
2956         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2957         Likewise.
2958         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2959         Likewise.
2960         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2961         Likewise.
2962         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2963         Likewise.
2964         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2965         Likewise.
2966         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2967         Likewise.
2968         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2969         Likewise.
2970         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2971         Likewise.
2972         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2973         Likewise.
2974         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2975         Likewise.
2976         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
2977         Likewise.
2978         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
2979         Likewise.
2980         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2981         Likewise.
2983 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2985         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
2986         cannot be represented.
2987         * config/s390/32/_fixsfdi.c: Likewise.
2988         * config/s390/32/_fixtfdi.c: Likewise.
2989         * config/s390/32/_fixunsdfdi.c: Likewise.
2990         * config/s390/32/_fixunssfdi.c: Likewise.
2991         * config/s390/32/_fixunstfdi.c: Likewise.
2993 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
2995         * configure.ac (libgcc_cv_mips_hard_float): New.
2996         * configure: Regenerate.
2997         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
2998         t-softfp-sfdf for hard-float targets.
2999         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
3000         (softfp_float_modes, softfp_int_modes, softfp_extensions)
3001         (softfp_truncations, softfp_exclude_libgcc2): New.
3002         * config/t-hardfp: New file.
3003         * config/t-hardfp-sfdf: Likewise.
3004         * config/hardfp.c: Likewise.
3006 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3008         * config.host: Include t-floattodi also for s390x.
3009         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
3010         * config/s390/32/_fixsfdi.c: Likewise.
3011         * config/s390/32/_fixtfdi.c: Likewise.
3012         * config/s390/32/_fixunsdfdi.c: Likewise.
3013         * config/s390/32/_fixunssfdi.c: Likewise.
3014         * config/s390/32/_fixunstfdi.c: Likewise.
3016 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3018         PR target/59788
3019         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
3020         (install-libgcc-unwind-map-forbuild): New target.
3021         (all): Depend on install-libgcc-unwind-map-forbuild.
3022         (install-libgcc-unwind-map): New target.
3023         (install): Depend on install-libgcc-unwind-map.
3025 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
3027         * config/nios2/crti.S (_init): Initialize GOT pointer from
3028         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
3030 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
3032         * configure.ac: Check __mips64 when setting host_address.
3033         * configure: Regenerate.
3034         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
3035         mips/t-mips64 and t-softfp.
3036         (mips*-*-linux*): Don't add mips/t-tpbit.
3037         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
3038         (DPBIT, DPBIT_CFLAGS): Delete.
3039         * config/mips/sfp-machine.h: New file.
3040         * config/mips/t-mips64: Likewise.
3041         * config/mips/t-softfp-tf: Likewise.
3042         * config/mips/t-tpbit: Delete.
3044 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3046         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
3047         as long long.
3049 2014-01-25  Walter Lee  <walt@tilera.com>
3051         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
3052         config.h or system.h.
3053         (bool) Define.
3055 2014-01-25  Walter Lee  <walt@tilera.com>
3057         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
3058         (post_atomic_barrier): Ditto.
3059         (__fetch_and_do): New macro.
3060         (__atomic_fetch_and_do): Use __fetch_and_do.
3061         (__sync_fetch_and_do): New macro.
3062         (__sync_fetch_and_add_4): New function.
3063         (__sync_fetch_and_sub_4): New function.
3064         (__sync_fetch_and_or_4): New function.
3065         (__sync_fetch_and_and_4): New function.
3066         (__sync_fetch_and_xor_4): New function.
3067         (__sync_fetch_and_nand_4): New function.
3068         (__sync_fetch_and_add_8): New function.
3069         (__sync_fetch_and_sub_8): New function.
3070         (__sync_fetch_and_or_8): New function.
3071         (__sync_fetch_and_and_8): New function.
3072         (__sync_fetch_and_xor_8): New function.
3073         (__sync_fetch_and_nand_8): New function.
3074         (__do_and_fetch): New macro.
3075         (__atomic_do_and_fetch): Use __do_and_fetch.
3076         (__sync_do_and_fetch): New macro.
3077         (__sync_add_and_fetch_4): New function.
3078         (__sync_sub_and_fetch_4): New function.
3079         (__sync_or_and_fetch_4): New function.
3080         (__sync_and_and_fetch_4): New function.
3081         (__sync_xor_and_fetch_4): New function.
3082         (__sync_nand_and_fetch_4): New function.
3083         (__sync_add_and_fetch_8): New function.
3084         (__sync_sub_and_fetch_8): New function.
3085         (__sync_or_and_fetch_8): New function.
3086         (__sync_and_and_fetch_8): New function.
3087         (__sync_xor_and_fetch_8): New function.
3088         (__sync_nand_and_fetch_8): New function.
3089         (__sync_exchange_methods): New macro.
3090         (__sync_val_compare_and_swap_4): New function.
3091         (__sync_bool_compare_and_swap_4): New function.
3092         (__sync_lock_test_and_test_4): New function.
3093         (__sync_val_compare_and_swap_8): New function.
3094         (__sync_bool_compare_and_swap_8): New function.
3095         (__sync_lock_test_and_test_8): New function.
3096         (__subword_cmpxchg_body): New macro.
3097         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
3098         (__atomic_compare_exchange_2): Ditto.
3099         (__sync_subword_cmpxchg): New macro.
3100         (__sync_val_compare_and_swap_1): New function.
3101         (__sync_bool_compare_and_swap_1): New function.
3102         (__sync_val_compare_and_swap_2): New function.
3103         (__sync_bool_compare_and_swap_2): New function.
3104         (__atomic_subword): Rename to ...
3105         (__subword): ... New name.
3106         (__atomic_subword_fetch): Use __subword.
3107         (__sync_subword_fetch): New macro.
3108         (__sync_fetch_and_add_1): New function.
3109         (__sync_fetch_and_sub_1): New function.
3110         (__sync_fetch_and_or_1): New function.
3111         (__sync_fetch_and_and_1): New function.
3112         (__sync_fetch_and_xor_1): New function.
3113         (__sync_fetch_and_nand_1): New function.
3114         (__sync_fetch_and_add_2): New function.
3115         (__sync_fetch_and_sub_2): New function.
3116         (__sync_fetch_and_or_2): New function.
3117         (__sync_fetch_and_and_2): New function.
3118         (__sync_fetch_and_xor_2): New function.
3119         (__sync_fetch_and_nand_2): New function.
3120         (__sync_add_and_fetch_1): New function.
3121         (__sync_sub_and_fetch_1): New function.
3122         (__sync_or_and_fetch_1): New function.
3123         (__sync_and_and_fetch_1): New function.
3124         (__sync_xor_and_fetch_1): New function.
3125         (__sync_nand_and_fetch_1): New function.
3126         (__sync_add_and_fetch_2): New function.
3127         (__sync_sub_and_fetch_2): New function.
3128         (__sync_or_and_fetch_2): New function.
3129         (__sync_and_and_fetch_2): New function.
3130         (__sync_xor_and_fetch_2): New function.
3131         (__sync_nand_and_fetch_2): New function.
3132         (__atomic_subword_lock): Use __subword.
3133         (__sync_subword_lock): New macro.
3134         (__sync_lock_test_and_set_1): New function.
3135         (__sync_lock_test_and_set_2): New function.
3137 2014-01-25  Walter Lee  <walt@tilera.com>
3139         * config/tilepro/atomic.c (BIT_OFFSET): Define.
3140         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
3141         (__atomic_subword): Ditto.
3143 2014-01-25  Walter Lee  <walt@tilera.com>
3145         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
3146         a prefix op argument.
3147         (__atomic_nand_fetch_4): Add prefix op.
3148         (__atomic_nand_fetch_8): Ditto.
3150 2014-01-21  Baruch Siach  <barch@tkos.co.il>
3152         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
3154 2014-01-09  Rong Xu  <xur@google.com>
3156         * libgcov-driver.c (this_prg): make it local to save
3157         bss space.
3158         (gcov_exit_compute_summary): Ditto.
3159         (gcov_exit_merge_gcda): Ditto.
3160         (gcov_exit_merge_summary): Ditto.
3161         (gcov_exit_dump_gcov): Ditto.
3163 2014-01-08  Rong Xu  <xur@google.com>
3165         * libgcov-driver.c: Use libgcov.h.
3166         (buffer_fn_data): Use xmalloc instead of malloc.
3167         (gcov_exit_merge_gcda): Ditto.
3168         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
3169         * libgcov.h: New common header files for libgcov-*.h.
3170         * libgcov-interface.c: Use libgcov.h
3171         * libgcov-merge.c: Ditto.
3172         * libgcov-profiler.c: Ditto.
3173         * Makefile.in: Add dependence to libgcov.h
3175 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
3177         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
3178         case of small numerator and finite nonzero result.
3180 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
3182         Update copyright years
3184 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
3186         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
3187         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
3188         config/arc/dp-hack.h, config/arc/fp-hack.h,
3189         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
3190         config/arc/ieee-754/arc600-dsp/divdf3.S,
3191         config/arc/ieee-754/arc600-dsp/divsf3.S,
3192         config/arc/ieee-754/arc600-dsp/muldf3.S,
3193         config/arc/ieee-754/arc600-dsp/mulsf3.S,
3194         config/arc/ieee-754/arc600-mul64/divdf3.S,
3195         config/arc/ieee-754/arc600-mul64/divsf3.S,
3196         config/arc/ieee-754/arc600-mul64/muldf3.S,
3197         config/arc/ieee-754/arc600-mul64/mulsf3.S,
3198         config/arc/ieee-754/arc600/divsf3.S,
3199         config/arc/ieee-754/arc600/mulsf3.S,
3200         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
3201         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
3202         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
3203         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
3204         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
3205         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
3206         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
3207         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
3208         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
3209         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
3210         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
3211         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
3212         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
3213         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
3214         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
3215         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
3216         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
3217         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
3218         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
3219         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
3220         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
3221         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
3222         vtv_start_preinit.c: Use the standard form for the copyright notice.
3224 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
3225             Chung-Lin Tang  <cltang@codesourcery.com>
3226             Based on patches from Altera Corporation
3228         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
3229         * config/nios2/lib2-nios2.h: New file.
3230         * config/nios2/lib2-divmod-hi.c: New file.
3231         * config/nios2/linux-unwind.h: New file.
3232         * config/nios2/lib2-divmod.c: New file.
3233         * config/nios2/linux-atomic.c: New file.
3234         * config/nios2/t-nios2: New file.
3235         * config/nios2/crti.asm: New file.
3236         * config/nios2/t-linux: New file.
3237         * config/nios2/lib2-divtable.c: New file.
3238         * config/nios2/lib2-mul.c: New file.
3239         * config/nios2/tramp.c: New file.
3240         * config/nios2/crtn.asm: New file.
3242 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
3244         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
3245         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
3246         from cpuid.h to check vendor signatures.
3248 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
3250         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
3251         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
3252         (get_amd_cpu): Likewise.
3254 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
3256         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
3257         Haswell.
3259 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
3260             H.J. Lu  <hongjiu.lu@intel.com>
3262         PR target/59422
3263         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
3264         and AMD_JAGUAR.
3265         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
3266         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
3267         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
3268         FEATURE_XOP and FEATURE_FMA.
3269         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
3270         AMDFAM15H_BDVER3.
3271         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
3272         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
3273         FEATURE_FMA4 and FEATURE_XOP.
3275 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
3277         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
3278         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
3279         (get_intel_cpu): Updated.
3281 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
3283         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
3285 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
3287         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
3288         instructions when __SSE_MATH__ is defined.
3290 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
3292         * config.host (microblaze-*-rtems*): New.
3294 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
3296         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
3297         architectures that do not have hardware divide instruction.
3298         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
3300 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
3302         * longlong.h: Delete (moved to include/).
3304 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3306         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
3307         of normal number and qNaN to not raise an inexact exception.
3309 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
3311         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
3313 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
3315         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
3316         for correct opcodes on BE.
3318 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
3320         * soft-fp/op-4.h: Update from glibc.
3322 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
3324         * libgcc2.c (__udivmoddi4): Define new implementation when
3325         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
3326         divide instructions.
3328 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
3330         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
3332 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3334         * config/t-softfp (soft-fp-objects-base): New variable.
3335         (soft-fp-objects): Use it.
3337 2013-11-23  David Edelson  <dje.gcc@gmail.com>
3338             Andrew Dixie  <andrewd@gentrack.com>
3340         PR target/33704
3341         * config/rs6000/aixinitfini.c: New file.
3342         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
3343         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
3344         symbols.
3346 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
3348         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
3350 2013-11-18  Jan Hubicka  <jh@suse.cz>
3352         * libgcov-driver.c (run_accounted): Make global level static.
3353         (gcov_exit_merge_summary): Silence warning; do not clear
3354         run_accounted here.
3355         (gcov_exit): Clear it here.
3357         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
3358         run_accounted.
3360         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
3361         (all_prg, crc32): Remove static vars.
3362         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
3363         all_prg.
3364         (gcov_exit_merge_gcda): Add crc32 parameter.
3365         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
3366         do not account run if it was already accounted.
3367         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
3368         (gcov_exit): Initialize all_prg; update.
3370 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
3372         * configure: Regenerate.
3374 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3375             Alan Modra  <amodra@gmail.com>
3377         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
3378         (frob_update_context): Use it.
3380 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3381             Alan Modra  <amodra@gmail.com>
3383         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
3384         (trampoline_initial): Provide ELFv2 variant.
3385         (__trampoline_setup): Likewise.
3387         * config/rs6000/linux-unwind.h (frob_update_context): Do not
3388         check for AIX indirect function call sequence if _CALL_ELF == 2.
3390 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3391             Alan Modra  <amodra@gmail.com>
3393         * config/rs6000/linux-unwind.h (get_regs): Do not support
3394         old kernel versions if _CALL_ELF == 2.
3395         (frob_update_context): Do not support PLT stub variants only
3396         generated by old linkers if _CALL_ELF == 2.
3398 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3399             Alan Modra  <amodra@gmail.com>
3401         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
3402         location of CR save area for 64-bit little-endian systems.
3404 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
3406         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
3407         in tmake_file.
3408         * config/arm/t-vxworks: Delete.
3410 2013-11-10  Kai Tietz  <ktietz@redhat.com>
3412         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
3413         Increment load-count on use of LIBGCC_SONAME DLL.
3414         (hmod_libgcc): New static variable to hold handle of
3415         LIBGCC_SONAME DLL.
3416         (__gcc_deregister_frame): Decrement load-count of
3417         LIBGCC_SONAME DLL.
3419 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3421         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
3422         availability.
3423         * configure: Regenerate
3425 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
3427         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
3428         FP_EX_DENORM.  Store result to volatile location after SSE division
3429         to close interrupt window.  Remove unneeded fwait after x87
3430         division since interrupt window will be closed by emitted fstp.
3431         Rewrite FP_EX_INEXACT handling.
3433 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
3435         * soft-fp/README: Update.
3436         * soft-fp/adddf3.c: Update from glibc.
3437         * soft-fp/addsf3.c: Likewise.
3438         * soft-fp/addtf3.c: Likewise.
3439         * soft-fp/divdf3.c: Likewise.
3440         * soft-fp/divsf3.c: Likewise.
3441         * soft-fp/divtf3.c: Likewise.
3442         * soft-fp/double.h: Likewise.
3443         * soft-fp/eqdf2.c: Likewise.
3444         * soft-fp/eqsf2.c: Likewise.
3445         * soft-fp/eqtf2.c: Likewise.
3446         * soft-fp/extenddftf2.c: Likewise.
3447         * soft-fp/extended.h: Likewise.
3448         * soft-fp/extendsfdf2.c: Likewise.
3449         * soft-fp/extendsftf2.c: Likewise.
3450         * soft-fp/extendxftf2.c: Likewise.
3451         * soft-fp/fixdfdi.c: Likewise.
3452         * soft-fp/fixdfsi.c: Likewise.
3453         * soft-fp/fixdfti.c: Likewise.
3454         * soft-fp/fixsfdi.c: Likewise.
3455         * soft-fp/fixsfsi.c: Likewise.
3456         * soft-fp/fixsfti.c: Likewise.
3457         * soft-fp/fixtfdi.c: Likewise.
3458         * soft-fp/fixtfsi.c: Likewise.
3459         * soft-fp/fixtfti.c: Likewise.
3460         * soft-fp/fixunsdfdi.c: Likewise.
3461         * soft-fp/fixunsdfsi.c: Likewise.
3462         * soft-fp/fixunsdfti.c: Likewise.
3463         * soft-fp/fixunssfdi.c: Likewise.
3464         * soft-fp/fixunssfsi.c: Likewise.
3465         * soft-fp/fixunssfti.c: Likewise.
3466         * soft-fp/fixunstfdi.c: Likewise.
3467         * soft-fp/fixunstfsi.c: Likewise.
3468         * soft-fp/fixunstfti.c: Likewise.
3469         * soft-fp/floatdidf.c: Likewise.
3470         * soft-fp/floatdisf.c: Likewise.
3471         * soft-fp/floatditf.c: Likewise.
3472         * soft-fp/floatsidf.c: Likewise.
3473         * soft-fp/floatsisf.c: Likewise.
3474         * soft-fp/floatsitf.c: Likewise.
3475         * soft-fp/floattidf.c: Likewise.
3476         * soft-fp/floattisf.c: Likewise.
3477         * soft-fp/floattitf.c: Likewise.
3478         * soft-fp/floatundidf.c: Likewise.
3479         * soft-fp/floatundisf.c: Likewise.
3480         * soft-fp/floatunditf.c: Likewise.
3481         * soft-fp/floatunsidf.c: Likewise.
3482         * soft-fp/floatunsisf.c: Likewise.
3483         * soft-fp/floatunsitf.c: Likewise.
3484         * soft-fp/floatuntidf.c: Likewise.
3485         * soft-fp/floatuntisf.c: Likewise.
3486         * soft-fp/floatuntitf.c: Likewise.
3487         * soft-fp/gedf2.c: Likewise.
3488         * soft-fp/gesf2.c: Likewise.
3489         * soft-fp/getf2.c: Likewise.
3490         * soft-fp/ledf2.c: Likewise.
3491         * soft-fp/lesf2.c: Likewise.
3492         * soft-fp/letf2.c: Likewise.
3493         * soft-fp/muldf3.c: Likewise.
3494         * soft-fp/mulsf3.c: Likewise.
3495         * soft-fp/multf3.c: Likewise.
3496         * soft-fp/negdf2.c: Likewise.
3497         * soft-fp/negsf2.c: Likewise.
3498         * soft-fp/negtf2.c: Likewise.
3499         * soft-fp/op-1.h: Likewise.
3500         * soft-fp/op-2.h: Likewise.
3501         * soft-fp/op-4.h: Likewise.
3502         * soft-fp/op-8.h: Likewise.
3503         * soft-fp/op-common.h: Likewise.
3504         * soft-fp/quad.h: Likewise.
3505         * soft-fp/single.h: Likewise.
3506         * soft-fp/soft-fp.h: Likewise.
3507         * soft-fp/subdf3.c: Likewise.
3508         * soft-fp/subsf3.c: Likewise.
3509         * soft-fp/subtf3.c: Likewise.
3510         * soft-fp/truncdfsf2.c: Likewise.
3511         * soft-fp/trunctfdf2.c: Likewise.
3512         * soft-fp/trunctfsf2.c: Likewise.
3513         * soft-fp/trunctfxf2.c: Likewise.
3514         * soft-fp/unorddf2.c: Likewise.
3515         * soft-fp/unordsf2.c: Likewise.
3516         * soft-fp/unordtf2.c: Likewise.
3518 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
3520         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
3521         (_FP_MUL_MEAT_D): Ditto.
3522         (_FP_DIV_MEAT_S): Ditto.
3523         (_FP_DIV_MEAT_D): Ditto.
3524         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
3525         t-softfp-sfdf and t-softfp to tmake_file.
3527 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
3529         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
3530         * config/i386/crtprec.c: Ditto.
3532 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
3533             Shiva Chen  <shiva0217@gmail.com>
3535         * config.host (nds32*-elf*): Add nds32 target.
3536         * config/nds32 : New directory and files.
3538 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
3540         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
3541         * config.host (cpu_type) <Setting default>: Add entry for
3542         crisv32-*-*.
3543         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
3544         <crisv32-*-linux*>: Adjust.
3545         * longlong.h: Wrap the whole CRIS section in a single
3546         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
3547         and sub_ddmmss.
3548         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
3549         defined.
3550         [__CRIS__] (__umulsidi3): Define.
3551         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
3552         * config/cris/sfp-machine.h: New file.
3553         * config/cris/umulsidi3.S: New file.
3554         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
3555         * config/cris/arit.c (SIGNMULT): New macro.
3556         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
3557         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
3558         saving 3 out of originally 33 cycles from the fastest
3559         path, 3 out of 54 from the medium path and one from the longest
3560         path.  Improve comments.
3562 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
3564         * sync.c: Remove static aliases and define each function directly
3565         under its real name.
3567 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
3569         * config.host (hppa*64*-*-linux*): Define extra_parts.
3570         (hppa*-*-linux*): Likewise.
3572 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
3574         * config/arc/crtgend.S: Add 2013 to Copyright years.
3575         * config/arc/gmon/atomic.h: Likewise.
3576         * config/arc/gmon/auxreg.h: Likewise.
3577         * config/arc/gmon/sys/gmon_out.h: Likewise.
3578         * config/arc/gmon/sys/gmon.h: Likewise.
3579         * config/arc/gmon/prof-freq.c: Likewise.
3580         * config/arc/gmon/mcount.c: Likewise.
3581         * config/arc/gmon/prof-freq-stub.S: Likewise.
3582         * config/arc/gmon/gmon.c: Likewise.
3583         * config/arc/gmon/machine-gmon.h: Likewise.
3584         * config/arc/gmon/profil.S: Likewise.
3585         * config/arc/gmon/dcache_linesz.S: Likewise.
3586         * config/arc/crtg.S: Likewise.
3587         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
3588         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
3589         * config/arc/ieee-754/adddf3.S: Likewise.
3590         * config/arc/ieee-754/truncdfsf2.S: Likewise.
3591         * config/arc/ieee-754/fixsfsi.S: Likewise.
3592         * config/arc/ieee-754/gtsf2.S: Likewise.
3593         * config/arc/ieee-754/floatsisf.S: Likewise.
3594         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
3595         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
3596         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
3597         * config/arc/ieee-754/fixdfsi.S: Likewise.
3598         * config/arc/ieee-754/addsf3.S: Likewise.
3599         * config/arc/ieee-754/gesf2.S: Likewise.
3600         * config/arc/ieee-754/floatsidf.S: Likewise.
3601         * config/arc/ieee-754/extendsfdf2.S: Likewise.
3602         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
3603         * config/arc/ieee-754/gtdf2.S: Likewise.
3604         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
3605         * config/arc/ieee-754/uneqdf2.S: Likewise.
3606         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3607         * config/arc/ieee-754/uneqsf2.S: Likewise.
3608         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
3609         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
3610         * config/arc/ieee-754/eqdf2.S: Likewise.
3611         * config/arc/ieee-754/ordsf2.S: Likewise.
3612         * config/arc/ieee-754/divsf3.S: Likewise.
3613         * config/arc/ieee-754/divdf3.S: Likewise.
3614         * config/arc/ieee-754/floatunsidf.S: Likewise.
3615         * config/arc/ieee-754/orddf2.S: Likewise.
3616         * config/arc/ieee-754/eqsf2.S: Likewise.
3617         * config/arc/ieee-754/gedf2.S: Likewise.
3618         * config/arc/crtn.S: Likewise.
3619         * config/arc/crti.S: Likewise.
3620         * config/arc/t-arc700-uClibc: Likewise.
3621         * config/arc/asm.h: Likewise.
3622         * config/arc/libgcc-excl.ver: Likewise.
3623         * config/arc/t-arc-newlib: Likewise.
3624         * config/arc/divtab-arc700.c: Likewise.
3625         * config/arc/initfini.c: Likewise.
3626         * config/arc/fp-hack.h: Likewise.
3628 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
3629             Diego Novillo  <dnovillo@google.com>
3631         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
3632         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
3633         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
3634         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
3636 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
3637             Brendan Kehoe  <brendan@zen.org>
3638             Simon Cook  <simon.cook@embecosm.com>
3640         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
3641         * config/arc: New directory.
3642         * longlong.h [__arc__] (umul_ppmm): Remove.
3643         [__arc__] (__umulsidi3): Define.
3644         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
3645         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
3647 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
3649         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
3650         CreateSemaphoreA.
3651         * config/i386/gthr-win32.h: Likewise.
3653 2013-09-16  DJ Delorie  <dj@redhat.com>
3655         * config/rl78/vregs.h: Add G10 register definitions.
3656         * config/rl78/lib2mul.c: Enable for RL78/G10.
3657         * config/rl78/lib2div.c: Likewise.
3658         * config/rl78/lshrsi3.S: Use vregs.h.
3659         * config/rl78/cmpsi2.S: Likewise.
3660         * config/rl78/trampoline.S: Likewise.
3661         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
3663 2013-09-14  DJ Delorie  <dj@redhat.com>
3664             Nick Clifton  <nickc@redhat.com>
3666         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
3667         * config/rl78/vregs.h: New.
3668         * config/rl78/signbit.S: New file.  Implements signbit function.
3669         * config/rl78/divmodsi.S: New.
3670         * config/rl78/divmodhi.S: New.
3671         * config/rl78/divmodqi.S: New.
3672         * config/rl78/t-rl78: Build them here...
3673         * config/rl78/lib2div.c: ...but not here.
3675 2013-09-12  DJ Delorie  <dj@redhat.com>
3677         * config.host (msp*-*-elf): New.
3678         * config/msp430/: New port.
3680 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
3682         PR gcov-profile/58127
3683         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
3684         __thread var for emulated TLS.
3685         (__gcov_indirect_call_counters): Likewise.
3687 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
3688             Catherine Moore  <clm@codesourcery.com>
3689             Richard Sandiford  <rdsandiford@googlemail.com>
3691         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
3692         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
3693         (CALL_STUB_NO_RET): Likewise.
3694         (CALL_STUB_RET): Likewise.
3695         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
3696         __mips16_ret call/return stub symbols.
3697         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
3698         to tmake_file.
3700 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
3702         * config.host <mips*-*-linux*>: Remove a stray comment.
3704 2013-08-10  Jan Hubicka  <jh@suse.cz>
3706         Work around binutils PR14342
3707         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
3708         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
3709         (L_gcov_indirect_call_profiler_v2): New.
3711 2013-08-06  Jan Hubicka  <jh@suse.cz>
3713         * libgcov.c (__gcov_indirect_call_callee,
3714         __gcov_indirect_call_counters): New global vars.
3715         (__gcov_indirect_call_profiler): replace by ...
3716         (__gcov_indirect_call_profiler_v2) ... this one.
3718 2013-08-06  Caroline Tice  <cmtice@google.com>
3720         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
3721         vtv_start_preinit.o and vtv_end_preinit.o.
3722         * configure.ac: Add code to check/set enable_vtable_verify.
3723         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
3724         true.
3725         * vtv_start_preinit.c: New file.
3726         * vtv_end_preinit.c: New file.
3727         * vtv_start.c: New file.
3728         * vtv_end.c: New file.
3729         * configure: Regenerated.
3731 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
3733         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
3734         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
3735         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
3736         GPL-3.0-with-GCC-exception.
3738 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
3740         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
3741         ISA and up.
3743 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3745         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
3746         mapping for FPRs when creating the fallback framestate.
3748 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
3750         PR target/57516
3751         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
3752         (__round_s2_const, __round_u2_const)
3753         (__round_s4_const, __round_u4_const, __round_x8):
3754         Saturate result if addition result cannot be represented.
3756 2013-07-15  Matthias Klose  <doko@ubuntu.com>
3758         * libgcc2.c: Don't include <limits.h>.
3760 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
3762         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
3764 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
3766         PR target/29776
3767         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
3769 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
3771         PR middle-end/36041
3772         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
3773         Define.
3774         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
3775         instead of table lookups.
3776         (__popcountDI2): Likewise.
3778 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
3780         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
3781         correctly.
3783 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
3785         PR other/53317
3786         * soft-fp/adddf3.c: Update from glibc.
3787         * soft-fp/addsf3.c: Likewise.
3788         * soft-fp/addtf3.c: Likewise.
3789         * soft-fp/divdf3.c: Likewise.
3790         * soft-fp/divsf3.c: Likewise.
3791         * soft-fp/divtf3.c: Likewise.
3792         * soft-fp/double.h: Likewise.
3793         * soft-fp/eqdf2.c: Likewise.
3794         * soft-fp/eqsf2.c: Likewise.
3795         * soft-fp/eqtf2.c: Likewise.
3796         * soft-fp/extenddftf2.c: Likewise.
3797         * soft-fp/extended.h: Likewise.
3798         * soft-fp/extendsfdf2.c: Likewise.
3799         * soft-fp/extendsftf2.c: Likewise.
3800         * soft-fp/fixdfdi.c: Likewise.
3801         * soft-fp/fixdfsi.c: Likewise.
3802         * soft-fp/fixsfdi.c: Likewise.
3803         * soft-fp/fixsfsi.c: Likewise.
3804         * soft-fp/fixtfdi.c: Likewise.
3805         * soft-fp/fixtfsi.c: Likewise.
3806         * soft-fp/fixunsdfdi.c: Likewise.
3807         * soft-fp/fixunsdfsi.c: Likewise.
3808         * soft-fp/fixunssfdi.c: Likewise.
3809         * soft-fp/fixunssfsi.c: Likewise.
3810         * soft-fp/fixunstfdi.c: Likewise.
3811         * soft-fp/fixunstfsi.c: Likewise.
3812         * soft-fp/floatdidf.c: Likewise.
3813         * soft-fp/floatdisf.c: Likewise.
3814         * soft-fp/floatditf.c: Likewise.
3815         * soft-fp/floatsidf.c: Likewise.
3816         * soft-fp/floatsisf.c: Likewise.
3817         * soft-fp/floatsitf.c: Likewise.
3818         * soft-fp/floatundidf.c: Likewise.
3819         * soft-fp/floatundisf.c: Likewise.
3820         * soft-fp/floatunditf.c: Likewise.
3821         * soft-fp/floatunsidf.c: Likewise.
3822         * soft-fp/floatunsisf.c: Likewise.
3823         * soft-fp/floatunsitf.c: Likewise.
3824         * soft-fp/gedf2.c: Likewise.
3825         * soft-fp/gesf2.c: Likewise.
3826         * soft-fp/getf2.c: Likewise.
3827         * soft-fp/ledf2.c: Likewise.
3828         * soft-fp/lesf2.c: Likewise.
3829         * soft-fp/letf2.c: Likewise.
3830         * soft-fp/muldf3.c: Likewise.
3831         * soft-fp/mulsf3.c: Likewise.
3832         * soft-fp/multf3.c: Likewise.
3833         * soft-fp/negdf2.c: Likewise.
3834         * soft-fp/negsf2.c: Likewise.
3835         * soft-fp/negtf2.c: Likewise.
3836         * soft-fp/op-1.h: Likewise.
3837         * soft-fp/op-2.h: Likewise.
3838         * soft-fp/op-4.h: Likewise.
3839         * soft-fp/op-8.h: Likewise.
3840         * soft-fp/op-common.h: Likewise.
3841         * soft-fp/quad.h: Likewise.
3842         * soft-fp/single.h: Likewise.
3843         * soft-fp/soft-fp.h: Likewise.
3844         * soft-fp/subdf3.c: Likewise.
3845         * soft-fp/subsf3.c: Likewise.
3846         * soft-fp/subtf3.c: Likewise.
3847         * soft-fp/truncdfsf2.c: Likewise.
3848         * soft-fp/trunctfdf2.c: Likewise.
3849         * soft-fp/trunctfsf2.c: Likewise.
3850         * soft-fp/unorddf2.c: Likewise.
3851         * soft-fp/unordsf2.c: Likewise.
3852         * soft-fp/unordtf2.c: Likewise.
3853         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
3854         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3855         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3856         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3857         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3858         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3859         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3860         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3861         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3862         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
3863         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
3864         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3866 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
3868         * config/mips/lib2funcs.c: New file.
3869         * config/mips/t-mips (LIB2ADD_ST): Add it.
3871 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
3873         PR target/6526
3874         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
3875         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
3877 2013-06-08  Walter Lee  <walt@tilera.com>
3879         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
3880         Replace int64_t with long long.  Add __extension__ where
3881         appropriate.
3882         * config/tilepro/atomic.c: Include config.h.
3884 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
3886         * config.host (arm-wrs-vxworks): Configure with other soft float.
3888 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
3890         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
3891         (mips64r5900el-*-elf*): New configurations.
3893 2013-06-04  Alan Modra  <amodra@gmail.com>
3895         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
3897 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
3899         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
3901 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
3903         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
3904         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
3905         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
3907 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
3909         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
3910         (powerpc-wrs-vxworks): Likewise.
3912 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
3914         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
3915         signal frames as well.
3916         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
3917         STACK_BIAS to the CFA offset.
3919 2013-05-17  Richard Henderson  <rth@redhat.com>
3921         PR target/49146
3922         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
3923         (execute_cfa_program): Use it when storing to fs->regs.
3925 2013-05-08  Kai Tietz  <ktietz@redhat.com>
3927         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
3928         (__deregister_frame_info): Likewise.
3930 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
3932         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
3933         NaN's payload.
3935         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
3937 2013-04-25  Alan Modra  <amodra@gmail.com>
3939         * config.host: Match little-endian powerpc-linux.
3941 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
3943         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
3944         as 'unsigned long long' instead of 'unsigned long'.
3945         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
3946         'signed long'.
3948 2013-04-10  Julian Brown  <julian@codesourcery.com>
3950         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
3951         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
3952         unsigned char/unsigned short.
3953         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
3955 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3957         PR other/55274
3958         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
3960 2013-04-04  Meador Inge  <meadori@codesourcery.com>
3962         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
3963         computing the location of the link register.
3964         (aeabi_uldivmod): Ditto.
3966 2013-03-27  Kai Tietz  <ktietz@redhat.com>
3968         * config.host: Add support for cygwin x64 target.
3969         * configure: Regenerated.
3971 2013-03-26  Walter Lee  <walt@tilera.com>
3973         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
3974         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
3976 2013-03-25  Kai Tietz  <ktietz@redhat.com>
3978         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
3980 2013-03-20  Robert Mason  <rbmj@verizon.net>
3982         * config/vxlib-tls.c (__gthread_get_tsd_data,)
3983         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
3984         (__gthread_leave_tsd_dtor_context): Add prototypes.
3985         (tls_delete_hook): Update.
3987 2013-03-20  Catherine Moore  <clm@codesourcery.com>
3988             Joseph Myers  <joseph@codesourcery.com>
3989             Chao-ying Fu  <fu@mips.com>
3991         * config/mips/mips16.S:  Don't build for microMIPS.
3992         * config/mips/linux-unwind.h: Handle microMIPS frame.
3993         * config/mips/crtn.S (fini, init): New labels.
3995 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
3997         PR tree-optimization/53265
3998         * unwind-dw2.c (execute_cfa_program): Avoid
3999         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
4000         on targets with DWARF_FRAME_REGISTERS < 32.
4002 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
4004         PR target/49880
4005         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
4006         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
4008 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
4010         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
4011         sandybridge processors.
4013 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
4015         PR target/56529
4016         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
4017         inclusion list.
4019 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4021         * config/microblaze/crti.S: Setup stack protection at entry
4023 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
4025         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
4026         (__rotldi3): Shift bytewise if applicable.
4028 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
4030         * config/aarch64/sync-cache.c
4031         (__aarch64_sync_cache_range): Silence warnings.
4033 2013-02-25  Catherine Moore  <clm@codesourcery.com>
4035         Revert:
4036         2013-02-24  Catherine Moore  <clm@codesourcery.com>
4037             Joseph Myers  <joseph@codesourcery.com>
4038             Chao-ying Fu  <fu@mips.com>
4040         * config/mips/mips16.S:  Don't build for microMIPS.
4041         * config/mips/linux-unwind.h: Handle microMIPS frame.
4042         * config/mips/crtn.S (fini, init): New labels.
4044 2013-02-24  Catherine Moore  <clm@codesourcery.com>
4045             Joseph Myers  <joseph@codesourcery.com>
4046             Chao-ying Fu  <fu@mips.com>
4048         * config/mips/mips16.S:  Don't build for microMIPS.
4049         * config/mips/linux-unwind.h: Handle microMIPS frame.
4050         * config/mips/crtn.S (fini, init): New labels.
4052 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4053         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
4054         as dividend.
4056 2013-02-16  Alan Modra  <amodra@gmail.com>
4058         PR target/55431
4059         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
4060         (ppc_fallback_frame_state): Always set up save locations for fp
4061         and altivec.  Don't bother with non-callee-saved regs, r0-r13
4062         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
4064 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
4066         PR target/54222
4067         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
4068         _ssmulHA, _ssmulSA.
4069         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
4070         _ssmulha3, _usmulusa3, _ssmulsa3.
4071         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
4072         (__muldi3): XCALL __muldi3_6 instead of rcall.
4073         (__umulsidi3, __mulsidi3): New functions.
4074         (do_prologue_saves, do_epilogue_restores): New .macros.
4075         (__divdi3_moddi3): Use them.
4076         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
4077         (__usmulusa3, __ssmulsa3): New functions.
4079 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
4080             Jack Howarth  <howarth@bromo.med.uc.edu>
4081             Patrick Marlier  <patrick.marlier@gmail.com>
4083         PR libitm/55693
4084         * config/darwin-crt-tm.c: Remove dummy functions hack.
4086 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
4088         PR target/54222
4089         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
4090         * config/avr/lib2-object.mk: New iterator to build objects from it.
4091         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
4092         lib2funcs.c.
4093         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
4094         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
4095         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
4096         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
4097         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
4098         * config/avr/lib1funcs-fixed.S: Implement them.
4100 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
4102         Update copyright years.
4104 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
4106         PR target/54601
4107         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
4108         Add crtcxa to extra_parts.
4109         * config/rs6000/exit.h: New file.
4110         * config/rs6000/cxa_atexit.c: New file.
4111         * config/rs6000/cxa_finalize.c: New file.
4112         * config/rs6000/crtcxa.c: New file.
4113         * config/rs6000/t-aix-cxa: New file.
4114         * config/rs6000/libgcc-aix-cxa.ver: New file.
4116 2013-01-31  Nick Clifton  <nickc@redhat.com>
4118         * config/v850/lib1funcs.S: Add support for e3v5 architecture
4119         variant.
4121 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
4123         PR target/54222
4124         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
4125         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
4126         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
4127         _divQQ,  _divHQ,  _divHA,  _divSA,
4128         _divUQQ, _divUHQ, _divUHA, _divUSA.
4130 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
4132         * config.host(microblaze*-linux*): tmake_file: Remove
4133         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
4134         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
4135         to exclude functions from being built with libgcc.c and use
4136         the microblaze assembly.
4138 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4140         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
4141         extra_parts.
4143 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
4145         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
4146         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
4147         __UINTPTR_TYPE__; also cast 'base' to the same type before the
4148         alignment operation.
4150 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
4152         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
4153         loop start address for cache clearing.
4155 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
4157         * config/avr/lib1funcs.S: Remove trailing blanks.
4158         * config/avr/lib1funcs-fixed.S: Ditto.
4160 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
4162         * config/avr/avr-lib.h: Add GPL copyright notice.
4164 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
4166         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
4167         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
4168         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
4169         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
4171 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
4173         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
4174         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
4176 2013-01-04  Nick Clifton  <nickc@redhat.com>
4178         * config/v850/lib1funcs.S: Only provide CALLT support functions if
4179         the CALLT instruction is supported.
4181 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
4183         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
4184         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
4186 2012-12-13  John Tytgat  <John@bass-software.com>
4188         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
4189         is 25.
4191 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
4193         PR libgcc/55451
4194         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
4195         undefined signed overflows.
4197 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
4199         PR target/55344
4200         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
4202 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
4204         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
4205         (FP_TRAPPING_EXCEPTIONS): Define.
4206         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
4207         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
4209 2012-12-04  Richard Henderson  <rth@redhat.com>
4211         PR bootstrap/55571
4212         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
4214 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4216         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
4217         (FP_EX_SHIFT): Define.
4218         (FP_TRAPPING_EXCEPTIONS): Define.
4220 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4222         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
4223         (FP_ROUNDMODE): Use FP_RND_MASK.
4224         * config/aarch64/sfp-exceptions.c: New.
4225         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4226         Use __sfp_handle_exceptions.
4228 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
4230         * config.host: (arm*-*-freebsd*): Remove.
4231         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
4232         (arm*-*-elf*): Remove.
4233         (arm*-*-wince-pe*): Remove.
4234         * arm/unwind-arm.c (struct fpa_reg): Delete.
4235         (struct fpa_regs): Delete.
4236         (phase1_vrs): Remove fpa element.
4237         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
4238         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
4239         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
4240         * ieee754-sf.S (floatundisf): Remove FPA support.
4241         (floatdisf): Likewise.
4242         * ieee75f-df.S (floatundidf): Likewise.
4243         (floatdidf): Likewise.
4245 2012-11-29  Kai Tietz  <ktietz@redhat.com>
4247         PR target/55445
4248         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
4249         * unwind-generic.h: Likewise.
4250         * unwind-seh.c: Likewise.
4252 2012-11-28  Richard Henderson  <rth@redhat.com>
4254         PR libgcc/48076
4255         * emutls.c (__emutls_get_address): Avoid race condition between
4256         obj->loc.offset read and emutls_key initialization.
4258 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
4260         Adjust decimal point of signed accum mode to GCC default.
4262         PR target/54222
4263         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
4264         _divqq_helper.
4265         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
4266         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
4267         (__mulha3, __mulsa3)
4268         (__divqq3, __divha3, __divsa3): Adjust to new position of
4269         decimal point of signed accum types.
4271         (__mulusa3_round): New function.
4272         (__mulusa3): Use it.
4273         (__divqq_helper): New function.
4274         (__udivuqq3): Use it.
4276 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
4278         PR bootstrap/55370
4279         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
4281 2012-11-18  Teresa Johnson  <tejohnson@google.com>
4283         PR bootstrap/55051
4284         * libgcov.c (gcov_exit): Remove merged program summary
4285         comparison unless !GCOV_LOCKED.
4287 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4289         * soft-fp: Updated from glibc upstream.
4291 2012-11-06  Ian Lance Taylor  <iant@google.com>
4293         * generic-morestack.c (__generic_morestack): Align the returned
4294         stack pointer to a 32 byte boundary.
4295         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
4296         increment the return address until we have decided that we don't
4297         have a varargs function.
4298         (__morestack) [32-bit]: Align stack correctly when calling C
4299         functions.
4300         (__morestack) [64-bit]: Likewise.
4302 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
4304         * configure: Regenerate.
4306 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
4308         PR target/55175
4309         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
4310         * config/i386/sfp-machine.h: Guard exception handling
4311         code with _SOFT_FLOAT.
4312         * config/i386/32/sfp-machine.h: Guard rounding handling
4313         code with _SOFT_FLOAT.
4314         * config/i386/64/sfp-machine.h: Ditto.
4316 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
4318         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
4319         as extra_parts.
4321 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
4323         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
4324         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
4325         when appropriate.  Correct structure element types.
4326         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
4327         -minline-all-stringops from compile flags.
4329 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
4331         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
4333 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
4335         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
4337 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4339         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
4340         tmake_file.
4342 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
4343             Jim MacArthur  <jim.macarthur@arm.com>
4344             Marcus Shawcroft  <marcus.shawcroft@arm.com>
4345             Nigel Stephens  <nigel.stephens@arm.com>
4346             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
4347             Richard Earnshaw  <rearnsha@arm.com>
4348             Sofiane Naci  <sofiane.naci@arm.com>
4349             Stephen Thomas  <stephen.thomas@arm.com>
4350             Tejas Belagod  <tejas.belagod@arm.com>
4351             Yufeng Zhang  <yufeng.zhang@arm.com>
4353         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
4354         * config/aarch64/crti.S: New file.
4355         * config/aarch64/crtn.S: New file.
4356         * config/aarch64/linux-unwind.h: New file.
4357         * config/aarch64/sfp-machine.h: New file.
4358         * config/aarch64/sync-cache.c: New file.
4359         * config/aarch64/t-aarch64: New file.
4360         * config/aarch64/t-softfp: New file.
4362 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
4364         * config/mmix/crti.S: Mark program and data addresses using PRELD.
4365         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
4366         no-longer-needed LDBU insns.
4368 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4370         * config.host
4371         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
4372         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
4374 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
4376         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
4378 2012-10-15  Matthias Klose  <doko@ubuntu.com>
4380         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
4382 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
4384         * configure: Regenerate.
4385         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
4387 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
4389         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4390         instructions for 64bit targets only.
4392 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
4394         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4395         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
4396         * config/i386/32/sfp-machine.h: ... here.
4397         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
4398         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
4399         New defines.
4401 2012-10-07  Matthias Klose  <doko@ubuntu.com>
4403         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
4404         as unused.
4405         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
4407 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
4409         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
4410         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
4411         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
4412         (ElfW): Likewise.
4414 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
4416         PR other/53889
4417         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4418         Fix parameter names.
4420 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
4422         PR target/33135
4423         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
4424         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
4425         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
4427 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
4429         PR target/50457
4430         * config/sh/linux-atomic.S: Delete.
4431         * config/sh/linux-atomic.c: New.
4432         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
4433         linux-atomic.c.  Add cflags to disable warnings.
4435 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
4437         PR other/53889
4438         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
4439         function.
4440         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
4441         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
4442         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
4443         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
4444         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
4445         Likewise.
4446         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4447         Likewise.
4448         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
4449         Likewise.
4450         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
4451         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
4453 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
4455         * config.host (hppa-*-openbsd*): New target.
4456         * config/pa/t-openbsd: New file.
4458 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
4460         PR target/54222
4461         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
4462         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
4463         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
4464         (__divsa3): Use __negsi2 to negate r_quoL.
4465         * config/avr/lib1funcs.S (FALIAS): New macro.
4466         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
4467         (__negsi2): ...this new function.
4468         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
4469         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
4470         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
4471         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
4472         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
4473         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
4475 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
4477         PR target/54089
4478         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
4479         (lshrsi3): Reimplement as lshrsi3_r0.
4481 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
4483         PR target/46191
4484         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
4485         of libgcc.a.
4487 2012-09-07  Teresa Johnson  <tejohnson@google.com>
4489         PR gcov-profile/54487
4490         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
4491         differences.
4493 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
4495         PR target/54461
4496         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
4497         not configured --with-avrlibc=no.
4498         * config/avr/t-avrlibc: New file.
4499         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
4500         (DPBIT_FUNCS): Ditto.
4501         (TPBIT_FUNCS): Ditto.
4503 2012-09-04  Teresa Johnson  <tejohnson@google.com>
4505         * libgcov.c (struct gcov_summary_buffer): New structure.
4506         (gcov_histogram_insert): New function.
4507         (gcov_compute_histogram): Ditto.
4508         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
4509         histograms during summary merging.
4511 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
4513         * config.host (x86_64-*-openbsd*): New target.
4515 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
4517         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
4518         attribute.
4520 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
4522         PR target/54222
4523         * config/avr/t-avr (conv_X): Rename to func_X.
4525 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
4527         PR target/54222
4528         * config/avr/lib1funcs-fixed.S: New file.
4529         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
4530         after they are used.
4531         (neg2, neg4): New macros.
4532         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
4533         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
4534         (__umulhisi3): Speed up MUL variant if there is enough flash.
4535         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
4536         avr-modes.def.
4537         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
4538         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
4539         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
4540         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
4541         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
4542         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
4543         (LIB2FUNCS_EXCLUDE): Add supported functions.
4545 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
4547         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
4548         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
4549         libgcc-s-objects.
4550         * fixed-obj.mk: Only expand dependency if $o is not in
4551         LIB2FUNCS_EXCLUDE.
4553 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
4555         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
4557 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
4559         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
4560         depend on --enable-shared.
4561         ($(lib1asmfuncs-o)): Use %.vis files independent of
4562         --enable-shared.
4563         * static-object.mk ($(base)$(objext), $(base).vis)
4564         ($(base)_s$(objext)): Use same rules for visibility handling as in
4565         shared-object.mk.
4567 2012-08-21  Ian Lance Taylor  <iant@google.com>
4569         * config/i386/morestack.S (__morestack_non_split): Increase amount
4570         of space allocated for non-split code stack.
4572 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
4574         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
4575         even if inhibit_libc.
4577 2012-08-17  Julian Brown  <julian@codesourcery.com>
4579         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
4580         -fexceptions -fnon-call-exceptions if not defined.
4581         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
4582         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
4584 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
4586         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
4587         type.
4589 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
4591         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
4592         rs6000/t-slibgcc-aix.
4594 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
4596         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
4598 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
4600         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
4602 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
4604         PR driver/54171
4605         * Makefile.in (version): Replace top_srcdir with srcdir.
4607 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
4609         * Makefile.in (version): set to BASE-VER file from gcc directory.
4611 2012-08-01  Nick Clifton  <nickc@redhat.com>
4613         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
4614         Implements __clrsb for an HImode argument.
4616 2012-07-31  Nick Clifton  <nickc@redhat.com>
4618         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
4619         Implements __clrsb for an HImode argument.
4620         * config/stormy16/clrsbhi2.c: New file:
4621         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
4623 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
4625         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
4627 2012-07-19  Tristan Gingold  <gingold@adacore.com>
4628             Richard Henderson  <rth@redhat.com>
4630         * unwind-seh.c: New file.
4631         * unwind-generic.h: Include windows.h for SEH.
4632         (_Unwind_Exception): Use 6 private fields for SEH.
4633         (_GCC_specific_handler): Declare.
4634         * unwind-c.c (__gcc_personality_seh0): New function.
4635         Adjust for SEH.
4636         * config/i386/libgcc-cygming.ver: New file.
4637         * config/i386/t-seh-eh: New file.
4638         * config.host (x86_64-*-mingw*): Default to seh.
4640 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
4642         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
4644 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
4646         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
4647         __builtin_expect when checking for exceptions.
4648         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
4650 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
4652         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
4653         function declaration.
4654         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4655         (FP_RND_MASK): New.
4656         * config/ia64/sfp-exceptions.c: New.
4657         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
4659 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
4661         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
4662         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
4663         * config/i386/64/sfp-machine: ... (delete here) ...
4664         * config/i386/sfp-machine.h: ... to here.
4665         (FP_EX_MASK): Remove.
4666         (FP_RND_MASK): New.
4667         (FP_INIT_ROUNDMODE): Declare asm as volatile.
4669 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
4671         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
4672         * config/i386/libgcc-sol2.ver: Ditto.
4673         * config/i386/libgcc-glibc.ver: Ditto.
4675 2012-06-11  Roland McGrath  <mcgrathr@google.com>
4677         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
4678         If __GLIBC__ is defined, refer to __pthread_key_create instead of
4679         pthread_cancel.
4681 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
4683         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
4684         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
4685         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
4686         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4687         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
4688         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
4689         * config/i386/64/sfp-machine: ... (delete here) ...
4690         * config/i386/sfp-machine.h: ... to here.
4691         (FP_EX_MASK): New.
4692         (__sfp_handle_exceptions): New function declaration.
4693         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4694         * config/i386/sfp-exceptions.c: New.
4695         * config/i386/t-softfp: New.
4696         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
4697         i386/t-softfp to tmake_file.
4699 2012-06-03  David S. Miller  <davem@davemloft.net>
4701         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
4702         change.
4704 2012-05-31  David S. Miller  <davem@davemloft.net>
4706         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
4707         multiply and divide instructions on 32-bit when V9.
4708         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
4710 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
4712         * config/arm/ieee754-df.S: Fix typos.
4713         * config/arm/ieee754-sf.S: Fix typos.
4714         * config/c6x/libunwind.S: Fix typos.
4715         * config/epiphany/udivsi3-float.c: Fix typos.
4716         * config/microblaze/muldi3_hard.S: Fix typos.
4717         * config/picochip/adddi3.S: Fix typos.
4718         * config/picochip/ashlsi3.S: Fix typos.
4719         * config/picochip/ashrsi3.S: Fix typos.
4720         * config/picochip/clzsi2.S: Fix typos.
4721         * config/picochip/cmpsi2.S: Fix typos.
4722         * config/picochip/divmod15.S: Fix typos.
4723         * config/picochip/divmodhi4.S: Fix typos.
4724         * config/picochip/divmodsi4.S: Fix typos.
4725         * config/picochip/longjmp.S: Fix typos.
4726         * config/picochip/lshrsi3.S: Fix typos.
4727         * config/picochip/parityhi2.S: Fix typos.
4728         * config/picochip/popcounthi2.S: Fix typos.
4729         * config/picochip/setjmp.S: Fix typos.
4730         * config/picochip/subdi3.S: Fix typos.
4731         * config/picochip/ucmpsi2.S: Fix typos.
4732         * config/picochip/udivmodhi4.S: Fix typos.
4733         * config/picochip/udivmodsi4.S: Fix typos.
4734         * config/spu/divv2df3.c: Fix typos.
4735         * config/spu/mfc_multi_tag_release.c: Fix typos.
4736         * config/spu/mfc_tag_release.c: Fix typos.
4737         * configure.ac: Fix typos.
4738         * configure: Regenerate.
4740 2012-05-25  Ian Lance Taylor  <iant@google.com>
4742         * config/i386/morestack.S (__morestack_non_split): Check whether
4743         caller is varargs and needs %bp to hold the stack frame on return.
4745 2012-05-25  Olivier Hainque  <hainque@adacore.com>
4747         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
4748         sequence in the non pic case on VxWorks.
4750 2012-05-24  Olivier Hainque  <hainque@adacore.com>
4752         * Makefile.in: Move dependency on install-unwind_h from
4753         "install-leaf" to "install".
4755 2012-05-24  Olivier Hainque  <hainque@adacore.com>
4757         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
4758         Use a separate command for stamp removals.
4760 2012-05-21  Andrew Pinski  <apinski@cavium.com>
4762         PR bootstrap/53183
4763         * configure.ac: Define the default includes to being none.
4764         * configure: Regenerate.
4766 2012-05-16  Olivier Hainque  <hainque@adacore.com>
4768         * Makefile.in (install-unwind_h): Rename into ...
4769         (install-unwind_h-forbuild): New target.
4770         (all): Use it instead of the former install-unwind_h.
4771         (install-unwind_h): Reinstate, copy to user install destination
4772         for include files, not to the internal gcc object directory one.
4773         (install-leaf): Depend on it.
4775 2012-05-15  Olivier Hainque  <hainque@adacore.com>
4777         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
4778         register numbers. LR_REGNO replaces R_LR.
4779         (ucontext_for): New, helper for ...
4780         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
4781         and 5.3 of ...
4782         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
4784 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4786         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
4787         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
4788         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
4789         i386/t-cpuinfo ...
4790         (i[34567]86-*-*, x86_64-*-*): ... here.
4792         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
4793         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
4795         * config/i386/i386-cpuinfo.c: Rename to ...
4796         * config/i386/cpuinfo.c: ... this.
4797         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
4799         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
4800         (libgcc_cv_init_priority): New test.
4801         * configure: Regenerate.
4802         * config.in: New file.
4803         * Makefile.in (clean): Rename config.h to auto-target.h.
4804         (config.h): Likewise.
4805         (stamp-h): Likewise.
4807         * config/i386/cpuinfo.c (auto-target.h): Include.
4808         (CONSTRUCTOR_PRIORITY): Define.
4809         (__cpu_indicator_init): Use it.
4811 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
4813         * longlong.h: Use a URL instead of an FSF postal address.
4814         Replace spaces with tab.
4816 2012-05-08  Teresa Johnson  <tejohnson@google.com>
4818         * libgcov.c (gcov_clear, __gcov_reset): New functions.
4819         (__gcov_dump): Ditto.
4820         (gcov_dump_complete): New global variable.
4821         (gcov_exit): Export hidden to enable use in L_gcov_dump.
4822         (__gcov_flush): Outline functionality now in gcov_clear.
4823         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
4825 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
4827         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
4828         (mips*-*-linux*): Include mips/t-tpbit when long double is
4829         16 bytes long.
4831 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
4833         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
4834         (get_available_features): New argument. Check for AVX2.
4835         (__cpu_indicator_init): Modify call to get_available_features.
4837 2012-04-25  Alan Modra  <amodra@gmail.com>
4839         * config/rs6000/crtsavevr.S: New file.
4840         * config/rs6000/crtrestvr.S: New file.
4841         * config/rs6000/t-savresfgpr: Build the above.
4842         * config/rs6000/t-netbsd: Likewise.
4844 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
4846         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
4848 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
4850         * libgcc/config/i386/i386-cpuinfo.c: New file.
4851         * libgcc/config/i386/t-cpuinfo: New file.
4852         * libgcc/config.host: Include t-cpuinfo.
4853         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
4855 2012-04-24  Chao-ying Fu  <fu@mips.com>
4857         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
4859 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
4861         struct siginfo vs. siginfo_t
4863         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
4864         siginfo_t instead of struct siginfo.
4865         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
4866         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
4867         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
4868         (ia64_handle_unwabi): Likewise.
4869         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
4870         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
4871         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
4872         (sh_fallback_frame_state): Likewise.
4873         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
4874         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
4876 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
4878         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
4879         system call number.
4881 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
4883         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
4884         if it hasn't been previously saved.
4886 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
4888         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
4889         only for glibc.
4891 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
4893         PR target/52737
4894         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
4895         instead of __AVR_HAVE_8BIT_SP__.
4897 2012-03-26  Tristan Gingold  <gingold@adacore.com>
4899         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
4900         (unw_table_entry): Use unw_word instead of unsigned long.
4901         (_Unwind_FindTableEntry): Likewise.
4902         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
4903         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
4904         (_Unwind_FindTableEntry): Likewise.
4905         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
4906         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
4907         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
4908         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
4909         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
4910         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
4911         (uw_init_context_1, uw_install_context): Likewise.
4912         (unw_word): Move to unwind-ia64.h
4914 2012-03-26  Tristan Gingold  <gingold@adacore.com>
4916         * config/vms/vms-ucrt0.c: Update copyright years.
4917         Add a sanity check.
4918         (___gcc_main_flags): Declare.
4919         (__main): Check flags to remap argv and exit code.
4920         * config.host (*-*-*vms*): Adjust extra_parts.
4921         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
4922         (crt0.o): Add.
4924 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
4926         * arm/lib1funcs.asm (ctzsi2): New function.
4927         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
4928         * arm/t-linux (LIB1ASMFUNCS): Likewise.
4929         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
4930         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
4931         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
4932         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
4934 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
4936         * config.host: Add bits to support powerpc64-*-freebsd*.
4937         * config/rs6000/freebsd-unwind.h: New file.
4938         * config/rs6000/t-freebsd64: New file.
4940 2012-03-20  Richard Guenther  <rguenther@suse.de>
4942         PR gcov-profile/52627
4943         * libgcov.c (init_mx): Fix mutex name.
4945 2012-03-16  Tristan Gingold  <gingold@adacore.com>
4947         * config/ia64/vms-unwind.h: Remove ulong (and replace
4948         it by unw_reg where used).  Define unw_reg with __int64.
4950 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4952         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4953         Solaris 8 handling.
4954         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4955         Solaris 8 handling.
4956         (sparc_is_sighandler): Likewise.
4958 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
4960         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
4961         <= saved reg size.
4963 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4965         * config/arm/crtn.S: Fix typo.
4967 2012-03-13  Richard Guenther  <rguenther@suse.de>
4969         * libgcov.c: Remove stdio.h include and NULL un-define.
4971 2012-03-13  Richard Guenther  <rguenther@suse.de>
4973         PR target/52569
4974         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
4976 2012-03-13  Richard Guenther  <rguenther@suse.de>
4978         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
4980 2012-03-13  Richard Guenther  <rguenther@suse.de>
4982         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
4983         and __gthread_mutex_init_function definitions.
4985 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4987         * config.host (mips*-*-openbsd*): Remove.
4989 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4991         * config.host: Remove alpha*-dec-osf5.1* handling.
4992         * config/alpha/gthr-posix.c: Remove.
4993         * config/alpha/libgcc-osf5.ver: Remove.
4994         * config/alpha/osf5-unwind.h: Remove.
4995         * config/alpha/t-osf-pthread: Remove.
4996         * config/alpha/t-slibgcc-osf: Remove.
4997         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
4998         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
4999         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
5000         * mkmap-flat.awk: Remove osf_export handling.
5002 2012-03-12  Richard Guenther  <rguenther@suse.de>
5004         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
5005         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5006         (__gthread_mutex_init_function): New function.
5007         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5009         PR gcov/49484
5010         * libgcov.c: Include gthr.h.
5011         (__gcov_flush_mx): New global variable.
5012         (init_mx, init_mx_once): New functions.
5013         (__gcov_flush): Protect self with a mutex.
5014         (__gcov_fork): Re-initialize mutex after forking.
5015         * unwind-dw2-fde.c: Change condition under which to use
5016         __GTHREAD_MUTEX_INIT_FUNCTION.
5018 2012-03-12  Tristan Gingold  <gingold@adacore.com>
5020         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
5021         * config/ia64/t-vms: Likewise.
5023 2012-03-11  Michael Hope  <michael.hope@linaro.org>
5025         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
5026         for Thumb-2.
5028 2012-03-07  Walter Lee  <walt@tilera.com>
5030         * config/tilepro/atomic.c: Rename "atomic_" prefix to
5031         "arch_atomic_".
5032         (atomic_xor): Rename and move definition to
5033         config/tilepro/atomic.h.
5034         (atomic_nand): Ditto.
5035         * config/tilepro/atomic.h: Rename "atomic_" prefix to
5036         "arch_atomic_".
5037         (arch_atomic_xor): Move from config/tilepro/atomic.c.
5038         (arch_atomic_nand): Ditto.
5040 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5042         PR target/52507
5043         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
5045 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5047         PR target/52505
5048         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
5049         from RAM.
5051 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5053         PR target/52461
5054         PR target/52508
5055         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
5056         if RAMPZ affects reading from RAM.
5057         (__tablejump_elpm__): Ditto.
5058         (.xload): Ditto.
5059         (__movmemx_hi): Ditto.
5060         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
5061         (__do_global_dtors): Ditto.
5062         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
5063         (__movmemx_hi): Ditto.
5065 2012-03-05  Richard Henderson  <rth@redhat.com>
5067         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
5068         [ARM] (count_trailing_zeros): Use the builtin.
5070 2012-03-01  Kai Tietz  <ktietz@redhat.com>
5072         * soft-fp: Imported from glibc upstream.
5074 2012-02-28  Kai Tietz  <ktietz@redhat.com>
5076         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
5077         for mingw-targets as attribute gcc_struct.
5079 2012-02-28  Ian Lance Taylor  <iant@google.com>
5081         * generic-morestack.c (__splitstack_releasecontext): Correct call
5082         to __morestack_release_segments.
5084 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5086         PR target/52390
5087         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
5088         for __linux__ when removing signals from __morestack_fullmask.
5090 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
5092         PR target/52261
5093         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
5095 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5097         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
5098         instead of HAVE_INITFINI_ARRAY.
5099         * config/ia64/crtend.S: Likewise.
5101 2012-02-20  Kai Tietz  <ktietz@redhat.com>
5103         PR libstdc++/52300
5104         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
5106         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
5107         to w32-unwind.h header.
5109 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
5111         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
5112         (mips*-*-linux*): Remove t-slibgcc-libgcc.
5113         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
5114         * config/mips/mips16.S (__mips16_rdhwr): Delete.
5116 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
5118         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
5120 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
5122         PR libitm/52220
5123         * config/darwin-crt-tm.c: Correct typo.
5125 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
5126             Patrick Marlier  <patrick.marlier@gmail.com>
5128         PR libitm/52220
5129         * config/darwin-crt-tm.c: Generate dummy functions.
5131 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
5132             Patrick Marlier  <patrick.marlier@gmail.com>
5134         PR libitm/52042
5135         * config/darwin-crt-tm.c (getTMCloneTable): New function.
5136         (__doTMRegistrations): Call it.
5137         (__doTMdeRegistrations): Likewise.
5139 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
5140             Anatoly Sokolov  <aesok@post.ru>
5141             Eric Weddington  <eric.weddington@atmel.com>
5143         PR target/52261
5144         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
5145         (__epilogue_restores__): Ditto.
5147 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
5149         PR target/51921
5150         PR target/52205
5151         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
5152         Solaris 11 and slightly reformat.
5153         (sparc_is_sighandler): Likewise.
5155 2012-02-14  Walter Lee  <walt@tilera.com>
5157         * config.host: Handle tilegx and tilepro.
5158         * config/tilegx/sfp-machine.h: New file.
5159         * config/tilegx/sfp-machine32.h: New file.
5160         * config/tilegx/sfp-machine64.h: New file.
5161         * config/tilegx/t-crtstuff: New file.
5162         * config/tilegx/t-softfp: New file.
5163         * config/tilegx/t-tilegx: New file.
5164         * config/tilepro/atomic.c: New file.
5165         * config/tilepro/atomic.h: New file.
5166         * config/tilepro/linux-unwind.h: New file.
5167         * config/tilepro/sfp-machine.h: New file.
5168         * config/tilepro/softdivide.c: New file.
5169         * config/tilepro/softmpy.S: New file.
5170         * config/tilepro/t-crtstuff: New file.
5171         * config/tilepro/t-tilepro: New file.
5173 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
5175         PR libstdc++/51296
5176         PR libstdc++/51906
5177         * gthr-posix.h: Allow static initializer macros to be disabled.
5178         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
5180 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
5182         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
5183         Add t-slibgcc-libgcc to tmake_file.
5184         * config/mips/libgcc-mips16.ver: Revert previous patch.
5185         * config/mips/mips16.S (__mips16_rdhwr): Hide.
5187 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
5188             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
5190         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
5191         * config/cr16/crti.S: New file.
5192         * config/cr16/crtlibid.S: New file.
5193         * config/cr16/crtn.S: New file.
5194         * config/cr16/lib1funcs.S: New file.
5195         * config/cr16/t-cr16: New file.
5196         * config/cr16/t-crtlibid: New file.
5197         * config/cr16/unwind-dw2.h: New file.
5198         * config/cr16/unwind-cr16.c: New file.
5199         * config/cr16/divmodhi3.c: New file.
5201 2012-01-25  Alan Modra  <amodra@gmail.com>
5203         * config/rs6000/t-linux64: Delete.  Move..
5204         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
5205         * config/rs6000/t-linux: ..and libgcc flags to here.
5207 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
5209         * config.host (i[34567]86-*-interix3*):
5210         Change triplet to i[34567]86-*-interix[3-9]*.
5211         * configure: Regenerate.
5213 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
5214             Richard Sandiford  <rdsandiford@googlemail.com>
5216         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
5217         * config/mips/mips16.S (__mips16_rdhwr): New function.
5218         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
5220 2012-01-11  Nathan Sidwell  <nathan@acm.org>
5222         * libgcov.c (__gcov_init): Ignore objects with no functions.
5224 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
5226         PR target/49868
5227         Extend __pgmx semantics to linearize memory.
5228         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
5229         * config/avr/lib1funcs.S (__xload_1): New function.
5230         (__movmemx_qi, __movmemx_hi): New functions.
5231         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
5232         semantics.
5234 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
5236         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
5237         purported sigacthandler address isn't null before dereferencing it.
5238         (sparc_is_sighandler): Likewise.
5240 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
5242         PR ada/41929
5243         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
5244         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
5245         (sparc_is_sighandler): Likewise.
5246         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
5248 2012-01-06  Tristan Gingold  <gingold@adacore.com>
5250         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
5251         compatibility thunks...
5252         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
5253         (crtbeginS.o, crtendS.o): ... and these to ...
5254         * config/ia64/t-ia64-elf: ... this new file.
5255         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
5256         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
5258 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5260         * configure: Regenerate.
5261         * config/s390/t-crtstuff: Remove -fPIC.
5263 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
5265         PR bootstrap/51006
5266         * enable-execute-stack-mprotect.c (getpagesize): Do not define
5267         for NetBSD.
5269 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
5271         PR target/51345
5272         * config/avr/lib1funcs.S: Remove FIXME comments.
5273         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
5275 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
5277         Implement light-weight DImode support.
5278         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
5279         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
5280         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
5281         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
5283 2011-12-30  Nathan Sidwell  <nathan@acm.org>
5285         * libgcov.c (gcov_crc32): Remove global var.
5286         (free_fn_data): New function.
5287         (buffer_fn_data): Pass in filename, more robust error recovery.
5288         (crc32_unsigned): New function.
5289         (gcov_exit): More robust detection of new program. More robust
5290         error recovery.
5291         (__gcov_init): Do not update program's crc here.
5293 2011-12-21  Tristan Gingold  <gingold@adacore.com>
5295         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
5297 2011-12-21  Ian Lance Taylor  <iant@google.com>
5299         * config/i386/morestack.S: Simplify CFI opcodes throughout.
5301 2011-12-20  Ian Lance Taylor  <iant@google.com>
5303         * config/i386/morestack.S (__morestack_non_split): If there is
5304         enough stack space already, don't split.  Ask for more stack space
5305         than we required.
5307 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
5309         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
5310         `sys/sdt.h'.
5311         (_Unwind_DebugHook): New function.
5312         (uw_restore_core_regs): New define.
5313         (unwind_phase2): Use uw_restore_core_regs instead of
5314         restore_core_regs.
5315         (unwind_phase2_forced): Likewise.
5316         (__gnu_Unwind_Resume): Likewise.
5318 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
5320         * config/alpha/linux-unwind.h: Update copyright years.
5321         (MD_FROB_UPDATE_CONTEXT): New define.
5322         (alpha_frob_update_context): New function.
5324 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
5326         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
5327         tmake_file rather replacing it.
5329 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
5331         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
5332         function is not used for PPC64.
5333         (save_world): Amend comments.  Update the VRsave mask to reflect the
5334         saved regs.
5335         (rest_world): Update comments, do not  clobber r10, do not use r8.
5336         (eh_rest_world_r10): Amend comments, do not use r8.
5337         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
5338         no longer used, move restore of CR and target address to the end of
5339         the routine.
5341 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
5343         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
5344         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
5346 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
5348         PR target/49313
5349         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
5350         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
5352 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
5354         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
5356 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
5358         PR target/49313
5359         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
5360         * config/avr/lib1funcs.S (__muldi3): New function.
5362 2011-12-06  Andrew Pinski  <apinski@cavium.com>
5364         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
5365         size of func_ptr.
5366         (__frame_dummy_init_array_entry): Likewise.
5368 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
5370         Forward-port from gcc-4_6-branch r181936 2011-12-02.
5372         PR target/51345
5373         PR target/51002
5374         * config/avr/lib1funcs.S (__prologue_saves__,
5375         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
5376         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
5378 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
5380         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
5382 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5384         PR other/51272
5385         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
5386         (_ITM_deregisterTMCloneTable): Likewise.
5387         (__register_frame_info): Fix unused warning.
5388         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
5389         pthread_default_stacksize_np): Likewise.
5390         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
5392 2011-11-29  DJ Delorie  <dj@redhat.com>
5394         * config.host (rl78-*-elf): New case.
5395         * config/rl78: New directory for the Renesas RL78.
5397 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
5399         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
5400         formatting.
5402 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5404         PR other/51022
5405         * config/rs6000/t-savresfgpr: New file.
5406         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
5407         $(srcdir)/config/rs6000/eabi.S.
5408         * config/rs6000/t-ppccomm-ldbl: Remove.
5409         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
5410         tmake_file.
5411         (powerpc-*-eabispe*): Likewise.
5412         (powerpc-*-eabi*): Likewise.
5413         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5414         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
5415         to tmake_file, remove rs6000/t-ppccomm-ldbl.
5416         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
5417         tmake_file.
5418         (powerpc-*-eabisim*): Likewise.
5419         (powerpc-*-elf*): Likewise.
5420         (powerpc-*-eabialtivec*): Likewise.
5421         (powerpc-xilinx-eabi*): Likewise.
5422         (powerpc-*-rtems*): Likewise.
5423         (powerpcle-*-elf*): Likewise.
5424         (powerpcle-*-eabisim*): Likewise.
5425         (powerpcle-*-eabi*): Likewise.
5427 2011-11-27  Ian Lance Taylor  <iant@google.com>
5429         * generic-morestack.c (__splitstack_find): Check for NULL old
5430         stack value.
5431         (__splitstack_resetcontext): New function.
5432         (__splitstack_releasecontext): New function.
5433         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5435 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
5437         * config/darwin-crt-tm.c: Correct comments, use correct licence.
5439 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
5441         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
5443 2011-11-26  Richard Henderson  <rth@redhat.com>
5445         * config/m68k/linux-atomic.c: New file.
5446         * config/m68k/t-linux: New file.
5447         * config.host (m68k-uclinux, m68k-linux): Use it.
5449 2011-11-26  Richard Henderson  <rth@redhat.com>
5451         * crtstuff.c (__TMC_LIST__): Mark used not unused.
5452         (__TMC_END__): Only declare if hidden is available; in the definition,
5453         if hidden is unavailable add a null record.
5454         (deregister_tm_clones, register_tm_clones): New.
5455         (__do_global_dtors_aux, frame_dummy): Use them.
5456         (__do_global_dtors, __do_global_ctors_1): Likewise.
5458 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
5460         * config/darwin-crt-tm.c: New file.
5461         * config.host (darwin): Build crttms.o crttme.o to provide
5462         startup and shutdown for tm clones.
5463         * config/t-darwin (crttms.o): New build rule.
5464         (crttme.o): Likewise.
5466 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
5468         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
5469         et al.
5471 2011-11-21  Richard Henderson  <rth@redhat.com>
5473         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
5474         (__TMC_LIST__, __TMC_END__): New.
5475         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
5476         (__do_global_dtors): Likewise.
5477         (frame_dummy): Call _ITM_registerTMCloneTable.
5478         (__do_global_ctors_1): Likewise.
5480 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5482         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
5483         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5484         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
5485         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
5486         * config/i386/t-darwin64: Remove.
5487         * config/sh/t-netbsd (LIB2ADD): Remove.
5489 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
5491         PR target/49313
5492         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
5493         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
5494         * config/avr/lib1funcs.S (wmov): New assembler macro.
5495         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
5496         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
5497         (__udivmod64): New function.
5498         (__negdi2): New function.
5500 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
5502         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
5503         *-*-freebsd*aout*): Remove.
5505 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
5507         * static-object.mk (c_flags-$o): Save c_flags.
5508         ($(base)$(objext)): Use it.
5510 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
5512         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
5514 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
5516         PR target/49868
5517         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
5518         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
5519         New functions.
5521 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
5523         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
5524         functions.
5525         (aeabi_uidivmod): Likewise.
5526         (umodsi3): Likewise.
5527         (divsi3): Likewise.
5528         (aeabi_idivmod): Likewise.
5529         (modsi3): Likewise.
5531 2011-11-16  Tristan Gingold  <gingold@adacore.com>
5533         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
5535 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
5537         PR target/49868
5538         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
5539         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
5541 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5543         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
5544         tmake_file list.
5545         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
5546         * config/pa/t-stublib64: Delete.
5548 2011-11-12  Richard Henderson  <rth@redhat.com>
5550         * config/rs6000/linux-unwind.h (frob_update_context): Properly
5551         cast the pointer argument to _Unwind_SetGRPtr.
5553 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5555         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
5557 2011-11-09  Ian Lance Taylor  <iant@google.com>
5559         * generic-morestack.c: Include <string.h>.
5560         (uintptr_type): Define.
5561         (struct initial_sp): Add dont_block_signals field.  Reduce size of
5562         extra array by 1.
5563         (allocate_segment): Set prev field to NULL.  Don't set
5564         __morestack_current_segment or __morestack_segments.
5565         (__generic_morestack): Update current->prev and *pp after calling
5566         allocate_segment.
5567         (__morestack_block_signals): Don't do anything if
5568         dont_block_signals is set.
5569         (__morestack_unblock_signals): Likewise.
5570         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
5571         uintptr_type.
5572         (__splitstack_block_signals): New function.
5573         (enum __splitstack_content_offsets): Define.
5574         (__splitstack_getcontext, __splitstack_setcontext): New functions.
5575         (__splitstack_makecontext): New function.
5576         (__splitstack_block_signals_context): New function.
5577         (__splitstack_find_context): New function.
5578         * config/i386/morestack.S (__morestack_get_guard): New function.
5579         (__morestack_set_guard, __morestack_make_guard): New functions.
5580         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5582 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5584         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
5585         (i[34567]86-*-mingw*): ... here.
5586         (x86_64-*-mingw*): ... here.
5588 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5590         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
5592 2011-11-07  Nathan Sidwell  <nathan@acm.org>
5594         * libgcov.c (struct gcov_fn_buffer): New struct.
5595         (buffer_fn_data): New helper.
5596         (gcov_exit): Rework for new gcov data structures.
5598 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
5600         PR target/49313
5601         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
5603 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5605         * config.host (tmake_file): Correct comment.
5606         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
5607         t-libgcc-pic.
5608         (bfin*-uclinux*): Likewise.
5609         (bfin*-linux-uclibc*): Likewise.
5610         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
5612         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
5613         assigning.
5614         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5615         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
5616         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5617         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
5618         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5619         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
5620         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
5621         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5622         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
5623         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
5624         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
5625         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
5626         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
5628         * config/bfin/t-elf: Remove.
5629         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
5631 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5633         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
5634         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
5635         (lm32-*-elf*, lm32-*-rtems*): Split into ...
5636         (lm32-*-elf*): ... this.
5637         (lm32-*-rtems*): ... and this.
5638         Add to tmake_file.
5639         (m32r-*-rtems*): Add to tmake_file.
5640         (moxie-*-rtems*): Likewise.
5641         (sparc-*-rtems*): Likewise.
5642         Remove t-rtems from tmake_file.
5643         (sparc64-*-rtems*): Likewise.
5644         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
5645         instead.
5647 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5649         PR bootstrap/50982
5650         * config/gthr-posix.h: Move ...
5651         * gthr-posix.h: ... here.
5652         * config/gthr-lynx.h: Reflect this.
5653         * config/gthr-vxworks.h: Likewise.
5654         * config/rs6000/gthr-aix.h: Likewise.
5655         * configure.ac (target_thread_file): Likewise.
5656         * configure: Regenerate.
5658 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5660         * config.host (arm*-*-rtemseabi*): New target.
5662 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5664         PR other/50991
5665         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
5666         extra-parts.
5668 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
5670         * config.host (epiphany-*-elf*): New configuration.
5671         * config/epiphany: New Directory.
5673 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
5675         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
5676         * config/avr/t-rtems: New.
5677         Filter out _exit from LIB1ASMFUNCS.
5679 2011-11-04  David S. Miller  <davem@davemloft.net>
5681         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
5682         * configure: Rebuild.
5684 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5686         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
5687         variable.
5689 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
5691         PR target/50931
5692         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
5693         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
5695 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
5697         PR target/50989
5698         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
5700 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5702         * config/c6x/t-elf (LIB2ADDEH): Set.
5703         * config/c6x/t-c6x-elf: Remove.
5705 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5707         * config/i386/sol2-ci.S: Rename to ...
5708         * config/i386/crti.S: ... this.
5709         * config/i386/sol2-cn.S: Rename to ...
5710         * config/i386/crtn.S: ... this.
5711         * config/sparc/sol2-ci.S: Rename to ...
5712         * config/sparc/crti.S: ... this.
5713         * config/sparc/sol2-cn.S: Rename to ...
5714         * config/sparc/crtn.S: ... this.
5715         * config/t-sol2 (CUSTOM_CRTIN): Remove.
5716         (crti.o, crtn.o): Remove.
5718 2011-11-04  Tristan Gingold  <gingold@adacore.com>
5720         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
5722 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
5724         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
5726 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
5728         * config.host (crisv32-*-none, cris-*-none): Remove.
5729         (crisv32-*-elf): Append to tmake_file, don't just set it.
5730         (cris-*-elf): Add missing t-fdpbit to tmake_file.
5732 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5734         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
5735         (ecrtn$(objext)): Likewise.
5736         (ncrti$(objext)): Likewise.
5737         (ncrtn$(objext)): Likewise.
5739 2011-11-03  Andreas Schwab  <schwab@redhat.com>
5741         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
5743 2011-11-02  David S. Miller  <davem@davemloft.net>
5745         * configure.ac: Set host_address on sparc too.
5746         * configure: Regenerate.
5747         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
5748         based upon host_address.
5749         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
5751 2011-11-02  Jason Merrill  <jason@redhat.com>
5753         * config/rs6000/t-ppccomm: Add missing \.
5755 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5757         * gthr-single.h, gthr.h: New files.
5758         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
5759         config/gthr-vxworks.h, config/i386/gthr-win32.h,
5760         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
5761         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
5762         * config/i386/gthr-win32.c: Include "gthr-win32.h".
5763         * configure.ac (thread_header): New variable.
5764         Set it depending on target_thread_file.
5765         (gthr-default.h): Link from $thread_header.
5766         * configure: Regenerate.
5767         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
5769 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5771         * configure.ac (tm_file_): New variable.
5772         Determine from tm_file.
5773         (tm_file, tm_defines): Substitute.
5774         * configure: Regenerate.
5775         * mkheader.sh: New file.
5776         * Makefile.in (clean): Remove libgcc_tm.h.
5777         ($(objects)): Depend on libgcc_tm.h.
5778         (libgcc_tm_defines, libgcc_tm_file): New variables.
5779         (libgcc_tm.h, libgcc_tm.stamp): New targets.
5780         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
5781         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
5782         ($(extra-parts)): Depend on libgcc_tm.h.
5783         * config.host (tm_defines, tm_file): New variable.
5784         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
5785         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
5786         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
5787         (avr-*-rtems*): Likewise.
5788         (avr-*-*): Likewise.
5789         (frv-*-elf): Likewise.
5790         (frv-*-*linux*): Likewise.
5791         (h8300-*-rtems*): Likewise.
5792         (h8300-*-elf*): Likewise.
5793         (i[34567]86-*-darwin*): Likewise.
5794         (x86_64-*-darwin*): Likewise.
5795         (rx-*-elf): Likewise.
5796         (tic6x-*-uclinux): Likewise.
5797         (tic6x-*-elf): Likewise.
5798         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
5799         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
5800         * config/i386/cygming-crtbegin.c: Likewise.
5801         * config/i386/cygming-crtend.c: Likewise.
5802         * config/ia64/fde-vms.c: Likewise.
5803         * config/ia64/unwind-ia64.c: Likewise.
5804         * config/libbid/bid_gcc_intrinsics.h: Likewise.
5805         * config/rs6000/darwin-fallback.c: Likewise.
5806         * config/stormy16/lib2funcs.c: Likewise.
5807         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
5808         * crtstuff.c: Likewise.
5809         * dfp-bit.h: Likewise.
5810         * emutls.c: Likewise.
5811         * fixed-bit.c: Likewise.
5812         * fp-bit.c: Likewise.
5813         * generic-morestack-thread.c: Likewise.
5814         * generic-morestack.c: Likewise.
5815         * libgcc2.c: Likewise.
5816         * libgcov.c: Likewise.
5817         * unwind-dw2-fde-dip.c: Likewise.
5818         * unwind-dw2-fde.c: Likewise.
5819         * unwind-dw2.c: Likewise.
5820         * unwind-sjlj.c: Likewise.
5822 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5824         * configure.ac: Include ../config/picflag.m4.
5825         (GCC_PICFLAG): Call it.
5826         Substitute.
5827         * configure: Regenerate.
5828         * Makefile.in (gcc_srcdir): Remove.
5829         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
5830         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
5831         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
5832         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
5833         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
5834         Use $<.
5835         Remove comment.
5836         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
5837         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
5838         to refer to libgcc2.c.
5839         Use $<.
5840         * config/darwin-64.c: New file.
5841         * config/darwin-crt3.c: Remove comment.
5842         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
5843         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
5844         config/udivmodsi4.c: New files.
5845         * config/memcmp.c, config/memcpy.c, config/memmove.c,
5846         config/memset.c: New files.
5847         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
5848         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
5849         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
5850         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
5851         * config/t-openbsd-thread: New file.
5852         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
5853         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
5854         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
5855         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
5856         qrnnd.S.
5857         Adapt filename.
5858         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
5859         to refer to gthr-posix.c.
5860         * config/alpha/t-vms (LIB2ADD): Set.
5861         * config/alpha/vms-gcc_shell_handler.c: New file.
5862         * config/arm/bpabi.c, config/arm/fp16.c,
5863         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
5864         config/arm/unaligned-funcs.c: New files.
5865         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
5866         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
5867         * config/arm/t-linux: Likewise.
5868         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
5869         * config/arm/t-netbsd: New file.
5870         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
5871         * config/arm/t-symbian (LIB2ADD_ST): Set.
5872         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
5873         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5874         * config/bfin/t-elf: New file.
5875         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
5876         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
5877         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
5878         config/c6x/ltf.c: New files.
5879         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
5880         (HOST_LIBGCC2_CFLAGS): Set.
5881         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
5882         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5883         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
5884         New files.
5885         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
5886         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
5887         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
5888         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
5889         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
5890         files.
5891         * config/frv/t-frv (LIB2ADD): Set.
5892         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5893         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
5894         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
5895         config/h8300/popcounthi2.c: New files.
5896         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
5897         * config/i386/gthr-win32.c: New file.
5898         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
5899         * config/i386/t-cygwin: Likewise.
5900         * config/i386/t-darwin, config/i386/t-darwin64,
5901         config/i386/t-gthr-win32, config/i386/t-interix: New files.
5902         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
5903         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5904         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5905         * config/ia64/quadlib.c: New file.
5906         * config/ia64/t-hpux (LIB2ADD): Set.
5907         * config/ia64/t-ia64: Add comment.
5908         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
5909         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5910         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
5911         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
5912         * config/m32c/t-m32c (LIB2ADD): Set.
5913         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
5914         * config/m32r/t-m32r: Likewise.
5915         * config/m68k/fpgnulib.c: New file.
5916         * config/m68k/t-floatlib (LIB2ADD): Set.
5917         (xfgnulib.c): New target.
5918         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
5919         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
5920         * config/mep/t-mep (LIB2ADD): Set.
5921         * config/microblaze/divsi3.asm: Rename to divsi3.S.
5922         * config/microblaze/moddi3.asm: Rename to moddi3.S.
5923         * config/microblaze/modsi3.asm: Rename to modsi3.S.
5924         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
5925         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
5926         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
5927         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
5928         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
5929         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
5930         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
5931         New files.
5932         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
5933         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
5934         * config/pa/fptr.c, config/pa/lib2funcs.S,
5935         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
5936         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
5937         (LIB2ADD, LIB2ADD_ST): Set.
5938         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
5939         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
5940         Set.
5941         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
5942         * config/pdp11/t-pdp11: New file.
5943         * config/picochip/libgccExtras/adddi3.S,
5944         config/picochip/libgccExtras/ashlsi3.S,
5945         config/picochip/libgccExtras/ashrsi3.S,
5946         config/picochip/libgccExtras/clzsi2.S,
5947         config/picochip/libgccExtras/cmpsi2.S,
5948         config/picochip/libgccExtras/divmod15.S,
5949         config/picochip/libgccExtras/divmodhi4.S,
5950         config/picochip/libgccExtras/divmodsi4.S,
5951         config/picochip/libgccExtras/lshrsi3.S,
5952         config/picochip/libgccExtras/parityhi2.S,
5953         config/picochip/libgccExtras/popcounthi2.S,
5954         config/picochip/libgccExtras/subdi3.S,
5955         config/picochip/libgccExtras/ucmpsi2.S,
5956         config/picochip/libgccExtras/udivmodhi4.S,
5957         config/picochip/libgccExtras/udivmodsi4.S: New files.
5958         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
5959         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
5960         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
5961         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
5962         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
5963         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
5964         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
5965         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
5966         files.
5967         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
5968         (HOST_LIBGCC2_CFLAGS): Set.
5969         * config/rs6000/t-darwin64: New file.
5970         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
5971         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
5972         * config/rs6000/t-ppccomm (LIB2ADD): Add
5973         $(srcdir)/config/rs6000/tramp.S.
5974         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
5975         Add  $(srcdir)/config/rs6000/eabi.S.
5976         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
5977         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
5978         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
5979         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
5980         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
5981         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
5982         * config/rs6000/tramp.S: New file.
5983         * config/s390/t-tpf: Remove.
5984         * config/sh/linux-atomic.S: New file.
5985         * config/sh/t-linux (LIB2ADD): Set.
5986         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
5987         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
5988         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
5989         to unwind-dw2.c.
5990         (HOST_LIBGCC2_CFLAGS): Set.
5991         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5992         * config/spu/divmodti4.c, config/spu/divv2df3.c,
5993         config/spu/float_disf.c, config/spu/float_unsdidf.c,
5994         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
5995         config/spu/mfc_multi_tag_release.c,
5996         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
5997         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
5998         config/spu/multi3.c: New files.
5999         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
6000         (HOST_LIBGCC2_CFLAGS): Set.
6001         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
6002         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
6003         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
6004         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
6005         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
6006         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
6007         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
6008         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
6009         config/stormy16/umodsi3.c: New files.
6010         * config/xtensa/lib2funcs.S: New file.
6011         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6012         * config/xtensa/t-xtensa (LIB2ADD): Set.
6013         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
6014         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
6015         Add t-freebsd-thread to tmake_file for posix threads.
6016         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
6017         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
6018         (*-*-lynxos*): Likewise.
6019         (*-*-netbsd*): Likewise.
6020         (*-*-openbsd*): Likewise.
6021         Add t-openbsd-thread to tmake_file for posix threads.
6022         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
6023         (*-*-vxworks*): Set tmake_file.
6024         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6025         (alpha*-*-freebsd*): Likewise.
6026         (alpha*-*-netbsd*): Likewise.
6027         (alpha*-*-openbsd*): Likewise.
6028         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
6029         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6030         (alpha*-dec-*vms*): Likewise.
6031         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
6032         (bfin*-elf*): Add bfin/t-elf to tmake_file.
6033         (bfin*-uclinux*): Likewise.
6034         (bfin*-linux-uclibc*): Likewise.
6035         (crisv32-*-elf): Add cris/t-cris to tmake_file.
6036         (crisv32-*-none): Likewise.
6037         (cris-*-elf): Likewise.
6038         (cris-*-none): Likewise.
6039         (cris-*-linux*, crisv32-*-linux*): Likewise.
6040         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
6041         tmake_file.
6042         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
6043         tmake_file.
6044         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
6045         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
6046         (x86_64-*-elf*): Likewise.
6047         (i[34567]86-*-nto-qnx*): Likewise.
6048         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
6049         win32 threads.
6050         (x86_64-*-mingw*): Likewise.
6051         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
6052         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
6053         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6054         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6055         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
6056         tmake_file.
6057         (mipsisa64sr71k-*-elf*): Likewise.
6058         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6059         (mips-*-elf*, mipsel-*-elf*): Likewise.
6060         (mips64-*-elf*, mips64el-*-elf*): Likewise.
6061         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6062         (mips*-*-rtems*): Likewise.
6063         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
6064         to tmake_file.
6065         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
6066         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
6067         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
6068         (spu-*-elf*): Likewise.
6069         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
6071 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6073         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
6074         $(srcdir) to refer to $(LIB1ASMSRC).
6075         Use $<.
6076         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
6077         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
6078         config/arm/lib1funcs.S: New files.
6079         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
6080         * config/arm/t-arm: New file.
6081         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
6082         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
6083         config/arm/t-strongarm-elf: New files.
6084         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
6085         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
6086         * config/avr/lib1funcs.S: New file.
6087         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6088         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
6089         * config/c6x/lib1funcs.S: New file.
6090         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6091         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
6092         * config/frv/lib1funcs.S: New file.
6093         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6094         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
6095         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
6096         * config/ia64/__divxf3.asm: Rename to ...
6097         * config/ia64/__divxf3.S: ... this.
6098         Adapt lib1funcs.asm filename.
6099         * config/ia64/_fixtfdi.asm: Rename to ...
6100         * config/ia64/_fixtfdi.S: ... this.
6101         Adapt lib1funcs.asm filename.
6102         * config/ia64/_fixunstfdi.asm: Rename to ...
6103         * config/ia64/_fixunstfdi.S: ... this.
6104         Adapt lib1funcs.asm filename.
6105         * config/ia64/_floatditf.asm: Rename to ...
6106         * config/ia64/_floatditf.S: ... this.
6107         Adapt lib1funcs.asm filename.
6108         * config/ia64/lib1funcs.S: New file.
6109         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
6110         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6111         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
6112         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
6113         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
6114         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
6115         * config/mep/lib1funcs.S: New file.
6116         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6117         * config/mips/mips16.S: New file.
6118         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6119         * config/pa/milli64.S: New file.
6120         * config/pa/t-linux, config/pa/t-linux64: New files.
6121         * config/picochip/lib1funcs.S: New file.
6122         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6123         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
6124         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
6125         * config/sh/t-netbsd: New file.
6126         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
6127         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
6128         * config/sh/t-sh64: New file.
6129         * config/sparc/lb1spc.S: New file.
6130         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
6131         filename.
6132         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
6133         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
6134         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
6135         config/xtensa/lib1funcs.S: New files.
6136         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6137         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
6138         tmake_file.
6139         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
6140         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
6141         (arm*-*-linux*): Likewise.
6142         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
6143         arm*-*-linux-*eabi, add arm/t-linux otherwise.
6144         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
6145         (arm*-*-ecos-elf): Likewise.
6146         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6147         (arm*-*-rtems*): Likewise.
6148         (arm*-*-elf): Likewise.
6149         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
6150         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
6151         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
6152         (bfin*-uclinux*): Likewise.
6153         (bfin*-linux-uclibc*): Likewise.
6154         (bfin*-rtems*): Likewise.
6155         (bfin*-*): Likewise.
6156         (fido-*-elf): Merge into m68k-*-elf*.
6157         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
6158         (frv-*-*linux*): Add frv/t-frv to tmake_file.
6159         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
6160         (h8300-*-elf*): Likewise.
6161         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
6162         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
6163         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
6164         (i[34567]86-*-mingw*): Likewise.
6165         (x86_64-*-mingw*): Likewise.
6166         (i[34567]86-*-interix3*): Likewise.
6167         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
6168         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
6169         (m68k-*-elf*): Also handle fido-*-elf.
6170         Add m68k/t-floatlib to tmake_file.
6171         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
6172         (m68k-*-linux*): Likewise.
6173         (m68k-*-rtems*): Likewise.
6174         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
6175         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
6176         sh64*-*-*.
6177         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
6178         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
6179         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
6180         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
6181         sh/t-netbsd to tmake_file.
6182         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
6183         (sh-*-rtems*): Add sh/t-sh to tmake_file.
6184         (sh-wrs-vxworks): Likewise.
6185         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
6186         *-leon[3-9]*.
6187         (v850*-*-*): Add v850/t-v850 to tmake_file.
6188         (vax-*-linux*): Add vax/t-linux to tmake_file.
6189         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
6191 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6193         * crtstuff.c: New file.
6194         * Makefile.in (CRTSTUFF_CFLAGS): Define.
6195         (CRTSTUFF_T_CFLAGS): Define.
6196         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
6197         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
6198         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
6199         crtstuff.c.
6200         Use $<.
6201         (crtbeginT.o): Use $(objext).
6202         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
6203         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
6204         (gcc-extra-parts): Remove.
6205         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
6206         Set extra_parts.
6207         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6208         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
6209         Add t-crtstuff-pic to tmake_file.
6210         (*-*-lynxos*): New case.
6211         Set tmake_file, extra_parts.
6212         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
6213         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
6214         *-*-netbsdelf[2-9]*.
6215         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
6216         (*-*-rtems*): Set extra_parts.
6217         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
6218         (*-*-uclinux*): New case.
6219         Set extra_parts.
6220         (*-*-vms*): New case.
6221         Set tmake_file, extra_parts.
6222         (*-*-elf): Set extra_parts.
6223         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
6224         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
6225         vms/t-vms64.
6226         Set extra_parts.
6227         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
6228         Set extra_parts.
6229         (arm*-*-freebsd*): Add t-crtin to tmake_file.
6230         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
6231         (arm-wrs-vxworks): Append to tmake_file.
6232         Set extra_parts.
6233         (arm*-*-uclinux*): Set extra_parts.
6234         (arm*-*-ecos-elf): Likewise.
6235         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
6236         arm*-*-eabi*.
6237         (arm*-*-rtems*): Set extra_parts.
6238         (arm*-*-elf): Likewise.
6239         (avr-*-rtems*): Clear extra_parts.
6240         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
6241         Set extra_parts.
6242         (bfin*-uclinux*): Likewise.
6243         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
6244         (bfin*-rtems*): Append to tmake_file.
6245         Set extra_parts.
6246         (bfin*-*): Likewise.
6247         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
6248         (crisv32-*-elf): ... this.
6249         (crisv32-*-none): ... this.
6250         (cris-*-elf, cris-*-none): New cases.
6251         Add cris/t-elfmulti to tmake_file.
6252         (fr30-*-elf): Append to tmake_file.
6253         Set extra_parts.
6254         (frv-*-elf): Append to tmake_file, add frv/t-frv.
6255         Set extra_parts.
6256         (h8300-*-rtems*): Append to tmake_file.
6257         Set extra_parts.
6258         (h8300-*-elf*): Likewise.
6259         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
6260         Set extra_parts.
6261         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
6262         Set extra_parts.
6263         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
6264         (x86_64-*-elf*): Likewise.
6265         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
6266         (x86_64-*-freebsd*): Likewise.
6267         (x86_64-*-netbsd*): Likewise.
6268         (i[34567]86-*-linux*): Likewise.
6269         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
6270         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
6271         (x86_64-*-linux*): Likewise.
6272         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
6273         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
6274         tmake_file.
6275         Set extra_parts.
6276         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
6277         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
6278         Append to extra_parts, remove crtbegin.o, crtend.o.
6279         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
6280         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
6281         crtend.o, crtbeginS.o, crtendS.o.
6282         (ia64*-*-linux*): Comment extra_parts.
6283         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
6284         Set extra_parts.
6285         (iq2000*-*-elf*): Clear extra_parts.
6286         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
6287         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
6288         (m32r-*-elf*, m32r-*-rtems*): Split off ...
6289         (m32r-*-rtems*): ... this.
6290         Add m32r/t-m32r to tmake_file.
6291         (m68k-*-elf*): Add t-crtin to tmake_file.
6292         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
6293         (mcore-*-elf): Likewise.
6294         (microblaze*-*-*): Set extra_parts.
6295         (mips*-sde-elf*): New case.
6296         Set tmake_file, extra_parts.
6297         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6298         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6299         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
6300         tmake_file.
6301         Set extra_parts.
6302         (mipsisa64sr71k-*-elf*): Likewise.
6303         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6304         (mips-*-elf*, mipsel-*-elf*): Likewise.
6305         (mips64-*-elf*, mips64el-*-elf*): Likewise.
6306         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
6307         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
6308         (mips*-*-rtems*): Likewise.
6309         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
6310         (moxie-*-*): Split into ...
6311         (moxie-*-elf, moxie-*-uclinux*): ... this.
6312         Add to extra_parts, remove crtbegin.o, crtend.o.
6313         (moxie-*-rtems*): New case.
6314         Set tmake_file.
6315         Clear extra_parts.
6316         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
6317         Set extra_parts.
6318         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6319         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
6320         tmake_file.
6321         Set extra_parts.
6322         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
6323         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
6324         Set extra_parts.
6325         (powerpc-*-eabisim*): Likewise.
6326         (powerpc-*-elf*): Likewise.
6327         (powerpc-*-eabialtivec*): Likewise.
6328         (powerpc-xilinx-eabi*): Likewise.
6329         (powerpc-*-eabi*): Likewise.
6330         (powerpc-*-rtems*): Likewise.
6331         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
6332         tmake_file.
6333         Set extra_parts.
6334         (powerpc-*-lynxos*): Add to tmake_file.
6335         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
6336         rs6000/t-crtstuff, t-crtstuff-pic.
6337         Set extra_parts.
6338         (powerpcle-*-eabisim*): Likewise.
6339         (powerpcle-*-eabi*): Likewise.
6340         (rx-*-elf): Remove extra_parts.
6341         (s390x-ibm-tpf*): Set extra_parts.
6342         (score-*-elf): Set extra_parts.
6343         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6344         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6345         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6346         (sh64l*-*-netbsd*): Split into ...
6347         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
6348         Add t-crtstuff-pic to tmake_file.
6349         Set extra_parts.
6350         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
6351         Set extra_parts.
6352         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
6353         (sparc-*-elf*): Remove t-crtin from tmake_file.
6354         Add to extra_parts, remove crtbegin.o, crtend.o.
6355         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
6356         (sparc64-*-linux*): Likewise.
6357         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
6358         Add to extra_parts, remove crtbegin.o, crtend.o.
6359         (sparc64-*-elf*): Remove t-crtin from tmake_file.
6360         Add to extra_parts, remove crtbegin.o, crtend.o.
6361         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
6362         Add to extra_parts, remove crtbegin.o, crtend.o.
6363         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
6364         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
6365         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
6366         Set extra_parts.
6367         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
6368         Set extra_parts.
6369         (tic6x-*-*): Change to ...
6370         (tic6x-*-elf): ... this.
6371         Set extra_parts.
6372         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
6373         Set extra_parts.
6374         (am33_2.0-*-linux*): Add comment.
6375         (mep*-*-*): Add mep/t-mep to tmake_file.
6376         Set extra_parts.
6377         * config/alpha/t-vms: New file.
6378         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
6379         * config/arm/crti.S, config/arm/crtn.S: New files.
6380         * config/bfin/crti.S, config/bfin/crtn.S: New files.
6381         * config/bfin/crtlibid.S: New file.
6382         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
6383         * config/c6x/crti.S, config/c6x/crtn.S: New files.
6384         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
6385         (crti.o, crtin.o): New rules.
6386         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6387         * config/c6x/t-uclinux: New file.
6388         * config/cris/t-elfmulti: New file.
6389         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
6390         * config/fr30/crti.S, config/fr30/crtn.S: New files.
6391         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
6392         * config/frv/t-frv: New file.
6393         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
6394         * config/h8300/crti.S, config/h8300/crtn.S: New files.
6395         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
6396         New files.
6397         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
6398         refer to cygming-crtbegin.c, cygming-crtend.c.
6399         Use $<.
6400         * config/i386/t-nto: New file.
6401         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
6402         * config/ia64/crti.S, config/ia64/crtn.S: New files.
6403         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
6404         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
6405         Use .S extension.
6406         Use $<.
6407         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6408         (crtinitS.o): New rule.
6409         * config/ia64/vms-crtinit.S: New file.
6410         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
6411         * config/m32r/initfini.c: New file.
6412         * config/m32r/t-linux, config/m32r/t-m32r: New files.
6413         * config/m68k/crti.S, config/m68k/crtn.S: New files.
6414         * config/mcore/crti.S, config/mcore/crtn.S: New files.
6415         * config/mep/t-mep: New file.
6416         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
6417         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
6418         * config/mips/crti.S, config/mips/crtn.S: New files.
6419         * config/mips/t-crtstuff: New file.
6420         * config/mmix/crti.S, config/mmix/crtn.S: New files.
6421         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
6422         (CUSTOM_CRTIN): Set.
6423         ($(T)crti.o, $(T)crtn.o): Remove $(T),
6424         dependencies.
6425         Use $(srcdir) to refer to crti.S, crtn.S.
6426         Use .S extension, $<.
6427         * config/moxie/crti.asm: Rename to ...
6428         * config/moxie/crti.S: ... this.
6429         * config/moxie/crtn.asm: Rename to ...
6430         * config/moxie/crtn.S: ... this.
6431         * config/moxie/t-moxie: Remove.
6432         * config/pa/stublib.c: New file.
6433         * config/pa/t-stublib, config/pa/t-stublib64: New files.
6434         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
6435         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
6436         * config/rs6000/t-crtstuff: New file.
6437         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
6438         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
6439         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
6440         Make output file explicit.
6441         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
6442         Make output file explicit.
6443         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
6444         Make output file explicit.
6445         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
6446         Make output file explicit.
6447         * config/score/crti.S, config/score/crtn.S: New files.
6448         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
6449         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
6450         files.
6451         * config/sh/t-sh, config/sh/t-superh: New files.
6452         * config/sparc/t-linux64: New file.
6453         * config/spu/cache.S, config/spu/cachemgr.c: New files.
6454         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
6455         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
6456         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
6457         * config/t-crtin: Remove.
6458         * config/t-crtstuff-pic: New file.
6459         * config/t-sol2 (CUSTOM_CRTIN): Set.
6460         (crti.o, crtn.o): New rules.
6461         * config/vms/t-vms: New file.
6462         * config/vms/vms-ucrt0.c: New file.
6463         * config/xtensa/t-elf: New file.
6465 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6467         * Makefile.in (SHLIB_NM_FLAGS): Set.
6468         * mkmap-flat.awk, mkmap-symver.awk: New files.
6469         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
6470         exceptions.
6471         * configure: Regenerate.
6472         * config/libgcc-glibc.ver: New file.
6473         * config/libgcc-libsystem.ver: New file.
6474         * config/t-libunwind (SHLIB_LC): Set.
6475         * config/t-linux: New file.
6476         * config/t-slibgcc (INSTALL_SHLIB): New.
6477         (SHLIB_INSTALL): Use it.
6478         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
6479         to mkmap-symver.awk.
6480         (SHLIB_MAPFILES): Don't append, adapt pathname.
6481         (SHLIB_VERPFX): Set.
6482         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
6483         to mkmap-symver.awk.
6484         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
6485         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
6486         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
6487         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
6488         to mkmap-flat.awk.
6489         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
6490         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
6491         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
6492         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
6493         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
6494         * config/i386/libgcc-darwin.10.4.ver,
6495         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
6496         New files.
6497         * config/i386/t-darwin: Remove.
6498         * config/i386/t-darwin64: Likewise.
6499         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
6500         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
6501         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
6502         * config/i386/t-linux: New file.
6503         * config/i386/t-mingw32: New file.
6504         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
6505         * config/ia64/t-glibc: Rename to ...
6506         * config/ia64/t-linux: ... this.
6507         (SHLIB_MAPFILES): Set.
6508         * config/ia64/t-glibc-libunwind: Rename to ...
6509         * config/ia64/t-linux-libunwind: ... this.
6510         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
6511         * config/ia64/t-slibgcc-hpux: New file.
6512         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
6513         * config/m68k/t-slibgcc-elf-ver: New file.
6514         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
6515         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
6516         to mkmap-flat.awk.
6517         * config/pa/t-slibgcc-hpux: New file.
6518         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
6519         files.
6520         * config/rs6000/libgcc-darwin.10.4.ver,
6521         config/rs6000/libgcc-darwin.10.5.ver: New files.
6522         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
6523         config/rs6000/libgcc-glibc.ver.
6524         * config/rs6000/libgcc-ppc64.ver: Rename to
6525         config/rs6000/libgcc-ibm-ldouble.ver.
6526         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
6527         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
6528         * config/rs6000/t-ldbl128: Rename to ...
6529         * config/rs6000/t-linux: ... this.
6530         (SHLIB_MAPFILES): Adapt filename.
6531         * config/rs6000/t-slibgcc-aix: New file.
6532         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
6533         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
6534         libgcc-excl.ver, libgcc-glibc.ver.
6535         (SHLIB_LINK, SHLIB_INSTALL): Remove.
6536         * config/sparc/libgcc-glibc.ver: New file.
6537         * config/sparc/t-linux: New file.
6538         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
6539         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
6540         t-slibgcc-elf-ver to tmake_file.
6541         Add t-slibgcc-nolc-override to tmake_file for posix threads on
6542         *-*-freebsd[34].
6543         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6544         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
6545         t-slibgcc-elf-ver, t-linux to tmake_file.
6546         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
6547         tmake_file.
6548         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
6549         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
6550         (alpha*-dec-*vms*): Likewise.
6551         (arm*-*-freebsd*): Append to tmake_file.
6552         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
6553         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
6554         arm*-*-linux-*eabi.
6555         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
6556         tmake_file for arm*-*-symbianelf*.
6557         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
6558         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
6559         cris/t-linux.
6560         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
6561         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
6562         pa/t-slibgcc-dwarf-ver to tmake_file.
6563         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
6564         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
6565         (hppa*64*-*-hpux11*): Likewise.
6566         (hppa[12]*-*-hpux11*): Likewise.
6567         (x86_64-*-darwin*): Don't override tmake_file, but only keep
6568         i386/t-crtpc, i386/t-crtfm.
6569         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
6570         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6571         to tmake_file.
6572         Add i386/t-cygwin to tmake_file.
6573         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
6574         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
6575         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6576         to tmake_file.
6577         Add i386/t-mingw32 to tmake_file.
6578         (x86_64-*-mingw*): Likewise.
6579         (ia64*-*-freebsd*): Append to tmake_file.
6580         (ia64*-*-linux*): Append to tmake_file.
6581         Replace ia64/t-glibc by ia64/t-linux.
6582         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
6583         system libunwind.
6584         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
6585         t-slibgcc-hpux to tmake_file.
6586         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
6587         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
6588         (m32rle-*-linux*): Likewise.
6589         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
6590         sjlj exceptions.
6591         (microblaze*-linux*): New case.
6592         Append to tmake_file, add t-slibgcc-nolc-override.
6593         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
6594         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6595         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
6596         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6597         rs6000/t-slibgcc-aix to tmake_file.
6598         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6599         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6600         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6601         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6602         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6603         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
6604         sh*-*-linux*.
6605         (sparc-*-linux*): Append to tmake_file for *-leon*.
6606         Add sparc/t-linux to tmake_file for non-Leon targets.
6607         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
6608         (tic6x-*-uclinux): New case.
6609         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
6610         (tic6x-*-*): Add c6x/t-elf to tmake_file.
6611         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
6612         (am33_2.0-*-linux*): Append to tmake_file.
6613         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6614         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
6615         x86_64-*-kfreebsd*-gnu.
6616         Add i386/t-linux to tmake_file.
6618 2011-10-28  Ian Lance Taylor  <iant@google.com>
6620         * config/i386/morestack.S: Correct CFI information to do proper
6621         returns throughout function.  In 32-bit mode, save %ebx so that it
6622         is restored on unwind.
6624 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
6626         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
6627         case where B3 isn't the return register.
6629         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
6630         logic for doubleword pops.
6632 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
6634         * config/rs6000/t-freebsd: Add wildcard.
6636 2011-10-21  Paul Brook  <paul@codesourcery.com>
6638         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
6640 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
6641             Eric Botcazou  <ebotcazou@adacore.com>
6643         PR target/50737
6644         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
6645         fs->signal_frame to 1.
6647 2011-10-07  Ian Lance Taylor  <iant@google.com>
6649         * generic-morestack-thread.c: #include <errno.h>.
6651 2011-10-07  Ian Lance Taylor  <iant@google.com>
6653         PR target/46093
6654         * generic-morestack.c (__generic_morestack): Make sure the segment
6655         is large enough for both the stack frame and the copied
6656         parameters.
6658 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6660         PR bootstrap/49804
6661         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
6662         extra_parts.
6664 2011-09-28  Nick Clifton  <nickc@redhat.com>
6666         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
6667         64-bit doubles are not enabled.
6668         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
6669         and floatunsisf functions.
6671 2011-09-13  Paul Brook  <paul@codesourcery.com>
6673         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
6674         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
6675         * unwind-arm-common.inc: New file.
6676         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
6677         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
6678         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
6679         * config/c6x/libunwind.S: New file.
6680         * config/c6x/pr-support.c: New file.
6681         * config/c6x/unwind-c6x.c: New file.
6682         * config/c6x/unwind-c6x.h: New file.
6683         * config/c6x/t-c6x-elf: New file.
6685 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
6687         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
6688         (ASM_DIVZERO): Ditto.
6689         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
6691 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
6693         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
6695 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
6697         PR target/50090
6698         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
6699         instead of an assembly one.
6701 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
6703         PR bootstrap/50047
6704         * Makefile.in (install-unwind_h): Create
6705         $(gcc_objdir)/include/unwind.h atomically.
6707 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6709         * Makefile.in (install-unwind_h): Remove destination file first.
6711 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6713         * sync.c: New file.
6714         * config/mips/t-mips16: New file.
6715         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
6716         (mips*-*-linux*): Likewise.
6717         (mips*-sde-elf*): Likewise.
6718         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
6719         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
6720         Add mips/t-mips16 to tmake_file.
6721         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
6722         (mips-*-elf*): Likewise.
6723         (mips64-*-elf*): Likewise.
6724         (mips64orion-*-elf*): Likewise.
6725         (mips*-*-rtems*): Likewise.
6726         (mipstx39-*-elf*): Likewise.
6727         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
6728         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
6729         LIBGCC_SYNC_CFLAGS.
6730         Use $(srcdir) to refer to sync.c.
6731         Use $<.
6732         ($(libgcc-sync-funcs-o)): Likewise.
6733         ($(libgcc-sync-size-funcs-s-o)): Likewise.
6734         ($(libgcc-sync-funcs-s-o)): Likewise.
6736 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
6738         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
6739         t-libunwind.
6741 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
6743         PR other/48007
6744         * config/i386/value-unwind.h: New.
6746 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
6748         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
6749         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
6750         Add to tmake_file rather than overriding it.
6752 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6754         * config/t-softfp: Remove.
6755         * soft-fp: Moved from ../gcc/config.
6756         * soft-fp/README: Remove t-softfp reference.
6757         * soft-fp/t-softfp: Move to config/t-softfp.
6758         (softfp_machine_header): Remove.
6759         (softfp_file_list): Remove config subdir.
6760         (soft-fp-objects): New variable.
6761         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
6762         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
6763         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
6764         * config/t-softfp-excl: New file.
6765         * config/t-softfp-sfdf: New file.
6766         * config/t-softfp-tf: New file.
6767         * config/no-sfp-machine.h: New file.
6768         * config/arm/sfp-machine.h: New file.
6769         * config/arm/t-softfp: New file.
6770         * config/c6x/sfp-machine.h: New file.
6771         * config/i386/32/t-fprules-softfp: Rename to ...
6772         * config/i386/32/t-softfp: ... this.
6773         (tifunctions, LIB2ADD): Remove.
6774         (softfp_int_modes): Override.
6775         * config/i386/64/t-softfp-compat (tf-functions): Remove config
6776         subdir.
6777         * config/i386/64/eqtf2.c: Likewise.
6778         * config/i386/64/getf2.c: Likewise.
6779         * config/i386/64/letf2.c: Likewise.
6780         * config/ia64/sft-machine.h: New file.
6781         * config/ia64/t-fprules-softfp: Rename to ...
6782         * config/ia64/t-softfp: ... this.
6783         * config/lm32/sfp-machine.h: New file.
6784         * config/moxie/t-moxie-softfp: Remove.
6785         * config/rs6000/ibm-ldouble-format: New file.
6786         * config/rs6000/ibm-ldouble.c: New file.
6787         * config/rs6000/libgcc-ppc-glibc.ver: New file
6788         * config/rs6000/libgcc-ppc64.ver: New file
6789         * config/rs6000/sfp-machine.h: New file.
6790         * config/rs6000/t-freebsd: New file.
6791         * config/rs6000/t-ibm-ldouble: New file.
6792         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
6793         libgcc-ppc-glibc.ver.
6794         * config/rs6000/t-linux64: New file.
6795         * config/rs6000/t-ppccomm (LIB2ADD): Add
6796         $(srcdir)/config/rs6000/ibm-ldouble.c.
6797         * config/rs6000/t-ppccomm-ldbl: New file.
6798         * config/score/sfp-machine.h: New file.
6799         * config.host (sfp_machine_header): Explain.
6800         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
6801         t-softfp to tmake_file.
6802         (arm*-*-uclinux*): Likewise.
6803         (arm*-*-ecos-elf): Likewise.
6804         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6805         (arm*-*-rtems*): Likewise.
6806         (arm*-*-elf): Likewise.
6807         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
6808         in tmake_file.
6809         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
6810         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
6811         (lm32-*-uclinux*): Likewise.
6812         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
6813         t-softfp-excl, t-softfp.
6814         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
6815         (powerpc64-*-darwin*): Likewise.
6816         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
6817         to tmake_file.
6818         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
6819         tmake_file.
6820         (powerpc-*-eabisim*): Likewise.
6821         (powerpc-*-elf*): Likewise.
6822         (powerpc-*-eabialtivec*): Likewise.
6823         (powerpc-xilinx-eabi*): Likewise.
6824         (powerpc-*-rtems*): Likewise.
6825         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
6826         t-softfp-excl, t-softfp to tmake_file.
6827         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
6828         rs6000/t-ppccomm-ldbl to tmake_file.
6829         (powerpcle-*-elf*): Likewise.
6830         (powerpcle-*-eabisim*): Likewise.
6831         (powerpcle-*-eabi*): Likewise.
6832         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6833         rs6000/t-ibm-ldouble to tmake_file.
6834         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6835         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6836         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
6837         (tic6x-*-*): Likewise.
6838         (i[34567]86-*-darwin*, x86_64-*-darwin*,
6839         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
6840         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
6841         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
6842         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
6843         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
6844         t-softfp to tmake_file.
6845         * configure.ac (sfp_machine_header): Provide default if unset.
6846         Substitute.
6847         Link sfp-machine.h to config/$sfp_machine_header.
6848         * configure: Regenerate.
6850 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6852         * Makefile.in (double_type_size, long_double_type_size): Set.
6853         Remove $(fpbit-in-libgcc) support.
6854         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
6855         (fpbit-src): New variable.
6856         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
6857         Compile with -DFLOAT $(FPBIT_CFLAGS).
6858         Use $<.
6859         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
6860         Compile with $(FPBIT_CFLAGS).
6861         Use $<.
6862         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
6863         Compile with -DFLOAT $(TPBIT_CFLAGS).
6864         Use $<.
6865         * configure.ac (double_type_size, long_double_type_size):
6866         Determine and substitute.
6867         * configure: Regenerate.
6868         * fp-bit.c, fp-bit.h: New files.
6869         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
6870         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
6871         * config/mips/t-mips: New file.
6872         * config/mips/t-sdemtk: New file.
6873         * config/rs6000/ppc64-fp.c: New file.
6874         * config/rs6000/t-darwin (LIB2ADD): Add
6875         $(srcdir)/config/rs6000/ppc64-fp.c.
6876         * config/rs6000/t-ppc64-fp: New file.
6877         * config/rx/rx-lib.h: New file.
6878         * config/rx/t-rx (FPBIT): Set to true.
6879         ($(gcc_objdir)/fp-bit.c): Remove.
6880         (DPBIT): Set to true only with -m64bit-doubles.
6881         ($(gcc_objdir)/dp-bit.c): Remove.
6882         * config/sparc/t-softfp: Remove.
6883         * config/spu/t-elf: New file.
6884         * config/t-fdpbit, config/t-fpbit: New files.
6885         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
6886         (mips*-*-*): Likewise.
6887         (arm-wrs-vxworks): Likewise.
6888         (arm*-*-freebsd*): Likewise.
6889         (avr-*-rtems*): Add t-fpbit to tmake_file.
6890         (avr-*-*): Likewise.
6891         (bfin*-elf*): Add t-fdpbit to tmake_file.
6892         (bfin*-uclinux*): Likewise.
6893         (bfin*-linux-uclibc*): Likewise.
6894         (bfin*-rtems*): New case.
6895         Add t-fdpbit to tmake_file.
6896         (bfin*-*): Add t-fdpbit to tmake_file.
6897         (crisv32-*-elf): Likewise.
6898         (cris-*-linux*): Likewise.
6899         (fr30-*-elf): Likewise.
6900         (frv-*-elf, frv-*-*linux*): Likewise.
6901         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
6902         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
6903         (m32r-*-elf*): Likewise.
6904         (m32rle-*-elf*): Likewise.
6905         (m32r-*-linux*): Likewise.
6906         (m32rle-*-linux*): Likewise.
6907         (mcore-*-elf): Add t-fdpbit to tmake_file.
6908         (microblaze*-*-*): Likewise.
6909         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
6910         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
6911         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
6912         Fix typo.
6913         Add mips/t-tpbit to tmake-file.
6914         (mips*-*-linux*): Fix typo.
6915         (mips*-sde-elf*): New case
6916         Add mips/t-sdemtk unless using newlib.
6917         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
6918         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
6919         (mn10300-*-*): Likewise.
6920         (pdp11-*-*): Likewise.
6921         (picochip-*-*): Add t-fpbit to tmake_file.
6922         (powerpc-*-eabisimaltivec*): Likewise.
6923         (powerpc-*-eabisim*): Likewise.
6924         (powerpc-*-elf*): Likewise.
6925         (powerpc-*-eabialtivec*): Likewise.
6926         (powerpc-xilinx-eabi*): New case.
6927         Add t-fdpbit to tmake_file.
6928         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
6929         (powerpc-*-rtems*): Likewise.
6930         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
6931         tmake_file.
6932         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
6933         tmake_file.
6934         (powerpc-*-lynxos*): Likewise.
6935         (powerpcle-*-elf*): Likewise.
6936         (powerpcle-*-eabisim*): Likewise.
6937         (powerpcle-*-eabi*): Likewise.
6938         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6939         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
6940         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6941         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6942         (rx-*-elf): Add t-fdpbit to tmake_file.
6943         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6944         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6945         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6946         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
6947         sh*-*-netbsd*.
6948         (sh-*-rtems*): Add t-fdpbit to tmake_file.
6949         (sh-wrs-vxworks): Likewise.
6950         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
6951         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
6952         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
6953         (sparc64-*-rtems*): ... new case.
6954         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
6955         (spu-*-elf*): Likewise.
6956         Add spu/t-elf to tmake_file.
6957         (v850*-*-*): Add t-fdpbit to tmake_file.
6958         (xstormy16-*-elf): Likewise.
6959         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
6960         (mep*-*-*): Likewise.
6962 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6964         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
6965         variables.
6966         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
6967         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
6968         (install-unwind_h): New target.
6969         (all): Depend on it.
6970         * config.host (unwind_header): New variable.
6971         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
6972         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6973         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
6974         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
6975         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
6976         Set unwind_header.
6977         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
6978         Set unwind_header.
6979         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
6980         arm*-*-eabi*.
6981         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
6982         Set unwind_header.
6983         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
6984         (ia64*-*-freebsd*): Likewise.
6985         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
6986         tmake_file.
6987         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
6988         $with_system_libunwind.
6989         (ia64*-*-hpux*): Set tmake_file.
6990         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
6991         (picochip-*-*): Set tmake_file.
6992         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
6993         md_unwind_header.
6994         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6995         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6996         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
6997         (xtensa*-*-elf*): Set tmake_file.
6998         (xtensa*-*-linux*): Likewise.
6999         * configure.ac: Include ../config/unwind_ipinfo.m4.
7000         Call GCC_CHECK_UNWIND_GETIPINFO.
7001         Link unwind.h to $unwind_header.
7002         * configure: Regenerate.
7003         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
7004         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
7005         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
7006         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
7007         * config/unwind-dw2-fde-darwin.c: New file.
7008         * config/arm/libunwind.S, config/arm/pr-support.c,
7009         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
7010         config/arm/unwind-arm.h,: New files.
7011         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
7012         config/ia64/t-eh-ia64, config/ia64/t-glibc,
7013         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
7014         config/ia64/t-vms, config/ia64/unwind-ia64.c,
7015         config/ia64/unwind-ia64.h: New files.
7016         * config/picochip/t-picochip: New file.
7017         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
7018         files.
7019         * config/rs6000/t-darwin (LIB2ADDEH): Set.
7020         * config/s390/t-tpf (LIB2ADDEH): Remove.
7021         * config/t-darwin (LIB2ADDEH): Set.
7022         * config/t-eh-dw2-dip: New file.
7023         * config/t-libunwind, config/t-libunwind-elf: New files.
7024         * config/t-sol2 (LIB2ADDEH): Remove.
7025         * config/xtensa/t-xtensa: New file.
7027 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
7029         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
7030         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
7031         long long to check rt_sigreturn syscall.
7033 2011-08-02  Alan Modra  <amodra@gmail.com>
7035         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7036         Restore for indirect call bcrtl from correct stack slot, and only
7037         if cfa+40 isn't valid.
7039 2011-08-01  Julian Brown  <julian@codesourcery.com>
7041         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
7042         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
7043         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
7045 2011-08-01  Julian Brown  <julian@codesourcery.com>
7047         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
7048         (libgcc-std.ver.in): Use above.
7049         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
7050         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
7051         throughout file.
7052         * config/t-fixedpoint-gnu-prefix: New file.
7053         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
7054         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
7055         instead of __PFX__.
7057 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
7059         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
7060         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
7061         for x86-64.  Properly check __x86_64__ and __LP64__.
7063 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
7065         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
7066         version.
7067         (_FP_WS_TYPE): Likewise.
7068         (_FP_I_TYPE): Likewise.
7070 2011-07-28  Alan Modra  <amodra@gmail.com>
7072         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7073         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
7074         in a plt call stub.  Do restore r2 if stopped on bctrl.
7076 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7078         * config.host (i[3456x]86-*-netware*): Remove.
7079         * config/i386/netware-crt0.c, config/i386/t-nwld,
7080         config/i386/t-slibgcc-nwld: Remove.
7082 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
7084         * config.host: Handle tic6x-*-*.
7085         * config/c6x/c6x-abi.h: New file.
7087 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7089         * config/i386/crtprec.c: New file.
7090         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
7091         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
7092         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
7093         (x86_64-*-darwin*): Likewise.
7094         (i[34567]86-*-solaris2*: Likewise.
7096 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7098         * config/alpha/crtfastmath.c: New file.
7099         * config/i386/crtfastmath.c: New file.
7100         * config/ia64/crtfastmath.c: New file.
7101         * config/mips/crtfastmath.c: New file.
7102         * config/sparc/crtfastmath.c: New file.
7104         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
7105         crtfastmath.c.
7106         Add -frandom-seed=gcc-crtfastmath.
7107         * config/alpha/t-crtfm: Remove.
7108         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
7109         * config/ia64/t-ia64 (crtfastmath.o): Remove.
7111         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
7112         (alpha*-dec-osf5.1*): Likewise.
7113         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
7114         Add crtfastmath.o to extra_parts.
7115         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
7116         Add crtfastmath.o to extra_parts.
7117         (x86_64-*-darwin*): Likewise.
7118         (x86_64-*-mingw*): Likewise.
7119         (ia64*-*-elf*): Add t-crtfm to tmake_file.
7120         (ia64*-*-freebsd*): Likewise.
7121         (ia64*-*-linux*): Likewise.
7122         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
7123         Add crtfastmath.o to extra_parts.
7125 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7127         * config/darwin-crt3.o: New file.
7128         * config/rs6000/darwin-crt2.c: New file.
7129         * config/t-darwin: New file.
7130         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
7131         (crt2.o): New rule.
7132         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
7133         (powerpc-*-darwin*): Add crt2.o to extra_parts.
7134         (powerpc64-*-darwin*): Likewise.
7136 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7138         * config/i386/netware-crt0.c: New file.
7139         * config/i386/t-nwld: Rename to ...
7140         * config/i386/t-slibgcc-nwld: ... this.
7141         * config/i386/t-nwld: New file.
7142         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
7143         tmake_file.
7144         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
7145         extra_parts.
7147 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7149         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
7150         i386/t-crtstuff.
7151         * configure: Regenerate.
7153 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7155         * dfp-bit.c, dfp-bit.h: New files.
7156         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
7157         variables.
7158         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
7159         ($(d64pbit-o)): Likewise.
7160         ($(d128pbit-o)): Likewise.
7161         * config/t-dfprules: New file.
7162         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
7163         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
7164         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7165         (x86_64-*-linux*): Likewise.
7166         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7167         (i[34567]86-*-cygwin*): Likewise.
7168         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
7169         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7171 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7173         * Makfile.in (LIBGCOV): New variable.
7174         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
7175         * libgcov.c: New file.
7177 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7179         * fixed-bit.c, fixed-bit.h: New files.
7180         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
7181         refer to fixed-bit.c.
7183 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
7185         * config.host (*local*): Remove.
7187 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7189         PR target/39150
7190         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
7191         like i?86-*-solaris2.1[0-9]*.
7192         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
7193         * configure.ac (i?86-*-solaris2*): Likewise.
7194         * configure: Regenerate.
7196 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
7198         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7199         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
7200         md_unwind_header by splitting out of...
7201         (i[34567]86-*-linux*): ... this.
7202         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
7203         Remove md_unwind_header by splitting out of...
7204         (x86_64-*-linux*): ... this.
7206 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
7208         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
7210 2011-06-28  Nick Clifton  <nickc@redhat.com>
7212         * config.host: Recognize all V850 variants.
7214 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
7216         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
7218 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7220         * shared-object.mk (c_flags-$o): Save c_flags.
7221         ($(base)$(objext)): Use it.
7222         ($(base)_s$(objext)): Likewise.
7224 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
7226         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
7227         * libgcc-std.ver.in (GCC_4.7.0): New section.
7229 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
7231         PR target/49313
7232         PR target/29524
7233         * config/avr/t-avr: Fix line endings.
7234         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
7235         _parityXX2.
7237 2011-06-14  Olivier Hainque  <hainque@adacore.com>
7238             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7240         * config/mips/irix6-unwind.h: New file.
7241         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
7243 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
7245         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
7246         (sparc64_fallback_frame_state): Use it.
7247         (sparc64_frob_update_context): Further adjust context.
7248         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
7249         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
7250         * config/sparc/sol2-cn.S: Likewise.
7252 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7254         * enable-execute-stack-empty.c: New file.
7255         * enable-execute-stack-mprotect.c: New file.
7256         * config/i386/enable-execute-stack-mingw32.c: New file.
7257         * config.host (enable_execute_stack): New variable.
7258         Select appropriate variants.
7259         * configure.ac: Link enable-execute-stack.c to
7260         $enable_execute_stack.
7261         * configure: Regenerate.
7262         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
7263         (lib2funcs): Remove _enable_execute_stack.
7265 2011-06-09  David S. Miller  <davem@davemloft.net>
7266             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7268         * config.host (sparc-*-linux*): Correct md_unwind_header
7269         filename.
7270         (s390x-ibm-tpf*): Fix typo.
7272 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7274         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
7275         Add crtfastmath.o to extra_parts.
7276         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
7277         mips/t-crtfm.
7278         * config/mips/t-crtfm: Remove.
7280 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7282         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
7284 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
7286         * config.host (sh*-*-linux*): Fix typo.
7288 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7290         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
7291         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
7292         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
7293         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
7294         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
7295         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
7296         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
7297         Wrap in !__MINGW64__.
7298         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
7299         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
7300         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
7301         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
7302         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
7303         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
7304         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
7305         Wrap in !__LP64__.
7306         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
7307         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
7308         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
7309         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
7310         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
7311         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
7312         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
7313         * config/no-unwind.h: New file.
7314         * config.host (md_unwind_header): Document.
7315         Define.
7316         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
7317         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
7318         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
7319         hppa[12]*-*-hpux11*): Set md_unwind_header.
7320         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
7321         Set md_unwind_header.
7322         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
7323         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
7324         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
7325         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
7326         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
7327         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
7328         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
7329         md_unwind_header.
7330         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
7331         * configure: Regenerate.
7333 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7335         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
7336         Set tmake_file, extra_parts.
7337         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
7338         Remove O32 support.
7339         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
7340         Remove O32 support.
7341         * config/mips/t-irix6: New file.
7342         * config/mips/t-slibgcc-irix: New file.
7344 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7346         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
7347         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
7349 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7351         * configure.ac (target_thread_file): Determine thread model.
7352         * configure: Regenerate.
7353         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
7354         * config/alpha/t-alpha: New file.
7355         * config/alpha/t-crtfm: Use $<.
7356         * config/alpha/t-ieee: New file.
7357         * config/alpha/t-osf-pthread: New file.
7358         * config/alpha/t-slibgcc-osf: New file.
7359         * config/alpha/libgcc-osf5.ver: New file.
7361 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7363         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
7364         tmake_file.
7365         Add crtfastmath.o to extra_parts.
7367 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7369         * config/gmon-sol2.c: Reindent.
7370         Cleanup comments.
7371         Remove, correct casts.
7372         Use STDERR_FILENO, NULL.
7373         (BASEADDRESS): Remove.
7374         (minbrk): Remove.
7375         (errno, sbrk): Remove declarations.
7376         (monstartup) [hp300]: Remove.
7377         (mcount): Remove.
7379 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7381         * Makefile.in (cpu_type): Define.
7382         * config.host (i[34567]86-*-rtems*): Handle it.
7383         (i[34567]86-*-solaris2*): Move body ...
7384         (*-*-solaris2*): ... here.
7385         New case, generalize.
7386         (sparc-*-elf*): Handle it.
7387         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
7388         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
7389         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
7390         Fold into ...
7391         (sparc*-*-solaris2*): ... this.
7392         New case.
7393         (sparc64-*-elf*): Handle it.
7394         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
7395         Merge ../gcc/config/i386/gmon-sol2.c.
7396         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
7397         Use C comments.
7398         Merge ../gcc/config/i386/sol2-gc1.asm.
7399         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
7400         Use C comments.
7401         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
7402         Use C comments.
7403         * config/i386/t-crtfm (crtfastmath.o): Use $<.
7404         * config/i386/t-crtstuff: New file.
7405         * config/i386/t-softfp: New file.
7406         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
7407         $(T)crti.o, $(T)crtn.o): Remove.
7408         (gcrt1.o): New rule.
7409         (TARGET_LIBGCC2_CFLAGS): Remove.
7410         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
7411         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
7412         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
7413         * config/sparc/t-sol2: New file.
7414         * config/sparc/t-crtfm: Move to ...
7415         * config/t-crtfm: ... this.
7416         Use $(cpu_type), $<.
7417         * config/t-crtin: New file.
7418         * config/sparc/t-softfp: New file.
7419         * config/sparc/t-softmul: New file.
7420         * config/t-rtems: New file.
7421         * config/t-slibgcc: New file.
7422         * config/t-slibgcc-elf-ver: New file.
7423         * config/t-slibgcc-gld: New file.
7424         * config/t-slibgcc-sld: New file.
7425         * config/t-sol2: New file.
7426         * configure.ac: Include ../config/lib-ld.m4.
7427         Call AC_LIB_PROG_LD_GNU.
7428         Substitute cpu_type.
7429         * configure: Regenerate.
7431 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
7433         PR bootstrap/49173
7434         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
7435         libgcc-std.ver in the build directory.
7436         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
7437         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
7439 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
7441         * libgcc-std.ver.in: New file.
7442         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
7443         variables.
7444         (libgcc-std.ver): New rule.
7445         * config/t-gnu-prefix: New file.
7447 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7449         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
7451 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
7453         * config/i386/darwin-lib.h: New file.
7455 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
7457         * config/arm/symbian-lib.h: New.
7459 2011-05-04  Chris Demetriou  <cgd@google.com>
7461         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
7462         (__x86.get_pc_thunk.bx): ...this.
7463         (__morestack): Adjust for rename, remove undef of __i686.
7465 2011-05-03  Chris Demetriou  <cgd@google.com>
7467         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
7469 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
7471         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
7472         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
7473         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
7474         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
7475         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
7476         Remove cases.
7478 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
7480         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
7481         Adjust copyright year.
7483 2011-03-07  Ian Lance Taylor  <iant@google.com>
7485         * generic-morestack.c (__splitstack_find): Adjust returned stack
7486         pointer to include all registers pushed by __morestack.
7488 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
7490         PR target/40125
7491         * configure.ac: Call ACX_NONCANONICAL_TARGET.
7492         (toolexecdir): Calculate and AC_SUBST.
7493         (toolexeclibdir): Likewise.
7494         * Makefile.in (target_noncanonical): Import.
7495         (toolexecdir): Likewise.
7496         (toolexeclibdir): Likewise.
7497         * configure: Regenerate.
7499 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
7501         PR target/46040
7502         * config/arm/bpabi.h: Rename to...
7503         * config/arm/bpabi-lib.h: ...this.
7505 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7507         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
7508         appropriate.
7509         * configure: Regenerate.
7511 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
7513         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
7514         __FLOAT_WORD_ORDER__.
7515         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
7516         Delete.
7518 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7520         PR other/46202
7521         * Makefile.in (install-strip): New phony target.
7523 2010-11-07  Ian Lance Taylor  <iant@google.com>
7525         PR target/46089
7526         * config/i386/morestack.S (__morestack_large_model): New
7527         function.
7529 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
7531         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
7532         Delete.
7533         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
7535 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
7537         * config/arm/bpabi.h: New file.
7538         * config/frv/frv-abi.h: New file.
7540 2010-10-01  Ian Lance Taylor  <iant@google.com>
7542         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
7543         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
7545 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
7547         PR target/45858
7548         * config.host: Add the missing `$'.
7550 2010-09-30  Michael Eager  <eager@eagercon.com>
7552         * config.host: Add microblaze*-*-*.
7553         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
7554         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
7555         udivsi3.asm,umodsi3.asm}:  New.
7557 2010-09-28  Ian Lance Taylor  <iant@google.com>
7559         * configure.ac: Adjust CFI test to test assembler directly rather
7560         than checking gcc preprocessor macro.
7561         * configure: Rebuild.
7563 2010-09-27  Ian Lance Taylor  <iant@google.com>
7565         * configure.ac: Test whether assembler supports CFI directives.
7566         * config.host: Only add t-stack and i386/t-stack-i386 to
7567         tmake_file if libgcc_cv_cfi is "yes".
7568         * configure: Rebuild.
7570 2010-09-27  Ian Lance Taylor  <iant@google.com>
7572         * generic-morestack.h: New file.
7573         * generic-morestack.c: New file.
7574         * generic-morestack-thread.c: New file.
7575         * config/i386/morestack.S: New file.
7576         * config/t-stack: New file.
7577         * config/i386/t-stack-i386: New file.
7578         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
7579         i386/t-stack-i386 to tmake_file.
7581 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
7583         * Makefile.in (libgcc-extra-parts):  Check for static archives and
7584         invoke ranlib after installing them.
7585         (gcc-extra-parts): Likewise.
7586         (install-leaf): Likewise.
7588 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
7590         * configure: Regenerated.
7592 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
7594         * configure: Regenerated.
7596 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
7597             Andrew Pinski  <pinskia@gmail.com>
7599         PR target/40959
7600         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
7602 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7604         PR target/45524
7605         * configure: Regenerated.
7607 2010-09-06  Andreas Schwab  <schwab@redhat.com>
7609         * configure: Regenerate.
7611 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
7613         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
7614         64bit targets.
7615         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
7616         for 64bit targets.
7618 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
7619             Iain Sandoe  <iains@gcc.gnu.org>
7621         PR target/45476
7622         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
7623         LIB2FUNCS_EXCLUDE functions.
7625 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7627         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
7628         Include dfp.m4.
7629         * configure: Regenerate.
7631 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
7633         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
7634         i386/t-freebsd to tmake_file.
7635         * config/i386/t-freebsd: New file.
7636         * config/i386/libgcc-bsd.ver: New file.
7638 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
7640         * config.host (powerpc*-eabispe*): Set tmake_file.
7641         (powerpc*-eabi*): Likewise.
7642         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
7643         crtbeginS, crtendS, crtbeginT.
7645 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
7647         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
7648         to tmake_file.  Add crtfastmath.o to extra_parts.
7649         * config/mips/t-crtfm: New.
7651 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
7653         * config.host (sparc64-*-rtems*): New target.
7655 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7657         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7658         assembler syntax.
7660 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
7662         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
7664 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7666         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
7667         alpha-dec-osf5.0* support.
7669 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
7671         * config.host: Add lm32-*-rtems*.
7673 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7674             Uros Bizjak  <ubizjak@gmail.com>
7676         PR target/39048
7677         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
7678         like other remaining 32-bit x86 OSes.
7679         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7680         assembler syntax.
7681         * config/i386/libgcc-sol2.ver: New file.
7682         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
7684 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
7686         PR c/43553
7687         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
7688         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
7689         is used and substitute set_use_emutls.
7690         * configure: Regenerated.
7692 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
7694         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
7696 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7698         PR target/38085
7699         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
7700         MULTILIB_CFLAGS.
7701         ($(T)gcrt1.o): Likewise.
7702         ($(T)crt1.o): Likewise.
7703         ($(T)crti.o): Likewise.
7704         ($(T)crtn.o): Likewise.
7706 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7708         PR other/42980
7709         * Makefile.in (install): Use $(MAKE) string in rule, for
7710         parallel make.
7712 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
7714         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
7715         * config/mmix/t-mmix: New file.
7716         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
7718 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
7720         PR java/41991
7721         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
7722         SHLIB_MAPFILES.
7724 2010-01-04  Anthony Green  <green@moxielogic.com>
7726         * config/moxie/crti.asm, config/moxie/crtn.asm,
7727         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
7728         config/moxie/t-moxie: New files.
7729         * config.host: Add t-moxie-softfp reference.
7731 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
7733         PR other/39888
7734         * config/t-slibgcc-darwin: Fix embedded rpaths for
7735         --enable-version-specific-runtime-libs, build extension stub
7736         libs exposing features available from current libgcc_s.
7738 2009-11-11  Jon Beniston  <jon@beniston.com>
7740         * config.host: Add lm32 targets.
7741         * config/lm32: New directory.
7742         * config/lm32/libgcc_lm32.h: New file.
7743         * config/lm32/_mulsi3.c: New file.
7744         * config/lm32/_udivmodsi4.c: New file.
7745         * config/lm32/_divsi3.c: New file.
7746         * config/lm32/_modsi3.c: New file.
7747         * config/lm32/_udivsi3.c: New file.
7748         * config/lm32/_umodsi3.c: New file.
7749         * config/lm32/_lshrsi3.S: New file.
7750         * config/lm32/_ashrsi3.S: New file.
7751         * config/lm32/_ashlsi3.S: New file.
7752         * config/lm32/crti.S: New file.
7753         * config/lm32/crtn.S: New file.
7754         * config/lm32/t-lm32: New file.
7755         * config/lm32/t-elf: New file.
7756         * config/lm32/t-uclinux: New file.
7758 2009-10-26  Nick Clifton  <nickc@redhat.com>
7760         * config.host: Add support for RX target.
7761         * config/rx: New directory.
7762         * config/rx/rx-abi-functions.c: New file. Supplementary
7763         functions for libgcc to support the RX ABI.
7764         * config/rx/rx-abi.h: New file.  Supplementary header file for
7765         libgcc RX ABI functions.
7766         * config/rx/t-rx: New file: Makefile fragment for building
7767         libgcc for the RX.
7769 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
7771         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
7772         constraint of y0 to "g".
7774 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7776         * config.host: Include the s390 makefile fragments.
7777         * config/s390/32/_fixdfdi.c: New file.
7778         * config/s390/32/_fixsfdi.c: New file.
7779         * config/s390/32/_fixtfdi.c: New file.
7780         * config/s390/32/_fixunsdfdi.c: New file.
7781         * config/s390/32/_fixunssfdi.c: New file.
7782         * config/s390/32/_fixunstfdi.c: New file.
7783         * config/s390/32/t-floattodi: New file.
7784         * config/s390/libgcc-glibc.ver: New file.
7785         * config/s390/t-crtstuff: New file.
7786         * config/s390/t-linux: New file.
7787         * config/s390/t-tpf: New file.
7789 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7791         * configure.ac (AC_PREREQ): Bump to 2.64.
7793 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
7795         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
7797 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7799         * configure: Regenerate.
7801 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
7803         * config.host (ia64-hp-*vms*): New target.
7804         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
7805         with ia64-hp-*vms*.
7807 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7809         * configure.ac: Add snippet for maintainer-mode.
7810         * configure: Regenerate.
7811         * Makefile.in (AUTOCONF, configure_deps): New variables.
7812         ($(srcdir)/configure)): New rule, active only with maintainer
7813         mode turned on.
7815 2009-06-23  DJ Delorie  <dj@redhat.com>
7817         Add MeP port.
7818         * config.host: Add mep support.
7820 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
7822         * config.host: Add i386/${host_address}/t-fprules-softfp and
7823         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
7825         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
7826         for mingw targets.
7827         * config/i386/64/_multc3.c: Likewise.
7828         * config/i386/64/_powitf2.c: Likewise.
7829         * config/i386/64/eqtf2.c: Likewise.
7830         * config/i386/64/getf2.c: Likewise.
7831         * config/i386/64/letf2.c: Likewise.
7832         * config/i386/64/letf2.c: Likewise.
7833         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
7834         unsigned long long for x64 mingw targets.
7835         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
7836         (_FP_I_TYPE): Define as long long for x64 mingw target.
7838 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
7840         * config.host (vax-*-linux*): New.
7842 2009-05-31  Anthony Green  <green@moxielogic.com>
7844         * config.host: Add moxie support.
7845         * config/moxie/t-moxie: New file.
7847 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
7849         * config.host: Add i386/${host_address}/t-fprules-softfp and
7850         t-softfp to tmake_file for i[34567]86-*-cygwin*.
7852 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
7854         * config.host: Add i386/${host_address}/t-fprules-softfp to
7855         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
7857 2009-04-09  Nick Clifton  <nickc@redhat.com>
7859         * config/ia64/tf-signs.c: Change copyright header to refer to
7860         version 3 of the GNU General Public License with version 3.1
7861         of the GCC Runtime Library Exception and to point readers at
7862         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
7863         web page.
7864         * config/i386/32/tf-signs.c: Likewise.
7865         * config/libbid/_addsub_dd.c: Likewise.
7866         * config/libbid/_addsub_sd.c: Likewise.
7867         * config/libbid/_addsub_td.c: Likewise.
7868         * config/libbid/_dd_to_df.c: Likewise.
7869         * config/libbid/_dd_to_di.c: Likewise.
7870         * config/libbid/_dd_to_sd.c: Likewise.
7871         * config/libbid/_dd_to_sf.c: Likewise.
7872         * config/libbid/_dd_to_si.c: Likewise.
7873         * config/libbid/_dd_to_td.c: Likewise.
7874         * config/libbid/_dd_to_tf.c: Likewise.
7875         * config/libbid/_dd_to_udi.c: Likewise.
7876         * config/libbid/_dd_to_usi.c: Likewise.
7877         * config/libbid/_dd_to_xf.c: Likewise.
7878         * config/libbid/_df_to_dd.c: Likewise.
7879         * config/libbid/_df_to_sd.c: Likewise.
7880         * config/libbid/_df_to_td.c: Likewise.
7881         * config/libbid/_di_to_dd.c: Likewise.
7882         * config/libbid/_di_to_sd.c: Likewise.
7883         * config/libbid/_di_to_td.c: Likewise.
7884         * config/libbid/_div_dd.c: Likewise.
7885         * config/libbid/_div_sd.c: Likewise.
7886         * config/libbid/_div_td.c: Likewise.
7887         * config/libbid/_eq_dd.c: Likewise.
7888         * config/libbid/_eq_sd.c: Likewise.
7889         * config/libbid/_eq_td.c: Likewise.
7890         * config/libbid/_ge_dd.c: Likewise.
7891         * config/libbid/_ge_sd.c: Likewise.
7892         * config/libbid/_ge_td.c: Likewise.
7893         * config/libbid/_gt_dd.c: Likewise.
7894         * config/libbid/_gt_sd.c: Likewise.
7895         * config/libbid/_gt_td.c: Likewise.
7896         * config/libbid/_isinfd128.c: Likewise.
7897         * config/libbid/_isinfd32.c: Likewise.
7898         * config/libbid/_isinfd64.c: Likewise.
7899         * config/libbid/_le_dd.c: Likewise.
7900         * config/libbid/_le_sd.c: Likewise.
7901         * config/libbid/_le_td.c: Likewise.
7902         * config/libbid/_lt_dd.c: Likewise.
7903         * config/libbid/_lt_sd.c: Likewise.
7904         * config/libbid/_lt_td.c: Likewise.
7905         * config/libbid/_mul_dd.c: Likewise.
7906         * config/libbid/_mul_sd.c: Likewise.
7907         * config/libbid/_mul_td.c: Likewise.
7908         * config/libbid/_ne_dd.c: Likewise.
7909         * config/libbid/_ne_sd.c: Likewise.
7910         * config/libbid/_ne_td.c: Likewise.
7911         * config/libbid/_sd_to_dd.c: Likewise.
7912         * config/libbid/_sd_to_df.c: Likewise.
7913         * config/libbid/_sd_to_di.c: Likewise.
7914         * config/libbid/_sd_to_sf.c: Likewise.
7915         * config/libbid/_sd_to_si.c: Likewise.
7916         * config/libbid/_sd_to_td.c: Likewise.
7917         * config/libbid/_sd_to_tf.c: Likewise.
7918         * config/libbid/_sd_to_udi.c: Likewise.
7919         * config/libbid/_sd_to_usi.c: Likewise.
7920         * config/libbid/_sd_to_xf.c: Likewise.
7921         * config/libbid/_sf_to_dd.c: Likewise.
7922         * config/libbid/_sf_to_sd.c: Likewise.
7923         * config/libbid/_sf_to_td.c: Likewise.
7924         * config/libbid/_si_to_dd.c: Likewise.
7925         * config/libbid/_si_to_sd.c: Likewise.
7926         * config/libbid/_si_to_td.c: Likewise.
7927         * config/libbid/_td_to_dd.c: Likewise.
7928         * config/libbid/_td_to_df.c: Likewise.
7929         * config/libbid/_td_to_di.c: Likewise.
7930         * config/libbid/_td_to_sd.c: Likewise.
7931         * config/libbid/_td_to_sf.c: Likewise.
7932         * config/libbid/_td_to_si.c: Likewise.
7933         * config/libbid/_td_to_tf.c: Likewise.
7934         * config/libbid/_td_to_udi.c: Likewise.
7935         * config/libbid/_td_to_usi.c: Likewise.
7936         * config/libbid/_td_to_xf.c: Likewise.
7937         * config/libbid/_tf_to_dd.c: Likewise.
7938         * config/libbid/_tf_to_sd.c: Likewise.
7939         * config/libbid/_tf_to_td.c: Likewise.
7940         * config/libbid/_udi_to_dd.c: Likewise.
7941         * config/libbid/_udi_to_sd.c: Likewise.
7942         * config/libbid/_udi_to_td.c: Likewise.
7943         * config/libbid/_unord_dd.c: Likewise.
7944         * config/libbid/_unord_sd.c: Likewise.
7945         * config/libbid/_unord_td.c: Likewise.
7946         * config/libbid/_usi_to_dd.c: Likewise.
7947         * config/libbid/_usi_to_sd.c: Likewise.
7948         * config/libbid/_usi_to_td.c: Likewise.
7949         * config/libbid/_xf_to_dd.c: Likewise.
7950         * config/libbid/_xf_to_sd.c: Likewise.
7951         * config/libbid/_xf_to_td.c: Likewise.
7952         * config/libbid/bid128.c: Likewise.
7953         * config/libbid/bid128_2_str.h: Likewise.
7954         * config/libbid/bid128_2_str_macros.h: Likewise.
7955         * config/libbid/bid128_2_str_tables.c: Likewise.
7956         * config/libbid/bid128_add.c: Likewise.
7957         * config/libbid/bid128_compare.c: Likewise.
7958         * config/libbid/bid128_div.c: Likewise.
7959         * config/libbid/bid128_fma.c: Likewise.
7960         * config/libbid/bid128_logb.c: Likewise.
7961         * config/libbid/bid128_minmax.c: Likewise.
7962         * config/libbid/bid128_mul.c: Likewise.
7963         * config/libbid/bid128_next.c: Likewise.
7964         * config/libbid/bid128_noncomp.c: Likewise.
7965         * config/libbid/bid128_quantize.c: Likewise.
7966         * config/libbid/bid128_rem.c: Likewise.
7967         * config/libbid/bid128_round_integral.c: Likewise.
7968         * config/libbid/bid128_scalb.c: Likewise.
7969         * config/libbid/bid128_sqrt.c: Likewise.
7970         * config/libbid/bid128_string.c: Likewise.
7971         * config/libbid/bid128_to_int16.c: Likewise.
7972         * config/libbid/bid128_to_int32.c: Likewise.
7973         * config/libbid/bid128_to_int64.c: Likewise.
7974         * config/libbid/bid128_to_int8.c: Likewise.
7975         * config/libbid/bid128_to_uint16.c: Likewise.
7976         * config/libbid/bid128_to_uint32.c: Likewise.
7977         * config/libbid/bid128_to_uint64.c: Likewise.
7978         * config/libbid/bid128_to_uint8.c: Likewise.
7979         * config/libbid/bid32_to_bid128.c: Likewise.
7980         * config/libbid/bid32_to_bid64.c: Likewise.
7981         * config/libbid/bid64_add.c: Likewise.
7982         * config/libbid/bid64_compare.c: Likewise.
7983         * config/libbid/bid64_div.c: Likewise.
7984         * config/libbid/bid64_fma.c: Likewise.
7985         * config/libbid/bid64_logb.c: Likewise.
7986         * config/libbid/bid64_minmax.c: Likewise.
7987         * config/libbid/bid64_mul.c: Likewise.
7988         * config/libbid/bid64_next.c: Likewise.
7989         * config/libbid/bid64_noncomp.c: Likewise.
7990         * config/libbid/bid64_quantize.c: Likewise.
7991         * config/libbid/bid64_rem.c: Likewise.
7992         * config/libbid/bid64_round_integral.c: Likewise.
7993         * config/libbid/bid64_scalb.c: Likewise.
7994         * config/libbid/bid64_sqrt.c: Likewise.
7995         * config/libbid/bid64_string.c: Likewise.
7996         * config/libbid/bid64_to_bid128.c: Likewise.
7997         * config/libbid/bid64_to_int16.c: Likewise.
7998         * config/libbid/bid64_to_int32.c: Likewise.
7999         * config/libbid/bid64_to_int64.c: Likewise.
8000         * config/libbid/bid64_to_int8.c: Likewise.
8001         * config/libbid/bid64_to_uint16.c: Likewise.
8002         * config/libbid/bid64_to_uint32.c: Likewise.
8003         * config/libbid/bid64_to_uint64.c: Likewise.
8004         * config/libbid/bid64_to_uint8.c: Likewise.
8005         * config/libbid/bid_b2d.h: Likewise.
8006         * config/libbid/bid_binarydecimal.c: Likewise.
8007         * config/libbid/bid_conf.h: Likewise.
8008         * config/libbid/bid_convert_data.c: Likewise.
8009         * config/libbid/bid_decimal_data.c: Likewise.
8010         * config/libbid/bid_decimal_globals.c: Likewise.
8011         * config/libbid/bid_div_macros.h: Likewise.
8012         * config/libbid/bid_dpd.c: Likewise.
8013         * config/libbid/bid_flag_operations.c: Likewise.
8014         * config/libbid/bid_from_int.c: Likewise.
8015         * config/libbid/bid_functions.h: Likewise.
8016         * config/libbid/bid_gcc_intrinsics.h: Likewise.
8017         * config/libbid/bid_inline_add.h: Likewise.
8018         * config/libbid/bid_internal.h: Likewise.
8019         * config/libbid/bid_round.c: Likewise.
8020         * config/libbid/bid_sqrt_macros.h: Likewise.
8022 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
8024         * Makefile.in: Change copyright header to refer to version
8025         3 of the GNU General Public License and to point readers at the
8026         COPYING3 file and the FSF's license web page.
8027         * config.host: Likewise.
8029 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
8031         * config.host: Reorder and merge to match config.gcc change.
8033 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
8035         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
8037 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
8039         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
8040         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
8041         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
8042         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
8044 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
8046         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
8047         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8049 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
8051         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
8052         ia64/t-softfp-compat to tmake_file.
8054         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
8056         * config/ia64/__divxf3.asm: New.
8057         * config/ia64/_fixtfdi.asm: Likewise.
8058         * config/ia64/_fixunstfdi.asm: Likewise.
8059         * config/ia64/_floatditf.asm: Likewise.
8060         * config/ia64/t-fprules-softfp: Likewise.
8061         * config/ia64/t-softfp-compat: Likewise.
8062         * config/ia64/tf-signs.c: Likewise.
8064 2009-01-18  Ben Elliston  <bje@au.ibm.com>
8066         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8068 2009-01-16  Ben Elliston  <bje@au.ibm.com>
8070         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
8071         to tmake_file.
8073 2009-01-13  Ben Elliston  <bje@au.ibm.com>
8075         * config/t-softfp: New file.
8076         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
8077         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
8079 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
8081         * config.host: Add m32r*-*-rtems*.
8083 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
8085         * config.host: Add m32c*-*-rtems*.
8087 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8089         PR bootstrap/33100
8090         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
8091         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
8092         * configure: Regenerate.
8093         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
8094         tmake_file here from gcc/config.gcc.
8095         Move extra_parts here from gcc/config.gcc.
8096         * config/i386/t-sol2: Move here from gcc/config/i386.
8097         Use gcc_srcdir instead of srcdir.
8099 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
8101         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
8102         case.
8104 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
8106         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
8108 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
8110         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
8112 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
8114         Add picoChip port.
8115         * config.host: Add picochip-*-*.
8117 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
8119         * config.host: Match more processor names for Xtensa.
8121 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
8123         * config/i386/64/t-softfp-compat: Update comments.
8125 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8127         * config/i386/64/_divtc3-compat.c: Moved to ...
8128         * config/i386/64/_divtc3.c: Here.
8130         * config/i386/64/_multc3-compat.c: Moved to ...
8131         * config/i386/64/_multc3.c: Here.
8133         * config/i386/64/_powitf2-compat.c: Moved to ...
8134         * config/i386/64/_powitf2.c: Here.
8136         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
8137         .c suffix instead of -compat.c.
8139 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
8141         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
8142         (_FP_MUL_MEAT_D): Ditto.
8143         (_FP_DIV_MEAT_S): Ditto.
8144         (_FP_DIV_MEAT_D): Ditto.
8146 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
8148         * Makefile.in: Add support for __sync_* libgcc functions.
8150 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
8152         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
8154 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8156         PR boostrap/36702
8157         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
8158         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
8160         * config/i386/64/t-fprules-softfp: Moved to ...
8161         * config/i386/64/t-softfp-compat: This.  New.
8163 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
8165         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
8166         Initialize f with 0.0.
8168 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8170         PR target/36669
8171         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
8173         * config/i386/64/_divtc3-compat.c: New.
8174         * config/i386/64/_multc3-compat.c: Likewise.
8175         * config/i386/64/_powitf2-compat.c: Likewise.
8176         * config/i386/64/eqtf2.c: Likewise.
8177         * config/i386/64/getf2.c: Likewise.
8178         * config/i386/64/letf2.c: Likewise.
8179         * config/i386/64/t-fprules-softfp: Likewise.
8181 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8183         * config.host: Add i386/${host_address}/t-fprules-softfp to
8184         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
8185         i[34567]86-*-linux*, x86_64-*-linux*.
8187         * configure.ac: Set host_address to 64 or 32 for x86.
8188         * configure: Regenerated.
8190         * Makefile.in (config.status): Also depend on
8191         $(srcdir)/config.host.
8193         * config/i386/32/t-fprules-softfp: New.
8194         * config/i386/32/tf-signs.c: Likewise.
8196         * config/i386/64/sfp-machine.h: New. Moved from gcc.
8198 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8199             Uros Bizjak  <ubizjak@gmail.com>
8201         * config/i386/32/sfp-machine.h: New.
8203 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
8205         * config/rs6000/t-ppccomm: Remove rules that conflict with
8206         auto-generated rules.
8208 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8210         * configure.ac: sinclude override.m4.
8211         * configure: Regenerate.
8213 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
8215         * configure: Regenerate.
8217 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
8219         * Makefile.in (DECNUMINC): Remove
8220         -I$(MULTIBUILDTOP)../../libdecnumber.
8221         * gstdint.h: New.
8223 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
8225         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
8226         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
8227         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
8228         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
8229         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
8230         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
8231         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
8232         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
8233         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
8234         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
8235         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
8236         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
8237         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
8238         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
8240 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
8242         * config.host (sh2[lbe]*-*-linux*): Allow target.
8244 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
8246         * config/rs6000/t-ppccomm: Add build rules for new files.
8247         (LIB2ADD_ST): New variable.
8249 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
8251         PR target/34210
8252         PR target/35508
8253         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
8254         * config/t-avr: New file. Build 16bit libgcc functions.
8256 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
8258         PR target/35401
8259         * config/t-slibgcc-darwin: Make install-leaf dependent on
8260         install-darwin-libgcc-stubs instead of install.
8262 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
8264         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
8265         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
8266         sh-*-rtemscoff*): Remove cases.
8268 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
8270         * Makefile.in (all): Use install-leaf rather than install.
8271         (install): Split most of the rule into...
8272         (install-leaf): ...this new one.
8274 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
8275             Paolo Bonzini  <bonzini@gnu.org>
8277         PR target/30572
8278         * Makefile.in: Use @shlib_slibdir@ substitution to get
8279         correct install name on darwin.
8280         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
8282 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
8284         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
8285         cris-*-elf and cris-*-none.
8286         (crisv32-*-linux*): Similar, as cris-*-linux*.
8288 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
8290         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
8292 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
8294         PR regression/33926
8295         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
8296         * configure: Regenerated.
8298 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
8300         * Makefile.in (dfp-filenames): Replace decimal_globals,
8301         decimal_data, binarydecimal and convert_data with
8302         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
8303         and bid_convert_data, respectively.
8305 2007-09-17  Chao-ying Fu  <fu@mips.com>
8306             Nigel Stephens  <nigel@mips.com>
8308         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
8309         * Makefile.in (fixed_point): Define.
8310         Check if fixed_point is yes to build support functions.
8311         * configure.ac: Check for fixed_point support.
8312         * configure: Regenerated.
8313         * gen-fixed.sh: New file to generate lists of fixed-point labels,
8314         funcs, modes, from, to.
8316 2007-09-11  Janis Johnson  <janis187@us.ibm.com
8318         * Makefile.in (dfp-filenames): Add bid128_noncomp.
8320 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
8322         * Makefile.in (dfp-filenames): Remove decUtility, add
8323         decDouble, decPacked, decQuad, decSingle.
8325 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
8327         * config.host : Add x86_64-elf target.
8329 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
8331         * configure.ac (set_have_cc_tls): Add a missing =.
8332         * configure: Regenerated.
8334 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
8336         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
8337         and x86_64-*-linux*.
8339         * config/t-tls: New file.
8341         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
8343         * configure.ac: Include ../config/enable.m4 and
8344         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
8345         supports TLS and substitute set_have_cc_tls.
8346         * configure: Regenerated.
8348 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
8350         * Makefile.in: Use libbid for DFP when BID is enabled.
8352 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
8354         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
8355         extra_parts. Add config/i386/t-cygming to tmake_file.
8356         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
8358 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
8359             Danny Smith  <dannysmith@users.sourceforge.net>
8361         PR target/29498
8362         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
8363         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
8364         * config/i386/t-crtfm: Compile crtfastmath.o with
8365         -minline-all-stringops.
8367 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
8369         * config.host (sparc-wrs-vxworks): New target.
8371 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
8373         * config.host: Recognize fido.
8375 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
8377         * configure: Check host, not target, for decimal float support.
8379 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
8381         * config/i386/t-crtpc: New file.
8382         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
8383         (x86_64-*-linux*): Ditto.
8385 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
8387         * config.host (x86_64-*-mingw*): New target.
8389 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
8390             H.J. Lu  <hongjiu.lu@intel.com>
8392         * Makefile.in (enable_decimal_float): New.
8393         (DECNUMINC): Add
8394         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
8395         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
8396         (decbits-filenames): This.
8397         (decbits-objects): New.
8398         (libgcc-objects): Add $(decbits-objects).
8400         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
8401         Substitute enable_decimal_float.
8402         * configure: Regenerated.
8404 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
8406         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
8408 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
8410         * Makefile.in (install-info): New dummy target.
8412 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
8414         * config.host (bfin*-linux-uclibc*): Set extra_parts.
8416 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
8418         * Makefile.in: Add install-html and install-pdf dummy
8419         targets.
8421 2007-02-05  Roger Sayle  <roger@eyesopen.com>
8422             Daniel Jacobowitz  <dan@codesourcery.com>
8424         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
8425         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
8426         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
8428 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
8430         * Makefile.in (dec-filenames): Add decExcept.
8432 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
8434         PR bootstrap/30469
8435         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
8436         -fprofile-use.
8438 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
8440         * configure.ac: Add --enable-version-specific-runtime-libs.
8441         Correct $slibdir default.
8442         * configure: Regenerated.
8444 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
8446         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
8448 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
8450         PR target/30519
8451         * config.host (alpha*-*-linux*): Set extra_parts.
8453 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
8455         * config/sh/t-linux: New.
8456         * config.host (sh*-*-linux*): Set tmake_file.
8458 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
8460         * Makefile.in (install): Handle multilibs.
8462 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
8464         * Makefile.in: Added .PHONY entry for documentation targets.
8466 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
8468         * Makefile.in: Add empty info, html, dvi, pdf targets.
8470 2007-01-04  Mike Stump  <mrs@apple.com>
8472         * Makefile.in (MAKEINFO): Remove.
8473         (PERL): Likewise.
8475 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
8477         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
8478         * configure: Regenerate.
8479         * Makefile.in (host_subdir): Substitute it.
8480         (gcc_objdir): Use it.
8482 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
8484         * config.host (ia64*-*-linux*): Set tmake_file.
8486 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
8488         * Makefile.in (version): Define.
8490 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
8491             Paolo Bonzini  <bonzini@gnu.org>
8493         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
8494         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
8495         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
8496         config/sparc/t-crtfm, config/t-slibgcc-darwin,
8497         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
8498         shared-object.mk, siditi-object.mk, static-object.mk: New files.
8499         * configure: Generated.
8501 Copyright (C) 2007-2017 Free Software Foundation, Inc.
8503 Copying and distribution of this file, with or without modification,
8504 are permitted in any medium without royalty provided the copyright
8505 notice and this notice are preserved.