2017-05-25 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc.git] / libgcc / ChangeLog
blob1d05cef858c0f6a698c8c97c58507f9c873ca88a
1 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
3         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
4         _Unwind_SetIP available as functions for arm*-*-freebsd*.
5         * config/arm/unwind-arm.c: Implement the above.
7 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
10         section for a non-executable stack.
12 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
14         PR target/80600
15         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
17 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
19         * config.host: Add i386/t-msabi to i386/t-linux file list.
20         * config/i386/i386-asm.h: New file.
21         * config/i386/resms64.S: New file.
22         * config/i386/resms64f.S: New file.
23         * config/i386/resms64fx.S: New file.
24         * config/i386/resms64x.S: New file.
25         * config/i386/savms64.S: New file.
26         * config/i386/savms64f.S: New file.
27         * config/i386/t-msabi: New file.
29 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
31         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
32         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
34 2017-05-05  Joshua Conner  <joshconner@google.com>
36         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
37         pc-relative indirect handling for fuchsia.
38         * config/t-slibgcc-fuchsia: New file.
39         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
40         x86_64-*-fuchsia*): Add definitions.
42 2017-04-19  Martin Liska  <mliska@suse.cz>
44         PR gcov-profile/80435
45         * Makefile.in: Install gcov.h.
46         * gcov.h: New file.
47         * libgcov.h: Use the header and make __gcov_flush publicly
48         visible.
50 2017-04-18  Martin Liska  <mliska@suse.cz>
52         PR gcov-profile/78783
53         * libgcov-driver.c (gcov_get_filename): New function.
55 2017-04-07  Jeff Law  <law@redhat.com>
57         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
58         target makefile fragment.
59         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
61 2017-04-07  Alan Modra  <amodra@gmail.com>
63         PR target/45053
64         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
66 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
68         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
70 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
72         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
74 2017-03-10  John Marino  <gnugcc@marino.st>
76         * config/aarch64/freebsd-unwind.h: New file.
77         * config.host: Add aarch64-*-freebsd unwinder.
79 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
81         * config/rs6000/crtrestvr.s: Use .machine altivec.
82         * config/rs6000/crtsavevr.s: Ditto.
84 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
86         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
87         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
88         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
89         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
90         * configure: Regenerate.
91         * config.in: Regenerate.
93 2017-03-02  Jonathan Yong <10walls@gmail.com>
95         * config/i386/gthr-win32.h: Define NOGDI before
96         windows.h include to prevent w32api CC_NONE macro
97         clash with libgfortran.
99 2017-03-02  Jonathan Yong <10walls@gmail.com>
101         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
103 2017-02-16  Andrew Pinski  <apinski@cavium.com>
105         * config/aarch64/value-unwind.h: New file.
106         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
107         to tm_file.
109 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
111         * config.host: Add RISC-V tuples.
112         * config/riscv/atomic.c: New file.
113         * config/riscv/crti.S: Likewise.
114         * config/riscv/crtn.S: Likewise.
115         * config/riscv/div.S: Likewise.
116         * config/riscv/linux-unwind.h: Likewise.
117         * config/riscv/muldi3.S: Likewise.
118         * config/riscv/multi3.S: Likewise.
119         * config/riscv/save-restore.S: Likewise.
120         * config/riscv/sfp-machine.h: Likewise.
121         * config/riscv/t-elf: Likewise.
122         * config/riscv/t-elf32: Likewise.
123         * config/riscv/t-elf64: Likewise.
124         * config/riscv/t-softfp32: Likewise.
125         * config/riscv/t-softfp64: Likewise.
127 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
129         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
130         /* FALLTHRU */ comments.
132 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
134         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
136 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
138         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
139         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
140         DW_CFA_GNU_window_save for AArch64 and LP64.
142 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
144         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
146 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
148         * config/aarch64/aarch64-unwind.h: New file.
149         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
150         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
151         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
152         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
153         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
154         (aarch64_post_extract_frame_addr): New function.
155         (aarch64_post_frob_eh_handler_addr): New function.
156         (aarch64_frob_update_context): New function.
157         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
158         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
159         aarch64*-*-freebsd*):
160         Initialize md_unwind_header to include aarch64-unwind.h.
161         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
162         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
163         __aarch64__.
164         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
165         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
166         (uw_frob_return_addr): New function.
167         (uw_install_context): Use uw_frob_return_addr.
169 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
171         PR other/79046
172         * configure.ac: Add GCC_BASE_VER.
173         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
174         version from BASE-VER file.
175         * configure: Regenerated.
177 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
179         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
180         libmul_f5.a): Filter archived prerequisites.
182 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
184         * config/i386/cpuinfo.h (processor_features): Add
185         FEATURE_AVX512VPOPCNTDQ.
186         * config/i386/cpuinfo.c (get_available_features): Habdle new
187         feature.
189 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
191         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
192         payload if [__mips_nan2008].
194 2017-01-04  Alan Modra  <amodra@gmail.com>
196         * Makefile.in (configure_deps): Update.
197         * configure: Regenerate.
199 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
201         Update copyright years.
203 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
205         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
206         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
207         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
209 2016-12-17  Matthias Klose  <doko@ubuntu.com>
211         * config/arc/gmon: Remove empty directory.
213 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
215         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
216         crtgend.
217         (arc*-*-elf*): Likewise.
218         * config/arc/t-arc: Remove old gmon lib targets.
219         * config/arc/crtg.S: Remove.
220         * config/arc/crtgend.S: Likewise.
221         * config/arc/gmon/atomic.h: Likewise.
222         * config/arc/gmon/auxreg.h: Likewise.
223         * config/arc/gmon/dcache_linesz.S: Likewise.
224         * config/arc/gmon/gmon.c: Likewise.
225         * config/arc/gmon/machine-gmon.h: Likewise.
226         * config/arc/gmon/mcount.c: Likewise.
227         * config/arc/gmon/prof-freq-stub.S: Likewise.
228         * config/arc/gmon/prof-freq.c: Likewise.
229         * config/arc/gmon/profil.S: Likewise.
230         * config/arc/gmon/sys/gmon.h: Likewise.
231         * config/arc/gmon/sys/gmon_out.h: Likewise.
232         * config/arc/t-arc-newlib: Likewise.
233         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
235 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
237         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
239 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
241         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
242         R16 instead of push + pop.
243         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
245 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
247         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
248         tmake_file.
250 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
252         * config.host (arc*-*-linux-uclibc*): Use default extra
253         objects. Include linux-android header.
254         * config/arc/crti.S (_init): Declare symbol as function.
255         (_fini): Likewise.
257 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
259         PR fortran/78379
260         * config/i386/cpuinfo.c:  Move denums for processor vendors,
261         processor type, processor subtypes and declaration of
262         struct __processor_model into
263         * config/i386/cpuinfo.h:  New header file.
265 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
266             Thomas Preud'homme  <thomas.preudhomme@arm.com>
268         * config/arm/cmse_nonsecure_call.S: New.
269         * config/arm/t-arm: Compile cmse_nonsecure_call.S
271 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
272             Thomas Preud'homme  <thomas.preudhomme@arm.com>
274         * config/arm/t-arm (HAVE_CMSE): New.
275         * config/arm/cmse.c: New.
277 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
279         PR gcc/74748
280         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
281         use generic linker version information on Blackfin.
283         PR gcc/74748
284         * libgcc/mkmap-symver.awk: add support for skip_underscore
286 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
287             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
289         PR target/67710
290         *  config/t-darwin: Default builds to 10.5 codegen.
292 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
294         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
295         (_FP_NANSIGN_H): Likewise.
296         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
297         (softfp_truncations): Add tfhf.
298         (softfp_extras): Add required conversion functions.
300 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
301             Matthew Wahab  <matthew.wahab@arm.com>
303         * config/arm/fp16.c (binary64): New.
304         (__gnu_d2h_internal): New.
305         (__gnu_d2h_ieee): New.
306         (__gnu_d2h_alternative): New.
308 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
309             Matthew Wahab  <matthew.wahab@arm.com>
311         * config/arm/fp16.c (struct format): New.
312         (binary32): New.
313         (__gnu_float2h_internal): New.  Body moved from
314         __gnu_f2h_internal and generalize.
315         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
316         Call it with binary32.
318 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
320         * soft-fp/extendhftf2.c: Update from glibc.
321         * soft-fp/fixhfti.c: Likewise.
322         * soft-fp/fixunshfti.c: Likewise.
323         * soft-fp/floattihf.c: Likewise.
324         * soft-fp/floatuntihf.c: Likewise.
325         * soft-fp/half.h: Likewise.
326         * soft-fp/trunctfhf2.c: Likewise.
328 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
330         PR libgcc/77813
331         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
332         __TMC_END__ behind a passthrough asm.
334 2016-11-18  Walter Lee  <walt@tilera.com>
336         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
338 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
340         * config/i386/cpuinfo.c (processor_features): Add
341         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
343 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
345         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
346         (__ARC_NORM__): Use instead ARC_OPTFPE.
347         * config/arc/fp-hack.h: Likewise.
348         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
349         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
351 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
353         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
354         * config/nvptx/mgomp.c: New file.
355         * config/nvptx/t-nvptx: Add mgomp.c
357 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
359         PR libgcc/68468
360         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
362 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
364         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
365         of checking for cpus.
366         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
367         (__modsi3, __clzsi2): Likewise.
369 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
371         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
372         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
373         * config/i386/t-cpuinfo-static: New.
375 2016-11-03  Martin Liska  <mliska@suse.cz>
377         * libgcov-profiler.c (__gcov_time_profiler): Remove.
378         (__gcov_time_profiler_atomic): Likewise.
380 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
382         PR libgcc/78067
383         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
384         count_leading_zeros.
386 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
388         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
389         * libgcc2.c (__divmoddi4): New function.
390         * libgcc2.h (__divmoddi4): Declare.
391         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
392         and __PFX_divmodti4.
394 2016-10-24  Florian Weimer  <fweimer@redhat.com>
396         PR libgcc/78064
397         * unwind-c.c: Include auto-target.h.
399 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
401         * config/pa/pa64-hpux-lib.h: New file.
402         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
403         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
404         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
405         hppa*64*-*-hpux11*.
407 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
409         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
410         definition.
411         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
412         definition.
413         * config/xtensa/t-windowed (LIB2ADDEH): Use
414         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
415         or xtensa/t-linux.
417 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
419         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
420         __ieee754_sqrt): New functions.
421         (__divdf3): Add implementation with new FPU instructions under
422         #if XCHAL_HAVE_DFP_DIV.
423         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
424         __ieee754_sqrtf): New functions.
425         (__divsf3): Add implementation with new FPU instructions under
426         #if XCHAL_HAVE_FP_DIV.
427         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
428         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
430 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
432         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
433         equivalent.
434         * config/tilepro/atomic.c: Likewise and stop casting model to
435         enum memmodel.
437 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
439         PR target/77586
440         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
441         soft-fp.
443 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
445         * config.host: Add support for aarch64-*-freebsd*.
447 2016-10-05  Andreas Schwab  <schwab@suse.de>
449         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
450         (.section .init_array): Don't call __do_jv_register_classes.
451         (.section .init): Likewise.
453 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
455         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
456         (__JCR_LIST__): Remove.
457         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
458         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
459         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
460         * config/ia64/crtend.S (__JCR_END__): Remove.
461         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
462         conditionals.
463         (__JCR_LIST__, __JCR_END__): Remove.
464         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
465         (__do_global_ctors_1): Likewise.
467 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
469         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
470         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
472 2016-09-27  Martin Liska  <mliska@suse.cz>
474         PR gcov-profile/7970
475         PR gcov-profile/16855
476         PR gcov-profile/44779
477         * libgcov-driver.c (__gcov_init): Do not register a atexit
478         handler.
479         (__gcov_exit): Rename from gcov_exit.
480         * libgcov.h (__gcov_exit): Declare.
482 2016-09-27  Martin Liska  <mliska@suse.cz>
484         PR bootstrap/77749
485         * Makefile.in: Remove _gcov_merge_delta.
486         * libgcov-merge.c (void __gcov_merge_delta): Remove.
487         * libgcov-util.c (__gcov_delta_counter_op): Remove.
488         * libgcov.h: Remove declaration of __gcov_merge_delta.
490 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
492         * configure.ac: Do not create links, only substitute the filenames.
493         * configure: Regenerate.
494         * Makefile.in: Assign the substitution results to variables.
495         (LIBGCC_LINKS): Define.
496         (enable-execute-stack.c): New rule.
497         (unwind.h): Likewise.
498         (md-unwind-support.h): Likewise.
499         (sfp-machine.h): Likewise.
500         (gthr-default.h): Likewise.
501         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
502         unwind.h as prerequisite of install-unwind_h-forbuild.
504 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
506         PR libgcc/71744
507         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
508         is not the primary registry and atomics are available.
509         (any_objects_registered): New variable.
510         (__register_frame_info_bases, __register_frame_info_table_bases):
511         Atomically store 1 to any_objects_registered after registering first
512         unwind info.
513         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
515 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
517         PR target/63250
518         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
519         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
520         (HFtype): Likewise.
521         (HCtype): Likewise.
522         (__divhc3): Likewise.
523         (__mulhc3): Likewise.
524         * libgcc2.c: Support _mulhc3 and _divhc3.
526 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
528         PR libgcc/77519
529         * libgcc2.c (NOTRUNC): Invert settings.
531 2016-09-06  Martin Liska  <mliska@suse.cz>
533         PR gcov-profile/77378
534         PR gcov-profile/77466
535         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
536         conditionaly enable/disable *_atomic functions.
538 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
540         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
541         where not already enabled.
543 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
545         * config/mips/linux-unwind.h: Use sys/syscall.h.
547 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
549         PR libgcc/77265
550         * soft-fp/adddf3.c: Update from glibc.
551         * soft-fp/addsf3.c: Likewise.
552         * soft-fp/addtf3.c: Likewise.
553         * soft-fp/divdf3.c: Likewise.
554         * soft-fp/divsf3.c: Likewise.
555         * soft-fp/divtf3.c: Likewise.
556         * soft-fp/double.h: Likewise.
557         * soft-fp/eqdf2.c: Likewise.
558         * soft-fp/eqsf2.c: Likewise.
559         * soft-fp/eqtf2.c: Likewise.
560         * soft-fp/extenddftf2.c: Likewise.
561         * soft-fp/extended.h: Likewise.
562         * soft-fp/extendsfdf2.c: Likewise.
563         * soft-fp/extendsftf2.c: Likewise.
564         * soft-fp/extendxftf2.c: Likewise.
565         * soft-fp/fixdfdi.c: Likewise.
566         * soft-fp/fixdfsi.c: Likewise.
567         * soft-fp/fixdfti.c: Likewise.
568         * soft-fp/fixsfdi.c: Likewise.
569         * soft-fp/fixsfsi.c: Likewise.
570         * soft-fp/fixsfti.c: Likewise.
571         * soft-fp/fixtfdi.c: Likewise.
572         * soft-fp/fixtfsi.c: Likewise.
573         * soft-fp/fixtfti.c: Likewise.
574         * soft-fp/fixunsdfdi.c: Likewise.
575         * soft-fp/fixunsdfsi.c: Likewise.
576         * soft-fp/fixunsdfti.c: Likewise.
577         * soft-fp/fixunssfdi.c: Likewise.
578         * soft-fp/fixunssfsi.c: Likewise.
579         * soft-fp/fixunssfti.c: Likewise.
580         * soft-fp/fixunstfdi.c: Likewise.
581         * soft-fp/fixunstfsi.c: Likewise.
582         * soft-fp/fixunstfti.c: Likewise.
583         * soft-fp/floatdidf.c: Likewise.
584         * soft-fp/floatdisf.c: Likewise.
585         * soft-fp/floatditf.c: Likewise.
586         * soft-fp/floatsidf.c: Likewise.
587         * soft-fp/floatsisf.c: Likewise.
588         * soft-fp/floatsitf.c: Likewise.
589         * soft-fp/floattidf.c: Likewise.
590         * soft-fp/floattisf.c: Likewise.
591         * soft-fp/floattitf.c: Likewise.
592         * soft-fp/floatundidf.c: Likewise.
593         * soft-fp/floatundisf.c: Likewise.
594         * soft-fp/floatunditf.c: Likewise.
595         * soft-fp/floatunsidf.c: Likewise.
596         * soft-fp/floatunsisf.c: Likewise.
597         * soft-fp/floatunsitf.c: Likewise.
598         * soft-fp/floatuntidf.c: Likewise.
599         * soft-fp/floatuntisf.c: Likewise.
600         * soft-fp/floatuntitf.c: Likewise.
601         * soft-fp/gedf2.c: Likewise.
602         * soft-fp/gesf2.c: Likewise.
603         * soft-fp/getf2.c: Likewise.
604         * soft-fp/ledf2.c: Likewise.
605         * soft-fp/lesf2.c: Likewise.
606         * soft-fp/letf2.c: Likewise.
607         * soft-fp/muldf3.c: Likewise.
608         * soft-fp/mulsf3.c: Likewise.
609         * soft-fp/multf3.c: Likewise.
610         * soft-fp/negdf2.c: Likewise.
611         * soft-fp/negsf2.c: Likewise.
612         * soft-fp/negtf2.c: Likewise.
613         * soft-fp/op-1.h: Likewise.
614         * soft-fp/op-2.h: Likewise.
615         * soft-fp/op-4.h: Likewise.
616         * soft-fp/op-8.h: Likewise.
617         * soft-fp/op-common.h: Likewise.
618         * soft-fp/quad.h: Likewise.
619         * soft-fp/single.h: Likewise.
620         * soft-fp/soft-fp.h: Likewise.
621         * soft-fp/subdf3.c: Likewise.
622         * soft-fp/subsf3.c: Likewise.
623         * soft-fp/subtf3.c: Likewise.
624         * soft-fp/truncdfsf2.c: Likewise.
625         * soft-fp/trunctfdf2.c: Likewise.
626         * soft-fp/trunctfsf2.c: Likewise.
627         * soft-fp/trunctfxf2.c: Likewise.
628         * soft-fp/unorddf2.c: Likewise.
629         * soft-fp/unordsf2.c: Likewise.
630         * soft-fp/unordtf2.c: Likewise.
632 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
634         PR gcov-profile/67097
635         * libgcov-util.c (gcov_profile_merge): Skip missing files.
637 2016-08-10  Martin Liska  <mliska@suse.cz>
639         PR gcov-profile/58306
640         * Makefile.in: New functions (modules) are added.
641         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
642         function.
643         (__gcov_pow2_profiler_atomic): New function.
644         (__gcov_one_value_profiler_body): New argument is instroduced.
645         (__gcov_one_value_profiler): Call with the new argument.
646         (__gcov_one_value_profiler_atomic): Likewise.
647         (__gcov_indirect_call_profiler_v2): Likewise.
648         (__gcov_time_profiler_atomic): New function.
649         (__gcov_average_profiler_atomic): Likewise.
650         (__gcov_ior_profiler_atomic): Likewise.
651         * libgcov.h: Declare the aforementioned functions.
653 2016-08-09  Martin Liska  <mliska@suse.cz>
655         * libgcov-util.c: Fix typo and GNU coding style.
657 2016-08-09  Martin Liska  <mliska@suse.cz>
659         * Makefile.in: Remove __gcov_indirect_call_profiler.
660         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
661         function.
662         * libgcov.h: And the declaration of the function.
664 2016-08-09  Martin Liska  <mliska@suse.cz>
666         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
667         power of two.
669 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
671         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
672         * config/rs6000/_mulkc3.c: Likewise.
674 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
676         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
677         zero_reg as previous call to __umulhisi3 already cleared it.
679 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
681         PR target/59833
682         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
684 2016-07-19  Nick Clifton  <nickc@redhat.com>
686         * config.host (m32r): Add m32r/t-m32r to tmake_file.
687         Add crtinit.o and crtfini.o to extra_parts.
689 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
691         * config/rs6000/_divkc3.c: New.
692         * config/rs6000/_mulkc3.c: New.
693         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
694         and _divkc3.
695         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
696         fp128_ppc_funcs.
698 2016-07-11  Hale Wang  <hale.wang@arm.com>
699             Andre Vieira  <andre.simoesdiasvieira@arm.com>
701         * config/arm/lib1funcs.S: Add new wrapper.
703 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
705         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
707 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
709         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
710         and ARMv5t* rather than for a fixed list of architectures.
712 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
714         * config/arm/bpabi-v6m.S: Clarify what architectures is the
715         implementation suitable for.
716         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
717         for all Thumb-1 only targets.
718         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
719         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
720         __ARM_ARCH_6M__.
721         (EQUIV): Likewise.
722         (ARM_FUNC_ALIAS): Likewise.
723         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
724         version.
725         (modsi3): Likewise.
726         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
727         (clzdi2): Likewise.
728         (ctzsi2): Likewise.
729         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
730         __ARM_ARCH_6M__ in guard for checking whether it is defined.
731         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
732         __ARM_ARCH_6M__ and add comment to indicate the connection between
733         this condition and the one in gcc/config/arm/elf.h.
734         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
735         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
736         * config/arm/t-softfp: Likewise.
738 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
740         * libgcc2.c (SYMBOL__MAIN): Remove checks for
741         CTOR_LISTS_DEFINED_EXTERNALLY.
743 2016-06-28  Walter Lee  <walt@tilera.com>
745         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
746         asm/unistd.h.
747         (SPR_CMPEXCH_VALUE): Define for tilegx.
748         (__NR_FAST_cmpxchg): Define for tilepro.
749         (__NR_FAST_atomic_update): Define for tilepro.
750         (__NR_FAST_cmpxchg64): Define for tilepro.
752 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
754         * config.host: Add suport for arm*-*-phoenix* targets.
756 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
758         * config.host: Remove support for mep-*.
759         * config/mep/lib1funcs.S: Remove.
760         * config/mep/lib2funcs.c: Remove.
761         * config/mep/t-mep: Remove.
762         * config/mep/tramp.c: Remove.
764 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
766         * config.host: Remove support for avr-rtems.
767         * config/avr/t-rtems: Remove.
769 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
771         * config.host: Remove m32r-rtems support.
773 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
775         * config.host: Remove h8300-rtems support.
777 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
779         * config.host: Remove support for knetbsd.
781 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
783         * config.host: Remove support for openbsd 2 and 3.
785 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
787         * config.host: Remove interix support.
788         * config/i386/t-interix: Remove.
790 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
792         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
793         least-significant bit in function pointer for fixup.
795 2016-06-05  Aaron Conole  <aconole@redhat.com>
796             Nathan Sidwell  <nathan@acm.org>
798         PR libgcc/71400
799         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
800         (get_gcov_error_file): Check __gcov_error_file before trying to
801         initialize it.
802         (gcov_error): Always use get_gcov_error_file.
804 2016-06-02  Aaron Conole  <aconole@redhat.com>
806         * libgcov-driver-system.c (__gcov_error_file): New.
807         (get_gcov_error_file): New.
808         (gcov_error): Use and set __gcov_error_file.
809         (gcov_error_exit): New.
810         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
812 2016-05-26  Nathan Sidwell  <nathan@acm.org>
814         * config/nvptx/free.asm: Delete.
815         * config/nvptx/malloc.asm: Delete.
816         * config/nvptx/realloc.c: Delete.
817         * t-nvptx: Update.
819 2016-05-25  Nathan Sidwell  <nathan@acm.org>
821         * config/nvptx/crt0.s: Delete.
822         * config/nvptx/crt0.c: New.
823         * t-nvptx: Update.
825 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
827         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
828         dw2/seh configuration.
829         [x86_64-*-mingw*]: Likewise.
831 2016-05-10  Joel Sherrill <joel@rtems.org>
833         PR libgcc/70720
834         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
835         targets so the same extra_parts are built.  Also have tmake_file add
836         on to its value rather than override.
838 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
840         * config.host: Remove SH5 support.
841         * configure: Likewise.
843 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
845         * config/sh/crt1.S: Remove SH5 support.
846         * config/sh/crti.S: Likewise.
847         * config/sh/crtn.S: Likewise.
848         * config/sh/lib1funcs-4-300.S: Likewise.
849         * config/sh/lib1funcs-Os-4-200.S: Likewise.
850         * config/sh/lib1funcs.S: Likewise.
851         * config/sh/linux-unwind.h: Likewise.
852         * config/sh/t-sh64: Delete.
854 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
856         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
858 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
859             Joern Rennecke  <joern.rennecke@embecosm.com>
861         * config/arc/crttls.S: New file.
862         * config/arc/t-arc: New rule.
863         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
865 2016-04-25  Nick Clifton  <nickc@redhat.com>
867         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
868         (__mspabi_cmpd): Likewise.
869         * config/msp430/floathidf.c (__floathidf): Likewise.
870         * config/msp430/floathisf.c (__floathisf): Likewise
871         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
872         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
873         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
874         second parameter.
875         (__ashrsi3): Likewise.
877 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
879         * config/m68k/linux-atomic.c: Do not include unistd.h
881 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
883         * config/arm/ieee754-df.S: Fix typos in comments.
885 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
887         PR target/70381
888         * configure.ac (powerpc*-*-linux*): Rework tests to build
889         __float128 emulation routines to not depend on using #pragma GCC
890         target to enable -mfloat128.
891         * configure: Regnerate.
893 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
895         PR target/67172
896         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
897         __MINGW32__ is defined.
899 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
901         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
903 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
905         PR libgcc/70363
906         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
907         built with an assembler that does not support ISA 3.0
908         instructions, rename __extendkftf2_sw to __extendkftf2.
910 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
912         PR target/38239
913         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
914         call-clobbered registers.
915         (internal_mcount): Remove __i386__ handling.
917 2016-02-26  Joel Sherrill <joel@rtems.org>
919         * config.host: Add x86_64-*-rtems*.
921 2016-02-26  Joel Sherrill <joel@rtems.org>
923         * libgcc/config.host: Add aarch64-*-rtems*.
925 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
926             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
928         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
929         union of u64 and double.
930         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
931         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
932         value.
933         (FP_ROUNDMODE): Update the usage of _fpscr.
935 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
937         PR driver/68463
938         * Makefile.in (crtoffloadtable$(objext)): New rule.
939         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
940         enable_offload_targets is not empty.
941         * configure: Regenerate.
942         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
943         crtoffloadtable.
945 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
947         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
948         .literal_position before the function.
949         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
950         Likewise.
952 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
954         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
955         * config/s390/morestack.S: New file.
956         * config/s390/t-stack-s390: New file.
957         * generic-morestack.c (__splitstack_find): Add s390-specific code.
959 2016-02-12  Walter Lee  <walt@tilera.com>
961         * config.host (tilegx*-*-linux*): remove ti from
962         softfp_int_modes for 32-bit configs.
964 2016-02-10  Ian Lance Taylor  <iant@google.com>
966         PR go/68562
967         * config/i386/morestack.S (__stack_split_initialize): Align
968         stack.
970 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
972         PR bootstrap/69611
973         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
974         __FLOAT128__ to compile only for __float128 capable targets.
976 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
978         PR target/69444
979         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
980         instead of ___NO_FPRS__.
982 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
983             Steven Munroe  <munroesj@linux.vnet.ibm.com>
984             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
986         * config/rs6000/float128-sed: New files to convert TF names to KF
987         names for PowerPC IEEE 128-bit floating point support.
988         * config/rs6000/float128-sed-hw: Likewise.
990         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
991         floating point hardware support.
993         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
994         128-bit floating point software emulation or use ISA 3.0 hardware
995         support if it is available.
997         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
998         floating point.
1000         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
1001         floating point to IBM extended double.
1003         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
1004         double to IEEE 128-bit floating point.
1006         * config/rs6000/t-float128: New Makefile fragments to enable
1007         building __float128 emulation support.
1008         * config/rs6000/t-float128-hw: Likewise.
1010         * config/rs6000/sfp-exceptions.c: New file to provide exception
1011         support for IEEE 128-bit floating point.
1013         * config/rs6000/floattikf.c: New files for converting between IEEE
1014         128-bit floating point and signed/unsigned 128-bit integers.
1015         * config/rs6000/fixunskfti.c: Likewise.
1016         * config/rs6000/fixkfti.c: Likewise.
1017         * config/rs6000/floatuntikf.c: Likewise.
1019         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1020         when building on 64-bit systems, or when VSX is enabled.
1021         (_FP_W_TYPE): Likewise.
1022         (_FP_WS_TYPE): Likewise.
1023         (_FP_I_TYPE): Likewise.
1024         (TItype): Define on 64-bit systems.
1025         (UTItype): Likewise.
1026         (TI_BITS): Likewise.
1027         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1028         (_FP_MUL_MEAT_Q): Likewise.
1029         (_FP_DIV_MEAT_D): Likewise.
1030         (_FP_DIV_MEAT_Q): Likewise.
1031         (_FP_NANFRAC_D): Likewise.
1032         (_FP_NANFRAC_Q): Likewise.
1033         (ISA_BIT): Add exception support if we are being compiled on a
1034         machine with hardware floating point support to build the IEEE
1035         128-bit emulation functions.
1036         (FP_EX_INVALID): Likewise.
1037         (FP_EX_OVERFLOW): Likewise.
1038         (FP_EX_UNDERFLOW): Likewise.
1039         (FP_EX_DIVZERO): Likewise.
1040         (FP_EX_INEXACT): Likewise.
1041         (FP_EX_ALL): Likewise.
1042         (__sfp_handle_exceptions): Likewise.
1043         (FP_HANDLE_EXCEPTIONS): Likewise.
1044         (FP_RND_NEAREST): Likewise.
1045         (FP_RND_ZERO): Likewise.
1046         (FP_RND_PINF): Likewise.
1047         (FP_RND_MINF): Likewise.
1048         (FP_RND_MASK): Likewise.
1049         (_FP_DECL_EX): Likewise.
1050         (FP_INIT_ROUNDMODE): Likewise.
1051         (FP_ROUNDMODE): Likewise.
1053         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1054         VSX code, enable IEEE 128-bit floating point.  If the compiler can
1055         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
1056         floating point hardware instructions and it supports declaring
1057         functions with the ifunc attribute, enable ifunc functions to
1058         switch between software and hardware support.
1059         * configure.ac (powerpc*-*-linux*): Likewise.
1060         * configure: Regenerate.
1062 2016-01-15  Nick Clifton  <nickc@redhat.com>
1064         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
1065         dependency as the source file to be compiled.
1066         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
1067         (lib2hw_mul_f5.o): Likewise.
1069 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
1071         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
1072         * libgcc/config/rs6000/fixkfti.c: Likewise.
1073         * libgcc/config/rs6000/fixunskfti.c: Likewise.
1074         * libgcc/config/rs6000/float128-hw.c: Likewise.
1075         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
1076         * libgcc/config/rs6000/float128-sed: Likewise.
1077         * libgcc/config/rs6000/floattikf.c: Likewise.
1078         * libgcc/config/rs6000/floatuntikf.c: Likewise.
1079         * libgcc/config/rs6000/quad-float128.h: Likewise.
1080         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
1081         * libgcc/config/rs6000/sfp-machine.h: Likewise.
1082         * libgcc/config/rs6000/t-float128: Likewise.
1083         * libgcc/config/rs6000/t-float128-hw: Likewise.
1084         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
1085         * libgcc/config.host: Likewise.
1086         * libgcc/configure: Likewise.
1087         * libgcc/configure.ac: Likewise.
1089 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
1090             Steven Munroe  <munroesj@linux.vnet.ibm.com>
1091             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
1093         * config/rs6000/sfp-exceptions.c: New file to provide exception
1094         support for IEEE 128-bit floating point.
1096         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1097         floating point hardware support.
1099         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
1100         point conversions.
1101         * config/rs6000/fixunskfti.c: Likewise.
1102         * config/rs6000/fixkfti.c: Likewise.
1103         * config/rs6000/floatuntikf.c: Likewise.
1104         * config/rs6000/extendkftf2-sw.c: Likewise.
1105         * config/rs6000/trunctfkf2-sw.c: Likewise.
1107         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1108         128-bit floating point software emulation or use ISA 3.0 hardware
1109         support if it is available.
1111         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1112         floating point.
1114         * config/rs6000/t-float128: New Makefile fragments to enable
1115         building __float128 emulation support.
1116         * config/rs6000/t-float128-hw: Likewise.
1118         * config/rs6000/float128-sed: New file to convert TF names to KF
1119         names for PowerPC IEEE 128-bit floating point support.
1121         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1122         when building on 64-bit systems, or when VSX is enabled.
1123         (_FP_W_TYPE): Likewise.
1124         (_FP_WS_TYPE): Likewise.
1125         (_FP_I_TYPE): Likewise.
1126         (TItype): Define on 64-bit systems.
1127         (UTItype): Likewise.
1128         (TI_BITS): Likewise.
1129         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1130         (_FP_MUL_MEAT_Q): Likewise.
1131         (_FP_DIV_MEAT_D): Likewise.
1132         (_FP_DIV_MEAT_Q): Likewise.
1133         (_FP_NANFRAC_D): Likewise.
1134         (_FP_NANFRAC_Q): Likewise.
1135         (ISA_BIT): Add exception support if we are being compiled on a
1136         machine with hardware floating point support to build the IEEE
1137         128-bit emulation functions.
1138         (FP_EX_INVALID): Likewise.
1139         (FP_EX_OVERFLOW): Likewise.
1140         (FP_EX_UNDERFLOW): Likewise.
1141         (FP_EX_DIVZERO): Likewise.
1142         (FP_EX_INEXACT): Likewise.
1143         (FP_EX_ALL): Likewise.
1144         (__sfp_handle_exceptions): Likewise.
1145         (FP_HANDLE_EXCEPTIONS): Likewise.
1146         (FP_RND_NEAREST): Likewise.
1147         (FP_RND_ZERO): Likewise.
1148         (FP_RND_PINF): Likewise.
1149         (FP_RND_MINF): Likewise.
1150         (FP_RND_MASK): Likewise.
1151         (_FP_DECL_EX): Likewise.
1152         (FP_INIT_ROUNDMODE): Likewise.
1153         (FP_ROUNDMODE): Likewise.
1155         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
1156         compiler can do __float128.
1157         * configure: Regenerate.
1159         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1160         VSX code, enable IEEE 128-bit floating point.
1162 2016-01-05  Olivier Hainque  <hainque@adacore.com>
1164         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
1165         specificities.
1167 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
1169         Update copyright years.
1171 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
1173         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
1174         soft-fp targets.
1176 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1178         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
1179         instead of abort to avoid dependency on stdlib.h.
1181 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
1183         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
1184         to initialize call to __dl_fixup once.
1186 2015-12-04  Nick Clifton  <nickc@redhat.com>
1188         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
1189         Allow for the second argument being negative.
1190         * config.host (extra_parts): Define for MSP430.  Create separate
1191         libraries for each of the hardware multiply formats.
1192         * config/msp430/lib2hw_mul.S: Build only the multiply routines
1193         that are needed.
1194         * config/msp430/lib2mul.c: Likewise.
1195         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
1196         Add rules to build hardware multiply libraries.
1197         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
1198         __mspabi_divul function.
1199         (__mspabi_divllu): New stub function.
1201 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
1203         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
1204         fixup values if saved GOT address doesn't match runtime address.
1205         (fixup_branch_offset): Reorder list.
1207 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1209         * Makefile.in (VTV_CFLAGS): New variable.
1210         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
1211         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
1212         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1213         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
1214         to extra_parts if $enable_vtable_verify = yes.
1216 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1218         PR target/68059
1219         * config/arm/linux-atomic-64bit.c (__write): Rename to...
1220         (write): ...this and fix the return type.
1222 2015-11-19  DJ Delorie  <dj@redhat.com>
1224         * config/msp430/lib2hw_mul.S: Fix alignment.
1226 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
1228         * config/nvptx/reduction.c: New.
1229         * config/nvptx/t-nvptx (LIB2ADD): Add it.
1231 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
1233         * config/rs6000/on_exit.c: New file.
1234         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
1235         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
1237 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
1239         * config/arc/dp-hack.h: Add support for ARCHS.
1240         * config/arc/ieee-754/divdf3.S: Likewise.
1241         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
1242         * config/arc/ieee-754/muldf3.S: Likewise.
1243         * config/arc/ieee-754/mulsf3.S: Likewise
1244         * config/arc/lib1funcs.S: Likewise
1245         * config/arc/gmon/dcache_linesz.S: Don't read the build register
1246         for ARCv2 cores.
1247         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
1248         for ARCv2 cores.
1249         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
1250         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
1251         cores.
1253 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1255         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
1256         value.
1257         * config/ia64/crtend.S: Likewise.
1259 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1261         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
1262         __CHAR_BIT__ instead of BITS_PER_UNIT.
1263         * fixed-bit.h: Likewise.
1264         * fp-bit.h: Likewise.
1265         * libgcc2.c (__popcountSI2): Likewise.
1266         (__popcountDI2): Likewise.
1267         * libgcc2.h: Likewise.
1268         * libgcov.h: Likewise.
1270 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
1272         * config/rs6000/atexit.c: New file.
1273         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
1274         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
1275         * config/rs6000/cxa_finalize.c
1276         (catomic_compare_and_exchange_bool_acq): Negate return value.
1278 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
1280         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
1281         (processor_subtypes): Add znver1.
1282         (get_amd_cpu): Detect znver1.
1284 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
1286         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
1287         Include crtfastmath.o.
1289 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
1291         PR libgcc/66883
1292         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1294 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
1296         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
1297         * config/rl78/divmodsi.S: Update return register to r8.
1298         * config/rl78/divmodhi.S: Update return register to r8,r9.
1299         Branch to main_loop_done_himode to pop registers before return.
1301 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
1303         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
1304         (__cpu_indicator_init): Fix model selection for AMD CPUs.
1306 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
1308         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
1310 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
1312         * config.host (xtensa*-*-uclinux*): New configuration.
1314 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
1316         * config/i386/cpuinfo.c (processor_features): Add
1317         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
1319 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
1321         * soft-fp/adddf3.c: Update from glibc.
1322         * soft-fp/addsf3.c: Likewise.
1323         * soft-fp/addtf3.c: Likewise.
1324         * soft-fp/divdf3.c: Likewise.
1325         * soft-fp/divsf3.c: Likewise.
1326         * soft-fp/divtf3.c: Likewise.
1327         * soft-fp/double.h: Likewise.
1328         * soft-fp/eqdf2.c: Likewise.
1329         * soft-fp/eqsf2.c: Likewise.
1330         * soft-fp/eqtf2.c: Likewise.
1331         * soft-fp/extenddftf2.c: Likewise.
1332         * soft-fp/extended.h: Likewise.
1333         * soft-fp/extendsfdf2.c: Likewise.
1334         * soft-fp/extendsftf2.c: Likewise.
1335         * soft-fp/extendxftf2.c: Likewise.
1336         * soft-fp/fixdfdi.c: Likewise.
1337         * soft-fp/fixdfsi.c: Likewise.
1338         * soft-fp/fixdfti.c: Likewise.
1339         * soft-fp/fixsfdi.c: Likewise.
1340         * soft-fp/fixsfsi.c: Likewise.
1341         * soft-fp/fixsfti.c: Likewise.
1342         * soft-fp/fixtfdi.c: Likewise.
1343         * soft-fp/fixtfsi.c: Likewise.
1344         * soft-fp/fixtfti.c: Likewise.
1345         * soft-fp/fixunsdfdi.c: Likewise.
1346         * soft-fp/fixunsdfsi.c: Likewise.
1347         * soft-fp/fixunsdfti.c: Likewise.
1348         * soft-fp/fixunssfdi.c: Likewise.
1349         * soft-fp/fixunssfsi.c: Likewise.
1350         * soft-fp/fixunssfti.c: Likewise.
1351         * soft-fp/fixunstfdi.c: Likewise.
1352         * soft-fp/fixunstfsi.c: Likewise.
1353         * soft-fp/fixunstfti.c: Likewise.
1354         * soft-fp/floatdidf.c: Likewise.
1355         * soft-fp/floatdisf.c: Likewise.
1356         * soft-fp/floatditf.c: Likewise.
1357         * soft-fp/floatsidf.c: Likewise.
1358         * soft-fp/floatsisf.c: Likewise.
1359         * soft-fp/floatsitf.c: Likewise.
1360         * soft-fp/floattidf.c: Likewise.
1361         * soft-fp/floattisf.c: Likewise.
1362         * soft-fp/floattitf.c: Likewise.
1363         * soft-fp/floatundidf.c: Likewise.
1364         * soft-fp/floatundisf.c: Likewise.
1365         * soft-fp/floatunditf.c: Likewise.
1366         * soft-fp/floatunsidf.c: Likewise.
1367         * soft-fp/floatunsisf.c: Likewise.
1368         * soft-fp/floatunsitf.c: Likewise.
1369         * soft-fp/floatuntidf.c: Likewise.
1370         * soft-fp/floatuntisf.c: Likewise.
1371         * soft-fp/floatuntitf.c: Likewise.
1372         * soft-fp/gedf2.c: Likewise.
1373         * soft-fp/gesf2.c: Likewise.
1374         * soft-fp/getf2.c: Likewise.
1375         * soft-fp/ledf2.c: Likewise.
1376         * soft-fp/lesf2.c: Likewise.
1377         * soft-fp/letf2.c: Likewise.
1378         * soft-fp/muldf3.c: Likewise.
1379         * soft-fp/mulsf3.c: Likewise.
1380         * soft-fp/multf3.c: Likewise.
1381         * soft-fp/negdf2.c: Likewise.
1382         * soft-fp/negsf2.c: Likewise.
1383         * soft-fp/negtf2.c: Likewise.
1384         * soft-fp/op-1.h: Likewise.
1385         * soft-fp/op-2.h: Likewise.
1386         * soft-fp/op-4.h: Likewise.
1387         * soft-fp/op-8.h: Likewise.
1388         * soft-fp/op-common.h: Likewise.
1389         * soft-fp/quad.h: Likewise.
1390         * soft-fp/single.h: Likewise.
1391         * soft-fp/soft-fp.h: Likewise.
1392         * soft-fp/subdf3.c: Likewise.
1393         * soft-fp/subsf3.c: Likewise.
1394         * soft-fp/subtf3.c: Likewise.
1395         * soft-fp/truncdfsf2.c: Likewise.
1396         * soft-fp/trunctfdf2.c: Likewise.
1397         * soft-fp/trunctfsf2.c: Likewise.
1398         * soft-fp/trunctfxf2.c: Likewise.
1399         * soft-fp/unorddf2.c: Likewise.
1400         * soft-fp/unordsf2.c: Likewise.
1401         * soft-fp/unordtf2.c: Likewise.
1403 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
1405         PR libgcc/67624
1406         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
1408 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1410         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1411         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
1412         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
1413         messages.
1414         (internal_mcount): Likewise.
1415         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
1416         crt_compile, add CRTSTUFF_T_CFLAGS_S.
1418 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1420         * configure.ac (libgcc_cv_solaris_crts): New test.
1421         * configure: Regenerate.
1422         * config.in: Regenerate.
1423         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
1424         * config/gmon-sol2.c: Rename to ...
1425         * config/sol2/gmon.c: ... this.
1426         Include auto-target.h.
1427         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
1428         * config/t-sol2: Rename to ...
1429         * config/sol2/t-sol2: ... this.
1430         (gmon.o): Reflect renaming.
1431         (crtp.o, crtpg.o): New rules.
1432         * config.host (*-*-solaris2*): Reflect renaming.
1433         Use system CRTs if present.
1434         Remove default CRT case.
1436 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
1438         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
1439         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
1440         __kernel_cmpxchg2.
1441         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
1442         (__sync_val_compare_and_swap_##WIDTH): Likewise.
1443         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
1444         (__sync_lock_test_and_set_##WIDTH): Likewise.
1445         (__sync_lock_release_##WIDTH): Likewise.
1446         (__sync_fetch_and_##OP##_4): Change result to match type of
1447         __kernel_cmpxchg.
1448         (__sync_##OP##_and_fetch_4): Likewise.
1449         (__sync_val_compare_and_swap_4): Likewise.
1450         (__sync_bool_compare_and_swap_4): likewise.
1451         (__sync_lock_test_and_set_4): Likewise.
1452         (__sync_lock_release_4): Likewise.
1453         (FETCH_AND_OP_2): Add long long variants.
1454         (OP_AND_FETCH_2): Likewise.
1455         (COMPARE_AND_SWAP_2 ): Likewise.
1456         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1457         (SYNC_LOCK_RELEASE_2): Likewise.
1458         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
1460 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
1462         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
1463         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
1464         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
1465         (get_available_features): Habdle new features.
1467 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
1469         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
1470         memory layout. Deal correctly with BSS region larger than 32K.
1471         Handle a watchdog reset like a power-on reset. Clean up unused
1472         code.
1474 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
1475             David Edelsohn  <dje.gcc@gmail.com>
1477         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
1478         * config/rs6000/crtdbase.S: New file.
1479         * config/rs6000/t-aix-cxa: Build crtdbase.o.
1481 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
1483         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1484         Add support for call0 ABI.
1486 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
1488         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
1490 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1492         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
1493         (__GTHREAD_HAS_COND): Likewise.
1494         (__gthread_t): Likewise.
1495         (__gthread_cond_t): Likewise.
1496         (__gthread_time_t): Likewise.
1497         (__GTHREAD_MUTEX_INIT): Likewise.
1498         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
1499         (__GTHREAD_COND_INIT): Likewise.
1500         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
1501         (__GTHREAD_TIME_INIT): Likewise.
1502         (__gthread_create): Likewise.
1503         (__gthread_join): Likewise.
1504         (__gthread_detach): Likewise.
1505         (__gthread_equal): Likewise.
1506         (__gthread_self): Likewise.
1507         (__gthread_yield): Likewise.
1508         (__gthread_cond_broadcast): Likewise.
1509         (__gthread_cond_signal): Likewise.
1510         (__gthread_cond_wait): Likewise.
1511         (__gthread_cond_timedwait): Likewise.
1512         (__gthread_cond_wait_recursive): Likewise.
1513         (__gthread_cond_destroy): Likewise.
1514         (rtems_gxx_once): Delete.
1515         (rtems_gxx_key_create): Likewise.
1516         (rtems_gxx_key_delete): Likewise.
1517         (rtems_gxx_getspecific): Likewise.
1518         (rtems_gxx_setspecific): Likewise.
1519         (rtems_gxx_mutex_init): Likewise.
1520         (rtems_gxx_mutex_destroy): Likewise.
1521         (rtems_gxx_mutex_lock): Likewise.
1522         (rtems_gxx_mutex_trylock): Likewise.
1523         (rtems_gxx_mutex_unlock): Likewise.
1524         (rtems_gxx_recursive_mutex_init): Likewise.
1525         (rtems_gxx_recursive_mutex_lock): Likewise.
1526         (rtems_gxx_recursive_mutex_trylock): Likewise.
1527         (rtems_gxx_recursive_mutex_unlock): Likewise.
1528         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
1529         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
1530         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
1531         (__gthread_once): Likewise.
1532         (__gthread_key_create): Likewise.
1533         (__gthread_key_delete): Likewise.
1534         (__gthread_getspecific): Likewise.
1535         (__gthread_setspecific): Likewise.
1536         (__gthread_key_t): Use <pthread.h> type.
1537         (__gthread_once_t): Likewise
1538         (__gthread_mutex_t): Use <sys/lock.h> type.
1539         (__gthread_recursive_mutex_t): Likewise
1540         (__gthread_mutex_lock): Use <sys/lock.h> function.
1541         (__gthread_mutex_trylock): Likewise.
1542         (__gthread_mutex_timedlock): Likewise.
1543         (__gthread_mutex_unlock): Likewise.
1544         (__gthread_mutex_destroy): Likewise.
1545         (__gthread_recursive_mutex_lock): Likewise.
1546         (__gthread_recursive_mutex_trylock): Likewise.
1547         (__gthread_recursive_mutex_timedlock): Likewise.
1548         (__gthread_recursive_mutex_unlock): Likewise.
1549         (__gthread_recursive_mutex_destroy): Likewise.
1551 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
1553         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
1554         context->sp instead of context->cfa.
1556 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
1558         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
1559         with unwind-dw2-fde-dip.
1561 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
1563         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
1564         CALL12 followed by series of ENTRY to spill windowed registers.
1565         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
1566         instead of making linux spill syscall.
1568 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
1570         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
1571         (get_intel_cpu): Likewise.
1573 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
1575         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
1576         (get_intel_cpu): Add Knights Landing support.
1578 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
1580         PR target/66954
1581         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
1582         (get_available_features): Handle FEATURE_PCLMUL.
1584 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
1586         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
1587         Broadwell.
1589 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
1591         PR target/66954
1592         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
1593         (get_available_features): Handle FEATURE_AES.
1595 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
1597         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
1598         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
1600 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
1602         * offloadstuff.c: Constify host data.
1604 2015-07-17  Jan Beulich  <jbeulich@suse.com>
1606         * config/t-softfp: Split up "else ifneq".
1608 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
1609             Cesar Philippidis  <cesar@codesourcery.com>
1610             Chung-Lin Tang  <cltang@codesourcery.com>
1612         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
1613         for __nios2_arch__ level.
1615 2015-07-13  John Marino  <gnugcc@marino.st>
1617         * config/i386/t-dragonfly: New.
1619 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
1621         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
1622         better match light-weight syscall argument order.
1623         (__kernel_cmpxchg2): Likewise.
1624         Adjust callers.
1626 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
1628         * config.host: Support i[34567]86-*-elfiamcu target.
1629         * config/t-softfp-sfdftf: New file.
1630         * config/i386/32/t-iamcu: Likewise.
1631         * configure: Regenerated.
1633 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
1635         libgcc/config/arm/
1636         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
1638 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
1640         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
1642 2015-05-27  John Marino  <gnugcc@marino.st>
1644         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
1645         md_unwind_header
1646         * config/i386/freebsd-unwind.h: New.
1648 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
1650         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
1651         i386/t-crtfm to tmake_file.
1652         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
1653         (set_fast_math): Use set_fast_math_sse for SSE targets.
1654         * config/i386/t-crtfm: Remove.
1656 2015-05-21  Alan Modra  <amodra@gmail.com>
1658         PR libgcc/66225
1659         * config/rs6000/morestack.S: Remove ".abiversion 1".
1661 2015-05-20  Alan Modra  <amodra@gmail.com>
1663         * config/rs6000/morestack.S: New.
1664         * config/rs6000/t-stack-rs6000: New.
1665         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
1666         to tmake_file.
1667         * generic-morestack.c: Don't build for powerpc 32-bit.
1669 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
1671         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
1672         Remove useless endif/ifneq ($(enable_shared),yes) pair.
1674 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
1676         * config.host: FT32 target added.
1677         * config/ft32/*: New files for FT32 target.
1679 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
1681         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
1682         New macros.
1683         * config/arm/ieee754-df.S: Add CFI directives.
1684         * config/arm/ieee754-sf.S: Add CFI directives.
1686 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
1688         * configure.ac: Include config/sjlj.m4.
1689         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
1690         * config.in: Regenerate.
1691         * configure: Likewise.
1692         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
1694 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
1696         * libgcov-util.c: Add space between string literal and macro name.
1698 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
1699             Chris Jones  <chrisj@nvidia.com>
1700             Joshua Conner  <jconner@nvidia.com>
1702         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
1703         (arm*-*-uclinux*): Likewise.
1704         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
1705         * config/arm/crtfastmath.c: New file.
1707 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
1709         * Makefile.in (real_host_noncanonical): New variable.
1710         (libsubdir): Use it.
1711         * configure.ac (real_host_noncanonical): Compute.  Remove special
1712         case for intelmicemul.
1713         * configure: Regenerate.
1715 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
1717         * config/frv/elf-lib.h: New file.
1718         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
1719         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
1720         to tm_file.
1722 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
1724         * config/frv/frvbengin.c: Do not include defaults.h
1725         * config/frv/frvend.c: Ditto.
1727 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
1729         * config.host: Add h8300-*-linux
1730         * config/h8300/t-linux: New file.
1731         * config/h8300/lib1funs.s: Change symbol prefix.
1732         * config/h8300/sfp-machine.h: 64bit double support.
1734 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
1735             Szabolcs Nagy  <szabolcs.nagy@arm.com>
1737         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
1738         Linux if target provides dl_iterate_phdr.
1740 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
1742         PR target/65612
1743         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
1744         * config/i386/cpuinfo.c (__cpu_model): Initialize.
1745         (__cpu_indicator_init@GCC_4.8.0): New.
1746         (__cpu_model@GCC_4.8.0): Likewise.
1747         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
1748         -DUSE_ELF_SYMVER.
1750 2015-04-16  Nick Clifton  <nickc@redhat.com>
1752         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
1753         and __modhi3 functions.
1754         * config/rl78/divmodso.S: Add G14 and G13 versions of the
1755         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
1757 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
1759         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
1760         do-while loop as macro body to avoid warnings.
1762 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
1763             Iain Sandoe  <iain@codesourcery.com>
1765         PR target/65351
1766         * configure: Regenerate.
1768 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
1769             Iain Sandoe  <iain@codesourcery.com>
1771         PR target/65351
1772         * configure: Regenerate.
1774 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
1776         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
1778 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
1780         Implement call0 ABI for xtensa
1781         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
1782         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
1783         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
1784         use ret in call0 ABI.
1785         * config/xtensa/t-windowed: New file.
1786         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
1787         * libgcc/configure: Regenerated.
1788         * libgcc/configure.ac: Check if xtensa target is configured for
1789         windowed ABI and thus needs to use custom unwind code.
1791 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
1793         PR libgcc/64885
1794         * gthr-single.h: Use __unused__ attribute instead of unused.
1795         * config/gthr-vxworks.h: Likewise.
1796         * config/i386/gthr-win32.h: Likewise.
1798 2015-02-27  Kai Tietz  <ktietz@redhat.com>
1800         PR target/65038
1801         * config.in: Regenerated.
1802         * configure: Likewise.
1803         * configure.ac (AC_HEADER_STDC): Added explicit.
1804         (AC_CHECK_HEADERS): Check for default headers  plus
1805         for ftw.h header.
1806         * libgcov-util.c (gcov_read_profile_dir): Disable use
1807         of ftw-function, if header is not found.
1808         (ftw_read_file): Likewise.
1810 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
1812         PR target/65181
1813         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
1814         -Dinhibit_libc.
1816 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
1818         * config/arm/bpabi.S (test_div_by_zero): Make label names
1819         consistent between thumb2 and arm mode cases.  Separate the
1820         signed comparison on the high word of the numerator from the
1821         unsigned comparison on the low word.
1822         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
1823         signed comparison.
1825 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1827         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
1828         and <string.h>.
1829         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
1831 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
1833         PR gcov-profile/61889
1834         * libgcov-driver-system.c: undefine clashing macro for mkdir.
1836 2015-02-02  Nick Clifton  <nickc@redhat.com>
1838         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
1839         rounding up the fraction.
1841 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
1843         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
1844         oldval and newval to const void *.  Fix typo.
1845         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
1846         (FETCH_AND_OP_WORD): Likewise.
1847         (OP_AND_FETCH_WORD): Likewise.
1848         (COMPARE_AND_SWAP_2): Likewise.
1849         (__sync_val_compare_and_swap_4): Likewise.
1850         (__sync_lock_test_and_set_4): Likewise.
1851         (SYNC_LOCK_RELEASE_2): Likewise.
1852         Remove support for long long atomic operations.
1854 2015-01-27  Caroline Tice  <cmtice@google.com>
1856         Committing VTV Cywin/Ming patch for Patrick Wollgast
1857         * Makefile.in: Move rules to build vtv_*.o out of the check
1858         for CUSTOM_CRTSTUFF.
1859         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
1860         i[34567]86-*-mingw*)
1861          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
1862         enable_vtable_verify.
1864 2015-01-27  Nick Clifton  <nickc@redhat.com>
1866         * config/rl78/cmpsi2.S: Use function start and end macros.
1867         (__gcc_bcmp): New function.
1868         * config/rl78/lshrsi3.S: Use function start and end macros.
1869         * config/rl78/mulsi3.S: Add support for G10.
1870         (__mulqi3): New function for G10.
1871         * config/rl78/signbit.S: Use function start and end macros.
1872         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
1873         fpmath-sf.S.
1874         (LIB2FUNCS_EXCLUDE): Define.
1875         (LIB2FUNCS_ST): Define.
1876         * config/rl78/trampoline.S: Use function start and end macros.
1877         * config/rl78/vregs.h (START_FUNC): New macro.
1878         (START_ANOTHER_FUNC): New macro.
1879         (END_FUNC): New macro.
1880         (END_ANOTHER_FUNC): New macro.
1881         * config/rl78/bit-count.S: New file.  Contains assembler
1882         implementations of the bit counting functions: ___clzhi2,
1883         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
1884         __paritysi2, __popcounthi2 and __popcountsi2.
1885         * config/rl78/fpbit-sf.S: New file.  Contains assembler
1886         implementationas of the math functions: __negsf2, __cmpsf2,
1887         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
1888         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
1889         * config/rl78/fpmath-sf.S: New file.  Contains assembler
1890         implementations of the math functions: __subsf3, __addsf3,
1891         __mulsf3 and __divsf3
1893 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1895         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
1896         Add i386/elf-lib.h to tm_file.
1897         * config/i386/elf-lib.h: Fix comment.
1898         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
1899         && __sun__ && __svr4__]: Remove workaround.
1901 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
1903         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
1904         FEATURE_BMI2.
1905         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
1907 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
1909         * config/i386/cpuinfo.c (processor_subtypes): Add
1910         INTEL_COREI7_BROADWELL.
1911         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
1912         model numbers.
1914 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
1916         * config/i386/elf-lib.h: New file.
1917         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
1918         Wrap definition in #ifdef __i386__.
1919         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
1920         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
1921         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
1922         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
1923         to tm_file.
1925 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
1927         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
1928         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
1930 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
1932         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
1933         Update rt_sigframe format and address for current Nios II
1934         Linux conventions.
1936 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
1938         * config.host (arm*-*-freebsd*): Add new configuration for
1939         arm*-*-freebsd*.
1940         * config/arm/freebsd-atomic.c: New file.
1941         * config/arm/t-freebsd: Likewise.
1942         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
1943         'PC-relative indirect' OS's.
1945 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
1947         * config.host: Add Visium support.
1948         * config/visium: New directory.
1950 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
1952         Update copyright years.
1954 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
1956         * config.host: Support mipsisa32r6 and mipsisa64r6.
1957         * config/mips/mips16.S: Do not build for R6.
1959 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
1961         * config/sh/crt.h: New.
1962         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
1963         symbols.
1964         * config/sh/crt1.S: Likewise.
1966 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
1968         PR libgcc/63832
1969         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
1970         func_ptr *dtor_list temporary variable to avoid "array subscript
1971         is above array bounds" warnings.
1973 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
1975         * Makefile.in (with_aix_soname): Define.
1976         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
1977         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
1978         * configure: Recreate.
1980 2014-12-05  Olivier Hainque  <hainque@adacore.com>
1982         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
1983         now provided by defaults.h.
1985 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
1987         PR target/55351
1988         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
1989         whether it's defined.
1991 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
1993         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
1994         * config/i386/cpuinfo.c (get_available_features): Detect it.
1996 2014-11-27  Tony Wang  <tony.wang@arm.com>
1998         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
1999         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
2000         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
2002 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
2004         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
2006 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
2008         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
2009         instead.
2011 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
2012             John David Anglin  <danglin@gcc.gnu.org>
2014         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
2015         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
2016         (OP_AND_FETCH_2): Likewise.
2017         (COMPARE_AND_SWAP_2): Likewise.
2018         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2019         (SYNC_LOCK_RELEASE_2): Likewise.
2020         (SUBWORD_SYNC_OP): Remove.
2021         (SUBWORD_VAL_CAS): Likewise.
2022         (SUBWORD_BOOL_CAS): Likewise.
2023         (FETCH_AND_OP_WORD): Update.
2024         Consistently use signed types.
2026 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
2027             Thomas Schwinge  <thomas@codesourcery.com>
2028             Ilya Verbin  <ilya.verbin@intel.com>
2029             Andrey Turetskiy  <andrey.turetskiy@intel.com>
2031         * Makefile.in (crtoffloadbegin$(objext)): New rule.
2032         (crtoffloadend$(objext)): Likewise.
2033         * configure: Regenerate.
2034         * configure.ac (accel_dir_suffix): Compute new variable.
2035         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
2036         if enable_offload_targets is not empty.
2037         * offloadstuff.c: New file.
2039 2014-11-13  Nick Clifton  <nickc@redhat.com>
2041         * config/rl78/divmodhi.S: Add support for the G10 architecture.
2042         Use START_FUNC and END_FUNC macros to enable linker garbage
2043         collection.
2044         * config/rl78/divmodqi.S: Likewise.
2045         * config/rl78/divmodsi.S: Likewise.
2046         * config/rl78/mulsi3.S: Likewise.
2047         * config/rl78/lib2div.c: Remove G10 functions.
2048         * config/rl78/lib2muls.c: Likewise.
2049         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
2050         * config/rl78/vregs.h (START_FUNC): New macro.
2051         (END_FUNC): New macro.
2053 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
2055         * config/mips/mips16.S: Set .module when supported.  Update O32
2056         FP64 calling convention and use for FPXX when possible.  Add FPXX
2057         calling convention fallback case.
2059 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
2061         * config.host: Handle nvptx-*-*.
2062         * shared-object.mk (as-flags-$o): Define.
2063         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
2064         -xassembler-with-cpp.
2065         * static-object.mk: Identical changes.
2066         * config/nvptx/t-nvptx: New file.
2067         * config/nvptx/crt0.s: New file.
2068         * config/nvptx/free.asm: New file.
2069         * config/nvptx/malloc.asm: New file.
2070         * config/nvptx/realloc.c: New file.
2072 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
2074         * Makefile.in (libgcc.map.in): New target.
2075         (libgcc.map): Use libgcc.map.in.
2076         * config/t-softfp (softfp_compat): New variable to be set by
2077         users.
2078         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
2079         variables.
2080         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
2081         directory.
2082         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
2083         that use compat symbols and disable all code unless [SHARED].
2084         * config/t-softfp-compat: New file.
2085         * find-symver.awk: New file.
2086         * configure.ac (--with-glibc-version): New configure option.
2087         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
2088         * configure: Regenerate.
2089         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
2090         soft-float and e500.
2092 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
2094         * config/t-hardfp (hardfp_exclusions): Document new variable for
2095         user to define.
2096         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
2097         * config/t-softfp (softfp_extras): Document new variable for user
2098         to define.
2099         (softfp_func_list): Add functions from $(softfp_extras).
2100         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
2101         * config.host (powerpc*-*-linux*): For e500v1, use
2102         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
2103         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
2104         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
2106 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
2108         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
2109         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
2110         memory read accesses are ok.
2112 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
2114         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
2115         * configure: Regenerate.
2116         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
2117         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
2118         of soft-fp for 32-bit classic hard float.  Do not use
2119         t-softfp-excl for soft float.
2121 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
2123         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
2124         configurations.
2125         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
2126         Remove variables.
2128 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
2130         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
2131         introduced with 2014-10-21 trunk r216525.
2133 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
2134             Vidya Praveen  <vidya.praveen@atmel.com>
2135             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
2136             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
2137             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
2139         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
2140         order.
2142         Updated library functions for AVRTINY arch.
2143         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
2144         Replaced occurrences of r0/r1 with tmp/zero reg macros.
2145         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
2146         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
2147         wsubi/wadi macors.
2148         (__mulsi3_helper): Update stack, preserve callee saved regs and
2149         argument from stack. Restore callee save registers.
2150         (__mulpsi3): Likewise.
2151         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
2152         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
2153         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
2154         AVRTINY.
2155         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
2156         (__do_copy_data): Added new definition for AVRTINY.
2157         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
2158         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
2159         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
2160         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
2161         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
2162         macors.
2163         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
2164         AVRTINY.
2166         Fix broken long multiplication on tiny arch.
2168 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
2170         * soft-fp/double.h: Update from glibc.
2171         * soft-fp/eqdf2.c: Likewise.
2172         * soft-fp/eqsf2.c: Likewise.
2173         * soft-fp/eqtf2.c: Likewise.
2174         * soft-fp/extenddftf2.c: Likewise.
2175         * soft-fp/extended.h: Likewise.
2176         * soft-fp/extendsfdf2.c: Likewise.
2177         * soft-fp/extendsftf2.c: Likewise.
2178         * soft-fp/extendxftf2.c: Likewise.
2179         * soft-fp/gedf2.c: Likewise.
2180         * soft-fp/gesf2.c: Likewise.
2181         * soft-fp/getf2.c: Likewise.
2182         * soft-fp/ledf2.c: Likewise.
2183         * soft-fp/lesf2.c: Likewise.
2184         * soft-fp/letf2.c: Likewise.
2185         * soft-fp/op-1.h: Likewise.
2186         * soft-fp/op-2.h: Likewise.
2187         * soft-fp/op-4.h: Likewise.
2188         * soft-fp/op-8.h: Likewise.
2189         * soft-fp/op-common.h: Likewise.
2190         * soft-fp/quad.h: Likewise.
2191         * soft-fp/single.h: Likewise.
2192         * soft-fp/soft-fp.h: Likewise.
2193         * soft-fp/unorddf2.c: Likewise.
2194         * soft-fp/unordsf2.c: Likewise.
2195         * soft-fp/unordtf2.c: Likewise.
2196         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
2197         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
2198         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
2199         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
2200         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
2201         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
2202         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
2203         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
2204         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
2205         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
2207 2014-10-08  Rong Xu  <xur@google.com>
2209         * libgcov-util.c (read_gcda_file): Fix format.
2210         (find_match_gcov_info): Ditto.
2211         (calculate_2_entries): New.
2212         (compute_one_gcov): Ditto.
2213         (gcov_info_count_all_cold): Ditto.
2214         (gcov_info_count_all_zero): Ditto.
2215         (extract_file_basename): Ditto.
2216         (get_file_basename): Ditto.
2217         (set_flag): Ditto.
2218         (matched_gcov_info): Ditto.
2219         (calculate_overlap): Ditto.
2220         (gcov_profile_overlap): Ditto.
2221         * libgcov-driver.c (compute_summary): Make
2222         it avavilable for external calls.
2224 2014-10-06  Rong Xu  <xur@google.com>
2226         * Makefile.in: Ditto.
2227         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
2228         (gcov_sort_icall_topn_counter): Ditto.
2229         (gcov_sort_topn_counter_arrays): Ditto.
2230         (dump_one_gcov): Sort indirect_call topn counters.
2231         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
2232         function.
2233         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
2234         utility function.
2235         (__gcov_indirect_call_topn_profiler): New profiler function.
2236         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
2237         * libgcov.h: New decls.
2239 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
2241         * config.host: Remove support for score-*.
2243 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
2245         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2246         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
2247         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
2248         __LIBGCC_XF_MANT_DIG__.
2249         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
2250         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
2251         __LIBGCC_TF_MANT_DIG__.
2252         * libgcc2.c (NOTRUNC): Define in terms of
2253         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
2254         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2256 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
2258         PR target/63312
2259         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
2260         New macros.
2262 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
2264         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
2265         override USE_PT_GNU_EH_FRAME.
2266         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
2267         check USE_EH_FRAME_REGISTRY_ALWAYS against
2268         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
2269         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
2270         variable for substituted force_explicit_eh_registry.
2271         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
2272         * configure.ac (explicit-exception-frame-registration):
2273         New AC_ARG_ENABLE.
2274         * configure: Regenerate.
2276 2014-09-19  Olivier Hainque  <hainque@adacore.com>
2278         * config.host (powerpc-wrs-vxworksmils): New configuration,
2279         same as vxworksae.
2281 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
2283         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
2285 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
2287         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
2288         bits not set bits as indicating trapping exceptions.
2290 2014-09-17  Nathan sidwell  <nathan@acm.org>
2292         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
2293         (LIBGCOV_DRIVER): ... here.
2294         * libgcov-driver.c (gcov_master): New.
2295         (gcov_exit): Remove from master chain.
2296         (__gcov_init): Add to master chain if version compatible.  Don't
2297         clear the version.
2298         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
2299         (gcov_reset_int): Clear master chain, if compatible.
2300         (gcov_dump_int): New internal interface.  Dump master chain, if
2301         compatible.
2302         (gcov_dump): Alias for gcov_dump_int.
2303         * libgcov.h (struct gcov_root): Add next and prev fields.
2304         (struct gcov_master): New struct.
2305         (__gcov_master): New.
2306         (gcov_dump_int): Declare.
2308 2014-09-17  Olivier Hainque  <hainque@adacore.com>
2310         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
2311         and crtbegin.o + crtend.o to extra_parts.
2313 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
2315         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
2316         __LIBGCC_HAS_SF_MODE__.
2317         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2318         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2319         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2320         * config/libbid/bid_gcc_intrinsics.h
2321         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2322         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2323         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2324         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2325         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
2326         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2328 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
2330         PR target/63223
2331         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
2332         and R24 as needed.  Make work for all devices and .text locations.
2333         (__do_global_ctors, __do_global_dtors): Use word addresses.
2334         (__tablejump__, __tablejump_elpm__): Remove functions.
2335         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
2336         Add _tablejump2.
2337         (XICALL, XIJMP): New macros.
2339 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2340         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
2342         * config.host (aarch64*): Include crtfastmath.o and
2343         t-crtfm.
2344         * config/aarch64/crtfastmath.c: New file.
2346 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
2348         * config.host: Remove picochip support.
2349         * config/picochip/adddi3.S: Remove.
2350         * config/picochip/ashlsi3.S: Remove.
2351         * config/picochip/ashlsi3.c: Remove.
2352         * config/picochip/ashrsi3.S: Remove.
2353         * config/picochip/ashrsi3.c: Remove.
2354         * config/picochip/clzsi2.S: Remove.
2355         * config/picochip/cmpsi2.S: Remove.
2356         * config/picochip/divmod15.S: Remove.
2357         * config/picochip/divmodhi4.S: Remove.
2358         * config/picochip/divmodsi4.S: Remove.
2359         * config/picochip/lib1funcs.S: Remove.
2360         * config/picochip/longjmp.S: Remove.
2361         * config/picochip/lshrsi3.S: Remove.
2362         * config/picochip/lshrsi3.c: Remove.
2363         * config/picochip/parityhi2.S: Remove.
2364         * config/picochip/popcounthi2.S: Remove.
2365         * config/picochip/setjmp.S: Remove.
2366         * config/picochip/subdi3.S: Remove.
2367         * config/picochip/t-picochip: Remove.
2368         * config/picochip/ucmpsi2.S: Remove.
2369         * config/picochip/udivmodhi4.S: Remove.
2370         * config/picochip/udivmodsi4.S: Remove.
2372 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
2374         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
2375         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
2376         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
2377         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
2378         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
2379         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
2380         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
2381         defined and LIBGCC2_HAS_DF_MODE is defined.
2382         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
2383         defined and LIBGCC2_HAS_XF_MODE is defined.
2384         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
2385         defined and LIBGCC2_HAS_TF_MODE is defined.
2387 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
2389         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
2390         and ROUND_TOWARDS_ZERO conditionals.
2392 2014-09-07  Nathan sidwell  <nathan@acm.org>
2394         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
2395         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
2397 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
2399         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
2400         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2401         uses to __LIBGCC_STACK_POINTER_REGNUM__.
2402         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2403         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2404         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2405         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2406         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
2407         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
2408         (DWARF_FRAME_REGISTERS): Change all uses to
2409         __LIBGCC_DWARF_FRAME_REGISTERS__.
2410         (EH_RETURN_STACKADJ_RTX): Change all uses to
2411         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2412         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
2413         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
2414         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
2415         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
2416         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
2417         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
2418         to __LIBGCC_EH_FRAME_SECTION_NAME__.
2419         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
2420         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
2421         __LIBGCC_STACK_POINTER_REGNUM__.
2422         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2423         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2424         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2425         to __LIBGCC_STACK_POINTER_REGNUM__.
2426         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2427         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2428         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2429         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2430         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2431         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2432         (STACK_POINTER_REGNUM): Change all uses to
2433         __LIBGCC_STACK_POINTER_REGNUM__.
2434         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
2435         use to __LIBGCC_STACK_POINTER_REGNUM__.
2436         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2437         uses to __LIBGCC_STACK_POINTER_REGNUM__.
2438         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
2439         to __LIBGCC_DWARF_FRAME_REGISTERS__.
2440         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
2441         to __LIBGCC_DWARF_FRAME_REGISTERS__.
2442         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2443         to __LIBGCC_STACK_POINTER_REGNUM__.
2444         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
2445         Remove conditional definition.
2446         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
2447         __LIBGCC_TEXT_SECTION_ASM_OP__.
2448         (EH_FRAME_SECTION_NAME): Change all uses to
2449         __LIBGCC_EH_FRAME_SECTION_NAME__.
2450         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
2451         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
2452         (CTORS_SECTION_ASM_OP): Change all uses to
2453         __LIBGCC_CTORS_SECTION_ASM_OP__.
2454         (DTORS_SECTION_ASM_OP): Change all uses to
2455         __LIBGCC_DTORS_SECTION_ASM_OP__.
2456         (JCR_SECTION_NAME): Change all uses to
2457         __LIBGCC_JCR_SECTION_NAME__.
2458         (INIT_SECTION_ASM_OP): Change all uses to
2459         __LIBGCC_INIT_SECTION_ASM_OP__.
2460         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2461         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2462         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
2463         __LIBGCC_STACK_GROWS_DOWNWARD__.
2464         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
2465         __LIBGCC_INIT_SECTION_ASM_OP__.
2466         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2467         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2468         (EH_FRAME_SECTION_NAME): Change all uses to
2469         __LIBGCC_EH_FRAME_SECTION_NAME__.
2470         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
2471         definitions.  Change all uses to
2472         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
2473         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
2474         __LIBGCC_STACK_GROWS_DOWNWARD__.
2475         (DWARF_FRAME_REGISTERS): Change all uses to
2476         __LIBGCC_DWARF_FRAME_REGISTERS__.
2477         (EH_RETURN_STACKADJ_RTX): Change all uses to
2478         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2479         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
2480         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
2481         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
2482         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
2483         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
2485 2014-09-02  Nathan sidwell  <nathan@acm.org>
2487         * libgcov-interface.c (STRONG_ALIAS): New.
2488         (__gcov_flush): Call __gcov_reset_int.
2489         (__gcov_reset): Strong alias for ...
2490         (__gcov_reset_ing): ... this renamed hidden version.
2491         * libgcov.h (__gcov_reset_int): New declaration.
2493 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
2495         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
2496         call from here...
2497         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
2498         (__dso_handle): Define on Cygwin.
2499         * config/i386/t-cygming (crtbeginS.o): New rule.
2500         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
2502         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
2503         declaration syntax.
2505 2014-08-13  Steve Ellcey  <sellcey@mips.com>
2507         * crtstuff.c: Undef caddr_t.
2509 2014-08-12  Steve Ellcey  <sellcey@mips.com>
2511         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
2513 2014-08-07  Nathan Sidwell  <nathan@acm.org>
2515         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
2516         (LIBGCOV_DRIVER): ... to here.
2517         * libgcov.h (gcov_do_dump): New #define.
2518         (struct gcov_root): New.
2519         (__gcov_root): New declaration.
2520         (__gcov_dump_one): Declare.
2521         * libgcov-driver.c (gcov_list, gcov_dump_complete,
2522         run_accounted): Delete.
2523         (gcov_compute_histogram): Add LIST argument, adjust.
2524         (compute_summary): Adjust gcov_compute_histogram call.
2525         (gcov_do_dump): Not hidden, static in libgcov.
2526         (gcov_clear): Move  to interface.c.
2527         (__gcov_dump_one): New, broken out of ...
2528         (gcov_exit): ... here.  Make static.
2529         (__gcov_root): New.
2530         (__gcov_init): Adjust.
2531         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
2532         declarations.
2533         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
2534         (gcov_clear): Moved from driver.c.   Add LIST argument.
2535         (__gcov_reset): Adjust for changed interfaces.
2536         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
2538 2014-08-04  Rohit  <rohitarulraj@freescale.com>
2540         PR target/60102
2541         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
2542         based on change in SPE high register numbers and 3 HTM registers.
2544 2014-08-01  Nathan Sidwell  <nathan@acm.org>
2546         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
2547         LIBGCOV_INTERFACE): Reformat.
2548         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
2549         IN_GCOV_TOOL.
2550         * libgcov-interface.c: Reformat some comments.
2551         (__gcov_flush_mx): Add declaration.  Tidy up definition.
2553 2014-07-31  Alan Modra  <amodra@gmail.com>
2554             Peter Bergner  <bergner@vnet.ibm.com>
2556         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
2557         (pack_ldouble): New function.
2558         (__gcc_qadd): Use it.
2559         (__gcc_qmul): Likewise.
2560         (__gcc_qdiv): Likewise.
2561         (__gcc_qneg): Likewise.
2562         (__gcc_stoq): Likewise.
2563         (__gcc_dtoq): Likewise.
2565 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
2567         * config/s390/tpf-unwind.h: Include <stdbool.h>.
2568         (__tpf_eh_return): Add original return address as second parameter.
2569         Handle cases where unwinder routines were called directly, instead
2570         of from within the C++ library.
2572 2014-07-29  Nathan Sidwell  <nathan@acm.org>
2574         * libgcov.h: Move renaming of entry points to lib gcov specific
2575         portion.
2576         (gcov_do_dump): New rename.
2577         (gcov_rewrite): Remove inline, make HIDDEN.
2578         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
2579         (gcov_exit_compute_summary): Rename to ...
2580         (compute_summary): ... here.  Add LIST argument.
2581         (gcov_exit_merge_gcda): Rename to ...
2582         (merge_one_data): ... here.
2583         (gcov_exit_write_gcda): Rename to ...
2584         (write_one_data): ... here.
2585         (gcov_exit_merge_summary): Rename to ...
2586         (merge_summary): Add RUN_COUNTED argument.
2587         (gcov_exit_dump_gcov): Rename to ...
2588         (dump_one_gcov): Add RUN_COUNTED argument.
2589         (gcov_do_dump): New function, broken out of ...
2590         (gcov_exit): ... here.  Call it.
2592 2014-07-27  Anthony Green  <green@moxielogic.com>
2594         * config.host: Add moxiebox configuration suppport.
2596 2014-07-27  Nathan Sidwell  <nathan@acm.org>
2598         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
2599         (struct gcov_filename): ... here.  Include buffer and max length
2600         fields.
2601         (gcov_max_filename): Remove.
2602         (gi_filename): Remove.
2603         (gcov_exit_compute_summary): Compute max filename here.
2604         (gcov_exit_merge_gcda): Add filename parm, adjust.
2605         (gcov_exit_merge_summary): Likewise.
2606         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
2607         (gcov_exit): Likewise.
2608         (__gcov_init): Don't calculate max length here.
2609         * libgcov_util.c (max_filename_len): Remove.
2610         (read_gcda_file): Don't calculate max length here.
2611         (gcov_read_profile_dir): Don't propagate here.
2612         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
2613         struct gcov_filename changes.
2614         (gcov_exit_open_gcda_file): Likewise.
2616 2014-07-25  Nathan Sidwell  <nathan@acm.org>
2618         * libgcov-driver.c (set_gcov_dump_complete,
2619         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
2620         functions polluting user's namespace.
2621         (gcov_exit): Set variable directly.
2622         (gcov_clear): Reset variable directly.
2623         * libgcov-interface.c (get_gcov_dymp_complete,
2624         reset_gov_dump_complete): Remove declarations.
2625         (__gcov_reset, __gcov_dump): Don't call them.
2627 2014-07-24  DJ Delorie  <dj@redhat.com>
2629         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
2630         (__gcc_deregister_frame): Move logic to detect deregister function
2631         to ...
2632         (__gcc_register_frame): here, so it's consistent with the register
2633         logic.
2635 2014-07-23  Nathan Sidwell  <nathan@acm.org>
2637         * libgcov-driver.c (set_gcov_list): Remove.
2638         (gcov_list): Make non-static in GCOV_TOOL.
2639         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
2641 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
2643         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
2644         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
2645         Don't use SYNC_LOCK_RELEASE for int type.
2647 2014-07-14  Richard Biener  <rguenther@suse.de>
2649         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
2651 2014-07-11  Rong Xu  <xur@google.com>
2653         * libgcov-util.c (gcov_max_filename): Fix declartion.
2655 2014-07-10  Rong Xu  <xur@google.com>
2657         Add gcov-tool: an offline gcda profile processing tool
2658         Support.
2659         * libgcov-driver.c (gcov_max_filename): Make available
2660         to gcov-tool.
2661         * libgcov-merge.c (__gcov_merge_add): Replace
2662         gcov_read_counter() with a Macro.
2663         (__gcov_merge_ior): Ditto.
2664         (__gcov_merge_time_profile): Ditto.
2665         (__gcov_merge_single): Ditto.
2666         (__gcov_merge_delta): Ditto.
2667         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
2668         in the utility functions.
2669         (set_fn_ctrs): Utility function for reading gcda files to in-memory
2670         gcov_list object link lists.
2671         (tag_function): Ditto.
2672         (tag_blocks): Ditto.
2673         (tag_arcs): Ditto.
2674         (tag_lines): Ditto.
2675         (tag_counters): Ditto.
2676         (tag_summary): Ditto.
2677         (read_gcda_finalize): Ditto.
2678         (read_gcda_file): Ditto.
2679         (ftw_read_file): Ditto.
2680         (read_profile_dir_init): Ditto.
2681         (gcov_read_profile_dir): Ditto.
2682         (gcov_read_counter_mem): Ditto.
2683         (gcov_get_merge_weight): Ditto.
2684         (merge_wrapper): A wrapper function that calls merging handler.
2685         (gcov_merge): Merge two gcov_info objects with weights.
2686         (find_match_gcov_info): Find the matched gcov_info in the list.
2687         (gcov_profile_merge): Merge two gcov_info object lists.
2688         (__gcov_add_counter_op): Process edge profile counter values.
2689         (__gcov_ior_counter_op): Process IOR profile counter values.
2690         (__gcov_delta_counter_op): Process delta profile counter values.
2691         (__gcov_single_counter_op): Process single  profile counter values.
2692         (fp_scale): Callback function for float-point scaling.
2693         (int_scale): Callback function for integer fraction scaling.
2694         (gcov_profile_scale): Scaling profile counters.
2695         (gcov_profile_normalize): Normalize profile counters.
2696         * libgcov.h: Add headers and functions for gcov-tool use.
2697         (gcov_get_counter): New.
2698         (gcov_get_counter_target): Ditto.
2699         (struct gcov_info): Make the functions field mutable in gcov-tool
2700         compilation.
2702 2014-06-23  Kai Tietz  <ktietz@redhat.com>
2704         PR libgcc/61585
2705         * unwind-seh.c (_Unwind_GetGR): Check for proper
2706         index range.
2707         (_Unwind_SetGR): Likewise.
2709 2014-05-22  Nick Clifton  <nickc@redhat.com>
2711         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
2712         -mhwmult=none.
2714 2014-05-22  Teresa Johnson  <tejohnson@google.com>
2716         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
2717         include.
2719 2014-05-20  John Marino  <gnugcc@marino.st>
2721         * config.host (*-*-dragonfly*): New target.
2722         * crtstuff.c: Make dl_iterate_support generic on *bsd.
2723         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
2724         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
2725         * config/i386/dragonfly-unwind.h: New.
2727 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
2729         PR libgcc/60166
2730         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
2731         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
2733 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2735         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
2736         implementation.
2738 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
2740         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
2742 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2744         PR libgcc/61097
2745         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
2746         if --enable-shared.
2748 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2750         Work around for current cygwin32 build problems.
2751         * config/i386/cygming-crtbegin.c (__register_frame_info,
2752         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
2753         functions only for 64-bit systems.
2755 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2757         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
2758         (sigill_caught, sigill_hdlr): Remove.
2760 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2762         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
2763         check.
2764         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2765         Solaris 9 single-threaded support.
2766         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
2767         Solaris 9 single-threaded support.  Add call_user_handler code
2768         sequences.
2769         (sparc_is_sighandler): Likewise.
2771 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2773         * config.host: Append t-floattodi to tmake_file depending on
2774         host_address.
2776 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
2778         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
2780 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
2782         PR libgcc/60472
2783         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2784         variable to avoid "array subscript is above array bounds" warnings.
2785         Use __builtin_expect when checking *jcr_list for NULL.
2787 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2789         PR libgcc/59339
2790         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
2791         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
2792         vtv_*.o to extra_parts if enable_vtable_verify.
2794 2014-03-06  Nick Clifton  <nickc@redhat.com>
2796         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
2797         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
2799 2014-02-28  Joey Ye  <joey.ye@arm.com>
2801         PR libgcc/60166
2802         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
2803         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
2804         Set to zero.
2806 2014-02-24  Walter Lee  <walt@tilera.com>
2808         * config.host: Support "tilegx*" and "tilepro*" triplets.
2809         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
2810         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
2812 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
2813             Chung-Lin Tang  <cltang@codesourcery.com>
2815         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
2816         * config/nios2/crti.S: Remove .file directive.
2817         * config/nios2/crtn.S: Likewise.
2819 2014-02-18  Kai Tietz  <ktietz@redhat.com>
2820         Jonathan Schleifer  <js@webkeks.org>
2822         PR objc/56870
2823         * unwind-seh.c (_GCC_specific_handler): Pass proper
2824         value to unwind-handler.
2826 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
2828         * soft-fp/adddf3.c: Update from glibc.
2829         * soft-fp/addsf3.c: Likewise.
2830         * soft-fp/addtf3.c: Likewise.
2831         * soft-fp/divdf3.c: Likewise.
2832         * soft-fp/divsf3.c: Likewise.
2833         * soft-fp/divtf3.c: Likewise.
2834         * soft-fp/double.h: Likewise.
2835         * soft-fp/eqdf2.c: Likewise.
2836         * soft-fp/eqsf2.c: Likewise.
2837         * soft-fp/eqtf2.c: Likewise.
2838         * soft-fp/extenddftf2.c: Likewise.
2839         * soft-fp/extended.h: Likewise.
2840         * soft-fp/extendsfdf2.c: Likewise.
2841         * soft-fp/extendsftf2.c: Likewise.
2842         * soft-fp/extendxftf2.c: Likewise.
2843         * soft-fp/fixdfdi.c: Likewise.
2844         * soft-fp/fixdfsi.c: Likewise.
2845         * soft-fp/fixdfti.c: Likewise.
2846         * soft-fp/fixsfdi.c: Likewise.
2847         * soft-fp/fixsfsi.c: Likewise.
2848         * soft-fp/fixsfti.c: Likewise.
2849         * soft-fp/fixtfdi.c: Likewise.
2850         * soft-fp/fixtfsi.c: Likewise.
2851         * soft-fp/fixtfti.c: Likewise.
2852         * soft-fp/fixunsdfdi.c: Likewise.
2853         * soft-fp/fixunsdfsi.c: Likewise.
2854         * soft-fp/fixunsdfti.c: Likewise.
2855         * soft-fp/fixunssfdi.c: Likewise.
2856         * soft-fp/fixunssfsi.c: Likewise.
2857         * soft-fp/fixunssfti.c: Likewise.
2858         * soft-fp/fixunstfdi.c: Likewise.
2859         * soft-fp/fixunstfsi.c: Likewise.
2860         * soft-fp/fixunstfti.c: Likewise.
2861         * soft-fp/floatdidf.c: Likewise.
2862         * soft-fp/floatdisf.c: Likewise.
2863         * soft-fp/floatditf.c: Likewise.
2864         * soft-fp/floatsidf.c: Likewise.
2865         * soft-fp/floatsisf.c: Likewise.
2866         * soft-fp/floatsitf.c: Likewise.
2867         * soft-fp/floattidf.c: Likewise.
2868         * soft-fp/floattisf.c: Likewise.
2869         * soft-fp/floattitf.c: Likewise.
2870         * soft-fp/floatundidf.c: Likewise.
2871         * soft-fp/floatundisf.c: Likewise.
2872         * soft-fp/floatunditf.c: Likewise.
2873         * soft-fp/floatunsidf.c: Likewise.
2874         * soft-fp/floatunsisf.c: Likewise.
2875         * soft-fp/floatunsitf.c: Likewise.
2876         * soft-fp/floatuntidf.c: Likewise.
2877         * soft-fp/floatuntisf.c: Likewise.
2878         * soft-fp/floatuntitf.c: Likewise.
2879         * soft-fp/gedf2.c: Likewise.
2880         * soft-fp/gesf2.c: Likewise.
2881         * soft-fp/getf2.c: Likewise.
2882         * soft-fp/ledf2.c: Likewise.
2883         * soft-fp/lesf2.c: Likewise.
2884         * soft-fp/letf2.c: Likewise.
2885         * soft-fp/muldf3.c: Likewise.
2886         * soft-fp/mulsf3.c: Likewise.
2887         * soft-fp/multf3.c: Likewise.
2888         * soft-fp/negdf2.c: Likewise.
2889         * soft-fp/negsf2.c: Likewise.
2890         * soft-fp/negtf2.c: Likewise.
2891         * soft-fp/op-1.h: Likewise.
2892         * soft-fp/op-2.h: Likewise.
2893         * soft-fp/op-4.h: Likewise.
2894         * soft-fp/op-8.h: Likewise.
2895         * soft-fp/op-common.h: Likewise.
2896         * soft-fp/quad.h: Likewise.
2897         * soft-fp/single.h: Likewise.
2898         * soft-fp/soft-fp.h: Likewise.
2899         * soft-fp/subdf3.c: Likewise.
2900         * soft-fp/subsf3.c: Likewise.
2901         * soft-fp/subtf3.c: Likewise.
2902         * soft-fp/truncdfsf2.c: Likewise.
2903         * soft-fp/trunctfdf2.c: Likewise.
2904         * soft-fp/trunctfsf2.c: Likewise.
2905         * soft-fp/trunctfxf2.c: Likewise.
2906         * soft-fp/unorddf2.c: Likewise.
2907         * soft-fp/unordsf2.c: Likewise.
2908         * soft-fp/unordtf2.c: Likewise.
2909         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
2910         macro.
2911         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2912         Likewise.
2913         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2914         Likewise.
2915         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2916         Likewise.
2917         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2918         Likewise.
2919         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2920         Likewise.
2921         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2922         Likewise.
2923         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2924         Likewise.
2925         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2926         Likewise.
2927         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2928         Likewise.
2929         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2930         Likewise.
2931         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2932         Likewise.
2933         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2934         Likewise.
2935         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
2936         Likewise.
2937         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
2938         Likewise.
2939         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2940         Likewise.
2942 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2944         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
2945         cannot be represented.
2946         * config/s390/32/_fixsfdi.c: Likewise.
2947         * config/s390/32/_fixtfdi.c: Likewise.
2948         * config/s390/32/_fixunsdfdi.c: Likewise.
2949         * config/s390/32/_fixunssfdi.c: Likewise.
2950         * config/s390/32/_fixunstfdi.c: Likewise.
2952 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
2954         * configure.ac (libgcc_cv_mips_hard_float): New.
2955         * configure: Regenerate.
2956         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
2957         t-softfp-sfdf for hard-float targets.
2958         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
2959         (softfp_float_modes, softfp_int_modes, softfp_extensions)
2960         (softfp_truncations, softfp_exclude_libgcc2): New.
2961         * config/t-hardfp: New file.
2962         * config/t-hardfp-sfdf: Likewise.
2963         * config/hardfp.c: Likewise.
2965 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2967         * config.host: Include t-floattodi also for s390x.
2968         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
2969         * config/s390/32/_fixsfdi.c: Likewise.
2970         * config/s390/32/_fixtfdi.c: Likewise.
2971         * config/s390/32/_fixunsdfdi.c: Likewise.
2972         * config/s390/32/_fixunssfdi.c: Likewise.
2973         * config/s390/32/_fixunstfdi.c: Likewise.
2975 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2977         PR target/59788
2978         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
2979         (install-libgcc-unwind-map-forbuild): New target.
2980         (all): Depend on install-libgcc-unwind-map-forbuild.
2981         (install-libgcc-unwind-map): New target.
2982         (install): Depend on install-libgcc-unwind-map.
2984 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
2986         * config/nios2/crti.S (_init): Initialize GOT pointer from
2987         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
2989 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
2991         * configure.ac: Check __mips64 when setting host_address.
2992         * configure: Regenerate.
2993         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
2994         mips/t-mips64 and t-softfp.
2995         (mips*-*-linux*): Don't add mips/t-tpbit.
2996         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
2997         (DPBIT, DPBIT_CFLAGS): Delete.
2998         * config/mips/sfp-machine.h: New file.
2999         * config/mips/t-mips64: Likewise.
3000         * config/mips/t-softfp-tf: Likewise.
3001         * config/mips/t-tpbit: Delete.
3003 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3005         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
3006         as long long.
3008 2014-01-25  Walter Lee  <walt@tilera.com>
3010         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
3011         config.h or system.h.
3012         (bool) Define.
3014 2014-01-25  Walter Lee  <walt@tilera.com>
3016         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
3017         (post_atomic_barrier): Ditto.
3018         (__fetch_and_do): New macro.
3019         (__atomic_fetch_and_do): Use __fetch_and_do.
3020         (__sync_fetch_and_do): New macro.
3021         (__sync_fetch_and_add_4): New function.
3022         (__sync_fetch_and_sub_4): New function.
3023         (__sync_fetch_and_or_4): New function.
3024         (__sync_fetch_and_and_4): New function.
3025         (__sync_fetch_and_xor_4): New function.
3026         (__sync_fetch_and_nand_4): New function.
3027         (__sync_fetch_and_add_8): New function.
3028         (__sync_fetch_and_sub_8): New function.
3029         (__sync_fetch_and_or_8): New function.
3030         (__sync_fetch_and_and_8): New function.
3031         (__sync_fetch_and_xor_8): New function.
3032         (__sync_fetch_and_nand_8): New function.
3033         (__do_and_fetch): New macro.
3034         (__atomic_do_and_fetch): Use __do_and_fetch.
3035         (__sync_do_and_fetch): New macro.
3036         (__sync_add_and_fetch_4): New function.
3037         (__sync_sub_and_fetch_4): New function.
3038         (__sync_or_and_fetch_4): New function.
3039         (__sync_and_and_fetch_4): New function.
3040         (__sync_xor_and_fetch_4): New function.
3041         (__sync_nand_and_fetch_4): New function.
3042         (__sync_add_and_fetch_8): New function.
3043         (__sync_sub_and_fetch_8): New function.
3044         (__sync_or_and_fetch_8): New function.
3045         (__sync_and_and_fetch_8): New function.
3046         (__sync_xor_and_fetch_8): New function.
3047         (__sync_nand_and_fetch_8): New function.
3048         (__sync_exchange_methods): New macro.
3049         (__sync_val_compare_and_swap_4): New function.
3050         (__sync_bool_compare_and_swap_4): New function.
3051         (__sync_lock_test_and_test_4): New function.
3052         (__sync_val_compare_and_swap_8): New function.
3053         (__sync_bool_compare_and_swap_8): New function.
3054         (__sync_lock_test_and_test_8): New function.
3055         (__subword_cmpxchg_body): New macro.
3056         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
3057         (__atomic_compare_exchange_2): Ditto.
3058         (__sync_subword_cmpxchg): New macro.
3059         (__sync_val_compare_and_swap_1): New function.
3060         (__sync_bool_compare_and_swap_1): New function.
3061         (__sync_val_compare_and_swap_2): New function.
3062         (__sync_bool_compare_and_swap_2): New function.
3063         (__atomic_subword): Rename to ...
3064         (__subword): ... New name.
3065         (__atomic_subword_fetch): Use __subword.
3066         (__sync_subword_fetch): New macro.
3067         (__sync_fetch_and_add_1): New function.
3068         (__sync_fetch_and_sub_1): New function.
3069         (__sync_fetch_and_or_1): New function.
3070         (__sync_fetch_and_and_1): New function.
3071         (__sync_fetch_and_xor_1): New function.
3072         (__sync_fetch_and_nand_1): New function.
3073         (__sync_fetch_and_add_2): New function.
3074         (__sync_fetch_and_sub_2): New function.
3075         (__sync_fetch_and_or_2): New function.
3076         (__sync_fetch_and_and_2): New function.
3077         (__sync_fetch_and_xor_2): New function.
3078         (__sync_fetch_and_nand_2): New function.
3079         (__sync_add_and_fetch_1): New function.
3080         (__sync_sub_and_fetch_1): New function.
3081         (__sync_or_and_fetch_1): New function.
3082         (__sync_and_and_fetch_1): New function.
3083         (__sync_xor_and_fetch_1): New function.
3084         (__sync_nand_and_fetch_1): New function.
3085         (__sync_add_and_fetch_2): New function.
3086         (__sync_sub_and_fetch_2): New function.
3087         (__sync_or_and_fetch_2): New function.
3088         (__sync_and_and_fetch_2): New function.
3089         (__sync_xor_and_fetch_2): New function.
3090         (__sync_nand_and_fetch_2): New function.
3091         (__atomic_subword_lock): Use __subword.
3092         (__sync_subword_lock): New macro.
3093         (__sync_lock_test_and_set_1): New function.
3094         (__sync_lock_test_and_set_2): New function.
3096 2014-01-25  Walter Lee  <walt@tilera.com>
3098         * config/tilepro/atomic.c (BIT_OFFSET): Define.
3099         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
3100         (__atomic_subword): Ditto.
3102 2014-01-25  Walter Lee  <walt@tilera.com>
3104         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
3105         a prefix op argument.
3106         (__atomic_nand_fetch_4): Add prefix op.
3107         (__atomic_nand_fetch_8): Ditto.
3109 2014-01-21  Baruch Siach  <barch@tkos.co.il>
3111         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
3113 2014-01-09  Rong Xu  <xur@google.com>
3115         * libgcov-driver.c (this_prg): make it local to save
3116         bss space.
3117         (gcov_exit_compute_summary): Ditto.
3118         (gcov_exit_merge_gcda): Ditto.
3119         (gcov_exit_merge_summary): Ditto.
3120         (gcov_exit_dump_gcov): Ditto.
3122 2014-01-08  Rong Xu  <xur@google.com>
3124         * libgcov-driver.c: Use libgcov.h.
3125         (buffer_fn_data): Use xmalloc instead of malloc.
3126         (gcov_exit_merge_gcda): Ditto.
3127         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
3128         * libgcov.h: New common header files for libgcov-*.h.
3129         * libgcov-interface.c: Use libgcov.h
3130         * libgcov-merge.c: Ditto.
3131         * libgcov-profiler.c: Ditto.
3132         * Makefile.in: Add dependence to libgcov.h
3134 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
3136         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
3137         case of small numerator and finite nonzero result.
3139 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
3141         Update copyright years
3143 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
3145         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
3146         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
3147         config/arc/dp-hack.h, config/arc/fp-hack.h,
3148         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
3149         config/arc/ieee-754/arc600-dsp/divdf3.S,
3150         config/arc/ieee-754/arc600-dsp/divsf3.S,
3151         config/arc/ieee-754/arc600-dsp/muldf3.S,
3152         config/arc/ieee-754/arc600-dsp/mulsf3.S,
3153         config/arc/ieee-754/arc600-mul64/divdf3.S,
3154         config/arc/ieee-754/arc600-mul64/divsf3.S,
3155         config/arc/ieee-754/arc600-mul64/muldf3.S,
3156         config/arc/ieee-754/arc600-mul64/mulsf3.S,
3157         config/arc/ieee-754/arc600/divsf3.S,
3158         config/arc/ieee-754/arc600/mulsf3.S,
3159         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
3160         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
3161         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
3162         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
3163         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
3164         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
3165         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
3166         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
3167         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
3168         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
3169         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
3170         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
3171         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
3172         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
3173         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
3174         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
3175         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
3176         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
3177         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
3178         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
3179         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
3180         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
3181         vtv_start_preinit.c: Use the standard form for the copyright notice.
3183 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
3184             Chung-Lin Tang  <cltang@codesourcery.com>
3185             Based on patches from Altera Corporation
3187         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
3188         * config/nios2/lib2-nios2.h: New file.
3189         * config/nios2/lib2-divmod-hi.c: New file.
3190         * config/nios2/linux-unwind.h: New file.
3191         * config/nios2/lib2-divmod.c: New file.
3192         * config/nios2/linux-atomic.c: New file.
3193         * config/nios2/t-nios2: New file.
3194         * config/nios2/crti.asm: New file.
3195         * config/nios2/t-linux: New file.
3196         * config/nios2/lib2-divtable.c: New file.
3197         * config/nios2/lib2-mul.c: New file.
3198         * config/nios2/tramp.c: New file.
3199         * config/nios2/crtn.asm: New file.
3201 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
3203         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
3204         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
3205         from cpuid.h to check vendor signatures.
3207 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
3209         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
3210         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
3211         (get_amd_cpu): Likewise.
3213 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
3215         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
3216         Haswell.
3218 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
3219             H.J. Lu  <hongjiu.lu@intel.com>
3221         PR target/59422
3222         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
3223         and AMD_JAGUAR.
3224         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
3225         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
3226         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
3227         FEATURE_XOP and FEATURE_FMA.
3228         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
3229         AMDFAM15H_BDVER3.
3230         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
3231         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
3232         FEATURE_FMA4 and FEATURE_XOP.
3234 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
3236         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
3237         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
3238         (get_intel_cpu): Updated.
3240 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
3242         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
3244 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
3246         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
3247         instructions when __SSE_MATH__ is defined.
3249 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
3251         * config.host (microblaze-*-rtems*): New.
3253 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
3255         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
3256         architectures that do not have hardware divide instruction.
3257         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
3259 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
3261         * longlong.h: Delete (moved to include/).
3263 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3265         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
3266         of normal number and qNaN to not raise an inexact exception.
3268 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
3270         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
3272 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
3274         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
3275         for correct opcodes on BE.
3277 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
3279         * soft-fp/op-4.h: Update from glibc.
3281 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
3283         * libgcc2.c (__udivmoddi4): Define new implementation when
3284         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
3285         divide instructions.
3287 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
3289         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
3291 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3293         * config/t-softfp (soft-fp-objects-base): New variable.
3294         (soft-fp-objects): Use it.
3296 2013-11-23  David Edelson  <dje.gcc@gmail.com>
3297             Andrew Dixie  <andrewd@gentrack.com>
3299         PR target/33704
3300         * config/rs6000/aixinitfini.c: New file.
3301         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
3302         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
3303         symbols.
3305 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
3307         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
3309 2013-11-18  Jan Hubicka  <jh@suse.cz>
3311         * libgcov-driver.c (run_accounted): Make global level static.
3312         (gcov_exit_merge_summary): Silence warning; do not clear
3313         run_accounted here.
3314         (gcov_exit): Clear it here.
3316         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
3317         run_accounted.
3319         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
3320         (all_prg, crc32): Remove static vars.
3321         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
3322         all_prg.
3323         (gcov_exit_merge_gcda): Add crc32 parameter.
3324         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
3325         do not account run if it was already accounted.
3326         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
3327         (gcov_exit): Initialize all_prg; update.
3329 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
3331         * configure: Regenerate.
3333 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3334             Alan Modra  <amodra@gmail.com>
3336         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
3337         (frob_update_context): Use it.
3339 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3340             Alan Modra  <amodra@gmail.com>
3342         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
3343         (trampoline_initial): Provide ELFv2 variant.
3344         (__trampoline_setup): Likewise.
3346         * config/rs6000/linux-unwind.h (frob_update_context): Do not
3347         check for AIX indirect function call sequence if _CALL_ELF == 2.
3349 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3350             Alan Modra  <amodra@gmail.com>
3352         * config/rs6000/linux-unwind.h (get_regs): Do not support
3353         old kernel versions if _CALL_ELF == 2.
3354         (frob_update_context): Do not support PLT stub variants only
3355         generated by old linkers if _CALL_ELF == 2.
3357 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3358             Alan Modra  <amodra@gmail.com>
3360         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
3361         location of CR save area for 64-bit little-endian systems.
3363 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
3365         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
3366         in tmake_file.
3367         * config/arm/t-vxworks: Delete.
3369 2013-11-10  Kai Tietz  <ktietz@redhat.com>
3371         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
3372         Increment load-count on use of LIBGCC_SONAME DLL.
3373         (hmod_libgcc): New static variable to hold handle of
3374         LIBGCC_SONAME DLL.
3375         (__gcc_deregister_frame): Decrement load-count of
3376         LIBGCC_SONAME DLL.
3378 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3380         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
3381         availability.
3382         * configure: Regenerate
3384 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
3386         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
3387         FP_EX_DENORM.  Store result to volatile location after SSE division
3388         to close interrupt window.  Remove unneeded fwait after x87
3389         division since interrupt window will be closed by emitted fstp.
3390         Rewrite FP_EX_INEXACT handling.
3392 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
3394         * soft-fp/README: Update.
3395         * soft-fp/adddf3.c: Update from glibc.
3396         * soft-fp/addsf3.c: Likewise.
3397         * soft-fp/addtf3.c: Likewise.
3398         * soft-fp/divdf3.c: Likewise.
3399         * soft-fp/divsf3.c: Likewise.
3400         * soft-fp/divtf3.c: Likewise.
3401         * soft-fp/double.h: Likewise.
3402         * soft-fp/eqdf2.c: Likewise.
3403         * soft-fp/eqsf2.c: Likewise.
3404         * soft-fp/eqtf2.c: Likewise.
3405         * soft-fp/extenddftf2.c: Likewise.
3406         * soft-fp/extended.h: Likewise.
3407         * soft-fp/extendsfdf2.c: Likewise.
3408         * soft-fp/extendsftf2.c: Likewise.
3409         * soft-fp/extendxftf2.c: Likewise.
3410         * soft-fp/fixdfdi.c: Likewise.
3411         * soft-fp/fixdfsi.c: Likewise.
3412         * soft-fp/fixdfti.c: Likewise.
3413         * soft-fp/fixsfdi.c: Likewise.
3414         * soft-fp/fixsfsi.c: Likewise.
3415         * soft-fp/fixsfti.c: Likewise.
3416         * soft-fp/fixtfdi.c: Likewise.
3417         * soft-fp/fixtfsi.c: Likewise.
3418         * soft-fp/fixtfti.c: Likewise.
3419         * soft-fp/fixunsdfdi.c: Likewise.
3420         * soft-fp/fixunsdfsi.c: Likewise.
3421         * soft-fp/fixunsdfti.c: Likewise.
3422         * soft-fp/fixunssfdi.c: Likewise.
3423         * soft-fp/fixunssfsi.c: Likewise.
3424         * soft-fp/fixunssfti.c: Likewise.
3425         * soft-fp/fixunstfdi.c: Likewise.
3426         * soft-fp/fixunstfsi.c: Likewise.
3427         * soft-fp/fixunstfti.c: Likewise.
3428         * soft-fp/floatdidf.c: Likewise.
3429         * soft-fp/floatdisf.c: Likewise.
3430         * soft-fp/floatditf.c: Likewise.
3431         * soft-fp/floatsidf.c: Likewise.
3432         * soft-fp/floatsisf.c: Likewise.
3433         * soft-fp/floatsitf.c: Likewise.
3434         * soft-fp/floattidf.c: Likewise.
3435         * soft-fp/floattisf.c: Likewise.
3436         * soft-fp/floattitf.c: Likewise.
3437         * soft-fp/floatundidf.c: Likewise.
3438         * soft-fp/floatundisf.c: Likewise.
3439         * soft-fp/floatunditf.c: Likewise.
3440         * soft-fp/floatunsidf.c: Likewise.
3441         * soft-fp/floatunsisf.c: Likewise.
3442         * soft-fp/floatunsitf.c: Likewise.
3443         * soft-fp/floatuntidf.c: Likewise.
3444         * soft-fp/floatuntisf.c: Likewise.
3445         * soft-fp/floatuntitf.c: Likewise.
3446         * soft-fp/gedf2.c: Likewise.
3447         * soft-fp/gesf2.c: Likewise.
3448         * soft-fp/getf2.c: Likewise.
3449         * soft-fp/ledf2.c: Likewise.
3450         * soft-fp/lesf2.c: Likewise.
3451         * soft-fp/letf2.c: Likewise.
3452         * soft-fp/muldf3.c: Likewise.
3453         * soft-fp/mulsf3.c: Likewise.
3454         * soft-fp/multf3.c: Likewise.
3455         * soft-fp/negdf2.c: Likewise.
3456         * soft-fp/negsf2.c: Likewise.
3457         * soft-fp/negtf2.c: Likewise.
3458         * soft-fp/op-1.h: Likewise.
3459         * soft-fp/op-2.h: Likewise.
3460         * soft-fp/op-4.h: Likewise.
3461         * soft-fp/op-8.h: Likewise.
3462         * soft-fp/op-common.h: Likewise.
3463         * soft-fp/quad.h: Likewise.
3464         * soft-fp/single.h: Likewise.
3465         * soft-fp/soft-fp.h: Likewise.
3466         * soft-fp/subdf3.c: Likewise.
3467         * soft-fp/subsf3.c: Likewise.
3468         * soft-fp/subtf3.c: Likewise.
3469         * soft-fp/truncdfsf2.c: Likewise.
3470         * soft-fp/trunctfdf2.c: Likewise.
3471         * soft-fp/trunctfsf2.c: Likewise.
3472         * soft-fp/trunctfxf2.c: Likewise.
3473         * soft-fp/unorddf2.c: Likewise.
3474         * soft-fp/unordsf2.c: Likewise.
3475         * soft-fp/unordtf2.c: Likewise.
3477 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
3479         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
3480         (_FP_MUL_MEAT_D): Ditto.
3481         (_FP_DIV_MEAT_S): Ditto.
3482         (_FP_DIV_MEAT_D): Ditto.
3483         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
3484         t-softfp-sfdf and t-softfp to tmake_file.
3486 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
3488         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
3489         * config/i386/crtprec.c: Ditto.
3491 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
3492             Shiva Chen  <shiva0217@gmail.com>
3494         * config.host (nds32*-elf*): Add nds32 target.
3495         * config/nds32 : New directory and files.
3497 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
3499         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
3500         * config.host (cpu_type) <Setting default>: Add entry for
3501         crisv32-*-*.
3502         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
3503         <crisv32-*-linux*>: Adjust.
3504         * longlong.h: Wrap the whole CRIS section in a single
3505         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
3506         and sub_ddmmss.
3507         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
3508         defined.
3509         [__CRIS__] (__umulsidi3): Define.
3510         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
3511         * config/cris/sfp-machine.h: New file.
3512         * config/cris/umulsidi3.S: New file.
3513         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
3514         * config/cris/arit.c (SIGNMULT): New macro.
3515         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
3516         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
3517         saving 3 out of originally 33 cycles from the fastest
3518         path, 3 out of 54 from the medium path and one from the longest
3519         path.  Improve comments.
3521 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
3523         * sync.c: Remove static aliases and define each function directly
3524         under its real name.
3526 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
3528         * config.host (hppa*64*-*-linux*): Define extra_parts.
3529         (hppa*-*-linux*): Likewise.
3531 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
3533         * config/arc/crtgend.S: Add 2013 to Copyright years.
3534         * config/arc/gmon/atomic.h: Likewise.
3535         * config/arc/gmon/auxreg.h: Likewise.
3536         * config/arc/gmon/sys/gmon_out.h: Likewise.
3537         * config/arc/gmon/sys/gmon.h: Likewise.
3538         * config/arc/gmon/prof-freq.c: Likewise.
3539         * config/arc/gmon/mcount.c: Likewise.
3540         * config/arc/gmon/prof-freq-stub.S: Likewise.
3541         * config/arc/gmon/gmon.c: Likewise.
3542         * config/arc/gmon/machine-gmon.h: Likewise.
3543         * config/arc/gmon/profil.S: Likewise.
3544         * config/arc/gmon/dcache_linesz.S: Likewise.
3545         * config/arc/crtg.S: Likewise.
3546         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
3547         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
3548         * config/arc/ieee-754/adddf3.S: Likewise.
3549         * config/arc/ieee-754/truncdfsf2.S: Likewise.
3550         * config/arc/ieee-754/fixsfsi.S: Likewise.
3551         * config/arc/ieee-754/gtsf2.S: Likewise.
3552         * config/arc/ieee-754/floatsisf.S: Likewise.
3553         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
3554         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
3555         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
3556         * config/arc/ieee-754/fixdfsi.S: Likewise.
3557         * config/arc/ieee-754/addsf3.S: Likewise.
3558         * config/arc/ieee-754/gesf2.S: Likewise.
3559         * config/arc/ieee-754/floatsidf.S: Likewise.
3560         * config/arc/ieee-754/extendsfdf2.S: Likewise.
3561         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
3562         * config/arc/ieee-754/gtdf2.S: Likewise.
3563         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
3564         * config/arc/ieee-754/uneqdf2.S: Likewise.
3565         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3566         * config/arc/ieee-754/uneqsf2.S: Likewise.
3567         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
3568         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
3569         * config/arc/ieee-754/eqdf2.S: Likewise.
3570         * config/arc/ieee-754/ordsf2.S: Likewise.
3571         * config/arc/ieee-754/divsf3.S: Likewise.
3572         * config/arc/ieee-754/divdf3.S: Likewise.
3573         * config/arc/ieee-754/floatunsidf.S: Likewise.
3574         * config/arc/ieee-754/orddf2.S: Likewise.
3575         * config/arc/ieee-754/eqsf2.S: Likewise.
3576         * config/arc/ieee-754/gedf2.S: Likewise.
3577         * config/arc/crtn.S: Likewise.
3578         * config/arc/crti.S: Likewise.
3579         * config/arc/t-arc700-uClibc: Likewise.
3580         * config/arc/asm.h: Likewise.
3581         * config/arc/libgcc-excl.ver: Likewise.
3582         * config/arc/t-arc-newlib: Likewise.
3583         * config/arc/divtab-arc700.c: Likewise.
3584         * config/arc/initfini.c: Likewise.
3585         * config/arc/fp-hack.h: Likewise.
3587 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
3588             Diego Novillo  <dnovillo@google.com>
3590         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
3591         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
3592         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
3593         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
3595 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
3596             Brendan Kehoe  <brendan@zen.org>
3597             Simon Cook  <simon.cook@embecosm.com>
3599         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
3600         * config/arc: New directory.
3601         * longlong.h [__arc__] (umul_ppmm): Remove.
3602         [__arc__] (__umulsidi3): Define.
3603         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
3604         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
3606 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
3608         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
3609         CreateSemaphoreA.
3610         * config/i386/gthr-win32.h: Likewise.
3612 2013-09-16  DJ Delorie  <dj@redhat.com>
3614         * config/rl78/vregs.h: Add G10 register definitions.
3615         * config/rl78/lib2mul.c: Enable for RL78/G10.
3616         * config/rl78/lib2div.c: Likewise.
3617         * config/rl78/lshrsi3.S: Use vregs.h.
3618         * config/rl78/cmpsi2.S: Likewise.
3619         * config/rl78/trampoline.S: Likewise.
3620         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
3622 2013-09-14  DJ Delorie  <dj@redhat.com>
3623             Nick Clifton  <nickc@redhat.com>
3625         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
3626         * config/rl78/vregs.h: New.
3627         * config/rl78/signbit.S: New file.  Implements signbit function.
3628         * config/rl78/divmodsi.S: New.
3629         * config/rl78/divmodhi.S: New.
3630         * config/rl78/divmodqi.S: New.
3631         * config/rl78/t-rl78: Build them here...
3632         * config/rl78/lib2div.c: ...but not here.
3634 2013-09-12  DJ Delorie  <dj@redhat.com>
3636         * config.host (msp*-*-elf): New.
3637         * config/msp430/: New port.
3639 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
3641         PR gcov-profile/58127
3642         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
3643         __thread var for emulated TLS.
3644         (__gcov_indirect_call_counters): Likewise.
3646 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
3647             Catherine Moore  <clm@codesourcery.com>
3648             Richard Sandiford  <rdsandiford@googlemail.com>
3650         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
3651         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
3652         (CALL_STUB_NO_RET): Likewise.
3653         (CALL_STUB_RET): Likewise.
3654         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
3655         __mips16_ret call/return stub symbols.
3656         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
3657         to tmake_file.
3659 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
3661         * config.host <mips*-*-linux*>: Remove a stray comment.
3663 2013-08-10  Jan Hubicka  <jh@suse.cz>
3665         Work around binutils PR14342
3666         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
3667         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
3668         (L_gcov_indirect_call_profiler_v2): New.
3670 2013-08-06  Jan Hubicka  <jh@suse.cz>
3672         * libgcov.c (__gcov_indirect_call_callee,
3673         __gcov_indirect_call_counters): New global vars.
3674         (__gcov_indirect_call_profiler): replace by ...
3675         (__gcov_indirect_call_profiler_v2) ... this one.
3677 2013-08-06  Caroline Tice  <cmtice@google.com>
3679         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
3680         vtv_start_preinit.o and vtv_end_preinit.o.
3681         * configure.ac: Add code to check/set enable_vtable_verify.
3682         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
3683         true.
3684         * vtv_start_preinit.c: New file.
3685         * vtv_end_preinit.c: New file.
3686         * vtv_start.c: New file.
3687         * vtv_end.c: New file.
3688         * configure: Regenerated.
3690 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
3692         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
3693         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
3694         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
3695         GPL-3.0-with-GCC-exception.
3697 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
3699         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
3700         ISA and up.
3702 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3704         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
3705         mapping for FPRs when creating the fallback framestate.
3707 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
3709         PR target/57516
3710         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
3711         (__round_s2_const, __round_u2_const)
3712         (__round_s4_const, __round_u4_const, __round_x8):
3713         Saturate result if addition result cannot be represented.
3715 2013-07-15  Matthias Klose  <doko@ubuntu.com>
3717         * libgcc2.c: Don't include <limits.h>.
3719 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
3721         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
3723 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
3725         PR target/29776
3726         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
3728 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
3730         PR middle-end/36041
3731         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
3732         Define.
3733         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
3734         instead of table lookups.
3735         (__popcountDI2): Likewise.
3737 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
3739         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
3740         correctly.
3742 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
3744         PR other/53317
3745         * soft-fp/adddf3.c: Update from glibc.
3746         * soft-fp/addsf3.c: Likewise.
3747         * soft-fp/addtf3.c: Likewise.
3748         * soft-fp/divdf3.c: Likewise.
3749         * soft-fp/divsf3.c: Likewise.
3750         * soft-fp/divtf3.c: Likewise.
3751         * soft-fp/double.h: Likewise.
3752         * soft-fp/eqdf2.c: Likewise.
3753         * soft-fp/eqsf2.c: Likewise.
3754         * soft-fp/eqtf2.c: Likewise.
3755         * soft-fp/extenddftf2.c: Likewise.
3756         * soft-fp/extended.h: Likewise.
3757         * soft-fp/extendsfdf2.c: Likewise.
3758         * soft-fp/extendsftf2.c: Likewise.
3759         * soft-fp/fixdfdi.c: Likewise.
3760         * soft-fp/fixdfsi.c: Likewise.
3761         * soft-fp/fixsfdi.c: Likewise.
3762         * soft-fp/fixsfsi.c: Likewise.
3763         * soft-fp/fixtfdi.c: Likewise.
3764         * soft-fp/fixtfsi.c: Likewise.
3765         * soft-fp/fixunsdfdi.c: Likewise.
3766         * soft-fp/fixunsdfsi.c: Likewise.
3767         * soft-fp/fixunssfdi.c: Likewise.
3768         * soft-fp/fixunssfsi.c: Likewise.
3769         * soft-fp/fixunstfdi.c: Likewise.
3770         * soft-fp/fixunstfsi.c: Likewise.
3771         * soft-fp/floatdidf.c: Likewise.
3772         * soft-fp/floatdisf.c: Likewise.
3773         * soft-fp/floatditf.c: Likewise.
3774         * soft-fp/floatsidf.c: Likewise.
3775         * soft-fp/floatsisf.c: Likewise.
3776         * soft-fp/floatsitf.c: Likewise.
3777         * soft-fp/floatundidf.c: Likewise.
3778         * soft-fp/floatundisf.c: Likewise.
3779         * soft-fp/floatunditf.c: Likewise.
3780         * soft-fp/floatunsidf.c: Likewise.
3781         * soft-fp/floatunsisf.c: Likewise.
3782         * soft-fp/floatunsitf.c: Likewise.
3783         * soft-fp/gedf2.c: Likewise.
3784         * soft-fp/gesf2.c: Likewise.
3785         * soft-fp/getf2.c: Likewise.
3786         * soft-fp/ledf2.c: Likewise.
3787         * soft-fp/lesf2.c: Likewise.
3788         * soft-fp/letf2.c: Likewise.
3789         * soft-fp/muldf3.c: Likewise.
3790         * soft-fp/mulsf3.c: Likewise.
3791         * soft-fp/multf3.c: Likewise.
3792         * soft-fp/negdf2.c: Likewise.
3793         * soft-fp/negsf2.c: Likewise.
3794         * soft-fp/negtf2.c: Likewise.
3795         * soft-fp/op-1.h: Likewise.
3796         * soft-fp/op-2.h: Likewise.
3797         * soft-fp/op-4.h: Likewise.
3798         * soft-fp/op-8.h: Likewise.
3799         * soft-fp/op-common.h: Likewise.
3800         * soft-fp/quad.h: Likewise.
3801         * soft-fp/single.h: Likewise.
3802         * soft-fp/soft-fp.h: Likewise.
3803         * soft-fp/subdf3.c: Likewise.
3804         * soft-fp/subsf3.c: Likewise.
3805         * soft-fp/subtf3.c: Likewise.
3806         * soft-fp/truncdfsf2.c: Likewise.
3807         * soft-fp/trunctfdf2.c: Likewise.
3808         * soft-fp/trunctfsf2.c: Likewise.
3809         * soft-fp/unorddf2.c: Likewise.
3810         * soft-fp/unordsf2.c: Likewise.
3811         * soft-fp/unordtf2.c: Likewise.
3812         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
3813         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3814         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3815         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3816         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3817         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3818         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3819         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3820         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3821         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
3822         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
3823         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3825 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
3827         * config/mips/lib2funcs.c: New file.
3828         * config/mips/t-mips (LIB2ADD_ST): Add it.
3830 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
3832         PR target/6526
3833         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
3834         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
3836 2013-06-08  Walter Lee  <walt@tilera.com>
3838         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
3839         Replace int64_t with long long.  Add __extension__ where
3840         appropriate.
3841         * config/tilepro/atomic.c: Include config.h.
3843 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
3845         * config.host (arm-wrs-vxworks): Configure with other soft float.
3847 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
3849         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
3850         (mips64r5900el-*-elf*): New configurations.
3852 2013-06-04  Alan Modra  <amodra@gmail.com>
3854         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
3856 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
3858         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
3860 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
3862         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
3863         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
3864         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
3866 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
3868         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
3869         (powerpc-wrs-vxworks): Likewise.
3871 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
3873         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
3874         signal frames as well.
3875         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
3876         STACK_BIAS to the CFA offset.
3878 2013-05-17  Richard Henderson  <rth@redhat.com>
3880         PR target/49146
3881         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
3882         (execute_cfa_program): Use it when storing to fs->regs.
3884 2013-05-08  Kai Tietz  <ktietz@redhat.com>
3886         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
3887         (__deregister_frame_info): Likewise.
3889 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
3891         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
3892         NaN's payload.
3894         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
3896 2013-04-25  Alan Modra  <amodra@gmail.com>
3898         * config.host: Match little-endian powerpc-linux.
3900 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
3902         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
3903         as 'unsigned long long' instead of 'unsigned long'.
3904         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
3905         'signed long'.
3907 2013-04-10  Julian Brown  <julian@codesourcery.com>
3909         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
3910         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
3911         unsigned char/unsigned short.
3912         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
3914 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3916         PR other/55274
3917         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
3919 2013-04-04  Meador Inge  <meadori@codesourcery.com>
3921         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
3922         computing the location of the link register.
3923         (aeabi_uldivmod): Ditto.
3925 2013-03-27  Kai Tietz  <ktietz@redhat.com>
3927         * config.host: Add support for cygwin x64 target.
3928         * configure: Regenerated.
3930 2013-03-26  Walter Lee  <walt@tilera.com>
3932         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
3933         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
3935 2013-03-25  Kai Tietz  <ktietz@redhat.com>
3937         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
3939 2013-03-20  Robert Mason  <rbmj@verizon.net>
3941         * config/vxlib-tls.c (__gthread_get_tsd_data,)
3942         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
3943         (__gthread_leave_tsd_dtor_context): Add prototypes.
3944         (tls_delete_hook): Update.
3946 2013-03-20  Catherine Moore  <clm@codesourcery.com>
3947             Joseph Myers  <joseph@codesourcery.com>
3948             Chao-ying Fu  <fu@mips.com>
3950         * config/mips/mips16.S:  Don't build for microMIPS.
3951         * config/mips/linux-unwind.h: Handle microMIPS frame.
3952         * config/mips/crtn.S (fini, init): New labels.
3954 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
3956         PR tree-optimization/53265
3957         * unwind-dw2.c (execute_cfa_program): Avoid
3958         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
3959         on targets with DWARF_FRAME_REGISTERS < 32.
3961 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
3963         PR target/49880
3964         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
3965         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
3967 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
3969         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
3970         sandybridge processors.
3972 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
3974         PR target/56529
3975         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
3976         inclusion list.
3978 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
3980         * config/microblaze/crti.S: Setup stack protection at entry
3982 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
3984         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
3985         (__rotldi3): Shift bytewise if applicable.
3987 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
3989         * config/aarch64/sync-cache.c
3990         (__aarch64_sync_cache_range): Silence warnings.
3992 2013-02-25  Catherine Moore  <clm@codesourcery.com>
3994         Revert:
3995         2013-02-24  Catherine Moore  <clm@codesourcery.com>
3996             Joseph Myers  <joseph@codesourcery.com>
3997             Chao-ying Fu  <fu@mips.com>
3999         * config/mips/mips16.S:  Don't build for microMIPS.
4000         * config/mips/linux-unwind.h: Handle microMIPS frame.
4001         * config/mips/crtn.S (fini, init): New labels.
4003 2013-02-24  Catherine Moore  <clm@codesourcery.com>
4004             Joseph Myers  <joseph@codesourcery.com>
4005             Chao-ying Fu  <fu@mips.com>
4007         * config/mips/mips16.S:  Don't build for microMIPS.
4008         * config/mips/linux-unwind.h: Handle microMIPS frame.
4009         * config/mips/crtn.S (fini, init): New labels.
4011 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4012         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
4013         as dividend.
4015 2013-02-16  Alan Modra  <amodra@gmail.com>
4017         PR target/55431
4018         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
4019         (ppc_fallback_frame_state): Always set up save locations for fp
4020         and altivec.  Don't bother with non-callee-saved regs, r0-r13
4021         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
4023 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
4025         PR target/54222
4026         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
4027         _ssmulHA, _ssmulSA.
4028         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
4029         _ssmulha3, _usmulusa3, _ssmulsa3.
4030         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
4031         (__muldi3): XCALL __muldi3_6 instead of rcall.
4032         (__umulsidi3, __mulsidi3): New functions.
4033         (do_prologue_saves, do_epilogue_restores): New .macros.
4034         (__divdi3_moddi3): Use them.
4035         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
4036         (__usmulusa3, __ssmulsa3): New functions.
4038 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
4039             Jack Howarth  <howarth@bromo.med.uc.edu>
4040             Patrick Marlier  <patrick.marlier@gmail.com>
4042         PR libitm/55693
4043         * config/darwin-crt-tm.c: Remove dummy functions hack.
4045 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
4047         PR target/54222
4048         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
4049         * config/avr/lib2-object.mk: New iterator to build objects from it.
4050         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
4051         lib2funcs.c.
4052         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
4053         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
4054         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
4055         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
4056         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
4057         * config/avr/lib1funcs-fixed.S: Implement them.
4059 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
4061         Update copyright years.
4063 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
4065         PR target/54601
4066         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
4067         Add crtcxa to extra_parts.
4068         * config/rs6000/exit.h: New file.
4069         * config/rs6000/cxa_atexit.c: New file.
4070         * config/rs6000/cxa_finalize.c: New file.
4071         * config/rs6000/crtcxa.c: New file.
4072         * config/rs6000/t-aix-cxa: New file.
4073         * config/rs6000/libgcc-aix-cxa.ver: New file.
4075 2013-01-31  Nick Clifton  <nickc@redhat.com>
4077         * config/v850/lib1funcs.S: Add support for e3v5 architecture
4078         variant.
4080 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
4082         PR target/54222
4083         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
4084         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
4085         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
4086         _divQQ,  _divHQ,  _divHA,  _divSA,
4087         _divUQQ, _divUHQ, _divUHA, _divUSA.
4089 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
4091         * config.host(microblaze*-linux*): tmake_file: Remove
4092         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
4093         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
4094         to exclude functions from being built with libgcc.c and use
4095         the microblaze assembly.
4097 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4099         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
4100         extra_parts.
4102 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
4104         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
4105         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
4106         __UINTPTR_TYPE__; also cast 'base' to the same type before the
4107         alignment operation.
4109 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
4111         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
4112         loop start address for cache clearing.
4114 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
4116         * config/avr/lib1funcs.S: Remove trailing blanks.
4117         * config/avr/lib1funcs-fixed.S: Ditto.
4119 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
4121         * config/avr/avr-lib.h: Add GPL copyright notice.
4123 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
4125         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
4126         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
4127         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
4128         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
4130 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
4132         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
4133         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
4135 2013-01-04  Nick Clifton  <nickc@redhat.com>
4137         * config/v850/lib1funcs.S: Only provide CALLT support functions if
4138         the CALLT instruction is supported.
4140 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
4142         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
4143         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
4145 2012-12-13  John Tytgat  <John@bass-software.com>
4147         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
4148         is 25.
4150 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
4152         PR libgcc/55451
4153         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
4154         undefined signed overflows.
4156 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
4158         PR target/55344
4159         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
4161 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
4163         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
4164         (FP_TRAPPING_EXCEPTIONS): Define.
4165         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
4166         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
4168 2012-12-04  Richard Henderson  <rth@redhat.com>
4170         PR bootstrap/55571
4171         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
4173 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4175         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
4176         (FP_EX_SHIFT): Define.
4177         (FP_TRAPPING_EXCEPTIONS): Define.
4179 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4181         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
4182         (FP_ROUNDMODE): Use FP_RND_MASK.
4183         * config/aarch64/sfp-exceptions.c: New.
4184         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4185         Use __sfp_handle_exceptions.
4187 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
4189         * config.host: (arm*-*-freebsd*): Remove.
4190         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
4191         (arm*-*-elf*): Remove.
4192         (arm*-*-wince-pe*): Remove.
4193         * arm/unwind-arm.c (struct fpa_reg): Delete.
4194         (struct fpa_regs): Delete.
4195         (phase1_vrs): Remove fpa element.
4196         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
4197         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
4198         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
4199         * ieee754-sf.S (floatundisf): Remove FPA support.
4200         (floatdisf): Likewise.
4201         * ieee75f-df.S (floatundidf): Likewise.
4202         (floatdidf): Likewise.
4204 2012-11-29  Kai Tietz  <ktietz@redhat.com>
4206         PR target/55445
4207         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
4208         * unwind-generic.h: Likewise.
4209         * unwind-seh.c: Likewise.
4211 2012-11-28  Richard Henderson  <rth@redhat.com>
4213         PR libgcc/48076
4214         * emutls.c (__emutls_get_address): Avoid race condition between
4215         obj->loc.offset read and emutls_key initialization.
4217 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
4219         Adjust decimal point of signed accum mode to GCC default.
4221         PR target/54222
4222         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
4223         _divqq_helper.
4224         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
4225         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
4226         (__mulha3, __mulsa3)
4227         (__divqq3, __divha3, __divsa3): Adjust to new position of
4228         decimal point of signed accum types.
4230         (__mulusa3_round): New function.
4231         (__mulusa3): Use it.
4232         (__divqq_helper): New function.
4233         (__udivuqq3): Use it.
4235 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
4237         PR bootstrap/55370
4238         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
4240 2012-11-18  Teresa Johnson  <tejohnson@google.com>
4242         PR bootstrap/55051
4243         * libgcov.c (gcov_exit): Remove merged program summary
4244         comparison unless !GCOV_LOCKED.
4246 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4248         * soft-fp: Updated from glibc upstream.
4250 2012-11-06  Ian Lance Taylor  <iant@google.com>
4252         * generic-morestack.c (__generic_morestack): Align the returned
4253         stack pointer to a 32 byte boundary.
4254         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
4255         increment the return address until we have decided that we don't
4256         have a varargs function.
4257         (__morestack) [32-bit]: Align stack correctly when calling C
4258         functions.
4259         (__morestack) [64-bit]: Likewise.
4261 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
4263         * configure: Regenerate.
4265 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
4267         PR target/55175
4268         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
4269         * config/i386/sfp-machine.h: Guard exception handling
4270         code with _SOFT_FLOAT.
4271         * config/i386/32/sfp-machine.h: Guard rounding handling
4272         code with _SOFT_FLOAT.
4273         * config/i386/64/sfp-machine.h: Ditto.
4275 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
4277         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
4278         as extra_parts.
4280 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
4282         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
4283         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
4284         when appropriate.  Correct structure element types.
4285         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
4286         -minline-all-stringops from compile flags.
4288 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
4290         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
4292 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
4294         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
4296 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4298         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
4299         tmake_file.
4301 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
4302             Jim MacArthur  <jim.macarthur@arm.com>
4303             Marcus Shawcroft  <marcus.shawcroft@arm.com>
4304             Nigel Stephens  <nigel.stephens@arm.com>
4305             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
4306             Richard Earnshaw  <rearnsha@arm.com>
4307             Sofiane Naci  <sofiane.naci@arm.com>
4308             Stephen Thomas  <stephen.thomas@arm.com>
4309             Tejas Belagod  <tejas.belagod@arm.com>
4310             Yufeng Zhang  <yufeng.zhang@arm.com>
4312         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
4313         * config/aarch64/crti.S: New file.
4314         * config/aarch64/crtn.S: New file.
4315         * config/aarch64/linux-unwind.h: New file.
4316         * config/aarch64/sfp-machine.h: New file.
4317         * config/aarch64/sync-cache.c: New file.
4318         * config/aarch64/t-aarch64: New file.
4319         * config/aarch64/t-softfp: New file.
4321 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
4323         * config/mmix/crti.S: Mark program and data addresses using PRELD.
4324         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
4325         no-longer-needed LDBU insns.
4327 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4329         * config.host
4330         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
4331         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
4333 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
4335         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
4337 2012-10-15  Matthias Klose  <doko@ubuntu.com>
4339         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
4341 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
4343         * configure: Regenerate.
4344         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
4346 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
4348         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4349         instructions for 64bit targets only.
4351 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
4353         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4354         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
4355         * config/i386/32/sfp-machine.h: ... here.
4356         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
4357         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
4358         New defines.
4360 2012-10-07  Matthias Klose  <doko@ubuntu.com>
4362         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
4363         as unused.
4364         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
4366 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
4368         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
4369         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
4370         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
4371         (ElfW): Likewise.
4373 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
4375         PR other/53889
4376         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4377         Fix parameter names.
4379 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
4381         PR target/33135
4382         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
4383         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
4384         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
4386 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
4388         PR target/50457
4389         * config/sh/linux-atomic.S: Delete.
4390         * config/sh/linux-atomic.c: New.
4391         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
4392         linux-atomic.c.  Add cflags to disable warnings.
4394 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
4396         PR other/53889
4397         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
4398         function.
4399         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
4400         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
4401         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
4402         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
4403         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
4404         Likewise.
4405         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4406         Likewise.
4407         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
4408         Likewise.
4409         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
4410         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
4412 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
4414         * config.host (hppa-*-openbsd*): New target.
4415         * config/pa/t-openbsd: New file.
4417 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
4419         PR target/54222
4420         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
4421         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
4422         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
4423         (__divsa3): Use __negsi2 to negate r_quoL.
4424         * config/avr/lib1funcs.S (FALIAS): New macro.
4425         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
4426         (__negsi2): ...this new function.
4427         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
4428         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
4429         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
4430         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
4431         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
4432         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
4434 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
4436         PR target/54089
4437         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
4438         (lshrsi3): Reimplement as lshrsi3_r0.
4440 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
4442         PR target/46191
4443         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
4444         of libgcc.a.
4446 2012-09-07  Teresa Johnson  <tejohnson@google.com>
4448         PR gcov-profile/54487
4449         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
4450         differences.
4452 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
4454         PR target/54461
4455         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
4456         not configured --with-avrlibc=no.
4457         * config/avr/t-avrlibc: New file.
4458         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
4459         (DPBIT_FUNCS): Ditto.
4460         (TPBIT_FUNCS): Ditto.
4462 2012-09-04  Teresa Johnson  <tejohnson@google.com>
4464         * libgcov.c (struct gcov_summary_buffer): New structure.
4465         (gcov_histogram_insert): New function.
4466         (gcov_compute_histogram): Ditto.
4467         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
4468         histograms during summary merging.
4470 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
4472         * config.host (x86_64-*-openbsd*): New target.
4474 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
4476         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
4477         attribute.
4479 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
4481         PR target/54222
4482         * config/avr/t-avr (conv_X): Rename to func_X.
4484 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
4486         PR target/54222
4487         * config/avr/lib1funcs-fixed.S: New file.
4488         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
4489         after they are used.
4490         (neg2, neg4): New macros.
4491         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
4492         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
4493         (__umulhisi3): Speed up MUL variant if there is enough flash.
4494         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
4495         avr-modes.def.
4496         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
4497         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
4498         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
4499         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
4500         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
4501         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
4502         (LIB2FUNCS_EXCLUDE): Add supported functions.
4504 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
4506         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
4507         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
4508         libgcc-s-objects.
4509         * fixed-obj.mk: Only expand dependency if $o is not in
4510         LIB2FUNCS_EXCLUDE.
4512 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
4514         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
4516 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
4518         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
4519         depend on --enable-shared.
4520         ($(lib1asmfuncs-o)): Use %.vis files independent of
4521         --enable-shared.
4522         * static-object.mk ($(base)$(objext), $(base).vis)
4523         ($(base)_s$(objext)): Use same rules for visibility handling as in
4524         shared-object.mk.
4526 2012-08-21  Ian Lance Taylor  <iant@google.com>
4528         * config/i386/morestack.S (__morestack_non_split): Increase amount
4529         of space allocated for non-split code stack.
4531 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
4533         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
4534         even if inhibit_libc.
4536 2012-08-17  Julian Brown  <julian@codesourcery.com>
4538         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
4539         -fexceptions -fnon-call-exceptions if not defined.
4540         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
4541         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
4543 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
4545         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
4546         type.
4548 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
4550         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
4551         rs6000/t-slibgcc-aix.
4553 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
4555         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
4557 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
4559         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
4561 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
4563         PR driver/54171
4564         * Makefile.in (version): Replace top_srcdir with srcdir.
4566 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
4568         * Makefile.in (version): set to BASE-VER file from gcc directory.
4570 2012-08-01  Nick Clifton  <nickc@redhat.com>
4572         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
4573         Implements __clrsb for an HImode argument.
4575 2012-07-31  Nick Clifton  <nickc@redhat.com>
4577         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
4578         Implements __clrsb for an HImode argument.
4579         * config/stormy16/clrsbhi2.c: New file:
4580         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
4582 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
4584         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
4586 2012-07-19  Tristan Gingold  <gingold@adacore.com>
4587             Richard Henderson  <rth@redhat.com>
4589         * unwind-seh.c: New file.
4590         * unwind-generic.h: Include windows.h for SEH.
4591         (_Unwind_Exception): Use 6 private fields for SEH.
4592         (_GCC_specific_handler): Declare.
4593         * unwind-c.c (__gcc_personality_seh0): New function.
4594         Adjust for SEH.
4595         * config/i386/libgcc-cygming.ver: New file.
4596         * config/i386/t-seh-eh: New file.
4597         * config.host (x86_64-*-mingw*): Default to seh.
4599 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
4601         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
4603 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
4605         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
4606         __builtin_expect when checking for exceptions.
4607         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
4609 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
4611         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
4612         function declaration.
4613         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4614         (FP_RND_MASK): New.
4615         * config/ia64/sfp-exceptions.c: New.
4616         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
4618 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
4620         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
4621         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
4622         * config/i386/64/sfp-machine: ... (delete here) ...
4623         * config/i386/sfp-machine.h: ... to here.
4624         (FP_EX_MASK): Remove.
4625         (FP_RND_MASK): New.
4626         (FP_INIT_ROUNDMODE): Declare asm as volatile.
4628 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
4630         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
4631         * config/i386/libgcc-sol2.ver: Ditto.
4632         * config/i386/libgcc-glibc.ver: Ditto.
4634 2012-06-11  Roland McGrath  <mcgrathr@google.com>
4636         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
4637         If __GLIBC__ is defined, refer to __pthread_key_create instead of
4638         pthread_cancel.
4640 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
4642         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
4643         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
4644         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
4645         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4646         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
4647         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
4648         * config/i386/64/sfp-machine: ... (delete here) ...
4649         * config/i386/sfp-machine.h: ... to here.
4650         (FP_EX_MASK): New.
4651         (__sfp_handle_exceptions): New function declaration.
4652         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4653         * config/i386/sfp-exceptions.c: New.
4654         * config/i386/t-softfp: New.
4655         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
4656         i386/t-softfp to tmake_file.
4658 2012-06-03  David S. Miller  <davem@davemloft.net>
4660         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
4661         change.
4663 2012-05-31  David S. Miller  <davem@davemloft.net>
4665         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
4666         multiply and divide instructions on 32-bit when V9.
4667         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
4669 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
4671         * config/arm/ieee754-df.S: Fix typos.
4672         * config/arm/ieee754-sf.S: Fix typos.
4673         * config/c6x/libunwind.S: Fix typos.
4674         * config/epiphany/udivsi3-float.c: Fix typos.
4675         * config/microblaze/muldi3_hard.S: Fix typos.
4676         * config/picochip/adddi3.S: Fix typos.
4677         * config/picochip/ashlsi3.S: Fix typos.
4678         * config/picochip/ashrsi3.S: Fix typos.
4679         * config/picochip/clzsi2.S: Fix typos.
4680         * config/picochip/cmpsi2.S: Fix typos.
4681         * config/picochip/divmod15.S: Fix typos.
4682         * config/picochip/divmodhi4.S: Fix typos.
4683         * config/picochip/divmodsi4.S: Fix typos.
4684         * config/picochip/longjmp.S: Fix typos.
4685         * config/picochip/lshrsi3.S: Fix typos.
4686         * config/picochip/parityhi2.S: Fix typos.
4687         * config/picochip/popcounthi2.S: Fix typos.
4688         * config/picochip/setjmp.S: Fix typos.
4689         * config/picochip/subdi3.S: Fix typos.
4690         * config/picochip/ucmpsi2.S: Fix typos.
4691         * config/picochip/udivmodhi4.S: Fix typos.
4692         * config/picochip/udivmodsi4.S: Fix typos.
4693         * config/spu/divv2df3.c: Fix typos.
4694         * config/spu/mfc_multi_tag_release.c: Fix typos.
4695         * config/spu/mfc_tag_release.c: Fix typos.
4696         * configure.ac: Fix typos.
4697         * configure: Regenerate.
4699 2012-05-25  Ian Lance Taylor  <iant@google.com>
4701         * config/i386/morestack.S (__morestack_non_split): Check whether
4702         caller is varargs and needs %bp to hold the stack frame on return.
4704 2012-05-25  Olivier Hainque  <hainque@adacore.com>
4706         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
4707         sequence in the non pic case on VxWorks.
4709 2012-05-24  Olivier Hainque  <hainque@adacore.com>
4711         * Makefile.in: Move dependency on install-unwind_h from
4712         "install-leaf" to "install".
4714 2012-05-24  Olivier Hainque  <hainque@adacore.com>
4716         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
4717         Use a separate command for stamp removals.
4719 2012-05-21  Andrew Pinski  <apinski@cavium.com>
4721         PR bootstrap/53183
4722         * configure.ac: Define the default includes to being none.
4723         * configure: Regenerate.
4725 2012-05-16  Olivier Hainque  <hainque@adacore.com>
4727         * Makefile.in (install-unwind_h): Rename into ...
4728         (install-unwind_h-forbuild): New target.
4729         (all): Use it instead of the former install-unwind_h.
4730         (install-unwind_h): Reinstate, copy to user install destination
4731         for include files, not to the internal gcc object directory one.
4732         (install-leaf): Depend on it.
4734 2012-05-15  Olivier Hainque  <hainque@adacore.com>
4736         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
4737         register numbers. LR_REGNO replaces R_LR.
4738         (ucontext_for): New, helper for ...
4739         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
4740         and 5.3 of ...
4741         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
4743 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4745         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
4746         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
4747         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
4748         i386/t-cpuinfo ...
4749         (i[34567]86-*-*, x86_64-*-*): ... here.
4751         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
4752         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
4754         * config/i386/i386-cpuinfo.c: Rename to ...
4755         * config/i386/cpuinfo.c: ... this.
4756         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
4758         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
4759         (libgcc_cv_init_priority): New test.
4760         * configure: Regenerate.
4761         * config.in: New file.
4762         * Makefile.in (clean): Rename config.h to auto-target.h.
4763         (config.h): Likewise.
4764         (stamp-h): Likewise.
4766         * config/i386/cpuinfo.c (auto-target.h): Include.
4767         (CONSTRUCTOR_PRIORITY): Define.
4768         (__cpu_indicator_init): Use it.
4770 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
4772         * longlong.h: Use a URL instead of an FSF postal address.
4773         Replace spaces with tab.
4775 2012-05-08  Teresa Johnson  <tejohnson@google.com>
4777         * libgcov.c (gcov_clear, __gcov_reset): New functions.
4778         (__gcov_dump): Ditto.
4779         (gcov_dump_complete): New global variable.
4780         (gcov_exit): Export hidden to enable use in L_gcov_dump.
4781         (__gcov_flush): Outline functionality now in gcov_clear.
4782         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
4784 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
4786         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
4787         (mips*-*-linux*): Include mips/t-tpbit when long double is
4788         16 bytes long.
4790 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
4792         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
4793         (get_available_features): New argument. Check for AVX2.
4794         (__cpu_indicator_init): Modify call to get_available_features.
4796 2012-04-25  Alan Modra  <amodra@gmail.com>
4798         * config/rs6000/crtsavevr.S: New file.
4799         * config/rs6000/crtrestvr.S: New file.
4800         * config/rs6000/t-savresfgpr: Build the above.
4801         * config/rs6000/t-netbsd: Likewise.
4803 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
4805         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
4807 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
4809         * libgcc/config/i386/i386-cpuinfo.c: New file.
4810         * libgcc/config/i386/t-cpuinfo: New file.
4811         * libgcc/config.host: Include t-cpuinfo.
4812         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
4814 2012-04-24  Chao-ying Fu  <fu@mips.com>
4816         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
4818 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
4820         struct siginfo vs. siginfo_t
4822         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
4823         siginfo_t instead of struct siginfo.
4824         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
4825         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
4826         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
4827         (ia64_handle_unwabi): Likewise.
4828         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
4829         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
4830         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
4831         (sh_fallback_frame_state): Likewise.
4832         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
4833         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
4835 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
4837         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
4838         system call number.
4840 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
4842         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
4843         if it hasn't been previously saved.
4845 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
4847         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
4848         only for glibc.
4850 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
4852         PR target/52737
4853         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
4854         instead of __AVR_HAVE_8BIT_SP__.
4856 2012-03-26  Tristan Gingold  <gingold@adacore.com>
4858         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
4859         (unw_table_entry): Use unw_word instead of unsigned long.
4860         (_Unwind_FindTableEntry): Likewise.
4861         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
4862         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
4863         (_Unwind_FindTableEntry): Likewise.
4864         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
4865         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
4866         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
4867         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
4868         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
4869         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
4870         (uw_init_context_1, uw_install_context): Likewise.
4871         (unw_word): Move to unwind-ia64.h
4873 2012-03-26  Tristan Gingold  <gingold@adacore.com>
4875         * config/vms/vms-ucrt0.c: Update copyright years.
4876         Add a sanity check.
4877         (___gcc_main_flags): Declare.
4878         (__main): Check flags to remap argv and exit code.
4879         * config.host (*-*-*vms*): Adjust extra_parts.
4880         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
4881         (crt0.o): Add.
4883 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
4885         * arm/lib1funcs.asm (ctzsi2): New function.
4886         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
4887         * arm/t-linux (LIB1ASMFUNCS): Likewise.
4888         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
4889         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
4890         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
4891         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
4893 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
4895         * config.host: Add bits to support powerpc64-*-freebsd*.
4896         * config/rs6000/freebsd-unwind.h: New file.
4897         * config/rs6000/t-freebsd64: New file.
4899 2012-03-20  Richard Guenther  <rguenther@suse.de>
4901         PR gcov-profile/52627
4902         * libgcov.c (init_mx): Fix mutex name.
4904 2012-03-16  Tristan Gingold  <gingold@adacore.com>
4906         * config/ia64/vms-unwind.h: Remove ulong (and replace
4907         it by unw_reg where used).  Define unw_reg with __int64.
4909 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4911         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4912         Solaris 8 handling.
4913         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4914         Solaris 8 handling.
4915         (sparc_is_sighandler): Likewise.
4917 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
4919         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
4920         <= saved reg size.
4922 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4924         * config/arm/crtn.S: Fix typo.
4926 2012-03-13  Richard Guenther  <rguenther@suse.de>
4928         * libgcov.c: Remove stdio.h include and NULL un-define.
4930 2012-03-13  Richard Guenther  <rguenther@suse.de>
4932         PR target/52569
4933         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
4935 2012-03-13  Richard Guenther  <rguenther@suse.de>
4937         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
4939 2012-03-13  Richard Guenther  <rguenther@suse.de>
4941         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
4942         and __gthread_mutex_init_function definitions.
4944 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4946         * config.host (mips*-*-openbsd*): Remove.
4948 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4950         * config.host: Remove alpha*-dec-osf5.1* handling.
4951         * config/alpha/gthr-posix.c: Remove.
4952         * config/alpha/libgcc-osf5.ver: Remove.
4953         * config/alpha/osf5-unwind.h: Remove.
4954         * config/alpha/t-osf-pthread: Remove.
4955         * config/alpha/t-slibgcc-osf: Remove.
4956         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
4957         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
4958         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
4959         * mkmap-flat.awk: Remove osf_export handling.
4961 2012-03-12  Richard Guenther  <rguenther@suse.de>
4963         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
4964         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
4965         (__gthread_mutex_init_function): New function.
4966         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
4968         PR gcov/49484
4969         * libgcov.c: Include gthr.h.
4970         (__gcov_flush_mx): New global variable.
4971         (init_mx, init_mx_once): New functions.
4972         (__gcov_flush): Protect self with a mutex.
4973         (__gcov_fork): Re-initialize mutex after forking.
4974         * unwind-dw2-fde.c: Change condition under which to use
4975         __GTHREAD_MUTEX_INIT_FUNCTION.
4977 2012-03-12  Tristan Gingold  <gingold@adacore.com>
4979         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
4980         * config/ia64/t-vms: Likewise.
4982 2012-03-11  Michael Hope  <michael.hope@linaro.org>
4984         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
4985         for Thumb-2.
4987 2012-03-07  Walter Lee  <walt@tilera.com>
4989         * config/tilepro/atomic.c: Rename "atomic_" prefix to
4990         "arch_atomic_".
4991         (atomic_xor): Rename and move definition to
4992         config/tilepro/atomic.h.
4993         (atomic_nand): Ditto.
4994         * config/tilepro/atomic.h: Rename "atomic_" prefix to
4995         "arch_atomic_".
4996         (arch_atomic_xor): Move from config/tilepro/atomic.c.
4997         (arch_atomic_nand): Ditto.
4999 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5001         PR target/52507
5002         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
5004 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5006         PR target/52505
5007         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
5008         from RAM.
5010 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5012         PR target/52461
5013         PR target/52508
5014         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
5015         if RAMPZ affects reading from RAM.
5016         (__tablejump_elpm__): Ditto.
5017         (.xload): Ditto.
5018         (__movmemx_hi): Ditto.
5019         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
5020         (__do_global_dtors): Ditto.
5021         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
5022         (__movmemx_hi): Ditto.
5024 2012-03-05  Richard Henderson  <rth@redhat.com>
5026         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
5027         [ARM] (count_trailing_zeros): Use the builtin.
5029 2012-03-01  Kai Tietz  <ktietz@redhat.com>
5031         * soft-fp: Imported from glibc upstream.
5033 2012-02-28  Kai Tietz  <ktietz@redhat.com>
5035         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
5036         for mingw-targets as attribute gcc_struct.
5038 2012-02-28  Ian Lance Taylor  <iant@google.com>
5040         * generic-morestack.c (__splitstack_releasecontext): Correct call
5041         to __morestack_release_segments.
5043 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5045         PR target/52390
5046         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
5047         for __linux__ when removing signals from __morestack_fullmask.
5049 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
5051         PR target/52261
5052         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
5054 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5056         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
5057         instead of HAVE_INITFINI_ARRAY.
5058         * config/ia64/crtend.S: Likewise.
5060 2012-02-20  Kai Tietz  <ktietz@redhat.com>
5062         PR libstdc++/52300
5063         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
5065         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
5066         to w32-unwind.h header.
5068 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
5070         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
5071         (mips*-*-linux*): Remove t-slibgcc-libgcc.
5072         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
5073         * config/mips/mips16.S (__mips16_rdhwr): Delete.
5075 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
5077         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
5079 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
5081         PR libitm/52220
5082         * config/darwin-crt-tm.c: Correct typo.
5084 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
5085             Patrick Marlier  <patrick.marlier@gmail.com>
5087         PR libitm/52220
5088         * config/darwin-crt-tm.c: Generate dummy functions.
5090 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
5091             Patrick Marlier  <patrick.marlier@gmail.com>
5093         PR libitm/52042
5094         * config/darwin-crt-tm.c (getTMCloneTable): New function.
5095         (__doTMRegistrations): Call it.
5096         (__doTMdeRegistrations): Likewise.
5098 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
5099             Anatoly Sokolov  <aesok@post.ru>
5100             Eric Weddington  <eric.weddington@atmel.com>
5102         PR target/52261
5103         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
5104         (__epilogue_restores__): Ditto.
5106 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
5108         PR target/51921
5109         PR target/52205
5110         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
5111         Solaris 11 and slightly reformat.
5112         (sparc_is_sighandler): Likewise.
5114 2012-02-14  Walter Lee  <walt@tilera.com>
5116         * config.host: Handle tilegx and tilepro.
5117         * config/tilegx/sfp-machine.h: New file.
5118         * config/tilegx/sfp-machine32.h: New file.
5119         * config/tilegx/sfp-machine64.h: New file.
5120         * config/tilegx/t-crtstuff: New file.
5121         * config/tilegx/t-softfp: New file.
5122         * config/tilegx/t-tilegx: New file.
5123         * config/tilepro/atomic.c: New file.
5124         * config/tilepro/atomic.h: New file.
5125         * config/tilepro/linux-unwind.h: New file.
5126         * config/tilepro/sfp-machine.h: New file.
5127         * config/tilepro/softdivide.c: New file.
5128         * config/tilepro/softmpy.S: New file.
5129         * config/tilepro/t-crtstuff: New file.
5130         * config/tilepro/t-tilepro: New file.
5132 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
5134         PR libstdc++/51296
5135         PR libstdc++/51906
5136         * gthr-posix.h: Allow static initializer macros to be disabled.
5137         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
5139 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
5141         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
5142         Add t-slibgcc-libgcc to tmake_file.
5143         * config/mips/libgcc-mips16.ver: Revert previous patch.
5144         * config/mips/mips16.S (__mips16_rdhwr): Hide.
5146 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
5147             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
5149         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
5150         * config/cr16/crti.S: New file.
5151         * config/cr16/crtlibid.S: New file.
5152         * config/cr16/crtn.S: New file.
5153         * config/cr16/lib1funcs.S: New file.
5154         * config/cr16/t-cr16: New file.
5155         * config/cr16/t-crtlibid: New file.
5156         * config/cr16/unwind-dw2.h: New file.
5157         * config/cr16/unwind-cr16.c: New file.
5158         * config/cr16/divmodhi3.c: New file.
5160 2012-01-25  Alan Modra  <amodra@gmail.com>
5162         * config/rs6000/t-linux64: Delete.  Move..
5163         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
5164         * config/rs6000/t-linux: ..and libgcc flags to here.
5166 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
5168         * config.host (i[34567]86-*-interix3*):
5169         Change triplet to i[34567]86-*-interix[3-9]*.
5170         * configure: Regenerate.
5172 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
5173             Richard Sandiford  <rdsandiford@googlemail.com>
5175         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
5176         * config/mips/mips16.S (__mips16_rdhwr): New function.
5177         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
5179 2012-01-11  Nathan Sidwell  <nathan@acm.org>
5181         * libgcov.c (__gcov_init): Ignore objects with no functions.
5183 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
5185         PR target/49868
5186         Extend __pgmx semantics to linearize memory.
5187         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
5188         * config/avr/lib1funcs.S (__xload_1): New function.
5189         (__movmemx_qi, __movmemx_hi): New functions.
5190         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
5191         semantics.
5193 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
5195         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
5196         purported sigacthandler address isn't null before dereferencing it.
5197         (sparc_is_sighandler): Likewise.
5199 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
5201         PR ada/41929
5202         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
5203         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
5204         (sparc_is_sighandler): Likewise.
5205         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
5207 2012-01-06  Tristan Gingold  <gingold@adacore.com>
5209         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
5210         compatibility thunks...
5211         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
5212         (crtbeginS.o, crtendS.o): ... and these to ...
5213         * config/ia64/t-ia64-elf: ... this new file.
5214         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
5215         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
5217 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5219         * configure: Regenerate.
5220         * config/s390/t-crtstuff: Remove -fPIC.
5222 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
5224         PR bootstrap/51006
5225         * enable-execute-stack-mprotect.c (getpagesize): Do not define
5226         for NetBSD.
5228 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
5230         PR target/51345
5231         * config/avr/lib1funcs.S: Remove FIXME comments.
5232         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
5234 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
5236         Implement light-weight DImode support.
5237         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
5238         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
5239         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
5240         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
5242 2011-12-30  Nathan Sidwell  <nathan@acm.org>
5244         * libgcov.c (gcov_crc32): Remove global var.
5245         (free_fn_data): New function.
5246         (buffer_fn_data): Pass in filename, more robust error recovery.
5247         (crc32_unsigned): New function.
5248         (gcov_exit): More robust detection of new program. More robust
5249         error recovery.
5250         (__gcov_init): Do not update program's crc here.
5252 2011-12-21  Tristan Gingold  <gingold@adacore.com>
5254         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
5256 2011-12-21  Ian Lance Taylor  <iant@google.com>
5258         * config/i386/morestack.S: Simplify CFI opcodes throughout.
5260 2011-12-20  Ian Lance Taylor  <iant@google.com>
5262         * config/i386/morestack.S (__morestack_non_split): If there is
5263         enough stack space already, don't split.  Ask for more stack space
5264         than we required.
5266 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
5268         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
5269         `sys/sdt.h'.
5270         (_Unwind_DebugHook): New function.
5271         (uw_restore_core_regs): New define.
5272         (unwind_phase2): Use uw_restore_core_regs instead of
5273         restore_core_regs.
5274         (unwind_phase2_forced): Likewise.
5275         (__gnu_Unwind_Resume): Likewise.
5277 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
5279         * config/alpha/linux-unwind.h: Update copyright years.
5280         (MD_FROB_UPDATE_CONTEXT): New define.
5281         (alpha_frob_update_context): New function.
5283 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
5285         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
5286         tmake_file rather replacing it.
5288 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
5290         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
5291         function is not used for PPC64.
5292         (save_world): Amend comments.  Update the VRsave mask to reflect the
5293         saved regs.
5294         (rest_world): Update comments, do not  clobber r10, do not use r8.
5295         (eh_rest_world_r10): Amend comments, do not use r8.
5296         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
5297         no longer used, move restore of CR and target address to the end of
5298         the routine.
5300 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
5302         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
5303         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
5305 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
5307         PR target/49313
5308         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
5309         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
5311 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
5313         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
5315 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
5317         PR target/49313
5318         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
5319         * config/avr/lib1funcs.S (__muldi3): New function.
5321 2011-12-06  Andrew Pinski  <apinski@cavium.com>
5323         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
5324         size of func_ptr.
5325         (__frame_dummy_init_array_entry): Likewise.
5327 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
5329         Forward-port from gcc-4_6-branch r181936 2011-12-02.
5331         PR target/51345
5332         PR target/51002
5333         * config/avr/lib1funcs.S (__prologue_saves__,
5334         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
5335         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
5337 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
5339         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
5341 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5343         PR other/51272
5344         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
5345         (_ITM_deregisterTMCloneTable): Likewise.
5346         (__register_frame_info): Fix unused warning.
5347         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
5348         pthread_default_stacksize_np): Likewise.
5349         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
5351 2011-11-29  DJ Delorie  <dj@redhat.com>
5353         * config.host (rl78-*-elf): New case.
5354         * config/rl78: New directory for the Renesas RL78.
5356 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
5358         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
5359         formatting.
5361 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5363         PR other/51022
5364         * config/rs6000/t-savresfgpr: New file.
5365         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
5366         $(srcdir)/config/rs6000/eabi.S.
5367         * config/rs6000/t-ppccomm-ldbl: Remove.
5368         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
5369         tmake_file.
5370         (powerpc-*-eabispe*): Likewise.
5371         (powerpc-*-eabi*): Likewise.
5372         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5373         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
5374         to tmake_file, remove rs6000/t-ppccomm-ldbl.
5375         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
5376         tmake_file.
5377         (powerpc-*-eabisim*): Likewise.
5378         (powerpc-*-elf*): Likewise.
5379         (powerpc-*-eabialtivec*): Likewise.
5380         (powerpc-xilinx-eabi*): Likewise.
5381         (powerpc-*-rtems*): Likewise.
5382         (powerpcle-*-elf*): Likewise.
5383         (powerpcle-*-eabisim*): Likewise.
5384         (powerpcle-*-eabi*): Likewise.
5386 2011-11-27  Ian Lance Taylor  <iant@google.com>
5388         * generic-morestack.c (__splitstack_find): Check for NULL old
5389         stack value.
5390         (__splitstack_resetcontext): New function.
5391         (__splitstack_releasecontext): New function.
5392         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5394 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
5396         * config/darwin-crt-tm.c: Correct comments, use correct licence.
5398 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
5400         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
5402 2011-11-26  Richard Henderson  <rth@redhat.com>
5404         * config/m68k/linux-atomic.c: New file.
5405         * config/m68k/t-linux: New file.
5406         * config.host (m68k-uclinux, m68k-linux): Use it.
5408 2011-11-26  Richard Henderson  <rth@redhat.com>
5410         * crtstuff.c (__TMC_LIST__): Mark used not unused.
5411         (__TMC_END__): Only declare if hidden is available; in the definition,
5412         if hidden is unavailable add a null record.
5413         (deregister_tm_clones, register_tm_clones): New.
5414         (__do_global_dtors_aux, frame_dummy): Use them.
5415         (__do_global_dtors, __do_global_ctors_1): Likewise.
5417 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
5419         * config/darwin-crt-tm.c: New file.
5420         * config.host (darwin): Build crttms.o crttme.o to provide
5421         startup and shutdown for tm clones.
5422         * config/t-darwin (crttms.o): New build rule.
5423         (crttme.o): Likewise.
5425 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
5427         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
5428         et al.
5430 2011-11-21  Richard Henderson  <rth@redhat.com>
5432         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
5433         (__TMC_LIST__, __TMC_END__): New.
5434         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
5435         (__do_global_dtors): Likewise.
5436         (frame_dummy): Call _ITM_registerTMCloneTable.
5437         (__do_global_ctors_1): Likewise.
5439 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5441         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
5442         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5443         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
5444         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
5445         * config/i386/t-darwin64: Remove.
5446         * config/sh/t-netbsd (LIB2ADD): Remove.
5448 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
5450         PR target/49313
5451         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
5452         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
5453         * config/avr/lib1funcs.S (wmov): New assembler macro.
5454         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
5455         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
5456         (__udivmod64): New function.
5457         (__negdi2): New function.
5459 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
5461         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
5462         *-*-freebsd*aout*): Remove.
5464 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
5466         * static-object.mk (c_flags-$o): Save c_flags.
5467         ($(base)$(objext)): Use it.
5469 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
5471         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
5473 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
5475         PR target/49868
5476         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
5477         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
5478         New functions.
5480 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
5482         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
5483         functions.
5484         (aeabi_uidivmod): Likewise.
5485         (umodsi3): Likewise.
5486         (divsi3): Likewise.
5487         (aeabi_idivmod): Likewise.
5488         (modsi3): Likewise.
5490 2011-11-16  Tristan Gingold  <gingold@adacore.com>
5492         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
5494 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
5496         PR target/49868
5497         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
5498         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
5500 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5502         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
5503         tmake_file list.
5504         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
5505         * config/pa/t-stublib64: Delete.
5507 2011-11-12  Richard Henderson  <rth@redhat.com>
5509         * config/rs6000/linux-unwind.h (frob_update_context): Properly
5510         cast the pointer argument to _Unwind_SetGRPtr.
5512 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5514         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
5516 2011-11-09  Ian Lance Taylor  <iant@google.com>
5518         * generic-morestack.c: Include <string.h>.
5519         (uintptr_type): Define.
5520         (struct initial_sp): Add dont_block_signals field.  Reduce size of
5521         extra array by 1.
5522         (allocate_segment): Set prev field to NULL.  Don't set
5523         __morestack_current_segment or __morestack_segments.
5524         (__generic_morestack): Update current->prev and *pp after calling
5525         allocate_segment.
5526         (__morestack_block_signals): Don't do anything if
5527         dont_block_signals is set.
5528         (__morestack_unblock_signals): Likewise.
5529         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
5530         uintptr_type.
5531         (__splitstack_block_signals): New function.
5532         (enum __splitstack_content_offsets): Define.
5533         (__splitstack_getcontext, __splitstack_setcontext): New functions.
5534         (__splitstack_makecontext): New function.
5535         (__splitstack_block_signals_context): New function.
5536         (__splitstack_find_context): New function.
5537         * config/i386/morestack.S (__morestack_get_guard): New function.
5538         (__morestack_set_guard, __morestack_make_guard): New functions.
5539         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5541 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5543         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
5544         (i[34567]86-*-mingw*): ... here.
5545         (x86_64-*-mingw*): ... here.
5547 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5549         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
5551 2011-11-07  Nathan Sidwell  <nathan@acm.org>
5553         * libgcov.c (struct gcov_fn_buffer): New struct.
5554         (buffer_fn_data): New helper.
5555         (gcov_exit): Rework for new gcov data structures.
5557 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
5559         PR target/49313
5560         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
5562 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5564         * config.host (tmake_file): Correct comment.
5565         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
5566         t-libgcc-pic.
5567         (bfin*-uclinux*): Likewise.
5568         (bfin*-linux-uclibc*): Likewise.
5569         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
5571         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
5572         assigning.
5573         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5574         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
5575         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5576         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
5577         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5578         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
5579         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
5580         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5581         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
5582         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
5583         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
5584         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
5585         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
5587         * config/bfin/t-elf: Remove.
5588         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
5590 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5592         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
5593         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
5594         (lm32-*-elf*, lm32-*-rtems*): Split into ...
5595         (lm32-*-elf*): ... this.
5596         (lm32-*-rtems*): ... and this.
5597         Add to tmake_file.
5598         (m32r-*-rtems*): Add to tmake_file.
5599         (moxie-*-rtems*): Likewise.
5600         (sparc-*-rtems*): Likewise.
5601         Remove t-rtems from tmake_file.
5602         (sparc64-*-rtems*): Likewise.
5603         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
5604         instead.
5606 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5608         PR bootstrap/50982
5609         * config/gthr-posix.h: Move ...
5610         * gthr-posix.h: ... here.
5611         * config/gthr-lynx.h: Reflect this.
5612         * config/gthr-vxworks.h: Likewise.
5613         * config/rs6000/gthr-aix.h: Likewise.
5614         * configure.ac (target_thread_file): Likewise.
5615         * configure: Regenerate.
5617 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5619         * config.host (arm*-*-rtemseabi*): New target.
5621 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5623         PR other/50991
5624         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
5625         extra-parts.
5627 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
5629         * config.host (epiphany-*-elf*): New configuration.
5630         * config/epiphany: New Directory.
5632 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
5634         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
5635         * config/avr/t-rtems: New.
5636         Filter out _exit from LIB1ASMFUNCS.
5638 2011-11-04  David S. Miller  <davem@davemloft.net>
5640         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
5641         * configure: Rebuild.
5643 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5645         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
5646         variable.
5648 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
5650         PR target/50931
5651         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
5652         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
5654 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
5656         PR target/50989
5657         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
5659 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5661         * config/c6x/t-elf (LIB2ADDEH): Set.
5662         * config/c6x/t-c6x-elf: Remove.
5664 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5666         * config/i386/sol2-ci.S: Rename to ...
5667         * config/i386/crti.S: ... this.
5668         * config/i386/sol2-cn.S: Rename to ...
5669         * config/i386/crtn.S: ... this.
5670         * config/sparc/sol2-ci.S: Rename to ...
5671         * config/sparc/crti.S: ... this.
5672         * config/sparc/sol2-cn.S: Rename to ...
5673         * config/sparc/crtn.S: ... this.
5674         * config/t-sol2 (CUSTOM_CRTIN): Remove.
5675         (crti.o, crtn.o): Remove.
5677 2011-11-04  Tristan Gingold  <gingold@adacore.com>
5679         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
5681 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
5683         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
5685 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
5687         * config.host (crisv32-*-none, cris-*-none): Remove.
5688         (crisv32-*-elf): Append to tmake_file, don't just set it.
5689         (cris-*-elf): Add missing t-fdpbit to tmake_file.
5691 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5693         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
5694         (ecrtn$(objext)): Likewise.
5695         (ncrti$(objext)): Likewise.
5696         (ncrtn$(objext)): Likewise.
5698 2011-11-03  Andreas Schwab  <schwab@redhat.com>
5700         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
5702 2011-11-02  David S. Miller  <davem@davemloft.net>
5704         * configure.ac: Set host_address on sparc too.
5705         * configure: Regenerate.
5706         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
5707         based upon host_address.
5708         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
5710 2011-11-02  Jason Merrill  <jason@redhat.com>
5712         * config/rs6000/t-ppccomm: Add missing \.
5714 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5716         * gthr-single.h, gthr.h: New files.
5717         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
5718         config/gthr-vxworks.h, config/i386/gthr-win32.h,
5719         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
5720         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
5721         * config/i386/gthr-win32.c: Include "gthr-win32.h".
5722         * configure.ac (thread_header): New variable.
5723         Set it depending on target_thread_file.
5724         (gthr-default.h): Link from $thread_header.
5725         * configure: Regenerate.
5726         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
5728 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5730         * configure.ac (tm_file_): New variable.
5731         Determine from tm_file.
5732         (tm_file, tm_defines): Substitute.
5733         * configure: Regenerate.
5734         * mkheader.sh: New file.
5735         * Makefile.in (clean): Remove libgcc_tm.h.
5736         ($(objects)): Depend on libgcc_tm.h.
5737         (libgcc_tm_defines, libgcc_tm_file): New variables.
5738         (libgcc_tm.h, libgcc_tm.stamp): New targets.
5739         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
5740         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
5741         ($(extra-parts)): Depend on libgcc_tm.h.
5742         * config.host (tm_defines, tm_file): New variable.
5743         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
5744         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
5745         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
5746         (avr-*-rtems*): Likewise.
5747         (avr-*-*): Likewise.
5748         (frv-*-elf): Likewise.
5749         (frv-*-*linux*): Likewise.
5750         (h8300-*-rtems*): Likewise.
5751         (h8300-*-elf*): Likewise.
5752         (i[34567]86-*-darwin*): Likewise.
5753         (x86_64-*-darwin*): Likewise.
5754         (rx-*-elf): Likewise.
5755         (tic6x-*-uclinux): Likewise.
5756         (tic6x-*-elf): Likewise.
5757         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
5758         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
5759         * config/i386/cygming-crtbegin.c: Likewise.
5760         * config/i386/cygming-crtend.c: Likewise.
5761         * config/ia64/fde-vms.c: Likewise.
5762         * config/ia64/unwind-ia64.c: Likewise.
5763         * config/libbid/bid_gcc_intrinsics.h: Likewise.
5764         * config/rs6000/darwin-fallback.c: Likewise.
5765         * config/stormy16/lib2funcs.c: Likewise.
5766         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
5767         * crtstuff.c: Likewise.
5768         * dfp-bit.h: Likewise.
5769         * emutls.c: Likewise.
5770         * fixed-bit.c: Likewise.
5771         * fp-bit.c: Likewise.
5772         * generic-morestack-thread.c: Likewise.
5773         * generic-morestack.c: Likewise.
5774         * libgcc2.c: Likewise.
5775         * libgcov.c: Likewise.
5776         * unwind-dw2-fde-dip.c: Likewise.
5777         * unwind-dw2-fde.c: Likewise.
5778         * unwind-dw2.c: Likewise.
5779         * unwind-sjlj.c: Likewise.
5781 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5783         * configure.ac: Include ../config/picflag.m4.
5784         (GCC_PICFLAG): Call it.
5785         Substitute.
5786         * configure: Regenerate.
5787         * Makefile.in (gcc_srcdir): Remove.
5788         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
5789         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
5790         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
5791         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
5792         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
5793         Use $<.
5794         Remove comment.
5795         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
5796         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
5797         to refer to libgcc2.c.
5798         Use $<.
5799         * config/darwin-64.c: New file.
5800         * config/darwin-crt3.c: Remove comment.
5801         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
5802         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
5803         config/udivmodsi4.c: New files.
5804         * config/memcmp.c, config/memcpy.c, config/memmove.c,
5805         config/memset.c: New files.
5806         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
5807         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
5808         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
5809         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
5810         * config/t-openbsd-thread: New file.
5811         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
5812         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
5813         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
5814         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
5815         qrnnd.S.
5816         Adapt filename.
5817         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
5818         to refer to gthr-posix.c.
5819         * config/alpha/t-vms (LIB2ADD): Set.
5820         * config/alpha/vms-gcc_shell_handler.c: New file.
5821         * config/arm/bpabi.c, config/arm/fp16.c,
5822         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
5823         config/arm/unaligned-funcs.c: New files.
5824         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
5825         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
5826         * config/arm/t-linux: Likewise.
5827         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
5828         * config/arm/t-netbsd: New file.
5829         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
5830         * config/arm/t-symbian (LIB2ADD_ST): Set.
5831         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
5832         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5833         * config/bfin/t-elf: New file.
5834         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
5835         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
5836         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
5837         config/c6x/ltf.c: New files.
5838         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
5839         (HOST_LIBGCC2_CFLAGS): Set.
5840         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
5841         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5842         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
5843         New files.
5844         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
5845         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
5846         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
5847         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
5848         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
5849         files.
5850         * config/frv/t-frv (LIB2ADD): Set.
5851         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5852         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
5853         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
5854         config/h8300/popcounthi2.c: New files.
5855         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
5856         * config/i386/gthr-win32.c: New file.
5857         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
5858         * config/i386/t-cygwin: Likewise.
5859         * config/i386/t-darwin, config/i386/t-darwin64,
5860         config/i386/t-gthr-win32, config/i386/t-interix: New files.
5861         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
5862         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5863         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5864         * config/ia64/quadlib.c: New file.
5865         * config/ia64/t-hpux (LIB2ADD): Set.
5866         * config/ia64/t-ia64: Add comment.
5867         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
5868         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5869         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
5870         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
5871         * config/m32c/t-m32c (LIB2ADD): Set.
5872         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
5873         * config/m32r/t-m32r: Likewise.
5874         * config/m68k/fpgnulib.c: New file.
5875         * config/m68k/t-floatlib (LIB2ADD): Set.
5876         (xfgnulib.c): New target.
5877         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
5878         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
5879         * config/mep/t-mep (LIB2ADD): Set.
5880         * config/microblaze/divsi3.asm: Rename to divsi3.S.
5881         * config/microblaze/moddi3.asm: Rename to moddi3.S.
5882         * config/microblaze/modsi3.asm: Rename to modsi3.S.
5883         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
5884         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
5885         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
5886         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
5887         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
5888         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
5889         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
5890         New files.
5891         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
5892         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
5893         * config/pa/fptr.c, config/pa/lib2funcs.S,
5894         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
5895         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
5896         (LIB2ADD, LIB2ADD_ST): Set.
5897         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
5898         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
5899         Set.
5900         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
5901         * config/pdp11/t-pdp11: New file.
5902         * config/picochip/libgccExtras/adddi3.S,
5903         config/picochip/libgccExtras/ashlsi3.S,
5904         config/picochip/libgccExtras/ashrsi3.S,
5905         config/picochip/libgccExtras/clzsi2.S,
5906         config/picochip/libgccExtras/cmpsi2.S,
5907         config/picochip/libgccExtras/divmod15.S,
5908         config/picochip/libgccExtras/divmodhi4.S,
5909         config/picochip/libgccExtras/divmodsi4.S,
5910         config/picochip/libgccExtras/lshrsi3.S,
5911         config/picochip/libgccExtras/parityhi2.S,
5912         config/picochip/libgccExtras/popcounthi2.S,
5913         config/picochip/libgccExtras/subdi3.S,
5914         config/picochip/libgccExtras/ucmpsi2.S,
5915         config/picochip/libgccExtras/udivmodhi4.S,
5916         config/picochip/libgccExtras/udivmodsi4.S: New files.
5917         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
5918         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
5919         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
5920         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
5921         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
5922         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
5923         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
5924         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
5925         files.
5926         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
5927         (HOST_LIBGCC2_CFLAGS): Set.
5928         * config/rs6000/t-darwin64: New file.
5929         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
5930         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
5931         * config/rs6000/t-ppccomm (LIB2ADD): Add
5932         $(srcdir)/config/rs6000/tramp.S.
5933         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
5934         Add  $(srcdir)/config/rs6000/eabi.S.
5935         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
5936         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
5937         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
5938         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
5939         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
5940         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
5941         * config/rs6000/tramp.S: New file.
5942         * config/s390/t-tpf: Remove.
5943         * config/sh/linux-atomic.S: New file.
5944         * config/sh/t-linux (LIB2ADD): Set.
5945         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
5946         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
5947         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
5948         to unwind-dw2.c.
5949         (HOST_LIBGCC2_CFLAGS): Set.
5950         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5951         * config/spu/divmodti4.c, config/spu/divv2df3.c,
5952         config/spu/float_disf.c, config/spu/float_unsdidf.c,
5953         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
5954         config/spu/mfc_multi_tag_release.c,
5955         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
5956         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
5957         config/spu/multi3.c: New files.
5958         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
5959         (HOST_LIBGCC2_CFLAGS): Set.
5960         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
5961         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
5962         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
5963         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
5964         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
5965         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
5966         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
5967         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
5968         config/stormy16/umodsi3.c: New files.
5969         * config/xtensa/lib2funcs.S: New file.
5970         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
5971         * config/xtensa/t-xtensa (LIB2ADD): Set.
5972         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
5973         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
5974         Add t-freebsd-thread to tmake_file for posix threads.
5975         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
5976         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
5977         (*-*-lynxos*): Likewise.
5978         (*-*-netbsd*): Likewise.
5979         (*-*-openbsd*): Likewise.
5980         Add t-openbsd-thread to tmake_file for posix threads.
5981         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
5982         (*-*-vxworks*): Set tmake_file.
5983         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
5984         (alpha*-*-freebsd*): Likewise.
5985         (alpha*-*-netbsd*): Likewise.
5986         (alpha*-*-openbsd*): Likewise.
5987         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
5988         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
5989         (alpha*-dec-*vms*): Likewise.
5990         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
5991         (bfin*-elf*): Add bfin/t-elf to tmake_file.
5992         (bfin*-uclinux*): Likewise.
5993         (bfin*-linux-uclibc*): Likewise.
5994         (crisv32-*-elf): Add cris/t-cris to tmake_file.
5995         (crisv32-*-none): Likewise.
5996         (cris-*-elf): Likewise.
5997         (cris-*-none): Likewise.
5998         (cris-*-linux*, crisv32-*-linux*): Likewise.
5999         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
6000         tmake_file.
6001         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
6002         tmake_file.
6003         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
6004         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
6005         (x86_64-*-elf*): Likewise.
6006         (i[34567]86-*-nto-qnx*): Likewise.
6007         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
6008         win32 threads.
6009         (x86_64-*-mingw*): Likewise.
6010         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
6011         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
6012         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6013         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6014         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
6015         tmake_file.
6016         (mipsisa64sr71k-*-elf*): Likewise.
6017         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6018         (mips-*-elf*, mipsel-*-elf*): Likewise.
6019         (mips64-*-elf*, mips64el-*-elf*): Likewise.
6020         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6021         (mips*-*-rtems*): Likewise.
6022         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
6023         to tmake_file.
6024         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
6025         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
6026         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
6027         (spu-*-elf*): Likewise.
6028         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
6030 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6032         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
6033         $(srcdir) to refer to $(LIB1ASMSRC).
6034         Use $<.
6035         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
6036         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
6037         config/arm/lib1funcs.S: New files.
6038         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
6039         * config/arm/t-arm: New file.
6040         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
6041         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
6042         config/arm/t-strongarm-elf: New files.
6043         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
6044         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
6045         * config/avr/lib1funcs.S: New file.
6046         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6047         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
6048         * config/c6x/lib1funcs.S: New file.
6049         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6050         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
6051         * config/frv/lib1funcs.S: New file.
6052         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6053         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
6054         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
6055         * config/ia64/__divxf3.asm: Rename to ...
6056         * config/ia64/__divxf3.S: ... this.
6057         Adapt lib1funcs.asm filename.
6058         * config/ia64/_fixtfdi.asm: Rename to ...
6059         * config/ia64/_fixtfdi.S: ... this.
6060         Adapt lib1funcs.asm filename.
6061         * config/ia64/_fixunstfdi.asm: Rename to ...
6062         * config/ia64/_fixunstfdi.S: ... this.
6063         Adapt lib1funcs.asm filename.
6064         * config/ia64/_floatditf.asm: Rename to ...
6065         * config/ia64/_floatditf.S: ... this.
6066         Adapt lib1funcs.asm filename.
6067         * config/ia64/lib1funcs.S: New file.
6068         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
6069         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6070         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
6071         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
6072         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
6073         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
6074         * config/mep/lib1funcs.S: New file.
6075         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6076         * config/mips/mips16.S: New file.
6077         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6078         * config/pa/milli64.S: New file.
6079         * config/pa/t-linux, config/pa/t-linux64: New files.
6080         * config/picochip/lib1funcs.S: New file.
6081         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6082         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
6083         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
6084         * config/sh/t-netbsd: New file.
6085         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
6086         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
6087         * config/sh/t-sh64: New file.
6088         * config/sparc/lb1spc.S: New file.
6089         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
6090         filename.
6091         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
6092         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
6093         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
6094         config/xtensa/lib1funcs.S: New files.
6095         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6096         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
6097         tmake_file.
6098         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
6099         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
6100         (arm*-*-linux*): Likewise.
6101         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
6102         arm*-*-linux-*eabi, add arm/t-linux otherwise.
6103         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
6104         (arm*-*-ecos-elf): Likewise.
6105         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6106         (arm*-*-rtems*): Likewise.
6107         (arm*-*-elf): Likewise.
6108         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
6109         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
6110         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
6111         (bfin*-uclinux*): Likewise.
6112         (bfin*-linux-uclibc*): Likewise.
6113         (bfin*-rtems*): Likewise.
6114         (bfin*-*): Likewise.
6115         (fido-*-elf): Merge into m68k-*-elf*.
6116         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
6117         (frv-*-*linux*): Add frv/t-frv to tmake_file.
6118         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
6119         (h8300-*-elf*): Likewise.
6120         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
6121         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
6122         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
6123         (i[34567]86-*-mingw*): Likewise.
6124         (x86_64-*-mingw*): Likewise.
6125         (i[34567]86-*-interix3*): Likewise.
6126         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
6127         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
6128         (m68k-*-elf*): Also handle fido-*-elf.
6129         Add m68k/t-floatlib to tmake_file.
6130         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
6131         (m68k-*-linux*): Likewise.
6132         (m68k-*-rtems*): Likewise.
6133         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
6134         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
6135         sh64*-*-*.
6136         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
6137         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
6138         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
6139         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
6140         sh/t-netbsd to tmake_file.
6141         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
6142         (sh-*-rtems*): Add sh/t-sh to tmake_file.
6143         (sh-wrs-vxworks): Likewise.
6144         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
6145         *-leon[3-9]*.
6146         (v850*-*-*): Add v850/t-v850 to tmake_file.
6147         (vax-*-linux*): Add vax/t-linux to tmake_file.
6148         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
6150 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6152         * crtstuff.c: New file.
6153         * Makefile.in (CRTSTUFF_CFLAGS): Define.
6154         (CRTSTUFF_T_CFLAGS): Define.
6155         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
6156         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
6157         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
6158         crtstuff.c.
6159         Use $<.
6160         (crtbeginT.o): Use $(objext).
6161         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
6162         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
6163         (gcc-extra-parts): Remove.
6164         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
6165         Set extra_parts.
6166         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6167         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
6168         Add t-crtstuff-pic to tmake_file.
6169         (*-*-lynxos*): New case.
6170         Set tmake_file, extra_parts.
6171         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
6172         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
6173         *-*-netbsdelf[2-9]*.
6174         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
6175         (*-*-rtems*): Set extra_parts.
6176         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
6177         (*-*-uclinux*): New case.
6178         Set extra_parts.
6179         (*-*-vms*): New case.
6180         Set tmake_file, extra_parts.
6181         (*-*-elf): Set extra_parts.
6182         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
6183         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
6184         vms/t-vms64.
6185         Set extra_parts.
6186         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
6187         Set extra_parts.
6188         (arm*-*-freebsd*): Add t-crtin to tmake_file.
6189         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
6190         (arm-wrs-vxworks): Append to tmake_file.
6191         Set extra_parts.
6192         (arm*-*-uclinux*): Set extra_parts.
6193         (arm*-*-ecos-elf): Likewise.
6194         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
6195         arm*-*-eabi*.
6196         (arm*-*-rtems*): Set extra_parts.
6197         (arm*-*-elf): Likewise.
6198         (avr-*-rtems*): Clear extra_parts.
6199         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
6200         Set extra_parts.
6201         (bfin*-uclinux*): Likewise.
6202         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
6203         (bfin*-rtems*): Append to tmake_file.
6204         Set extra_parts.
6205         (bfin*-*): Likewise.
6206         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
6207         (crisv32-*-elf): ... this.
6208         (crisv32-*-none): ... this.
6209         (cris-*-elf, cris-*-none): New cases.
6210         Add cris/t-elfmulti to tmake_file.
6211         (fr30-*-elf): Append to tmake_file.
6212         Set extra_parts.
6213         (frv-*-elf): Append to tmake_file, add frv/t-frv.
6214         Set extra_parts.
6215         (h8300-*-rtems*): Append to tmake_file.
6216         Set extra_parts.
6217         (h8300-*-elf*): Likewise.
6218         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
6219         Set extra_parts.
6220         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
6221         Set extra_parts.
6222         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
6223         (x86_64-*-elf*): Likewise.
6224         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
6225         (x86_64-*-freebsd*): Likewise.
6226         (x86_64-*-netbsd*): Likewise.
6227         (i[34567]86-*-linux*): Likewise.
6228         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
6229         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
6230         (x86_64-*-linux*): Likewise.
6231         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
6232         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
6233         tmake_file.
6234         Set extra_parts.
6235         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
6236         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
6237         Append to extra_parts, remove crtbegin.o, crtend.o.
6238         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
6239         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
6240         crtend.o, crtbeginS.o, crtendS.o.
6241         (ia64*-*-linux*): Comment extra_parts.
6242         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
6243         Set extra_parts.
6244         (iq2000*-*-elf*): Clear extra_parts.
6245         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
6246         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
6247         (m32r-*-elf*, m32r-*-rtems*): Split off ...
6248         (m32r-*-rtems*): ... this.
6249         Add m32r/t-m32r to tmake_file.
6250         (m68k-*-elf*): Add t-crtin to tmake_file.
6251         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
6252         (mcore-*-elf): Likewise.
6253         (microblaze*-*-*): Set extra_parts.
6254         (mips*-sde-elf*): New case.
6255         Set tmake_file, extra_parts.
6256         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6257         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6258         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
6259         tmake_file.
6260         Set extra_parts.
6261         (mipsisa64sr71k-*-elf*): Likewise.
6262         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6263         (mips-*-elf*, mipsel-*-elf*): Likewise.
6264         (mips64-*-elf*, mips64el-*-elf*): Likewise.
6265         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
6266         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
6267         (mips*-*-rtems*): Likewise.
6268         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
6269         (moxie-*-*): Split into ...
6270         (moxie-*-elf, moxie-*-uclinux*): ... this.
6271         Add to extra_parts, remove crtbegin.o, crtend.o.
6272         (moxie-*-rtems*): New case.
6273         Set tmake_file.
6274         Clear extra_parts.
6275         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
6276         Set extra_parts.
6277         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6278         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
6279         tmake_file.
6280         Set extra_parts.
6281         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
6282         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
6283         Set extra_parts.
6284         (powerpc-*-eabisim*): Likewise.
6285         (powerpc-*-elf*): Likewise.
6286         (powerpc-*-eabialtivec*): Likewise.
6287         (powerpc-xilinx-eabi*): Likewise.
6288         (powerpc-*-eabi*): Likewise.
6289         (powerpc-*-rtems*): Likewise.
6290         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
6291         tmake_file.
6292         Set extra_parts.
6293         (powerpc-*-lynxos*): Add to tmake_file.
6294         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
6295         rs6000/t-crtstuff, t-crtstuff-pic.
6296         Set extra_parts.
6297         (powerpcle-*-eabisim*): Likewise.
6298         (powerpcle-*-eabi*): Likewise.
6299         (rx-*-elf): Remove extra_parts.
6300         (s390x-ibm-tpf*): Set extra_parts.
6301         (score-*-elf): Set extra_parts.
6302         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6303         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6304         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6305         (sh64l*-*-netbsd*): Split into ...
6306         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
6307         Add t-crtstuff-pic to tmake_file.
6308         Set extra_parts.
6309         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
6310         Set extra_parts.
6311         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
6312         (sparc-*-elf*): Remove t-crtin from tmake_file.
6313         Add to extra_parts, remove crtbegin.o, crtend.o.
6314         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
6315         (sparc64-*-linux*): Likewise.
6316         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
6317         Add to extra_parts, remove crtbegin.o, crtend.o.
6318         (sparc64-*-elf*): Remove t-crtin from tmake_file.
6319         Add to extra_parts, remove crtbegin.o, crtend.o.
6320         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
6321         Add to extra_parts, remove crtbegin.o, crtend.o.
6322         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
6323         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
6324         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
6325         Set extra_parts.
6326         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
6327         Set extra_parts.
6328         (tic6x-*-*): Change to ...
6329         (tic6x-*-elf): ... this.
6330         Set extra_parts.
6331         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
6332         Set extra_parts.
6333         (am33_2.0-*-linux*): Add comment.
6334         (mep*-*-*): Add mep/t-mep to tmake_file.
6335         Set extra_parts.
6336         * config/alpha/t-vms: New file.
6337         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
6338         * config/arm/crti.S, config/arm/crtn.S: New files.
6339         * config/bfin/crti.S, config/bfin/crtn.S: New files.
6340         * config/bfin/crtlibid.S: New file.
6341         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
6342         * config/c6x/crti.S, config/c6x/crtn.S: New files.
6343         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
6344         (crti.o, crtin.o): New rules.
6345         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6346         * config/c6x/t-uclinux: New file.
6347         * config/cris/t-elfmulti: New file.
6348         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
6349         * config/fr30/crti.S, config/fr30/crtn.S: New files.
6350         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
6351         * config/frv/t-frv: New file.
6352         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
6353         * config/h8300/crti.S, config/h8300/crtn.S: New files.
6354         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
6355         New files.
6356         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
6357         refer to cygming-crtbegin.c, cygming-crtend.c.
6358         Use $<.
6359         * config/i386/t-nto: New file.
6360         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
6361         * config/ia64/crti.S, config/ia64/crtn.S: New files.
6362         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
6363         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
6364         Use .S extension.
6365         Use $<.
6366         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6367         (crtinitS.o): New rule.
6368         * config/ia64/vms-crtinit.S: New file.
6369         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
6370         * config/m32r/initfini.c: New file.
6371         * config/m32r/t-linux, config/m32r/t-m32r: New files.
6372         * config/m68k/crti.S, config/m68k/crtn.S: New files.
6373         * config/mcore/crti.S, config/mcore/crtn.S: New files.
6374         * config/mep/t-mep: New file.
6375         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
6376         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
6377         * config/mips/crti.S, config/mips/crtn.S: New files.
6378         * config/mips/t-crtstuff: New file.
6379         * config/mmix/crti.S, config/mmix/crtn.S: New files.
6380         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
6381         (CUSTOM_CRTIN): Set.
6382         ($(T)crti.o, $(T)crtn.o): Remove $(T),
6383         dependencies.
6384         Use $(srcdir) to refer to crti.S, crtn.S.
6385         Use .S extension, $<.
6386         * config/moxie/crti.asm: Rename to ...
6387         * config/moxie/crti.S: ... this.
6388         * config/moxie/crtn.asm: Rename to ...
6389         * config/moxie/crtn.S: ... this.
6390         * config/moxie/t-moxie: Remove.
6391         * config/pa/stublib.c: New file.
6392         * config/pa/t-stublib, config/pa/t-stublib64: New files.
6393         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
6394         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
6395         * config/rs6000/t-crtstuff: New file.
6396         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
6397         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
6398         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
6399         Make output file explicit.
6400         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
6401         Make output file explicit.
6402         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
6403         Make output file explicit.
6404         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
6405         Make output file explicit.
6406         * config/score/crti.S, config/score/crtn.S: New files.
6407         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
6408         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
6409         files.
6410         * config/sh/t-sh, config/sh/t-superh: New files.
6411         * config/sparc/t-linux64: New file.
6412         * config/spu/cache.S, config/spu/cachemgr.c: New files.
6413         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
6414         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
6415         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
6416         * config/t-crtin: Remove.
6417         * config/t-crtstuff-pic: New file.
6418         * config/t-sol2 (CUSTOM_CRTIN): Set.
6419         (crti.o, crtn.o): New rules.
6420         * config/vms/t-vms: New file.
6421         * config/vms/vms-ucrt0.c: New file.
6422         * config/xtensa/t-elf: New file.
6424 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6426         * Makefile.in (SHLIB_NM_FLAGS): Set.
6427         * mkmap-flat.awk, mkmap-symver.awk: New files.
6428         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
6429         exceptions.
6430         * configure: Regenerate.
6431         * config/libgcc-glibc.ver: New file.
6432         * config/libgcc-libsystem.ver: New file.
6433         * config/t-libunwind (SHLIB_LC): Set.
6434         * config/t-linux: New file.
6435         * config/t-slibgcc (INSTALL_SHLIB): New.
6436         (SHLIB_INSTALL): Use it.
6437         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
6438         to mkmap-symver.awk.
6439         (SHLIB_MAPFILES): Don't append, adapt pathname.
6440         (SHLIB_VERPFX): Set.
6441         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
6442         to mkmap-symver.awk.
6443         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
6444         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
6445         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
6446         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
6447         to mkmap-flat.awk.
6448         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
6449         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
6450         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
6451         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
6452         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
6453         * config/i386/libgcc-darwin.10.4.ver,
6454         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
6455         New files.
6456         * config/i386/t-darwin: Remove.
6457         * config/i386/t-darwin64: Likewise.
6458         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
6459         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
6460         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
6461         * config/i386/t-linux: New file.
6462         * config/i386/t-mingw32: New file.
6463         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
6464         * config/ia64/t-glibc: Rename to ...
6465         * config/ia64/t-linux: ... this.
6466         (SHLIB_MAPFILES): Set.
6467         * config/ia64/t-glibc-libunwind: Rename to ...
6468         * config/ia64/t-linux-libunwind: ... this.
6469         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
6470         * config/ia64/t-slibgcc-hpux: New file.
6471         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
6472         * config/m68k/t-slibgcc-elf-ver: New file.
6473         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
6474         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
6475         to mkmap-flat.awk.
6476         * config/pa/t-slibgcc-hpux: New file.
6477         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
6478         files.
6479         * config/rs6000/libgcc-darwin.10.4.ver,
6480         config/rs6000/libgcc-darwin.10.5.ver: New files.
6481         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
6482         config/rs6000/libgcc-glibc.ver.
6483         * config/rs6000/libgcc-ppc64.ver: Rename to
6484         config/rs6000/libgcc-ibm-ldouble.ver.
6485         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
6486         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
6487         * config/rs6000/t-ldbl128: Rename to ...
6488         * config/rs6000/t-linux: ... this.
6489         (SHLIB_MAPFILES): Adapt filename.
6490         * config/rs6000/t-slibgcc-aix: New file.
6491         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
6492         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
6493         libgcc-excl.ver, libgcc-glibc.ver.
6494         (SHLIB_LINK, SHLIB_INSTALL): Remove.
6495         * config/sparc/libgcc-glibc.ver: New file.
6496         * config/sparc/t-linux: New file.
6497         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
6498         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
6499         t-slibgcc-elf-ver to tmake_file.
6500         Add t-slibgcc-nolc-override to tmake_file for posix threads on
6501         *-*-freebsd[34].
6502         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6503         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
6504         t-slibgcc-elf-ver, t-linux to tmake_file.
6505         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
6506         tmake_file.
6507         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
6508         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
6509         (alpha*-dec-*vms*): Likewise.
6510         (arm*-*-freebsd*): Append to tmake_file.
6511         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
6512         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
6513         arm*-*-linux-*eabi.
6514         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
6515         tmake_file for arm*-*-symbianelf*.
6516         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
6517         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
6518         cris/t-linux.
6519         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
6520         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
6521         pa/t-slibgcc-dwarf-ver to tmake_file.
6522         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
6523         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
6524         (hppa*64*-*-hpux11*): Likewise.
6525         (hppa[12]*-*-hpux11*): Likewise.
6526         (x86_64-*-darwin*): Don't override tmake_file, but only keep
6527         i386/t-crtpc, i386/t-crtfm.
6528         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
6529         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6530         to tmake_file.
6531         Add i386/t-cygwin to tmake_file.
6532         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
6533         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
6534         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6535         to tmake_file.
6536         Add i386/t-mingw32 to tmake_file.
6537         (x86_64-*-mingw*): Likewise.
6538         (ia64*-*-freebsd*): Append to tmake_file.
6539         (ia64*-*-linux*): Append to tmake_file.
6540         Replace ia64/t-glibc by ia64/t-linux.
6541         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
6542         system libunwind.
6543         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
6544         t-slibgcc-hpux to tmake_file.
6545         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
6546         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
6547         (m32rle-*-linux*): Likewise.
6548         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
6549         sjlj exceptions.
6550         (microblaze*-linux*): New case.
6551         Append to tmake_file, add t-slibgcc-nolc-override.
6552         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
6553         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6554         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
6555         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6556         rs6000/t-slibgcc-aix to tmake_file.
6557         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6558         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6559         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6560         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6561         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6562         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
6563         sh*-*-linux*.
6564         (sparc-*-linux*): Append to tmake_file for *-leon*.
6565         Add sparc/t-linux to tmake_file for non-Leon targets.
6566         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
6567         (tic6x-*-uclinux): New case.
6568         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
6569         (tic6x-*-*): Add c6x/t-elf to tmake_file.
6570         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
6571         (am33_2.0-*-linux*): Append to tmake_file.
6572         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6573         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
6574         x86_64-*-kfreebsd*-gnu.
6575         Add i386/t-linux to tmake_file.
6577 2011-10-28  Ian Lance Taylor  <iant@google.com>
6579         * config/i386/morestack.S: Correct CFI information to do proper
6580         returns throughout function.  In 32-bit mode, save %ebx so that it
6581         is restored on unwind.
6583 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
6585         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
6586         case where B3 isn't the return register.
6588         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
6589         logic for doubleword pops.
6591 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
6593         * config/rs6000/t-freebsd: Add wildcard.
6595 2011-10-21  Paul Brook  <paul@codesourcery.com>
6597         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
6599 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
6600             Eric Botcazou  <ebotcazou@adacore.com>
6602         PR target/50737
6603         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
6604         fs->signal_frame to 1.
6606 2011-10-07  Ian Lance Taylor  <iant@google.com>
6608         * generic-morestack-thread.c: #include <errno.h>.
6610 2011-10-07  Ian Lance Taylor  <iant@google.com>
6612         PR target/46093
6613         * generic-morestack.c (__generic_morestack): Make sure the segment
6614         is large enough for both the stack frame and the copied
6615         parameters.
6617 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6619         PR bootstrap/49804
6620         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
6621         extra_parts.
6623 2011-09-28  Nick Clifton  <nickc@redhat.com>
6625         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
6626         64-bit doubles are not enabled.
6627         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
6628         and floatunsisf functions.
6630 2011-09-13  Paul Brook  <paul@codesourcery.com>
6632         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
6633         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
6634         * unwind-arm-common.inc: New file.
6635         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
6636         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
6637         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
6638         * config/c6x/libunwind.S: New file.
6639         * config/c6x/pr-support.c: New file.
6640         * config/c6x/unwind-c6x.c: New file.
6641         * config/c6x/unwind-c6x.h: New file.
6642         * config/c6x/t-c6x-elf: New file.
6644 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
6646         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
6647         (ASM_DIVZERO): Ditto.
6648         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
6650 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
6652         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
6654 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
6656         PR target/50090
6657         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
6658         instead of an assembly one.
6660 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
6662         PR bootstrap/50047
6663         * Makefile.in (install-unwind_h): Create
6664         $(gcc_objdir)/include/unwind.h atomically.
6666 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6668         * Makefile.in (install-unwind_h): Remove destination file first.
6670 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6672         * sync.c: New file.
6673         * config/mips/t-mips16: New file.
6674         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
6675         (mips*-*-linux*): Likewise.
6676         (mips*-sde-elf*): Likewise.
6677         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
6678         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
6679         Add mips/t-mips16 to tmake_file.
6680         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
6681         (mips-*-elf*): Likewise.
6682         (mips64-*-elf*): Likewise.
6683         (mips64orion-*-elf*): Likewise.
6684         (mips*-*-rtems*): Likewise.
6685         (mipstx39-*-elf*): Likewise.
6686         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
6687         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
6688         LIBGCC_SYNC_CFLAGS.
6689         Use $(srcdir) to refer to sync.c.
6690         Use $<.
6691         ($(libgcc-sync-funcs-o)): Likewise.
6692         ($(libgcc-sync-size-funcs-s-o)): Likewise.
6693         ($(libgcc-sync-funcs-s-o)): Likewise.
6695 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
6697         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
6698         t-libunwind.
6700 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
6702         PR other/48007
6703         * config/i386/value-unwind.h: New.
6705 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
6707         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
6708         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
6709         Add to tmake_file rather than overriding it.
6711 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6713         * config/t-softfp: Remove.
6714         * soft-fp: Moved from ../gcc/config.
6715         * soft-fp/README: Remove t-softfp reference.
6716         * soft-fp/t-softfp: Move to config/t-softfp.
6717         (softfp_machine_header): Remove.
6718         (softfp_file_list): Remove config subdir.
6719         (soft-fp-objects): New variable.
6720         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
6721         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
6722         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
6723         * config/t-softfp-excl: New file.
6724         * config/t-softfp-sfdf: New file.
6725         * config/t-softfp-tf: New file.
6726         * config/no-sfp-machine.h: New file.
6727         * config/arm/sfp-machine.h: New file.
6728         * config/arm/t-softfp: New file.
6729         * config/c6x/sfp-machine.h: New file.
6730         * config/i386/32/t-fprules-softfp: Rename to ...
6731         * config/i386/32/t-softfp: ... this.
6732         (tifunctions, LIB2ADD): Remove.
6733         (softfp_int_modes): Override.
6734         * config/i386/64/t-softfp-compat (tf-functions): Remove config
6735         subdir.
6736         * config/i386/64/eqtf2.c: Likewise.
6737         * config/i386/64/getf2.c: Likewise.
6738         * config/i386/64/letf2.c: Likewise.
6739         * config/ia64/sft-machine.h: New file.
6740         * config/ia64/t-fprules-softfp: Rename to ...
6741         * config/ia64/t-softfp: ... this.
6742         * config/lm32/sfp-machine.h: New file.
6743         * config/moxie/t-moxie-softfp: Remove.
6744         * config/rs6000/ibm-ldouble-format: New file.
6745         * config/rs6000/ibm-ldouble.c: New file.
6746         * config/rs6000/libgcc-ppc-glibc.ver: New file
6747         * config/rs6000/libgcc-ppc64.ver: New file
6748         * config/rs6000/sfp-machine.h: New file.
6749         * config/rs6000/t-freebsd: New file.
6750         * config/rs6000/t-ibm-ldouble: New file.
6751         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
6752         libgcc-ppc-glibc.ver.
6753         * config/rs6000/t-linux64: New file.
6754         * config/rs6000/t-ppccomm (LIB2ADD): Add
6755         $(srcdir)/config/rs6000/ibm-ldouble.c.
6756         * config/rs6000/t-ppccomm-ldbl: New file.
6757         * config/score/sfp-machine.h: New file.
6758         * config.host (sfp_machine_header): Explain.
6759         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
6760         t-softfp to tmake_file.
6761         (arm*-*-uclinux*): Likewise.
6762         (arm*-*-ecos-elf): Likewise.
6763         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6764         (arm*-*-rtems*): Likewise.
6765         (arm*-*-elf): Likewise.
6766         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
6767         in tmake_file.
6768         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
6769         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
6770         (lm32-*-uclinux*): Likewise.
6771         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
6772         t-softfp-excl, t-softfp.
6773         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
6774         (powerpc64-*-darwin*): Likewise.
6775         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
6776         to tmake_file.
6777         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
6778         tmake_file.
6779         (powerpc-*-eabisim*): Likewise.
6780         (powerpc-*-elf*): Likewise.
6781         (powerpc-*-eabialtivec*): Likewise.
6782         (powerpc-xilinx-eabi*): Likewise.
6783         (powerpc-*-rtems*): Likewise.
6784         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
6785         t-softfp-excl, t-softfp to tmake_file.
6786         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
6787         rs6000/t-ppccomm-ldbl to tmake_file.
6788         (powerpcle-*-elf*): Likewise.
6789         (powerpcle-*-eabisim*): Likewise.
6790         (powerpcle-*-eabi*): Likewise.
6791         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6792         rs6000/t-ibm-ldouble to tmake_file.
6793         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6794         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6795         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
6796         (tic6x-*-*): Likewise.
6797         (i[34567]86-*-darwin*, x86_64-*-darwin*,
6798         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
6799         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
6800         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
6801         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
6802         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
6803         t-softfp to tmake_file.
6804         * configure.ac (sfp_machine_header): Provide default if unset.
6805         Substitute.
6806         Link sfp-machine.h to config/$sfp_machine_header.
6807         * configure: Regenerate.
6809 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6811         * Makefile.in (double_type_size, long_double_type_size): Set.
6812         Remove $(fpbit-in-libgcc) support.
6813         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
6814         (fpbit-src): New variable.
6815         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
6816         Compile with -DFLOAT $(FPBIT_CFLAGS).
6817         Use $<.
6818         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
6819         Compile with $(FPBIT_CFLAGS).
6820         Use $<.
6821         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
6822         Compile with -DFLOAT $(TPBIT_CFLAGS).
6823         Use $<.
6824         * configure.ac (double_type_size, long_double_type_size):
6825         Determine and substitute.
6826         * configure: Regenerate.
6827         * fp-bit.c, fp-bit.h: New files.
6828         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
6829         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
6830         * config/mips/t-mips: New file.
6831         * config/mips/t-sdemtk: New file.
6832         * config/rs6000/ppc64-fp.c: New file.
6833         * config/rs6000/t-darwin (LIB2ADD): Add
6834         $(srcdir)/config/rs6000/ppc64-fp.c.
6835         * config/rs6000/t-ppc64-fp: New file.
6836         * config/rx/rx-lib.h: New file.
6837         * config/rx/t-rx (FPBIT): Set to true.
6838         ($(gcc_objdir)/fp-bit.c): Remove.
6839         (DPBIT): Set to true only with -m64bit-doubles.
6840         ($(gcc_objdir)/dp-bit.c): Remove.
6841         * config/sparc/t-softfp: Remove.
6842         * config/spu/t-elf: New file.
6843         * config/t-fdpbit, config/t-fpbit: New files.
6844         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
6845         (mips*-*-*): Likewise.
6846         (arm-wrs-vxworks): Likewise.
6847         (arm*-*-freebsd*): Likewise.
6848         (avr-*-rtems*): Add t-fpbit to tmake_file.
6849         (avr-*-*): Likewise.
6850         (bfin*-elf*): Add t-fdpbit to tmake_file.
6851         (bfin*-uclinux*): Likewise.
6852         (bfin*-linux-uclibc*): Likewise.
6853         (bfin*-rtems*): New case.
6854         Add t-fdpbit to tmake_file.
6855         (bfin*-*): Add t-fdpbit to tmake_file.
6856         (crisv32-*-elf): Likewise.
6857         (cris-*-linux*): Likewise.
6858         (fr30-*-elf): Likewise.
6859         (frv-*-elf, frv-*-*linux*): Likewise.
6860         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
6861         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
6862         (m32r-*-elf*): Likewise.
6863         (m32rle-*-elf*): Likewise.
6864         (m32r-*-linux*): Likewise.
6865         (m32rle-*-linux*): Likewise.
6866         (mcore-*-elf): Add t-fdpbit to tmake_file.
6867         (microblaze*-*-*): Likewise.
6868         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
6869         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
6870         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
6871         Fix typo.
6872         Add mips/t-tpbit to tmake-file.
6873         (mips*-*-linux*): Fix typo.
6874         (mips*-sde-elf*): New case
6875         Add mips/t-sdemtk unless using newlib.
6876         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
6877         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
6878         (mn10300-*-*): Likewise.
6879         (pdp11-*-*): Likewise.
6880         (picochip-*-*): Add t-fpbit to tmake_file.
6881         (powerpc-*-eabisimaltivec*): Likewise.
6882         (powerpc-*-eabisim*): Likewise.
6883         (powerpc-*-elf*): Likewise.
6884         (powerpc-*-eabialtivec*): Likewise.
6885         (powerpc-xilinx-eabi*): New case.
6886         Add t-fdpbit to tmake_file.
6887         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
6888         (powerpc-*-rtems*): Likewise.
6889         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
6890         tmake_file.
6891         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
6892         tmake_file.
6893         (powerpc-*-lynxos*): Likewise.
6894         (powerpcle-*-elf*): Likewise.
6895         (powerpcle-*-eabisim*): Likewise.
6896         (powerpcle-*-eabi*): Likewise.
6897         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6898         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
6899         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6900         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6901         (rx-*-elf): Add t-fdpbit to tmake_file.
6902         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6903         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6904         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6905         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
6906         sh*-*-netbsd*.
6907         (sh-*-rtems*): Add t-fdpbit to tmake_file.
6908         (sh-wrs-vxworks): Likewise.
6909         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
6910         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
6911         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
6912         (sparc64-*-rtems*): ... new case.
6913         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
6914         (spu-*-elf*): Likewise.
6915         Add spu/t-elf to tmake_file.
6916         (v850*-*-*): Add t-fdpbit to tmake_file.
6917         (xstormy16-*-elf): Likewise.
6918         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
6919         (mep*-*-*): Likewise.
6921 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6923         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
6924         variables.
6925         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
6926         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
6927         (install-unwind_h): New target.
6928         (all): Depend on it.
6929         * config.host (unwind_header): New variable.
6930         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
6931         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6932         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
6933         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
6934         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
6935         Set unwind_header.
6936         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
6937         Set unwind_header.
6938         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
6939         arm*-*-eabi*.
6940         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
6941         Set unwind_header.
6942         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
6943         (ia64*-*-freebsd*): Likewise.
6944         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
6945         tmake_file.
6946         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
6947         $with_system_libunwind.
6948         (ia64*-*-hpux*): Set tmake_file.
6949         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
6950         (picochip-*-*): Set tmake_file.
6951         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
6952         md_unwind_header.
6953         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6954         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6955         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
6956         (xtensa*-*-elf*): Set tmake_file.
6957         (xtensa*-*-linux*): Likewise.
6958         * configure.ac: Include ../config/unwind_ipinfo.m4.
6959         Call GCC_CHECK_UNWIND_GETIPINFO.
6960         Link unwind.h to $unwind_header.
6961         * configure: Regenerate.
6962         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
6963         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
6964         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
6965         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
6966         * config/unwind-dw2-fde-darwin.c: New file.
6967         * config/arm/libunwind.S, config/arm/pr-support.c,
6968         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
6969         config/arm/unwind-arm.h,: New files.
6970         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
6971         config/ia64/t-eh-ia64, config/ia64/t-glibc,
6972         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
6973         config/ia64/t-vms, config/ia64/unwind-ia64.c,
6974         config/ia64/unwind-ia64.h: New files.
6975         * config/picochip/t-picochip: New file.
6976         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
6977         files.
6978         * config/rs6000/t-darwin (LIB2ADDEH): Set.
6979         * config/s390/t-tpf (LIB2ADDEH): Remove.
6980         * config/t-darwin (LIB2ADDEH): Set.
6981         * config/t-eh-dw2-dip: New file.
6982         * config/t-libunwind, config/t-libunwind-elf: New files.
6983         * config/t-sol2 (LIB2ADDEH): Remove.
6984         * config/xtensa/t-xtensa: New file.
6986 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
6988         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
6989         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
6990         long long to check rt_sigreturn syscall.
6992 2011-08-02  Alan Modra  <amodra@gmail.com>
6994         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
6995         Restore for indirect call bcrtl from correct stack slot, and only
6996         if cfa+40 isn't valid.
6998 2011-08-01  Julian Brown  <julian@codesourcery.com>
7000         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
7001         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
7002         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
7004 2011-08-01  Julian Brown  <julian@codesourcery.com>
7006         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
7007         (libgcc-std.ver.in): Use above.
7008         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
7009         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
7010         throughout file.
7011         * config/t-fixedpoint-gnu-prefix: New file.
7012         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
7013         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
7014         instead of __PFX__.
7016 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
7018         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
7019         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
7020         for x86-64.  Properly check __x86_64__ and __LP64__.
7022 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
7024         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
7025         version.
7026         (_FP_WS_TYPE): Likewise.
7027         (_FP_I_TYPE): Likewise.
7029 2011-07-28  Alan Modra  <amodra@gmail.com>
7031         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7032         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
7033         in a plt call stub.  Do restore r2 if stopped on bctrl.
7035 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7037         * config.host (i[3456x]86-*-netware*): Remove.
7038         * config/i386/netware-crt0.c, config/i386/t-nwld,
7039         config/i386/t-slibgcc-nwld: Remove.
7041 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
7043         * config.host: Handle tic6x-*-*.
7044         * config/c6x/c6x-abi.h: New file.
7046 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7048         * config/i386/crtprec.c: New file.
7049         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
7050         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
7051         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
7052         (x86_64-*-darwin*): Likewise.
7053         (i[34567]86-*-solaris2*: Likewise.
7055 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7057         * config/alpha/crtfastmath.c: New file.
7058         * config/i386/crtfastmath.c: New file.
7059         * config/ia64/crtfastmath.c: New file.
7060         * config/mips/crtfastmath.c: New file.
7061         * config/sparc/crtfastmath.c: New file.
7063         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
7064         crtfastmath.c.
7065         Add -frandom-seed=gcc-crtfastmath.
7066         * config/alpha/t-crtfm: Remove.
7067         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
7068         * config/ia64/t-ia64 (crtfastmath.o): Remove.
7070         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
7071         (alpha*-dec-osf5.1*): Likewise.
7072         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
7073         Add crtfastmath.o to extra_parts.
7074         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
7075         Add crtfastmath.o to extra_parts.
7076         (x86_64-*-darwin*): Likewise.
7077         (x86_64-*-mingw*): Likewise.
7078         (ia64*-*-elf*): Add t-crtfm to tmake_file.
7079         (ia64*-*-freebsd*): Likewise.
7080         (ia64*-*-linux*): Likewise.
7081         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
7082         Add crtfastmath.o to extra_parts.
7084 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7086         * config/darwin-crt3.o: New file.
7087         * config/rs6000/darwin-crt2.c: New file.
7088         * config/t-darwin: New file.
7089         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
7090         (crt2.o): New rule.
7091         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
7092         (powerpc-*-darwin*): Add crt2.o to extra_parts.
7093         (powerpc64-*-darwin*): Likewise.
7095 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7097         * config/i386/netware-crt0.c: New file.
7098         * config/i386/t-nwld: Rename to ...
7099         * config/i386/t-slibgcc-nwld: ... this.
7100         * config/i386/t-nwld: New file.
7101         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
7102         tmake_file.
7103         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
7104         extra_parts.
7106 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7108         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
7109         i386/t-crtstuff.
7110         * configure: Regenerate.
7112 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7114         * dfp-bit.c, dfp-bit.h: New files.
7115         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
7116         variables.
7117         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
7118         ($(d64pbit-o)): Likewise.
7119         ($(d128pbit-o)): Likewise.
7120         * config/t-dfprules: New file.
7121         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
7122         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
7123         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7124         (x86_64-*-linux*): Likewise.
7125         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7126         (i[34567]86-*-cygwin*): Likewise.
7127         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
7128         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7130 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7132         * Makfile.in (LIBGCOV): New variable.
7133         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
7134         * libgcov.c: New file.
7136 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7138         * fixed-bit.c, fixed-bit.h: New files.
7139         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
7140         refer to fixed-bit.c.
7142 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
7144         * config.host (*local*): Remove.
7146 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7148         PR target/39150
7149         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
7150         like i?86-*-solaris2.1[0-9]*.
7151         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
7152         * configure.ac (i?86-*-solaris2*): Likewise.
7153         * configure: Regenerate.
7155 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
7157         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7158         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
7159         md_unwind_header by splitting out of...
7160         (i[34567]86-*-linux*): ... this.
7161         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
7162         Remove md_unwind_header by splitting out of...
7163         (x86_64-*-linux*): ... this.
7165 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
7167         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
7169 2011-06-28  Nick Clifton  <nickc@redhat.com>
7171         * config.host: Recognize all V850 variants.
7173 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
7175         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
7177 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7179         * shared-object.mk (c_flags-$o): Save c_flags.
7180         ($(base)$(objext)): Use it.
7181         ($(base)_s$(objext)): Likewise.
7183 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
7185         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
7186         * libgcc-std.ver.in (GCC_4.7.0): New section.
7188 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
7190         PR target/49313
7191         PR target/29524
7192         * config/avr/t-avr: Fix line endings.
7193         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
7194         _parityXX2.
7196 2011-06-14  Olivier Hainque  <hainque@adacore.com>
7197             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7199         * config/mips/irix6-unwind.h: New file.
7200         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
7202 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
7204         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
7205         (sparc64_fallback_frame_state): Use it.
7206         (sparc64_frob_update_context): Further adjust context.
7207         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
7208         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
7209         * config/sparc/sol2-cn.S: Likewise.
7211 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7213         * enable-execute-stack-empty.c: New file.
7214         * enable-execute-stack-mprotect.c: New file.
7215         * config/i386/enable-execute-stack-mingw32.c: New file.
7216         * config.host (enable_execute_stack): New variable.
7217         Select appropriate variants.
7218         * configure.ac: Link enable-execute-stack.c to
7219         $enable_execute_stack.
7220         * configure: Regenerate.
7221         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
7222         (lib2funcs): Remove _enable_execute_stack.
7224 2011-06-09  David S. Miller  <davem@davemloft.net>
7225             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7227         * config.host (sparc-*-linux*): Correct md_unwind_header
7228         filename.
7229         (s390x-ibm-tpf*): Fix typo.
7231 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7233         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
7234         Add crtfastmath.o to extra_parts.
7235         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
7236         mips/t-crtfm.
7237         * config/mips/t-crtfm: Remove.
7239 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7241         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
7243 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
7245         * config.host (sh*-*-linux*): Fix typo.
7247 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7249         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
7250         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
7251         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
7252         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
7253         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
7254         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
7255         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
7256         Wrap in !__MINGW64__.
7257         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
7258         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
7259         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
7260         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
7261         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
7262         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
7263         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
7264         Wrap in !__LP64__.
7265         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
7266         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
7267         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
7268         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
7269         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
7270         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
7271         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
7272         * config/no-unwind.h: New file.
7273         * config.host (md_unwind_header): Document.
7274         Define.
7275         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
7276         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
7277         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
7278         hppa[12]*-*-hpux11*): Set md_unwind_header.
7279         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
7280         Set md_unwind_header.
7281         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
7282         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
7283         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
7284         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
7285         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
7286         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
7287         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
7288         md_unwind_header.
7289         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
7290         * configure: Regenerate.
7292 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7294         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
7295         Set tmake_file, extra_parts.
7296         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
7297         Remove O32 support.
7298         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
7299         Remove O32 support.
7300         * config/mips/t-irix6: New file.
7301         * config/mips/t-slibgcc-irix: New file.
7303 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7305         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
7306         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
7308 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7310         * configure.ac (target_thread_file): Determine thread model.
7311         * configure: Regenerate.
7312         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
7313         * config/alpha/t-alpha: New file.
7314         * config/alpha/t-crtfm: Use $<.
7315         * config/alpha/t-ieee: New file.
7316         * config/alpha/t-osf-pthread: New file.
7317         * config/alpha/t-slibgcc-osf: New file.
7318         * config/alpha/libgcc-osf5.ver: New file.
7320 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7322         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
7323         tmake_file.
7324         Add crtfastmath.o to extra_parts.
7326 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7328         * config/gmon-sol2.c: Reindent.
7329         Cleanup comments.
7330         Remove, correct casts.
7331         Use STDERR_FILENO, NULL.
7332         (BASEADDRESS): Remove.
7333         (minbrk): Remove.
7334         (errno, sbrk): Remove declarations.
7335         (monstartup) [hp300]: Remove.
7336         (mcount): Remove.
7338 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7340         * Makefile.in (cpu_type): Define.
7341         * config.host (i[34567]86-*-rtems*): Handle it.
7342         (i[34567]86-*-solaris2*): Move body ...
7343         (*-*-solaris2*): ... here.
7344         New case, generalize.
7345         (sparc-*-elf*): Handle it.
7346         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
7347         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
7348         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
7349         Fold into ...
7350         (sparc*-*-solaris2*): ... this.
7351         New case.
7352         (sparc64-*-elf*): Handle it.
7353         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
7354         Merge ../gcc/config/i386/gmon-sol2.c.
7355         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
7356         Use C comments.
7357         Merge ../gcc/config/i386/sol2-gc1.asm.
7358         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
7359         Use C comments.
7360         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
7361         Use C comments.
7362         * config/i386/t-crtfm (crtfastmath.o): Use $<.
7363         * config/i386/t-crtstuff: New file.
7364         * config/i386/t-softfp: New file.
7365         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
7366         $(T)crti.o, $(T)crtn.o): Remove.
7367         (gcrt1.o): New rule.
7368         (TARGET_LIBGCC2_CFLAGS): Remove.
7369         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
7370         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
7371         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
7372         * config/sparc/t-sol2: New file.
7373         * config/sparc/t-crtfm: Move to ...
7374         * config/t-crtfm: ... this.
7375         Use $(cpu_type), $<.
7376         * config/t-crtin: New file.
7377         * config/sparc/t-softfp: New file.
7378         * config/sparc/t-softmul: New file.
7379         * config/t-rtems: New file.
7380         * config/t-slibgcc: New file.
7381         * config/t-slibgcc-elf-ver: New file.
7382         * config/t-slibgcc-gld: New file.
7383         * config/t-slibgcc-sld: New file.
7384         * config/t-sol2: New file.
7385         * configure.ac: Include ../config/lib-ld.m4.
7386         Call AC_LIB_PROG_LD_GNU.
7387         Substitute cpu_type.
7388         * configure: Regenerate.
7390 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
7392         PR bootstrap/49173
7393         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
7394         libgcc-std.ver in the build directory.
7395         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
7396         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
7398 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
7400         * libgcc-std.ver.in: New file.
7401         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
7402         variables.
7403         (libgcc-std.ver): New rule.
7404         * config/t-gnu-prefix: New file.
7406 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7408         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
7410 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
7412         * config/i386/darwin-lib.h: New file.
7414 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
7416         * config/arm/symbian-lib.h: New.
7418 2011-05-04  Chris Demetriou  <cgd@google.com>
7420         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
7421         (__x86.get_pc_thunk.bx): ...this.
7422         (__morestack): Adjust for rename, remove undef of __i686.
7424 2011-05-03  Chris Demetriou  <cgd@google.com>
7426         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
7428 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
7430         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
7431         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
7432         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
7433         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
7434         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
7435         Remove cases.
7437 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
7439         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
7440         Adjust copyright year.
7442 2011-03-07  Ian Lance Taylor  <iant@google.com>
7444         * generic-morestack.c (__splitstack_find): Adjust returned stack
7445         pointer to include all registers pushed by __morestack.
7447 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
7449         PR target/40125
7450         * configure.ac: Call ACX_NONCANONICAL_TARGET.
7451         (toolexecdir): Calculate and AC_SUBST.
7452         (toolexeclibdir): Likewise.
7453         * Makefile.in (target_noncanonical): Import.
7454         (toolexecdir): Likewise.
7455         (toolexeclibdir): Likewise.
7456         * configure: Regenerate.
7458 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
7460         PR target/46040
7461         * config/arm/bpabi.h: Rename to...
7462         * config/arm/bpabi-lib.h: ...this.
7464 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7466         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
7467         appropriate.
7468         * configure: Regenerate.
7470 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
7472         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
7473         __FLOAT_WORD_ORDER__.
7474         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
7475         Delete.
7477 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7479         PR other/46202
7480         * Makefile.in (install-strip): New phony target.
7482 2010-11-07  Ian Lance Taylor  <iant@google.com>
7484         PR target/46089
7485         * config/i386/morestack.S (__morestack_large_model): New
7486         function.
7488 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
7490         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
7491         Delete.
7492         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
7494 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
7496         * config/arm/bpabi.h: New file.
7497         * config/frv/frv-abi.h: New file.
7499 2010-10-01  Ian Lance Taylor  <iant@google.com>
7501         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
7502         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
7504 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
7506         PR target/45858
7507         * config.host: Add the missing `$'.
7509 2010-09-30  Michael Eager  <eager@eagercon.com>
7511         * config.host: Add microblaze*-*-*.
7512         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
7513         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
7514         udivsi3.asm,umodsi3.asm}:  New.
7516 2010-09-28  Ian Lance Taylor  <iant@google.com>
7518         * configure.ac: Adjust CFI test to test assembler directly rather
7519         than checking gcc preprocessor macro.
7520         * configure: Rebuild.
7522 2010-09-27  Ian Lance Taylor  <iant@google.com>
7524         * configure.ac: Test whether assembler supports CFI directives.
7525         * config.host: Only add t-stack and i386/t-stack-i386 to
7526         tmake_file if libgcc_cv_cfi is "yes".
7527         * configure: Rebuild.
7529 2010-09-27  Ian Lance Taylor  <iant@google.com>
7531         * generic-morestack.h: New file.
7532         * generic-morestack.c: New file.
7533         * generic-morestack-thread.c: New file.
7534         * config/i386/morestack.S: New file.
7535         * config/t-stack: New file.
7536         * config/i386/t-stack-i386: New file.
7537         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
7538         i386/t-stack-i386 to tmake_file.
7540 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
7542         * Makefile.in (libgcc-extra-parts):  Check for static archives and
7543         invoke ranlib after installing them.
7544         (gcc-extra-parts): Likewise.
7545         (install-leaf): Likewise.
7547 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
7549         * configure: Regenerated.
7551 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
7553         * configure: Regenerated.
7555 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
7556             Andrew Pinski  <pinskia@gmail.com>
7558         PR target/40959
7559         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
7561 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7563         PR target/45524
7564         * configure: Regenerated.
7566 2010-09-06  Andreas Schwab  <schwab@redhat.com>
7568         * configure: Regenerate.
7570 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
7572         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
7573         64bit targets.
7574         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
7575         for 64bit targets.
7577 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
7578             Iain Sandoe  <iains@gcc.gnu.org>
7580         PR target/45476
7581         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
7582         LIB2FUNCS_EXCLUDE functions.
7584 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7586         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
7587         Include dfp.m4.
7588         * configure: Regenerate.
7590 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
7592         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
7593         i386/t-freebsd to tmake_file.
7594         * config/i386/t-freebsd: New file.
7595         * config/i386/libgcc-bsd.ver: New file.
7597 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
7599         * config.host (powerpc*-eabispe*): Set tmake_file.
7600         (powerpc*-eabi*): Likewise.
7601         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
7602         crtbeginS, crtendS, crtbeginT.
7604 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
7606         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
7607         to tmake_file.  Add crtfastmath.o to extra_parts.
7608         * config/mips/t-crtfm: New.
7610 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
7612         * config.host (sparc64-*-rtems*): New target.
7614 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7616         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7617         assembler syntax.
7619 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
7621         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
7623 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7625         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
7626         alpha-dec-osf5.0* support.
7628 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
7630         * config.host: Add lm32-*-rtems*.
7632 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7633             Uros Bizjak  <ubizjak@gmail.com>
7635         PR target/39048
7636         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
7637         like other remaining 32-bit x86 OSes.
7638         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7639         assembler syntax.
7640         * config/i386/libgcc-sol2.ver: New file.
7641         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
7643 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
7645         PR c/43553
7646         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
7647         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
7648         is used and substitute set_use_emutls.
7649         * configure: Regenerated.
7651 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
7653         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
7655 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7657         PR target/38085
7658         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
7659         MULTILIB_CFLAGS.
7660         ($(T)gcrt1.o): Likewise.
7661         ($(T)crt1.o): Likewise.
7662         ($(T)crti.o): Likewise.
7663         ($(T)crtn.o): Likewise.
7665 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7667         PR other/42980
7668         * Makefile.in (install): Use $(MAKE) string in rule, for
7669         parallel make.
7671 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
7673         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
7674         * config/mmix/t-mmix: New file.
7675         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
7677 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
7679         PR java/41991
7680         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
7681         SHLIB_MAPFILES.
7683 2010-01-04  Anthony Green  <green@moxielogic.com>
7685         * config/moxie/crti.asm, config/moxie/crtn.asm,
7686         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
7687         config/moxie/t-moxie: New files.
7688         * config.host: Add t-moxie-softfp reference.
7690 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
7692         PR other/39888
7693         * config/t-slibgcc-darwin: Fix embedded rpaths for
7694         --enable-version-specific-runtime-libs, build extension stub
7695         libs exposing features available from current libgcc_s.
7697 2009-11-11  Jon Beniston  <jon@beniston.com>
7699         * config.host: Add lm32 targets.
7700         * config/lm32: New directory.
7701         * config/lm32/libgcc_lm32.h: New file.
7702         * config/lm32/_mulsi3.c: New file.
7703         * config/lm32/_udivmodsi4.c: New file.
7704         * config/lm32/_divsi3.c: New file.
7705         * config/lm32/_modsi3.c: New file.
7706         * config/lm32/_udivsi3.c: New file.
7707         * config/lm32/_umodsi3.c: New file.
7708         * config/lm32/_lshrsi3.S: New file.
7709         * config/lm32/_ashrsi3.S: New file.
7710         * config/lm32/_ashlsi3.S: New file.
7711         * config/lm32/crti.S: New file.
7712         * config/lm32/crtn.S: New file.
7713         * config/lm32/t-lm32: New file.
7714         * config/lm32/t-elf: New file.
7715         * config/lm32/t-uclinux: New file.
7717 2009-10-26  Nick Clifton  <nickc@redhat.com>
7719         * config.host: Add support for RX target.
7720         * config/rx: New directory.
7721         * config/rx/rx-abi-functions.c: New file. Supplementary
7722         functions for libgcc to support the RX ABI.
7723         * config/rx/rx-abi.h: New file.  Supplementary header file for
7724         libgcc RX ABI functions.
7725         * config/rx/t-rx: New file: Makefile fragment for building
7726         libgcc for the RX.
7728 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
7730         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
7731         constraint of y0 to "g".
7733 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7735         * config.host: Include the s390 makefile fragments.
7736         * config/s390/32/_fixdfdi.c: New file.
7737         * config/s390/32/_fixsfdi.c: New file.
7738         * config/s390/32/_fixtfdi.c: New file.
7739         * config/s390/32/_fixunsdfdi.c: New file.
7740         * config/s390/32/_fixunssfdi.c: New file.
7741         * config/s390/32/_fixunstfdi.c: New file.
7742         * config/s390/32/t-floattodi: New file.
7743         * config/s390/libgcc-glibc.ver: New file.
7744         * config/s390/t-crtstuff: New file.
7745         * config/s390/t-linux: New file.
7746         * config/s390/t-tpf: New file.
7748 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7750         * configure.ac (AC_PREREQ): Bump to 2.64.
7752 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
7754         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
7756 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7758         * configure: Regenerate.
7760 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
7762         * config.host (ia64-hp-*vms*): New target.
7763         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
7764         with ia64-hp-*vms*.
7766 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7768         * configure.ac: Add snippet for maintainer-mode.
7769         * configure: Regenerate.
7770         * Makefile.in (AUTOCONF, configure_deps): New variables.
7771         ($(srcdir)/configure)): New rule, active only with maintainer
7772         mode turned on.
7774 2009-06-23  DJ Delorie  <dj@redhat.com>
7776         Add MeP port.
7777         * config.host: Add mep support.
7779 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
7781         * config.host: Add i386/${host_address}/t-fprules-softfp and
7782         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
7784         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
7785         for mingw targets.
7786         * config/i386/64/_multc3.c: Likewise.
7787         * config/i386/64/_powitf2.c: Likewise.
7788         * config/i386/64/eqtf2.c: Likewise.
7789         * config/i386/64/getf2.c: Likewise.
7790         * config/i386/64/letf2.c: Likewise.
7791         * config/i386/64/letf2.c: Likewise.
7792         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
7793         unsigned long long for x64 mingw targets.
7794         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
7795         (_FP_I_TYPE): Define as long long for x64 mingw target.
7797 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
7799         * config.host (vax-*-linux*): New.
7801 2009-05-31  Anthony Green  <green@moxielogic.com>
7803         * config.host: Add moxie support.
7804         * config/moxie/t-moxie: New file.
7806 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
7808         * config.host: Add i386/${host_address}/t-fprules-softfp and
7809         t-softfp to tmake_file for i[34567]86-*-cygwin*.
7811 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
7813         * config.host: Add i386/${host_address}/t-fprules-softfp to
7814         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
7816 2009-04-09  Nick Clifton  <nickc@redhat.com>
7818         * config/ia64/tf-signs.c: Change copyright header to refer to
7819         version 3 of the GNU General Public License with version 3.1
7820         of the GCC Runtime Library Exception and to point readers at
7821         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
7822         web page.
7823         * config/i386/32/tf-signs.c: Likewise.
7824         * config/libbid/_addsub_dd.c: Likewise.
7825         * config/libbid/_addsub_sd.c: Likewise.
7826         * config/libbid/_addsub_td.c: Likewise.
7827         * config/libbid/_dd_to_df.c: Likewise.
7828         * config/libbid/_dd_to_di.c: Likewise.
7829         * config/libbid/_dd_to_sd.c: Likewise.
7830         * config/libbid/_dd_to_sf.c: Likewise.
7831         * config/libbid/_dd_to_si.c: Likewise.
7832         * config/libbid/_dd_to_td.c: Likewise.
7833         * config/libbid/_dd_to_tf.c: Likewise.
7834         * config/libbid/_dd_to_udi.c: Likewise.
7835         * config/libbid/_dd_to_usi.c: Likewise.
7836         * config/libbid/_dd_to_xf.c: Likewise.
7837         * config/libbid/_df_to_dd.c: Likewise.
7838         * config/libbid/_df_to_sd.c: Likewise.
7839         * config/libbid/_df_to_td.c: Likewise.
7840         * config/libbid/_di_to_dd.c: Likewise.
7841         * config/libbid/_di_to_sd.c: Likewise.
7842         * config/libbid/_di_to_td.c: Likewise.
7843         * config/libbid/_div_dd.c: Likewise.
7844         * config/libbid/_div_sd.c: Likewise.
7845         * config/libbid/_div_td.c: Likewise.
7846         * config/libbid/_eq_dd.c: Likewise.
7847         * config/libbid/_eq_sd.c: Likewise.
7848         * config/libbid/_eq_td.c: Likewise.
7849         * config/libbid/_ge_dd.c: Likewise.
7850         * config/libbid/_ge_sd.c: Likewise.
7851         * config/libbid/_ge_td.c: Likewise.
7852         * config/libbid/_gt_dd.c: Likewise.
7853         * config/libbid/_gt_sd.c: Likewise.
7854         * config/libbid/_gt_td.c: Likewise.
7855         * config/libbid/_isinfd128.c: Likewise.
7856         * config/libbid/_isinfd32.c: Likewise.
7857         * config/libbid/_isinfd64.c: Likewise.
7858         * config/libbid/_le_dd.c: Likewise.
7859         * config/libbid/_le_sd.c: Likewise.
7860         * config/libbid/_le_td.c: Likewise.
7861         * config/libbid/_lt_dd.c: Likewise.
7862         * config/libbid/_lt_sd.c: Likewise.
7863         * config/libbid/_lt_td.c: Likewise.
7864         * config/libbid/_mul_dd.c: Likewise.
7865         * config/libbid/_mul_sd.c: Likewise.
7866         * config/libbid/_mul_td.c: Likewise.
7867         * config/libbid/_ne_dd.c: Likewise.
7868         * config/libbid/_ne_sd.c: Likewise.
7869         * config/libbid/_ne_td.c: Likewise.
7870         * config/libbid/_sd_to_dd.c: Likewise.
7871         * config/libbid/_sd_to_df.c: Likewise.
7872         * config/libbid/_sd_to_di.c: Likewise.
7873         * config/libbid/_sd_to_sf.c: Likewise.
7874         * config/libbid/_sd_to_si.c: Likewise.
7875         * config/libbid/_sd_to_td.c: Likewise.
7876         * config/libbid/_sd_to_tf.c: Likewise.
7877         * config/libbid/_sd_to_udi.c: Likewise.
7878         * config/libbid/_sd_to_usi.c: Likewise.
7879         * config/libbid/_sd_to_xf.c: Likewise.
7880         * config/libbid/_sf_to_dd.c: Likewise.
7881         * config/libbid/_sf_to_sd.c: Likewise.
7882         * config/libbid/_sf_to_td.c: Likewise.
7883         * config/libbid/_si_to_dd.c: Likewise.
7884         * config/libbid/_si_to_sd.c: Likewise.
7885         * config/libbid/_si_to_td.c: Likewise.
7886         * config/libbid/_td_to_dd.c: Likewise.
7887         * config/libbid/_td_to_df.c: Likewise.
7888         * config/libbid/_td_to_di.c: Likewise.
7889         * config/libbid/_td_to_sd.c: Likewise.
7890         * config/libbid/_td_to_sf.c: Likewise.
7891         * config/libbid/_td_to_si.c: Likewise.
7892         * config/libbid/_td_to_tf.c: Likewise.
7893         * config/libbid/_td_to_udi.c: Likewise.
7894         * config/libbid/_td_to_usi.c: Likewise.
7895         * config/libbid/_td_to_xf.c: Likewise.
7896         * config/libbid/_tf_to_dd.c: Likewise.
7897         * config/libbid/_tf_to_sd.c: Likewise.
7898         * config/libbid/_tf_to_td.c: Likewise.
7899         * config/libbid/_udi_to_dd.c: Likewise.
7900         * config/libbid/_udi_to_sd.c: Likewise.
7901         * config/libbid/_udi_to_td.c: Likewise.
7902         * config/libbid/_unord_dd.c: Likewise.
7903         * config/libbid/_unord_sd.c: Likewise.
7904         * config/libbid/_unord_td.c: Likewise.
7905         * config/libbid/_usi_to_dd.c: Likewise.
7906         * config/libbid/_usi_to_sd.c: Likewise.
7907         * config/libbid/_usi_to_td.c: Likewise.
7908         * config/libbid/_xf_to_dd.c: Likewise.
7909         * config/libbid/_xf_to_sd.c: Likewise.
7910         * config/libbid/_xf_to_td.c: Likewise.
7911         * config/libbid/bid128.c: Likewise.
7912         * config/libbid/bid128_2_str.h: Likewise.
7913         * config/libbid/bid128_2_str_macros.h: Likewise.
7914         * config/libbid/bid128_2_str_tables.c: Likewise.
7915         * config/libbid/bid128_add.c: Likewise.
7916         * config/libbid/bid128_compare.c: Likewise.
7917         * config/libbid/bid128_div.c: Likewise.
7918         * config/libbid/bid128_fma.c: Likewise.
7919         * config/libbid/bid128_logb.c: Likewise.
7920         * config/libbid/bid128_minmax.c: Likewise.
7921         * config/libbid/bid128_mul.c: Likewise.
7922         * config/libbid/bid128_next.c: Likewise.
7923         * config/libbid/bid128_noncomp.c: Likewise.
7924         * config/libbid/bid128_quantize.c: Likewise.
7925         * config/libbid/bid128_rem.c: Likewise.
7926         * config/libbid/bid128_round_integral.c: Likewise.
7927         * config/libbid/bid128_scalb.c: Likewise.
7928         * config/libbid/bid128_sqrt.c: Likewise.
7929         * config/libbid/bid128_string.c: Likewise.
7930         * config/libbid/bid128_to_int16.c: Likewise.
7931         * config/libbid/bid128_to_int32.c: Likewise.
7932         * config/libbid/bid128_to_int64.c: Likewise.
7933         * config/libbid/bid128_to_int8.c: Likewise.
7934         * config/libbid/bid128_to_uint16.c: Likewise.
7935         * config/libbid/bid128_to_uint32.c: Likewise.
7936         * config/libbid/bid128_to_uint64.c: Likewise.
7937         * config/libbid/bid128_to_uint8.c: Likewise.
7938         * config/libbid/bid32_to_bid128.c: Likewise.
7939         * config/libbid/bid32_to_bid64.c: Likewise.
7940         * config/libbid/bid64_add.c: Likewise.
7941         * config/libbid/bid64_compare.c: Likewise.
7942         * config/libbid/bid64_div.c: Likewise.
7943         * config/libbid/bid64_fma.c: Likewise.
7944         * config/libbid/bid64_logb.c: Likewise.
7945         * config/libbid/bid64_minmax.c: Likewise.
7946         * config/libbid/bid64_mul.c: Likewise.
7947         * config/libbid/bid64_next.c: Likewise.
7948         * config/libbid/bid64_noncomp.c: Likewise.
7949         * config/libbid/bid64_quantize.c: Likewise.
7950         * config/libbid/bid64_rem.c: Likewise.
7951         * config/libbid/bid64_round_integral.c: Likewise.
7952         * config/libbid/bid64_scalb.c: Likewise.
7953         * config/libbid/bid64_sqrt.c: Likewise.
7954         * config/libbid/bid64_string.c: Likewise.
7955         * config/libbid/bid64_to_bid128.c: Likewise.
7956         * config/libbid/bid64_to_int16.c: Likewise.
7957         * config/libbid/bid64_to_int32.c: Likewise.
7958         * config/libbid/bid64_to_int64.c: Likewise.
7959         * config/libbid/bid64_to_int8.c: Likewise.
7960         * config/libbid/bid64_to_uint16.c: Likewise.
7961         * config/libbid/bid64_to_uint32.c: Likewise.
7962         * config/libbid/bid64_to_uint64.c: Likewise.
7963         * config/libbid/bid64_to_uint8.c: Likewise.
7964         * config/libbid/bid_b2d.h: Likewise.
7965         * config/libbid/bid_binarydecimal.c: Likewise.
7966         * config/libbid/bid_conf.h: Likewise.
7967         * config/libbid/bid_convert_data.c: Likewise.
7968         * config/libbid/bid_decimal_data.c: Likewise.
7969         * config/libbid/bid_decimal_globals.c: Likewise.
7970         * config/libbid/bid_div_macros.h: Likewise.
7971         * config/libbid/bid_dpd.c: Likewise.
7972         * config/libbid/bid_flag_operations.c: Likewise.
7973         * config/libbid/bid_from_int.c: Likewise.
7974         * config/libbid/bid_functions.h: Likewise.
7975         * config/libbid/bid_gcc_intrinsics.h: Likewise.
7976         * config/libbid/bid_inline_add.h: Likewise.
7977         * config/libbid/bid_internal.h: Likewise.
7978         * config/libbid/bid_round.c: Likewise.
7979         * config/libbid/bid_sqrt_macros.h: Likewise.
7981 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
7983         * Makefile.in: Change copyright header to refer to version
7984         3 of the GNU General Public License and to point readers at the
7985         COPYING3 file and the FSF's license web page.
7986         * config.host: Likewise.
7988 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
7990         * config.host: Reorder and merge to match config.gcc change.
7992 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
7994         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
7996 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
7998         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
7999         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
8000         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
8001         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
8003 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
8005         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
8006         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8008 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
8010         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
8011         ia64/t-softfp-compat to tmake_file.
8013         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
8015         * config/ia64/__divxf3.asm: New.
8016         * config/ia64/_fixtfdi.asm: Likewise.
8017         * config/ia64/_fixunstfdi.asm: Likewise.
8018         * config/ia64/_floatditf.asm: Likewise.
8019         * config/ia64/t-fprules-softfp: Likewise.
8020         * config/ia64/t-softfp-compat: Likewise.
8021         * config/ia64/tf-signs.c: Likewise.
8023 2009-01-18  Ben Elliston  <bje@au.ibm.com>
8025         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8027 2009-01-16  Ben Elliston  <bje@au.ibm.com>
8029         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
8030         to tmake_file.
8032 2009-01-13  Ben Elliston  <bje@au.ibm.com>
8034         * config/t-softfp: New file.
8035         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
8036         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
8038 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
8040         * config.host: Add m32r*-*-rtems*.
8042 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
8044         * config.host: Add m32c*-*-rtems*.
8046 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8048         PR bootstrap/33100
8049         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
8050         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
8051         * configure: Regenerate.
8052         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
8053         tmake_file here from gcc/config.gcc.
8054         Move extra_parts here from gcc/config.gcc.
8055         * config/i386/t-sol2: Move here from gcc/config/i386.
8056         Use gcc_srcdir instead of srcdir.
8058 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
8060         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
8061         case.
8063 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
8065         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
8067 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
8069         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
8071 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
8073         Add picoChip port.
8074         * config.host: Add picochip-*-*.
8076 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
8078         * config.host: Match more processor names for Xtensa.
8080 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
8082         * config/i386/64/t-softfp-compat: Update comments.
8084 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8086         * config/i386/64/_divtc3-compat.c: Moved to ...
8087         * config/i386/64/_divtc3.c: Here.
8089         * config/i386/64/_multc3-compat.c: Moved to ...
8090         * config/i386/64/_multc3.c: Here.
8092         * config/i386/64/_powitf2-compat.c: Moved to ...
8093         * config/i386/64/_powitf2.c: Here.
8095         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
8096         .c suffix instead of -compat.c.
8098 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
8100         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
8101         (_FP_MUL_MEAT_D): Ditto.
8102         (_FP_DIV_MEAT_S): Ditto.
8103         (_FP_DIV_MEAT_D): Ditto.
8105 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
8107         * Makefile.in: Add support for __sync_* libgcc functions.
8109 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
8111         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
8113 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8115         PR boostrap/36702
8116         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
8117         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
8119         * config/i386/64/t-fprules-softfp: Moved to ...
8120         * config/i386/64/t-softfp-compat: This.  New.
8122 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
8124         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
8125         Initialize f with 0.0.
8127 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8129         PR target/36669
8130         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
8132         * config/i386/64/_divtc3-compat.c: New.
8133         * config/i386/64/_multc3-compat.c: Likewise.
8134         * config/i386/64/_powitf2-compat.c: Likewise.
8135         * config/i386/64/eqtf2.c: Likewise.
8136         * config/i386/64/getf2.c: Likewise.
8137         * config/i386/64/letf2.c: Likewise.
8138         * config/i386/64/t-fprules-softfp: Likewise.
8140 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8142         * config.host: Add i386/${host_address}/t-fprules-softfp to
8143         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
8144         i[34567]86-*-linux*, x86_64-*-linux*.
8146         * configure.ac: Set host_address to 64 or 32 for x86.
8147         * configure: Regenerated.
8149         * Makefile.in (config.status): Also depend on
8150         $(srcdir)/config.host.
8152         * config/i386/32/t-fprules-softfp: New.
8153         * config/i386/32/tf-signs.c: Likewise.
8155         * config/i386/64/sfp-machine.h: New. Moved from gcc.
8157 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8158             Uros Bizjak  <ubizjak@gmail.com>
8160         * config/i386/32/sfp-machine.h: New.
8162 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
8164         * config/rs6000/t-ppccomm: Remove rules that conflict with
8165         auto-generated rules.
8167 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8169         * configure.ac: sinclude override.m4.
8170         * configure: Regenerate.
8172 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
8174         * configure: Regenerate.
8176 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
8178         * Makefile.in (DECNUMINC): Remove
8179         -I$(MULTIBUILDTOP)../../libdecnumber.
8180         * gstdint.h: New.
8182 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
8184         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
8185         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
8186         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
8187         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
8188         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
8189         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
8190         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
8191         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
8192         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
8193         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
8194         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
8195         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
8196         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
8197         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
8199 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
8201         * config.host (sh2[lbe]*-*-linux*): Allow target.
8203 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
8205         * config/rs6000/t-ppccomm: Add build rules for new files.
8206         (LIB2ADD_ST): New variable.
8208 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
8210         PR target/34210
8211         PR target/35508
8212         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
8213         * config/t-avr: New file. Build 16bit libgcc functions.
8215 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
8217         PR target/35401
8218         * config/t-slibgcc-darwin: Make install-leaf dependent on
8219         install-darwin-libgcc-stubs instead of install.
8221 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
8223         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
8224         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
8225         sh-*-rtemscoff*): Remove cases.
8227 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
8229         * Makefile.in (all): Use install-leaf rather than install.
8230         (install): Split most of the rule into...
8231         (install-leaf): ...this new one.
8233 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
8234             Paolo Bonzini  <bonzini@gnu.org>
8236         PR target/30572
8237         * Makefile.in: Use @shlib_slibdir@ substitution to get
8238         correct install name on darwin.
8239         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
8241 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
8243         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
8244         cris-*-elf and cris-*-none.
8245         (crisv32-*-linux*): Similar, as cris-*-linux*.
8247 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
8249         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
8251 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
8253         PR regression/33926
8254         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
8255         * configure: Regenerated.
8257 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
8259         * Makefile.in (dfp-filenames): Replace decimal_globals,
8260         decimal_data, binarydecimal and convert_data with
8261         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
8262         and bid_convert_data, respectively.
8264 2007-09-17  Chao-ying Fu  <fu@mips.com>
8265             Nigel Stephens  <nigel@mips.com>
8267         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
8268         * Makefile.in (fixed_point): Define.
8269         Check if fixed_point is yes to build support functions.
8270         * configure.ac: Check for fixed_point support.
8271         * configure: Regenerated.
8272         * gen-fixed.sh: New file to generate lists of fixed-point labels,
8273         funcs, modes, from, to.
8275 2007-09-11  Janis Johnson  <janis187@us.ibm.com
8277         * Makefile.in (dfp-filenames): Add bid128_noncomp.
8279 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
8281         * Makefile.in (dfp-filenames): Remove decUtility, add
8282         decDouble, decPacked, decQuad, decSingle.
8284 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
8286         * config.host : Add x86_64-elf target.
8288 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
8290         * configure.ac (set_have_cc_tls): Add a missing =.
8291         * configure: Regenerated.
8293 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
8295         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
8296         and x86_64-*-linux*.
8298         * config/t-tls: New file.
8300         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
8302         * configure.ac: Include ../config/enable.m4 and
8303         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
8304         supports TLS and substitute set_have_cc_tls.
8305         * configure: Regenerated.
8307 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
8309         * Makefile.in: Use libbid for DFP when BID is enabled.
8311 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
8313         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
8314         extra_parts. Add config/i386/t-cygming to tmake_file.
8315         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
8317 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
8318             Danny Smith  <dannysmith@users.sourceforge.net>
8320         PR target/29498
8321         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
8322         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
8323         * config/i386/t-crtfm: Compile crtfastmath.o with
8324         -minline-all-stringops.
8326 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
8328         * config.host (sparc-wrs-vxworks): New target.
8330 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
8332         * config.host: Recognize fido.
8334 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
8336         * configure: Check host, not target, for decimal float support.
8338 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
8340         * config/i386/t-crtpc: New file.
8341         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
8342         (x86_64-*-linux*): Ditto.
8344 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
8346         * config.host (x86_64-*-mingw*): New target.
8348 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
8349             H.J. Lu  <hongjiu.lu@intel.com>
8351         * Makefile.in (enable_decimal_float): New.
8352         (DECNUMINC): Add
8353         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
8354         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
8355         (decbits-filenames): This.
8356         (decbits-objects): New.
8357         (libgcc-objects): Add $(decbits-objects).
8359         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
8360         Substitute enable_decimal_float.
8361         * configure: Regenerated.
8363 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
8365         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
8367 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
8369         * Makefile.in (install-info): New dummy target.
8371 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
8373         * config.host (bfin*-linux-uclibc*): Set extra_parts.
8375 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
8377         * Makefile.in: Add install-html and install-pdf dummy
8378         targets.
8380 2007-02-05  Roger Sayle  <roger@eyesopen.com>
8381             Daniel Jacobowitz  <dan@codesourcery.com>
8383         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
8384         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
8385         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
8387 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
8389         * Makefile.in (dec-filenames): Add decExcept.
8391 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
8393         PR bootstrap/30469
8394         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
8395         -fprofile-use.
8397 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
8399         * configure.ac: Add --enable-version-specific-runtime-libs.
8400         Correct $slibdir default.
8401         * configure: Regenerated.
8403 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
8405         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
8407 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
8409         PR target/30519
8410         * config.host (alpha*-*-linux*): Set extra_parts.
8412 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
8414         * config/sh/t-linux: New.
8415         * config.host (sh*-*-linux*): Set tmake_file.
8417 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
8419         * Makefile.in (install): Handle multilibs.
8421 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
8423         * Makefile.in: Added .PHONY entry for documentation targets.
8425 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
8427         * Makefile.in: Add empty info, html, dvi, pdf targets.
8429 2007-01-04  Mike Stump  <mrs@apple.com>
8431         * Makefile.in (MAKEINFO): Remove.
8432         (PERL): Likewise.
8434 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
8436         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
8437         * configure: Regenerate.
8438         * Makefile.in (host_subdir): Substitute it.
8439         (gcc_objdir): Use it.
8441 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
8443         * config.host (ia64*-*-linux*): Set tmake_file.
8445 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
8447         * Makefile.in (version): Define.
8449 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
8450             Paolo Bonzini  <bonzini@gnu.org>
8452         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
8453         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
8454         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
8455         config/sparc/t-crtfm, config/t-slibgcc-darwin,
8456         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
8457         shared-object.mk, siditi-object.mk, static-object.mk: New files.
8458         * configure: Generated.
8460 Copyright (C) 2007-2017 Free Software Foundation, Inc.
8462 Copying and distribution of this file, with or without modification,
8463 are permitted in any medium without royalty provided the copyright
8464 notice and this notice are preserved.