2017-05-12 Richard Biener <rguenther@suse.de>
[official-gcc.git] / libgcc / ChangeLog
blob75dba407b3a6350ed324fbec7b9a047b6cf8a773
1 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
3         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
4         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
6 2017-05-05  Joshua Conner  <joshconner@google.com>
8         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
9         pc-relative indirect handling for fuchsia.
10         * config/t-slibgcc-fuchsia: New file.
11         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
12         x86_64-*-fuchsia*): Add definitions. 
14 2017-04-19  Martin Liska  <mliska@suse.cz>
16         PR gcov-profile/80435
17         * Makefile.in: Install gcov.h.
18         * gcov.h: New file.
19         * libgcov.h: Use the header and make __gcov_flush publicly
20         visible.
22 2017-04-18  Martin Liska  <mliska@suse.cz>
24         PR gcov-profile/78783
25         * libgcov-driver.c (gcov_get_filename): New function.
27 2017-04-07  Jeff Law  <law@redhat.com>
29         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
30         target makefile fragment.
31         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
33 2017-04-07  Alan Modra  <amodra@gmail.com>
35         PR target/45053
36         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
38 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
40         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
42 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
44         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
46 2017-03-10  John Marino  <gnugcc@marino.st>
48         * config/aarch64/freebsd-unwind.h: New file.
49         * config.host: Add aarch64-*-freebsd unwinder.
51 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
53         * config/rs6000/crtrestvr.s: Use .machine altivec.
54         * config/rs6000/crtsavevr.s: Ditto.
56 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
58         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
59         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
60         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
61         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
62         * configure: Regenerate.
63         * config.in: Regenerate.
65 2017-03-02  Jonathan Yong <10walls@gmail.com>
67         * config/i386/gthr-win32.h: Define NOGDI before
68         windows.h include to prevent w32api CC_NONE macro
69         clash with libgfortran.
71 2017-03-02  Jonathan Yong <10walls@gmail.com>
73         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
75 2017-02-16  Andrew Pinski  <apinski@cavium.com>
77         * config/aarch64/value-unwind.h: New file.
78         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
79         to tm_file.
81 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
83         * config.host: Add RISC-V tuples.
84         * config/riscv/atomic.c: New file.
85         * config/riscv/crti.S: Likewise.
86         * config/riscv/crtn.S: Likewise.
87         * config/riscv/div.S: Likewise.
88         * config/riscv/linux-unwind.h: Likewise.
89         * config/riscv/muldi3.S: Likewise.
90         * config/riscv/multi3.S: Likewise.
91         * config/riscv/save-restore.S: Likewise.
92         * config/riscv/sfp-machine.h: Likewise.
93         * config/riscv/t-elf: Likewise.
94         * config/riscv/t-elf32: Likewise.
95         * config/riscv/t-elf64: Likewise.
96         * config/riscv/t-softfp32: Likewise.
97         * config/riscv/t-softfp64: Likewise.
99 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
101         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
102         /* FALLTHRU */ comments.
104 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
106         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
108 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
110         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
111         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
112         DW_CFA_GNU_window_save for AArch64 and LP64.
114 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
116         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
118 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
120         * config/aarch64/aarch64-unwind.h: New file.
121         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
122         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
123         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
124         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
125         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
126         (aarch64_post_extract_frame_addr): New function.
127         (aarch64_post_frob_eh_handler_addr): New function.
128         (aarch64_frob_update_context): New function.
129         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
130         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
131         aarch64*-*-freebsd*):
132         Initialize md_unwind_header to include aarch64-unwind.h.
133         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
134         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
135         __aarch64__.
136         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
137         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
138         (uw_frob_return_addr): New function.
139         (uw_install_context): Use uw_frob_return_addr.
141 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
143         PR other/79046
144         * configure.ac: Add GCC_BASE_VER.
145         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
146         version from BASE-VER file.
147         * configure: Regenerated.
149 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
151         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
152         libmul_f5.a): Filter archived prerequisites.
154 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
156         * config/i386/cpuinfo.h (processor_features): Add
157         FEATURE_AVX512VPOPCNTDQ.
158         * config/i386/cpuinfo.c (get_available_features): Habdle new
159         feature.
161 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
163         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
164         payload if [__mips_nan2008].
166 2017-01-04  Alan Modra  <amodra@gmail.com>
168         * Makefile.in (configure_deps): Update.
169         * configure: Regenerate.
171 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
173         Update copyright years.
175 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
177         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
178         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
179         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
181 2016-12-17  Matthias Klose  <doko@ubuntu.com>
183         * config/arc/gmon: Remove empty directory.
185 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
187         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
188         crtgend.
189         (arc*-*-elf*): Likewise.
190         * config/arc/t-arc: Remove old gmon lib targets.
191         * config/arc/crtg.S: Remove.
192         * config/arc/crtgend.S: Likewise.
193         * config/arc/gmon/atomic.h: Likewise.
194         * config/arc/gmon/auxreg.h: Likewise.
195         * config/arc/gmon/dcache_linesz.S: Likewise.
196         * config/arc/gmon/gmon.c: Likewise.
197         * config/arc/gmon/machine-gmon.h: Likewise.
198         * config/arc/gmon/mcount.c: Likewise.
199         * config/arc/gmon/prof-freq-stub.S: Likewise.
200         * config/arc/gmon/prof-freq.c: Likewise.
201         * config/arc/gmon/profil.S: Likewise.
202         * config/arc/gmon/sys/gmon.h: Likewise.
203         * config/arc/gmon/sys/gmon_out.h: Likewise.
204         * config/arc/t-arc-newlib: Likewise.
205         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
207 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
209         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
211 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
213         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
214         R16 instead of push + pop.
215         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
217 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
219         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
220         tmake_file.
222 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
224         * config.host (arc*-*-linux-uclibc*): Use default extra
225         objects. Include linux-android header.
226         * config/arc/crti.S (_init): Declare symbol as function.
227         (_fini): Likewise.
229 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
231         PR fortran/78379
232         * config/i386/cpuinfo.c:  Move denums for processor vendors,
233         processor type, processor subtypes and declaration of
234         struct __processor_model into
235         * config/i386/cpuinfo.h:  New header file.
237 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
238             Thomas Preud'homme  <thomas.preudhomme@arm.com>
240         * config/arm/cmse_nonsecure_call.S: New.
241         * config/arm/t-arm: Compile cmse_nonsecure_call.S
243 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
244             Thomas Preud'homme  <thomas.preudhomme@arm.com>
246         * config/arm/t-arm (HAVE_CMSE): New.
247         * config/arm/cmse.c: New.
249 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
251         PR gcc/74748
252         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
253         use generic linker version information on Blackfin.
255         PR gcc/74748
256         * libgcc/mkmap-symver.awk: add support for skip_underscore
258 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
259             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
261         PR target/67710
262         *  config/t-darwin: Default builds to 10.5 codegen.
264 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
266         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
267         (_FP_NANSIGN_H): Likewise.
268         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
269         (softfp_truncations): Add tfhf.
270         (softfp_extras): Add required conversion functions.
272 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
273             Matthew Wahab  <matthew.wahab@arm.com>
275         * config/arm/fp16.c (binary64): New.
276         (__gnu_d2h_internal): New.
277         (__gnu_d2h_ieee): New.
278         (__gnu_d2h_alternative): New.
280 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
281             Matthew Wahab  <matthew.wahab@arm.com>
283         * config/arm/fp16.c (struct format): New.
284         (binary32): New.
285         (__gnu_float2h_internal): New.  Body moved from
286         __gnu_f2h_internal and generalize.
287         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
288         Call it with binary32.
290 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
292         * soft-fp/extendhftf2.c: Update from glibc.
293         * soft-fp/fixhfti.c: Likewise.
294         * soft-fp/fixunshfti.c: Likewise.
295         * soft-fp/floattihf.c: Likewise.
296         * soft-fp/floatuntihf.c: Likewise.
297         * soft-fp/half.h: Likewise.
298         * soft-fp/trunctfhf2.c: Likewise.
300 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
302         PR libgcc/77813
303         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
304         __TMC_END__ behind a passthrough asm.
306 2016-11-18  Walter Lee  <walt@tilera.com>
308         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
310 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
312         * config/i386/cpuinfo.c (processor_features): Add
313         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
315 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
317         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
318         (__ARC_NORM__): Use instead ARC_OPTFPE.
319         * config/arc/fp-hack.h: Likewise.
320         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
321         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
323 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
325         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
326         * config/nvptx/mgomp.c: New file.
327         * config/nvptx/t-nvptx: Add mgomp.c
329 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
331         PR libgcc/68468
332         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
334 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
336         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
337         of checking for cpus.
338         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
339         (__modsi3, __clzsi2): Likewise.
341 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
343         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
344         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
345         * config/i386/t-cpuinfo-static: New.
347 2016-11-03  Martin Liska  <mliska@suse.cz>
349         * libgcov-profiler.c (__gcov_time_profiler): Remove.
350         (__gcov_time_profiler_atomic): Likewise.
352 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
354         PR libgcc/78067
355         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
356         count_leading_zeros.
358 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
360         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
361         * libgcc2.c (__divmoddi4): New function.
362         * libgcc2.h (__divmoddi4): Declare.
363         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
364         and __PFX_divmodti4.
366 2016-10-24  Florian Weimer  <fweimer@redhat.com>
368         PR libgcc/78064
369         * unwind-c.c: Include auto-target.h.
371 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
373         * config/pa/pa64-hpux-lib.h: New file.
374         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
375         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
376         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
377         hppa*64*-*-hpux11*.
379 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
381         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
382         definition.
383         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
384         definition.
385         * config/xtensa/t-windowed (LIB2ADDEH): Use
386         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
387         or xtensa/t-linux.
389 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
391         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
392         __ieee754_sqrt): New functions.
393         (__divdf3): Add implementation with new FPU instructions under
394         #if XCHAL_HAVE_DFP_DIV.
395         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
396         __ieee754_sqrtf): New functions.
397         (__divsf3): Add implementation with new FPU instructions under
398         #if XCHAL_HAVE_FP_DIV.
399         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
400         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
402 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
404         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
405         equivalent.
406         * config/tilepro/atomic.c: Likewise and stop casting model to
407         enum memmodel.
409 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
411         PR target/77586
412         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
413         soft-fp.
415 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
417         * config.host: Add support for aarch64-*-freebsd*.
419 2016-10-05  Andreas Schwab  <schwab@suse.de>
421         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
422         (.section .init_array): Don't call __do_jv_register_classes.
423         (.section .init): Likewise.
425 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
427         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
428         (__JCR_LIST__): Remove.
429         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
430         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
431         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
432         * config/ia64/crtend.S (__JCR_END__): Remove.
433         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
434         conditionals.
435         (__JCR_LIST__, __JCR_END__): Remove.
436         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
437         (__do_global_ctors_1): Likewise.
439 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
441         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
442         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
444 2016-09-27  Martin Liska  <mliska@suse.cz>
446         PR gcov-profile/7970
447         PR gcov-profile/16855
448         PR gcov-profile/44779
449         * libgcov-driver.c (__gcov_init): Do not register a atexit
450         handler.
451         (__gcov_exit): Rename from gcov_exit.
452         * libgcov.h (__gcov_exit): Declare.
454 2016-09-27  Martin Liska  <mliska@suse.cz>
456         PR bootstrap/77749
457         * Makefile.in: Remove _gcov_merge_delta.
458         * libgcov-merge.c (void __gcov_merge_delta): Remove.
459         * libgcov-util.c (__gcov_delta_counter_op): Remove.
460         * libgcov.h: Remove declaration of __gcov_merge_delta.
462 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
464         * configure.ac: Do not create links, only substitute the filenames.
465         * configure: Regenerate.
466         * Makefile.in: Assign the substitution results to variables.
467         (LIBGCC_LINKS): Define.
468         (enable-execute-stack.c): New rule.
469         (unwind.h): Likewise.
470         (md-unwind-support.h): Likewise.
471         (sfp-machine.h): Likewise.
472         (gthr-default.h): Likewise.
473         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
474         unwind.h as prerequisite of install-unwind_h-forbuild.
476 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
478         PR libgcc/71744
479         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
480         is not the primary registry and atomics are available.
481         (any_objects_registered): New variable.
482         (__register_frame_info_bases, __register_frame_info_table_bases):
483         Atomically store 1 to any_objects_registered after registering first
484         unwind info.
485         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
487 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
489         PR target/63250
490         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
491         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
492         (HFtype): Likewise.
493         (HCtype): Likewise.
494         (__divhc3): Likewise.
495         (__mulhc3): Likewise.
496         * libgcc2.c: Support _mulhc3 and _divhc3.
498 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
500         PR libgcc/77519
501         * libgcc2.c (NOTRUNC): Invert settings.
503 2016-09-06  Martin Liska  <mliska@suse.cz>
505         PR gcov-profile/77378
506         PR gcov-profile/77466
507         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
508         conditionaly enable/disable *_atomic functions.
510 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
512         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
513         where not already enabled.
515 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
517         * config/mips/linux-unwind.h: Use sys/syscall.h.
519 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
521         PR libgcc/77265
522         * soft-fp/adddf3.c: Update from glibc.
523         * soft-fp/addsf3.c: Likewise.
524         * soft-fp/addtf3.c: Likewise.
525         * soft-fp/divdf3.c: Likewise.
526         * soft-fp/divsf3.c: Likewise.
527         * soft-fp/divtf3.c: Likewise.
528         * soft-fp/double.h: Likewise.
529         * soft-fp/eqdf2.c: Likewise.
530         * soft-fp/eqsf2.c: Likewise.
531         * soft-fp/eqtf2.c: Likewise.
532         * soft-fp/extenddftf2.c: Likewise.
533         * soft-fp/extended.h: Likewise.
534         * soft-fp/extendsfdf2.c: Likewise.
535         * soft-fp/extendsftf2.c: Likewise.
536         * soft-fp/extendxftf2.c: Likewise.
537         * soft-fp/fixdfdi.c: Likewise.
538         * soft-fp/fixdfsi.c: Likewise.
539         * soft-fp/fixdfti.c: Likewise.
540         * soft-fp/fixsfdi.c: Likewise.
541         * soft-fp/fixsfsi.c: Likewise.
542         * soft-fp/fixsfti.c: Likewise.
543         * soft-fp/fixtfdi.c: Likewise.
544         * soft-fp/fixtfsi.c: Likewise.
545         * soft-fp/fixtfti.c: Likewise.
546         * soft-fp/fixunsdfdi.c: Likewise.
547         * soft-fp/fixunsdfsi.c: Likewise.
548         * soft-fp/fixunsdfti.c: Likewise.
549         * soft-fp/fixunssfdi.c: Likewise.
550         * soft-fp/fixunssfsi.c: Likewise.
551         * soft-fp/fixunssfti.c: Likewise.
552         * soft-fp/fixunstfdi.c: Likewise.
553         * soft-fp/fixunstfsi.c: Likewise.
554         * soft-fp/fixunstfti.c: Likewise.
555         * soft-fp/floatdidf.c: Likewise.
556         * soft-fp/floatdisf.c: Likewise.
557         * soft-fp/floatditf.c: Likewise.
558         * soft-fp/floatsidf.c: Likewise.
559         * soft-fp/floatsisf.c: Likewise.
560         * soft-fp/floatsitf.c: Likewise.
561         * soft-fp/floattidf.c: Likewise.
562         * soft-fp/floattisf.c: Likewise.
563         * soft-fp/floattitf.c: Likewise.
564         * soft-fp/floatundidf.c: Likewise.
565         * soft-fp/floatundisf.c: Likewise.
566         * soft-fp/floatunditf.c: Likewise.
567         * soft-fp/floatunsidf.c: Likewise.
568         * soft-fp/floatunsisf.c: Likewise.
569         * soft-fp/floatunsitf.c: Likewise.
570         * soft-fp/floatuntidf.c: Likewise.
571         * soft-fp/floatuntisf.c: Likewise.
572         * soft-fp/floatuntitf.c: Likewise.
573         * soft-fp/gedf2.c: Likewise.
574         * soft-fp/gesf2.c: Likewise.
575         * soft-fp/getf2.c: Likewise.
576         * soft-fp/ledf2.c: Likewise.
577         * soft-fp/lesf2.c: Likewise.
578         * soft-fp/letf2.c: Likewise.
579         * soft-fp/muldf3.c: Likewise.
580         * soft-fp/mulsf3.c: Likewise.
581         * soft-fp/multf3.c: Likewise.
582         * soft-fp/negdf2.c: Likewise.
583         * soft-fp/negsf2.c: Likewise.
584         * soft-fp/negtf2.c: Likewise.
585         * soft-fp/op-1.h: Likewise.
586         * soft-fp/op-2.h: Likewise.
587         * soft-fp/op-4.h: Likewise.
588         * soft-fp/op-8.h: Likewise.
589         * soft-fp/op-common.h: Likewise.
590         * soft-fp/quad.h: Likewise.
591         * soft-fp/single.h: Likewise.
592         * soft-fp/soft-fp.h: Likewise.
593         * soft-fp/subdf3.c: Likewise.
594         * soft-fp/subsf3.c: Likewise.
595         * soft-fp/subtf3.c: Likewise.
596         * soft-fp/truncdfsf2.c: Likewise.
597         * soft-fp/trunctfdf2.c: Likewise.
598         * soft-fp/trunctfsf2.c: Likewise.
599         * soft-fp/trunctfxf2.c: Likewise.
600         * soft-fp/unorddf2.c: Likewise.
601         * soft-fp/unordsf2.c: Likewise.
602         * soft-fp/unordtf2.c: Likewise.
604 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
606         PR gcov-profile/67097
607         * libgcov-util.c (gcov_profile_merge): Skip missing files.
609 2016-08-10  Martin Liska  <mliska@suse.cz>
611         PR gcov-profile/58306
612         * Makefile.in: New functions (modules) are added.
613         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
614         function.
615         (__gcov_pow2_profiler_atomic): New function.
616         (__gcov_one_value_profiler_body): New argument is instroduced.
617         (__gcov_one_value_profiler): Call with the new argument.
618         (__gcov_one_value_profiler_atomic): Likewise.
619         (__gcov_indirect_call_profiler_v2): Likewise.
620         (__gcov_time_profiler_atomic): New function.
621         (__gcov_average_profiler_atomic): Likewise.
622         (__gcov_ior_profiler_atomic): Likewise.
623         * libgcov.h: Declare the aforementioned functions.
625 2016-08-09  Martin Liska  <mliska@suse.cz>
627         * libgcov-util.c: Fix typo and GNU coding style.
629 2016-08-09  Martin Liska  <mliska@suse.cz>
631         * Makefile.in: Remove __gcov_indirect_call_profiler.
632         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
633         function.
634         * libgcov.h: And the declaration of the function.
636 2016-08-09  Martin Liska  <mliska@suse.cz>
638         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
639         power of two.
641 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
643         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
644         * config/rs6000/_mulkc3.c: Likewise.
646 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
648         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
649         zero_reg as previous call to __umulhisi3 already cleared it.
651 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
653         PR target/59833
654         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
656 2016-07-19  Nick Clifton  <nickc@redhat.com>
658         * config.host (m32r): Add m32r/t-m32r to tmake_file.
659         Add crtinit.o and crtfini.o to extra_parts.
661 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
663         * config/rs6000/_divkc3.c: New.
664         * config/rs6000/_mulkc3.c: New.
665         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
666         and _divkc3.
667         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
668         fp128_ppc_funcs.
670 2016-07-11  Hale Wang  <hale.wang@arm.com>
671             Andre Vieira  <andre.simoesdiasvieira@arm.com>
673         * config/arm/lib1funcs.S: Add new wrapper.
675 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
677         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
679 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
681         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
682         and ARMv5t* rather than for a fixed list of architectures.
684 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
686         * config/arm/bpabi-v6m.S: Clarify what architectures is the
687         implementation suitable for.
688         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
689         for all Thumb-1 only targets.
690         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
691         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
692         __ARM_ARCH_6M__.
693         (EQUIV): Likewise.
694         (ARM_FUNC_ALIAS): Likewise.
695         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
696         version.
697         (modsi3): Likewise.
698         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
699         (clzdi2): Likewise.
700         (ctzsi2): Likewise.
701         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
702         __ARM_ARCH_6M__ in guard for checking whether it is defined.
703         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
704         __ARM_ARCH_6M__ and add comment to indicate the connection between
705         this condition and the one in gcc/config/arm/elf.h.
706         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
707         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
708         * config/arm/t-softfp: Likewise.
710 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
712         * libgcc2.c (SYMBOL__MAIN): Remove checks for
713         CTOR_LISTS_DEFINED_EXTERNALLY.
715 2016-06-28  Walter Lee  <walt@tilera.com>
717         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
718         asm/unistd.h.
719         (SPR_CMPEXCH_VALUE): Define for tilegx.
720         (__NR_FAST_cmpxchg): Define for tilepro.
721         (__NR_FAST_atomic_update): Define for tilepro.
722         (__NR_FAST_cmpxchg64): Define for tilepro.
724 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
726         * config.host: Add suport for arm*-*-phoenix* targets.
728 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
730         * config.host: Remove support for mep-*.
731         * config/mep/lib1funcs.S: Remove.
732         * config/mep/lib2funcs.c: Remove.
733         * config/mep/t-mep: Remove.
734         * config/mep/tramp.c: Remove.
736 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
738         * config.host: Remove support for avr-rtems.
739         * config/avr/t-rtems: Remove.
741 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
743         * config.host: Remove m32r-rtems support.
745 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
747         * config.host: Remove h8300-rtems support.
749 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
751         * config.host: Remove support for knetbsd.
753 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
755         * config.host: Remove support for openbsd 2 and 3.
757 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
759         * config.host: Remove interix support.
760         * config/i386/t-interix: Remove.
762 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
764         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
765         least-significant bit in function pointer for fixup.
767 2016-06-05  Aaron Conole  <aconole@redhat.com>
768             Nathan Sidwell  <nathan@acm.org>
770         PR libgcc/71400
771         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
772         (get_gcov_error_file): Check __gcov_error_file before trying to
773         initialize it.
774         (gcov_error): Always use get_gcov_error_file.
776 2016-06-02  Aaron Conole  <aconole@redhat.com>
778         * libgcov-driver-system.c (__gcov_error_file): New.
779         (get_gcov_error_file): New.
780         (gcov_error): Use and set __gcov_error_file.
781         (gcov_error_exit): New.
782         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
784 2016-05-26  Nathan Sidwell  <nathan@acm.org>
786         * config/nvptx/free.asm: Delete.
787         * config/nvptx/malloc.asm: Delete.
788         * config/nvptx/realloc.c: Delete.
789         * t-nvptx: Update.
791 2016-05-25  Nathan Sidwell  <nathan@acm.org>
793         * config/nvptx/crt0.s: Delete.
794         * config/nvptx/crt0.c: New.
795         * t-nvptx: Update.
797 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
799         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
800         dw2/seh configuration.
801         [x86_64-*-mingw*]: Likewise.
803 2016-05-10  Joel Sherrill <joel@rtems.org>
805         PR libgcc/70720
806         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
807         targets so the same extra_parts are built.  Also have tmake_file add
808         on to its value rather than override.
810 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
812         * config.host: Remove SH5 support.
813         * configure: Likewise.
815 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
817         * config/sh/crt1.S: Remove SH5 support.
818         * config/sh/crti.S: Likewise.
819         * config/sh/crtn.S: Likewise.
820         * config/sh/lib1funcs-4-300.S: Likewise.
821         * config/sh/lib1funcs-Os-4-200.S: Likewise.
822         * config/sh/lib1funcs.S: Likewise.
823         * config/sh/linux-unwind.h: Likewise.
824         * config/sh/t-sh64: Delete.
826 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
828         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
830 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
831             Joern Rennecke  <joern.rennecke@embecosm.com>
833         * config/arc/crttls.S: New file.
834         * config/arc/t-arc: New rule.
835         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
837 2016-04-25  Nick Clifton  <nickc@redhat.com>
839         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
840         (__mspabi_cmpd): Likewise.
841         * config/msp430/floathidf.c (__floathidf): Likewise.
842         * config/msp430/floathisf.c (__floathisf): Likewise
843         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
844         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
845         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
846         second parameter.
847         (__ashrsi3): Likewise.
849 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
851         * config/m68k/linux-atomic.c: Do not include unistd.h
853 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
855         * config/arm/ieee754-df.S: Fix typos in comments.
857 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
859         PR target/70381
860         * configure.ac (powerpc*-*-linux*): Rework tests to build
861         __float128 emulation routines to not depend on using #pragma GCC
862         target to enable -mfloat128.
863         * configure: Regnerate.
865 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
867         PR target/67172
868         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
869         __MINGW32__ is defined.
871 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
873         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
875 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
877         PR libgcc/70363
878         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
879         built with an assembler that does not support ISA 3.0
880         instructions, rename __extendkftf2_sw to __extendkftf2.
882 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
884         PR target/38239
885         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
886         call-clobbered registers.
887         (internal_mcount): Remove __i386__ handling.
889 2016-02-26  Joel Sherrill <joel@rtems.org>
891         * config.host: Add x86_64-*-rtems*.
893 2016-02-26  Joel Sherrill <joel@rtems.org>
895         * libgcc/config.host: Add aarch64-*-rtems*.
897 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
898             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
900         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
901         union of u64 and double.
902         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
903         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
904         value.
905         (FP_ROUNDMODE): Update the usage of _fpscr.
907 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
909         PR driver/68463
910         * Makefile.in (crtoffloadtable$(objext)): New rule.
911         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
912         enable_offload_targets is not empty.
913         * configure: Regenerate.
914         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
915         crtoffloadtable.
917 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
919         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
920         .literal_position before the function.
921         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
922         Likewise.
924 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
926         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
927         * config/s390/morestack.S: New file.
928         * config/s390/t-stack-s390: New file.
929         * generic-morestack.c (__splitstack_find): Add s390-specific code.
931 2016-02-12  Walter Lee  <walt@tilera.com>
933         * config.host (tilegx*-*-linux*): remove ti from
934         softfp_int_modes for 32-bit configs.
936 2016-02-10  Ian Lance Taylor  <iant@google.com>
938         PR go/68562
939         * config/i386/morestack.S (__stack_split_initialize): Align
940         stack.
942 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
944         PR bootstrap/69611
945         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
946         __FLOAT128__ to compile only for __float128 capable targets.
948 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
950         PR target/69444
951         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
952         instead of ___NO_FPRS__.
954 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
955             Steven Munroe  <munroesj@linux.vnet.ibm.com>
956             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
958         * config/rs6000/float128-sed: New files to convert TF names to KF
959         names for PowerPC IEEE 128-bit floating point support.
960         * config/rs6000/float128-sed-hw: Likewise.
962         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
963         floating point hardware support.
965         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
966         128-bit floating point software emulation or use ISA 3.0 hardware
967         support if it is available.
969         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
970         floating point.
972         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
973         floating point to IBM extended double.
975         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
976         double to IEEE 128-bit floating point.
978         * config/rs6000/t-float128: New Makefile fragments to enable
979         building __float128 emulation support.
980         * config/rs6000/t-float128-hw: Likewise.
982         * config/rs6000/sfp-exceptions.c: New file to provide exception
983         support for IEEE 128-bit floating point.
985         * config/rs6000/floattikf.c: New files for converting between IEEE
986         128-bit floating point and signed/unsigned 128-bit integers.
987         * config/rs6000/fixunskfti.c: Likewise.
988         * config/rs6000/fixkfti.c: Likewise.
989         * config/rs6000/floatuntikf.c: Likewise.
991         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
992         when building on 64-bit systems, or when VSX is enabled.
993         (_FP_W_TYPE): Likewise.
994         (_FP_WS_TYPE): Likewise.
995         (_FP_I_TYPE): Likewise.
996         (TItype): Define on 64-bit systems.
997         (UTItype): Likewise.
998         (TI_BITS): Likewise.
999         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1000         (_FP_MUL_MEAT_Q): Likewise.
1001         (_FP_DIV_MEAT_D): Likewise.
1002         (_FP_DIV_MEAT_Q): Likewise.
1003         (_FP_NANFRAC_D): Likewise.
1004         (_FP_NANFRAC_Q): Likewise.
1005         (ISA_BIT): Add exception support if we are being compiled on a
1006         machine with hardware floating point support to build the IEEE
1007         128-bit emulation functions.
1008         (FP_EX_INVALID): Likewise.
1009         (FP_EX_OVERFLOW): Likewise.
1010         (FP_EX_UNDERFLOW): Likewise.
1011         (FP_EX_DIVZERO): Likewise.
1012         (FP_EX_INEXACT): Likewise.
1013         (FP_EX_ALL): Likewise.
1014         (__sfp_handle_exceptions): Likewise.
1015         (FP_HANDLE_EXCEPTIONS): Likewise.
1016         (FP_RND_NEAREST): Likewise.
1017         (FP_RND_ZERO): Likewise.
1018         (FP_RND_PINF): Likewise.
1019         (FP_RND_MINF): Likewise.
1020         (FP_RND_MASK): Likewise.
1021         (_FP_DECL_EX): Likewise.
1022         (FP_INIT_ROUNDMODE): Likewise.
1023         (FP_ROUNDMODE): Likewise.
1025         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1026         VSX code, enable IEEE 128-bit floating point.  If the compiler can
1027         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
1028         floating point hardware instructions and it supports declaring
1029         functions with the ifunc attribute, enable ifunc functions to
1030         switch between software and hardware support.
1031         * configure.ac (powerpc*-*-linux*): Likewise.
1032         * configure: Regenerate.
1034 2016-01-15  Nick Clifton  <nickc@redhat.com>
1036         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
1037         dependency as the source file to be compiled.
1038         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
1039         (lib2hw_mul_f5.o): Likewise.
1041 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
1043         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
1044         * libgcc/config/rs6000/fixkfti.c: Likewise.
1045         * libgcc/config/rs6000/fixunskfti.c: Likewise.
1046         * libgcc/config/rs6000/float128-hw.c: Likewise.
1047         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
1048         * libgcc/config/rs6000/float128-sed: Likewise.
1049         * libgcc/config/rs6000/floattikf.c: Likewise.
1050         * libgcc/config/rs6000/floatuntikf.c: Likewise.
1051         * libgcc/config/rs6000/quad-float128.h: Likewise.
1052         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
1053         * libgcc/config/rs6000/sfp-machine.h: Likewise.
1054         * libgcc/config/rs6000/t-float128: Likewise.
1055         * libgcc/config/rs6000/t-float128-hw: Likewise.
1056         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
1057         * libgcc/config.host: Likewise.
1058         * libgcc/configure: Likewise.
1059         * libgcc/configure.ac: Likewise.
1061 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
1062             Steven Munroe  <munroesj@linux.vnet.ibm.com>
1063             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
1065         * config/rs6000/sfp-exceptions.c: New file to provide exception
1066         support for IEEE 128-bit floating point.
1068         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1069         floating point hardware support.
1071         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
1072         point conversions.
1073         * config/rs6000/fixunskfti.c: Likewise.
1074         * config/rs6000/fixkfti.c: Likewise.
1075         * config/rs6000/floatuntikf.c: Likewise.
1076         * config/rs6000/extendkftf2-sw.c: Likewise.
1077         * config/rs6000/trunctfkf2-sw.c: Likewise.
1079         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1080         128-bit floating point software emulation or use ISA 3.0 hardware
1081         support if it is available.
1083         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1084         floating point.
1086         * config/rs6000/t-float128: New Makefile fragments to enable
1087         building __float128 emulation support.
1088         * config/rs6000/t-float128-hw: Likewise.
1090         * config/rs6000/float128-sed: New file to convert TF names to KF
1091         names for PowerPC IEEE 128-bit floating point support.
1093         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1094         when building on 64-bit systems, or when VSX is enabled.
1095         (_FP_W_TYPE): Likewise.
1096         (_FP_WS_TYPE): Likewise.
1097         (_FP_I_TYPE): Likewise.
1098         (TItype): Define on 64-bit systems.
1099         (UTItype): Likewise.
1100         (TI_BITS): Likewise.
1101         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1102         (_FP_MUL_MEAT_Q): Likewise.
1103         (_FP_DIV_MEAT_D): Likewise.
1104         (_FP_DIV_MEAT_Q): Likewise.
1105         (_FP_NANFRAC_D): Likewise.
1106         (_FP_NANFRAC_Q): Likewise.
1107         (ISA_BIT): Add exception support if we are being compiled on a
1108         machine with hardware floating point support to build the IEEE
1109         128-bit emulation functions.
1110         (FP_EX_INVALID): Likewise.
1111         (FP_EX_OVERFLOW): Likewise.
1112         (FP_EX_UNDERFLOW): Likewise.
1113         (FP_EX_DIVZERO): Likewise.
1114         (FP_EX_INEXACT): Likewise.
1115         (FP_EX_ALL): Likewise.
1116         (__sfp_handle_exceptions): Likewise.
1117         (FP_HANDLE_EXCEPTIONS): Likewise.
1118         (FP_RND_NEAREST): Likewise.
1119         (FP_RND_ZERO): Likewise.
1120         (FP_RND_PINF): Likewise.
1121         (FP_RND_MINF): Likewise.
1122         (FP_RND_MASK): Likewise.
1123         (_FP_DECL_EX): Likewise.
1124         (FP_INIT_ROUNDMODE): Likewise.
1125         (FP_ROUNDMODE): Likewise.
1127         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
1128         compiler can do __float128.
1129         * configure: Regenerate.
1131         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1132         VSX code, enable IEEE 128-bit floating point.
1134 2016-01-05  Olivier Hainque  <hainque@adacore.com>
1136         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
1137         specificities.
1139 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
1141         Update copyright years.
1143 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
1145         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
1146         soft-fp targets.
1148 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1150         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
1151         instead of abort to avoid dependency on stdlib.h.
1153 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
1155         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
1156         to initialize call to __dl_fixup once.
1158 2015-12-04  Nick Clifton  <nickc@redhat.com>
1160         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
1161         Allow for the second argument being negative.
1162         * config.host (extra_parts): Define for MSP430.  Create separate
1163         libraries for each of the hardware multiply formats.
1164         * config/msp430/lib2hw_mul.S: Build only the multiply routines
1165         that are needed.
1166         * config/msp430/lib2mul.c: Likewise.
1167         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
1168         Add rules to build hardware multiply libraries.
1169         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
1170         __mspabi_divul function.
1171         (__mspabi_divllu): New stub function.
1173 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
1175         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
1176         fixup values if saved GOT address doesn't match runtime address.
1177         (fixup_branch_offset): Reorder list.
1179 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1181         * Makefile.in (VTV_CFLAGS): New variable.
1182         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
1183         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
1184         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1185         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
1186         to extra_parts if $enable_vtable_verify = yes.
1188 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1190         PR target/68059
1191         * config/arm/linux-atomic-64bit.c (__write): Rename to...
1192         (write): ...this and fix the return type.
1194 2015-11-19  DJ Delorie  <dj@redhat.com>
1196         * config/msp430/lib2hw_mul.S: Fix alignment.
1198 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
1200         * config/nvptx/reduction.c: New.
1201         * config/nvptx/t-nvptx (LIB2ADD): Add it.
1203 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
1205         * config/rs6000/on_exit.c: New file.
1206         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
1207         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
1209 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
1211         * config/arc/dp-hack.h: Add support for ARCHS.
1212         * config/arc/ieee-754/divdf3.S: Likewise.
1213         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
1214         * config/arc/ieee-754/muldf3.S: Likewise.
1215         * config/arc/ieee-754/mulsf3.S: Likewise
1216         * config/arc/lib1funcs.S: Likewise
1217         * config/arc/gmon/dcache_linesz.S: Don't read the build register
1218         for ARCv2 cores.
1219         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
1220         for ARCv2 cores.
1221         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
1222         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
1223         cores.
1225 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1227         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
1228         value.
1229         * config/ia64/crtend.S: Likewise.
1231 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1233         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
1234         __CHAR_BIT__ instead of BITS_PER_UNIT.
1235         * fixed-bit.h: Likewise.
1236         * fp-bit.h: Likewise.
1237         * libgcc2.c (__popcountSI2): Likewise.
1238         (__popcountDI2): Likewise.
1239         * libgcc2.h: Likewise.
1240         * libgcov.h: Likewise.
1242 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
1244         * config/rs6000/atexit.c: New file.
1245         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
1246         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
1247         * config/rs6000/cxa_finalize.c
1248         (catomic_compare_and_exchange_bool_acq): Negate return value.
1250 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
1252         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
1253         (processor_subtypes): Add znver1.
1254         (get_amd_cpu): Detect znver1.
1256 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
1258         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
1259         Include crtfastmath.o.
1261 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
1263         PR libgcc/66883
1264         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1266 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
1268         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
1269         * config/rl78/divmodsi.S: Update return register to r8.
1270         * config/rl78/divmodhi.S: Update return register to r8,r9.
1271         Branch to main_loop_done_himode to pop registers before return.
1273 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
1275         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
1276         (__cpu_indicator_init): Fix model selection for AMD CPUs.
1278 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
1280         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
1282 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
1284         * config.host (xtensa*-*-uclinux*): New configuration.
1286 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
1288         * config/i386/cpuinfo.c (processor_features): Add
1289         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
1291 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
1293         * soft-fp/adddf3.c: Update from glibc.
1294         * soft-fp/addsf3.c: Likewise.
1295         * soft-fp/addtf3.c: Likewise.
1296         * soft-fp/divdf3.c: Likewise.
1297         * soft-fp/divsf3.c: Likewise.
1298         * soft-fp/divtf3.c: Likewise.
1299         * soft-fp/double.h: Likewise.
1300         * soft-fp/eqdf2.c: Likewise.
1301         * soft-fp/eqsf2.c: Likewise.
1302         * soft-fp/eqtf2.c: Likewise.
1303         * soft-fp/extenddftf2.c: Likewise.
1304         * soft-fp/extended.h: Likewise.
1305         * soft-fp/extendsfdf2.c: Likewise.
1306         * soft-fp/extendsftf2.c: Likewise.
1307         * soft-fp/extendxftf2.c: Likewise.
1308         * soft-fp/fixdfdi.c: Likewise.
1309         * soft-fp/fixdfsi.c: Likewise.
1310         * soft-fp/fixdfti.c: Likewise.
1311         * soft-fp/fixsfdi.c: Likewise.
1312         * soft-fp/fixsfsi.c: Likewise.
1313         * soft-fp/fixsfti.c: Likewise.
1314         * soft-fp/fixtfdi.c: Likewise.
1315         * soft-fp/fixtfsi.c: Likewise.
1316         * soft-fp/fixtfti.c: Likewise.
1317         * soft-fp/fixunsdfdi.c: Likewise.
1318         * soft-fp/fixunsdfsi.c: Likewise.
1319         * soft-fp/fixunsdfti.c: Likewise.
1320         * soft-fp/fixunssfdi.c: Likewise.
1321         * soft-fp/fixunssfsi.c: Likewise.
1322         * soft-fp/fixunssfti.c: Likewise.
1323         * soft-fp/fixunstfdi.c: Likewise.
1324         * soft-fp/fixunstfsi.c: Likewise.
1325         * soft-fp/fixunstfti.c: Likewise.
1326         * soft-fp/floatdidf.c: Likewise.
1327         * soft-fp/floatdisf.c: Likewise.
1328         * soft-fp/floatditf.c: Likewise.
1329         * soft-fp/floatsidf.c: Likewise.
1330         * soft-fp/floatsisf.c: Likewise.
1331         * soft-fp/floatsitf.c: Likewise.
1332         * soft-fp/floattidf.c: Likewise.
1333         * soft-fp/floattisf.c: Likewise.
1334         * soft-fp/floattitf.c: Likewise.
1335         * soft-fp/floatundidf.c: Likewise.
1336         * soft-fp/floatundisf.c: Likewise.
1337         * soft-fp/floatunditf.c: Likewise.
1338         * soft-fp/floatunsidf.c: Likewise.
1339         * soft-fp/floatunsisf.c: Likewise.
1340         * soft-fp/floatunsitf.c: Likewise.
1341         * soft-fp/floatuntidf.c: Likewise.
1342         * soft-fp/floatuntisf.c: Likewise.
1343         * soft-fp/floatuntitf.c: Likewise.
1344         * soft-fp/gedf2.c: Likewise.
1345         * soft-fp/gesf2.c: Likewise.
1346         * soft-fp/getf2.c: Likewise.
1347         * soft-fp/ledf2.c: Likewise.
1348         * soft-fp/lesf2.c: Likewise.
1349         * soft-fp/letf2.c: Likewise.
1350         * soft-fp/muldf3.c: Likewise.
1351         * soft-fp/mulsf3.c: Likewise.
1352         * soft-fp/multf3.c: Likewise.
1353         * soft-fp/negdf2.c: Likewise.
1354         * soft-fp/negsf2.c: Likewise.
1355         * soft-fp/negtf2.c: Likewise.
1356         * soft-fp/op-1.h: Likewise.
1357         * soft-fp/op-2.h: Likewise.
1358         * soft-fp/op-4.h: Likewise.
1359         * soft-fp/op-8.h: Likewise.
1360         * soft-fp/op-common.h: Likewise.
1361         * soft-fp/quad.h: Likewise.
1362         * soft-fp/single.h: Likewise.
1363         * soft-fp/soft-fp.h: Likewise.
1364         * soft-fp/subdf3.c: Likewise.
1365         * soft-fp/subsf3.c: Likewise.
1366         * soft-fp/subtf3.c: Likewise.
1367         * soft-fp/truncdfsf2.c: Likewise.
1368         * soft-fp/trunctfdf2.c: Likewise.
1369         * soft-fp/trunctfsf2.c: Likewise.
1370         * soft-fp/trunctfxf2.c: Likewise.
1371         * soft-fp/unorddf2.c: Likewise.
1372         * soft-fp/unordsf2.c: Likewise.
1373         * soft-fp/unordtf2.c: Likewise.
1375 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
1377         PR libgcc/67624
1378         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
1380 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1382         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1383         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
1384         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
1385         messages.
1386         (internal_mcount): Likewise.
1387         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
1388         crt_compile, add CRTSTUFF_T_CFLAGS_S.
1390 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1392         * configure.ac (libgcc_cv_solaris_crts): New test.
1393         * configure: Regenerate.
1394         * config.in: Regenerate.
1395         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
1396         * config/gmon-sol2.c: Rename to ...
1397         * config/sol2/gmon.c: ... this.
1398         Include auto-target.h.
1399         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
1400         * config/t-sol2: Rename to ...
1401         * config/sol2/t-sol2: ... this.
1402         (gmon.o): Reflect renaming.
1403         (crtp.o, crtpg.o): New rules.
1404         * config.host (*-*-solaris2*): Reflect renaming.
1405         Use system CRTs if present.
1406         Remove default CRT case.
1408 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
1410         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
1411         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
1412         __kernel_cmpxchg2.
1413         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
1414         (__sync_val_compare_and_swap_##WIDTH): Likewise.
1415         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
1416         (__sync_lock_test_and_set_##WIDTH): Likewise.
1417         (__sync_lock_release_##WIDTH): Likewise.
1418         (__sync_fetch_and_##OP##_4): Change result to match type of
1419         __kernel_cmpxchg.
1420         (__sync_##OP##_and_fetch_4): Likewise.
1421         (__sync_val_compare_and_swap_4): Likewise.
1422         (__sync_bool_compare_and_swap_4): likewise.
1423         (__sync_lock_test_and_set_4): Likewise.
1424         (__sync_lock_release_4): Likewise.
1425         (FETCH_AND_OP_2): Add long long variants.
1426         (OP_AND_FETCH_2): Likewise.
1427         (COMPARE_AND_SWAP_2 ): Likewise.
1428         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1429         (SYNC_LOCK_RELEASE_2): Likewise.
1430         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
1432 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
1434         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
1435         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
1436         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
1437         (get_available_features): Habdle new features.
1439 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
1441         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
1442         memory layout. Deal correctly with BSS region larger than 32K.
1443         Handle a watchdog reset like a power-on reset. Clean up unused
1444         code.
1446 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
1447             David Edelsohn  <dje.gcc@gmail.com>
1449         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
1450         * config/rs6000/crtdbase.S: New file.
1451         * config/rs6000/t-aix-cxa: Build crtdbase.o.
1453 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
1455         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1456         Add support for call0 ABI.
1458 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
1460         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
1462 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1464         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
1465         (__GTHREAD_HAS_COND): Likewise.
1466         (__gthread_t): Likewise.
1467         (__gthread_cond_t): Likewise.
1468         (__gthread_time_t): Likewise.
1469         (__GTHREAD_MUTEX_INIT): Likewise.
1470         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
1471         (__GTHREAD_COND_INIT): Likewise.
1472         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
1473         (__GTHREAD_TIME_INIT): Likewise.
1474         (__gthread_create): Likewise.
1475         (__gthread_join): Likewise.
1476         (__gthread_detach): Likewise.
1477         (__gthread_equal): Likewise.
1478         (__gthread_self): Likewise.
1479         (__gthread_yield): Likewise.
1480         (__gthread_cond_broadcast): Likewise.
1481         (__gthread_cond_signal): Likewise.
1482         (__gthread_cond_wait): Likewise.
1483         (__gthread_cond_timedwait): Likewise.
1484         (__gthread_cond_wait_recursive): Likewise.
1485         (__gthread_cond_destroy): Likewise.
1486         (rtems_gxx_once): Delete.
1487         (rtems_gxx_key_create): Likewise.
1488         (rtems_gxx_key_delete): Likewise.
1489         (rtems_gxx_getspecific): Likewise.
1490         (rtems_gxx_setspecific): Likewise.
1491         (rtems_gxx_mutex_init): Likewise.
1492         (rtems_gxx_mutex_destroy): Likewise.
1493         (rtems_gxx_mutex_lock): Likewise.
1494         (rtems_gxx_mutex_trylock): Likewise.
1495         (rtems_gxx_mutex_unlock): Likewise.
1496         (rtems_gxx_recursive_mutex_init): Likewise.
1497         (rtems_gxx_recursive_mutex_lock): Likewise.
1498         (rtems_gxx_recursive_mutex_trylock): Likewise.
1499         (rtems_gxx_recursive_mutex_unlock): Likewise.
1500         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
1501         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
1502         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
1503         (__gthread_once): Likewise.
1504         (__gthread_key_create): Likewise.
1505         (__gthread_key_delete): Likewise.
1506         (__gthread_getspecific): Likewise.
1507         (__gthread_setspecific): Likewise.
1508         (__gthread_key_t): Use <pthread.h> type.
1509         (__gthread_once_t): Likewise
1510         (__gthread_mutex_t): Use <sys/lock.h> type.
1511         (__gthread_recursive_mutex_t): Likewise
1512         (__gthread_mutex_lock): Use <sys/lock.h> function.
1513         (__gthread_mutex_trylock): Likewise.
1514         (__gthread_mutex_timedlock): Likewise.
1515         (__gthread_mutex_unlock): Likewise.
1516         (__gthread_mutex_destroy): Likewise.
1517         (__gthread_recursive_mutex_lock): Likewise.
1518         (__gthread_recursive_mutex_trylock): Likewise.
1519         (__gthread_recursive_mutex_timedlock): Likewise.
1520         (__gthread_recursive_mutex_unlock): Likewise.
1521         (__gthread_recursive_mutex_destroy): Likewise.
1523 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
1525         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
1526         context->sp instead of context->cfa.
1528 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
1530         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
1531         with unwind-dw2-fde-dip.
1533 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
1535         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
1536         CALL12 followed by series of ENTRY to spill windowed registers.
1537         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
1538         instead of making linux spill syscall.
1540 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
1542         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
1543         (get_intel_cpu): Likewise.
1545 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
1547         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
1548         (get_intel_cpu): Add Knights Landing support.
1550 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
1552         PR target/66954
1553         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
1554         (get_available_features): Handle FEATURE_PCLMUL.
1556 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
1558         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
1559         Broadwell.
1561 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
1563         PR target/66954
1564         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
1565         (get_available_features): Handle FEATURE_AES.
1567 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
1569         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
1570         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
1572 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
1574         * offloadstuff.c: Constify host data.
1576 2015-07-17  Jan Beulich  <jbeulich@suse.com>
1578         * config/t-softfp: Split up "else ifneq".
1580 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
1581             Cesar Philippidis  <cesar@codesourcery.com>
1582             Chung-Lin Tang  <cltang@codesourcery.com>
1584         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
1585         for __nios2_arch__ level.
1587 2015-07-13  John Marino  <gnugcc@marino.st>
1589         * config/i386/t-dragonfly: New.
1591 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
1593         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
1594         better match light-weight syscall argument order.
1595         (__kernel_cmpxchg2): Likewise.
1596         Adjust callers.
1598 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
1600         * config.host: Support i[34567]86-*-elfiamcu target.
1601         * config/t-softfp-sfdftf: New file.
1602         * config/i386/32/t-iamcu: Likewise.
1603         * configure: Regenerated.
1605 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
1607         libgcc/config/arm/
1608         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
1610 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
1612         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
1614 2015-05-27  John Marino  <gnugcc@marino.st>
1616         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
1617         md_unwind_header
1618         * config/i386/freebsd-unwind.h: New.
1620 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
1622         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
1623         i386/t-crtfm to tmake_file.
1624         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
1625         (set_fast_math): Use set_fast_math_sse for SSE targets.
1626         * config/i386/t-crtfm: Remove.
1628 2015-05-21  Alan Modra  <amodra@gmail.com>
1630         PR libgcc/66225
1631         * config/rs6000/morestack.S: Remove ".abiversion 1".
1633 2015-05-20  Alan Modra  <amodra@gmail.com>
1635         * config/rs6000/morestack.S: New.
1636         * config/rs6000/t-stack-rs6000: New.
1637         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
1638         to tmake_file.
1639         * generic-morestack.c: Don't build for powerpc 32-bit.
1641 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
1643         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
1644         Remove useless endif/ifneq ($(enable_shared),yes) pair.
1646 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
1648         * config.host: FT32 target added.
1649         * config/ft32/*: New files for FT32 target.
1651 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
1653         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
1654         New macros.
1655         * config/arm/ieee754-df.S: Add CFI directives.
1656         * config/arm/ieee754-sf.S: Add CFI directives.
1658 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
1660         * configure.ac: Include config/sjlj.m4.
1661         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
1662         * config.in: Regenerate.
1663         * configure: Likewise.
1664         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
1666 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
1668         * libgcov-util.c: Add space between string literal and macro name.
1670 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
1671             Chris Jones  <chrisj@nvidia.com>
1672             Joshua Conner  <jconner@nvidia.com>
1674         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
1675         (arm*-*-uclinux*): Likewise.
1676         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
1677         * config/arm/crtfastmath.c: New file.
1679 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
1681         * Makefile.in (real_host_noncanonical): New variable.
1682         (libsubdir): Use it.
1683         * configure.ac (real_host_noncanonical): Compute.  Remove special
1684         case for intelmicemul.
1685         * configure: Regenerate.
1687 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
1689         * config/frv/elf-lib.h: New file.
1690         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
1691         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
1692         to tm_file.
1694 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
1696         * config/frv/frvbengin.c: Do not include defaults.h
1697         * config/frv/frvend.c: Ditto.
1699 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
1701         * config.host: Add h8300-*-linux
1702         * config/h8300/t-linux: New file.
1703         * config/h8300/lib1funs.s: Change symbol prefix.
1704         * config/h8300/sfp-machine.h: 64bit double support.
1706 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
1707             Szabolcs Nagy  <szabolcs.nagy@arm.com>
1709         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
1710         Linux if target provides dl_iterate_phdr.
1712 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
1714         PR target/65612
1715         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
1716         * config/i386/cpuinfo.c (__cpu_model): Initialize.
1717         (__cpu_indicator_init@GCC_4.8.0): New.
1718         (__cpu_model@GCC_4.8.0): Likewise.
1719         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
1720         -DUSE_ELF_SYMVER.
1722 2015-04-16  Nick Clifton  <nickc@redhat.com>
1724         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
1725         and __modhi3 functions.
1726         * config/rl78/divmodso.S: Add G14 and G13 versions of the
1727         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
1729 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
1731         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
1732         do-while loop as macro body to avoid warnings.
1734 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
1735             Iain Sandoe  <iain@codesourcery.com>
1737         PR target/65351
1738         * configure: Regenerate.
1740 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
1741             Iain Sandoe  <iain@codesourcery.com>
1743         PR target/65351
1744         * configure: Regenerate.
1746 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
1748         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
1750 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
1752         Implement call0 ABI for xtensa
1753         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
1754         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
1755         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
1756         use ret in call0 ABI.
1757         * config/xtensa/t-windowed: New file.
1758         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
1759         * libgcc/configure: Regenerated.
1760         * libgcc/configure.ac: Check if xtensa target is configured for
1761         windowed ABI and thus needs to use custom unwind code.
1763 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
1765         PR libgcc/64885
1766         * gthr-single.h: Use __unused__ attribute instead of unused.
1767         * config/gthr-vxworks.h: Likewise.
1768         * config/i386/gthr-win32.h: Likewise.
1770 2015-02-27  Kai Tietz  <ktietz@redhat.com>
1772         PR target/65038
1773         * config.in: Regenerated.
1774         * configure: Likewise.
1775         * configure.ac (AC_HEADER_STDC): Added explicit.
1776         (AC_CHECK_HEADERS): Check for default headers  plus
1777         for ftw.h header.
1778         * libgcov-util.c (gcov_read_profile_dir): Disable use
1779         of ftw-function, if header is not found.
1780         (ftw_read_file): Likewise.
1782 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
1784         PR target/65181
1785         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
1786         -Dinhibit_libc.
1788 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
1790         * config/arm/bpabi.S (test_div_by_zero): Make label names
1791         consistent between thumb2 and arm mode cases.  Separate the
1792         signed comparison on the high word of the numerator from the
1793         unsigned comparison on the low word.
1794         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
1795         signed comparison.
1797 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1799         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
1800         and <string.h>.
1801         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
1803 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
1805         PR gcov-profile/61889
1806         * libgcov-driver-system.c: undefine clashing macro for mkdir.
1808 2015-02-02  Nick Clifton  <nickc@redhat.com>
1810         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
1811         rounding up the fraction.
1813 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
1815         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
1816         oldval and newval to const void *.  Fix typo.
1817         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
1818         (FETCH_AND_OP_WORD): Likewise.
1819         (OP_AND_FETCH_WORD): Likewise.
1820         (COMPARE_AND_SWAP_2): Likewise.
1821         (__sync_val_compare_and_swap_4): Likewise.
1822         (__sync_lock_test_and_set_4): Likewise.
1823         (SYNC_LOCK_RELEASE_2): Likewise.
1824         Remove support for long long atomic operations.
1826 2015-01-27  Caroline Tice  <cmtice@google.com>
1828         Committing VTV Cywin/Ming patch for Patrick Wollgast
1829         * Makefile.in: Move rules to build vtv_*.o out of the check
1830         for CUSTOM_CRTSTUFF.
1831         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
1832         i[34567]86-*-mingw*)
1833          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
1834         enable_vtable_verify.
1836 2015-01-27  Nick Clifton  <nickc@redhat.com>
1838         * config/rl78/cmpsi2.S: Use function start and end macros.
1839         (__gcc_bcmp): New function.
1840         * config/rl78/lshrsi3.S: Use function start and end macros.
1841         * config/rl78/mulsi3.S: Add support for G10.
1842         (__mulqi3): New function for G10.
1843         * config/rl78/signbit.S: Use function start and end macros.
1844         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
1845         fpmath-sf.S.
1846         (LIB2FUNCS_EXCLUDE): Define.
1847         (LIB2FUNCS_ST): Define.
1848         * config/rl78/trampoline.S: Use function start and end macros.
1849         * config/rl78/vregs.h (START_FUNC): New macro.
1850         (START_ANOTHER_FUNC): New macro.
1851         (END_FUNC): New macro.
1852         (END_ANOTHER_FUNC): New macro.
1853         * config/rl78/bit-count.S: New file.  Contains assembler
1854         implementations of the bit counting functions: ___clzhi2,
1855         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
1856         __paritysi2, __popcounthi2 and __popcountsi2.
1857         * config/rl78/fpbit-sf.S: New file.  Contains assembler
1858         implementationas of the math functions: __negsf2, __cmpsf2,
1859         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
1860         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
1861         * config/rl78/fpmath-sf.S: New file.  Contains assembler
1862         implementations of the math functions: __subsf3, __addsf3,
1863         __mulsf3 and __divsf3
1865 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1867         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
1868         Add i386/elf-lib.h to tm_file.
1869         * config/i386/elf-lib.h: Fix comment.
1870         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
1871         && __sun__ && __svr4__]: Remove workaround.
1873 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
1875         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
1876         FEATURE_BMI2.
1877         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
1879 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
1881         * config/i386/cpuinfo.c (processor_subtypes): Add
1882         INTEL_COREI7_BROADWELL.
1883         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
1884         model numbers.
1886 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
1888         * config/i386/elf-lib.h: New file.
1889         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
1890         Wrap definition in #ifdef __i386__.
1891         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
1892         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
1893         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
1894         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
1895         to tm_file.
1897 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
1899         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
1900         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
1902 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
1904         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
1905         Update rt_sigframe format and address for current Nios II
1906         Linux conventions.
1908 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
1910         * config.host (arm*-*-freebsd*): Add new configuration for
1911         arm*-*-freebsd*.
1912         * config/arm/freebsd-atomic.c: New file.
1913         * config/arm/t-freebsd: Likewise.
1914         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
1915         'PC-relative indirect' OS's.
1917 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
1919         * config.host: Add Visium support.
1920         * config/visium: New directory.
1922 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
1924         Update copyright years.
1926 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
1928         * config.host: Support mipsisa32r6 and mipsisa64r6.
1929         * config/mips/mips16.S: Do not build for R6.
1931 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
1933         * config/sh/crt.h: New.
1934         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
1935         symbols.
1936         * config/sh/crt1.S: Likewise.
1938 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
1940         PR libgcc/63832
1941         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
1942         func_ptr *dtor_list temporary variable to avoid "array subscript
1943         is above array bounds" warnings.
1945 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
1947         * Makefile.in (with_aix_soname): Define.
1948         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
1949         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
1950         * configure: Recreate.
1952 2014-12-05  Olivier Hainque  <hainque@adacore.com>
1954         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
1955         now provided by defaults.h.
1957 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
1959         PR target/55351
1960         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
1961         whether it's defined.
1963 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
1965         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
1966         * config/i386/cpuinfo.c (get_available_features): Detect it.
1968 2014-11-27  Tony Wang  <tony.wang@arm.com>
1970         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
1971         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
1972         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
1974 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
1976         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
1978 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
1980         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
1981         instead.
1983 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
1984             John David Anglin  <danglin@gcc.gnu.org>
1986         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
1987         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
1988         (OP_AND_FETCH_2): Likewise.
1989         (COMPARE_AND_SWAP_2): Likewise.
1990         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1991         (SYNC_LOCK_RELEASE_2): Likewise.
1992         (SUBWORD_SYNC_OP): Remove.
1993         (SUBWORD_VAL_CAS): Likewise.
1994         (SUBWORD_BOOL_CAS): Likewise.
1995         (FETCH_AND_OP_WORD): Update.
1996         Consistently use signed types.
1998 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
1999             Thomas Schwinge  <thomas@codesourcery.com>
2000             Ilya Verbin  <ilya.verbin@intel.com>
2001             Andrey Turetskiy  <andrey.turetskiy@intel.com>
2003         * Makefile.in (crtoffloadbegin$(objext)): New rule.
2004         (crtoffloadend$(objext)): Likewise.
2005         * configure: Regenerate.
2006         * configure.ac (accel_dir_suffix): Compute new variable.
2007         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
2008         if enable_offload_targets is not empty.
2009         * offloadstuff.c: New file.
2011 2014-11-13  Nick Clifton  <nickc@redhat.com>
2013         * config/rl78/divmodhi.S: Add support for the G10 architecture.
2014         Use START_FUNC and END_FUNC macros to enable linker garbage
2015         collection.
2016         * config/rl78/divmodqi.S: Likewise.
2017         * config/rl78/divmodsi.S: Likewise.
2018         * config/rl78/mulsi3.S: Likewise.
2019         * config/rl78/lib2div.c: Remove G10 functions.
2020         * config/rl78/lib2muls.c: Likewise.
2021         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
2022         * config/rl78/vregs.h (START_FUNC): New macro.
2023         (END_FUNC): New macro.
2025 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
2027         * config/mips/mips16.S: Set .module when supported.  Update O32
2028         FP64 calling convention and use for FPXX when possible.  Add FPXX
2029         calling convention fallback case.
2031 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
2033         * config.host: Handle nvptx-*-*.
2034         * shared-object.mk (as-flags-$o): Define.
2035         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
2036         -xassembler-with-cpp.
2037         * static-object.mk: Identical changes.
2038         * config/nvptx/t-nvptx: New file.
2039         * config/nvptx/crt0.s: New file.
2040         * config/nvptx/free.asm: New file.
2041         * config/nvptx/malloc.asm: New file.
2042         * config/nvptx/realloc.c: New file.
2044 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
2046         * Makefile.in (libgcc.map.in): New target.
2047         (libgcc.map): Use libgcc.map.in.
2048         * config/t-softfp (softfp_compat): New variable to be set by
2049         users.
2050         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
2051         variables.
2052         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
2053         directory.
2054         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
2055         that use compat symbols and disable all code unless [SHARED].
2056         * config/t-softfp-compat: New file.
2057         * find-symver.awk: New file.
2058         * configure.ac (--with-glibc-version): New configure option.
2059         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
2060         * configure: Regenerate.
2061         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
2062         soft-float and e500.
2064 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
2066         * config/t-hardfp (hardfp_exclusions): Document new variable for
2067         user to define.
2068         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
2069         * config/t-softfp (softfp_extras): Document new variable for user
2070         to define.
2071         (softfp_func_list): Add functions from $(softfp_extras).
2072         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
2073         * config.host (powerpc*-*-linux*): For e500v1, use
2074         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
2075         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
2076         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
2078 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
2080         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
2081         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
2082         memory read accesses are ok.
2084 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
2086         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
2087         * configure: Regenerate.
2088         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
2089         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
2090         of soft-fp for 32-bit classic hard float.  Do not use
2091         t-softfp-excl for soft float.
2093 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
2095         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
2096         configurations.
2097         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
2098         Remove variables.
2100 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
2102         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
2103         introduced with 2014-10-21 trunk r216525.
2105 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
2106             Vidya Praveen  <vidya.praveen@atmel.com>
2107             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
2108             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
2109             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
2111         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
2112         order.
2114         Updated library functions for AVRTINY arch.
2115         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
2116         Replaced occurrences of r0/r1 with tmp/zero reg macros.
2117         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
2118         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
2119         wsubi/wadi macors.
2120         (__mulsi3_helper): Update stack, preserve callee saved regs and
2121         argument from stack. Restore callee save registers.
2122         (__mulpsi3): Likewise.
2123         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
2124         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
2125         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
2126         AVRTINY.
2127         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
2128         (__do_copy_data): Added new definition for AVRTINY.
2129         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
2130         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
2131         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
2132         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
2133         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
2134         macors.
2135         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
2136         AVRTINY.
2138         Fix broken long multiplication on tiny arch.
2140 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
2142         * soft-fp/double.h: Update from glibc.
2143         * soft-fp/eqdf2.c: Likewise.
2144         * soft-fp/eqsf2.c: Likewise.
2145         * soft-fp/eqtf2.c: Likewise.
2146         * soft-fp/extenddftf2.c: Likewise.
2147         * soft-fp/extended.h: Likewise.
2148         * soft-fp/extendsfdf2.c: Likewise.
2149         * soft-fp/extendsftf2.c: Likewise.
2150         * soft-fp/extendxftf2.c: Likewise.
2151         * soft-fp/gedf2.c: Likewise.
2152         * soft-fp/gesf2.c: Likewise.
2153         * soft-fp/getf2.c: Likewise.
2154         * soft-fp/ledf2.c: Likewise.
2155         * soft-fp/lesf2.c: Likewise.
2156         * soft-fp/letf2.c: Likewise.
2157         * soft-fp/op-1.h: Likewise.
2158         * soft-fp/op-2.h: Likewise.
2159         * soft-fp/op-4.h: Likewise.
2160         * soft-fp/op-8.h: Likewise.
2161         * soft-fp/op-common.h: Likewise.
2162         * soft-fp/quad.h: Likewise.
2163         * soft-fp/single.h: Likewise.
2164         * soft-fp/soft-fp.h: Likewise.
2165         * soft-fp/unorddf2.c: Likewise.
2166         * soft-fp/unordsf2.c: Likewise.
2167         * soft-fp/unordtf2.c: Likewise.
2168         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
2169         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
2170         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
2171         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
2172         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
2173         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
2174         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
2175         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
2176         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
2177         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
2179 2014-10-08  Rong Xu  <xur@google.com>
2181         * libgcov-util.c (read_gcda_file): Fix format.
2182         (find_match_gcov_info): Ditto.
2183         (calculate_2_entries): New.
2184         (compute_one_gcov): Ditto.
2185         (gcov_info_count_all_cold): Ditto.
2186         (gcov_info_count_all_zero): Ditto.
2187         (extract_file_basename): Ditto.
2188         (get_file_basename): Ditto.
2189         (set_flag): Ditto.
2190         (matched_gcov_info): Ditto.
2191         (calculate_overlap): Ditto.
2192         (gcov_profile_overlap): Ditto.
2193         * libgcov-driver.c (compute_summary): Make
2194         it avavilable for external calls.
2196 2014-10-06  Rong Xu  <xur@google.com>
2198         * Makefile.in: Ditto.
2199         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
2200         (gcov_sort_icall_topn_counter): Ditto.
2201         (gcov_sort_topn_counter_arrays): Ditto.
2202         (dump_one_gcov): Sort indirect_call topn counters.
2203         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
2204         function.
2205         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
2206         utility function.
2207         (__gcov_indirect_call_topn_profiler): New profiler function.
2208         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
2209         * libgcov.h: New decls.
2211 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
2213         * config.host: Remove support for score-*.
2215 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
2217         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2218         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
2219         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
2220         __LIBGCC_XF_MANT_DIG__.
2221         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
2222         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
2223         __LIBGCC_TF_MANT_DIG__.
2224         * libgcc2.c (NOTRUNC): Define in terms of
2225         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
2226         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2228 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
2230         PR target/63312
2231         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
2232         New macros.
2234 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
2236         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
2237         override USE_PT_GNU_EH_FRAME.
2238         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
2239         check USE_EH_FRAME_REGISTRY_ALWAYS against
2240         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
2241         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
2242         variable for substituted force_explicit_eh_registry.
2243         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
2244         * configure.ac (explicit-exception-frame-registration):
2245         New AC_ARG_ENABLE.
2246         * configure: Regenerate.
2248 2014-09-19  Olivier Hainque  <hainque@adacore.com>
2250         * config.host (powerpc-wrs-vxworksmils): New configuration,
2251         same as vxworksae.
2253 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
2255         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
2257 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
2259         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
2260         bits not set bits as indicating trapping exceptions.
2262 2014-09-17  Nathan sidwell  <nathan@acm.org>
2264         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
2265         (LIBGCOV_DRIVER): ... here.
2266         * libgcov-driver.c (gcov_master): New.
2267         (gcov_exit): Remove from master chain.
2268         (__gcov_init): Add to master chain if version compatible.  Don't
2269         clear the version.
2270         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
2271         (gcov_reset_int): Clear master chain, if compatible.
2272         (gcov_dump_int): New internal interface.  Dump master chain, if
2273         compatible.
2274         (gcov_dump): Alias for gcov_dump_int.
2275         * libgcov.h (struct gcov_root): Add next and prev fields.
2276         (struct gcov_master): New struct.
2277         (__gcov_master): New.
2278         (gcov_dump_int): Declare.
2280 2014-09-17  Olivier Hainque  <hainque@adacore.com>
2282         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
2283         and crtbegin.o + crtend.o to extra_parts.
2285 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
2287         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
2288         __LIBGCC_HAS_SF_MODE__.
2289         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2290         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2291         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2292         * config/libbid/bid_gcc_intrinsics.h
2293         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2294         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2295         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2296         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2297         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
2298         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2300 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
2302         PR target/63223
2303         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
2304         and R24 as needed.  Make work for all devices and .text locations.
2305         (__do_global_ctors, __do_global_dtors): Use word addresses.
2306         (__tablejump__, __tablejump_elpm__): Remove functions.
2307         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
2308         Add _tablejump2.
2309         (XICALL, XIJMP): New macros.
2311 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2312         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
2314         * config.host (aarch64*): Include crtfastmath.o and
2315         t-crtfm.
2316         * config/aarch64/crtfastmath.c: New file.
2318 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
2320         * config.host: Remove picochip support.
2321         * config/picochip/adddi3.S: Remove.
2322         * config/picochip/ashlsi3.S: Remove.
2323         * config/picochip/ashlsi3.c: Remove.
2324         * config/picochip/ashrsi3.S: Remove.
2325         * config/picochip/ashrsi3.c: Remove.
2326         * config/picochip/clzsi2.S: Remove.
2327         * config/picochip/cmpsi2.S: Remove.
2328         * config/picochip/divmod15.S: Remove.
2329         * config/picochip/divmodhi4.S: Remove.
2330         * config/picochip/divmodsi4.S: Remove.
2331         * config/picochip/lib1funcs.S: Remove.
2332         * config/picochip/longjmp.S: Remove.
2333         * config/picochip/lshrsi3.S: Remove.
2334         * config/picochip/lshrsi3.c: Remove.
2335         * config/picochip/parityhi2.S: Remove.
2336         * config/picochip/popcounthi2.S: Remove.
2337         * config/picochip/setjmp.S: Remove.
2338         * config/picochip/subdi3.S: Remove.
2339         * config/picochip/t-picochip: Remove.
2340         * config/picochip/ucmpsi2.S: Remove.
2341         * config/picochip/udivmodhi4.S: Remove.
2342         * config/picochip/udivmodsi4.S: Remove.
2344 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
2346         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
2347         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
2348         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
2349         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
2350         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
2351         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
2352         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
2353         defined and LIBGCC2_HAS_DF_MODE is defined.
2354         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
2355         defined and LIBGCC2_HAS_XF_MODE is defined.
2356         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
2357         defined and LIBGCC2_HAS_TF_MODE is defined.
2359 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
2361         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
2362         and ROUND_TOWARDS_ZERO conditionals.
2364 2014-09-07  Nathan sidwell  <nathan@acm.org>
2366         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
2367         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
2369 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
2371         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
2372         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2373         uses to __LIBGCC_STACK_POINTER_REGNUM__.
2374         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2375         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2376         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2377         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2378         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
2379         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
2380         (DWARF_FRAME_REGISTERS): Change all uses to
2381         __LIBGCC_DWARF_FRAME_REGISTERS__.
2382         (EH_RETURN_STACKADJ_RTX): Change all uses to
2383         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2384         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
2385         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
2386         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
2387         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
2388         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
2389         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
2390         to __LIBGCC_EH_FRAME_SECTION_NAME__.
2391         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
2392         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
2393         __LIBGCC_STACK_POINTER_REGNUM__.
2394         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2395         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2396         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2397         to __LIBGCC_STACK_POINTER_REGNUM__.
2398         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2399         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2400         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2401         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2402         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2403         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2404         (STACK_POINTER_REGNUM): Change all uses to
2405         __LIBGCC_STACK_POINTER_REGNUM__.
2406         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
2407         use to __LIBGCC_STACK_POINTER_REGNUM__.
2408         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2409         uses to __LIBGCC_STACK_POINTER_REGNUM__.
2410         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
2411         to __LIBGCC_DWARF_FRAME_REGISTERS__.
2412         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
2413         to __LIBGCC_DWARF_FRAME_REGISTERS__.
2414         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2415         to __LIBGCC_STACK_POINTER_REGNUM__.
2416         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
2417         Remove conditional definition.
2418         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
2419         __LIBGCC_TEXT_SECTION_ASM_OP__.
2420         (EH_FRAME_SECTION_NAME): Change all uses to
2421         __LIBGCC_EH_FRAME_SECTION_NAME__.
2422         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
2423         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
2424         (CTORS_SECTION_ASM_OP): Change all uses to
2425         __LIBGCC_CTORS_SECTION_ASM_OP__.
2426         (DTORS_SECTION_ASM_OP): Change all uses to
2427         __LIBGCC_DTORS_SECTION_ASM_OP__.
2428         (JCR_SECTION_NAME): Change all uses to
2429         __LIBGCC_JCR_SECTION_NAME__.
2430         (INIT_SECTION_ASM_OP): Change all uses to
2431         __LIBGCC_INIT_SECTION_ASM_OP__.
2432         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2433         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2434         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
2435         __LIBGCC_STACK_GROWS_DOWNWARD__.
2436         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
2437         __LIBGCC_INIT_SECTION_ASM_OP__.
2438         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2439         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2440         (EH_FRAME_SECTION_NAME): Change all uses to
2441         __LIBGCC_EH_FRAME_SECTION_NAME__.
2442         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
2443         definitions.  Change all uses to
2444         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
2445         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
2446         __LIBGCC_STACK_GROWS_DOWNWARD__.
2447         (DWARF_FRAME_REGISTERS): Change all uses to
2448         __LIBGCC_DWARF_FRAME_REGISTERS__.
2449         (EH_RETURN_STACKADJ_RTX): Change all uses to
2450         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2451         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
2452         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
2453         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
2454         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
2455         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
2457 2014-09-02  Nathan sidwell  <nathan@acm.org>
2459         * libgcov-interface.c (STRONG_ALIAS): New.
2460         (__gcov_flush): Call __gcov_reset_int.
2461         (__gcov_reset): Strong alias for ...
2462         (__gcov_reset_ing): ... this renamed hidden version.
2463         * libgcov.h (__gcov_reset_int): New declaration.
2465 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
2467         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
2468         call from here...
2469         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
2470         (__dso_handle): Define on Cygwin.
2471         * config/i386/t-cygming (crtbeginS.o): New rule.
2472         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
2474         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
2475         declaration syntax.
2477 2014-08-13  Steve Ellcey  <sellcey@mips.com>
2479         * crtstuff.c: Undef caddr_t.
2481 2014-08-12  Steve Ellcey  <sellcey@mips.com>
2483         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
2485 2014-08-07  Nathan Sidwell  <nathan@acm.org>
2487         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
2488         (LIBGCOV_DRIVER): ... to here.
2489         * libgcov.h (gcov_do_dump): New #define.
2490         (struct gcov_root): New.
2491         (__gcov_root): New declaration.
2492         (__gcov_dump_one): Declare.
2493         * libgcov-driver.c (gcov_list, gcov_dump_complete,
2494         run_accounted): Delete.
2495         (gcov_compute_histogram): Add LIST argument, adjust.
2496         (compute_summary): Adjust gcov_compute_histogram call.
2497         (gcov_do_dump): Not hidden, static in libgcov.
2498         (gcov_clear): Move  to interface.c.
2499         (__gcov_dump_one): New, broken out of ...
2500         (gcov_exit): ... here.  Make static.
2501         (__gcov_root): New.
2502         (__gcov_init): Adjust.
2503         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
2504         declarations.
2505         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
2506         (gcov_clear): Moved from driver.c.   Add LIST argument.
2507         (__gcov_reset): Adjust for changed interfaces.
2508         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
2510 2014-08-04  Rohit  <rohitarulraj@freescale.com>
2512         PR target/60102
2513         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
2514         based on change in SPE high register numbers and 3 HTM registers.
2516 2014-08-01  Nathan Sidwell  <nathan@acm.org>
2518         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
2519         LIBGCOV_INTERFACE): Reformat.
2520         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
2521         IN_GCOV_TOOL.
2522         * libgcov-interface.c: Reformat some comments.
2523         (__gcov_flush_mx): Add declaration.  Tidy up definition.
2525 2014-07-31  Alan Modra  <amodra@gmail.com>
2526             Peter Bergner  <bergner@vnet.ibm.com>
2528         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
2529         (pack_ldouble): New function.
2530         (__gcc_qadd): Use it.
2531         (__gcc_qmul): Likewise.
2532         (__gcc_qdiv): Likewise.
2533         (__gcc_qneg): Likewise.
2534         (__gcc_stoq): Likewise.
2535         (__gcc_dtoq): Likewise.
2537 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
2539         * config/s390/tpf-unwind.h: Include <stdbool.h>.
2540         (__tpf_eh_return): Add original return address as second parameter.
2541         Handle cases where unwinder routines were called directly, instead
2542         of from within the C++ library.
2544 2014-07-29  Nathan Sidwell  <nathan@acm.org>
2546         * libgcov.h: Move renaming of entry points to lib gcov specific
2547         portion.
2548         (gcov_do_dump): New rename.
2549         (gcov_rewrite): Remove inline, make HIDDEN.
2550         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
2551         (gcov_exit_compute_summary): Rename to ...
2552         (compute_summary): ... here.  Add LIST argument.
2553         (gcov_exit_merge_gcda): Rename to ...
2554         (merge_one_data): ... here.
2555         (gcov_exit_write_gcda): Rename to ...
2556         (write_one_data): ... here.
2557         (gcov_exit_merge_summary): Rename to ...
2558         (merge_summary): Add RUN_COUNTED argument.
2559         (gcov_exit_dump_gcov): Rename to ...
2560         (dump_one_gcov): Add RUN_COUNTED argument.
2561         (gcov_do_dump): New function, broken out of ...
2562         (gcov_exit): ... here.  Call it.
2564 2014-07-27  Anthony Green  <green@moxielogic.com>
2566         * config.host: Add moxiebox configuration suppport.
2568 2014-07-27  Nathan Sidwell  <nathan@acm.org>
2570         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
2571         (struct gcov_filename): ... here.  Include buffer and max length
2572         fields.
2573         (gcov_max_filename): Remove.
2574         (gi_filename): Remove.
2575         (gcov_exit_compute_summary): Compute max filename here.
2576         (gcov_exit_merge_gcda): Add filename parm, adjust.
2577         (gcov_exit_merge_summary): Likewise.
2578         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
2579         (gcov_exit): Likewise.
2580         (__gcov_init): Don't calculate max length here.
2581         * libgcov_util.c (max_filename_len): Remove.
2582         (read_gcda_file): Don't calculate max length here.
2583         (gcov_read_profile_dir): Don't propagate here.
2584         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
2585         struct gcov_filename changes.
2586         (gcov_exit_open_gcda_file): Likewise.
2588 2014-07-25  Nathan Sidwell  <nathan@acm.org>
2590         * libgcov-driver.c (set_gcov_dump_complete,
2591         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
2592         functions polluting user's namespace.
2593         (gcov_exit): Set variable directly.
2594         (gcov_clear): Reset variable directly.
2595         * libgcov-interface.c (get_gcov_dymp_complete,
2596         reset_gov_dump_complete): Remove declarations.
2597         (__gcov_reset, __gcov_dump): Don't call them.
2599 2014-07-24  DJ Delorie  <dj@redhat.com>
2601         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
2602         (__gcc_deregister_frame): Move logic to detect deregister function
2603         to ...
2604         (__gcc_register_frame): here, so it's consistent with the register
2605         logic.
2607 2014-07-23  Nathan Sidwell  <nathan@acm.org>
2609         * libgcov-driver.c (set_gcov_list): Remove.
2610         (gcov_list): Make non-static in GCOV_TOOL.
2611         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
2613 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
2615         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
2616         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
2617         Don't use SYNC_LOCK_RELEASE for int type.
2619 2014-07-14  Richard Biener  <rguenther@suse.de>
2621         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
2623 2014-07-11  Rong Xu  <xur@google.com>
2625         * libgcov-util.c (gcov_max_filename): Fix declartion.
2627 2014-07-10  Rong Xu  <xur@google.com>
2629         Add gcov-tool: an offline gcda profile processing tool
2630         Support.
2631         * libgcov-driver.c (gcov_max_filename): Make available
2632         to gcov-tool.
2633         * libgcov-merge.c (__gcov_merge_add): Replace
2634         gcov_read_counter() with a Macro.
2635         (__gcov_merge_ior): Ditto.
2636         (__gcov_merge_time_profile): Ditto.
2637         (__gcov_merge_single): Ditto.
2638         (__gcov_merge_delta): Ditto.
2639         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
2640         in the utility functions.
2641         (set_fn_ctrs): Utility function for reading gcda files to in-memory
2642         gcov_list object link lists.
2643         (tag_function): Ditto.
2644         (tag_blocks): Ditto.
2645         (tag_arcs): Ditto.
2646         (tag_lines): Ditto.
2647         (tag_counters): Ditto.
2648         (tag_summary): Ditto.
2649         (read_gcda_finalize): Ditto.
2650         (read_gcda_file): Ditto.
2651         (ftw_read_file): Ditto.
2652         (read_profile_dir_init): Ditto.
2653         (gcov_read_profile_dir): Ditto.
2654         (gcov_read_counter_mem): Ditto.
2655         (gcov_get_merge_weight): Ditto.
2656         (merge_wrapper): A wrapper function that calls merging handler.
2657         (gcov_merge): Merge two gcov_info objects with weights.
2658         (find_match_gcov_info): Find the matched gcov_info in the list.
2659         (gcov_profile_merge): Merge two gcov_info object lists.
2660         (__gcov_add_counter_op): Process edge profile counter values.
2661         (__gcov_ior_counter_op): Process IOR profile counter values.
2662         (__gcov_delta_counter_op): Process delta profile counter values.
2663         (__gcov_single_counter_op): Process single  profile counter values.
2664         (fp_scale): Callback function for float-point scaling.
2665         (int_scale): Callback function for integer fraction scaling.
2666         (gcov_profile_scale): Scaling profile counters.
2667         (gcov_profile_normalize): Normalize profile counters.
2668         * libgcov.h: Add headers and functions for gcov-tool use.
2669         (gcov_get_counter): New.
2670         (gcov_get_counter_target): Ditto.
2671         (struct gcov_info): Make the functions field mutable in gcov-tool
2672         compilation.
2674 2014-06-23  Kai Tietz  <ktietz@redhat.com>
2676         PR libgcc/61585
2677         * unwind-seh.c (_Unwind_GetGR): Check for proper
2678         index range.
2679         (_Unwind_SetGR): Likewise.
2681 2014-05-22  Nick Clifton  <nickc@redhat.com>
2683         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
2684         -mhwmult=none.
2686 2014-05-22  Teresa Johnson  <tejohnson@google.com>
2688         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
2689         include.
2691 2014-05-20  John Marino  <gnugcc@marino.st>
2693         * config.host (*-*-dragonfly*): New target.
2694         * crtstuff.c: Make dl_iterate_support generic on *bsd.
2695         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
2696         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
2697         * config/i386/dragonfly-unwind.h: New.
2699 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
2701         PR libgcc/60166
2702         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
2703         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
2705 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2707         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
2708         implementation.
2710 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
2712         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
2714 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2716         PR libgcc/61097
2717         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
2718         if --enable-shared.
2720 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2722         Work around for current cygwin32 build problems.
2723         * config/i386/cygming-crtbegin.c (__register_frame_info,
2724         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
2725         functions only for 64-bit systems.
2727 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2729         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
2730         (sigill_caught, sigill_hdlr): Remove.
2732 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2734         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
2735         check.
2736         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2737         Solaris 9 single-threaded support.
2738         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
2739         Solaris 9 single-threaded support.  Add call_user_handler code
2740         sequences.
2741         (sparc_is_sighandler): Likewise.
2743 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2745         * config.host: Append t-floattodi to tmake_file depending on
2746         host_address.
2748 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
2750         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
2752 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
2754         PR libgcc/60472
2755         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2756         variable to avoid "array subscript is above array bounds" warnings.
2757         Use __builtin_expect when checking *jcr_list for NULL.
2759 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2761         PR libgcc/59339
2762         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
2763         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
2764         vtv_*.o to extra_parts if enable_vtable_verify.
2766 2014-03-06  Nick Clifton  <nickc@redhat.com>
2768         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
2769         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
2771 2014-02-28  Joey Ye  <joey.ye@arm.com>
2773         PR libgcc/60166
2774         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
2775         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
2776         Set to zero.
2778 2014-02-24  Walter Lee  <walt@tilera.com>
2780         * config.host: Support "tilegx*" and "tilepro*" triplets.
2781         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
2782         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
2784 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
2785             Chung-Lin Tang  <cltang@codesourcery.com>
2787         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
2788         * config/nios2/crti.S: Remove .file directive.
2789         * config/nios2/crtn.S: Likewise.
2791 2014-02-18  Kai Tietz  <ktietz@redhat.com>
2792         Jonathan Schleifer  <js@webkeks.org>
2794         PR objc/56870
2795         * unwind-seh.c (_GCC_specific_handler): Pass proper
2796         value to unwind-handler.
2798 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
2800         * soft-fp/adddf3.c: Update from glibc.
2801         * soft-fp/addsf3.c: Likewise.
2802         * soft-fp/addtf3.c: Likewise.
2803         * soft-fp/divdf3.c: Likewise.
2804         * soft-fp/divsf3.c: Likewise.
2805         * soft-fp/divtf3.c: Likewise.
2806         * soft-fp/double.h: Likewise.
2807         * soft-fp/eqdf2.c: Likewise.
2808         * soft-fp/eqsf2.c: Likewise.
2809         * soft-fp/eqtf2.c: Likewise.
2810         * soft-fp/extenddftf2.c: Likewise.
2811         * soft-fp/extended.h: Likewise.
2812         * soft-fp/extendsfdf2.c: Likewise.
2813         * soft-fp/extendsftf2.c: Likewise.
2814         * soft-fp/extendxftf2.c: Likewise.
2815         * soft-fp/fixdfdi.c: Likewise.
2816         * soft-fp/fixdfsi.c: Likewise.
2817         * soft-fp/fixdfti.c: Likewise.
2818         * soft-fp/fixsfdi.c: Likewise.
2819         * soft-fp/fixsfsi.c: Likewise.
2820         * soft-fp/fixsfti.c: Likewise.
2821         * soft-fp/fixtfdi.c: Likewise.
2822         * soft-fp/fixtfsi.c: Likewise.
2823         * soft-fp/fixtfti.c: Likewise.
2824         * soft-fp/fixunsdfdi.c: Likewise.
2825         * soft-fp/fixunsdfsi.c: Likewise.
2826         * soft-fp/fixunsdfti.c: Likewise.
2827         * soft-fp/fixunssfdi.c: Likewise.
2828         * soft-fp/fixunssfsi.c: Likewise.
2829         * soft-fp/fixunssfti.c: Likewise.
2830         * soft-fp/fixunstfdi.c: Likewise.
2831         * soft-fp/fixunstfsi.c: Likewise.
2832         * soft-fp/fixunstfti.c: Likewise.
2833         * soft-fp/floatdidf.c: Likewise.
2834         * soft-fp/floatdisf.c: Likewise.
2835         * soft-fp/floatditf.c: Likewise.
2836         * soft-fp/floatsidf.c: Likewise.
2837         * soft-fp/floatsisf.c: Likewise.
2838         * soft-fp/floatsitf.c: Likewise.
2839         * soft-fp/floattidf.c: Likewise.
2840         * soft-fp/floattisf.c: Likewise.
2841         * soft-fp/floattitf.c: Likewise.
2842         * soft-fp/floatundidf.c: Likewise.
2843         * soft-fp/floatundisf.c: Likewise.
2844         * soft-fp/floatunditf.c: Likewise.
2845         * soft-fp/floatunsidf.c: Likewise.
2846         * soft-fp/floatunsisf.c: Likewise.
2847         * soft-fp/floatunsitf.c: Likewise.
2848         * soft-fp/floatuntidf.c: Likewise.
2849         * soft-fp/floatuntisf.c: Likewise.
2850         * soft-fp/floatuntitf.c: Likewise.
2851         * soft-fp/gedf2.c: Likewise.
2852         * soft-fp/gesf2.c: Likewise.
2853         * soft-fp/getf2.c: Likewise.
2854         * soft-fp/ledf2.c: Likewise.
2855         * soft-fp/lesf2.c: Likewise.
2856         * soft-fp/letf2.c: Likewise.
2857         * soft-fp/muldf3.c: Likewise.
2858         * soft-fp/mulsf3.c: Likewise.
2859         * soft-fp/multf3.c: Likewise.
2860         * soft-fp/negdf2.c: Likewise.
2861         * soft-fp/negsf2.c: Likewise.
2862         * soft-fp/negtf2.c: Likewise.
2863         * soft-fp/op-1.h: Likewise.
2864         * soft-fp/op-2.h: Likewise.
2865         * soft-fp/op-4.h: Likewise.
2866         * soft-fp/op-8.h: Likewise.
2867         * soft-fp/op-common.h: Likewise.
2868         * soft-fp/quad.h: Likewise.
2869         * soft-fp/single.h: Likewise.
2870         * soft-fp/soft-fp.h: Likewise.
2871         * soft-fp/subdf3.c: Likewise.
2872         * soft-fp/subsf3.c: Likewise.
2873         * soft-fp/subtf3.c: Likewise.
2874         * soft-fp/truncdfsf2.c: Likewise.
2875         * soft-fp/trunctfdf2.c: Likewise.
2876         * soft-fp/trunctfsf2.c: Likewise.
2877         * soft-fp/trunctfxf2.c: Likewise.
2878         * soft-fp/unorddf2.c: Likewise.
2879         * soft-fp/unordsf2.c: Likewise.
2880         * soft-fp/unordtf2.c: Likewise.
2881         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
2882         macro.
2883         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2884         Likewise.
2885         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2886         Likewise.
2887         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2888         Likewise.
2889         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2890         Likewise.
2891         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2892         Likewise.
2893         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2894         Likewise.
2895         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2896         Likewise.
2897         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2898         Likewise.
2899         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2900         Likewise.
2901         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2902         Likewise.
2903         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2904         Likewise.
2905         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2906         Likewise.
2907         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
2908         Likewise.
2909         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
2910         Likewise.
2911         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2912         Likewise.
2914 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2916         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
2917         cannot be represented.
2918         * config/s390/32/_fixsfdi.c: Likewise.
2919         * config/s390/32/_fixtfdi.c: Likewise.
2920         * config/s390/32/_fixunsdfdi.c: Likewise.
2921         * config/s390/32/_fixunssfdi.c: Likewise.
2922         * config/s390/32/_fixunstfdi.c: Likewise.
2924 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
2926         * configure.ac (libgcc_cv_mips_hard_float): New.
2927         * configure: Regenerate.
2928         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
2929         t-softfp-sfdf for hard-float targets.
2930         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
2931         (softfp_float_modes, softfp_int_modes, softfp_extensions)
2932         (softfp_truncations, softfp_exclude_libgcc2): New.
2933         * config/t-hardfp: New file.
2934         * config/t-hardfp-sfdf: Likewise.
2935         * config/hardfp.c: Likewise.
2937 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2939         * config.host: Include t-floattodi also for s390x.
2940         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
2941         * config/s390/32/_fixsfdi.c: Likewise.
2942         * config/s390/32/_fixtfdi.c: Likewise.
2943         * config/s390/32/_fixunsdfdi.c: Likewise.
2944         * config/s390/32/_fixunssfdi.c: Likewise.
2945         * config/s390/32/_fixunstfdi.c: Likewise.
2947 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2949         PR target/59788
2950         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
2951         (install-libgcc-unwind-map-forbuild): New target.
2952         (all): Depend on install-libgcc-unwind-map-forbuild.
2953         (install-libgcc-unwind-map): New target.
2954         (install): Depend on install-libgcc-unwind-map.
2956 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
2958         * config/nios2/crti.S (_init): Initialize GOT pointer from
2959         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
2961 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
2963         * configure.ac: Check __mips64 when setting host_address.
2964         * configure: Regenerate.
2965         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
2966         mips/t-mips64 and t-softfp.
2967         (mips*-*-linux*): Don't add mips/t-tpbit.
2968         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
2969         (DPBIT, DPBIT_CFLAGS): Delete.
2970         * config/mips/sfp-machine.h: New file.
2971         * config/mips/t-mips64: Likewise.
2972         * config/mips/t-softfp-tf: Likewise.
2973         * config/mips/t-tpbit: Delete.
2975 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2977         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
2978         as long long.
2980 2014-01-25  Walter Lee  <walt@tilera.com>
2982         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
2983         config.h or system.h.
2984         (bool) Define.
2986 2014-01-25  Walter Lee  <walt@tilera.com>
2988         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
2989         (post_atomic_barrier): Ditto.
2990         (__fetch_and_do): New macro.
2991         (__atomic_fetch_and_do): Use __fetch_and_do.
2992         (__sync_fetch_and_do): New macro.
2993         (__sync_fetch_and_add_4): New function.
2994         (__sync_fetch_and_sub_4): New function.
2995         (__sync_fetch_and_or_4): New function.
2996         (__sync_fetch_and_and_4): New function.
2997         (__sync_fetch_and_xor_4): New function.
2998         (__sync_fetch_and_nand_4): New function.
2999         (__sync_fetch_and_add_8): New function.
3000         (__sync_fetch_and_sub_8): New function.
3001         (__sync_fetch_and_or_8): New function.
3002         (__sync_fetch_and_and_8): New function.
3003         (__sync_fetch_and_xor_8): New function.
3004         (__sync_fetch_and_nand_8): New function.
3005         (__do_and_fetch): New macro.
3006         (__atomic_do_and_fetch): Use __do_and_fetch.
3007         (__sync_do_and_fetch): New macro.
3008         (__sync_add_and_fetch_4): New function.
3009         (__sync_sub_and_fetch_4): New function.
3010         (__sync_or_and_fetch_4): New function.
3011         (__sync_and_and_fetch_4): New function.
3012         (__sync_xor_and_fetch_4): New function.
3013         (__sync_nand_and_fetch_4): New function.
3014         (__sync_add_and_fetch_8): New function.
3015         (__sync_sub_and_fetch_8): New function.
3016         (__sync_or_and_fetch_8): New function.
3017         (__sync_and_and_fetch_8): New function.
3018         (__sync_xor_and_fetch_8): New function.
3019         (__sync_nand_and_fetch_8): New function.
3020         (__sync_exchange_methods): New macro.
3021         (__sync_val_compare_and_swap_4): New function.
3022         (__sync_bool_compare_and_swap_4): New function.
3023         (__sync_lock_test_and_test_4): New function.
3024         (__sync_val_compare_and_swap_8): New function.
3025         (__sync_bool_compare_and_swap_8): New function.
3026         (__sync_lock_test_and_test_8): New function.
3027         (__subword_cmpxchg_body): New macro.
3028         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
3029         (__atomic_compare_exchange_2): Ditto.
3030         (__sync_subword_cmpxchg): New macro.
3031         (__sync_val_compare_and_swap_1): New function.
3032         (__sync_bool_compare_and_swap_1): New function.
3033         (__sync_val_compare_and_swap_2): New function.
3034         (__sync_bool_compare_and_swap_2): New function.
3035         (__atomic_subword): Rename to ...
3036         (__subword): ... New name.
3037         (__atomic_subword_fetch): Use __subword.
3038         (__sync_subword_fetch): New macro.
3039         (__sync_fetch_and_add_1): New function.
3040         (__sync_fetch_and_sub_1): New function.
3041         (__sync_fetch_and_or_1): New function.
3042         (__sync_fetch_and_and_1): New function.
3043         (__sync_fetch_and_xor_1): New function.
3044         (__sync_fetch_and_nand_1): New function.
3045         (__sync_fetch_and_add_2): New function.
3046         (__sync_fetch_and_sub_2): New function.
3047         (__sync_fetch_and_or_2): New function.
3048         (__sync_fetch_and_and_2): New function.
3049         (__sync_fetch_and_xor_2): New function.
3050         (__sync_fetch_and_nand_2): New function.
3051         (__sync_add_and_fetch_1): New function.
3052         (__sync_sub_and_fetch_1): New function.
3053         (__sync_or_and_fetch_1): New function.
3054         (__sync_and_and_fetch_1): New function.
3055         (__sync_xor_and_fetch_1): New function.
3056         (__sync_nand_and_fetch_1): New function.
3057         (__sync_add_and_fetch_2): New function.
3058         (__sync_sub_and_fetch_2): New function.
3059         (__sync_or_and_fetch_2): New function.
3060         (__sync_and_and_fetch_2): New function.
3061         (__sync_xor_and_fetch_2): New function.
3062         (__sync_nand_and_fetch_2): New function.
3063         (__atomic_subword_lock): Use __subword.
3064         (__sync_subword_lock): New macro.
3065         (__sync_lock_test_and_set_1): New function.
3066         (__sync_lock_test_and_set_2): New function.
3068 2014-01-25  Walter Lee  <walt@tilera.com>
3070         * config/tilepro/atomic.c (BIT_OFFSET): Define.
3071         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
3072         (__atomic_subword): Ditto.
3074 2014-01-25  Walter Lee  <walt@tilera.com>
3076         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
3077         a prefix op argument.
3078         (__atomic_nand_fetch_4): Add prefix op.
3079         (__atomic_nand_fetch_8): Ditto.
3081 2014-01-21  Baruch Siach  <barch@tkos.co.il>
3083         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
3085 2014-01-09  Rong Xu  <xur@google.com>
3087         * libgcov-driver.c (this_prg): make it local to save
3088         bss space.
3089         (gcov_exit_compute_summary): Ditto.
3090         (gcov_exit_merge_gcda): Ditto.
3091         (gcov_exit_merge_summary): Ditto.
3092         (gcov_exit_dump_gcov): Ditto.
3094 2014-01-08  Rong Xu  <xur@google.com>
3096         * libgcov-driver.c: Use libgcov.h.
3097         (buffer_fn_data): Use xmalloc instead of malloc.
3098         (gcov_exit_merge_gcda): Ditto.
3099         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
3100         * libgcov.h: New common header files for libgcov-*.h.
3101         * libgcov-interface.c: Use libgcov.h
3102         * libgcov-merge.c: Ditto.
3103         * libgcov-profiler.c: Ditto.
3104         * Makefile.in: Add dependence to libgcov.h
3106 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
3108         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
3109         case of small numerator and finite nonzero result.
3111 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
3113         Update copyright years
3115 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
3117         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
3118         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
3119         config/arc/dp-hack.h, config/arc/fp-hack.h,
3120         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
3121         config/arc/ieee-754/arc600-dsp/divdf3.S,
3122         config/arc/ieee-754/arc600-dsp/divsf3.S,
3123         config/arc/ieee-754/arc600-dsp/muldf3.S,
3124         config/arc/ieee-754/arc600-dsp/mulsf3.S,
3125         config/arc/ieee-754/arc600-mul64/divdf3.S,
3126         config/arc/ieee-754/arc600-mul64/divsf3.S,
3127         config/arc/ieee-754/arc600-mul64/muldf3.S,
3128         config/arc/ieee-754/arc600-mul64/mulsf3.S,
3129         config/arc/ieee-754/arc600/divsf3.S,
3130         config/arc/ieee-754/arc600/mulsf3.S,
3131         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
3132         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
3133         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
3134         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
3135         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
3136         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
3137         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
3138         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
3139         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
3140         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
3141         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
3142         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
3143         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
3144         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
3145         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
3146         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
3147         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
3148         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
3149         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
3150         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
3151         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
3152         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
3153         vtv_start_preinit.c: Use the standard form for the copyright notice.
3155 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
3156             Chung-Lin Tang  <cltang@codesourcery.com>
3157             Based on patches from Altera Corporation
3159         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
3160         * config/nios2/lib2-nios2.h: New file.
3161         * config/nios2/lib2-divmod-hi.c: New file.
3162         * config/nios2/linux-unwind.h: New file.
3163         * config/nios2/lib2-divmod.c: New file.
3164         * config/nios2/linux-atomic.c: New file.
3165         * config/nios2/t-nios2: New file.
3166         * config/nios2/crti.asm: New file.
3167         * config/nios2/t-linux: New file.
3168         * config/nios2/lib2-divtable.c: New file.
3169         * config/nios2/lib2-mul.c: New file.
3170         * config/nios2/tramp.c: New file.
3171         * config/nios2/crtn.asm: New file.
3173 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
3175         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
3176         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
3177         from cpuid.h to check vendor signatures.
3179 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
3181         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
3182         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
3183         (get_amd_cpu): Likewise.
3185 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
3187         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
3188         Haswell.
3190 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
3191             H.J. Lu  <hongjiu.lu@intel.com>
3193         PR target/59422
3194         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
3195         and AMD_JAGUAR.
3196         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
3197         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
3198         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
3199         FEATURE_XOP and FEATURE_FMA.
3200         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
3201         AMDFAM15H_BDVER3.
3202         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
3203         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
3204         FEATURE_FMA4 and FEATURE_XOP.
3206 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
3208         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
3209         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
3210         (get_intel_cpu): Updated.
3212 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
3214         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
3216 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
3218         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
3219         instructions when __SSE_MATH__ is defined.
3221 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
3223         * config.host (microblaze-*-rtems*): New.
3225 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
3227         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
3228         architectures that do not have hardware divide instruction.
3229         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
3231 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
3233         * longlong.h: Delete (moved to include/).
3235 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3237         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
3238         of normal number and qNaN to not raise an inexact exception.
3240 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
3242         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
3244 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
3246         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
3247         for correct opcodes on BE.
3249 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
3251         * soft-fp/op-4.h: Update from glibc.
3253 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
3255         * libgcc2.c (__udivmoddi4): Define new implementation when
3256         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
3257         divide instructions.
3259 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
3261         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
3263 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3265         * config/t-softfp (soft-fp-objects-base): New variable.
3266         (soft-fp-objects): Use it.
3268 2013-11-23  David Edelson  <dje.gcc@gmail.com>
3269             Andrew Dixie  <andrewd@gentrack.com>
3271         PR target/33704
3272         * config/rs6000/aixinitfini.c: New file.
3273         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
3274         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
3275         symbols.
3277 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
3279         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
3281 2013-11-18  Jan Hubicka  <jh@suse.cz>
3283         * libgcov-driver.c (run_accounted): Make global level static.
3284         (gcov_exit_merge_summary): Silence warning; do not clear
3285         run_accounted here.
3286         (gcov_exit): Clear it here.
3288         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
3289         run_accounted.
3291         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
3292         (all_prg, crc32): Remove static vars.
3293         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
3294         all_prg.
3295         (gcov_exit_merge_gcda): Add crc32 parameter.
3296         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
3297         do not account run if it was already accounted.
3298         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
3299         (gcov_exit): Initialize all_prg; update.
3301 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
3303         * configure: Regenerate.
3305 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3306             Alan Modra  <amodra@gmail.com>
3308         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
3309         (frob_update_context): Use it.
3311 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3312             Alan Modra  <amodra@gmail.com>
3314         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
3315         (trampoline_initial): Provide ELFv2 variant.
3316         (__trampoline_setup): Likewise.
3318         * config/rs6000/linux-unwind.h (frob_update_context): Do not
3319         check for AIX indirect function call sequence if _CALL_ELF == 2.
3321 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3322             Alan Modra  <amodra@gmail.com>
3324         * config/rs6000/linux-unwind.h (get_regs): Do not support
3325         old kernel versions if _CALL_ELF == 2.
3326         (frob_update_context): Do not support PLT stub variants only
3327         generated by old linkers if _CALL_ELF == 2.
3329 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3330             Alan Modra  <amodra@gmail.com>
3332         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
3333         location of CR save area for 64-bit little-endian systems.
3335 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
3337         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
3338         in tmake_file.
3339         * config/arm/t-vxworks: Delete.
3341 2013-11-10  Kai Tietz  <ktietz@redhat.com>
3343         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
3344         Increment load-count on use of LIBGCC_SONAME DLL.
3345         (hmod_libgcc): New static variable to hold handle of
3346         LIBGCC_SONAME DLL.
3347         (__gcc_deregister_frame): Decrement load-count of
3348         LIBGCC_SONAME DLL.
3350 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3352         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
3353         availability.
3354         * configure: Regenerate
3356 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
3358         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
3359         FP_EX_DENORM.  Store result to volatile location after SSE division
3360         to close interrupt window.  Remove unneeded fwait after x87
3361         division since interrupt window will be closed by emitted fstp.
3362         Rewrite FP_EX_INEXACT handling.
3364 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
3366         * soft-fp/README: Update.
3367         * soft-fp/adddf3.c: Update from glibc.
3368         * soft-fp/addsf3.c: Likewise.
3369         * soft-fp/addtf3.c: Likewise.
3370         * soft-fp/divdf3.c: Likewise.
3371         * soft-fp/divsf3.c: Likewise.
3372         * soft-fp/divtf3.c: Likewise.
3373         * soft-fp/double.h: Likewise.
3374         * soft-fp/eqdf2.c: Likewise.
3375         * soft-fp/eqsf2.c: Likewise.
3376         * soft-fp/eqtf2.c: Likewise.
3377         * soft-fp/extenddftf2.c: Likewise.
3378         * soft-fp/extended.h: Likewise.
3379         * soft-fp/extendsfdf2.c: Likewise.
3380         * soft-fp/extendsftf2.c: Likewise.
3381         * soft-fp/extendxftf2.c: Likewise.
3382         * soft-fp/fixdfdi.c: Likewise.
3383         * soft-fp/fixdfsi.c: Likewise.
3384         * soft-fp/fixdfti.c: Likewise.
3385         * soft-fp/fixsfdi.c: Likewise.
3386         * soft-fp/fixsfsi.c: Likewise.
3387         * soft-fp/fixsfti.c: Likewise.
3388         * soft-fp/fixtfdi.c: Likewise.
3389         * soft-fp/fixtfsi.c: Likewise.
3390         * soft-fp/fixtfti.c: Likewise.
3391         * soft-fp/fixunsdfdi.c: Likewise.
3392         * soft-fp/fixunsdfsi.c: Likewise.
3393         * soft-fp/fixunsdfti.c: Likewise.
3394         * soft-fp/fixunssfdi.c: Likewise.
3395         * soft-fp/fixunssfsi.c: Likewise.
3396         * soft-fp/fixunssfti.c: Likewise.
3397         * soft-fp/fixunstfdi.c: Likewise.
3398         * soft-fp/fixunstfsi.c: Likewise.
3399         * soft-fp/fixunstfti.c: Likewise.
3400         * soft-fp/floatdidf.c: Likewise.
3401         * soft-fp/floatdisf.c: Likewise.
3402         * soft-fp/floatditf.c: Likewise.
3403         * soft-fp/floatsidf.c: Likewise.
3404         * soft-fp/floatsisf.c: Likewise.
3405         * soft-fp/floatsitf.c: Likewise.
3406         * soft-fp/floattidf.c: Likewise.
3407         * soft-fp/floattisf.c: Likewise.
3408         * soft-fp/floattitf.c: Likewise.
3409         * soft-fp/floatundidf.c: Likewise.
3410         * soft-fp/floatundisf.c: Likewise.
3411         * soft-fp/floatunditf.c: Likewise.
3412         * soft-fp/floatunsidf.c: Likewise.
3413         * soft-fp/floatunsisf.c: Likewise.
3414         * soft-fp/floatunsitf.c: Likewise.
3415         * soft-fp/floatuntidf.c: Likewise.
3416         * soft-fp/floatuntisf.c: Likewise.
3417         * soft-fp/floatuntitf.c: Likewise.
3418         * soft-fp/gedf2.c: Likewise.
3419         * soft-fp/gesf2.c: Likewise.
3420         * soft-fp/getf2.c: Likewise.
3421         * soft-fp/ledf2.c: Likewise.
3422         * soft-fp/lesf2.c: Likewise.
3423         * soft-fp/letf2.c: Likewise.
3424         * soft-fp/muldf3.c: Likewise.
3425         * soft-fp/mulsf3.c: Likewise.
3426         * soft-fp/multf3.c: Likewise.
3427         * soft-fp/negdf2.c: Likewise.
3428         * soft-fp/negsf2.c: Likewise.
3429         * soft-fp/negtf2.c: Likewise.
3430         * soft-fp/op-1.h: Likewise.
3431         * soft-fp/op-2.h: Likewise.
3432         * soft-fp/op-4.h: Likewise.
3433         * soft-fp/op-8.h: Likewise.
3434         * soft-fp/op-common.h: Likewise.
3435         * soft-fp/quad.h: Likewise.
3436         * soft-fp/single.h: Likewise.
3437         * soft-fp/soft-fp.h: Likewise.
3438         * soft-fp/subdf3.c: Likewise.
3439         * soft-fp/subsf3.c: Likewise.
3440         * soft-fp/subtf3.c: Likewise.
3441         * soft-fp/truncdfsf2.c: Likewise.
3442         * soft-fp/trunctfdf2.c: Likewise.
3443         * soft-fp/trunctfsf2.c: Likewise.
3444         * soft-fp/trunctfxf2.c: Likewise.
3445         * soft-fp/unorddf2.c: Likewise.
3446         * soft-fp/unordsf2.c: Likewise.
3447         * soft-fp/unordtf2.c: Likewise.
3449 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
3451         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
3452         (_FP_MUL_MEAT_D): Ditto.
3453         (_FP_DIV_MEAT_S): Ditto.
3454         (_FP_DIV_MEAT_D): Ditto.
3455         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
3456         t-softfp-sfdf and t-softfp to tmake_file.
3458 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
3460         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
3461         * config/i386/crtprec.c: Ditto.
3463 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
3464             Shiva Chen  <shiva0217@gmail.com>
3466         * config.host (nds32*-elf*): Add nds32 target.
3467         * config/nds32 : New directory and files.
3469 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
3471         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
3472         * config.host (cpu_type) <Setting default>: Add entry for
3473         crisv32-*-*.
3474         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
3475         <crisv32-*-linux*>: Adjust.
3476         * longlong.h: Wrap the whole CRIS section in a single
3477         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
3478         and sub_ddmmss.
3479         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
3480         defined.
3481         [__CRIS__] (__umulsidi3): Define.
3482         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
3483         * config/cris/sfp-machine.h: New file.
3484         * config/cris/umulsidi3.S: New file.
3485         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
3486         * config/cris/arit.c (SIGNMULT): New macro.
3487         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
3488         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
3489         saving 3 out of originally 33 cycles from the fastest
3490         path, 3 out of 54 from the medium path and one from the longest
3491         path.  Improve comments.
3493 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
3495         * sync.c: Remove static aliases and define each function directly
3496         under its real name.
3498 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
3500         * config.host (hppa*64*-*-linux*): Define extra_parts.
3501         (hppa*-*-linux*): Likewise.
3503 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
3505         * config/arc/crtgend.S: Add 2013 to Copyright years.
3506         * config/arc/gmon/atomic.h: Likewise.
3507         * config/arc/gmon/auxreg.h: Likewise.
3508         * config/arc/gmon/sys/gmon_out.h: Likewise.
3509         * config/arc/gmon/sys/gmon.h: Likewise.
3510         * config/arc/gmon/prof-freq.c: Likewise.
3511         * config/arc/gmon/mcount.c: Likewise.
3512         * config/arc/gmon/prof-freq-stub.S: Likewise.
3513         * config/arc/gmon/gmon.c: Likewise.
3514         * config/arc/gmon/machine-gmon.h: Likewise.
3515         * config/arc/gmon/profil.S: Likewise.
3516         * config/arc/gmon/dcache_linesz.S: Likewise.
3517         * config/arc/crtg.S: Likewise.
3518         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
3519         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
3520         * config/arc/ieee-754/adddf3.S: Likewise.
3521         * config/arc/ieee-754/truncdfsf2.S: Likewise.
3522         * config/arc/ieee-754/fixsfsi.S: Likewise.
3523         * config/arc/ieee-754/gtsf2.S: Likewise.
3524         * config/arc/ieee-754/floatsisf.S: Likewise.
3525         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
3526         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
3527         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
3528         * config/arc/ieee-754/fixdfsi.S: Likewise.
3529         * config/arc/ieee-754/addsf3.S: Likewise.
3530         * config/arc/ieee-754/gesf2.S: Likewise.
3531         * config/arc/ieee-754/floatsidf.S: Likewise.
3532         * config/arc/ieee-754/extendsfdf2.S: Likewise.
3533         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
3534         * config/arc/ieee-754/gtdf2.S: Likewise.
3535         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
3536         * config/arc/ieee-754/uneqdf2.S: Likewise.
3537         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3538         * config/arc/ieee-754/uneqsf2.S: Likewise.
3539         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
3540         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
3541         * config/arc/ieee-754/eqdf2.S: Likewise.
3542         * config/arc/ieee-754/ordsf2.S: Likewise.
3543         * config/arc/ieee-754/divsf3.S: Likewise.
3544         * config/arc/ieee-754/divdf3.S: Likewise.
3545         * config/arc/ieee-754/floatunsidf.S: Likewise.
3546         * config/arc/ieee-754/orddf2.S: Likewise.
3547         * config/arc/ieee-754/eqsf2.S: Likewise.
3548         * config/arc/ieee-754/gedf2.S: Likewise.
3549         * config/arc/crtn.S: Likewise.
3550         * config/arc/crti.S: Likewise.
3551         * config/arc/t-arc700-uClibc: Likewise.
3552         * config/arc/asm.h: Likewise.
3553         * config/arc/libgcc-excl.ver: Likewise.
3554         * config/arc/t-arc-newlib: Likewise.
3555         * config/arc/divtab-arc700.c: Likewise.
3556         * config/arc/initfini.c: Likewise.
3557         * config/arc/fp-hack.h: Likewise.
3559 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
3560             Diego Novillo  <dnovillo@google.com>
3562         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
3563         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
3564         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
3565         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
3567 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
3568             Brendan Kehoe  <brendan@zen.org>
3569             Simon Cook  <simon.cook@embecosm.com>
3571         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
3572         * config/arc: New directory.
3573         * longlong.h [__arc__] (umul_ppmm): Remove.
3574         [__arc__] (__umulsidi3): Define.
3575         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
3576         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
3578 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
3580         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
3581         CreateSemaphoreA.
3582         * config/i386/gthr-win32.h: Likewise.
3584 2013-09-16  DJ Delorie  <dj@redhat.com>
3586         * config/rl78/vregs.h: Add G10 register definitions.
3587         * config/rl78/lib2mul.c: Enable for RL78/G10.
3588         * config/rl78/lib2div.c: Likewise.
3589         * config/rl78/lshrsi3.S: Use vregs.h.
3590         * config/rl78/cmpsi2.S: Likewise.
3591         * config/rl78/trampoline.S: Likewise.
3592         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
3594 2013-09-14  DJ Delorie  <dj@redhat.com>
3595             Nick Clifton  <nickc@redhat.com>
3597         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
3598         * config/rl78/vregs.h: New.
3599         * config/rl78/signbit.S: New file.  Implements signbit function.
3600         * config/rl78/divmodsi.S: New.
3601         * config/rl78/divmodhi.S: New.
3602         * config/rl78/divmodqi.S: New.
3603         * config/rl78/t-rl78: Build them here...
3604         * config/rl78/lib2div.c: ...but not here.
3606 2013-09-12  DJ Delorie  <dj@redhat.com>
3608         * config.host (msp*-*-elf): New.
3609         * config/msp430/: New port.
3611 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
3613         PR gcov-profile/58127
3614         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
3615         __thread var for emulated TLS.
3616         (__gcov_indirect_call_counters): Likewise.
3618 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
3619             Catherine Moore  <clm@codesourcery.com>
3620             Richard Sandiford  <rdsandiford@googlemail.com>
3622         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
3623         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
3624         (CALL_STUB_NO_RET): Likewise.
3625         (CALL_STUB_RET): Likewise.
3626         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
3627         __mips16_ret call/return stub symbols.
3628         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
3629         to tmake_file.
3631 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
3633         * config.host <mips*-*-linux*>: Remove a stray comment.
3635 2013-08-10  Jan Hubicka  <jh@suse.cz>
3637         Work around binutils PR14342
3638         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
3639         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
3640         (L_gcov_indirect_call_profiler_v2): New.
3642 2013-08-06  Jan Hubicka  <jh@suse.cz>
3644         * libgcov.c (__gcov_indirect_call_callee,
3645         __gcov_indirect_call_counters): New global vars.
3646         (__gcov_indirect_call_profiler): replace by ...
3647         (__gcov_indirect_call_profiler_v2) ... this one.
3649 2013-08-06  Caroline Tice  <cmtice@google.com>
3651         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
3652         vtv_start_preinit.o and vtv_end_preinit.o.
3653         * configure.ac: Add code to check/set enable_vtable_verify.
3654         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
3655         true.
3656         * vtv_start_preinit.c: New file.
3657         * vtv_end_preinit.c: New file.
3658         * vtv_start.c: New file.
3659         * vtv_end.c: New file.
3660         * configure: Regenerated.
3662 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
3664         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
3665         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
3666         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
3667         GPL-3.0-with-GCC-exception.
3669 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
3671         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
3672         ISA and up.
3674 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3676         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
3677         mapping for FPRs when creating the fallback framestate.
3679 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
3681         PR target/57516
3682         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
3683         (__round_s2_const, __round_u2_const)
3684         (__round_s4_const, __round_u4_const, __round_x8):
3685         Saturate result if addition result cannot be represented.
3687 2013-07-15  Matthias Klose  <doko@ubuntu.com>
3689         * libgcc2.c: Don't include <limits.h>.
3691 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
3693         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
3695 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
3697         PR target/29776
3698         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
3700 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
3702         PR middle-end/36041
3703         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
3704         Define.
3705         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
3706         instead of table lookups.
3707         (__popcountDI2): Likewise.
3709 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
3711         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
3712         correctly.
3714 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
3716         PR other/53317
3717         * soft-fp/adddf3.c: Update from glibc.
3718         * soft-fp/addsf3.c: Likewise.
3719         * soft-fp/addtf3.c: Likewise.
3720         * soft-fp/divdf3.c: Likewise.
3721         * soft-fp/divsf3.c: Likewise.
3722         * soft-fp/divtf3.c: Likewise.
3723         * soft-fp/double.h: Likewise.
3724         * soft-fp/eqdf2.c: Likewise.
3725         * soft-fp/eqsf2.c: Likewise.
3726         * soft-fp/eqtf2.c: Likewise.
3727         * soft-fp/extenddftf2.c: Likewise.
3728         * soft-fp/extended.h: Likewise.
3729         * soft-fp/extendsfdf2.c: Likewise.
3730         * soft-fp/extendsftf2.c: Likewise.
3731         * soft-fp/fixdfdi.c: Likewise.
3732         * soft-fp/fixdfsi.c: Likewise.
3733         * soft-fp/fixsfdi.c: Likewise.
3734         * soft-fp/fixsfsi.c: Likewise.
3735         * soft-fp/fixtfdi.c: Likewise.
3736         * soft-fp/fixtfsi.c: Likewise.
3737         * soft-fp/fixunsdfdi.c: Likewise.
3738         * soft-fp/fixunsdfsi.c: Likewise.
3739         * soft-fp/fixunssfdi.c: Likewise.
3740         * soft-fp/fixunssfsi.c: Likewise.
3741         * soft-fp/fixunstfdi.c: Likewise.
3742         * soft-fp/fixunstfsi.c: Likewise.
3743         * soft-fp/floatdidf.c: Likewise.
3744         * soft-fp/floatdisf.c: Likewise.
3745         * soft-fp/floatditf.c: Likewise.
3746         * soft-fp/floatsidf.c: Likewise.
3747         * soft-fp/floatsisf.c: Likewise.
3748         * soft-fp/floatsitf.c: Likewise.
3749         * soft-fp/floatundidf.c: Likewise.
3750         * soft-fp/floatundisf.c: Likewise.
3751         * soft-fp/floatunditf.c: Likewise.
3752         * soft-fp/floatunsidf.c: Likewise.
3753         * soft-fp/floatunsisf.c: Likewise.
3754         * soft-fp/floatunsitf.c: Likewise.
3755         * soft-fp/gedf2.c: Likewise.
3756         * soft-fp/gesf2.c: Likewise.
3757         * soft-fp/getf2.c: Likewise.
3758         * soft-fp/ledf2.c: Likewise.
3759         * soft-fp/lesf2.c: Likewise.
3760         * soft-fp/letf2.c: Likewise.
3761         * soft-fp/muldf3.c: Likewise.
3762         * soft-fp/mulsf3.c: Likewise.
3763         * soft-fp/multf3.c: Likewise.
3764         * soft-fp/negdf2.c: Likewise.
3765         * soft-fp/negsf2.c: Likewise.
3766         * soft-fp/negtf2.c: Likewise.
3767         * soft-fp/op-1.h: Likewise.
3768         * soft-fp/op-2.h: Likewise.
3769         * soft-fp/op-4.h: Likewise.
3770         * soft-fp/op-8.h: Likewise.
3771         * soft-fp/op-common.h: Likewise.
3772         * soft-fp/quad.h: Likewise.
3773         * soft-fp/single.h: Likewise.
3774         * soft-fp/soft-fp.h: Likewise.
3775         * soft-fp/subdf3.c: Likewise.
3776         * soft-fp/subsf3.c: Likewise.
3777         * soft-fp/subtf3.c: Likewise.
3778         * soft-fp/truncdfsf2.c: Likewise.
3779         * soft-fp/trunctfdf2.c: Likewise.
3780         * soft-fp/trunctfsf2.c: Likewise.
3781         * soft-fp/unorddf2.c: Likewise.
3782         * soft-fp/unordsf2.c: Likewise.
3783         * soft-fp/unordtf2.c: Likewise.
3784         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
3785         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3786         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3787         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3788         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3789         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3790         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3791         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3792         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3793         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
3794         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
3795         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3797 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
3799         * config/mips/lib2funcs.c: New file.
3800         * config/mips/t-mips (LIB2ADD_ST): Add it.
3802 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
3804         PR target/6526
3805         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
3806         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
3808 2013-06-08  Walter Lee  <walt@tilera.com>
3810         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
3811         Replace int64_t with long long.  Add __extension__ where
3812         appropriate.
3813         * config/tilepro/atomic.c: Include config.h.
3815 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
3817         * config.host (arm-wrs-vxworks): Configure with other soft float.
3819 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
3821         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
3822         (mips64r5900el-*-elf*): New configurations.
3824 2013-06-04  Alan Modra  <amodra@gmail.com>
3826         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
3828 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
3830         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
3832 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
3834         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
3835         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
3836         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
3838 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
3840         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
3841         (powerpc-wrs-vxworks): Likewise.
3843 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
3845         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
3846         signal frames as well.
3847         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
3848         STACK_BIAS to the CFA offset.
3850 2013-05-17  Richard Henderson  <rth@redhat.com>
3852         PR target/49146
3853         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
3854         (execute_cfa_program): Use it when storing to fs->regs.
3856 2013-05-08  Kai Tietz  <ktietz@redhat.com>
3858         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
3859         (__deregister_frame_info): Likewise.
3861 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
3863         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
3864         NaN's payload.
3866         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
3868 2013-04-25  Alan Modra  <amodra@gmail.com>
3870         * config.host: Match little-endian powerpc-linux.
3872 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
3874         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
3875         as 'unsigned long long' instead of 'unsigned long'.
3876         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
3877         'signed long'.
3879 2013-04-10  Julian Brown  <julian@codesourcery.com>
3881         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
3882         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
3883         unsigned char/unsigned short.
3884         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
3886 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3888         PR other/55274
3889         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
3891 2013-04-04  Meador Inge  <meadori@codesourcery.com>
3893         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
3894         computing the location of the link register.
3895         (aeabi_uldivmod): Ditto.
3897 2013-03-27  Kai Tietz  <ktietz@redhat.com>
3899         * config.host: Add support for cygwin x64 target.
3900         * configure: Regenerated.
3902 2013-03-26  Walter Lee  <walt@tilera.com>
3904         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
3905         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
3907 2013-03-25  Kai Tietz  <ktietz@redhat.com>
3909         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
3911 2013-03-20  Robert Mason  <rbmj@verizon.net>
3913         * config/vxlib-tls.c (__gthread_get_tsd_data,)
3914         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
3915         (__gthread_leave_tsd_dtor_context): Add prototypes.
3916         (tls_delete_hook): Update.
3918 2013-03-20  Catherine Moore  <clm@codesourcery.com>
3919             Joseph Myers  <joseph@codesourcery.com>
3920             Chao-ying Fu  <fu@mips.com>
3922         * config/mips/mips16.S:  Don't build for microMIPS.
3923         * config/mips/linux-unwind.h: Handle microMIPS frame.
3924         * config/mips/crtn.S (fini, init): New labels.
3926 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
3928         PR tree-optimization/53265
3929         * unwind-dw2.c (execute_cfa_program): Avoid
3930         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
3931         on targets with DWARF_FRAME_REGISTERS < 32.
3933 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
3935         PR target/49880
3936         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
3937         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
3939 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
3941         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
3942         sandybridge processors.
3944 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
3946         PR target/56529
3947         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
3948         inclusion list.
3950 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
3952         * config/microblaze/crti.S: Setup stack protection at entry
3954 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
3956         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
3957         (__rotldi3): Shift bytewise if applicable.
3959 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
3961         * config/aarch64/sync-cache.c
3962         (__aarch64_sync_cache_range): Silence warnings.
3964 2013-02-25  Catherine Moore  <clm@codesourcery.com>
3966         Revert:
3967         2013-02-24  Catherine Moore  <clm@codesourcery.com>
3968             Joseph Myers  <joseph@codesourcery.com>
3969             Chao-ying Fu  <fu@mips.com>
3971         * config/mips/mips16.S:  Don't build for microMIPS.
3972         * config/mips/linux-unwind.h: Handle microMIPS frame.
3973         * config/mips/crtn.S (fini, init): New labels.
3975 2013-02-24  Catherine Moore  <clm@codesourcery.com>
3976             Joseph Myers  <joseph@codesourcery.com>
3977             Chao-ying Fu  <fu@mips.com>
3979         * config/mips/mips16.S:  Don't build for microMIPS.
3980         * config/mips/linux-unwind.h: Handle microMIPS frame.
3981         * config/mips/crtn.S (fini, init): New labels.
3983 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
3984         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
3985         as dividend.
3987 2013-02-16  Alan Modra  <amodra@gmail.com>
3989         PR target/55431
3990         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
3991         (ppc_fallback_frame_state): Always set up save locations for fp
3992         and altivec.  Don't bother with non-callee-saved regs, r0-r13
3993         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
3995 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
3997         PR target/54222
3998         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
3999         _ssmulHA, _ssmulSA.
4000         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
4001         _ssmulha3, _usmulusa3, _ssmulsa3.
4002         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
4003         (__muldi3): XCALL __muldi3_6 instead of rcall.
4004         (__umulsidi3, __mulsidi3): New functions.
4005         (do_prologue_saves, do_epilogue_restores): New .macros.
4006         (__divdi3_moddi3): Use them.
4007         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
4008         (__usmulusa3, __ssmulsa3): New functions.
4010 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
4011             Jack Howarth  <howarth@bromo.med.uc.edu>
4012             Patrick Marlier  <patrick.marlier@gmail.com>
4014         PR libitm/55693
4015         * config/darwin-crt-tm.c: Remove dummy functions hack.
4017 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
4019         PR target/54222
4020         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
4021         * config/avr/lib2-object.mk: New iterator to build objects from it.
4022         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
4023         lib2funcs.c.
4024         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
4025         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
4026         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
4027         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
4028         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
4029         * config/avr/lib1funcs-fixed.S: Implement them.
4031 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
4033         Update copyright years.
4035 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
4037         PR target/54601
4038         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
4039         Add crtcxa to extra_parts.
4040         * config/rs6000/exit.h: New file.
4041         * config/rs6000/cxa_atexit.c: New file.
4042         * config/rs6000/cxa_finalize.c: New file.
4043         * config/rs6000/crtcxa.c: New file.
4044         * config/rs6000/t-aix-cxa: New file.
4045         * config/rs6000/libgcc-aix-cxa.ver: New file.
4047 2013-01-31  Nick Clifton  <nickc@redhat.com>
4049         * config/v850/lib1funcs.S: Add support for e3v5 architecture
4050         variant.
4052 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
4054         PR target/54222
4055         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
4056         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
4057         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
4058         _divQQ,  _divHQ,  _divHA,  _divSA,
4059         _divUQQ, _divUHQ, _divUHA, _divUSA.
4061 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
4063         * config.host(microblaze*-linux*): tmake_file: Remove
4064         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
4065         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
4066         to exclude functions from being built with libgcc.c and use
4067         the microblaze assembly.
4069 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4071         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
4072         extra_parts.
4074 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
4076         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
4077         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
4078         __UINTPTR_TYPE__; also cast 'base' to the same type before the
4079         alignment operation.
4081 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
4083         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
4084         loop start address for cache clearing.
4086 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
4088         * config/avr/lib1funcs.S: Remove trailing blanks.
4089         * config/avr/lib1funcs-fixed.S: Ditto.
4091 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
4093         * config/avr/avr-lib.h: Add GPL copyright notice.
4095 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
4097         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
4098         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
4099         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
4100         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
4102 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
4104         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
4105         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
4107 2013-01-04  Nick Clifton  <nickc@redhat.com>
4109         * config/v850/lib1funcs.S: Only provide CALLT support functions if
4110         the CALLT instruction is supported.
4112 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
4114         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
4115         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
4117 2012-12-13  John Tytgat  <John@bass-software.com>
4119         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
4120         is 25.
4122 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
4124         PR libgcc/55451
4125         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
4126         undefined signed overflows.
4128 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
4130         PR target/55344
4131         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
4133 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
4135         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
4136         (FP_TRAPPING_EXCEPTIONS): Define.
4137         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
4138         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
4140 2012-12-04  Richard Henderson  <rth@redhat.com>
4142         PR bootstrap/55571
4143         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
4145 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4147         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
4148         (FP_EX_SHIFT): Define.
4149         (FP_TRAPPING_EXCEPTIONS): Define.
4151 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4153         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
4154         (FP_ROUNDMODE): Use FP_RND_MASK.
4155         * config/aarch64/sfp-exceptions.c: New.
4156         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4157         Use __sfp_handle_exceptions.
4159 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
4161         * config.host: (arm*-*-freebsd*): Remove.
4162         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
4163         (arm*-*-elf*): Remove.
4164         (arm*-*-wince-pe*): Remove.
4165         * arm/unwind-arm.c (struct fpa_reg): Delete.
4166         (struct fpa_regs): Delete.
4167         (phase1_vrs): Remove fpa element.
4168         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
4169         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
4170         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
4171         * ieee754-sf.S (floatundisf): Remove FPA support.
4172         (floatdisf): Likewise.
4173         * ieee75f-df.S (floatundidf): Likewise.
4174         (floatdidf): Likewise.
4176 2012-11-29  Kai Tietz  <ktietz@redhat.com>
4178         PR target/55445
4179         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
4180         * unwind-generic.h: Likewise.
4181         * unwind-seh.c: Likewise.
4183 2012-11-28  Richard Henderson  <rth@redhat.com>
4185         PR libgcc/48076
4186         * emutls.c (__emutls_get_address): Avoid race condition between
4187         obj->loc.offset read and emutls_key initialization.
4189 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
4191         Adjust decimal point of signed accum mode to GCC default.
4193         PR target/54222
4194         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
4195         _divqq_helper.
4196         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
4197         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
4198         (__mulha3, __mulsa3)
4199         (__divqq3, __divha3, __divsa3): Adjust to new position of
4200         decimal point of signed accum types.
4202         (__mulusa3_round): New function.
4203         (__mulusa3): Use it.
4204         (__divqq_helper): New function.
4205         (__udivuqq3): Use it.
4207 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
4209         PR bootstrap/55370
4210         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
4212 2012-11-18  Teresa Johnson  <tejohnson@google.com>
4214         PR bootstrap/55051
4215         * libgcov.c (gcov_exit): Remove merged program summary
4216         comparison unless !GCOV_LOCKED.
4218 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4220         * soft-fp: Updated from glibc upstream.
4222 2012-11-06  Ian Lance Taylor  <iant@google.com>
4224         * generic-morestack.c (__generic_morestack): Align the returned
4225         stack pointer to a 32 byte boundary.
4226         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
4227         increment the return address until we have decided that we don't
4228         have a varargs function.
4229         (__morestack) [32-bit]: Align stack correctly when calling C
4230         functions.
4231         (__morestack) [64-bit]: Likewise.
4233 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
4235         * configure: Regenerate.
4237 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
4239         PR target/55175
4240         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
4241         * config/i386/sfp-machine.h: Guard exception handling
4242         code with _SOFT_FLOAT.
4243         * config/i386/32/sfp-machine.h: Guard rounding handling
4244         code with _SOFT_FLOAT.
4245         * config/i386/64/sfp-machine.h: Ditto.
4247 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
4249         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
4250         as extra_parts.
4252 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
4254         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
4255         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
4256         when appropriate.  Correct structure element types.
4257         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
4258         -minline-all-stringops from compile flags.
4260 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
4262         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
4264 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
4266         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
4268 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4270         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
4271         tmake_file.
4273 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
4274             Jim MacArthur  <jim.macarthur@arm.com>
4275             Marcus Shawcroft  <marcus.shawcroft@arm.com>
4276             Nigel Stephens  <nigel.stephens@arm.com>
4277             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
4278             Richard Earnshaw  <rearnsha@arm.com>
4279             Sofiane Naci  <sofiane.naci@arm.com>
4280             Stephen Thomas  <stephen.thomas@arm.com>
4281             Tejas Belagod  <tejas.belagod@arm.com>
4282             Yufeng Zhang  <yufeng.zhang@arm.com>
4284         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
4285         * config/aarch64/crti.S: New file.
4286         * config/aarch64/crtn.S: New file.
4287         * config/aarch64/linux-unwind.h: New file.
4288         * config/aarch64/sfp-machine.h: New file.
4289         * config/aarch64/sync-cache.c: New file.
4290         * config/aarch64/t-aarch64: New file.
4291         * config/aarch64/t-softfp: New file.
4293 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
4295         * config/mmix/crti.S: Mark program and data addresses using PRELD.
4296         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
4297         no-longer-needed LDBU insns.
4299 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4301         * config.host
4302         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
4303         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
4305 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
4307         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
4309 2012-10-15  Matthias Klose  <doko@ubuntu.com>
4311         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
4313 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
4315         * configure: Regenerate.
4316         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
4318 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
4320         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4321         instructions for 64bit targets only.
4323 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
4325         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4326         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
4327         * config/i386/32/sfp-machine.h: ... here.
4328         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
4329         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
4330         New defines.
4332 2012-10-07  Matthias Klose  <doko@ubuntu.com>
4334         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
4335         as unused.
4336         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
4338 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
4340         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
4341         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
4342         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
4343         (ElfW): Likewise.
4345 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
4347         PR other/53889
4348         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4349         Fix parameter names.
4351 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
4353         PR target/33135
4354         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
4355         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
4356         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
4358 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
4360         PR target/50457
4361         * config/sh/linux-atomic.S: Delete.
4362         * config/sh/linux-atomic.c: New.
4363         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
4364         linux-atomic.c.  Add cflags to disable warnings.
4366 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
4368         PR other/53889
4369         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
4370         function.
4371         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
4372         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
4373         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
4374         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
4375         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
4376         Likewise.
4377         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4378         Likewise.
4379         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
4380         Likewise.
4381         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
4382         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
4384 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
4386         * config.host (hppa-*-openbsd*): New target.
4387         * config/pa/t-openbsd: New file.
4389 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
4391         PR target/54222
4392         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
4393         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
4394         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
4395         (__divsa3): Use __negsi2 to negate r_quoL.
4396         * config/avr/lib1funcs.S (FALIAS): New macro.
4397         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
4398         (__negsi2): ...this new function.
4399         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
4400         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
4401         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
4402         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
4403         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
4404         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
4406 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
4408         PR target/54089
4409         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
4410         (lshrsi3): Reimplement as lshrsi3_r0.
4412 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
4414         PR target/46191
4415         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
4416         of libgcc.a.
4418 2012-09-07  Teresa Johnson  <tejohnson@google.com>
4420         PR gcov-profile/54487
4421         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
4422         differences.
4424 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
4426         PR target/54461
4427         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
4428         not configured --with-avrlibc=no.
4429         * config/avr/t-avrlibc: New file.
4430         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
4431         (DPBIT_FUNCS): Ditto.
4432         (TPBIT_FUNCS): Ditto.
4434 2012-09-04  Teresa Johnson  <tejohnson@google.com>
4436         * libgcov.c (struct gcov_summary_buffer): New structure.
4437         (gcov_histogram_insert): New function.
4438         (gcov_compute_histogram): Ditto.
4439         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
4440         histograms during summary merging.
4442 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
4444         * config.host (x86_64-*-openbsd*): New target.
4446 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
4448         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
4449         attribute.
4451 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
4453         PR target/54222
4454         * config/avr/t-avr (conv_X): Rename to func_X.
4456 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
4458         PR target/54222
4459         * config/avr/lib1funcs-fixed.S: New file.
4460         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
4461         after they are used.
4462         (neg2, neg4): New macros.
4463         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
4464         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
4465         (__umulhisi3): Speed up MUL variant if there is enough flash.
4466         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
4467         avr-modes.def.
4468         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
4469         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
4470         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
4471         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
4472         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
4473         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
4474         (LIB2FUNCS_EXCLUDE): Add supported functions.
4476 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
4478         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
4479         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
4480         libgcc-s-objects.
4481         * fixed-obj.mk: Only expand dependency if $o is not in
4482         LIB2FUNCS_EXCLUDE.
4484 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
4486         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
4488 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
4490         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
4491         depend on --enable-shared.
4492         ($(lib1asmfuncs-o)): Use %.vis files independent of
4493         --enable-shared.
4494         * static-object.mk ($(base)$(objext), $(base).vis)
4495         ($(base)_s$(objext)): Use same rules for visibility handling as in
4496         shared-object.mk.
4498 2012-08-21  Ian Lance Taylor  <iant@google.com>
4500         * config/i386/morestack.S (__morestack_non_split): Increase amount
4501         of space allocated for non-split code stack.
4503 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
4505         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
4506         even if inhibit_libc.
4508 2012-08-17  Julian Brown  <julian@codesourcery.com>
4510         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
4511         -fexceptions -fnon-call-exceptions if not defined.
4512         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
4513         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
4515 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
4517         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
4518         type.
4520 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
4522         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
4523         rs6000/t-slibgcc-aix.
4525 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
4527         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
4529 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
4531         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
4533 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
4535         PR driver/54171
4536         * Makefile.in (version): Replace top_srcdir with srcdir.
4538 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
4540         * Makefile.in (version): set to BASE-VER file from gcc directory.
4542 2012-08-01  Nick Clifton  <nickc@redhat.com>
4544         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
4545         Implements __clrsb for an HImode argument.
4547 2012-07-31  Nick Clifton  <nickc@redhat.com>
4549         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
4550         Implements __clrsb for an HImode argument.
4551         * config/stormy16/clrsbhi2.c: New file:
4552         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
4554 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
4556         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
4558 2012-07-19  Tristan Gingold  <gingold@adacore.com>
4559             Richard Henderson  <rth@redhat.com>
4561         * unwind-seh.c: New file.
4562         * unwind-generic.h: Include windows.h for SEH.
4563         (_Unwind_Exception): Use 6 private fields for SEH.
4564         (_GCC_specific_handler): Declare.
4565         * unwind-c.c (__gcc_personality_seh0): New function.
4566         Adjust for SEH.
4567         * config/i386/libgcc-cygming.ver: New file.
4568         * config/i386/t-seh-eh: New file.
4569         * config.host (x86_64-*-mingw*): Default to seh.
4571 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
4573         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
4575 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
4577         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
4578         __builtin_expect when checking for exceptions.
4579         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
4581 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
4583         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
4584         function declaration.
4585         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4586         (FP_RND_MASK): New.
4587         * config/ia64/sfp-exceptions.c: New.
4588         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
4590 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
4592         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
4593         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
4594         * config/i386/64/sfp-machine: ... (delete here) ...
4595         * config/i386/sfp-machine.h: ... to here.
4596         (FP_EX_MASK): Remove.
4597         (FP_RND_MASK): New.
4598         (FP_INIT_ROUNDMODE): Declare asm as volatile.
4600 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
4602         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
4603         * config/i386/libgcc-sol2.ver: Ditto.
4604         * config/i386/libgcc-glibc.ver: Ditto.
4606 2012-06-11  Roland McGrath  <mcgrathr@google.com>
4608         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
4609         If __GLIBC__ is defined, refer to __pthread_key_create instead of
4610         pthread_cancel.
4612 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
4614         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
4615         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
4616         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
4617         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4618         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
4619         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
4620         * config/i386/64/sfp-machine: ... (delete here) ...
4621         * config/i386/sfp-machine.h: ... to here.
4622         (FP_EX_MASK): New.
4623         (__sfp_handle_exceptions): New function declaration.
4624         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4625         * config/i386/sfp-exceptions.c: New.
4626         * config/i386/t-softfp: New.
4627         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
4628         i386/t-softfp to tmake_file.
4630 2012-06-03  David S. Miller  <davem@davemloft.net>
4632         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
4633         change.
4635 2012-05-31  David S. Miller  <davem@davemloft.net>
4637         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
4638         multiply and divide instructions on 32-bit when V9.
4639         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
4641 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
4643         * config/arm/ieee754-df.S: Fix typos.
4644         * config/arm/ieee754-sf.S: Fix typos.
4645         * config/c6x/libunwind.S: Fix typos.
4646         * config/epiphany/udivsi3-float.c: Fix typos.
4647         * config/microblaze/muldi3_hard.S: Fix typos.
4648         * config/picochip/adddi3.S: Fix typos.
4649         * config/picochip/ashlsi3.S: Fix typos.
4650         * config/picochip/ashrsi3.S: Fix typos.
4651         * config/picochip/clzsi2.S: Fix typos.
4652         * config/picochip/cmpsi2.S: Fix typos.
4653         * config/picochip/divmod15.S: Fix typos.
4654         * config/picochip/divmodhi4.S: Fix typos.
4655         * config/picochip/divmodsi4.S: Fix typos.
4656         * config/picochip/longjmp.S: Fix typos.
4657         * config/picochip/lshrsi3.S: Fix typos.
4658         * config/picochip/parityhi2.S: Fix typos.
4659         * config/picochip/popcounthi2.S: Fix typos.
4660         * config/picochip/setjmp.S: Fix typos.
4661         * config/picochip/subdi3.S: Fix typos.
4662         * config/picochip/ucmpsi2.S: Fix typos.
4663         * config/picochip/udivmodhi4.S: Fix typos.
4664         * config/picochip/udivmodsi4.S: Fix typos.
4665         * config/spu/divv2df3.c: Fix typos.
4666         * config/spu/mfc_multi_tag_release.c: Fix typos.
4667         * config/spu/mfc_tag_release.c: Fix typos.
4668         * configure.ac: Fix typos.
4669         * configure: Regenerate.
4671 2012-05-25  Ian Lance Taylor  <iant@google.com>
4673         * config/i386/morestack.S (__morestack_non_split): Check whether
4674         caller is varargs and needs %bp to hold the stack frame on return.
4676 2012-05-25  Olivier Hainque  <hainque@adacore.com>
4678         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
4679         sequence in the non pic case on VxWorks.
4681 2012-05-24  Olivier Hainque  <hainque@adacore.com>
4683         * Makefile.in: Move dependency on install-unwind_h from
4684         "install-leaf" to "install".
4686 2012-05-24  Olivier Hainque  <hainque@adacore.com>
4688         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
4689         Use a separate command for stamp removals.
4691 2012-05-21  Andrew Pinski  <apinski@cavium.com>
4693         PR bootstrap/53183
4694         * configure.ac: Define the default includes to being none.
4695         * configure: Regenerate.
4697 2012-05-16  Olivier Hainque  <hainque@adacore.com>
4699         * Makefile.in (install-unwind_h): Rename into ...
4700         (install-unwind_h-forbuild): New target.
4701         (all): Use it instead of the former install-unwind_h.
4702         (install-unwind_h): Reinstate, copy to user install destination
4703         for include files, not to the internal gcc object directory one.
4704         (install-leaf): Depend on it.
4706 2012-05-15  Olivier Hainque  <hainque@adacore.com>
4708         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
4709         register numbers. LR_REGNO replaces R_LR.
4710         (ucontext_for): New, helper for ...
4711         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
4712         and 5.3 of ...
4713         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
4715 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4717         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
4718         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
4719         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
4720         i386/t-cpuinfo ...
4721         (i[34567]86-*-*, x86_64-*-*): ... here.
4723         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
4724         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
4726         * config/i386/i386-cpuinfo.c: Rename to ...
4727         * config/i386/cpuinfo.c: ... this.
4728         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
4730         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
4731         (libgcc_cv_init_priority): New test.
4732         * configure: Regenerate.
4733         * config.in: New file.
4734         * Makefile.in (clean): Rename config.h to auto-target.h.
4735         (config.h): Likewise.
4736         (stamp-h): Likewise.
4738         * config/i386/cpuinfo.c (auto-target.h): Include.
4739         (CONSTRUCTOR_PRIORITY): Define.
4740         (__cpu_indicator_init): Use it.
4742 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
4744         * longlong.h: Use a URL instead of an FSF postal address.
4745         Replace spaces with tab.
4747 2012-05-08  Teresa Johnson  <tejohnson@google.com>
4749         * libgcov.c (gcov_clear, __gcov_reset): New functions.
4750         (__gcov_dump): Ditto.
4751         (gcov_dump_complete): New global variable.
4752         (gcov_exit): Export hidden to enable use in L_gcov_dump.
4753         (__gcov_flush): Outline functionality now in gcov_clear.
4754         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
4756 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
4758         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
4759         (mips*-*-linux*): Include mips/t-tpbit when long double is
4760         16 bytes long.
4762 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
4764         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
4765         (get_available_features): New argument. Check for AVX2.
4766         (__cpu_indicator_init): Modify call to get_available_features.
4768 2012-04-25  Alan Modra  <amodra@gmail.com>
4770         * config/rs6000/crtsavevr.S: New file.
4771         * config/rs6000/crtrestvr.S: New file.
4772         * config/rs6000/t-savresfgpr: Build the above.
4773         * config/rs6000/t-netbsd: Likewise.
4775 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
4777         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
4779 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
4781         * libgcc/config/i386/i386-cpuinfo.c: New file.
4782         * libgcc/config/i386/t-cpuinfo: New file.
4783         * libgcc/config.host: Include t-cpuinfo.
4784         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
4786 2012-04-24  Chao-ying Fu  <fu@mips.com>
4788         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
4790 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
4792         struct siginfo vs. siginfo_t
4794         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
4795         siginfo_t instead of struct siginfo.
4796         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
4797         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
4798         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
4799         (ia64_handle_unwabi): Likewise.
4800         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
4801         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
4802         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
4803         (sh_fallback_frame_state): Likewise.
4804         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
4805         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
4807 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
4809         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
4810         system call number.
4812 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
4814         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
4815         if it hasn't been previously saved.
4817 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
4819         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
4820         only for glibc.
4822 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
4824         PR target/52737
4825         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
4826         instead of __AVR_HAVE_8BIT_SP__.
4828 2012-03-26  Tristan Gingold  <gingold@adacore.com>
4830         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
4831         (unw_table_entry): Use unw_word instead of unsigned long.
4832         (_Unwind_FindTableEntry): Likewise.
4833         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
4834         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
4835         (_Unwind_FindTableEntry): Likewise.
4836         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
4837         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
4838         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
4839         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
4840         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
4841         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
4842         (uw_init_context_1, uw_install_context): Likewise.
4843         (unw_word): Move to unwind-ia64.h
4845 2012-03-26  Tristan Gingold  <gingold@adacore.com>
4847         * config/vms/vms-ucrt0.c: Update copyright years.
4848         Add a sanity check.
4849         (___gcc_main_flags): Declare.
4850         (__main): Check flags to remap argv and exit code.
4851         * config.host (*-*-*vms*): Adjust extra_parts.
4852         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
4853         (crt0.o): Add.
4855 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
4857         * arm/lib1funcs.asm (ctzsi2): New function.
4858         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
4859         * arm/t-linux (LIB1ASMFUNCS): Likewise.
4860         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
4861         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
4862         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
4863         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
4865 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
4867         * config.host: Add bits to support powerpc64-*-freebsd*.
4868         * config/rs6000/freebsd-unwind.h: New file.
4869         * config/rs6000/t-freebsd64: New file.
4871 2012-03-20  Richard Guenther  <rguenther@suse.de>
4873         PR gcov-profile/52627
4874         * libgcov.c (init_mx): Fix mutex name.
4876 2012-03-16  Tristan Gingold  <gingold@adacore.com>
4878         * config/ia64/vms-unwind.h: Remove ulong (and replace
4879         it by unw_reg where used).  Define unw_reg with __int64.
4881 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4883         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4884         Solaris 8 handling.
4885         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4886         Solaris 8 handling.
4887         (sparc_is_sighandler): Likewise.
4889 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
4891         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
4892         <= saved reg size.
4894 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4896         * config/arm/crtn.S: Fix typo.
4898 2012-03-13  Richard Guenther  <rguenther@suse.de>
4900         * libgcov.c: Remove stdio.h include and NULL un-define.
4902 2012-03-13  Richard Guenther  <rguenther@suse.de>
4904         PR target/52569
4905         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
4907 2012-03-13  Richard Guenther  <rguenther@suse.de>
4909         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
4911 2012-03-13  Richard Guenther  <rguenther@suse.de>
4913         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
4914         and __gthread_mutex_init_function definitions.
4916 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4918         * config.host (mips*-*-openbsd*): Remove.
4920 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4922         * config.host: Remove alpha*-dec-osf5.1* handling.
4923         * config/alpha/gthr-posix.c: Remove.
4924         * config/alpha/libgcc-osf5.ver: Remove.
4925         * config/alpha/osf5-unwind.h: Remove.
4926         * config/alpha/t-osf-pthread: Remove.
4927         * config/alpha/t-slibgcc-osf: Remove.
4928         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
4929         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
4930         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
4931         * mkmap-flat.awk: Remove osf_export handling.
4933 2012-03-12  Richard Guenther  <rguenther@suse.de>
4935         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
4936         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
4937         (__gthread_mutex_init_function): New function.
4938         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
4940         PR gcov/49484
4941         * libgcov.c: Include gthr.h.
4942         (__gcov_flush_mx): New global variable.
4943         (init_mx, init_mx_once): New functions.
4944         (__gcov_flush): Protect self with a mutex.
4945         (__gcov_fork): Re-initialize mutex after forking.
4946         * unwind-dw2-fde.c: Change condition under which to use
4947         __GTHREAD_MUTEX_INIT_FUNCTION.
4949 2012-03-12  Tristan Gingold  <gingold@adacore.com>
4951         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
4952         * config/ia64/t-vms: Likewise.
4954 2012-03-11  Michael Hope  <michael.hope@linaro.org>
4956         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
4957         for Thumb-2.
4959 2012-03-07  Walter Lee  <walt@tilera.com>
4961         * config/tilepro/atomic.c: Rename "atomic_" prefix to
4962         "arch_atomic_".
4963         (atomic_xor): Rename and move definition to
4964         config/tilepro/atomic.h.
4965         (atomic_nand): Ditto.
4966         * config/tilepro/atomic.h: Rename "atomic_" prefix to
4967         "arch_atomic_".
4968         (arch_atomic_xor): Move from config/tilepro/atomic.c.
4969         (arch_atomic_nand): Ditto.
4971 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
4973         PR target/52507
4974         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
4976 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
4978         PR target/52505
4979         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
4980         from RAM.
4982 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
4984         PR target/52461
4985         PR target/52508
4986         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
4987         if RAMPZ affects reading from RAM.
4988         (__tablejump_elpm__): Ditto.
4989         (.xload): Ditto.
4990         (__movmemx_hi): Ditto.
4991         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
4992         (__do_global_dtors): Ditto.
4993         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
4994         (__movmemx_hi): Ditto.
4996 2012-03-05  Richard Henderson  <rth@redhat.com>
4998         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
4999         [ARM] (count_trailing_zeros): Use the builtin.
5001 2012-03-01  Kai Tietz  <ktietz@redhat.com>
5003         * soft-fp: Imported from glibc upstream.
5005 2012-02-28  Kai Tietz  <ktietz@redhat.com>
5007         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
5008         for mingw-targets as attribute gcc_struct.
5010 2012-02-28  Ian Lance Taylor  <iant@google.com>
5012         * generic-morestack.c (__splitstack_releasecontext): Correct call
5013         to __morestack_release_segments.
5015 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5017         PR target/52390
5018         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
5019         for __linux__ when removing signals from __morestack_fullmask.
5021 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
5023         PR target/52261
5024         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
5026 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5028         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
5029         instead of HAVE_INITFINI_ARRAY.
5030         * config/ia64/crtend.S: Likewise.
5032 2012-02-20  Kai Tietz  <ktietz@redhat.com>
5034         PR libstdc++/52300
5035         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
5037         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
5038         to w32-unwind.h header.
5040 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
5042         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
5043         (mips*-*-linux*): Remove t-slibgcc-libgcc.
5044         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
5045         * config/mips/mips16.S (__mips16_rdhwr): Delete.
5047 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
5049         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
5051 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
5053         PR libitm/52220
5054         * config/darwin-crt-tm.c: Correct typo.
5056 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
5057             Patrick Marlier  <patrick.marlier@gmail.com>
5059         PR libitm/52220
5060         * config/darwin-crt-tm.c: Generate dummy functions.
5062 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
5063             Patrick Marlier  <patrick.marlier@gmail.com>
5065         PR libitm/52042
5066         * config/darwin-crt-tm.c (getTMCloneTable): New function.
5067         (__doTMRegistrations): Call it.
5068         (__doTMdeRegistrations): Likewise.
5070 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
5071             Anatoly Sokolov  <aesok@post.ru>
5072             Eric Weddington  <eric.weddington@atmel.com>
5074         PR target/52261
5075         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
5076         (__epilogue_restores__): Ditto.
5078 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
5080         PR target/51921
5081         PR target/52205
5082         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
5083         Solaris 11 and slightly reformat.
5084         (sparc_is_sighandler): Likewise.
5086 2012-02-14  Walter Lee  <walt@tilera.com>
5088         * config.host: Handle tilegx and tilepro.
5089         * config/tilegx/sfp-machine.h: New file.
5090         * config/tilegx/sfp-machine32.h: New file.
5091         * config/tilegx/sfp-machine64.h: New file.
5092         * config/tilegx/t-crtstuff: New file.
5093         * config/tilegx/t-softfp: New file.
5094         * config/tilegx/t-tilegx: New file.
5095         * config/tilepro/atomic.c: New file.
5096         * config/tilepro/atomic.h: New file.
5097         * config/tilepro/linux-unwind.h: New file.
5098         * config/tilepro/sfp-machine.h: New file.
5099         * config/tilepro/softdivide.c: New file.
5100         * config/tilepro/softmpy.S: New file.
5101         * config/tilepro/t-crtstuff: New file.
5102         * config/tilepro/t-tilepro: New file.
5104 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
5106         PR libstdc++/51296
5107         PR libstdc++/51906
5108         * gthr-posix.h: Allow static initializer macros to be disabled.
5109         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
5111 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
5113         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
5114         Add t-slibgcc-libgcc to tmake_file.
5115         * config/mips/libgcc-mips16.ver: Revert previous patch.
5116         * config/mips/mips16.S (__mips16_rdhwr): Hide.
5118 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
5119             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
5121         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
5122         * config/cr16/crti.S: New file.
5123         * config/cr16/crtlibid.S: New file.
5124         * config/cr16/crtn.S: New file.
5125         * config/cr16/lib1funcs.S: New file.
5126         * config/cr16/t-cr16: New file.
5127         * config/cr16/t-crtlibid: New file.
5128         * config/cr16/unwind-dw2.h: New file.
5129         * config/cr16/unwind-cr16.c: New file.
5130         * config/cr16/divmodhi3.c: New file.
5132 2012-01-25  Alan Modra  <amodra@gmail.com>
5134         * config/rs6000/t-linux64: Delete.  Move..
5135         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
5136         * config/rs6000/t-linux: ..and libgcc flags to here.
5138 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
5140         * config.host (i[34567]86-*-interix3*):
5141         Change triplet to i[34567]86-*-interix[3-9]*.
5142         * configure: Regenerate.
5144 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
5145             Richard Sandiford  <rdsandiford@googlemail.com>
5147         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
5148         * config/mips/mips16.S (__mips16_rdhwr): New function.
5149         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
5151 2012-01-11  Nathan Sidwell  <nathan@acm.org>
5153         * libgcov.c (__gcov_init): Ignore objects with no functions.
5155 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
5157         PR target/49868
5158         Extend __pgmx semantics to linearize memory.
5159         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
5160         * config/avr/lib1funcs.S (__xload_1): New function.
5161         (__movmemx_qi, __movmemx_hi): New functions.
5162         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
5163         semantics.
5165 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
5167         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
5168         purported sigacthandler address isn't null before dereferencing it.
5169         (sparc_is_sighandler): Likewise.
5171 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
5173         PR ada/41929
5174         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
5175         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
5176         (sparc_is_sighandler): Likewise.
5177         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
5179 2012-01-06  Tristan Gingold  <gingold@adacore.com>
5181         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
5182         compatibility thunks...
5183         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
5184         (crtbeginS.o, crtendS.o): ... and these to ...
5185         * config/ia64/t-ia64-elf: ... this new file.
5186         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
5187         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
5189 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5191         * configure: Regenerate.
5192         * config/s390/t-crtstuff: Remove -fPIC.
5194 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
5196         PR bootstrap/51006
5197         * enable-execute-stack-mprotect.c (getpagesize): Do not define
5198         for NetBSD.
5200 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
5202         PR target/51345
5203         * config/avr/lib1funcs.S: Remove FIXME comments.
5204         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
5206 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
5208         Implement light-weight DImode support.
5209         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
5210         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
5211         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
5212         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
5214 2011-12-30  Nathan Sidwell  <nathan@acm.org>
5216         * libgcov.c (gcov_crc32): Remove global var.
5217         (free_fn_data): New function.
5218         (buffer_fn_data): Pass in filename, more robust error recovery.
5219         (crc32_unsigned): New function.
5220         (gcov_exit): More robust detection of new program. More robust
5221         error recovery.
5222         (__gcov_init): Do not update program's crc here.
5224 2011-12-21  Tristan Gingold  <gingold@adacore.com>
5226         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
5228 2011-12-21  Ian Lance Taylor  <iant@google.com>
5230         * config/i386/morestack.S: Simplify CFI opcodes throughout.
5232 2011-12-20  Ian Lance Taylor  <iant@google.com>
5234         * config/i386/morestack.S (__morestack_non_split): If there is
5235         enough stack space already, don't split.  Ask for more stack space
5236         than we required.
5238 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
5240         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
5241         `sys/sdt.h'.
5242         (_Unwind_DebugHook): New function.
5243         (uw_restore_core_regs): New define.
5244         (unwind_phase2): Use uw_restore_core_regs instead of
5245         restore_core_regs.
5246         (unwind_phase2_forced): Likewise.
5247         (__gnu_Unwind_Resume): Likewise.
5249 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
5251         * config/alpha/linux-unwind.h: Update copyright years.
5252         (MD_FROB_UPDATE_CONTEXT): New define.
5253         (alpha_frob_update_context): New function.
5255 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
5257         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
5258         tmake_file rather replacing it.
5260 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
5262         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
5263         function is not used for PPC64.
5264         (save_world): Amend comments.  Update the VRsave mask to reflect the
5265         saved regs.
5266         (rest_world): Update comments, do not  clobber r10, do not use r8.
5267         (eh_rest_world_r10): Amend comments, do not use r8.
5268         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
5269         no longer used, move restore of CR and target address to the end of
5270         the routine.
5272 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
5274         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
5275         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
5277 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
5279         PR target/49313
5280         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
5281         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
5283 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
5285         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
5287 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
5289         PR target/49313
5290         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
5291         * config/avr/lib1funcs.S (__muldi3): New function.
5293 2011-12-06  Andrew Pinski  <apinski@cavium.com>
5295         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
5296         size of func_ptr.
5297         (__frame_dummy_init_array_entry): Likewise.
5299 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
5301         Forward-port from gcc-4_6-branch r181936 2011-12-02.
5303         PR target/51345
5304         PR target/51002
5305         * config/avr/lib1funcs.S (__prologue_saves__,
5306         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
5307         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
5309 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
5311         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
5313 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5315         PR other/51272
5316         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
5317         (_ITM_deregisterTMCloneTable): Likewise.
5318         (__register_frame_info): Fix unused warning.
5319         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
5320         pthread_default_stacksize_np): Likewise.
5321         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
5323 2011-11-29  DJ Delorie  <dj@redhat.com>
5325         * config.host (rl78-*-elf): New case.
5326         * config/rl78: New directory for the Renesas RL78.
5328 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
5330         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
5331         formatting.
5333 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5335         PR other/51022
5336         * config/rs6000/t-savresfgpr: New file.
5337         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
5338         $(srcdir)/config/rs6000/eabi.S.
5339         * config/rs6000/t-ppccomm-ldbl: Remove.
5340         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
5341         tmake_file.
5342         (powerpc-*-eabispe*): Likewise.
5343         (powerpc-*-eabi*): Likewise.
5344         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5345         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
5346         to tmake_file, remove rs6000/t-ppccomm-ldbl.
5347         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
5348         tmake_file.
5349         (powerpc-*-eabisim*): Likewise.
5350         (powerpc-*-elf*): Likewise.
5351         (powerpc-*-eabialtivec*): Likewise.
5352         (powerpc-xilinx-eabi*): Likewise.
5353         (powerpc-*-rtems*): Likewise.
5354         (powerpcle-*-elf*): Likewise.
5355         (powerpcle-*-eabisim*): Likewise.
5356         (powerpcle-*-eabi*): Likewise.
5358 2011-11-27  Ian Lance Taylor  <iant@google.com>
5360         * generic-morestack.c (__splitstack_find): Check for NULL old
5361         stack value.
5362         (__splitstack_resetcontext): New function.
5363         (__splitstack_releasecontext): New function.
5364         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5366 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
5368         * config/darwin-crt-tm.c: Correct comments, use correct licence.
5370 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
5372         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
5374 2011-11-26  Richard Henderson  <rth@redhat.com>
5376         * config/m68k/linux-atomic.c: New file.
5377         * config/m68k/t-linux: New file.
5378         * config.host (m68k-uclinux, m68k-linux): Use it.
5380 2011-11-26  Richard Henderson  <rth@redhat.com>
5382         * crtstuff.c (__TMC_LIST__): Mark used not unused.
5383         (__TMC_END__): Only declare if hidden is available; in the definition,
5384         if hidden is unavailable add a null record.
5385         (deregister_tm_clones, register_tm_clones): New.
5386         (__do_global_dtors_aux, frame_dummy): Use them.
5387         (__do_global_dtors, __do_global_ctors_1): Likewise.
5389 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
5391         * config/darwin-crt-tm.c: New file.
5392         * config.host (darwin): Build crttms.o crttme.o to provide
5393         startup and shutdown for tm clones.
5394         * config/t-darwin (crttms.o): New build rule.
5395         (crttme.o): Likewise.
5397 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
5399         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
5400         et al.
5402 2011-11-21  Richard Henderson  <rth@redhat.com>
5404         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
5405         (__TMC_LIST__, __TMC_END__): New.
5406         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
5407         (__do_global_dtors): Likewise.
5408         (frame_dummy): Call _ITM_registerTMCloneTable.
5409         (__do_global_ctors_1): Likewise.
5411 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5413         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
5414         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5415         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
5416         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
5417         * config/i386/t-darwin64: Remove.
5418         * config/sh/t-netbsd (LIB2ADD): Remove.
5420 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
5422         PR target/49313
5423         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
5424         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
5425         * config/avr/lib1funcs.S (wmov): New assembler macro.
5426         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
5427         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
5428         (__udivmod64): New function.
5429         (__negdi2): New function.
5431 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
5433         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
5434         *-*-freebsd*aout*): Remove.
5436 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
5438         * static-object.mk (c_flags-$o): Save c_flags.
5439         ($(base)$(objext)): Use it.
5441 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
5443         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
5445 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
5447         PR target/49868
5448         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
5449         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
5450         New functions.
5452 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
5454         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
5455         functions.
5456         (aeabi_uidivmod): Likewise.
5457         (umodsi3): Likewise.
5458         (divsi3): Likewise.
5459         (aeabi_idivmod): Likewise.
5460         (modsi3): Likewise.
5462 2011-11-16  Tristan Gingold  <gingold@adacore.com>
5464         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
5466 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
5468         PR target/49868
5469         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
5470         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
5472 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5474         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
5475         tmake_file list.
5476         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
5477         * config/pa/t-stublib64: Delete.
5479 2011-11-12  Richard Henderson  <rth@redhat.com>
5481         * config/rs6000/linux-unwind.h (frob_update_context): Properly
5482         cast the pointer argument to _Unwind_SetGRPtr.
5484 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5486         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
5488 2011-11-09  Ian Lance Taylor  <iant@google.com>
5490         * generic-morestack.c: Include <string.h>.
5491         (uintptr_type): Define.
5492         (struct initial_sp): Add dont_block_signals field.  Reduce size of
5493         extra array by 1.
5494         (allocate_segment): Set prev field to NULL.  Don't set
5495         __morestack_current_segment or __morestack_segments.
5496         (__generic_morestack): Update current->prev and *pp after calling
5497         allocate_segment.
5498         (__morestack_block_signals): Don't do anything if
5499         dont_block_signals is set.
5500         (__morestack_unblock_signals): Likewise.
5501         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
5502         uintptr_type.
5503         (__splitstack_block_signals): New function.
5504         (enum __splitstack_content_offsets): Define.
5505         (__splitstack_getcontext, __splitstack_setcontext): New functions.
5506         (__splitstack_makecontext): New function.
5507         (__splitstack_block_signals_context): New function.
5508         (__splitstack_find_context): New function.
5509         * config/i386/morestack.S (__morestack_get_guard): New function.
5510         (__morestack_set_guard, __morestack_make_guard): New functions.
5511         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5513 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5515         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
5516         (i[34567]86-*-mingw*): ... here.
5517         (x86_64-*-mingw*): ... here.
5519 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5521         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
5523 2011-11-07  Nathan Sidwell  <nathan@acm.org>
5525         * libgcov.c (struct gcov_fn_buffer): New struct.
5526         (buffer_fn_data): New helper.
5527         (gcov_exit): Rework for new gcov data structures.
5529 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
5531         PR target/49313
5532         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
5534 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5536         * config.host (tmake_file): Correct comment.
5537         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
5538         t-libgcc-pic.
5539         (bfin*-uclinux*): Likewise.
5540         (bfin*-linux-uclibc*): Likewise.
5541         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
5543         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
5544         assigning.
5545         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5546         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
5547         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5548         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
5549         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5550         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
5551         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
5552         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5553         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
5554         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
5555         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
5556         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
5557         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
5559         * config/bfin/t-elf: Remove.
5560         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
5562 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5564         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
5565         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
5566         (lm32-*-elf*, lm32-*-rtems*): Split into ...
5567         (lm32-*-elf*): ... this.
5568         (lm32-*-rtems*): ... and this.
5569         Add to tmake_file.
5570         (m32r-*-rtems*): Add to tmake_file.
5571         (moxie-*-rtems*): Likewise.
5572         (sparc-*-rtems*): Likewise.
5573         Remove t-rtems from tmake_file.
5574         (sparc64-*-rtems*): Likewise.
5575         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
5576         instead.
5578 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5580         PR bootstrap/50982
5581         * config/gthr-posix.h: Move ...
5582         * gthr-posix.h: ... here.
5583         * config/gthr-lynx.h: Reflect this.
5584         * config/gthr-vxworks.h: Likewise.
5585         * config/rs6000/gthr-aix.h: Likewise.
5586         * configure.ac (target_thread_file): Likewise.
5587         * configure: Regenerate.
5589 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5591         * config.host (arm*-*-rtemseabi*): New target.
5593 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5595         PR other/50991
5596         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
5597         extra-parts.
5599 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
5601         * config.host (epiphany-*-elf*): New configuration.
5602         * config/epiphany: New Directory.
5604 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
5606         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
5607         * config/avr/t-rtems: New.
5608         Filter out _exit from LIB1ASMFUNCS.
5610 2011-11-04  David S. Miller  <davem@davemloft.net>
5612         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
5613         * configure: Rebuild.
5615 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5617         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
5618         variable.
5620 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
5622         PR target/50931
5623         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
5624         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
5626 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
5628         PR target/50989
5629         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
5631 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5633         * config/c6x/t-elf (LIB2ADDEH): Set.
5634         * config/c6x/t-c6x-elf: Remove.
5636 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5638         * config/i386/sol2-ci.S: Rename to ...
5639         * config/i386/crti.S: ... this.
5640         * config/i386/sol2-cn.S: Rename to ...
5641         * config/i386/crtn.S: ... this.
5642         * config/sparc/sol2-ci.S: Rename to ...
5643         * config/sparc/crti.S: ... this.
5644         * config/sparc/sol2-cn.S: Rename to ...
5645         * config/sparc/crtn.S: ... this.
5646         * config/t-sol2 (CUSTOM_CRTIN): Remove.
5647         (crti.o, crtn.o): Remove.
5649 2011-11-04  Tristan Gingold  <gingold@adacore.com>
5651         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
5653 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
5655         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
5657 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
5659         * config.host (crisv32-*-none, cris-*-none): Remove.
5660         (crisv32-*-elf): Append to tmake_file, don't just set it.
5661         (cris-*-elf): Add missing t-fdpbit to tmake_file.
5663 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5665         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
5666         (ecrtn$(objext)): Likewise.
5667         (ncrti$(objext)): Likewise.
5668         (ncrtn$(objext)): Likewise.
5670 2011-11-03  Andreas Schwab  <schwab@redhat.com>
5672         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
5674 2011-11-02  David S. Miller  <davem@davemloft.net>
5676         * configure.ac: Set host_address on sparc too.
5677         * configure: Regenerate.
5678         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
5679         based upon host_address.
5680         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
5682 2011-11-02  Jason Merrill  <jason@redhat.com>
5684         * config/rs6000/t-ppccomm: Add missing \.
5686 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5688         * gthr-single.h, gthr.h: New files.
5689         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
5690         config/gthr-vxworks.h, config/i386/gthr-win32.h,
5691         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
5692         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
5693         * config/i386/gthr-win32.c: Include "gthr-win32.h".
5694         * configure.ac (thread_header): New variable.
5695         Set it depending on target_thread_file.
5696         (gthr-default.h): Link from $thread_header.
5697         * configure: Regenerate.
5698         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
5700 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5702         * configure.ac (tm_file_): New variable.
5703         Determine from tm_file.
5704         (tm_file, tm_defines): Substitute.
5705         * configure: Regenerate.
5706         * mkheader.sh: New file.
5707         * Makefile.in (clean): Remove libgcc_tm.h.
5708         ($(objects)): Depend on libgcc_tm.h.
5709         (libgcc_tm_defines, libgcc_tm_file): New variables.
5710         (libgcc_tm.h, libgcc_tm.stamp): New targets.
5711         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
5712         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
5713         ($(extra-parts)): Depend on libgcc_tm.h.
5714         * config.host (tm_defines, tm_file): New variable.
5715         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
5716         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
5717         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
5718         (avr-*-rtems*): Likewise.
5719         (avr-*-*): Likewise.
5720         (frv-*-elf): Likewise.
5721         (frv-*-*linux*): Likewise.
5722         (h8300-*-rtems*): Likewise.
5723         (h8300-*-elf*): Likewise.
5724         (i[34567]86-*-darwin*): Likewise.
5725         (x86_64-*-darwin*): Likewise.
5726         (rx-*-elf): Likewise.
5727         (tic6x-*-uclinux): Likewise.
5728         (tic6x-*-elf): Likewise.
5729         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
5730         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
5731         * config/i386/cygming-crtbegin.c: Likewise.
5732         * config/i386/cygming-crtend.c: Likewise.
5733         * config/ia64/fde-vms.c: Likewise.
5734         * config/ia64/unwind-ia64.c: Likewise.
5735         * config/libbid/bid_gcc_intrinsics.h: Likewise.
5736         * config/rs6000/darwin-fallback.c: Likewise.
5737         * config/stormy16/lib2funcs.c: Likewise.
5738         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
5739         * crtstuff.c: Likewise.
5740         * dfp-bit.h: Likewise.
5741         * emutls.c: Likewise.
5742         * fixed-bit.c: Likewise.
5743         * fp-bit.c: Likewise.
5744         * generic-morestack-thread.c: Likewise.
5745         * generic-morestack.c: Likewise.
5746         * libgcc2.c: Likewise.
5747         * libgcov.c: Likewise.
5748         * unwind-dw2-fde-dip.c: Likewise.
5749         * unwind-dw2-fde.c: Likewise.
5750         * unwind-dw2.c: Likewise.
5751         * unwind-sjlj.c: Likewise.
5753 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5755         * configure.ac: Include ../config/picflag.m4.
5756         (GCC_PICFLAG): Call it.
5757         Substitute.
5758         * configure: Regenerate.
5759         * Makefile.in (gcc_srcdir): Remove.
5760         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
5761         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
5762         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
5763         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
5764         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
5765         Use $<.
5766         Remove comment.
5767         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
5768         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
5769         to refer to libgcc2.c.
5770         Use $<.
5771         * config/darwin-64.c: New file.
5772         * config/darwin-crt3.c: Remove comment.
5773         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
5774         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
5775         config/udivmodsi4.c: New files.
5776         * config/memcmp.c, config/memcpy.c, config/memmove.c,
5777         config/memset.c: New files.
5778         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
5779         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
5780         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
5781         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
5782         * config/t-openbsd-thread: New file.
5783         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
5784         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
5785         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
5786         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
5787         qrnnd.S.
5788         Adapt filename.
5789         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
5790         to refer to gthr-posix.c.
5791         * config/alpha/t-vms (LIB2ADD): Set.
5792         * config/alpha/vms-gcc_shell_handler.c: New file.
5793         * config/arm/bpabi.c, config/arm/fp16.c,
5794         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
5795         config/arm/unaligned-funcs.c: New files.
5796         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
5797         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
5798         * config/arm/t-linux: Likewise.
5799         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
5800         * config/arm/t-netbsd: New file.
5801         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
5802         * config/arm/t-symbian (LIB2ADD_ST): Set.
5803         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
5804         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5805         * config/bfin/t-elf: New file.
5806         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
5807         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
5808         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
5809         config/c6x/ltf.c: New files.
5810         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
5811         (HOST_LIBGCC2_CFLAGS): Set.
5812         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
5813         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5814         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
5815         New files.
5816         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
5817         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
5818         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
5819         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
5820         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
5821         files.
5822         * config/frv/t-frv (LIB2ADD): Set.
5823         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5824         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
5825         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
5826         config/h8300/popcounthi2.c: New files.
5827         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
5828         * config/i386/gthr-win32.c: New file.
5829         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
5830         * config/i386/t-cygwin: Likewise.
5831         * config/i386/t-darwin, config/i386/t-darwin64,
5832         config/i386/t-gthr-win32, config/i386/t-interix: New files.
5833         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
5834         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5835         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5836         * config/ia64/quadlib.c: New file.
5837         * config/ia64/t-hpux (LIB2ADD): Set.
5838         * config/ia64/t-ia64: Add comment.
5839         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
5840         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5841         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
5842         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
5843         * config/m32c/t-m32c (LIB2ADD): Set.
5844         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
5845         * config/m32r/t-m32r: Likewise.
5846         * config/m68k/fpgnulib.c: New file.
5847         * config/m68k/t-floatlib (LIB2ADD): Set.
5848         (xfgnulib.c): New target.
5849         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
5850         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
5851         * config/mep/t-mep (LIB2ADD): Set.
5852         * config/microblaze/divsi3.asm: Rename to divsi3.S.
5853         * config/microblaze/moddi3.asm: Rename to moddi3.S.
5854         * config/microblaze/modsi3.asm: Rename to modsi3.S.
5855         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
5856         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
5857         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
5858         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
5859         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
5860         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
5861         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
5862         New files.
5863         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
5864         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
5865         * config/pa/fptr.c, config/pa/lib2funcs.S,
5866         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
5867         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
5868         (LIB2ADD, LIB2ADD_ST): Set.
5869         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
5870         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
5871         Set.
5872         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
5873         * config/pdp11/t-pdp11: New file.
5874         * config/picochip/libgccExtras/adddi3.S,
5875         config/picochip/libgccExtras/ashlsi3.S,
5876         config/picochip/libgccExtras/ashrsi3.S,
5877         config/picochip/libgccExtras/clzsi2.S,
5878         config/picochip/libgccExtras/cmpsi2.S,
5879         config/picochip/libgccExtras/divmod15.S,
5880         config/picochip/libgccExtras/divmodhi4.S,
5881         config/picochip/libgccExtras/divmodsi4.S,
5882         config/picochip/libgccExtras/lshrsi3.S,
5883         config/picochip/libgccExtras/parityhi2.S,
5884         config/picochip/libgccExtras/popcounthi2.S,
5885         config/picochip/libgccExtras/subdi3.S,
5886         config/picochip/libgccExtras/ucmpsi2.S,
5887         config/picochip/libgccExtras/udivmodhi4.S,
5888         config/picochip/libgccExtras/udivmodsi4.S: New files.
5889         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
5890         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
5891         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
5892         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
5893         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
5894         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
5895         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
5896         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
5897         files.
5898         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
5899         (HOST_LIBGCC2_CFLAGS): Set.
5900         * config/rs6000/t-darwin64: New file.
5901         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
5902         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
5903         * config/rs6000/t-ppccomm (LIB2ADD): Add
5904         $(srcdir)/config/rs6000/tramp.S.
5905         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
5906         Add  $(srcdir)/config/rs6000/eabi.S.
5907         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
5908         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
5909         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
5910         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
5911         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
5912         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
5913         * config/rs6000/tramp.S: New file.
5914         * config/s390/t-tpf: Remove.
5915         * config/sh/linux-atomic.S: New file.
5916         * config/sh/t-linux (LIB2ADD): Set.
5917         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
5918         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
5919         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
5920         to unwind-dw2.c.
5921         (HOST_LIBGCC2_CFLAGS): Set.
5922         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5923         * config/spu/divmodti4.c, config/spu/divv2df3.c,
5924         config/spu/float_disf.c, config/spu/float_unsdidf.c,
5925         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
5926         config/spu/mfc_multi_tag_release.c,
5927         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
5928         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
5929         config/spu/multi3.c: New files.
5930         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
5931         (HOST_LIBGCC2_CFLAGS): Set.
5932         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
5933         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
5934         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
5935         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
5936         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
5937         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
5938         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
5939         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
5940         config/stormy16/umodsi3.c: New files.
5941         * config/xtensa/lib2funcs.S: New file.
5942         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
5943         * config/xtensa/t-xtensa (LIB2ADD): Set.
5944         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
5945         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
5946         Add t-freebsd-thread to tmake_file for posix threads.
5947         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
5948         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
5949         (*-*-lynxos*): Likewise.
5950         (*-*-netbsd*): Likewise.
5951         (*-*-openbsd*): Likewise.
5952         Add t-openbsd-thread to tmake_file for posix threads.
5953         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
5954         (*-*-vxworks*): Set tmake_file.
5955         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
5956         (alpha*-*-freebsd*): Likewise.
5957         (alpha*-*-netbsd*): Likewise.
5958         (alpha*-*-openbsd*): Likewise.
5959         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
5960         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
5961         (alpha*-dec-*vms*): Likewise.
5962         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
5963         (bfin*-elf*): Add bfin/t-elf to tmake_file.
5964         (bfin*-uclinux*): Likewise.
5965         (bfin*-linux-uclibc*): Likewise.
5966         (crisv32-*-elf): Add cris/t-cris to tmake_file.
5967         (crisv32-*-none): Likewise.
5968         (cris-*-elf): Likewise.
5969         (cris-*-none): Likewise.
5970         (cris-*-linux*, crisv32-*-linux*): Likewise.
5971         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
5972         tmake_file.
5973         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
5974         tmake_file.
5975         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
5976         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
5977         (x86_64-*-elf*): Likewise.
5978         (i[34567]86-*-nto-qnx*): Likewise.
5979         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
5980         win32 threads.
5981         (x86_64-*-mingw*): Likewise.
5982         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
5983         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
5984         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
5985         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
5986         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
5987         tmake_file.
5988         (mipsisa64sr71k-*-elf*): Likewise.
5989         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
5990         (mips-*-elf*, mipsel-*-elf*): Likewise.
5991         (mips64-*-elf*, mips64el-*-elf*): Likewise.
5992         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
5993         (mips*-*-rtems*): Likewise.
5994         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
5995         to tmake_file.
5996         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
5997         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
5998         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
5999         (spu-*-elf*): Likewise.
6000         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
6002 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6004         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
6005         $(srcdir) to refer to $(LIB1ASMSRC).
6006         Use $<.
6007         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
6008         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
6009         config/arm/lib1funcs.S: New files.
6010         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
6011         * config/arm/t-arm: New file.
6012         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
6013         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
6014         config/arm/t-strongarm-elf: New files.
6015         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
6016         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
6017         * config/avr/lib1funcs.S: New file.
6018         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6019         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
6020         * config/c6x/lib1funcs.S: New file.
6021         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6022         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
6023         * config/frv/lib1funcs.S: New file.
6024         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6025         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
6026         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
6027         * config/ia64/__divxf3.asm: Rename to ...
6028         * config/ia64/__divxf3.S: ... this.
6029         Adapt lib1funcs.asm filename.
6030         * config/ia64/_fixtfdi.asm: Rename to ...
6031         * config/ia64/_fixtfdi.S: ... this.
6032         Adapt lib1funcs.asm filename.
6033         * config/ia64/_fixunstfdi.asm: Rename to ...
6034         * config/ia64/_fixunstfdi.S: ... this.
6035         Adapt lib1funcs.asm filename.
6036         * config/ia64/_floatditf.asm: Rename to ...
6037         * config/ia64/_floatditf.S: ... this.
6038         Adapt lib1funcs.asm filename.
6039         * config/ia64/lib1funcs.S: New file.
6040         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
6041         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6042         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
6043         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
6044         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
6045         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
6046         * config/mep/lib1funcs.S: New file.
6047         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6048         * config/mips/mips16.S: New file.
6049         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6050         * config/pa/milli64.S: New file.
6051         * config/pa/t-linux, config/pa/t-linux64: New files.
6052         * config/picochip/lib1funcs.S: New file.
6053         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6054         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
6055         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
6056         * config/sh/t-netbsd: New file.
6057         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
6058         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
6059         * config/sh/t-sh64: New file.
6060         * config/sparc/lb1spc.S: New file.
6061         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
6062         filename.
6063         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
6064         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
6065         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
6066         config/xtensa/lib1funcs.S: New files.
6067         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6068         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
6069         tmake_file.
6070         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
6071         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
6072         (arm*-*-linux*): Likewise.
6073         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
6074         arm*-*-linux-*eabi, add arm/t-linux otherwise.
6075         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
6076         (arm*-*-ecos-elf): Likewise.
6077         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6078         (arm*-*-rtems*): Likewise.
6079         (arm*-*-elf): Likewise.
6080         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
6081         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
6082         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
6083         (bfin*-uclinux*): Likewise.
6084         (bfin*-linux-uclibc*): Likewise.
6085         (bfin*-rtems*): Likewise.
6086         (bfin*-*): Likewise.
6087         (fido-*-elf): Merge into m68k-*-elf*.
6088         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
6089         (frv-*-*linux*): Add frv/t-frv to tmake_file.
6090         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
6091         (h8300-*-elf*): Likewise.
6092         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
6093         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
6094         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
6095         (i[34567]86-*-mingw*): Likewise.
6096         (x86_64-*-mingw*): Likewise.
6097         (i[34567]86-*-interix3*): Likewise.
6098         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
6099         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
6100         (m68k-*-elf*): Also handle fido-*-elf.
6101         Add m68k/t-floatlib to tmake_file.
6102         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
6103         (m68k-*-linux*): Likewise.
6104         (m68k-*-rtems*): Likewise.
6105         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
6106         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
6107         sh64*-*-*.
6108         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
6109         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
6110         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
6111         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
6112         sh/t-netbsd to tmake_file.
6113         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
6114         (sh-*-rtems*): Add sh/t-sh to tmake_file.
6115         (sh-wrs-vxworks): Likewise.
6116         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
6117         *-leon[3-9]*.
6118         (v850*-*-*): Add v850/t-v850 to tmake_file.
6119         (vax-*-linux*): Add vax/t-linux to tmake_file.
6120         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
6122 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6124         * crtstuff.c: New file.
6125         * Makefile.in (CRTSTUFF_CFLAGS): Define.
6126         (CRTSTUFF_T_CFLAGS): Define.
6127         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
6128         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
6129         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
6130         crtstuff.c.
6131         Use $<.
6132         (crtbeginT.o): Use $(objext).
6133         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
6134         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
6135         (gcc-extra-parts): Remove.
6136         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
6137         Set extra_parts.
6138         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6139         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
6140         Add t-crtstuff-pic to tmake_file.
6141         (*-*-lynxos*): New case.
6142         Set tmake_file, extra_parts.
6143         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
6144         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
6145         *-*-netbsdelf[2-9]*.
6146         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
6147         (*-*-rtems*): Set extra_parts.
6148         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
6149         (*-*-uclinux*): New case.
6150         Set extra_parts.
6151         (*-*-vms*): New case.
6152         Set tmake_file, extra_parts.
6153         (*-*-elf): Set extra_parts.
6154         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
6155         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
6156         vms/t-vms64.
6157         Set extra_parts.
6158         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
6159         Set extra_parts.
6160         (arm*-*-freebsd*): Add t-crtin to tmake_file.
6161         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
6162         (arm-wrs-vxworks): Append to tmake_file.
6163         Set extra_parts.
6164         (arm*-*-uclinux*): Set extra_parts.
6165         (arm*-*-ecos-elf): Likewise.
6166         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
6167         arm*-*-eabi*.
6168         (arm*-*-rtems*): Set extra_parts.
6169         (arm*-*-elf): Likewise.
6170         (avr-*-rtems*): Clear extra_parts.
6171         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
6172         Set extra_parts.
6173         (bfin*-uclinux*): Likewise.
6174         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
6175         (bfin*-rtems*): Append to tmake_file.
6176         Set extra_parts.
6177         (bfin*-*): Likewise.
6178         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
6179         (crisv32-*-elf): ... this.
6180         (crisv32-*-none): ... this.
6181         (cris-*-elf, cris-*-none): New cases.
6182         Add cris/t-elfmulti to tmake_file.
6183         (fr30-*-elf): Append to tmake_file.
6184         Set extra_parts.
6185         (frv-*-elf): Append to tmake_file, add frv/t-frv.
6186         Set extra_parts.
6187         (h8300-*-rtems*): Append to tmake_file.
6188         Set extra_parts.
6189         (h8300-*-elf*): Likewise.
6190         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
6191         Set extra_parts.
6192         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
6193         Set extra_parts.
6194         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
6195         (x86_64-*-elf*): Likewise.
6196         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
6197         (x86_64-*-freebsd*): Likewise.
6198         (x86_64-*-netbsd*): Likewise.
6199         (i[34567]86-*-linux*): Likewise.
6200         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
6201         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
6202         (x86_64-*-linux*): Likewise.
6203         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
6204         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
6205         tmake_file.
6206         Set extra_parts.
6207         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
6208         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
6209         Append to extra_parts, remove crtbegin.o, crtend.o.
6210         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
6211         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
6212         crtend.o, crtbeginS.o, crtendS.o.
6213         (ia64*-*-linux*): Comment extra_parts.
6214         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
6215         Set extra_parts.
6216         (iq2000*-*-elf*): Clear extra_parts.
6217         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
6218         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
6219         (m32r-*-elf*, m32r-*-rtems*): Split off ...
6220         (m32r-*-rtems*): ... this.
6221         Add m32r/t-m32r to tmake_file.
6222         (m68k-*-elf*): Add t-crtin to tmake_file.
6223         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
6224         (mcore-*-elf): Likewise.
6225         (microblaze*-*-*): Set extra_parts.
6226         (mips*-sde-elf*): New case.
6227         Set tmake_file, extra_parts.
6228         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6229         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6230         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
6231         tmake_file.
6232         Set extra_parts.
6233         (mipsisa64sr71k-*-elf*): Likewise.
6234         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6235         (mips-*-elf*, mipsel-*-elf*): Likewise.
6236         (mips64-*-elf*, mips64el-*-elf*): Likewise.
6237         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
6238         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
6239         (mips*-*-rtems*): Likewise.
6240         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
6241         (moxie-*-*): Split into ...
6242         (moxie-*-elf, moxie-*-uclinux*): ... this.
6243         Add to extra_parts, remove crtbegin.o, crtend.o.
6244         (moxie-*-rtems*): New case.
6245         Set tmake_file.
6246         Clear extra_parts.
6247         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
6248         Set extra_parts.
6249         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6250         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
6251         tmake_file.
6252         Set extra_parts.
6253         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
6254         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
6255         Set extra_parts.
6256         (powerpc-*-eabisim*): Likewise.
6257         (powerpc-*-elf*): Likewise.
6258         (powerpc-*-eabialtivec*): Likewise.
6259         (powerpc-xilinx-eabi*): Likewise.
6260         (powerpc-*-eabi*): Likewise.
6261         (powerpc-*-rtems*): Likewise.
6262         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
6263         tmake_file.
6264         Set extra_parts.
6265         (powerpc-*-lynxos*): Add to tmake_file.
6266         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
6267         rs6000/t-crtstuff, t-crtstuff-pic.
6268         Set extra_parts.
6269         (powerpcle-*-eabisim*): Likewise.
6270         (powerpcle-*-eabi*): Likewise.
6271         (rx-*-elf): Remove extra_parts.
6272         (s390x-ibm-tpf*): Set extra_parts.
6273         (score-*-elf): Set extra_parts.
6274         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6275         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6276         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6277         (sh64l*-*-netbsd*): Split into ...
6278         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
6279         Add t-crtstuff-pic to tmake_file.
6280         Set extra_parts.
6281         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
6282         Set extra_parts.
6283         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
6284         (sparc-*-elf*): Remove t-crtin from tmake_file.
6285         Add to extra_parts, remove crtbegin.o, crtend.o.
6286         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
6287         (sparc64-*-linux*): Likewise.
6288         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
6289         Add to extra_parts, remove crtbegin.o, crtend.o.
6290         (sparc64-*-elf*): Remove t-crtin from tmake_file.
6291         Add to extra_parts, remove crtbegin.o, crtend.o.
6292         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
6293         Add to extra_parts, remove crtbegin.o, crtend.o.
6294         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
6295         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
6296         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
6297         Set extra_parts.
6298         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
6299         Set extra_parts.
6300         (tic6x-*-*): Change to ...
6301         (tic6x-*-elf): ... this.
6302         Set extra_parts.
6303         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
6304         Set extra_parts.
6305         (am33_2.0-*-linux*): Add comment.
6306         (mep*-*-*): Add mep/t-mep to tmake_file.
6307         Set extra_parts.
6308         * config/alpha/t-vms: New file.
6309         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
6310         * config/arm/crti.S, config/arm/crtn.S: New files.
6311         * config/bfin/crti.S, config/bfin/crtn.S: New files.
6312         * config/bfin/crtlibid.S: New file.
6313         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
6314         * config/c6x/crti.S, config/c6x/crtn.S: New files.
6315         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
6316         (crti.o, crtin.o): New rules.
6317         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6318         * config/c6x/t-uclinux: New file.
6319         * config/cris/t-elfmulti: New file.
6320         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
6321         * config/fr30/crti.S, config/fr30/crtn.S: New files.
6322         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
6323         * config/frv/t-frv: New file.
6324         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
6325         * config/h8300/crti.S, config/h8300/crtn.S: New files.
6326         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
6327         New files.
6328         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
6329         refer to cygming-crtbegin.c, cygming-crtend.c.
6330         Use $<.
6331         * config/i386/t-nto: New file.
6332         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
6333         * config/ia64/crti.S, config/ia64/crtn.S: New files.
6334         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
6335         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
6336         Use .S extension.
6337         Use $<.
6338         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6339         (crtinitS.o): New rule.
6340         * config/ia64/vms-crtinit.S: New file.
6341         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
6342         * config/m32r/initfini.c: New file.
6343         * config/m32r/t-linux, config/m32r/t-m32r: New files.
6344         * config/m68k/crti.S, config/m68k/crtn.S: New files.
6345         * config/mcore/crti.S, config/mcore/crtn.S: New files.
6346         * config/mep/t-mep: New file.
6347         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
6348         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
6349         * config/mips/crti.S, config/mips/crtn.S: New files.
6350         * config/mips/t-crtstuff: New file.
6351         * config/mmix/crti.S, config/mmix/crtn.S: New files.
6352         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
6353         (CUSTOM_CRTIN): Set.
6354         ($(T)crti.o, $(T)crtn.o): Remove $(T),
6355         dependencies.
6356         Use $(srcdir) to refer to crti.S, crtn.S.
6357         Use .S extension, $<.
6358         * config/moxie/crti.asm: Rename to ...
6359         * config/moxie/crti.S: ... this.
6360         * config/moxie/crtn.asm: Rename to ...
6361         * config/moxie/crtn.S: ... this.
6362         * config/moxie/t-moxie: Remove.
6363         * config/pa/stublib.c: New file.
6364         * config/pa/t-stublib, config/pa/t-stublib64: New files.
6365         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
6366         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
6367         * config/rs6000/t-crtstuff: New file.
6368         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
6369         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
6370         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
6371         Make output file explicit.
6372         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
6373         Make output file explicit.
6374         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
6375         Make output file explicit.
6376         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
6377         Make output file explicit.
6378         * config/score/crti.S, config/score/crtn.S: New files.
6379         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
6380         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
6381         files.
6382         * config/sh/t-sh, config/sh/t-superh: New files.
6383         * config/sparc/t-linux64: New file.
6384         * config/spu/cache.S, config/spu/cachemgr.c: New files.
6385         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
6386         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
6387         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
6388         * config/t-crtin: Remove.
6389         * config/t-crtstuff-pic: New file.
6390         * config/t-sol2 (CUSTOM_CRTIN): Set.
6391         (crti.o, crtn.o): New rules.
6392         * config/vms/t-vms: New file.
6393         * config/vms/vms-ucrt0.c: New file.
6394         * config/xtensa/t-elf: New file.
6396 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6398         * Makefile.in (SHLIB_NM_FLAGS): Set.
6399         * mkmap-flat.awk, mkmap-symver.awk: New files.
6400         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
6401         exceptions.
6402         * configure: Regenerate.
6403         * config/libgcc-glibc.ver: New file.
6404         * config/libgcc-libsystem.ver: New file.
6405         * config/t-libunwind (SHLIB_LC): Set.
6406         * config/t-linux: New file.
6407         * config/t-slibgcc (INSTALL_SHLIB): New.
6408         (SHLIB_INSTALL): Use it.
6409         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
6410         to mkmap-symver.awk.
6411         (SHLIB_MAPFILES): Don't append, adapt pathname.
6412         (SHLIB_VERPFX): Set.
6413         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
6414         to mkmap-symver.awk.
6415         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
6416         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
6417         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
6418         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
6419         to mkmap-flat.awk.
6420         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
6421         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
6422         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
6423         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
6424         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
6425         * config/i386/libgcc-darwin.10.4.ver,
6426         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
6427         New files.
6428         * config/i386/t-darwin: Remove.
6429         * config/i386/t-darwin64: Likewise.
6430         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
6431         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
6432         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
6433         * config/i386/t-linux: New file.
6434         * config/i386/t-mingw32: New file.
6435         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
6436         * config/ia64/t-glibc: Rename to ...
6437         * config/ia64/t-linux: ... this.
6438         (SHLIB_MAPFILES): Set.
6439         * config/ia64/t-glibc-libunwind: Rename to ...
6440         * config/ia64/t-linux-libunwind: ... this.
6441         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
6442         * config/ia64/t-slibgcc-hpux: New file.
6443         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
6444         * config/m68k/t-slibgcc-elf-ver: New file.
6445         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
6446         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
6447         to mkmap-flat.awk.
6448         * config/pa/t-slibgcc-hpux: New file.
6449         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
6450         files.
6451         * config/rs6000/libgcc-darwin.10.4.ver,
6452         config/rs6000/libgcc-darwin.10.5.ver: New files.
6453         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
6454         config/rs6000/libgcc-glibc.ver.
6455         * config/rs6000/libgcc-ppc64.ver: Rename to
6456         config/rs6000/libgcc-ibm-ldouble.ver.
6457         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
6458         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
6459         * config/rs6000/t-ldbl128: Rename to ...
6460         * config/rs6000/t-linux: ... this.
6461         (SHLIB_MAPFILES): Adapt filename.
6462         * config/rs6000/t-slibgcc-aix: New file.
6463         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
6464         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
6465         libgcc-excl.ver, libgcc-glibc.ver.
6466         (SHLIB_LINK, SHLIB_INSTALL): Remove.
6467         * config/sparc/libgcc-glibc.ver: New file.
6468         * config/sparc/t-linux: New file.
6469         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
6470         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
6471         t-slibgcc-elf-ver to tmake_file.
6472         Add t-slibgcc-nolc-override to tmake_file for posix threads on
6473         *-*-freebsd[34].
6474         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6475         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
6476         t-slibgcc-elf-ver, t-linux to tmake_file.
6477         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
6478         tmake_file.
6479         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
6480         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
6481         (alpha*-dec-*vms*): Likewise.
6482         (arm*-*-freebsd*): Append to tmake_file.
6483         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
6484         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
6485         arm*-*-linux-*eabi.
6486         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
6487         tmake_file for arm*-*-symbianelf*.
6488         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
6489         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
6490         cris/t-linux.
6491         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
6492         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
6493         pa/t-slibgcc-dwarf-ver to tmake_file.
6494         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
6495         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
6496         (hppa*64*-*-hpux11*): Likewise.
6497         (hppa[12]*-*-hpux11*): Likewise.
6498         (x86_64-*-darwin*): Don't override tmake_file, but only keep
6499         i386/t-crtpc, i386/t-crtfm.
6500         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
6501         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6502         to tmake_file.
6503         Add i386/t-cygwin to tmake_file.
6504         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
6505         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
6506         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6507         to tmake_file.
6508         Add i386/t-mingw32 to tmake_file.
6509         (x86_64-*-mingw*): Likewise.
6510         (ia64*-*-freebsd*): Append to tmake_file.
6511         (ia64*-*-linux*): Append to tmake_file.
6512         Replace ia64/t-glibc by ia64/t-linux.
6513         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
6514         system libunwind.
6515         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
6516         t-slibgcc-hpux to tmake_file.
6517         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
6518         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
6519         (m32rle-*-linux*): Likewise.
6520         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
6521         sjlj exceptions.
6522         (microblaze*-linux*): New case.
6523         Append to tmake_file, add t-slibgcc-nolc-override.
6524         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
6525         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6526         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
6527         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6528         rs6000/t-slibgcc-aix to tmake_file.
6529         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6530         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6531         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6532         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6533         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6534         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
6535         sh*-*-linux*.
6536         (sparc-*-linux*): Append to tmake_file for *-leon*.
6537         Add sparc/t-linux to tmake_file for non-Leon targets.
6538         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
6539         (tic6x-*-uclinux): New case.
6540         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
6541         (tic6x-*-*): Add c6x/t-elf to tmake_file.
6542         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
6543         (am33_2.0-*-linux*): Append to tmake_file.
6544         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6545         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
6546         x86_64-*-kfreebsd*-gnu.
6547         Add i386/t-linux to tmake_file.
6549 2011-10-28  Ian Lance Taylor  <iant@google.com>
6551         * config/i386/morestack.S: Correct CFI information to do proper
6552         returns throughout function.  In 32-bit mode, save %ebx so that it
6553         is restored on unwind.
6555 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
6557         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
6558         case where B3 isn't the return register.
6560         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
6561         logic for doubleword pops.
6563 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
6565         * config/rs6000/t-freebsd: Add wildcard.
6567 2011-10-21  Paul Brook  <paul@codesourcery.com>
6569         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
6571 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
6572             Eric Botcazou  <ebotcazou@adacore.com>
6574         PR target/50737
6575         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
6576         fs->signal_frame to 1.
6578 2011-10-07  Ian Lance Taylor  <iant@google.com>
6580         * generic-morestack-thread.c: #include <errno.h>.
6582 2011-10-07  Ian Lance Taylor  <iant@google.com>
6584         PR target/46093
6585         * generic-morestack.c (__generic_morestack): Make sure the segment
6586         is large enough for both the stack frame and the copied
6587         parameters.
6589 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6591         PR bootstrap/49804
6592         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
6593         extra_parts.
6595 2011-09-28  Nick Clifton  <nickc@redhat.com>
6597         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
6598         64-bit doubles are not enabled.
6599         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
6600         and floatunsisf functions.
6602 2011-09-13  Paul Brook  <paul@codesourcery.com>
6604         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
6605         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
6606         * unwind-arm-common.inc: New file.
6607         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
6608         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
6609         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
6610         * config/c6x/libunwind.S: New file.
6611         * config/c6x/pr-support.c: New file.
6612         * config/c6x/unwind-c6x.c: New file.
6613         * config/c6x/unwind-c6x.h: New file.
6614         * config/c6x/t-c6x-elf: New file.
6616 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
6618         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
6619         (ASM_DIVZERO): Ditto.
6620         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
6622 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
6624         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
6626 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
6628         PR target/50090
6629         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
6630         instead of an assembly one.
6632 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
6634         PR bootstrap/50047
6635         * Makefile.in (install-unwind_h): Create
6636         $(gcc_objdir)/include/unwind.h atomically.
6638 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6640         * Makefile.in (install-unwind_h): Remove destination file first.
6642 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6644         * sync.c: New file.
6645         * config/mips/t-mips16: New file.
6646         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
6647         (mips*-*-linux*): Likewise.
6648         (mips*-sde-elf*): Likewise.
6649         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
6650         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
6651         Add mips/t-mips16 to tmake_file.
6652         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
6653         (mips-*-elf*): Likewise.
6654         (mips64-*-elf*): Likewise.
6655         (mips64orion-*-elf*): Likewise.
6656         (mips*-*-rtems*): Likewise.
6657         (mipstx39-*-elf*): Likewise.
6658         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
6659         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
6660         LIBGCC_SYNC_CFLAGS.
6661         Use $(srcdir) to refer to sync.c.
6662         Use $<.
6663         ($(libgcc-sync-funcs-o)): Likewise.
6664         ($(libgcc-sync-size-funcs-s-o)): Likewise.
6665         ($(libgcc-sync-funcs-s-o)): Likewise.
6667 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
6669         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
6670         t-libunwind.
6672 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
6674         PR other/48007
6675         * config/i386/value-unwind.h: New.
6677 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
6679         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
6680         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
6681         Add to tmake_file rather than overriding it.
6683 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6685         * config/t-softfp: Remove.
6686         * soft-fp: Moved from ../gcc/config.
6687         * soft-fp/README: Remove t-softfp reference.
6688         * soft-fp/t-softfp: Move to config/t-softfp.
6689         (softfp_machine_header): Remove.
6690         (softfp_file_list): Remove config subdir.
6691         (soft-fp-objects): New variable.
6692         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
6693         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
6694         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
6695         * config/t-softfp-excl: New file.
6696         * config/t-softfp-sfdf: New file.
6697         * config/t-softfp-tf: New file.
6698         * config/no-sfp-machine.h: New file.
6699         * config/arm/sfp-machine.h: New file.
6700         * config/arm/t-softfp: New file.
6701         * config/c6x/sfp-machine.h: New file.
6702         * config/i386/32/t-fprules-softfp: Rename to ...
6703         * config/i386/32/t-softfp: ... this.
6704         (tifunctions, LIB2ADD): Remove.
6705         (softfp_int_modes): Override.
6706         * config/i386/64/t-softfp-compat (tf-functions): Remove config
6707         subdir.
6708         * config/i386/64/eqtf2.c: Likewise.
6709         * config/i386/64/getf2.c: Likewise.
6710         * config/i386/64/letf2.c: Likewise.
6711         * config/ia64/sft-machine.h: New file.
6712         * config/ia64/t-fprules-softfp: Rename to ...
6713         * config/ia64/t-softfp: ... this.
6714         * config/lm32/sfp-machine.h: New file.
6715         * config/moxie/t-moxie-softfp: Remove.
6716         * config/rs6000/ibm-ldouble-format: New file.
6717         * config/rs6000/ibm-ldouble.c: New file.
6718         * config/rs6000/libgcc-ppc-glibc.ver: New file
6719         * config/rs6000/libgcc-ppc64.ver: New file
6720         * config/rs6000/sfp-machine.h: New file.
6721         * config/rs6000/t-freebsd: New file.
6722         * config/rs6000/t-ibm-ldouble: New file.
6723         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
6724         libgcc-ppc-glibc.ver.
6725         * config/rs6000/t-linux64: New file.
6726         * config/rs6000/t-ppccomm (LIB2ADD): Add
6727         $(srcdir)/config/rs6000/ibm-ldouble.c.
6728         * config/rs6000/t-ppccomm-ldbl: New file.
6729         * config/score/sfp-machine.h: New file.
6730         * config.host (sfp_machine_header): Explain.
6731         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
6732         t-softfp to tmake_file.
6733         (arm*-*-uclinux*): Likewise.
6734         (arm*-*-ecos-elf): Likewise.
6735         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6736         (arm*-*-rtems*): Likewise.
6737         (arm*-*-elf): Likewise.
6738         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
6739         in tmake_file.
6740         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
6741         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
6742         (lm32-*-uclinux*): Likewise.
6743         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
6744         t-softfp-excl, t-softfp.
6745         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
6746         (powerpc64-*-darwin*): Likewise.
6747         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
6748         to tmake_file.
6749         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
6750         tmake_file.
6751         (powerpc-*-eabisim*): Likewise.
6752         (powerpc-*-elf*): Likewise.
6753         (powerpc-*-eabialtivec*): Likewise.
6754         (powerpc-xilinx-eabi*): Likewise.
6755         (powerpc-*-rtems*): Likewise.
6756         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
6757         t-softfp-excl, t-softfp to tmake_file.
6758         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
6759         rs6000/t-ppccomm-ldbl to tmake_file.
6760         (powerpcle-*-elf*): Likewise.
6761         (powerpcle-*-eabisim*): Likewise.
6762         (powerpcle-*-eabi*): Likewise.
6763         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6764         rs6000/t-ibm-ldouble to tmake_file.
6765         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6766         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6767         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
6768         (tic6x-*-*): Likewise.
6769         (i[34567]86-*-darwin*, x86_64-*-darwin*,
6770         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
6771         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
6772         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
6773         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
6774         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
6775         t-softfp to tmake_file.
6776         * configure.ac (sfp_machine_header): Provide default if unset.
6777         Substitute.
6778         Link sfp-machine.h to config/$sfp_machine_header.
6779         * configure: Regenerate.
6781 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6783         * Makefile.in (double_type_size, long_double_type_size): Set.
6784         Remove $(fpbit-in-libgcc) support.
6785         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
6786         (fpbit-src): New variable.
6787         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
6788         Compile with -DFLOAT $(FPBIT_CFLAGS).
6789         Use $<.
6790         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
6791         Compile with $(FPBIT_CFLAGS).
6792         Use $<.
6793         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
6794         Compile with -DFLOAT $(TPBIT_CFLAGS).
6795         Use $<.
6796         * configure.ac (double_type_size, long_double_type_size):
6797         Determine and substitute.
6798         * configure: Regenerate.
6799         * fp-bit.c, fp-bit.h: New files.
6800         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
6801         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
6802         * config/mips/t-mips: New file.
6803         * config/mips/t-sdemtk: New file.
6804         * config/rs6000/ppc64-fp.c: New file.
6805         * config/rs6000/t-darwin (LIB2ADD): Add
6806         $(srcdir)/config/rs6000/ppc64-fp.c.
6807         * config/rs6000/t-ppc64-fp: New file.
6808         * config/rx/rx-lib.h: New file.
6809         * config/rx/t-rx (FPBIT): Set to true.
6810         ($(gcc_objdir)/fp-bit.c): Remove.
6811         (DPBIT): Set to true only with -m64bit-doubles.
6812         ($(gcc_objdir)/dp-bit.c): Remove.
6813         * config/sparc/t-softfp: Remove.
6814         * config/spu/t-elf: New file.
6815         * config/t-fdpbit, config/t-fpbit: New files.
6816         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
6817         (mips*-*-*): Likewise.
6818         (arm-wrs-vxworks): Likewise.
6819         (arm*-*-freebsd*): Likewise.
6820         (avr-*-rtems*): Add t-fpbit to tmake_file.
6821         (avr-*-*): Likewise.
6822         (bfin*-elf*): Add t-fdpbit to tmake_file.
6823         (bfin*-uclinux*): Likewise.
6824         (bfin*-linux-uclibc*): Likewise.
6825         (bfin*-rtems*): New case.
6826         Add t-fdpbit to tmake_file.
6827         (bfin*-*): Add t-fdpbit to tmake_file.
6828         (crisv32-*-elf): Likewise.
6829         (cris-*-linux*): Likewise.
6830         (fr30-*-elf): Likewise.
6831         (frv-*-elf, frv-*-*linux*): Likewise.
6832         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
6833         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
6834         (m32r-*-elf*): Likewise.
6835         (m32rle-*-elf*): Likewise.
6836         (m32r-*-linux*): Likewise.
6837         (m32rle-*-linux*): Likewise.
6838         (mcore-*-elf): Add t-fdpbit to tmake_file.
6839         (microblaze*-*-*): Likewise.
6840         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
6841         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
6842         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
6843         Fix typo.
6844         Add mips/t-tpbit to tmake-file.
6845         (mips*-*-linux*): Fix typo.
6846         (mips*-sde-elf*): New case
6847         Add mips/t-sdemtk unless using newlib.
6848         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
6849         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
6850         (mn10300-*-*): Likewise.
6851         (pdp11-*-*): Likewise.
6852         (picochip-*-*): Add t-fpbit to tmake_file.
6853         (powerpc-*-eabisimaltivec*): Likewise.
6854         (powerpc-*-eabisim*): Likewise.
6855         (powerpc-*-elf*): Likewise.
6856         (powerpc-*-eabialtivec*): Likewise.
6857         (powerpc-xilinx-eabi*): New case.
6858         Add t-fdpbit to tmake_file.
6859         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
6860         (powerpc-*-rtems*): Likewise.
6861         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
6862         tmake_file.
6863         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
6864         tmake_file.
6865         (powerpc-*-lynxos*): Likewise.
6866         (powerpcle-*-elf*): Likewise.
6867         (powerpcle-*-eabisim*): Likewise.
6868         (powerpcle-*-eabi*): Likewise.
6869         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6870         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
6871         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6872         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6873         (rx-*-elf): Add t-fdpbit to tmake_file.
6874         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6875         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6876         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6877         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
6878         sh*-*-netbsd*.
6879         (sh-*-rtems*): Add t-fdpbit to tmake_file.
6880         (sh-wrs-vxworks): Likewise.
6881         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
6882         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
6883         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
6884         (sparc64-*-rtems*): ... new case.
6885         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
6886         (spu-*-elf*): Likewise.
6887         Add spu/t-elf to tmake_file.
6888         (v850*-*-*): Add t-fdpbit to tmake_file.
6889         (xstormy16-*-elf): Likewise.
6890         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
6891         (mep*-*-*): Likewise.
6893 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6895         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
6896         variables.
6897         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
6898         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
6899         (install-unwind_h): New target.
6900         (all): Depend on it.
6901         * config.host (unwind_header): New variable.
6902         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
6903         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6904         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
6905         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
6906         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
6907         Set unwind_header.
6908         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
6909         Set unwind_header.
6910         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
6911         arm*-*-eabi*.
6912         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
6913         Set unwind_header.
6914         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
6915         (ia64*-*-freebsd*): Likewise.
6916         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
6917         tmake_file.
6918         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
6919         $with_system_libunwind.
6920         (ia64*-*-hpux*): Set tmake_file.
6921         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
6922         (picochip-*-*): Set tmake_file.
6923         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
6924         md_unwind_header.
6925         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6926         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6927         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
6928         (xtensa*-*-elf*): Set tmake_file.
6929         (xtensa*-*-linux*): Likewise.
6930         * configure.ac: Include ../config/unwind_ipinfo.m4.
6931         Call GCC_CHECK_UNWIND_GETIPINFO.
6932         Link unwind.h to $unwind_header.
6933         * configure: Regenerate.
6934         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
6935         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
6936         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
6937         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
6938         * config/unwind-dw2-fde-darwin.c: New file.
6939         * config/arm/libunwind.S, config/arm/pr-support.c,
6940         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
6941         config/arm/unwind-arm.h,: New files.
6942         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
6943         config/ia64/t-eh-ia64, config/ia64/t-glibc,
6944         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
6945         config/ia64/t-vms, config/ia64/unwind-ia64.c,
6946         config/ia64/unwind-ia64.h: New files.
6947         * config/picochip/t-picochip: New file.
6948         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
6949         files.
6950         * config/rs6000/t-darwin (LIB2ADDEH): Set.
6951         * config/s390/t-tpf (LIB2ADDEH): Remove.
6952         * config/t-darwin (LIB2ADDEH): Set.
6953         * config/t-eh-dw2-dip: New file.
6954         * config/t-libunwind, config/t-libunwind-elf: New files.
6955         * config/t-sol2 (LIB2ADDEH): Remove.
6956         * config/xtensa/t-xtensa: New file.
6958 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
6960         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
6961         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
6962         long long to check rt_sigreturn syscall.
6964 2011-08-02  Alan Modra  <amodra@gmail.com>
6966         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
6967         Restore for indirect call bcrtl from correct stack slot, and only
6968         if cfa+40 isn't valid.
6970 2011-08-01  Julian Brown  <julian@codesourcery.com>
6972         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
6973         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
6974         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
6976 2011-08-01  Julian Brown  <julian@codesourcery.com>
6978         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
6979         (libgcc-std.ver.in): Use above.
6980         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
6981         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
6982         throughout file.
6983         * config/t-fixedpoint-gnu-prefix: New file.
6984         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
6985         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
6986         instead of __PFX__.
6988 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
6990         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
6991         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
6992         for x86-64.  Properly check __x86_64__ and __LP64__.
6994 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
6996         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
6997         version.
6998         (_FP_WS_TYPE): Likewise.
6999         (_FP_I_TYPE): Likewise.
7001 2011-07-28  Alan Modra  <amodra@gmail.com>
7003         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7004         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
7005         in a plt call stub.  Do restore r2 if stopped on bctrl.
7007 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7009         * config.host (i[3456x]86-*-netware*): Remove.
7010         * config/i386/netware-crt0.c, config/i386/t-nwld,
7011         config/i386/t-slibgcc-nwld: Remove.
7013 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
7015         * config.host: Handle tic6x-*-*.
7016         * config/c6x/c6x-abi.h: New file.
7018 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7020         * config/i386/crtprec.c: New file.
7021         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
7022         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
7023         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
7024         (x86_64-*-darwin*): Likewise.
7025         (i[34567]86-*-solaris2*: Likewise.
7027 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7029         * config/alpha/crtfastmath.c: New file.
7030         * config/i386/crtfastmath.c: New file.
7031         * config/ia64/crtfastmath.c: New file.
7032         * config/mips/crtfastmath.c: New file.
7033         * config/sparc/crtfastmath.c: New file.
7035         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
7036         crtfastmath.c.
7037         Add -frandom-seed=gcc-crtfastmath.
7038         * config/alpha/t-crtfm: Remove.
7039         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
7040         * config/ia64/t-ia64 (crtfastmath.o): Remove.
7042         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
7043         (alpha*-dec-osf5.1*): Likewise.
7044         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
7045         Add crtfastmath.o to extra_parts.
7046         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
7047         Add crtfastmath.o to extra_parts.
7048         (x86_64-*-darwin*): Likewise.
7049         (x86_64-*-mingw*): Likewise.
7050         (ia64*-*-elf*): Add t-crtfm to tmake_file.
7051         (ia64*-*-freebsd*): Likewise.
7052         (ia64*-*-linux*): Likewise.
7053         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
7054         Add crtfastmath.o to extra_parts.
7056 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7058         * config/darwin-crt3.o: New file.
7059         * config/rs6000/darwin-crt2.c: New file.
7060         * config/t-darwin: New file.
7061         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
7062         (crt2.o): New rule.
7063         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
7064         (powerpc-*-darwin*): Add crt2.o to extra_parts.
7065         (powerpc64-*-darwin*): Likewise.
7067 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7069         * config/i386/netware-crt0.c: New file.
7070         * config/i386/t-nwld: Rename to ...
7071         * config/i386/t-slibgcc-nwld: ... this.
7072         * config/i386/t-nwld: New file.
7073         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
7074         tmake_file.
7075         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
7076         extra_parts.
7078 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7080         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
7081         i386/t-crtstuff.
7082         * configure: Regenerate.
7084 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7086         * dfp-bit.c, dfp-bit.h: New files.
7087         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
7088         variables.
7089         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
7090         ($(d64pbit-o)): Likewise.
7091         ($(d128pbit-o)): Likewise.
7092         * config/t-dfprules: New file.
7093         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
7094         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
7095         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7096         (x86_64-*-linux*): Likewise.
7097         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7098         (i[34567]86-*-cygwin*): Likewise.
7099         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
7100         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7102 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7104         * Makfile.in (LIBGCOV): New variable.
7105         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
7106         * libgcov.c: New file.
7108 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7110         * fixed-bit.c, fixed-bit.h: New files.
7111         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
7112         refer to fixed-bit.c.
7114 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
7116         * config.host (*local*): Remove.
7118 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7120         PR target/39150
7121         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
7122         like i?86-*-solaris2.1[0-9]*.
7123         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
7124         * configure.ac (i?86-*-solaris2*): Likewise.
7125         * configure: Regenerate.
7127 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
7129         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7130         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
7131         md_unwind_header by splitting out of...
7132         (i[34567]86-*-linux*): ... this.
7133         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
7134         Remove md_unwind_header by splitting out of...
7135         (x86_64-*-linux*): ... this.
7137 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
7139         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
7141 2011-06-28  Nick Clifton  <nickc@redhat.com>
7143         * config.host: Recognize all V850 variants.
7145 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
7147         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
7149 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7151         * shared-object.mk (c_flags-$o): Save c_flags.
7152         ($(base)$(objext)): Use it.
7153         ($(base)_s$(objext)): Likewise.
7155 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
7157         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
7158         * libgcc-std.ver.in (GCC_4.7.0): New section.
7160 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
7162         PR target/49313
7163         PR target/29524
7164         * config/avr/t-avr: Fix line endings.
7165         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
7166         _parityXX2.
7168 2011-06-14  Olivier Hainque  <hainque@adacore.com>
7169             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7171         * config/mips/irix6-unwind.h: New file.
7172         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
7174 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
7176         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
7177         (sparc64_fallback_frame_state): Use it.
7178         (sparc64_frob_update_context): Further adjust context.
7179         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
7180         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
7181         * config/sparc/sol2-cn.S: Likewise.
7183 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7185         * enable-execute-stack-empty.c: New file.
7186         * enable-execute-stack-mprotect.c: New file.
7187         * config/i386/enable-execute-stack-mingw32.c: New file.
7188         * config.host (enable_execute_stack): New variable.
7189         Select appropriate variants.
7190         * configure.ac: Link enable-execute-stack.c to
7191         $enable_execute_stack.
7192         * configure: Regenerate.
7193         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
7194         (lib2funcs): Remove _enable_execute_stack.
7196 2011-06-09  David S. Miller  <davem@davemloft.net>
7197             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7199         * config.host (sparc-*-linux*): Correct md_unwind_header
7200         filename.
7201         (s390x-ibm-tpf*): Fix typo.
7203 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7205         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
7206         Add crtfastmath.o to extra_parts.
7207         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
7208         mips/t-crtfm.
7209         * config/mips/t-crtfm: Remove.
7211 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7213         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
7215 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
7217         * config.host (sh*-*-linux*): Fix typo.
7219 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7221         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
7222         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
7223         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
7224         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
7225         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
7226         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
7227         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
7228         Wrap in !__MINGW64__.
7229         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
7230         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
7231         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
7232         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
7233         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
7234         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
7235         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
7236         Wrap in !__LP64__.
7237         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
7238         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
7239         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
7240         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
7241         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
7242         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
7243         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
7244         * config/no-unwind.h: New file.
7245         * config.host (md_unwind_header): Document.
7246         Define.
7247         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
7248         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
7249         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
7250         hppa[12]*-*-hpux11*): Set md_unwind_header.
7251         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
7252         Set md_unwind_header.
7253         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
7254         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
7255         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
7256         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
7257         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
7258         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
7259         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
7260         md_unwind_header.
7261         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
7262         * configure: Regenerate.
7264 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7266         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
7267         Set tmake_file, extra_parts.
7268         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
7269         Remove O32 support.
7270         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
7271         Remove O32 support.
7272         * config/mips/t-irix6: New file.
7273         * config/mips/t-slibgcc-irix: New file.
7275 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7277         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
7278         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
7280 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7282         * configure.ac (target_thread_file): Determine thread model.
7283         * configure: Regenerate.
7284         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
7285         * config/alpha/t-alpha: New file.
7286         * config/alpha/t-crtfm: Use $<.
7287         * config/alpha/t-ieee: New file.
7288         * config/alpha/t-osf-pthread: New file.
7289         * config/alpha/t-slibgcc-osf: New file.
7290         * config/alpha/libgcc-osf5.ver: New file.
7292 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7294         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
7295         tmake_file.
7296         Add crtfastmath.o to extra_parts.
7298 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7300         * config/gmon-sol2.c: Reindent.
7301         Cleanup comments.
7302         Remove, correct casts.
7303         Use STDERR_FILENO, NULL.
7304         (BASEADDRESS): Remove.
7305         (minbrk): Remove.
7306         (errno, sbrk): Remove declarations.
7307         (monstartup) [hp300]: Remove.
7308         (mcount): Remove.
7310 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7312         * Makefile.in (cpu_type): Define.
7313         * config.host (i[34567]86-*-rtems*): Handle it.
7314         (i[34567]86-*-solaris2*): Move body ...
7315         (*-*-solaris2*): ... here.
7316         New case, generalize.
7317         (sparc-*-elf*): Handle it.
7318         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
7319         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
7320         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
7321         Fold into ...
7322         (sparc*-*-solaris2*): ... this.
7323         New case.
7324         (sparc64-*-elf*): Handle it.
7325         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
7326         Merge ../gcc/config/i386/gmon-sol2.c.
7327         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
7328         Use C comments.
7329         Merge ../gcc/config/i386/sol2-gc1.asm.
7330         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
7331         Use C comments.
7332         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
7333         Use C comments.
7334         * config/i386/t-crtfm (crtfastmath.o): Use $<.
7335         * config/i386/t-crtstuff: New file.
7336         * config/i386/t-softfp: New file.
7337         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
7338         $(T)crti.o, $(T)crtn.o): Remove.
7339         (gcrt1.o): New rule.
7340         (TARGET_LIBGCC2_CFLAGS): Remove.
7341         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
7342         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
7343         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
7344         * config/sparc/t-sol2: New file.
7345         * config/sparc/t-crtfm: Move to ...
7346         * config/t-crtfm: ... this.
7347         Use $(cpu_type), $<.
7348         * config/t-crtin: New file.
7349         * config/sparc/t-softfp: New file.
7350         * config/sparc/t-softmul: New file.
7351         * config/t-rtems: New file.
7352         * config/t-slibgcc: New file.
7353         * config/t-slibgcc-elf-ver: New file.
7354         * config/t-slibgcc-gld: New file.
7355         * config/t-slibgcc-sld: New file.
7356         * config/t-sol2: New file.
7357         * configure.ac: Include ../config/lib-ld.m4.
7358         Call AC_LIB_PROG_LD_GNU.
7359         Substitute cpu_type.
7360         * configure: Regenerate.
7362 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
7364         PR bootstrap/49173
7365         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
7366         libgcc-std.ver in the build directory.
7367         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
7368         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
7370 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
7372         * libgcc-std.ver.in: New file.
7373         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
7374         variables.
7375         (libgcc-std.ver): New rule.
7376         * config/t-gnu-prefix: New file.
7378 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7380         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
7382 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
7384         * config/i386/darwin-lib.h: New file.
7386 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
7388         * config/arm/symbian-lib.h: New.
7390 2011-05-04  Chris Demetriou  <cgd@google.com>
7392         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
7393         (__x86.get_pc_thunk.bx): ...this.
7394         (__morestack): Adjust for rename, remove undef of __i686.
7396 2011-05-03  Chris Demetriou  <cgd@google.com>
7398         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
7400 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
7402         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
7403         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
7404         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
7405         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
7406         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
7407         Remove cases.
7409 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
7411         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
7412         Adjust copyright year.
7414 2011-03-07  Ian Lance Taylor  <iant@google.com>
7416         * generic-morestack.c (__splitstack_find): Adjust returned stack
7417         pointer to include all registers pushed by __morestack.
7419 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
7421         PR target/40125
7422         * configure.ac: Call ACX_NONCANONICAL_TARGET.
7423         (toolexecdir): Calculate and AC_SUBST.
7424         (toolexeclibdir): Likewise.
7425         * Makefile.in (target_noncanonical): Import.
7426         (toolexecdir): Likewise.
7427         (toolexeclibdir): Likewise.
7428         * configure: Regenerate.
7430 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
7432         PR target/46040
7433         * config/arm/bpabi.h: Rename to...
7434         * config/arm/bpabi-lib.h: ...this.
7436 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7438         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
7439         appropriate.
7440         * configure: Regenerate.
7442 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
7444         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
7445         __FLOAT_WORD_ORDER__.
7446         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
7447         Delete.
7449 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7451         PR other/46202
7452         * Makefile.in (install-strip): New phony target.
7454 2010-11-07  Ian Lance Taylor  <iant@google.com>
7456         PR target/46089
7457         * config/i386/morestack.S (__morestack_large_model): New
7458         function.
7460 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
7462         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
7463         Delete.
7464         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
7466 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
7468         * config/arm/bpabi.h: New file.
7469         * config/frv/frv-abi.h: New file.
7471 2010-10-01  Ian Lance Taylor  <iant@google.com>
7473         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
7474         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
7476 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
7478         PR target/45858
7479         * config.host: Add the missing `$'.
7481 2010-09-30  Michael Eager  <eager@eagercon.com>
7483         * config.host: Add microblaze*-*-*.
7484         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
7485         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
7486         udivsi3.asm,umodsi3.asm}:  New.
7488 2010-09-28  Ian Lance Taylor  <iant@google.com>
7490         * configure.ac: Adjust CFI test to test assembler directly rather
7491         than checking gcc preprocessor macro.
7492         * configure: Rebuild.
7494 2010-09-27  Ian Lance Taylor  <iant@google.com>
7496         * configure.ac: Test whether assembler supports CFI directives.
7497         * config.host: Only add t-stack and i386/t-stack-i386 to
7498         tmake_file if libgcc_cv_cfi is "yes".
7499         * configure: Rebuild.
7501 2010-09-27  Ian Lance Taylor  <iant@google.com>
7503         * generic-morestack.h: New file.
7504         * generic-morestack.c: New file.
7505         * generic-morestack-thread.c: New file.
7506         * config/i386/morestack.S: New file.
7507         * config/t-stack: New file.
7508         * config/i386/t-stack-i386: New file.
7509         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
7510         i386/t-stack-i386 to tmake_file.
7512 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
7514         * Makefile.in (libgcc-extra-parts):  Check for static archives and
7515         invoke ranlib after installing them.
7516         (gcc-extra-parts): Likewise.
7517         (install-leaf): Likewise.
7519 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
7521         * configure: Regenerated.
7523 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
7525         * configure: Regenerated.
7527 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
7528             Andrew Pinski  <pinskia@gmail.com>
7530         PR target/40959
7531         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
7533 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7535         PR target/45524
7536         * configure: Regenerated.
7538 2010-09-06  Andreas Schwab  <schwab@redhat.com>
7540         * configure: Regenerate.
7542 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
7544         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
7545         64bit targets.
7546         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
7547         for 64bit targets.
7549 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
7550             Iain Sandoe  <iains@gcc.gnu.org>
7552         PR target/45476
7553         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
7554         LIB2FUNCS_EXCLUDE functions.
7556 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7558         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
7559         Include dfp.m4.
7560         * configure: Regenerate.
7562 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
7564         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
7565         i386/t-freebsd to tmake_file.
7566         * config/i386/t-freebsd: New file.
7567         * config/i386/libgcc-bsd.ver: New file.
7569 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
7571         * config.host (powerpc*-eabispe*): Set tmake_file.
7572         (powerpc*-eabi*): Likewise.
7573         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
7574         crtbeginS, crtendS, crtbeginT.
7576 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
7578         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
7579         to tmake_file.  Add crtfastmath.o to extra_parts.
7580         * config/mips/t-crtfm: New.
7582 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
7584         * config.host (sparc64-*-rtems*): New target.
7586 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7588         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7589         assembler syntax.
7591 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
7593         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
7595 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7597         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
7598         alpha-dec-osf5.0* support.
7600 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
7602         * config.host: Add lm32-*-rtems*.
7604 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7605             Uros Bizjak  <ubizjak@gmail.com>
7607         PR target/39048
7608         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
7609         like other remaining 32-bit x86 OSes.
7610         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7611         assembler syntax.
7612         * config/i386/libgcc-sol2.ver: New file.
7613         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
7615 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
7617         PR c/43553
7618         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
7619         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
7620         is used and substitute set_use_emutls.
7621         * configure: Regenerated.
7623 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
7625         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
7627 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7629         PR target/38085
7630         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
7631         MULTILIB_CFLAGS.
7632         ($(T)gcrt1.o): Likewise.
7633         ($(T)crt1.o): Likewise.
7634         ($(T)crti.o): Likewise.
7635         ($(T)crtn.o): Likewise.
7637 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7639         PR other/42980
7640         * Makefile.in (install): Use $(MAKE) string in rule, for
7641         parallel make.
7643 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
7645         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
7646         * config/mmix/t-mmix: New file.
7647         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
7649 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
7651         PR java/41991
7652         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
7653         SHLIB_MAPFILES.
7655 2010-01-04  Anthony Green  <green@moxielogic.com>
7657         * config/moxie/crti.asm, config/moxie/crtn.asm,
7658         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
7659         config/moxie/t-moxie: New files.
7660         * config.host: Add t-moxie-softfp reference.
7662 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
7664         PR other/39888
7665         * config/t-slibgcc-darwin: Fix embedded rpaths for
7666         --enable-version-specific-runtime-libs, build extension stub
7667         libs exposing features available from current libgcc_s.
7669 2009-11-11  Jon Beniston  <jon@beniston.com>
7671         * config.host: Add lm32 targets.
7672         * config/lm32: New directory.
7673         * config/lm32/libgcc_lm32.h: New file.
7674         * config/lm32/_mulsi3.c: New file.
7675         * config/lm32/_udivmodsi4.c: New file.
7676         * config/lm32/_divsi3.c: New file.
7677         * config/lm32/_modsi3.c: New file.
7678         * config/lm32/_udivsi3.c: New file.
7679         * config/lm32/_umodsi3.c: New file.
7680         * config/lm32/_lshrsi3.S: New file.
7681         * config/lm32/_ashrsi3.S: New file.
7682         * config/lm32/_ashlsi3.S: New file.
7683         * config/lm32/crti.S: New file.
7684         * config/lm32/crtn.S: New file.
7685         * config/lm32/t-lm32: New file.
7686         * config/lm32/t-elf: New file.
7687         * config/lm32/t-uclinux: New file.
7689 2009-10-26  Nick Clifton  <nickc@redhat.com>
7691         * config.host: Add support for RX target.
7692         * config/rx: New directory.
7693         * config/rx/rx-abi-functions.c: New file. Supplementary
7694         functions for libgcc to support the RX ABI.
7695         * config/rx/rx-abi.h: New file.  Supplementary header file for
7696         libgcc RX ABI functions.
7697         * config/rx/t-rx: New file: Makefile fragment for building
7698         libgcc for the RX.
7700 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
7702         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
7703         constraint of y0 to "g".
7705 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7707         * config.host: Include the s390 makefile fragments.
7708         * config/s390/32/_fixdfdi.c: New file.
7709         * config/s390/32/_fixsfdi.c: New file.
7710         * config/s390/32/_fixtfdi.c: New file.
7711         * config/s390/32/_fixunsdfdi.c: New file.
7712         * config/s390/32/_fixunssfdi.c: New file.
7713         * config/s390/32/_fixunstfdi.c: New file.
7714         * config/s390/32/t-floattodi: New file.
7715         * config/s390/libgcc-glibc.ver: New file.
7716         * config/s390/t-crtstuff: New file.
7717         * config/s390/t-linux: New file.
7718         * config/s390/t-tpf: New file.
7720 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7722         * configure.ac (AC_PREREQ): Bump to 2.64.
7724 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
7726         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
7728 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7730         * configure: Regenerate.
7732 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
7734         * config.host (ia64-hp-*vms*): New target.
7735         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
7736         with ia64-hp-*vms*.
7738 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7740         * configure.ac: Add snippet for maintainer-mode.
7741         * configure: Regenerate.
7742         * Makefile.in (AUTOCONF, configure_deps): New variables.
7743         ($(srcdir)/configure)): New rule, active only with maintainer
7744         mode turned on.
7746 2009-06-23  DJ Delorie  <dj@redhat.com>
7748         Add MeP port.
7749         * config.host: Add mep support.
7751 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
7753         * config.host: Add i386/${host_address}/t-fprules-softfp and
7754         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
7756         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
7757         for mingw targets.
7758         * config/i386/64/_multc3.c: Likewise.
7759         * config/i386/64/_powitf2.c: Likewise.
7760         * config/i386/64/eqtf2.c: Likewise.
7761         * config/i386/64/getf2.c: Likewise.
7762         * config/i386/64/letf2.c: Likewise.
7763         * config/i386/64/letf2.c: Likewise.
7764         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
7765         unsigned long long for x64 mingw targets.
7766         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
7767         (_FP_I_TYPE): Define as long long for x64 mingw target.
7769 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
7771         * config.host (vax-*-linux*): New.
7773 2009-05-31  Anthony Green  <green@moxielogic.com>
7775         * config.host: Add moxie support.
7776         * config/moxie/t-moxie: New file.
7778 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
7780         * config.host: Add i386/${host_address}/t-fprules-softfp and
7781         t-softfp to tmake_file for i[34567]86-*-cygwin*.
7783 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
7785         * config.host: Add i386/${host_address}/t-fprules-softfp to
7786         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
7788 2009-04-09  Nick Clifton  <nickc@redhat.com>
7790         * config/ia64/tf-signs.c: Change copyright header to refer to
7791         version 3 of the GNU General Public License with version 3.1
7792         of the GCC Runtime Library Exception and to point readers at
7793         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
7794         web page.
7795         * config/i386/32/tf-signs.c: Likewise.
7796         * config/libbid/_addsub_dd.c: Likewise.
7797         * config/libbid/_addsub_sd.c: Likewise.
7798         * config/libbid/_addsub_td.c: Likewise.
7799         * config/libbid/_dd_to_df.c: Likewise.
7800         * config/libbid/_dd_to_di.c: Likewise.
7801         * config/libbid/_dd_to_sd.c: Likewise.
7802         * config/libbid/_dd_to_sf.c: Likewise.
7803         * config/libbid/_dd_to_si.c: Likewise.
7804         * config/libbid/_dd_to_td.c: Likewise.
7805         * config/libbid/_dd_to_tf.c: Likewise.
7806         * config/libbid/_dd_to_udi.c: Likewise.
7807         * config/libbid/_dd_to_usi.c: Likewise.
7808         * config/libbid/_dd_to_xf.c: Likewise.
7809         * config/libbid/_df_to_dd.c: Likewise.
7810         * config/libbid/_df_to_sd.c: Likewise.
7811         * config/libbid/_df_to_td.c: Likewise.
7812         * config/libbid/_di_to_dd.c: Likewise.
7813         * config/libbid/_di_to_sd.c: Likewise.
7814         * config/libbid/_di_to_td.c: Likewise.
7815         * config/libbid/_div_dd.c: Likewise.
7816         * config/libbid/_div_sd.c: Likewise.
7817         * config/libbid/_div_td.c: Likewise.
7818         * config/libbid/_eq_dd.c: Likewise.
7819         * config/libbid/_eq_sd.c: Likewise.
7820         * config/libbid/_eq_td.c: Likewise.
7821         * config/libbid/_ge_dd.c: Likewise.
7822         * config/libbid/_ge_sd.c: Likewise.
7823         * config/libbid/_ge_td.c: Likewise.
7824         * config/libbid/_gt_dd.c: Likewise.
7825         * config/libbid/_gt_sd.c: Likewise.
7826         * config/libbid/_gt_td.c: Likewise.
7827         * config/libbid/_isinfd128.c: Likewise.
7828         * config/libbid/_isinfd32.c: Likewise.
7829         * config/libbid/_isinfd64.c: Likewise.
7830         * config/libbid/_le_dd.c: Likewise.
7831         * config/libbid/_le_sd.c: Likewise.
7832         * config/libbid/_le_td.c: Likewise.
7833         * config/libbid/_lt_dd.c: Likewise.
7834         * config/libbid/_lt_sd.c: Likewise.
7835         * config/libbid/_lt_td.c: Likewise.
7836         * config/libbid/_mul_dd.c: Likewise.
7837         * config/libbid/_mul_sd.c: Likewise.
7838         * config/libbid/_mul_td.c: Likewise.
7839         * config/libbid/_ne_dd.c: Likewise.
7840         * config/libbid/_ne_sd.c: Likewise.
7841         * config/libbid/_ne_td.c: Likewise.
7842         * config/libbid/_sd_to_dd.c: Likewise.
7843         * config/libbid/_sd_to_df.c: Likewise.
7844         * config/libbid/_sd_to_di.c: Likewise.
7845         * config/libbid/_sd_to_sf.c: Likewise.
7846         * config/libbid/_sd_to_si.c: Likewise.
7847         * config/libbid/_sd_to_td.c: Likewise.
7848         * config/libbid/_sd_to_tf.c: Likewise.
7849         * config/libbid/_sd_to_udi.c: Likewise.
7850         * config/libbid/_sd_to_usi.c: Likewise.
7851         * config/libbid/_sd_to_xf.c: Likewise.
7852         * config/libbid/_sf_to_dd.c: Likewise.
7853         * config/libbid/_sf_to_sd.c: Likewise.
7854         * config/libbid/_sf_to_td.c: Likewise.
7855         * config/libbid/_si_to_dd.c: Likewise.
7856         * config/libbid/_si_to_sd.c: Likewise.
7857         * config/libbid/_si_to_td.c: Likewise.
7858         * config/libbid/_td_to_dd.c: Likewise.
7859         * config/libbid/_td_to_df.c: Likewise.
7860         * config/libbid/_td_to_di.c: Likewise.
7861         * config/libbid/_td_to_sd.c: Likewise.
7862         * config/libbid/_td_to_sf.c: Likewise.
7863         * config/libbid/_td_to_si.c: Likewise.
7864         * config/libbid/_td_to_tf.c: Likewise.
7865         * config/libbid/_td_to_udi.c: Likewise.
7866         * config/libbid/_td_to_usi.c: Likewise.
7867         * config/libbid/_td_to_xf.c: Likewise.
7868         * config/libbid/_tf_to_dd.c: Likewise.
7869         * config/libbid/_tf_to_sd.c: Likewise.
7870         * config/libbid/_tf_to_td.c: Likewise.
7871         * config/libbid/_udi_to_dd.c: Likewise.
7872         * config/libbid/_udi_to_sd.c: Likewise.
7873         * config/libbid/_udi_to_td.c: Likewise.
7874         * config/libbid/_unord_dd.c: Likewise.
7875         * config/libbid/_unord_sd.c: Likewise.
7876         * config/libbid/_unord_td.c: Likewise.
7877         * config/libbid/_usi_to_dd.c: Likewise.
7878         * config/libbid/_usi_to_sd.c: Likewise.
7879         * config/libbid/_usi_to_td.c: Likewise.
7880         * config/libbid/_xf_to_dd.c: Likewise.
7881         * config/libbid/_xf_to_sd.c: Likewise.
7882         * config/libbid/_xf_to_td.c: Likewise.
7883         * config/libbid/bid128.c: Likewise.
7884         * config/libbid/bid128_2_str.h: Likewise.
7885         * config/libbid/bid128_2_str_macros.h: Likewise.
7886         * config/libbid/bid128_2_str_tables.c: Likewise.
7887         * config/libbid/bid128_add.c: Likewise.
7888         * config/libbid/bid128_compare.c: Likewise.
7889         * config/libbid/bid128_div.c: Likewise.
7890         * config/libbid/bid128_fma.c: Likewise.
7891         * config/libbid/bid128_logb.c: Likewise.
7892         * config/libbid/bid128_minmax.c: Likewise.
7893         * config/libbid/bid128_mul.c: Likewise.
7894         * config/libbid/bid128_next.c: Likewise.
7895         * config/libbid/bid128_noncomp.c: Likewise.
7896         * config/libbid/bid128_quantize.c: Likewise.
7897         * config/libbid/bid128_rem.c: Likewise.
7898         * config/libbid/bid128_round_integral.c: Likewise.
7899         * config/libbid/bid128_scalb.c: Likewise.
7900         * config/libbid/bid128_sqrt.c: Likewise.
7901         * config/libbid/bid128_string.c: Likewise.
7902         * config/libbid/bid128_to_int16.c: Likewise.
7903         * config/libbid/bid128_to_int32.c: Likewise.
7904         * config/libbid/bid128_to_int64.c: Likewise.
7905         * config/libbid/bid128_to_int8.c: Likewise.
7906         * config/libbid/bid128_to_uint16.c: Likewise.
7907         * config/libbid/bid128_to_uint32.c: Likewise.
7908         * config/libbid/bid128_to_uint64.c: Likewise.
7909         * config/libbid/bid128_to_uint8.c: Likewise.
7910         * config/libbid/bid32_to_bid128.c: Likewise.
7911         * config/libbid/bid32_to_bid64.c: Likewise.
7912         * config/libbid/bid64_add.c: Likewise.
7913         * config/libbid/bid64_compare.c: Likewise.
7914         * config/libbid/bid64_div.c: Likewise.
7915         * config/libbid/bid64_fma.c: Likewise.
7916         * config/libbid/bid64_logb.c: Likewise.
7917         * config/libbid/bid64_minmax.c: Likewise.
7918         * config/libbid/bid64_mul.c: Likewise.
7919         * config/libbid/bid64_next.c: Likewise.
7920         * config/libbid/bid64_noncomp.c: Likewise.
7921         * config/libbid/bid64_quantize.c: Likewise.
7922         * config/libbid/bid64_rem.c: Likewise.
7923         * config/libbid/bid64_round_integral.c: Likewise.
7924         * config/libbid/bid64_scalb.c: Likewise.
7925         * config/libbid/bid64_sqrt.c: Likewise.
7926         * config/libbid/bid64_string.c: Likewise.
7927         * config/libbid/bid64_to_bid128.c: Likewise.
7928         * config/libbid/bid64_to_int16.c: Likewise.
7929         * config/libbid/bid64_to_int32.c: Likewise.
7930         * config/libbid/bid64_to_int64.c: Likewise.
7931         * config/libbid/bid64_to_int8.c: Likewise.
7932         * config/libbid/bid64_to_uint16.c: Likewise.
7933         * config/libbid/bid64_to_uint32.c: Likewise.
7934         * config/libbid/bid64_to_uint64.c: Likewise.
7935         * config/libbid/bid64_to_uint8.c: Likewise.
7936         * config/libbid/bid_b2d.h: Likewise.
7937         * config/libbid/bid_binarydecimal.c: Likewise.
7938         * config/libbid/bid_conf.h: Likewise.
7939         * config/libbid/bid_convert_data.c: Likewise.
7940         * config/libbid/bid_decimal_data.c: Likewise.
7941         * config/libbid/bid_decimal_globals.c: Likewise.
7942         * config/libbid/bid_div_macros.h: Likewise.
7943         * config/libbid/bid_dpd.c: Likewise.
7944         * config/libbid/bid_flag_operations.c: Likewise.
7945         * config/libbid/bid_from_int.c: Likewise.
7946         * config/libbid/bid_functions.h: Likewise.
7947         * config/libbid/bid_gcc_intrinsics.h: Likewise.
7948         * config/libbid/bid_inline_add.h: Likewise.
7949         * config/libbid/bid_internal.h: Likewise.
7950         * config/libbid/bid_round.c: Likewise.
7951         * config/libbid/bid_sqrt_macros.h: Likewise.
7953 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
7955         * Makefile.in: Change copyright header to refer to version
7956         3 of the GNU General Public License and to point readers at the
7957         COPYING3 file and the FSF's license web page.
7958         * config.host: Likewise.
7960 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
7962         * config.host: Reorder and merge to match config.gcc change.
7964 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
7966         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
7968 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
7970         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
7971         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
7972         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
7973         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
7975 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
7977         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
7978         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
7980 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
7982         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
7983         ia64/t-softfp-compat to tmake_file.
7985         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
7987         * config/ia64/__divxf3.asm: New.
7988         * config/ia64/_fixtfdi.asm: Likewise.
7989         * config/ia64/_fixunstfdi.asm: Likewise.
7990         * config/ia64/_floatditf.asm: Likewise.
7991         * config/ia64/t-fprules-softfp: Likewise.
7992         * config/ia64/t-softfp-compat: Likewise.
7993         * config/ia64/tf-signs.c: Likewise.
7995 2009-01-18  Ben Elliston  <bje@au.ibm.com>
7997         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
7999 2009-01-16  Ben Elliston  <bje@au.ibm.com>
8001         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
8002         to tmake_file.
8004 2009-01-13  Ben Elliston  <bje@au.ibm.com>
8006         * config/t-softfp: New file.
8007         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
8008         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
8010 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
8012         * config.host: Add m32r*-*-rtems*.
8014 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
8016         * config.host: Add m32c*-*-rtems*.
8018 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8020         PR bootstrap/33100
8021         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
8022         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
8023         * configure: Regenerate.
8024         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
8025         tmake_file here from gcc/config.gcc.
8026         Move extra_parts here from gcc/config.gcc.
8027         * config/i386/t-sol2: Move here from gcc/config/i386.
8028         Use gcc_srcdir instead of srcdir.
8030 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
8032         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
8033         case.
8035 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
8037         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
8039 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
8041         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
8043 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
8045         Add picoChip port.
8046         * config.host: Add picochip-*-*.
8048 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
8050         * config.host: Match more processor names for Xtensa.
8052 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
8054         * config/i386/64/t-softfp-compat: Update comments.
8056 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8058         * config/i386/64/_divtc3-compat.c: Moved to ...
8059         * config/i386/64/_divtc3.c: Here.
8061         * config/i386/64/_multc3-compat.c: Moved to ...
8062         * config/i386/64/_multc3.c: Here.
8064         * config/i386/64/_powitf2-compat.c: Moved to ...
8065         * config/i386/64/_powitf2.c: Here.
8067         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
8068         .c suffix instead of -compat.c.
8070 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
8072         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
8073         (_FP_MUL_MEAT_D): Ditto.
8074         (_FP_DIV_MEAT_S): Ditto.
8075         (_FP_DIV_MEAT_D): Ditto.
8077 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
8079         * Makefile.in: Add support for __sync_* libgcc functions.
8081 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
8083         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
8085 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8087         PR boostrap/36702
8088         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
8089         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
8091         * config/i386/64/t-fprules-softfp: Moved to ...
8092         * config/i386/64/t-softfp-compat: This.  New.
8094 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
8096         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
8097         Initialize f with 0.0.
8099 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8101         PR target/36669
8102         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
8104         * config/i386/64/_divtc3-compat.c: New.
8105         * config/i386/64/_multc3-compat.c: Likewise.
8106         * config/i386/64/_powitf2-compat.c: Likewise.
8107         * config/i386/64/eqtf2.c: Likewise.
8108         * config/i386/64/getf2.c: Likewise.
8109         * config/i386/64/letf2.c: Likewise.
8110         * config/i386/64/t-fprules-softfp: Likewise.
8112 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8114         * config.host: Add i386/${host_address}/t-fprules-softfp to
8115         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
8116         i[34567]86-*-linux*, x86_64-*-linux*.
8118         * configure.ac: Set host_address to 64 or 32 for x86.
8119         * configure: Regenerated.
8121         * Makefile.in (config.status): Also depend on
8122         $(srcdir)/config.host.
8124         * config/i386/32/t-fprules-softfp: New.
8125         * config/i386/32/tf-signs.c: Likewise.
8127         * config/i386/64/sfp-machine.h: New. Moved from gcc.
8129 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8130             Uros Bizjak  <ubizjak@gmail.com>
8132         * config/i386/32/sfp-machine.h: New.
8134 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
8136         * config/rs6000/t-ppccomm: Remove rules that conflict with
8137         auto-generated rules.
8139 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8141         * configure.ac: sinclude override.m4.
8142         * configure: Regenerate.
8144 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
8146         * configure: Regenerate.
8148 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
8150         * Makefile.in (DECNUMINC): Remove
8151         -I$(MULTIBUILDTOP)../../libdecnumber.
8152         * gstdint.h: New.
8154 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
8156         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
8157         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
8158         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
8159         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
8160         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
8161         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
8162         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
8163         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
8164         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
8165         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
8166         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
8167         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
8168         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
8169         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
8171 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
8173         * config.host (sh2[lbe]*-*-linux*): Allow target.
8175 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
8177         * config/rs6000/t-ppccomm: Add build rules for new files.
8178         (LIB2ADD_ST): New variable.
8180 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
8182         PR target/34210
8183         PR target/35508
8184         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
8185         * config/t-avr: New file. Build 16bit libgcc functions.
8187 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
8189         PR target/35401
8190         * config/t-slibgcc-darwin: Make install-leaf dependent on
8191         install-darwin-libgcc-stubs instead of install.
8193 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
8195         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
8196         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
8197         sh-*-rtemscoff*): Remove cases.
8199 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
8201         * Makefile.in (all): Use install-leaf rather than install.
8202         (install): Split most of the rule into...
8203         (install-leaf): ...this new one.
8205 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
8206             Paolo Bonzini  <bonzini@gnu.org>
8208         PR target/30572
8209         * Makefile.in: Use @shlib_slibdir@ substitution to get
8210         correct install name on darwin.
8211         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
8213 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
8215         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
8216         cris-*-elf and cris-*-none.
8217         (crisv32-*-linux*): Similar, as cris-*-linux*.
8219 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
8221         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
8223 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
8225         PR regression/33926
8226         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
8227         * configure: Regenerated.
8229 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
8231         * Makefile.in (dfp-filenames): Replace decimal_globals,
8232         decimal_data, binarydecimal and convert_data with
8233         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
8234         and bid_convert_data, respectively.
8236 2007-09-17  Chao-ying Fu  <fu@mips.com>
8237             Nigel Stephens  <nigel@mips.com>
8239         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
8240         * Makefile.in (fixed_point): Define.
8241         Check if fixed_point is yes to build support functions.
8242         * configure.ac: Check for fixed_point support.
8243         * configure: Regenerated.
8244         * gen-fixed.sh: New file to generate lists of fixed-point labels,
8245         funcs, modes, from, to.
8247 2007-09-11  Janis Johnson  <janis187@us.ibm.com
8249         * Makefile.in (dfp-filenames): Add bid128_noncomp.
8251 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
8253         * Makefile.in (dfp-filenames): Remove decUtility, add
8254         decDouble, decPacked, decQuad, decSingle.
8256 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
8258         * config.host : Add x86_64-elf target.
8260 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
8262         * configure.ac (set_have_cc_tls): Add a missing =.
8263         * configure: Regenerated.
8265 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
8267         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
8268         and x86_64-*-linux*.
8270         * config/t-tls: New file.
8272         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
8274         * configure.ac: Include ../config/enable.m4 and
8275         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
8276         supports TLS and substitute set_have_cc_tls.
8277         * configure: Regenerated.
8279 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
8281         * Makefile.in: Use libbid for DFP when BID is enabled.
8283 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
8285         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
8286         extra_parts. Add config/i386/t-cygming to tmake_file.
8287         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
8289 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
8290             Danny Smith  <dannysmith@users.sourceforge.net>
8292         PR target/29498
8293         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
8294         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
8295         * config/i386/t-crtfm: Compile crtfastmath.o with
8296         -minline-all-stringops.
8298 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
8300         * config.host (sparc-wrs-vxworks): New target.
8302 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
8304         * config.host: Recognize fido.
8306 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
8308         * configure: Check host, not target, for decimal float support.
8310 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
8312         * config/i386/t-crtpc: New file.
8313         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
8314         (x86_64-*-linux*): Ditto.
8316 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
8318         * config.host (x86_64-*-mingw*): New target.
8320 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
8321             H.J. Lu  <hongjiu.lu@intel.com>
8323         * Makefile.in (enable_decimal_float): New.
8324         (DECNUMINC): Add
8325         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
8326         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
8327         (decbits-filenames): This.
8328         (decbits-objects): New.
8329         (libgcc-objects): Add $(decbits-objects).
8331         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
8332         Substitute enable_decimal_float.
8333         * configure: Regenerated.
8335 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
8337         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
8339 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
8341         * Makefile.in (install-info): New dummy target.
8343 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
8345         * config.host (bfin*-linux-uclibc*): Set extra_parts.
8347 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
8349         * Makefile.in: Add install-html and install-pdf dummy
8350         targets.
8352 2007-02-05  Roger Sayle  <roger@eyesopen.com>
8353             Daniel Jacobowitz  <dan@codesourcery.com>
8355         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
8356         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
8357         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
8359 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
8361         * Makefile.in (dec-filenames): Add decExcept.
8363 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
8365         PR bootstrap/30469
8366         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
8367         -fprofile-use.
8369 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
8371         * configure.ac: Add --enable-version-specific-runtime-libs.
8372         Correct $slibdir default.
8373         * configure: Regenerated.
8375 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
8377         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
8379 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
8381         PR target/30519
8382         * config.host (alpha*-*-linux*): Set extra_parts.
8384 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
8386         * config/sh/t-linux: New.
8387         * config.host (sh*-*-linux*): Set tmake_file.
8389 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
8391         * Makefile.in (install): Handle multilibs.
8393 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
8395         * Makefile.in: Added .PHONY entry for documentation targets.
8397 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
8399         * Makefile.in: Add empty info, html, dvi, pdf targets.
8401 2007-01-04  Mike Stump  <mrs@apple.com>
8403         * Makefile.in (MAKEINFO): Remove.
8404         (PERL): Likewise.
8406 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
8408         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
8409         * configure: Regenerate.
8410         * Makefile.in (host_subdir): Substitute it.
8411         (gcc_objdir): Use it.
8413 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
8415         * config.host (ia64*-*-linux*): Set tmake_file.
8417 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
8419         * Makefile.in (version): Define.
8421 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
8422             Paolo Bonzini  <bonzini@gnu.org>
8424         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
8425         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
8426         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
8427         config/sparc/t-crtfm, config/t-slibgcc-darwin,
8428         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
8429         shared-object.mk, siditi-object.mk, static-object.mk: New files.
8430         * configure: Generated.
8432 Copyright (C) 2007-2017 Free Software Foundation, Inc.
8434 Copying and distribution of this file, with or without modification,
8435 are permitted in any medium without royalty provided the copyright
8436 notice and this notice are preserved.