re PR libfortran/70311 (libgfortran build dies on "implicit declaration of function...
[official-gcc.git] / libgcc / ChangeLog
blob44cbfdbac4a546521a77491d3f2b32bc62391dce
1 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
3         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
4         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
5         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
7 2016-12-17  Matthias Klose  <doko@ubuntu.com>
9         * config/arc/gmon: Remove empty directory.
11 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
13         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
14         crtgend.
15         (arc*-*-elf*): Likewise.
16         * config/arc/t-arc: Remove old gmon lib targets.
17         * config/arc/crtg.S: Remove.
18         * config/arc/crtgend.S: Likewise.
19         * config/arc/gmon/atomic.h: Likewise.
20         * config/arc/gmon/auxreg.h: Likewise.
21         * config/arc/gmon/dcache_linesz.S: Likewise.
22         * config/arc/gmon/gmon.c: Likewise.
23         * config/arc/gmon/machine-gmon.h: Likewise.
24         * config/arc/gmon/mcount.c: Likewise.
25         * config/arc/gmon/prof-freq-stub.S: Likewise.
26         * config/arc/gmon/prof-freq.c: Likewise.
27         * config/arc/gmon/profil.S: Likewise.
28         * config/arc/gmon/sys/gmon.h: Likewise.
29         * config/arc/gmon/sys/gmon_out.h: Likewise.
30         * config/arc/t-arc-newlib: Likewise.
31         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
33 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
35         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
37 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
39         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
40         R16 instead of push + pop.
41         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
43 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
45         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
46         tmake_file.
48 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
50         * config.host (arc*-*-linux-uclibc*): Use default extra
51         objects. Include linux-android header.
52         * config/arc/crti.S (_init): Declare symbol as function.
53         (_fini): Likewise.
55 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
57         PR fortran/78379
58         * config/i386/cpuinfo.c:  Move denums for processor vendors,
59         processor type, processor subtypes and declaration of
60         struct __processor_model into
61         * config/i386/cpuinfo.h:  New header file.
63 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
64             Thomas Preud'homme  <thomas.preudhomme@arm.com>
66         * config/arm/cmse_nonsecure_call.S: New.
67         * config/arm/t-arm: Compile cmse_nonsecure_call.S
69 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
70             Thomas Preud'homme  <thomas.preudhomme@arm.com>
72         * config/arm/t-arm (HAVE_CMSE): New.
73         * config/arm/cmse.c: New.
75 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
77         PR gcc/74748
78         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
79         use generic linker version information on Blackfin.
81         PR gcc/74748
82         * libgcc/mkmap-symver.awk: add support for skip_underscore
84 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
85             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
87         PR target/67710
88         *  config/t-darwin: Default builds to 10.5 codegen.
90 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
92         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
93         (_FP_NANSIGN_H): Likewise.
94         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
95         (softfp_truncations): Add tfhf.
96         (softfp_extras): Add required conversion functions.
98 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
99             Matthew Wahab  <matthew.wahab@arm.com>
101         * config/arm/fp16.c (binary64): New.
102         (__gnu_d2h_internal): New.
103         (__gnu_d2h_ieee): New.
104         (__gnu_d2h_alternative): New.
106 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
107             Matthew Wahab  <matthew.wahab@arm.com>
109         * config/arm/fp16.c (struct format): New.
110         (binary32): New.
111         (__gnu_float2h_internal): New.  Body moved from
112         __gnu_f2h_internal and generalize.
113         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
114         Call it with binary32.
116 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
118         * soft-fp/extendhftf2.c: Update from glibc.
119         * soft-fp/fixhfti.c: Likewise.
120         * soft-fp/fixunshfti.c: Likewise.
121         * soft-fp/floattihf.c: Likewise.
122         * soft-fp/floatuntihf.c: Likewise.
123         * soft-fp/half.h: Likewise.
124         * soft-fp/trunctfhf2.c: Likewise.
126 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
128         PR libgcc/77813
129         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
130         __TMC_END__ behind a passthrough asm.
132 2016-11-18  Walter Lee  <walt@tilera.com>
134         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
136 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
138         * config/i386/cpuinfo.c (processor_features): Add
139         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
141 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
143         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
144         (__ARC_NORM__): Use instead ARC_OPTFPE.
145         * config/arc/fp-hack.h: Likewise.
146         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
147         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
149 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
151         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
152         * config/nvptx/mgomp.c: New file.
153         * config/nvptx/t-nvptx: Add mgomp.c
155 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
157         PR libgcc/68468
158         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
160 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
162         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
163         of checking for cpus.
164         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
165         (__modsi3, __clzsi2): Likewise.
167 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
169         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
170         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
171         * config/i386/t-cpuinfo-static: New.
173 2016-11-03  Martin Liska  <mliska@suse.cz>
175         * libgcov-profiler.c (__gcov_time_profiler): Remove.
176         (__gcov_time_profiler_atomic): Likewise.
178 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
180         PR libgcc/78067
181         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
182         count_leading_zeros.
184 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
186         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
187         * libgcc2.c (__divmoddi4): New function.
188         * libgcc2.h (__divmoddi4): Declare.
189         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
190         and __PFX_divmodti4.
192 2016-10-24  Florian Weimer  <fweimer@redhat.com>
194         PR libgcc/78064
195         * unwind-c.c: Include auto-target.h.
197 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
199         * config/pa/pa64-hpux-lib.h: New file.
200         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
201         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
202         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
203         hppa*64*-*-hpux11*.
205 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
207         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
208         definition.
209         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
210         definition.
211         * config/xtensa/t-windowed (LIB2ADDEH): Use
212         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
213         or xtensa/t-linux.
215 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
217         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
218         __ieee754_sqrt): New functions.
219         (__divdf3): Add implementation with new FPU instructions under
220         #if XCHAL_HAVE_DFP_DIV.
221         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
222         __ieee754_sqrtf): New functions.
223         (__divsf3): Add implementation with new FPU instructions under
224         #if XCHAL_HAVE_FP_DIV.
225         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
226         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
228 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
230         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
231         equivalent.
232         * config/tilepro/atomic.c: Likewise and stop casting model to
233         enum memmodel.
235 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
237         PR target/77586
238         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
239         soft-fp.
241 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
243         * config.host: Add support for aarch64-*-freebsd*.
245 2016-10-05  Andreas Schwab  <schwab@suse.de>
247         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
248         (.section .init_array): Don't call __do_jv_register_classes.
249         (.section .init): Likewise.
251 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
253         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
254         (__JCR_LIST__): Remove.
255         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
256         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
257         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
258         * config/ia64/crtend.S (__JCR_END__): Remove.
259         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
260         conditionals.
261         (__JCR_LIST__, __JCR_END__): Remove.
262         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
263         (__do_global_ctors_1): Likewise.
265 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
267         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
268         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
270 2016-09-27  Martin Liska  <mliska@suse.cz>
272         PR gcov-profile/7970
273         PR gcov-profile/16855
274         PR gcov-profile/44779
275         * libgcov-driver.c (__gcov_init): Do not register a atexit
276         handler.
277         (__gcov_exit): Rename from gcov_exit.
278         * libgcov.h (__gcov_exit): Declare.
280 2016-09-27  Martin Liska  <mliska@suse.cz>
282         PR bootstrap/77749
283         * Makefile.in: Remove _gcov_merge_delta.
284         * libgcov-merge.c (void __gcov_merge_delta): Remove.
285         * libgcov-util.c (__gcov_delta_counter_op): Remove.
286         * libgcov.h: Remove declaration of __gcov_merge_delta.
288 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
290         * configure.ac: Do not create links, only substitute the filenames.
291         * configure: Regenerate.
292         * Makefile.in: Assign the substitution results to variables.
293         (LIBGCC_LINKS): Define.
294         (enable-execute-stack.c): New rule.
295         (unwind.h): Likewise.
296         (md-unwind-support.h): Likewise.
297         (sfp-machine.h): Likewise.
298         (gthr-default.h): Likewise.
299         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
300         unwind.h as prerequisite of install-unwind_h-forbuild.
302 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
304         PR libgcc/71744
305         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
306         is not the primary registry and atomics are available.
307         (any_objects_registered): New variable.
308         (__register_frame_info_bases, __register_frame_info_table_bases):
309         Atomically store 1 to any_objects_registered after registering first
310         unwind info.
311         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
313 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
315         PR target/63250
316         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
317         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
318         (HFtype): Likewise.
319         (HCtype): Likewise.
320         (__divhc3): Likewise.
321         (__mulhc3): Likewise.
322         * libgcc2.c: Support _mulhc3 and _divhc3.
324 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
326         PR libgcc/77519
327         * libgcc2.c (NOTRUNC): Invert settings.
329 2016-09-06  Martin Liska  <mliska@suse.cz>
331         PR gcov-profile/77378
332         PR gcov-profile/77466
333         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
334         conditionaly enable/disable *_atomic functions.
336 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
338         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
339         where not already enabled.
341 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
343         * config/mips/linux-unwind.h: Use sys/syscall.h.
345 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
347         PR libgcc/77265
348         * soft-fp/adddf3.c: Update from glibc.
349         * soft-fp/addsf3.c: Likewise.
350         * soft-fp/addtf3.c: Likewise.
351         * soft-fp/divdf3.c: Likewise.
352         * soft-fp/divsf3.c: Likewise.
353         * soft-fp/divtf3.c: Likewise.
354         * soft-fp/double.h: Likewise.
355         * soft-fp/eqdf2.c: Likewise.
356         * soft-fp/eqsf2.c: Likewise.
357         * soft-fp/eqtf2.c: Likewise.
358         * soft-fp/extenddftf2.c: Likewise.
359         * soft-fp/extended.h: Likewise.
360         * soft-fp/extendsfdf2.c: Likewise.
361         * soft-fp/extendsftf2.c: Likewise.
362         * soft-fp/extendxftf2.c: Likewise.
363         * soft-fp/fixdfdi.c: Likewise.
364         * soft-fp/fixdfsi.c: Likewise.
365         * soft-fp/fixdfti.c: Likewise.
366         * soft-fp/fixsfdi.c: Likewise.
367         * soft-fp/fixsfsi.c: Likewise.
368         * soft-fp/fixsfti.c: Likewise.
369         * soft-fp/fixtfdi.c: Likewise.
370         * soft-fp/fixtfsi.c: Likewise.
371         * soft-fp/fixtfti.c: Likewise.
372         * soft-fp/fixunsdfdi.c: Likewise.
373         * soft-fp/fixunsdfsi.c: Likewise.
374         * soft-fp/fixunsdfti.c: Likewise.
375         * soft-fp/fixunssfdi.c: Likewise.
376         * soft-fp/fixunssfsi.c: Likewise.
377         * soft-fp/fixunssfti.c: Likewise.
378         * soft-fp/fixunstfdi.c: Likewise.
379         * soft-fp/fixunstfsi.c: Likewise.
380         * soft-fp/fixunstfti.c: Likewise.
381         * soft-fp/floatdidf.c: Likewise.
382         * soft-fp/floatdisf.c: Likewise.
383         * soft-fp/floatditf.c: Likewise.
384         * soft-fp/floatsidf.c: Likewise.
385         * soft-fp/floatsisf.c: Likewise.
386         * soft-fp/floatsitf.c: Likewise.
387         * soft-fp/floattidf.c: Likewise.
388         * soft-fp/floattisf.c: Likewise.
389         * soft-fp/floattitf.c: Likewise.
390         * soft-fp/floatundidf.c: Likewise.
391         * soft-fp/floatundisf.c: Likewise.
392         * soft-fp/floatunditf.c: Likewise.
393         * soft-fp/floatunsidf.c: Likewise.
394         * soft-fp/floatunsisf.c: Likewise.
395         * soft-fp/floatunsitf.c: Likewise.
396         * soft-fp/floatuntidf.c: Likewise.
397         * soft-fp/floatuntisf.c: Likewise.
398         * soft-fp/floatuntitf.c: Likewise.
399         * soft-fp/gedf2.c: Likewise.
400         * soft-fp/gesf2.c: Likewise.
401         * soft-fp/getf2.c: Likewise.
402         * soft-fp/ledf2.c: Likewise.
403         * soft-fp/lesf2.c: Likewise.
404         * soft-fp/letf2.c: Likewise.
405         * soft-fp/muldf3.c: Likewise.
406         * soft-fp/mulsf3.c: Likewise.
407         * soft-fp/multf3.c: Likewise.
408         * soft-fp/negdf2.c: Likewise.
409         * soft-fp/negsf2.c: Likewise.
410         * soft-fp/negtf2.c: Likewise.
411         * soft-fp/op-1.h: Likewise.
412         * soft-fp/op-2.h: Likewise.
413         * soft-fp/op-4.h: Likewise.
414         * soft-fp/op-8.h: Likewise.
415         * soft-fp/op-common.h: Likewise.
416         * soft-fp/quad.h: Likewise.
417         * soft-fp/single.h: Likewise.
418         * soft-fp/soft-fp.h: Likewise.
419         * soft-fp/subdf3.c: Likewise.
420         * soft-fp/subsf3.c: Likewise.
421         * soft-fp/subtf3.c: Likewise.
422         * soft-fp/truncdfsf2.c: Likewise.
423         * soft-fp/trunctfdf2.c: Likewise.
424         * soft-fp/trunctfsf2.c: Likewise.
425         * soft-fp/trunctfxf2.c: Likewise.
426         * soft-fp/unorddf2.c: Likewise.
427         * soft-fp/unordsf2.c: Likewise.
428         * soft-fp/unordtf2.c: Likewise.
430 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
432         PR gcov-profile/67097
433         * libgcov-util.c (gcov_profile_merge): Skip missing files.
435 2016-08-10  Martin Liska  <mliska@suse.cz>
437         PR gcov-profile/58306
438         * Makefile.in: New functions (modules) are added.
439         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
440         function.
441         (__gcov_pow2_profiler_atomic): New function.
442         (__gcov_one_value_profiler_body): New argument is instroduced.
443         (__gcov_one_value_profiler): Call with the new argument.
444         (__gcov_one_value_profiler_atomic): Likewise.
445         (__gcov_indirect_call_profiler_v2): Likewise.
446         (__gcov_time_profiler_atomic): New function.
447         (__gcov_average_profiler_atomic): Likewise.
448         (__gcov_ior_profiler_atomic): Likewise.
449         * libgcov.h: Declare the aforementioned functions.
451 2016-08-09  Martin Liska  <mliska@suse.cz>
453         * libgcov-util.c: Fix typo and GNU coding style.
455 2016-08-09  Martin Liska  <mliska@suse.cz>
457         * Makefile.in: Remove __gcov_indirect_call_profiler.
458         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
459         function.
460         * libgcov.h: And the declaration of the function.
462 2016-08-09  Martin Liska  <mliska@suse.cz>
464         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
465         power of two.
467 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
469         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
470         * config/rs6000/_mulkc3.c: Likewise.
472 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
474         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
475         zero_reg as previous call to __umulhisi3 already cleared it.
477 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
479         PR target/59833
480         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
482 2016-07-19  Nick Clifton  <nickc@redhat.com>
484         * config.host (m32r): Add m32r/t-m32r to tmake_file.
485         Add crtinit.o and crtfini.o to extra_parts.
487 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
489         * config/rs6000/_divkc3.c: New.
490         * config/rs6000/_mulkc3.c: New.
491         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
492         and _divkc3.
493         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
494         fp128_ppc_funcs.
496 2016-07-11  Hale Wang  <hale.wang@arm.com>
497             Andre Vieira  <andre.simoesdiasvieira@arm.com>
499         * config/arm/lib1funcs.S: Add new wrapper.
501 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
503         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
505 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
507         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
508         and ARMv5t* rather than for a fixed list of architectures.
510 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
512         * config/arm/bpabi-v6m.S: Clarify what architectures is the
513         implementation suitable for.
514         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
515         for all Thumb-1 only targets.
516         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
517         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
518         __ARM_ARCH_6M__.
519         (EQUIV): Likewise.
520         (ARM_FUNC_ALIAS): Likewise.
521         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
522         version.
523         (modsi3): Likewise.
524         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
525         (clzdi2): Likewise.
526         (ctzsi2): Likewise.
527         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
528         __ARM_ARCH_6M__ in guard for checking whether it is defined.
529         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
530         __ARM_ARCH_6M__ and add comment to indicate the connection between
531         this condition and the one in gcc/config/arm/elf.h.
532         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
533         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
534         * config/arm/t-softfp: Likewise.
536 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
538         * libgcc2.c (SYMBOL__MAIN): Remove checks for
539         CTOR_LISTS_DEFINED_EXTERNALLY.
541 2016-06-28  Walter Lee  <walt@tilera.com>
543         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
544         asm/unistd.h.
545         (SPR_CMPEXCH_VALUE): Define for tilegx.
546         (__NR_FAST_cmpxchg): Define for tilepro.
547         (__NR_FAST_atomic_update): Define for tilepro.
548         (__NR_FAST_cmpxchg64): Define for tilepro.
550 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
552         * config.host: Add suport for arm*-*-phoenix* targets.
554 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
556         * config.host: Remove support for mep-*.
557         * config/mep/lib1funcs.S: Remove.
558         * config/mep/lib2funcs.c: Remove.
559         * config/mep/t-mep: Remove.
560         * config/mep/tramp.c: Remove.
562 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
564         * config.host: Remove support for avr-rtems.
565         * config/avr/t-rtems: Remove.
567 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
569         * config.host: Remove m32r-rtems support.
571 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
573         * config.host: Remove h8300-rtems support.
575 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
577         * config.host: Remove support for knetbsd.
579 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
581         * config.host: Remove support for openbsd 2 and 3.
583 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
585         * config.host: Remove interix support.
586         * config/i386/t-interix: Remove.
588 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
590         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
591         least-significant bit in function pointer for fixup.
593 2016-06-05  Aaron Conole  <aconole@redhat.com>
594             Nathan Sidwell  <nathan@acm.org>
596         PR libgcc/71400
597         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
598         (get_gcov_error_file): Check __gcov_error_file before trying to
599         initialize it.
600         (gcov_error): Always use get_gcov_error_file.
602 2016-06-02  Aaron Conole  <aconole@redhat.com>
604         * libgcov-driver-system.c (__gcov_error_file): New.
605         (get_gcov_error_file): New.
606         (gcov_error): Use and set __gcov_error_file.
607         (gcov_error_exit): New.
608         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
610 2016-05-26  Nathan Sidwell  <nathan@acm.org>
612         * config/nvptx/free.asm: Delete.
613         * config/nvptx/malloc.asm: Delete.
614         * config/nvptx/realloc.c: Delete.
615         * t-nvptx: Update.
617 2016-05-25  Nathan Sidwell  <nathan@acm.org>
619         * config/nvptx/crt0.s: Delete.
620         * config/nvptx/crt0.c: New.
621         * t-nvptx: Update.
623 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
625         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
626         dw2/seh configuration.
627         [x86_64-*-mingw*]: Likewise.
629 2016-05-10  Joel Sherrill <joel@rtems.org>
631         PR libgcc/70720
632         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
633         targets so the same extra_parts are built.  Also have tmake_file add
634         on to its value rather than override.
636 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
638         * config.host: Remove SH5 support.
639         * configure: Likewise.
641 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
643         * config/sh/crt1.S: Remove SH5 support.
644         * config/sh/crti.S: Likewise.
645         * config/sh/crtn.S: Likewise.
646         * config/sh/lib1funcs-4-300.S: Likewise.
647         * config/sh/lib1funcs-Os-4-200.S: Likewise.
648         * config/sh/lib1funcs.S: Likewise.
649         * config/sh/linux-unwind.h: Likewise.
650         * config/sh/t-sh64: Delete.
652 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
654         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
656 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
657             Joern Rennecke  <joern.rennecke@embecosm.com>
659         * config/arc/crttls.S: New file.
660         * config/arc/t-arc: New rule.
661         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
663 2016-04-25  Nick Clifton  <nickc@redhat.com>
665         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
666         (__mspabi_cmpd): Likewise.
667         * config/msp430/floathidf.c (__floathidf): Likewise.
668         * config/msp430/floathisf.c (__floathisf): Likewise
669         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
670         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
671         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
672         second parameter.
673         (__ashrsi3): Likewise.
675 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
677         * config/m68k/linux-atomic.c: Do not include unistd.h
679 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
681         * config/arm/ieee754-df.S: Fix typos in comments.
683 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
685         PR target/70381
686         * configure.ac (powerpc*-*-linux*): Rework tests to build
687         __float128 emulation routines to not depend on using #pragma GCC
688         target to enable -mfloat128.
689         * configure: Regnerate.
691 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
693         PR target/67172
694         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
695         __MINGW32__ is defined.
697 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
699         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
701 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
703         PR libgcc/70363
704         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
705         built with an assembler that does not support ISA 3.0
706         instructions, rename __extendkftf2_sw to __extendkftf2.
708 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
710         PR target/38239
711         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
712         call-clobbered registers.
713         (internal_mcount): Remove __i386__ handling.
715 2016-02-26  Joel Sherrill <joel@rtems.org>
717         * config.host: Add x86_64-*-rtems*.
719 2016-02-26  Joel Sherrill <joel@rtems.org>
721         * libgcc/config.host: Add aarch64-*-rtems*.
723 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
724             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
726         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
727         union of u64 and double.
728         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
729         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
730         value.
731         (FP_ROUNDMODE): Update the usage of _fpscr.
733 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
735         PR driver/68463
736         * Makefile.in (crtoffloadtable$(objext)): New rule.
737         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
738         enable_offload_targets is not empty.
739         * configure: Regenerate.
740         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
741         crtoffloadtable.
743 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
745         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
746         .literal_position before the function.
747         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
748         Likewise.
750 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
752         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
753         * config/s390/morestack.S: New file.
754         * config/s390/t-stack-s390: New file.
755         * generic-morestack.c (__splitstack_find): Add s390-specific code.
757 2016-02-12  Walter Lee  <walt@tilera.com>
759         * config.host (tilegx*-*-linux*): remove ti from
760         softfp_int_modes for 32-bit configs.
762 2016-02-10  Ian Lance Taylor  <iant@google.com>
764         PR go/68562
765         * config/i386/morestack.S (__stack_split_initialize): Align
766         stack.
768 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
770         PR bootstrap/69611
771         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
772         __FLOAT128__ to compile only for __float128 capable targets.
774 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
776         PR target/69444
777         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
778         instead of ___NO_FPRS__.
780 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
781             Steven Munroe  <munroesj@linux.vnet.ibm.com>
782             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
784         * config/rs6000/float128-sed: New files to convert TF names to KF
785         names for PowerPC IEEE 128-bit floating point support.
786         * config/rs6000/float128-sed-hw: Likewise.
788         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
789         floating point hardware support.
791         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
792         128-bit floating point software emulation or use ISA 3.0 hardware
793         support if it is available.
795         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
796         floating point.
798         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
799         floating point to IBM extended double.
801         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
802         double to IEEE 128-bit floating point.
804         * config/rs6000/t-float128: New Makefile fragments to enable
805         building __float128 emulation support.
806         * config/rs6000/t-float128-hw: Likewise.
808         * config/rs6000/sfp-exceptions.c: New file to provide exception
809         support for IEEE 128-bit floating point.
811         * config/rs6000/floattikf.c: New files for converting between IEEE
812         128-bit floating point and signed/unsigned 128-bit integers.
813         * config/rs6000/fixunskfti.c: Likewise.
814         * config/rs6000/fixkfti.c: Likewise.
815         * config/rs6000/floatuntikf.c: Likewise.
817         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
818         when building on 64-bit systems, or when VSX is enabled.
819         (_FP_W_TYPE): Likewise.
820         (_FP_WS_TYPE): Likewise.
821         (_FP_I_TYPE): Likewise.
822         (TItype): Define on 64-bit systems.
823         (UTItype): Likewise.
824         (TI_BITS): Likewise.
825         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
826         (_FP_MUL_MEAT_Q): Likewise.
827         (_FP_DIV_MEAT_D): Likewise.
828         (_FP_DIV_MEAT_Q): Likewise.
829         (_FP_NANFRAC_D): Likewise.
830         (_FP_NANFRAC_Q): Likewise.
831         (ISA_BIT): Add exception support if we are being compiled on a
832         machine with hardware floating point support to build the IEEE
833         128-bit emulation functions.
834         (FP_EX_INVALID): Likewise.
835         (FP_EX_OVERFLOW): Likewise.
836         (FP_EX_UNDERFLOW): Likewise.
837         (FP_EX_DIVZERO): Likewise.
838         (FP_EX_INEXACT): Likewise.
839         (FP_EX_ALL): Likewise.
840         (__sfp_handle_exceptions): Likewise.
841         (FP_HANDLE_EXCEPTIONS): Likewise.
842         (FP_RND_NEAREST): Likewise.
843         (FP_RND_ZERO): Likewise.
844         (FP_RND_PINF): Likewise.
845         (FP_RND_MINF): Likewise.
846         (FP_RND_MASK): Likewise.
847         (_FP_DECL_EX): Likewise.
848         (FP_INIT_ROUNDMODE): Likewise.
849         (FP_ROUNDMODE): Likewise.
851         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
852         VSX code, enable IEEE 128-bit floating point.  If the compiler can
853         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
854         floating point hardware instructions and it supports declaring
855         functions with the ifunc attribute, enable ifunc functions to
856         switch between software and hardware support.
857         * configure.ac (powerpc*-*-linux*): Likewise.
858         * configure: Regenerate.
860 2016-01-15  Nick Clifton  <nickc@redhat.com>
862         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
863         dependency as the source file to be compiled.
864         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
865         (lib2hw_mul_f5.o): Likewise.
867 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
869         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
870         * libgcc/config/rs6000/fixkfti.c: Likewise.
871         * libgcc/config/rs6000/fixunskfti.c: Likewise.
872         * libgcc/config/rs6000/float128-hw.c: Likewise.
873         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
874         * libgcc/config/rs6000/float128-sed: Likewise.
875         * libgcc/config/rs6000/floattikf.c: Likewise.
876         * libgcc/config/rs6000/floatuntikf.c: Likewise.
877         * libgcc/config/rs6000/quad-float128.h: Likewise.
878         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
879         * libgcc/config/rs6000/sfp-machine.h: Likewise.
880         * libgcc/config/rs6000/t-float128: Likewise.
881         * libgcc/config/rs6000/t-float128-hw: Likewise.
882         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
883         * libgcc/config.host: Likewise.
884         * libgcc/configure: Likewise.
885         * libgcc/configure.ac: Likewise.
887 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
888             Steven Munroe  <munroesj@linux.vnet.ibm.com>
889             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
891         * config/rs6000/sfp-exceptions.c: New file to provide exception
892         support for IEEE 128-bit floating point.
894         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
895         floating point hardware support.
897         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
898         point conversions.
899         * config/rs6000/fixunskfti.c: Likewise.
900         * config/rs6000/fixkfti.c: Likewise.
901         * config/rs6000/floatuntikf.c: Likewise.
902         * config/rs6000/extendkftf2-sw.c: Likewise.
903         * config/rs6000/trunctfkf2-sw.c: Likewise.
905         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
906         128-bit floating point software emulation or use ISA 3.0 hardware
907         support if it is available.
909         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
910         floating point.
912         * config/rs6000/t-float128: New Makefile fragments to enable
913         building __float128 emulation support.
914         * config/rs6000/t-float128-hw: Likewise.
916         * config/rs6000/float128-sed: New file to convert TF names to KF
917         names for PowerPC IEEE 128-bit floating point support.
919         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
920         when building on 64-bit systems, or when VSX is enabled.
921         (_FP_W_TYPE): Likewise.
922         (_FP_WS_TYPE): Likewise.
923         (_FP_I_TYPE): Likewise.
924         (TItype): Define on 64-bit systems.
925         (UTItype): Likewise.
926         (TI_BITS): Likewise.
927         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
928         (_FP_MUL_MEAT_Q): Likewise.
929         (_FP_DIV_MEAT_D): Likewise.
930         (_FP_DIV_MEAT_Q): Likewise.
931         (_FP_NANFRAC_D): Likewise.
932         (_FP_NANFRAC_Q): Likewise.
933         (ISA_BIT): Add exception support if we are being compiled on a
934         machine with hardware floating point support to build the IEEE
935         128-bit emulation functions.
936         (FP_EX_INVALID): Likewise.
937         (FP_EX_OVERFLOW): Likewise.
938         (FP_EX_UNDERFLOW): Likewise.
939         (FP_EX_DIVZERO): Likewise.
940         (FP_EX_INEXACT): Likewise.
941         (FP_EX_ALL): Likewise.
942         (__sfp_handle_exceptions): Likewise.
943         (FP_HANDLE_EXCEPTIONS): Likewise.
944         (FP_RND_NEAREST): Likewise.
945         (FP_RND_ZERO): Likewise.
946         (FP_RND_PINF): Likewise.
947         (FP_RND_MINF): Likewise.
948         (FP_RND_MASK): Likewise.
949         (_FP_DECL_EX): Likewise.
950         (FP_INIT_ROUNDMODE): Likewise.
951         (FP_ROUNDMODE): Likewise.
953         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
954         compiler can do __float128.
955         * configure: Regenerate.
957         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
958         VSX code, enable IEEE 128-bit floating point.
960 2016-01-05  Olivier Hainque  <hainque@adacore.com>
962         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
963         specificities.
965 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
967         Update copyright years.
969 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
971         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
972         soft-fp targets.
974 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
976         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
977         instead of abort to avoid dependency on stdlib.h.
979 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
981         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
982         to initialize call to __dl_fixup once.
984 2015-12-04  Nick Clifton  <nickc@redhat.com>
986         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
987         Allow for the second argument being negative.
988         * config.host (extra_parts): Define for MSP430.  Create separate
989         libraries for each of the hardware multiply formats.
990         * config/msp430/lib2hw_mul.S: Build only the multiply routines
991         that are needed.
992         * config/msp430/lib2mul.c: Likewise.
993         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
994         Add rules to build hardware multiply libraries.
995         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
996         __mspabi_divul function.
997         (__mspabi_divllu): New stub function.
999 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
1001         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
1002         fixup values if saved GOT address doesn't match runtime address.
1003         (fixup_branch_offset): Reorder list.
1005 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1007         * Makefile.in (VTV_CFLAGS): New variable.
1008         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
1009         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
1010         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1011         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
1012         to extra_parts if $enable_vtable_verify = yes.
1014 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1016         PR target/68059
1017         * config/arm/linux-atomic-64bit.c (__write): Rename to...
1018         (write): ...this and fix the return type.
1020 2015-11-19  DJ Delorie  <dj@redhat.com>
1022         * config/msp430/lib2hw_mul.S: Fix alignment.
1024 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
1026         * config/nvptx/reduction.c: New.
1027         * config/nvptx/t-nvptx (LIB2ADD): Add it.
1029 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
1031         * config/rs6000/on_exit.c: New file.
1032         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
1033         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
1035 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
1037         * config/arc/dp-hack.h: Add support for ARCHS.
1038         * config/arc/ieee-754/divdf3.S: Likewise.
1039         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
1040         * config/arc/ieee-754/muldf3.S: Likewise.
1041         * config/arc/ieee-754/mulsf3.S: Likewise
1042         * config/arc/lib1funcs.S: Likewise
1043         * config/arc/gmon/dcache_linesz.S: Don't read the build register
1044         for ARCv2 cores.
1045         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
1046         for ARCv2 cores.
1047         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
1048         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
1049         cores.
1051 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1053         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
1054         value.
1055         * config/ia64/crtend.S: Likewise.
1057 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1059         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
1060         __CHAR_BIT__ instead of BITS_PER_UNIT.
1061         * fixed-bit.h: Likewise.
1062         * fp-bit.h: Likewise.
1063         * libgcc2.c (__popcountSI2): Likewise.
1064         (__popcountDI2): Likewise.
1065         * libgcc2.h: Likewise.
1066         * libgcov.h: Likewise.
1068 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
1070         * config/rs6000/atexit.c: New file.
1071         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
1072         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
1073         * config/rs6000/cxa_finalize.c
1074         (catomic_compare_and_exchange_bool_acq): Negate return value.
1076 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
1078         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
1079         (processor_subtypes): Add znver1.
1080         (get_amd_cpu): Detect znver1.
1082 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
1084         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
1085         Include crtfastmath.o.
1087 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
1089         PR libgcc/66883
1090         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1092 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
1094         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
1095         * config/rl78/divmodsi.S: Update return register to r8.
1096         * config/rl78/divmodhi.S: Update return register to r8,r9.
1097         Branch to main_loop_done_himode to pop registers before return.
1099 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
1101         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
1102         (__cpu_indicator_init): Fix model selection for AMD CPUs.
1104 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
1106         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
1108 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
1110         * config.host (xtensa*-*-uclinux*): New configuration.
1112 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
1114         * config/i386/cpuinfo.c (processor_features): Add
1115         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
1117 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
1119         * soft-fp/adddf3.c: Update from glibc.
1120         * soft-fp/addsf3.c: Likewise.
1121         * soft-fp/addtf3.c: Likewise.
1122         * soft-fp/divdf3.c: Likewise.
1123         * soft-fp/divsf3.c: Likewise.
1124         * soft-fp/divtf3.c: Likewise.
1125         * soft-fp/double.h: Likewise.
1126         * soft-fp/eqdf2.c: Likewise.
1127         * soft-fp/eqsf2.c: Likewise.
1128         * soft-fp/eqtf2.c: Likewise.
1129         * soft-fp/extenddftf2.c: Likewise.
1130         * soft-fp/extended.h: Likewise.
1131         * soft-fp/extendsfdf2.c: Likewise.
1132         * soft-fp/extendsftf2.c: Likewise.
1133         * soft-fp/extendxftf2.c: Likewise.
1134         * soft-fp/fixdfdi.c: Likewise.
1135         * soft-fp/fixdfsi.c: Likewise.
1136         * soft-fp/fixdfti.c: Likewise.
1137         * soft-fp/fixsfdi.c: Likewise.
1138         * soft-fp/fixsfsi.c: Likewise.
1139         * soft-fp/fixsfti.c: Likewise.
1140         * soft-fp/fixtfdi.c: Likewise.
1141         * soft-fp/fixtfsi.c: Likewise.
1142         * soft-fp/fixtfti.c: Likewise.
1143         * soft-fp/fixunsdfdi.c: Likewise.
1144         * soft-fp/fixunsdfsi.c: Likewise.
1145         * soft-fp/fixunsdfti.c: Likewise.
1146         * soft-fp/fixunssfdi.c: Likewise.
1147         * soft-fp/fixunssfsi.c: Likewise.
1148         * soft-fp/fixunssfti.c: Likewise.
1149         * soft-fp/fixunstfdi.c: Likewise.
1150         * soft-fp/fixunstfsi.c: Likewise.
1151         * soft-fp/fixunstfti.c: Likewise.
1152         * soft-fp/floatdidf.c: Likewise.
1153         * soft-fp/floatdisf.c: Likewise.
1154         * soft-fp/floatditf.c: Likewise.
1155         * soft-fp/floatsidf.c: Likewise.
1156         * soft-fp/floatsisf.c: Likewise.
1157         * soft-fp/floatsitf.c: Likewise.
1158         * soft-fp/floattidf.c: Likewise.
1159         * soft-fp/floattisf.c: Likewise.
1160         * soft-fp/floattitf.c: Likewise.
1161         * soft-fp/floatundidf.c: Likewise.
1162         * soft-fp/floatundisf.c: Likewise.
1163         * soft-fp/floatunditf.c: Likewise.
1164         * soft-fp/floatunsidf.c: Likewise.
1165         * soft-fp/floatunsisf.c: Likewise.
1166         * soft-fp/floatunsitf.c: Likewise.
1167         * soft-fp/floatuntidf.c: Likewise.
1168         * soft-fp/floatuntisf.c: Likewise.
1169         * soft-fp/floatuntitf.c: Likewise.
1170         * soft-fp/gedf2.c: Likewise.
1171         * soft-fp/gesf2.c: Likewise.
1172         * soft-fp/getf2.c: Likewise.
1173         * soft-fp/ledf2.c: Likewise.
1174         * soft-fp/lesf2.c: Likewise.
1175         * soft-fp/letf2.c: Likewise.
1176         * soft-fp/muldf3.c: Likewise.
1177         * soft-fp/mulsf3.c: Likewise.
1178         * soft-fp/multf3.c: Likewise.
1179         * soft-fp/negdf2.c: Likewise.
1180         * soft-fp/negsf2.c: Likewise.
1181         * soft-fp/negtf2.c: Likewise.
1182         * soft-fp/op-1.h: Likewise.
1183         * soft-fp/op-2.h: Likewise.
1184         * soft-fp/op-4.h: Likewise.
1185         * soft-fp/op-8.h: Likewise.
1186         * soft-fp/op-common.h: Likewise.
1187         * soft-fp/quad.h: Likewise.
1188         * soft-fp/single.h: Likewise.
1189         * soft-fp/soft-fp.h: Likewise.
1190         * soft-fp/subdf3.c: Likewise.
1191         * soft-fp/subsf3.c: Likewise.
1192         * soft-fp/subtf3.c: Likewise.
1193         * soft-fp/truncdfsf2.c: Likewise.
1194         * soft-fp/trunctfdf2.c: Likewise.
1195         * soft-fp/trunctfsf2.c: Likewise.
1196         * soft-fp/trunctfxf2.c: Likewise.
1197         * soft-fp/unorddf2.c: Likewise.
1198         * soft-fp/unordsf2.c: Likewise.
1199         * soft-fp/unordtf2.c: Likewise.
1201 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
1203         PR libgcc/67624
1204         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
1206 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1208         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1209         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
1210         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
1211         messages.
1212         (internal_mcount): Likewise.
1213         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
1214         crt_compile, add CRTSTUFF_T_CFLAGS_S.
1216 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1218         * configure.ac (libgcc_cv_solaris_crts): New test.
1219         * configure: Regenerate.
1220         * config.in: Regenerate.
1221         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
1222         * config/gmon-sol2.c: Rename to ...
1223         * config/sol2/gmon.c: ... this.
1224         Include auto-target.h.
1225         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
1226         * config/t-sol2: Rename to ...
1227         * config/sol2/t-sol2: ... this.
1228         (gmon.o): Reflect renaming.
1229         (crtp.o, crtpg.o): New rules.
1230         * config.host (*-*-solaris2*): Reflect renaming.
1231         Use system CRTs if present.
1232         Remove default CRT case.
1234 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
1236         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
1237         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
1238         __kernel_cmpxchg2.
1239         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
1240         (__sync_val_compare_and_swap_##WIDTH): Likewise.
1241         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
1242         (__sync_lock_test_and_set_##WIDTH): Likewise.
1243         (__sync_lock_release_##WIDTH): Likewise.
1244         (__sync_fetch_and_##OP##_4): Change result to match type of
1245         __kernel_cmpxchg.
1246         (__sync_##OP##_and_fetch_4): Likewise.
1247         (__sync_val_compare_and_swap_4): Likewise.
1248         (__sync_bool_compare_and_swap_4): likewise.
1249         (__sync_lock_test_and_set_4): Likewise.
1250         (__sync_lock_release_4): Likewise.
1251         (FETCH_AND_OP_2): Add long long variants.
1252         (OP_AND_FETCH_2): Likewise.
1253         (COMPARE_AND_SWAP_2 ): Likewise.
1254         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1255         (SYNC_LOCK_RELEASE_2): Likewise.
1256         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
1258 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
1260         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
1261         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
1262         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
1263         (get_available_features): Habdle new features.
1265 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
1267         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
1268         memory layout. Deal correctly with BSS region larger than 32K.
1269         Handle a watchdog reset like a power-on reset. Clean up unused
1270         code.
1272 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
1273             David Edelsohn  <dje.gcc@gmail.com>
1275         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
1276         * config/rs6000/crtdbase.S: New file.
1277         * config/rs6000/t-aix-cxa: Build crtdbase.o.
1279 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
1281         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1282         Add support for call0 ABI.
1284 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
1286         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
1288 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1290         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
1291         (__GTHREAD_HAS_COND): Likewise.
1292         (__gthread_t): Likewise.
1293         (__gthread_cond_t): Likewise.
1294         (__gthread_time_t): Likewise.
1295         (__GTHREAD_MUTEX_INIT): Likewise.
1296         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
1297         (__GTHREAD_COND_INIT): Likewise.
1298         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
1299         (__GTHREAD_TIME_INIT): Likewise.
1300         (__gthread_create): Likewise.
1301         (__gthread_join): Likewise.
1302         (__gthread_detach): Likewise.
1303         (__gthread_equal): Likewise.
1304         (__gthread_self): Likewise.
1305         (__gthread_yield): Likewise.
1306         (__gthread_cond_broadcast): Likewise.
1307         (__gthread_cond_signal): Likewise.
1308         (__gthread_cond_wait): Likewise.
1309         (__gthread_cond_timedwait): Likewise.
1310         (__gthread_cond_wait_recursive): Likewise.
1311         (__gthread_cond_destroy): Likewise.
1312         (rtems_gxx_once): Delete.
1313         (rtems_gxx_key_create): Likewise.
1314         (rtems_gxx_key_delete): Likewise.
1315         (rtems_gxx_getspecific): Likewise.
1316         (rtems_gxx_setspecific): Likewise.
1317         (rtems_gxx_mutex_init): Likewise.
1318         (rtems_gxx_mutex_destroy): Likewise.
1319         (rtems_gxx_mutex_lock): Likewise.
1320         (rtems_gxx_mutex_trylock): Likewise.
1321         (rtems_gxx_mutex_unlock): Likewise.
1322         (rtems_gxx_recursive_mutex_init): Likewise.
1323         (rtems_gxx_recursive_mutex_lock): Likewise.
1324         (rtems_gxx_recursive_mutex_trylock): Likewise.
1325         (rtems_gxx_recursive_mutex_unlock): Likewise.
1326         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
1327         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
1328         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
1329         (__gthread_once): Likewise.
1330         (__gthread_key_create): Likewise.
1331         (__gthread_key_delete): Likewise.
1332         (__gthread_getspecific): Likewise.
1333         (__gthread_setspecific): Likewise.
1334         (__gthread_key_t): Use <pthread.h> type.
1335         (__gthread_once_t): Likewise
1336         (__gthread_mutex_t): Use <sys/lock.h> type.
1337         (__gthread_recursive_mutex_t): Likewise
1338         (__gthread_mutex_lock): Use <sys/lock.h> function.
1339         (__gthread_mutex_trylock): Likewise.
1340         (__gthread_mutex_timedlock): Likewise.
1341         (__gthread_mutex_unlock): Likewise.
1342         (__gthread_mutex_destroy): Likewise.
1343         (__gthread_recursive_mutex_lock): Likewise.
1344         (__gthread_recursive_mutex_trylock): Likewise.
1345         (__gthread_recursive_mutex_timedlock): Likewise.
1346         (__gthread_recursive_mutex_unlock): Likewise.
1347         (__gthread_recursive_mutex_destroy): Likewise.
1349 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
1351         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
1352         context->sp instead of context->cfa.
1354 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
1356         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
1357         with unwind-dw2-fde-dip.
1359 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
1361         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
1362         CALL12 followed by series of ENTRY to spill windowed registers.
1363         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
1364         instead of making linux spill syscall.
1366 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
1368         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
1369         (get_intel_cpu): Likewise.
1371 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
1373         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
1374         (get_intel_cpu): Add Knights Landing support.
1376 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
1378         PR target/66954
1379         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
1380         (get_available_features): Handle FEATURE_PCLMUL.
1382 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
1384         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
1385         Broadwell.
1387 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
1389         PR target/66954
1390         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
1391         (get_available_features): Handle FEATURE_AES.
1393 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
1395         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
1396         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
1398 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
1400         * offloadstuff.c: Constify host data.
1402 2015-07-17  Jan Beulich  <jbeulich@suse.com>
1404         * config/t-softfp: Split up "else ifneq".
1406 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
1407             Cesar Philippidis  <cesar@codesourcery.com>
1408             Chung-Lin Tang  <cltang@codesourcery.com>
1410         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
1411         for __nios2_arch__ level.
1413 2015-07-13  John Marino  <gnugcc@marino.st>
1415         * config/i386/t-dragonfly: New.
1417 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
1419         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
1420         better match light-weight syscall argument order.
1421         (__kernel_cmpxchg2): Likewise.
1422         Adjust callers.
1424 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
1426         * config.host: Support i[34567]86-*-elfiamcu target.
1427         * config/t-softfp-sfdftf: New file.
1428         * config/i386/32/t-iamcu: Likewise.
1429         * configure: Regenerated.
1431 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
1433         libgcc/config/arm/
1434         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
1436 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
1438         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
1440 2015-05-27  John Marino  <gnugcc@marino.st>
1442         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
1443         md_unwind_header
1444         * config/i386/freebsd-unwind.h: New.
1446 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
1448         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
1449         i386/t-crtfm to tmake_file.
1450         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
1451         (set_fast_math): Use set_fast_math_sse for SSE targets.
1452         * config/i386/t-crtfm: Remove.
1454 2015-05-21  Alan Modra  <amodra@gmail.com>
1456         PR libgcc/66225
1457         * config/rs6000/morestack.S: Remove ".abiversion 1".
1459 2015-05-20  Alan Modra  <amodra@gmail.com>
1461         * config/rs6000/morestack.S: New.
1462         * config/rs6000/t-stack-rs6000: New.
1463         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
1464         to tmake_file.
1465         * generic-morestack.c: Don't build for powerpc 32-bit.
1467 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
1469         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
1470         Remove useless endif/ifneq ($(enable_shared),yes) pair.
1472 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
1474         * config.host: FT32 target added.
1475         * config/ft32/*: New files for FT32 target.
1477 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
1479         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
1480         New macros.
1481         * config/arm/ieee754-df.S: Add CFI directives.
1482         * config/arm/ieee754-sf.S: Add CFI directives.
1484 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
1486         * configure.ac: Include config/sjlj.m4.
1487         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
1488         * config.in: Regenerate.
1489         * configure: Likewise.
1490         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
1492 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
1494         * libgcov-util.c: Add space between string literal and macro name.
1496 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
1497             Chris Jones  <chrisj@nvidia.com>
1498             Joshua Conner  <jconner@nvidia.com>
1500         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
1501         (arm*-*-uclinux*): Likewise.
1502         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
1503         * config/arm/crtfastmath.c: New file.
1505 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
1507         * Makefile.in (real_host_noncanonical): New variable.
1508         (libsubdir): Use it.
1509         * configure.ac (real_host_noncanonical): Compute.  Remove special
1510         case for intelmicemul.
1511         * configure: Regenerate.
1513 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
1515         * config/frv/elf-lib.h: New file.
1516         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
1517         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
1518         to tm_file.
1520 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
1522         * config/frv/frvbengin.c: Do not include defaults.h
1523         * config/frv/frvend.c: Ditto.
1525 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
1527         * config.host: Add h8300-*-linux
1528         * config/h8300/t-linux: New file.
1529         * config/h8300/lib1funs.s: Change symbol prefix.
1530         * config/h8300/sfp-machine.h: 64bit double support.
1532 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
1533             Szabolcs Nagy  <szabolcs.nagy@arm.com>
1535         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
1536         Linux if target provides dl_iterate_phdr.
1538 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
1540         PR target/65612
1541         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
1542         * config/i386/cpuinfo.c (__cpu_model): Initialize.
1543         (__cpu_indicator_init@GCC_4.8.0): New.
1544         (__cpu_model@GCC_4.8.0): Likewise.
1545         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
1546         -DUSE_ELF_SYMVER.
1548 2015-04-16  Nick Clifton  <nickc@redhat.com>
1550         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
1551         and __modhi3 functions.
1552         * config/rl78/divmodso.S: Add G14 and G13 versions of the
1553         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
1555 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
1557         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
1558         do-while loop as macro body to avoid warnings.
1560 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
1561             Iain Sandoe  <iain@codesourcery.com>
1563         PR target/65351
1564         * configure: Regenerate.
1566 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
1567             Iain Sandoe  <iain@codesourcery.com>
1569         PR target/65351
1570         * configure: Regenerate.
1572 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
1574         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
1576 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
1578         Implement call0 ABI for xtensa
1579         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
1580         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
1581         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
1582         use ret in call0 ABI.
1583         * config/xtensa/t-windowed: New file.
1584         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
1585         * libgcc/configure: Regenerated.
1586         * libgcc/configure.ac: Check if xtensa target is configured for
1587         windowed ABI and thus needs to use custom unwind code.
1589 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
1591         PR libgcc/64885
1592         * gthr-single.h: Use __unused__ attribute instead of unused.
1593         * config/gthr-vxworks.h: Likewise.
1594         * config/i386/gthr-win32.h: Likewise.
1596 2015-02-27  Kai Tietz  <ktietz@redhat.com>
1598         PR target/65038
1599         * config.in: Regenerated.
1600         * configure: Likewise.
1601         * configure.ac (AC_HEADER_STDC): Added explicit.
1602         (AC_CHECK_HEADERS): Check for default headers  plus
1603         for ftw.h header.
1604         * libgcov-util.c (gcov_read_profile_dir): Disable use
1605         of ftw-function, if header is not found.
1606         (ftw_read_file): Likewise.
1608 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
1610         PR target/65181
1611         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
1612         -Dinhibit_libc.
1614 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
1616         * config/arm/bpabi.S (test_div_by_zero): Make label names
1617         consistent between thumb2 and arm mode cases.  Separate the
1618         signed comparison on the high word of the numerator from the
1619         unsigned comparison on the low word.
1620         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
1621         signed comparison.
1623 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1625         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
1626         and <string.h>.
1627         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
1629 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
1631         PR gcov-profile/61889
1632         * libgcov-driver-system.c: undefine clashing macro for mkdir.
1634 2015-02-02  Nick Clifton  <nickc@redhat.com>
1636         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
1637         rounding up the fraction.
1639 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
1641         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
1642         oldval and newval to const void *.  Fix typo.
1643         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
1644         (FETCH_AND_OP_WORD): Likewise.
1645         (OP_AND_FETCH_WORD): Likewise.
1646         (COMPARE_AND_SWAP_2): Likewise.
1647         (__sync_val_compare_and_swap_4): Likewise.
1648         (__sync_lock_test_and_set_4): Likewise.
1649         (SYNC_LOCK_RELEASE_2): Likewise.
1650         Remove support for long long atomic operations.
1652 2015-01-27  Caroline Tice  <cmtice@google.com>
1654         Committing VTV Cywin/Ming patch for Patrick Wollgast
1655         * Makefile.in: Move rules to build vtv_*.o out of the check
1656         for CUSTOM_CRTSTUFF.
1657         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
1658         i[34567]86-*-mingw*)
1659          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
1660         enable_vtable_verify.
1662 2015-01-27  Nick Clifton  <nickc@redhat.com>
1664         * config/rl78/cmpsi2.S: Use function start and end macros.
1665         (__gcc_bcmp): New function.
1666         * config/rl78/lshrsi3.S: Use function start and end macros.
1667         * config/rl78/mulsi3.S: Add support for G10.
1668         (__mulqi3): New function for G10.
1669         * config/rl78/signbit.S: Use function start and end macros.
1670         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
1671         fpmath-sf.S.
1672         (LIB2FUNCS_EXCLUDE): Define.
1673         (LIB2FUNCS_ST): Define.
1674         * config/rl78/trampoline.S: Use function start and end macros.
1675         * config/rl78/vregs.h (START_FUNC): New macro.
1676         (START_ANOTHER_FUNC): New macro.
1677         (END_FUNC): New macro.
1678         (END_ANOTHER_FUNC): New macro.
1679         * config/rl78/bit-count.S: New file.  Contains assembler
1680         implementations of the bit counting functions: ___clzhi2,
1681         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
1682         __paritysi2, __popcounthi2 and __popcountsi2.
1683         * config/rl78/fpbit-sf.S: New file.  Contains assembler
1684         implementationas of the math functions: __negsf2, __cmpsf2,
1685         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
1686         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
1687         * config/rl78/fpmath-sf.S: New file.  Contains assembler
1688         implementations of the math functions: __subsf3, __addsf3,
1689         __mulsf3 and __divsf3
1691 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1693         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
1694         Add i386/elf-lib.h to tm_file.
1695         * config/i386/elf-lib.h: Fix comment.
1696         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
1697         && __sun__ && __svr4__]: Remove workaround.
1699 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
1701         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
1702         FEATURE_BMI2.
1703         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
1705 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
1707         * config/i386/cpuinfo.c (processor_subtypes): Add
1708         INTEL_COREI7_BROADWELL.
1709         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
1710         model numbers.
1712 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
1714         * config/i386/elf-lib.h: New file.
1715         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
1716         Wrap definition in #ifdef __i386__.
1717         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
1718         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
1719         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
1720         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
1721         to tm_file.
1723 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
1725         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
1726         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
1728 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
1730         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
1731         Update rt_sigframe format and address for current Nios II
1732         Linux conventions.
1734 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
1736         * config.host (arm*-*-freebsd*): Add new configuration for
1737         arm*-*-freebsd*.
1738         * config/arm/freebsd-atomic.c: New file.
1739         * config/arm/t-freebsd: Likewise.
1740         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
1741         'PC-relative indirect' OS's.
1743 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
1745         * config.host: Add Visium support.
1746         * config/visium: New directory.
1748 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
1750         Update copyright years.
1752 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
1754         * config.host: Support mipsisa32r6 and mipsisa64r6.
1755         * config/mips/mips16.S: Do not build for R6.
1757 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
1759         * config/sh/crt.h: New.
1760         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
1761         symbols.
1762         * config/sh/crt1.S: Likewise.
1764 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
1766         PR libgcc/63832
1767         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
1768         func_ptr *dtor_list temporary variable to avoid "array subscript
1769         is above array bounds" warnings.
1771 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
1773         * Makefile.in (with_aix_soname): Define.
1774         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
1775         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
1776         * configure: Recreate.
1778 2014-12-05  Olivier Hainque  <hainque@adacore.com>
1780         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
1781         now provided by defaults.h.
1783 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
1785         PR target/55351
1786         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
1787         whether it's defined.
1789 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
1791         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
1792         * config/i386/cpuinfo.c (get_available_features): Detect it.
1794 2014-11-27  Tony Wang  <tony.wang@arm.com>
1796         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
1797         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
1798         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
1800 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
1802         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
1804 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
1806         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
1807         instead.
1809 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
1810             John David Anglin  <danglin@gcc.gnu.org>
1812         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
1813         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
1814         (OP_AND_FETCH_2): Likewise.
1815         (COMPARE_AND_SWAP_2): Likewise.
1816         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1817         (SYNC_LOCK_RELEASE_2): Likewise.
1818         (SUBWORD_SYNC_OP): Remove.
1819         (SUBWORD_VAL_CAS): Likewise.
1820         (SUBWORD_BOOL_CAS): Likewise.
1821         (FETCH_AND_OP_WORD): Update.
1822         Consistently use signed types.
1824 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
1825             Thomas Schwinge  <thomas@codesourcery.com>
1826             Ilya Verbin  <ilya.verbin@intel.com>
1827             Andrey Turetskiy  <andrey.turetskiy@intel.com>
1829         * Makefile.in (crtoffloadbegin$(objext)): New rule.
1830         (crtoffloadend$(objext)): Likewise.
1831         * configure: Regenerate.
1832         * configure.ac (accel_dir_suffix): Compute new variable.
1833         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
1834         if enable_offload_targets is not empty.
1835         * offloadstuff.c: New file.
1837 2014-11-13  Nick Clifton  <nickc@redhat.com>
1839         * config/rl78/divmodhi.S: Add support for the G10 architecture.
1840         Use START_FUNC and END_FUNC macros to enable linker garbage
1841         collection.
1842         * config/rl78/divmodqi.S: Likewise.
1843         * config/rl78/divmodsi.S: Likewise.
1844         * config/rl78/mulsi3.S: Likewise.
1845         * config/rl78/lib2div.c: Remove G10 functions.
1846         * config/rl78/lib2muls.c: Likewise.
1847         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
1848         * config/rl78/vregs.h (START_FUNC): New macro.
1849         (END_FUNC): New macro.
1851 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
1853         * config/mips/mips16.S: Set .module when supported.  Update O32
1854         FP64 calling convention and use for FPXX when possible.  Add FPXX
1855         calling convention fallback case.
1857 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
1859         * config.host: Handle nvptx-*-*.
1860         * shared-object.mk (as-flags-$o): Define.
1861         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
1862         -xassembler-with-cpp.
1863         * static-object.mk: Identical changes.
1864         * config/nvptx/t-nvptx: New file.
1865         * config/nvptx/crt0.s: New file.
1866         * config/nvptx/free.asm: New file.
1867         * config/nvptx/malloc.asm: New file.
1868         * config/nvptx/realloc.c: New file.
1870 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
1872         * Makefile.in (libgcc.map.in): New target.
1873         (libgcc.map): Use libgcc.map.in.
1874         * config/t-softfp (softfp_compat): New variable to be set by
1875         users.
1876         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
1877         variables.
1878         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
1879         directory.
1880         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
1881         that use compat symbols and disable all code unless [SHARED].
1882         * config/t-softfp-compat: New file.
1883         * find-symver.awk: New file.
1884         * configure.ac (--with-glibc-version): New configure option.
1885         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
1886         * configure: Regenerate.
1887         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
1888         soft-float and e500.
1890 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
1892         * config/t-hardfp (hardfp_exclusions): Document new variable for
1893         user to define.
1894         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
1895         * config/t-softfp (softfp_extras): Document new variable for user
1896         to define.
1897         (softfp_func_list): Add functions from $(softfp_extras).
1898         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
1899         * config.host (powerpc*-*-linux*): For e500v1, use
1900         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
1901         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
1902         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
1904 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
1906         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
1907         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
1908         memory read accesses are ok.
1910 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
1912         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
1913         * configure: Regenerate.
1914         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
1915         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
1916         of soft-fp for 32-bit classic hard float.  Do not use
1917         t-softfp-excl for soft float.
1919 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
1921         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
1922         configurations.
1923         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
1924         Remove variables.
1926 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
1928         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
1929         introduced with 2014-10-21 trunk r216525.
1931 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
1932             Vidya Praveen  <vidya.praveen@atmel.com>
1933             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
1934             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
1935             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
1937         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
1938         order.
1940         Updated library functions for AVRTINY arch.
1941         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
1942         Replaced occurrences of r0/r1 with tmp/zero reg macros.
1943         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
1944         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
1945         wsubi/wadi macors.
1946         (__mulsi3_helper): Update stack, preserve callee saved regs and
1947         argument from stack. Restore callee save registers.
1948         (__mulpsi3): Likewise.
1949         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
1950         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
1951         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
1952         AVRTINY.
1953         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
1954         (__do_copy_data): Added new definition for AVRTINY.
1955         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
1956         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
1957         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
1958         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
1959         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
1960         macors.
1961         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
1962         AVRTINY.
1964         Fix broken long multiplication on tiny arch.
1966 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
1968         * soft-fp/double.h: Update from glibc.
1969         * soft-fp/eqdf2.c: Likewise.
1970         * soft-fp/eqsf2.c: Likewise.
1971         * soft-fp/eqtf2.c: Likewise.
1972         * soft-fp/extenddftf2.c: Likewise.
1973         * soft-fp/extended.h: Likewise.
1974         * soft-fp/extendsfdf2.c: Likewise.
1975         * soft-fp/extendsftf2.c: Likewise.
1976         * soft-fp/extendxftf2.c: Likewise.
1977         * soft-fp/gedf2.c: Likewise.
1978         * soft-fp/gesf2.c: Likewise.
1979         * soft-fp/getf2.c: Likewise.
1980         * soft-fp/ledf2.c: Likewise.
1981         * soft-fp/lesf2.c: Likewise.
1982         * soft-fp/letf2.c: Likewise.
1983         * soft-fp/op-1.h: Likewise.
1984         * soft-fp/op-2.h: Likewise.
1985         * soft-fp/op-4.h: Likewise.
1986         * soft-fp/op-8.h: Likewise.
1987         * soft-fp/op-common.h: Likewise.
1988         * soft-fp/quad.h: Likewise.
1989         * soft-fp/single.h: Likewise.
1990         * soft-fp/soft-fp.h: Likewise.
1991         * soft-fp/unorddf2.c: Likewise.
1992         * soft-fp/unordsf2.c: Likewise.
1993         * soft-fp/unordtf2.c: Likewise.
1994         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
1995         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
1996         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
1997         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
1998         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
1999         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
2000         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
2001         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
2002         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
2003         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
2005 2014-10-08  Rong Xu  <xur@google.com>
2007         * libgcov-util.c (read_gcda_file): Fix format.
2008         (find_match_gcov_info): Ditto.
2009         (calculate_2_entries): New.
2010         (compute_one_gcov): Ditto.
2011         (gcov_info_count_all_cold): Ditto.
2012         (gcov_info_count_all_zero): Ditto.
2013         (extract_file_basename): Ditto.
2014         (get_file_basename): Ditto.
2015         (set_flag): Ditto.
2016         (matched_gcov_info): Ditto.
2017         (calculate_overlap): Ditto.
2018         (gcov_profile_overlap): Ditto.
2019         * libgcov-driver.c (compute_summary): Make
2020         it avavilable for external calls.
2022 2014-10-06  Rong Xu  <xur@google.com>
2024         * Makefile.in: Ditto.
2025         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
2026         (gcov_sort_icall_topn_counter): Ditto.
2027         (gcov_sort_topn_counter_arrays): Ditto.
2028         (dump_one_gcov): Sort indirect_call topn counters.
2029         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
2030         function.
2031         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
2032         utility function.
2033         (__gcov_indirect_call_topn_profiler): New profiler function.
2034         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
2035         * libgcov.h: New decls.
2037 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
2039         * config.host: Remove support for score-*.
2041 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
2043         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2044         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
2045         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
2046         __LIBGCC_XF_MANT_DIG__.
2047         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
2048         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
2049         __LIBGCC_TF_MANT_DIG__.
2050         * libgcc2.c (NOTRUNC): Define in terms of
2051         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
2052         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2054 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
2056         PR target/63312
2057         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
2058         New macros.
2060 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
2062         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
2063         override USE_PT_GNU_EH_FRAME.
2064         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
2065         check USE_EH_FRAME_REGISTRY_ALWAYS against
2066         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
2067         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
2068         variable for substituted force_explicit_eh_registry.
2069         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
2070         * configure.ac (explicit-exception-frame-registration):
2071         New AC_ARG_ENABLE.
2072         * configure: Regenerate.
2074 2014-09-19  Olivier Hainque  <hainque@adacore.com>
2076         * config.host (powerpc-wrs-vxworksmils): New configuration,
2077         same as vxworksae.
2079 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
2081         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
2083 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
2085         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
2086         bits not set bits as indicating trapping exceptions.
2088 2014-09-17  Nathan sidwell  <nathan@acm.org>
2090         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
2091         (LIBGCOV_DRIVER): ... here.
2092         * libgcov-driver.c (gcov_master): New.
2093         (gcov_exit): Remove from master chain.
2094         (__gcov_init): Add to master chain if version compatible.  Don't
2095         clear the version.
2096         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
2097         (gcov_reset_int): Clear master chain, if compatible.
2098         (gcov_dump_int): New internal interface.  Dump master chain, if
2099         compatible.
2100         (gcov_dump): Alias for gcov_dump_int.
2101         * libgcov.h (struct gcov_root): Add next and prev fields.
2102         (struct gcov_master): New struct.
2103         (__gcov_master): New.
2104         (gcov_dump_int): Declare.
2106 2014-09-17  Olivier Hainque  <hainque@adacore.com>
2108         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
2109         and crtbegin.o + crtend.o to extra_parts.
2111 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
2113         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
2114         __LIBGCC_HAS_SF_MODE__.
2115         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2116         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2117         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2118         * config/libbid/bid_gcc_intrinsics.h
2119         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2120         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2121         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2122         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2123         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
2124         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2126 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
2128         PR target/63223
2129         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
2130         and R24 as needed.  Make work for all devices and .text locations.
2131         (__do_global_ctors, __do_global_dtors): Use word addresses.
2132         (__tablejump__, __tablejump_elpm__): Remove functions.
2133         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
2134         Add _tablejump2.
2135         (XICALL, XIJMP): New macros.
2137 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2138         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
2140         * config.host (aarch64*): Include crtfastmath.o and
2141         t-crtfm.
2142         * config/aarch64/crtfastmath.c: New file.
2144 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
2146         * config.host: Remove picochip support.
2147         * config/picochip/adddi3.S: Remove.
2148         * config/picochip/ashlsi3.S: Remove.
2149         * config/picochip/ashlsi3.c: Remove.
2150         * config/picochip/ashrsi3.S: Remove.
2151         * config/picochip/ashrsi3.c: Remove.
2152         * config/picochip/clzsi2.S: Remove.
2153         * config/picochip/cmpsi2.S: Remove.
2154         * config/picochip/divmod15.S: Remove.
2155         * config/picochip/divmodhi4.S: Remove.
2156         * config/picochip/divmodsi4.S: Remove.
2157         * config/picochip/lib1funcs.S: Remove.
2158         * config/picochip/longjmp.S: Remove.
2159         * config/picochip/lshrsi3.S: Remove.
2160         * config/picochip/lshrsi3.c: Remove.
2161         * config/picochip/parityhi2.S: Remove.
2162         * config/picochip/popcounthi2.S: Remove.
2163         * config/picochip/setjmp.S: Remove.
2164         * config/picochip/subdi3.S: Remove.
2165         * config/picochip/t-picochip: Remove.
2166         * config/picochip/ucmpsi2.S: Remove.
2167         * config/picochip/udivmodhi4.S: Remove.
2168         * config/picochip/udivmodsi4.S: Remove.
2170 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
2172         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
2173         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
2174         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
2175         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
2176         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
2177         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
2178         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
2179         defined and LIBGCC2_HAS_DF_MODE is defined.
2180         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
2181         defined and LIBGCC2_HAS_XF_MODE is defined.
2182         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
2183         defined and LIBGCC2_HAS_TF_MODE is defined.
2185 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
2187         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
2188         and ROUND_TOWARDS_ZERO conditionals.
2190 2014-09-07  Nathan sidwell  <nathan@acm.org>
2192         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
2193         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
2195 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
2197         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
2198         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2199         uses to __LIBGCC_STACK_POINTER_REGNUM__.
2200         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2201         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2202         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2203         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2204         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
2205         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
2206         (DWARF_FRAME_REGISTERS): Change all uses to
2207         __LIBGCC_DWARF_FRAME_REGISTERS__.
2208         (EH_RETURN_STACKADJ_RTX): Change all uses to
2209         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2210         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
2211         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
2212         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
2213         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
2214         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
2215         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
2216         to __LIBGCC_EH_FRAME_SECTION_NAME__.
2217         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
2218         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
2219         __LIBGCC_STACK_POINTER_REGNUM__.
2220         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2221         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2222         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2223         to __LIBGCC_STACK_POINTER_REGNUM__.
2224         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2225         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2226         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2227         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2228         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2229         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2230         (STACK_POINTER_REGNUM): Change all uses to
2231         __LIBGCC_STACK_POINTER_REGNUM__.
2232         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
2233         use to __LIBGCC_STACK_POINTER_REGNUM__.
2234         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2235         uses to __LIBGCC_STACK_POINTER_REGNUM__.
2236         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
2237         to __LIBGCC_DWARF_FRAME_REGISTERS__.
2238         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
2239         to __LIBGCC_DWARF_FRAME_REGISTERS__.
2240         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2241         to __LIBGCC_STACK_POINTER_REGNUM__.
2242         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
2243         Remove conditional definition.
2244         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
2245         __LIBGCC_TEXT_SECTION_ASM_OP__.
2246         (EH_FRAME_SECTION_NAME): Change all uses to
2247         __LIBGCC_EH_FRAME_SECTION_NAME__.
2248         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
2249         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
2250         (CTORS_SECTION_ASM_OP): Change all uses to
2251         __LIBGCC_CTORS_SECTION_ASM_OP__.
2252         (DTORS_SECTION_ASM_OP): Change all uses to
2253         __LIBGCC_DTORS_SECTION_ASM_OP__.
2254         (JCR_SECTION_NAME): Change all uses to
2255         __LIBGCC_JCR_SECTION_NAME__.
2256         (INIT_SECTION_ASM_OP): Change all uses to
2257         __LIBGCC_INIT_SECTION_ASM_OP__.
2258         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2259         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2260         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
2261         __LIBGCC_STACK_GROWS_DOWNWARD__.
2262         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
2263         __LIBGCC_INIT_SECTION_ASM_OP__.
2264         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2265         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2266         (EH_FRAME_SECTION_NAME): Change all uses to
2267         __LIBGCC_EH_FRAME_SECTION_NAME__.
2268         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
2269         definitions.  Change all uses to
2270         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
2271         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
2272         __LIBGCC_STACK_GROWS_DOWNWARD__.
2273         (DWARF_FRAME_REGISTERS): Change all uses to
2274         __LIBGCC_DWARF_FRAME_REGISTERS__.
2275         (EH_RETURN_STACKADJ_RTX): Change all uses to
2276         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2277         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
2278         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
2279         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
2280         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
2281         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
2283 2014-09-02  Nathan sidwell  <nathan@acm.org>
2285         * libgcov-interface.c (STRONG_ALIAS): New.
2286         (__gcov_flush): Call __gcov_reset_int.
2287         (__gcov_reset): Strong alias for ...
2288         (__gcov_reset_ing): ... this renamed hidden version.
2289         * libgcov.h (__gcov_reset_int): New declaration.
2291 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
2293         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
2294         call from here...
2295         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
2296         (__dso_handle): Define on Cygwin.
2297         * config/i386/t-cygming (crtbeginS.o): New rule.
2298         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
2300         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
2301         declaration syntax.
2303 2014-08-13  Steve Ellcey  <sellcey@mips.com>
2305         * crtstuff.c: Undef caddr_t.
2307 2014-08-12  Steve Ellcey  <sellcey@mips.com>
2309         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
2311 2014-08-07  Nathan Sidwell  <nathan@acm.org>
2313         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
2314         (LIBGCOV_DRIVER): ... to here.
2315         * libgcov.h (gcov_do_dump): New #define.
2316         (struct gcov_root): New.
2317         (__gcov_root): New declaration.
2318         (__gcov_dump_one): Declare.
2319         * libgcov-driver.c (gcov_list, gcov_dump_complete,
2320         run_accounted): Delete.
2321         (gcov_compute_histogram): Add LIST argument, adjust.
2322         (compute_summary): Adjust gcov_compute_histogram call.
2323         (gcov_do_dump): Not hidden, static in libgcov.
2324         (gcov_clear): Move  to interface.c.
2325         (__gcov_dump_one): New, broken out of ...
2326         (gcov_exit): ... here.  Make static.
2327         (__gcov_root): New.
2328         (__gcov_init): Adjust.
2329         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
2330         declarations.
2331         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
2332         (gcov_clear): Moved from driver.c.   Add LIST argument.
2333         (__gcov_reset): Adjust for changed interfaces.
2334         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
2336 2014-08-04  Rohit  <rohitarulraj@freescale.com>
2338         PR target/60102
2339         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
2340         based on change in SPE high register numbers and 3 HTM registers.
2342 2014-08-01  Nathan Sidwell  <nathan@acm.org>
2344         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
2345         LIBGCOV_INTERFACE): Reformat.
2346         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
2347         IN_GCOV_TOOL.
2348         * libgcov-interface.c: Reformat some comments.
2349         (__gcov_flush_mx): Add declaration.  Tidy up definition.
2351 2014-07-31  Alan Modra  <amodra@gmail.com>
2352             Peter Bergner  <bergner@vnet.ibm.com>
2354         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
2355         (pack_ldouble): New function.
2356         (__gcc_qadd): Use it.
2357         (__gcc_qmul): Likewise.
2358         (__gcc_qdiv): Likewise.
2359         (__gcc_qneg): Likewise.
2360         (__gcc_stoq): Likewise.
2361         (__gcc_dtoq): Likewise.
2363 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
2365         * config/s390/tpf-unwind.h: Include <stdbool.h>.
2366         (__tpf_eh_return): Add original return address as second parameter.
2367         Handle cases where unwinder routines were called directly, instead
2368         of from within the C++ library.
2370 2014-07-29  Nathan Sidwell  <nathan@acm.org>
2372         * libgcov.h: Move renaming of entry points to lib gcov specific
2373         portion.
2374         (gcov_do_dump): New rename.
2375         (gcov_rewrite): Remove inline, make HIDDEN.
2376         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
2377         (gcov_exit_compute_summary): Rename to ...
2378         (compute_summary): ... here.  Add LIST argument.
2379         (gcov_exit_merge_gcda): Rename to ...
2380         (merge_one_data): ... here.
2381         (gcov_exit_write_gcda): Rename to ...
2382         (write_one_data): ... here.
2383         (gcov_exit_merge_summary): Rename to ...
2384         (merge_summary): Add RUN_COUNTED argument.
2385         (gcov_exit_dump_gcov): Rename to ...
2386         (dump_one_gcov): Add RUN_COUNTED argument.
2387         (gcov_do_dump): New function, broken out of ...
2388         (gcov_exit): ... here.  Call it.
2390 2014-07-27  Anthony Green  <green@moxielogic.com>
2392         * config.host: Add moxiebox configuration suppport.
2394 2014-07-27  Nathan Sidwell  <nathan@acm.org>
2396         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
2397         (struct gcov_filename): ... here.  Include buffer and max length
2398         fields.
2399         (gcov_max_filename): Remove.
2400         (gi_filename): Remove.
2401         (gcov_exit_compute_summary): Compute max filename here.
2402         (gcov_exit_merge_gcda): Add filename parm, adjust.
2403         (gcov_exit_merge_summary): Likewise.
2404         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
2405         (gcov_exit): Likewise.
2406         (__gcov_init): Don't calculate max length here.
2407         * libgcov_util.c (max_filename_len): Remove.
2408         (read_gcda_file): Don't calculate max length here.
2409         (gcov_read_profile_dir): Don't propagate here.
2410         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
2411         struct gcov_filename changes.
2412         (gcov_exit_open_gcda_file): Likewise.
2414 2014-07-25  Nathan Sidwell  <nathan@acm.org>
2416         * libgcov-driver.c (set_gcov_dump_complete,
2417         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
2418         functions polluting user's namespace.
2419         (gcov_exit): Set variable directly.
2420         (gcov_clear): Reset variable directly.
2421         * libgcov-interface.c (get_gcov_dymp_complete,
2422         reset_gov_dump_complete): Remove declarations.
2423         (__gcov_reset, __gcov_dump): Don't call them.
2425 2014-07-24  DJ Delorie  <dj@redhat.com>
2427         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
2428         (__gcc_deregister_frame): Move logic to detect deregister function
2429         to ...
2430         (__gcc_register_frame): here, so it's consistent with the register
2431         logic.
2433 2014-07-23  Nathan Sidwell  <nathan@acm.org>
2435         * libgcov-driver.c (set_gcov_list): Remove.
2436         (gcov_list): Make non-static in GCOV_TOOL.
2437         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
2439 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
2441         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
2442         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
2443         Don't use SYNC_LOCK_RELEASE for int type.
2445 2014-07-14  Richard Biener  <rguenther@suse.de>
2447         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
2449 2014-07-11  Rong Xu  <xur@google.com>
2451         * libgcov-util.c (gcov_max_filename): Fix declartion.
2453 2014-07-10  Rong Xu  <xur@google.com>
2455         Add gcov-tool: an offline gcda profile processing tool
2456         Support.
2457         * libgcov-driver.c (gcov_max_filename): Make available
2458         to gcov-tool.
2459         * libgcov-merge.c (__gcov_merge_add): Replace
2460         gcov_read_counter() with a Macro.
2461         (__gcov_merge_ior): Ditto.
2462         (__gcov_merge_time_profile): Ditto.
2463         (__gcov_merge_single): Ditto.
2464         (__gcov_merge_delta): Ditto.
2465         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
2466         in the utility functions.
2467         (set_fn_ctrs): Utility function for reading gcda files to in-memory
2468         gcov_list object link lists.
2469         (tag_function): Ditto.
2470         (tag_blocks): Ditto.
2471         (tag_arcs): Ditto.
2472         (tag_lines): Ditto.
2473         (tag_counters): Ditto.
2474         (tag_summary): Ditto.
2475         (read_gcda_finalize): Ditto.
2476         (read_gcda_file): Ditto.
2477         (ftw_read_file): Ditto.
2478         (read_profile_dir_init): Ditto.
2479         (gcov_read_profile_dir): Ditto.
2480         (gcov_read_counter_mem): Ditto.
2481         (gcov_get_merge_weight): Ditto.
2482         (merge_wrapper): A wrapper function that calls merging handler.
2483         (gcov_merge): Merge two gcov_info objects with weights.
2484         (find_match_gcov_info): Find the matched gcov_info in the list.
2485         (gcov_profile_merge): Merge two gcov_info object lists.
2486         (__gcov_add_counter_op): Process edge profile counter values.
2487         (__gcov_ior_counter_op): Process IOR profile counter values.
2488         (__gcov_delta_counter_op): Process delta profile counter values.
2489         (__gcov_single_counter_op): Process single  profile counter values.
2490         (fp_scale): Callback function for float-point scaling.
2491         (int_scale): Callback function for integer fraction scaling.
2492         (gcov_profile_scale): Scaling profile counters.
2493         (gcov_profile_normalize): Normalize profile counters.
2494         * libgcov.h: Add headers and functions for gcov-tool use.
2495         (gcov_get_counter): New.
2496         (gcov_get_counter_target): Ditto.
2497         (struct gcov_info): Make the functions field mutable in gcov-tool
2498         compilation.
2500 2014-06-23  Kai Tietz  <ktietz@redhat.com>
2502         PR libgcc/61585
2503         * unwind-seh.c (_Unwind_GetGR): Check for proper
2504         index range.
2505         (_Unwind_SetGR): Likewise.
2507 2014-05-22  Nick Clifton  <nickc@redhat.com>
2509         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
2510         -mhwmult=none.
2512 2014-05-22  Teresa Johnson  <tejohnson@google.com>
2514         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
2515         include.
2517 2014-05-20  John Marino  <gnugcc@marino.st>
2519         * config.host (*-*-dragonfly*): New target.
2520         * crtstuff.c: Make dl_iterate_support generic on *bsd.
2521         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
2522         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
2523         * config/i386/dragonfly-unwind.h: New.
2525 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
2527         PR libgcc/60166
2528         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
2529         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
2531 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2533         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
2534         implementation.
2536 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
2538         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
2540 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2542         PR libgcc/61097
2543         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
2544         if --enable-shared.
2546 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2548         Work around for current cygwin32 build problems.
2549         * config/i386/cygming-crtbegin.c (__register_frame_info,
2550         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
2551         functions only for 64-bit systems.
2553 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2555         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
2556         (sigill_caught, sigill_hdlr): Remove.
2558 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2560         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
2561         check.
2562         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2563         Solaris 9 single-threaded support.
2564         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
2565         Solaris 9 single-threaded support.  Add call_user_handler code
2566         sequences.
2567         (sparc_is_sighandler): Likewise.
2569 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2571         * config.host: Append t-floattodi to tmake_file depending on
2572         host_address.
2574 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
2576         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
2578 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
2580         PR libgcc/60472
2581         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2582         variable to avoid "array subscript is above array bounds" warnings.
2583         Use __builtin_expect when checking *jcr_list for NULL.
2585 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2587         PR libgcc/59339
2588         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
2589         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
2590         vtv_*.o to extra_parts if enable_vtable_verify.
2592 2014-03-06  Nick Clifton  <nickc@redhat.com>
2594         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
2595         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
2597 2014-02-28  Joey Ye  <joey.ye@arm.com>
2599         PR libgcc/60166
2600         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
2601         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
2602         Set to zero.
2604 2014-02-24  Walter Lee  <walt@tilera.com>
2606         * config.host: Support "tilegx*" and "tilepro*" triplets.
2607         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
2608         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
2610 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
2611             Chung-Lin Tang  <cltang@codesourcery.com>
2613         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
2614         * config/nios2/crti.S: Remove .file directive.
2615         * config/nios2/crtn.S: Likewise.
2617 2014-02-18  Kai Tietz  <ktietz@redhat.com>
2618         Jonathan Schleifer  <js@webkeks.org>
2620         PR objc/56870
2621         * unwind-seh.c (_GCC_specific_handler): Pass proper
2622         value to unwind-handler.
2624 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
2626         * soft-fp/adddf3.c: Update from glibc.
2627         * soft-fp/addsf3.c: Likewise.
2628         * soft-fp/addtf3.c: Likewise.
2629         * soft-fp/divdf3.c: Likewise.
2630         * soft-fp/divsf3.c: Likewise.
2631         * soft-fp/divtf3.c: Likewise.
2632         * soft-fp/double.h: Likewise.
2633         * soft-fp/eqdf2.c: Likewise.
2634         * soft-fp/eqsf2.c: Likewise.
2635         * soft-fp/eqtf2.c: Likewise.
2636         * soft-fp/extenddftf2.c: Likewise.
2637         * soft-fp/extended.h: Likewise.
2638         * soft-fp/extendsfdf2.c: Likewise.
2639         * soft-fp/extendsftf2.c: Likewise.
2640         * soft-fp/extendxftf2.c: Likewise.
2641         * soft-fp/fixdfdi.c: Likewise.
2642         * soft-fp/fixdfsi.c: Likewise.
2643         * soft-fp/fixdfti.c: Likewise.
2644         * soft-fp/fixsfdi.c: Likewise.
2645         * soft-fp/fixsfsi.c: Likewise.
2646         * soft-fp/fixsfti.c: Likewise.
2647         * soft-fp/fixtfdi.c: Likewise.
2648         * soft-fp/fixtfsi.c: Likewise.
2649         * soft-fp/fixtfti.c: Likewise.
2650         * soft-fp/fixunsdfdi.c: Likewise.
2651         * soft-fp/fixunsdfsi.c: Likewise.
2652         * soft-fp/fixunsdfti.c: Likewise.
2653         * soft-fp/fixunssfdi.c: Likewise.
2654         * soft-fp/fixunssfsi.c: Likewise.
2655         * soft-fp/fixunssfti.c: Likewise.
2656         * soft-fp/fixunstfdi.c: Likewise.
2657         * soft-fp/fixunstfsi.c: Likewise.
2658         * soft-fp/fixunstfti.c: Likewise.
2659         * soft-fp/floatdidf.c: Likewise.
2660         * soft-fp/floatdisf.c: Likewise.
2661         * soft-fp/floatditf.c: Likewise.
2662         * soft-fp/floatsidf.c: Likewise.
2663         * soft-fp/floatsisf.c: Likewise.
2664         * soft-fp/floatsitf.c: Likewise.
2665         * soft-fp/floattidf.c: Likewise.
2666         * soft-fp/floattisf.c: Likewise.
2667         * soft-fp/floattitf.c: Likewise.
2668         * soft-fp/floatundidf.c: Likewise.
2669         * soft-fp/floatundisf.c: Likewise.
2670         * soft-fp/floatunditf.c: Likewise.
2671         * soft-fp/floatunsidf.c: Likewise.
2672         * soft-fp/floatunsisf.c: Likewise.
2673         * soft-fp/floatunsitf.c: Likewise.
2674         * soft-fp/floatuntidf.c: Likewise.
2675         * soft-fp/floatuntisf.c: Likewise.
2676         * soft-fp/floatuntitf.c: Likewise.
2677         * soft-fp/gedf2.c: Likewise.
2678         * soft-fp/gesf2.c: Likewise.
2679         * soft-fp/getf2.c: Likewise.
2680         * soft-fp/ledf2.c: Likewise.
2681         * soft-fp/lesf2.c: Likewise.
2682         * soft-fp/letf2.c: Likewise.
2683         * soft-fp/muldf3.c: Likewise.
2684         * soft-fp/mulsf3.c: Likewise.
2685         * soft-fp/multf3.c: Likewise.
2686         * soft-fp/negdf2.c: Likewise.
2687         * soft-fp/negsf2.c: Likewise.
2688         * soft-fp/negtf2.c: Likewise.
2689         * soft-fp/op-1.h: Likewise.
2690         * soft-fp/op-2.h: Likewise.
2691         * soft-fp/op-4.h: Likewise.
2692         * soft-fp/op-8.h: Likewise.
2693         * soft-fp/op-common.h: Likewise.
2694         * soft-fp/quad.h: Likewise.
2695         * soft-fp/single.h: Likewise.
2696         * soft-fp/soft-fp.h: Likewise.
2697         * soft-fp/subdf3.c: Likewise.
2698         * soft-fp/subsf3.c: Likewise.
2699         * soft-fp/subtf3.c: Likewise.
2700         * soft-fp/truncdfsf2.c: Likewise.
2701         * soft-fp/trunctfdf2.c: Likewise.
2702         * soft-fp/trunctfsf2.c: Likewise.
2703         * soft-fp/trunctfxf2.c: Likewise.
2704         * soft-fp/unorddf2.c: Likewise.
2705         * soft-fp/unordsf2.c: Likewise.
2706         * soft-fp/unordtf2.c: Likewise.
2707         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
2708         macro.
2709         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2710         Likewise.
2711         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2712         Likewise.
2713         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2714         Likewise.
2715         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2716         Likewise.
2717         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2718         Likewise.
2719         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2720         Likewise.
2721         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2722         Likewise.
2723         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2724         Likewise.
2725         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2726         Likewise.
2727         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2728         Likewise.
2729         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2730         Likewise.
2731         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2732         Likewise.
2733         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
2734         Likewise.
2735         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
2736         Likewise.
2737         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2738         Likewise.
2740 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2742         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
2743         cannot be represented.
2744         * config/s390/32/_fixsfdi.c: Likewise.
2745         * config/s390/32/_fixtfdi.c: Likewise.
2746         * config/s390/32/_fixunsdfdi.c: Likewise.
2747         * config/s390/32/_fixunssfdi.c: Likewise.
2748         * config/s390/32/_fixunstfdi.c: Likewise.
2750 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
2752         * configure.ac (libgcc_cv_mips_hard_float): New.
2753         * configure: Regenerate.
2754         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
2755         t-softfp-sfdf for hard-float targets.
2756         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
2757         (softfp_float_modes, softfp_int_modes, softfp_extensions)
2758         (softfp_truncations, softfp_exclude_libgcc2): New.
2759         * config/t-hardfp: New file.
2760         * config/t-hardfp-sfdf: Likewise.
2761         * config/hardfp.c: Likewise.
2763 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2765         * config.host: Include t-floattodi also for s390x.
2766         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
2767         * config/s390/32/_fixsfdi.c: Likewise.
2768         * config/s390/32/_fixtfdi.c: Likewise.
2769         * config/s390/32/_fixunsdfdi.c: Likewise.
2770         * config/s390/32/_fixunssfdi.c: Likewise.
2771         * config/s390/32/_fixunstfdi.c: Likewise.
2773 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2775         PR target/59788
2776         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
2777         (install-libgcc-unwind-map-forbuild): New target.
2778         (all): Depend on install-libgcc-unwind-map-forbuild.
2779         (install-libgcc-unwind-map): New target.
2780         (install): Depend on install-libgcc-unwind-map.
2782 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
2784         * config/nios2/crti.S (_init): Initialize GOT pointer from
2785         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
2787 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
2789         * configure.ac: Check __mips64 when setting host_address.
2790         * configure: Regenerate.
2791         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
2792         mips/t-mips64 and t-softfp.
2793         (mips*-*-linux*): Don't add mips/t-tpbit.
2794         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
2795         (DPBIT, DPBIT_CFLAGS): Delete.
2796         * config/mips/sfp-machine.h: New file.
2797         * config/mips/t-mips64: Likewise.
2798         * config/mips/t-softfp-tf: Likewise.
2799         * config/mips/t-tpbit: Delete.
2801 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2803         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
2804         as long long.
2806 2014-01-25  Walter Lee  <walt@tilera.com>
2808         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
2809         config.h or system.h.
2810         (bool) Define.
2812 2014-01-25  Walter Lee  <walt@tilera.com>
2814         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
2815         (post_atomic_barrier): Ditto.
2816         (__fetch_and_do): New macro.
2817         (__atomic_fetch_and_do): Use __fetch_and_do.
2818         (__sync_fetch_and_do): New macro.
2819         (__sync_fetch_and_add_4): New function.
2820         (__sync_fetch_and_sub_4): New function.
2821         (__sync_fetch_and_or_4): New function.
2822         (__sync_fetch_and_and_4): New function.
2823         (__sync_fetch_and_xor_4): New function.
2824         (__sync_fetch_and_nand_4): New function.
2825         (__sync_fetch_and_add_8): New function.
2826         (__sync_fetch_and_sub_8): New function.
2827         (__sync_fetch_and_or_8): New function.
2828         (__sync_fetch_and_and_8): New function.
2829         (__sync_fetch_and_xor_8): New function.
2830         (__sync_fetch_and_nand_8): New function.
2831         (__do_and_fetch): New macro.
2832         (__atomic_do_and_fetch): Use __do_and_fetch.
2833         (__sync_do_and_fetch): New macro.
2834         (__sync_add_and_fetch_4): New function.
2835         (__sync_sub_and_fetch_4): New function.
2836         (__sync_or_and_fetch_4): New function.
2837         (__sync_and_and_fetch_4): New function.
2838         (__sync_xor_and_fetch_4): New function.
2839         (__sync_nand_and_fetch_4): New function.
2840         (__sync_add_and_fetch_8): New function.
2841         (__sync_sub_and_fetch_8): New function.
2842         (__sync_or_and_fetch_8): New function.
2843         (__sync_and_and_fetch_8): New function.
2844         (__sync_xor_and_fetch_8): New function.
2845         (__sync_nand_and_fetch_8): New function.
2846         (__sync_exchange_methods): New macro.
2847         (__sync_val_compare_and_swap_4): New function.
2848         (__sync_bool_compare_and_swap_4): New function.
2849         (__sync_lock_test_and_test_4): New function.
2850         (__sync_val_compare_and_swap_8): New function.
2851         (__sync_bool_compare_and_swap_8): New function.
2852         (__sync_lock_test_and_test_8): New function.
2853         (__subword_cmpxchg_body): New macro.
2854         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
2855         (__atomic_compare_exchange_2): Ditto.
2856         (__sync_subword_cmpxchg): New macro.
2857         (__sync_val_compare_and_swap_1): New function.
2858         (__sync_bool_compare_and_swap_1): New function.
2859         (__sync_val_compare_and_swap_2): New function.
2860         (__sync_bool_compare_and_swap_2): New function.
2861         (__atomic_subword): Rename to ...
2862         (__subword): ... New name.
2863         (__atomic_subword_fetch): Use __subword.
2864         (__sync_subword_fetch): New macro.
2865         (__sync_fetch_and_add_1): New function.
2866         (__sync_fetch_and_sub_1): New function.
2867         (__sync_fetch_and_or_1): New function.
2868         (__sync_fetch_and_and_1): New function.
2869         (__sync_fetch_and_xor_1): New function.
2870         (__sync_fetch_and_nand_1): New function.
2871         (__sync_fetch_and_add_2): New function.
2872         (__sync_fetch_and_sub_2): New function.
2873         (__sync_fetch_and_or_2): New function.
2874         (__sync_fetch_and_and_2): New function.
2875         (__sync_fetch_and_xor_2): New function.
2876         (__sync_fetch_and_nand_2): New function.
2877         (__sync_add_and_fetch_1): New function.
2878         (__sync_sub_and_fetch_1): New function.
2879         (__sync_or_and_fetch_1): New function.
2880         (__sync_and_and_fetch_1): New function.
2881         (__sync_xor_and_fetch_1): New function.
2882         (__sync_nand_and_fetch_1): New function.
2883         (__sync_add_and_fetch_2): New function.
2884         (__sync_sub_and_fetch_2): New function.
2885         (__sync_or_and_fetch_2): New function.
2886         (__sync_and_and_fetch_2): New function.
2887         (__sync_xor_and_fetch_2): New function.
2888         (__sync_nand_and_fetch_2): New function.
2889         (__atomic_subword_lock): Use __subword.
2890         (__sync_subword_lock): New macro.
2891         (__sync_lock_test_and_set_1): New function.
2892         (__sync_lock_test_and_set_2): New function.
2894 2014-01-25  Walter Lee  <walt@tilera.com>
2896         * config/tilepro/atomic.c (BIT_OFFSET): Define.
2897         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
2898         (__atomic_subword): Ditto.
2900 2014-01-25  Walter Lee  <walt@tilera.com>
2902         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
2903         a prefix op argument.
2904         (__atomic_nand_fetch_4): Add prefix op.
2905         (__atomic_nand_fetch_8): Ditto.
2907 2014-01-21  Baruch Siach  <barch@tkos.co.il>
2909         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
2911 2014-01-09  Rong Xu  <xur@google.com>
2913         * libgcov-driver.c (this_prg): make it local to save
2914         bss space.
2915         (gcov_exit_compute_summary): Ditto.
2916         (gcov_exit_merge_gcda): Ditto.
2917         (gcov_exit_merge_summary): Ditto.
2918         (gcov_exit_dump_gcov): Ditto.
2920 2014-01-08  Rong Xu  <xur@google.com>
2922         * libgcov-driver.c: Use libgcov.h.
2923         (buffer_fn_data): Use xmalloc instead of malloc.
2924         (gcov_exit_merge_gcda): Ditto.
2925         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
2926         * libgcov.h: New common header files for libgcov-*.h.
2927         * libgcov-interface.c: Use libgcov.h
2928         * libgcov-merge.c: Ditto.
2929         * libgcov-profiler.c: Ditto.
2930         * Makefile.in: Add dependence to libgcov.h
2932 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
2934         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
2935         case of small numerator and finite nonzero result.
2937 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
2939         Update copyright years
2941 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
2943         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
2944         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
2945         config/arc/dp-hack.h, config/arc/fp-hack.h,
2946         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
2947         config/arc/ieee-754/arc600-dsp/divdf3.S,
2948         config/arc/ieee-754/arc600-dsp/divsf3.S,
2949         config/arc/ieee-754/arc600-dsp/muldf3.S,
2950         config/arc/ieee-754/arc600-dsp/mulsf3.S,
2951         config/arc/ieee-754/arc600-mul64/divdf3.S,
2952         config/arc/ieee-754/arc600-mul64/divsf3.S,
2953         config/arc/ieee-754/arc600-mul64/muldf3.S,
2954         config/arc/ieee-754/arc600-mul64/mulsf3.S,
2955         config/arc/ieee-754/arc600/divsf3.S,
2956         config/arc/ieee-754/arc600/mulsf3.S,
2957         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
2958         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
2959         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
2960         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
2961         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
2962         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
2963         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
2964         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
2965         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
2966         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
2967         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
2968         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
2969         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
2970         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
2971         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
2972         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
2973         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
2974         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
2975         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
2976         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
2977         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
2978         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
2979         vtv_start_preinit.c: Use the standard form for the copyright notice.
2981 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
2982             Chung-Lin Tang  <cltang@codesourcery.com>
2983             Based on patches from Altera Corporation
2985         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
2986         * config/nios2/lib2-nios2.h: New file.
2987         * config/nios2/lib2-divmod-hi.c: New file.
2988         * config/nios2/linux-unwind.h: New file.
2989         * config/nios2/lib2-divmod.c: New file.
2990         * config/nios2/linux-atomic.c: New file.
2991         * config/nios2/t-nios2: New file.
2992         * config/nios2/crti.asm: New file.
2993         * config/nios2/t-linux: New file.
2994         * config/nios2/lib2-divtable.c: New file.
2995         * config/nios2/lib2-mul.c: New file.
2996         * config/nios2/tramp.c: New file.
2997         * config/nios2/crtn.asm: New file.
2999 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
3001         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
3002         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
3003         from cpuid.h to check vendor signatures.
3005 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
3007         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
3008         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
3009         (get_amd_cpu): Likewise.
3011 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
3013         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
3014         Haswell.
3016 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
3017             H.J. Lu  <hongjiu.lu@intel.com>
3019         PR target/59422
3020         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
3021         and AMD_JAGUAR.
3022         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
3023         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
3024         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
3025         FEATURE_XOP and FEATURE_FMA.
3026         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
3027         AMDFAM15H_BDVER3.
3028         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
3029         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
3030         FEATURE_FMA4 and FEATURE_XOP.
3032 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
3034         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
3035         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
3036         (get_intel_cpu): Updated.
3038 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
3040         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
3042 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
3044         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
3045         instructions when __SSE_MATH__ is defined.
3047 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
3049         * config.host (microblaze-*-rtems*): New.
3051 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
3053         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
3054         architectures that do not have hardware divide instruction.
3055         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
3057 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
3059         * longlong.h: Delete (moved to include/).
3061 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3063         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
3064         of normal number and qNaN to not raise an inexact exception.
3066 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
3068         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
3070 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
3072         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
3073         for correct opcodes on BE.
3075 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
3077         * soft-fp/op-4.h: Update from glibc.
3079 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
3081         * libgcc2.c (__udivmoddi4): Define new implementation when
3082         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
3083         divide instructions.
3085 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
3087         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
3089 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3091         * config/t-softfp (soft-fp-objects-base): New variable.
3092         (soft-fp-objects): Use it.
3094 2013-11-23  David Edelson  <dje.gcc@gmail.com>
3095             Andrew Dixie  <andrewd@gentrack.com>
3097         PR target/33704
3098         * config/rs6000/aixinitfini.c: New file.
3099         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
3100         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
3101         symbols.
3103 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
3105         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
3107 2013-11-18  Jan Hubicka  <jh@suse.cz>
3109         * libgcov-driver.c (run_accounted): Make global level static.
3110         (gcov_exit_merge_summary): Silence warning; do not clear
3111         run_accounted here.
3112         (gcov_exit): Clear it here.
3114         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
3115         run_accounted.
3117         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
3118         (all_prg, crc32): Remove static vars.
3119         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
3120         all_prg.
3121         (gcov_exit_merge_gcda): Add crc32 parameter.
3122         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
3123         do not account run if it was already accounted.
3124         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
3125         (gcov_exit): Initialize all_prg; update.
3127 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
3129         * configure: Regenerate.
3131 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3132             Alan Modra  <amodra@gmail.com>
3134         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
3135         (frob_update_context): Use it.
3137 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3138             Alan Modra  <amodra@gmail.com>
3140         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
3141         (trampoline_initial): Provide ELFv2 variant.
3142         (__trampoline_setup): Likewise.
3144         * config/rs6000/linux-unwind.h (frob_update_context): Do not
3145         check for AIX indirect function call sequence if _CALL_ELF == 2.
3147 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3148             Alan Modra  <amodra@gmail.com>
3150         * config/rs6000/linux-unwind.h (get_regs): Do not support
3151         old kernel versions if _CALL_ELF == 2.
3152         (frob_update_context): Do not support PLT stub variants only
3153         generated by old linkers if _CALL_ELF == 2.
3155 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3156             Alan Modra  <amodra@gmail.com>
3158         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
3159         location of CR save area for 64-bit little-endian systems.
3161 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
3163         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
3164         in tmake_file.
3165         * config/arm/t-vxworks: Delete.
3167 2013-11-10  Kai Tietz  <ktietz@redhat.com>
3169         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
3170         Increment load-count on use of LIBGCC_SONAME DLL.
3171         (hmod_libgcc): New static variable to hold handle of
3172         LIBGCC_SONAME DLL.
3173         (__gcc_deregister_frame): Decrement load-count of
3174         LIBGCC_SONAME DLL.
3176 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3178         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
3179         availability.
3180         * configure: Regenerate
3182 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
3184         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
3185         FP_EX_DENORM.  Store result to volatile location after SSE division
3186         to close interrupt window.  Remove unneeded fwait after x87
3187         division since interrupt window will be closed by emitted fstp.
3188         Rewrite FP_EX_INEXACT handling.
3190 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
3192         * soft-fp/README: Update.
3193         * soft-fp/adddf3.c: Update from glibc.
3194         * soft-fp/addsf3.c: Likewise.
3195         * soft-fp/addtf3.c: Likewise.
3196         * soft-fp/divdf3.c: Likewise.
3197         * soft-fp/divsf3.c: Likewise.
3198         * soft-fp/divtf3.c: Likewise.
3199         * soft-fp/double.h: Likewise.
3200         * soft-fp/eqdf2.c: Likewise.
3201         * soft-fp/eqsf2.c: Likewise.
3202         * soft-fp/eqtf2.c: Likewise.
3203         * soft-fp/extenddftf2.c: Likewise.
3204         * soft-fp/extended.h: Likewise.
3205         * soft-fp/extendsfdf2.c: Likewise.
3206         * soft-fp/extendsftf2.c: Likewise.
3207         * soft-fp/extendxftf2.c: Likewise.
3208         * soft-fp/fixdfdi.c: Likewise.
3209         * soft-fp/fixdfsi.c: Likewise.
3210         * soft-fp/fixdfti.c: Likewise.
3211         * soft-fp/fixsfdi.c: Likewise.
3212         * soft-fp/fixsfsi.c: Likewise.
3213         * soft-fp/fixsfti.c: Likewise.
3214         * soft-fp/fixtfdi.c: Likewise.
3215         * soft-fp/fixtfsi.c: Likewise.
3216         * soft-fp/fixtfti.c: Likewise.
3217         * soft-fp/fixunsdfdi.c: Likewise.
3218         * soft-fp/fixunsdfsi.c: Likewise.
3219         * soft-fp/fixunsdfti.c: Likewise.
3220         * soft-fp/fixunssfdi.c: Likewise.
3221         * soft-fp/fixunssfsi.c: Likewise.
3222         * soft-fp/fixunssfti.c: Likewise.
3223         * soft-fp/fixunstfdi.c: Likewise.
3224         * soft-fp/fixunstfsi.c: Likewise.
3225         * soft-fp/fixunstfti.c: Likewise.
3226         * soft-fp/floatdidf.c: Likewise.
3227         * soft-fp/floatdisf.c: Likewise.
3228         * soft-fp/floatditf.c: Likewise.
3229         * soft-fp/floatsidf.c: Likewise.
3230         * soft-fp/floatsisf.c: Likewise.
3231         * soft-fp/floatsitf.c: Likewise.
3232         * soft-fp/floattidf.c: Likewise.
3233         * soft-fp/floattisf.c: Likewise.
3234         * soft-fp/floattitf.c: Likewise.
3235         * soft-fp/floatundidf.c: Likewise.
3236         * soft-fp/floatundisf.c: Likewise.
3237         * soft-fp/floatunditf.c: Likewise.
3238         * soft-fp/floatunsidf.c: Likewise.
3239         * soft-fp/floatunsisf.c: Likewise.
3240         * soft-fp/floatunsitf.c: Likewise.
3241         * soft-fp/floatuntidf.c: Likewise.
3242         * soft-fp/floatuntisf.c: Likewise.
3243         * soft-fp/floatuntitf.c: Likewise.
3244         * soft-fp/gedf2.c: Likewise.
3245         * soft-fp/gesf2.c: Likewise.
3246         * soft-fp/getf2.c: Likewise.
3247         * soft-fp/ledf2.c: Likewise.
3248         * soft-fp/lesf2.c: Likewise.
3249         * soft-fp/letf2.c: Likewise.
3250         * soft-fp/muldf3.c: Likewise.
3251         * soft-fp/mulsf3.c: Likewise.
3252         * soft-fp/multf3.c: Likewise.
3253         * soft-fp/negdf2.c: Likewise.
3254         * soft-fp/negsf2.c: Likewise.
3255         * soft-fp/negtf2.c: Likewise.
3256         * soft-fp/op-1.h: Likewise.
3257         * soft-fp/op-2.h: Likewise.
3258         * soft-fp/op-4.h: Likewise.
3259         * soft-fp/op-8.h: Likewise.
3260         * soft-fp/op-common.h: Likewise.
3261         * soft-fp/quad.h: Likewise.
3262         * soft-fp/single.h: Likewise.
3263         * soft-fp/soft-fp.h: Likewise.
3264         * soft-fp/subdf3.c: Likewise.
3265         * soft-fp/subsf3.c: Likewise.
3266         * soft-fp/subtf3.c: Likewise.
3267         * soft-fp/truncdfsf2.c: Likewise.
3268         * soft-fp/trunctfdf2.c: Likewise.
3269         * soft-fp/trunctfsf2.c: Likewise.
3270         * soft-fp/trunctfxf2.c: Likewise.
3271         * soft-fp/unorddf2.c: Likewise.
3272         * soft-fp/unordsf2.c: Likewise.
3273         * soft-fp/unordtf2.c: Likewise.
3275 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
3277         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
3278         (_FP_MUL_MEAT_D): Ditto.
3279         (_FP_DIV_MEAT_S): Ditto.
3280         (_FP_DIV_MEAT_D): Ditto.
3281         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
3282         t-softfp-sfdf and t-softfp to tmake_file.
3284 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
3286         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
3287         * config/i386/crtprec.c: Ditto.
3289 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
3290             Shiva Chen  <shiva0217@gmail.com>
3292         * config.host (nds32*-elf*): Add nds32 target.
3293         * config/nds32 : New directory and files.
3295 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
3297         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
3298         * config.host (cpu_type) <Setting default>: Add entry for
3299         crisv32-*-*.
3300         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
3301         <crisv32-*-linux*>: Adjust.
3302         * longlong.h: Wrap the whole CRIS section in a single
3303         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
3304         and sub_ddmmss.
3305         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
3306         defined.
3307         [__CRIS__] (__umulsidi3): Define.
3308         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
3309         * config/cris/sfp-machine.h: New file.
3310         * config/cris/umulsidi3.S: New file.
3311         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
3312         * config/cris/arit.c (SIGNMULT): New macro.
3313         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
3314         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
3315         saving 3 out of originally 33 cycles from the fastest
3316         path, 3 out of 54 from the medium path and one from the longest
3317         path.  Improve comments.
3319 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
3321         * sync.c: Remove static aliases and define each function directly
3322         under its real name.
3324 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
3326         * config.host (hppa*64*-*-linux*): Define extra_parts.
3327         (hppa*-*-linux*): Likewise.
3329 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
3331         * config/arc/crtgend.S: Add 2013 to Copyright years.
3332         * config/arc/gmon/atomic.h: Likewise.
3333         * config/arc/gmon/auxreg.h: Likewise.
3334         * config/arc/gmon/sys/gmon_out.h: Likewise.
3335         * config/arc/gmon/sys/gmon.h: Likewise.
3336         * config/arc/gmon/prof-freq.c: Likewise.
3337         * config/arc/gmon/mcount.c: Likewise.
3338         * config/arc/gmon/prof-freq-stub.S: Likewise.
3339         * config/arc/gmon/gmon.c: Likewise.
3340         * config/arc/gmon/machine-gmon.h: Likewise.
3341         * config/arc/gmon/profil.S: Likewise.
3342         * config/arc/gmon/dcache_linesz.S: Likewise.
3343         * config/arc/crtg.S: Likewise.
3344         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
3345         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
3346         * config/arc/ieee-754/adddf3.S: Likewise.
3347         * config/arc/ieee-754/truncdfsf2.S: Likewise.
3348         * config/arc/ieee-754/fixsfsi.S: Likewise.
3349         * config/arc/ieee-754/gtsf2.S: Likewise.
3350         * config/arc/ieee-754/floatsisf.S: Likewise.
3351         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
3352         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
3353         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
3354         * config/arc/ieee-754/fixdfsi.S: Likewise.
3355         * config/arc/ieee-754/addsf3.S: Likewise.
3356         * config/arc/ieee-754/gesf2.S: Likewise.
3357         * config/arc/ieee-754/floatsidf.S: Likewise.
3358         * config/arc/ieee-754/extendsfdf2.S: Likewise.
3359         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
3360         * config/arc/ieee-754/gtdf2.S: Likewise.
3361         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
3362         * config/arc/ieee-754/uneqdf2.S: Likewise.
3363         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3364         * config/arc/ieee-754/uneqsf2.S: Likewise.
3365         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
3366         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
3367         * config/arc/ieee-754/eqdf2.S: Likewise.
3368         * config/arc/ieee-754/ordsf2.S: Likewise.
3369         * config/arc/ieee-754/divsf3.S: Likewise.
3370         * config/arc/ieee-754/divdf3.S: Likewise.
3371         * config/arc/ieee-754/floatunsidf.S: Likewise.
3372         * config/arc/ieee-754/orddf2.S: Likewise.
3373         * config/arc/ieee-754/eqsf2.S: Likewise.
3374         * config/arc/ieee-754/gedf2.S: Likewise.
3375         * config/arc/crtn.S: Likewise.
3376         * config/arc/crti.S: Likewise.
3377         * config/arc/t-arc700-uClibc: Likewise.
3378         * config/arc/asm.h: Likewise.
3379         * config/arc/libgcc-excl.ver: Likewise.
3380         * config/arc/t-arc-newlib: Likewise.
3381         * config/arc/divtab-arc700.c: Likewise.
3382         * config/arc/initfini.c: Likewise.
3383         * config/arc/fp-hack.h: Likewise.
3385 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
3386             Diego Novillo  <dnovillo@google.com>
3388         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
3389         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
3390         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
3391         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
3393 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
3394             Brendan Kehoe  <brendan@zen.org>
3395             Simon Cook  <simon.cook@embecosm.com>
3397         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
3398         * config/arc: New directory.
3399         * longlong.h [__arc__] (umul_ppmm): Remove.
3400         [__arc__] (__umulsidi3): Define.
3401         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
3402         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
3404 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
3406         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
3407         CreateSemaphoreA.
3408         * config/i386/gthr-win32.h: Likewise.
3410 2013-09-16  DJ Delorie  <dj@redhat.com>
3412         * config/rl78/vregs.h: Add G10 register definitions.
3413         * config/rl78/lib2mul.c: Enable for RL78/G10.
3414         * config/rl78/lib2div.c: Likewise.
3415         * config/rl78/lshrsi3.S: Use vregs.h.
3416         * config/rl78/cmpsi2.S: Likewise.
3417         * config/rl78/trampoline.S: Likewise.
3418         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
3420 2013-09-14  DJ Delorie  <dj@redhat.com>
3421             Nick Clifton  <nickc@redhat.com>
3423         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
3424         * config/rl78/vregs.h: New.
3425         * config/rl78/signbit.S: New file.  Implements signbit function.
3426         * config/rl78/divmodsi.S: New.
3427         * config/rl78/divmodhi.S: New.
3428         * config/rl78/divmodqi.S: New.
3429         * config/rl78/t-rl78: Build them here...
3430         * config/rl78/lib2div.c: ...but not here.
3432 2013-09-12  DJ Delorie  <dj@redhat.com>
3434         * config.host (msp*-*-elf): New.
3435         * config/msp430/: New port.
3437 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
3439         PR gcov-profile/58127
3440         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
3441         __thread var for emulated TLS.
3442         (__gcov_indirect_call_counters): Likewise.
3444 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
3445             Catherine Moore  <clm@codesourcery.com>
3446             Richard Sandiford  <rdsandiford@googlemail.com>
3448         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
3449         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
3450         (CALL_STUB_NO_RET): Likewise.
3451         (CALL_STUB_RET): Likewise.
3452         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
3453         __mips16_ret call/return stub symbols.
3454         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
3455         to tmake_file.
3457 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
3459         * config.host <mips*-*-linux*>: Remove a stray comment.
3461 2013-08-10  Jan Hubicka  <jh@suse.cz>
3463         Work around binutils PR14342
3464         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
3465         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
3466         (L_gcov_indirect_call_profiler_v2): New.
3468 2013-08-06  Jan Hubicka  <jh@suse.cz>
3470         * libgcov.c (__gcov_indirect_call_callee,
3471         __gcov_indirect_call_counters): New global vars.
3472         (__gcov_indirect_call_profiler): replace by ...
3473         (__gcov_indirect_call_profiler_v2) ... this one.
3475 2013-08-06  Caroline Tice  <cmtice@google.com>
3477         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
3478         vtv_start_preinit.o and vtv_end_preinit.o.
3479         * configure.ac: Add code to check/set enable_vtable_verify.
3480         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
3481         true.
3482         * vtv_start_preinit.c: New file.
3483         * vtv_end_preinit.c: New file.
3484         * vtv_start.c: New file.
3485         * vtv_end.c: New file.
3486         * configure: Regenerated.
3488 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
3490         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
3491         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
3492         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
3493         GPL-3.0-with-GCC-exception.
3495 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
3497         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
3498         ISA and up.
3500 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3502         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
3503         mapping for FPRs when creating the fallback framestate.
3505 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
3507         PR target/57516
3508         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
3509         (__round_s2_const, __round_u2_const)
3510         (__round_s4_const, __round_u4_const, __round_x8):
3511         Saturate result if addition result cannot be represented.
3513 2013-07-15  Matthias Klose  <doko@ubuntu.com>
3515         * libgcc2.c: Don't include <limits.h>.
3517 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
3519         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
3521 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
3523         PR target/29776
3524         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
3526 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
3528         PR middle-end/36041
3529         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
3530         Define.
3531         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
3532         instead of table lookups.
3533         (__popcountDI2): Likewise.
3535 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
3537         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
3538         correctly.
3540 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
3542         PR other/53317
3543         * soft-fp/adddf3.c: Update from glibc.
3544         * soft-fp/addsf3.c: Likewise.
3545         * soft-fp/addtf3.c: Likewise.
3546         * soft-fp/divdf3.c: Likewise.
3547         * soft-fp/divsf3.c: Likewise.
3548         * soft-fp/divtf3.c: Likewise.
3549         * soft-fp/double.h: Likewise.
3550         * soft-fp/eqdf2.c: Likewise.
3551         * soft-fp/eqsf2.c: Likewise.
3552         * soft-fp/eqtf2.c: Likewise.
3553         * soft-fp/extenddftf2.c: Likewise.
3554         * soft-fp/extended.h: Likewise.
3555         * soft-fp/extendsfdf2.c: Likewise.
3556         * soft-fp/extendsftf2.c: Likewise.
3557         * soft-fp/fixdfdi.c: Likewise.
3558         * soft-fp/fixdfsi.c: Likewise.
3559         * soft-fp/fixsfdi.c: Likewise.
3560         * soft-fp/fixsfsi.c: Likewise.
3561         * soft-fp/fixtfdi.c: Likewise.
3562         * soft-fp/fixtfsi.c: Likewise.
3563         * soft-fp/fixunsdfdi.c: Likewise.
3564         * soft-fp/fixunsdfsi.c: Likewise.
3565         * soft-fp/fixunssfdi.c: Likewise.
3566         * soft-fp/fixunssfsi.c: Likewise.
3567         * soft-fp/fixunstfdi.c: Likewise.
3568         * soft-fp/fixunstfsi.c: Likewise.
3569         * soft-fp/floatdidf.c: Likewise.
3570         * soft-fp/floatdisf.c: Likewise.
3571         * soft-fp/floatditf.c: Likewise.
3572         * soft-fp/floatsidf.c: Likewise.
3573         * soft-fp/floatsisf.c: Likewise.
3574         * soft-fp/floatsitf.c: Likewise.
3575         * soft-fp/floatundidf.c: Likewise.
3576         * soft-fp/floatundisf.c: Likewise.
3577         * soft-fp/floatunditf.c: Likewise.
3578         * soft-fp/floatunsidf.c: Likewise.
3579         * soft-fp/floatunsisf.c: Likewise.
3580         * soft-fp/floatunsitf.c: Likewise.
3581         * soft-fp/gedf2.c: Likewise.
3582         * soft-fp/gesf2.c: Likewise.
3583         * soft-fp/getf2.c: Likewise.
3584         * soft-fp/ledf2.c: Likewise.
3585         * soft-fp/lesf2.c: Likewise.
3586         * soft-fp/letf2.c: Likewise.
3587         * soft-fp/muldf3.c: Likewise.
3588         * soft-fp/mulsf3.c: Likewise.
3589         * soft-fp/multf3.c: Likewise.
3590         * soft-fp/negdf2.c: Likewise.
3591         * soft-fp/negsf2.c: Likewise.
3592         * soft-fp/negtf2.c: Likewise.
3593         * soft-fp/op-1.h: Likewise.
3594         * soft-fp/op-2.h: Likewise.
3595         * soft-fp/op-4.h: Likewise.
3596         * soft-fp/op-8.h: Likewise.
3597         * soft-fp/op-common.h: Likewise.
3598         * soft-fp/quad.h: Likewise.
3599         * soft-fp/single.h: Likewise.
3600         * soft-fp/soft-fp.h: Likewise.
3601         * soft-fp/subdf3.c: Likewise.
3602         * soft-fp/subsf3.c: Likewise.
3603         * soft-fp/subtf3.c: Likewise.
3604         * soft-fp/truncdfsf2.c: Likewise.
3605         * soft-fp/trunctfdf2.c: Likewise.
3606         * soft-fp/trunctfsf2.c: Likewise.
3607         * soft-fp/unorddf2.c: Likewise.
3608         * soft-fp/unordsf2.c: Likewise.
3609         * soft-fp/unordtf2.c: Likewise.
3610         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
3611         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3612         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3613         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3614         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3615         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3616         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3617         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3618         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3619         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
3620         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
3621         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3623 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
3625         * config/mips/lib2funcs.c: New file.
3626         * config/mips/t-mips (LIB2ADD_ST): Add it.
3628 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
3630         PR target/6526
3631         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
3632         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
3634 2013-06-08  Walter Lee  <walt@tilera.com>
3636         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
3637         Replace int64_t with long long.  Add __extension__ where
3638         appropriate.
3639         * config/tilepro/atomic.c: Include config.h.
3641 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
3643         * config.host (arm-wrs-vxworks): Configure with other soft float.
3645 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
3647         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
3648         (mips64r5900el-*-elf*): New configurations.
3650 2013-06-04  Alan Modra  <amodra@gmail.com>
3652         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
3654 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
3656         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
3658 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
3660         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
3661         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
3662         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
3664 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
3666         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
3667         (powerpc-wrs-vxworks): Likewise.
3669 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
3671         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
3672         signal frames as well.
3673         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
3674         STACK_BIAS to the CFA offset.
3676 2013-05-17  Richard Henderson  <rth@redhat.com>
3678         PR target/49146
3679         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
3680         (execute_cfa_program): Use it when storing to fs->regs.
3682 2013-05-08  Kai Tietz  <ktietz@redhat.com>
3684         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
3685         (__deregister_frame_info): Likewise.
3687 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
3689         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
3690         NaN's payload.
3692         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
3694 2013-04-25  Alan Modra  <amodra@gmail.com>
3696         * config.host: Match little-endian powerpc-linux.
3698 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
3700         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
3701         as 'unsigned long long' instead of 'unsigned long'.
3702         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
3703         'signed long'.
3705 2013-04-10  Julian Brown  <julian@codesourcery.com>
3707         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
3708         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
3709         unsigned char/unsigned short.
3710         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
3712 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3714         PR other/55274
3715         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
3717 2013-04-04  Meador Inge  <meadori@codesourcery.com>
3719         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
3720         computing the location of the link register.
3721         (aeabi_uldivmod): Ditto.
3723 2013-03-27  Kai Tietz  <ktietz@redhat.com>
3725         * config.host: Add support for cygwin x64 target.
3726         * configure: Regenerated.
3728 2013-03-26  Walter Lee  <walt@tilera.com>
3730         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
3731         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
3733 2013-03-25  Kai Tietz  <ktietz@redhat.com>
3735         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
3737 2013-03-20  Robert Mason  <rbmj@verizon.net>
3739         * config/vxlib-tls.c (__gthread_get_tsd_data,)
3740         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
3741         (__gthread_leave_tsd_dtor_context): Add prototypes.
3742         (tls_delete_hook): Update.
3744 2013-03-20  Catherine Moore  <clm@codesourcery.com>
3745             Joseph Myers  <joseph@codesourcery.com>
3746             Chao-ying Fu  <fu@mips.com>
3748         * config/mips/mips16.S:  Don't build for microMIPS.
3749         * config/mips/linux-unwind.h: Handle microMIPS frame.
3750         * config/mips/crtn.S (fini, init): New labels.
3752 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
3754         PR tree-optimization/53265
3755         * unwind-dw2.c (execute_cfa_program): Avoid
3756         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
3757         on targets with DWARF_FRAME_REGISTERS < 32.
3759 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
3761         PR target/49880
3762         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
3763         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
3765 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
3767         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
3768         sandybridge processors.
3770 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
3772         PR target/56529
3773         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
3774         inclusion list.
3776 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
3778         * config/microblaze/crti.S: Setup stack protection at entry
3780 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
3782         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
3783         (__rotldi3): Shift bytewise if applicable.
3785 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
3787         * config/aarch64/sync-cache.c
3788         (__aarch64_sync_cache_range): Silence warnings.
3790 2013-02-25  Catherine Moore  <clm@codesourcery.com>
3792         Revert:
3793         2013-02-24  Catherine Moore  <clm@codesourcery.com>
3794             Joseph Myers  <joseph@codesourcery.com>
3795             Chao-ying Fu  <fu@mips.com>
3797         * config/mips/mips16.S:  Don't build for microMIPS.
3798         * config/mips/linux-unwind.h: Handle microMIPS frame.
3799         * config/mips/crtn.S (fini, init): New labels.
3801 2013-02-24  Catherine Moore  <clm@codesourcery.com>
3802             Joseph Myers  <joseph@codesourcery.com>
3803             Chao-ying Fu  <fu@mips.com>
3805         * config/mips/mips16.S:  Don't build for microMIPS.
3806         * config/mips/linux-unwind.h: Handle microMIPS frame.
3807         * config/mips/crtn.S (fini, init): New labels.
3809 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
3810         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
3811         as dividend.
3813 2013-02-16  Alan Modra  <amodra@gmail.com>
3815         PR target/55431
3816         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
3817         (ppc_fallback_frame_state): Always set up save locations for fp
3818         and altivec.  Don't bother with non-callee-saved regs, r0-r13
3819         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
3821 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
3823         PR target/54222
3824         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
3825         _ssmulHA, _ssmulSA.
3826         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
3827         _ssmulha3, _usmulusa3, _ssmulsa3.
3828         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
3829         (__muldi3): XCALL __muldi3_6 instead of rcall.
3830         (__umulsidi3, __mulsidi3): New functions.
3831         (do_prologue_saves, do_epilogue_restores): New .macros.
3832         (__divdi3_moddi3): Use them.
3833         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
3834         (__usmulusa3, __ssmulsa3): New functions.
3836 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
3837             Jack Howarth  <howarth@bromo.med.uc.edu>
3838             Patrick Marlier  <patrick.marlier@gmail.com>
3840         PR libitm/55693
3841         * config/darwin-crt-tm.c: Remove dummy functions hack.
3843 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
3845         PR target/54222
3846         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
3847         * config/avr/lib2-object.mk: New iterator to build objects from it.
3848         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
3849         lib2funcs.c.
3850         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
3851         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
3852         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
3853         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
3854         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
3855         * config/avr/lib1funcs-fixed.S: Implement them.
3857 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
3859         Update copyright years.
3861 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
3863         PR target/54601
3864         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
3865         Add crtcxa to extra_parts.
3866         * config/rs6000/exit.h: New file.
3867         * config/rs6000/cxa_atexit.c: New file.
3868         * config/rs6000/cxa_finalize.c: New file.
3869         * config/rs6000/crtcxa.c: New file.
3870         * config/rs6000/t-aix-cxa: New file.
3871         * config/rs6000/libgcc-aix-cxa.ver: New file.
3873 2013-01-31  Nick Clifton  <nickc@redhat.com>
3875         * config/v850/lib1funcs.S: Add support for e3v5 architecture
3876         variant.
3878 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
3880         PR target/54222
3881         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
3882         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
3883         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
3884         _divQQ,  _divHQ,  _divHA,  _divSA,
3885         _divUQQ, _divUHQ, _divUHA, _divUSA.
3887 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
3889         * config.host(microblaze*-linux*): tmake_file: Remove
3890         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
3891         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
3892         to exclude functions from being built with libgcc.c and use
3893         the microblaze assembly.
3895 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
3897         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
3898         extra_parts.
3900 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
3902         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
3903         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
3904         __UINTPTR_TYPE__; also cast 'base' to the same type before the
3905         alignment operation.
3907 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
3909         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
3910         loop start address for cache clearing.
3912 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
3914         * config/avr/lib1funcs.S: Remove trailing blanks.
3915         * config/avr/lib1funcs-fixed.S: Ditto.
3917 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
3919         * config/avr/avr-lib.h: Add GPL copyright notice.
3921 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
3923         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
3924         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
3925         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
3926         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
3928 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
3930         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
3931         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
3933 2013-01-04  Nick Clifton  <nickc@redhat.com>
3935         * config/v850/lib1funcs.S: Only provide CALLT support functions if
3936         the CALLT instruction is supported.
3938 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
3940         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
3941         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
3943 2012-12-13  John Tytgat  <John@bass-software.com>
3945         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
3946         is 25.
3948 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
3950         PR libgcc/55451
3951         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
3952         undefined signed overflows.
3954 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
3956         PR target/55344
3957         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
3959 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
3961         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
3962         (FP_TRAPPING_EXCEPTIONS): Define.
3963         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
3964         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
3966 2012-12-04  Richard Henderson  <rth@redhat.com>
3968         PR bootstrap/55571
3969         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
3971 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3973         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
3974         (FP_EX_SHIFT): Define.
3975         (FP_TRAPPING_EXCEPTIONS): Define.
3977 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3979         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
3980         (FP_ROUNDMODE): Use FP_RND_MASK.
3981         * config/aarch64/sfp-exceptions.c: New.
3982         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3983         Use __sfp_handle_exceptions.
3985 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
3987         * config.host: (arm*-*-freebsd*): Remove.
3988         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
3989         (arm*-*-elf*): Remove.
3990         (arm*-*-wince-pe*): Remove.
3991         * arm/unwind-arm.c (struct fpa_reg): Delete.
3992         (struct fpa_regs): Delete.
3993         (phase1_vrs): Remove fpa element.
3994         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
3995         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
3996         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
3997         * ieee754-sf.S (floatundisf): Remove FPA support.
3998         (floatdisf): Likewise.
3999         * ieee75f-df.S (floatundidf): Likewise.
4000         (floatdidf): Likewise.
4002 2012-11-29  Kai Tietz  <ktietz@redhat.com>
4004         PR target/55445
4005         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
4006         * unwind-generic.h: Likewise.
4007         * unwind-seh.c: Likewise.
4009 2012-11-28  Richard Henderson  <rth@redhat.com>
4011         PR libgcc/48076
4012         * emutls.c (__emutls_get_address): Avoid race condition between
4013         obj->loc.offset read and emutls_key initialization.
4015 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
4017         Adjust decimal point of signed accum mode to GCC default.
4019         PR target/54222
4020         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
4021         _divqq_helper.
4022         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
4023         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
4024         (__mulha3, __mulsa3)
4025         (__divqq3, __divha3, __divsa3): Adjust to new position of
4026         decimal point of signed accum types.
4028         (__mulusa3_round): New function.
4029         (__mulusa3): Use it.
4030         (__divqq_helper): New function.
4031         (__udivuqq3): Use it.
4033 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
4035         PR bootstrap/55370
4036         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
4038 2012-11-18  Teresa Johnson  <tejohnson@google.com>
4040         PR bootstrap/55051
4041         * libgcov.c (gcov_exit): Remove merged program summary
4042         comparison unless !GCOV_LOCKED.
4044 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4046         * soft-fp: Updated from glibc upstream.
4048 2012-11-06  Ian Lance Taylor  <iant@google.com>
4050         * generic-morestack.c (__generic_morestack): Align the returned
4051         stack pointer to a 32 byte boundary.
4052         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
4053         increment the return address until we have decided that we don't
4054         have a varargs function.
4055         (__morestack) [32-bit]: Align stack correctly when calling C
4056         functions.
4057         (__morestack) [64-bit]: Likewise.
4059 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
4061         * configure: Regenerate.
4063 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
4065         PR target/55175
4066         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
4067         * config/i386/sfp-machine.h: Guard exception handling
4068         code with _SOFT_FLOAT.
4069         * config/i386/32/sfp-machine.h: Guard rounding handling
4070         code with _SOFT_FLOAT.
4071         * config/i386/64/sfp-machine.h: Ditto.
4073 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
4075         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
4076         as extra_parts.
4078 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
4080         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
4081         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
4082         when appropriate.  Correct structure element types.
4083         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
4084         -minline-all-stringops from compile flags.
4086 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
4088         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
4090 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
4092         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
4094 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4096         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
4097         tmake_file.
4099 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
4100             Jim MacArthur  <jim.macarthur@arm.com>
4101             Marcus Shawcroft  <marcus.shawcroft@arm.com>
4102             Nigel Stephens  <nigel.stephens@arm.com>
4103             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
4104             Richard Earnshaw  <rearnsha@arm.com>
4105             Sofiane Naci  <sofiane.naci@arm.com>
4106             Stephen Thomas  <stephen.thomas@arm.com>
4107             Tejas Belagod  <tejas.belagod@arm.com>
4108             Yufeng Zhang  <yufeng.zhang@arm.com>
4110         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
4111         * config/aarch64/crti.S: New file.
4112         * config/aarch64/crtn.S: New file.
4113         * config/aarch64/linux-unwind.h: New file.
4114         * config/aarch64/sfp-machine.h: New file.
4115         * config/aarch64/sync-cache.c: New file.
4116         * config/aarch64/t-aarch64: New file.
4117         * config/aarch64/t-softfp: New file.
4119 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
4121         * config/mmix/crti.S: Mark program and data addresses using PRELD.
4122         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
4123         no-longer-needed LDBU insns.
4125 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4127         * config.host
4128         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
4129         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
4131 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
4133         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
4135 2012-10-15  Matthias Klose  <doko@ubuntu.com>
4137         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
4139 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
4141         * configure: Regenerate.
4142         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
4144 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
4146         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4147         instructions for 64bit targets only.
4149 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
4151         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4152         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
4153         * config/i386/32/sfp-machine.h: ... here.
4154         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
4155         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
4156         New defines.
4158 2012-10-07  Matthias Klose  <doko@ubuntu.com>
4160         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
4161         as unused.
4162         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
4164 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
4166         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
4167         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
4168         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
4169         (ElfW): Likewise.
4171 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
4173         PR other/53889
4174         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4175         Fix parameter names.
4177 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
4179         PR target/33135
4180         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
4181         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
4182         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
4184 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
4186         PR target/50457
4187         * config/sh/linux-atomic.S: Delete.
4188         * config/sh/linux-atomic.c: New.
4189         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
4190         linux-atomic.c.  Add cflags to disable warnings.
4192 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
4194         PR other/53889
4195         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
4196         function.
4197         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
4198         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
4199         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
4200         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
4201         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
4202         Likewise.
4203         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4204         Likewise.
4205         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
4206         Likewise.
4207         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
4208         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
4210 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
4212         * config.host (hppa-*-openbsd*): New target.
4213         * config/pa/t-openbsd: New file.
4215 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
4217         PR target/54222
4218         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
4219         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
4220         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
4221         (__divsa3): Use __negsi2 to negate r_quoL.
4222         * config/avr/lib1funcs.S (FALIAS): New macro.
4223         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
4224         (__negsi2): ...this new function.
4225         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
4226         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
4227         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
4228         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
4229         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
4230         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
4232 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
4234         PR target/54089
4235         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
4236         (lshrsi3): Reimplement as lshrsi3_r0.
4238 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
4240         PR target/46191
4241         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
4242         of libgcc.a.
4244 2012-09-07  Teresa Johnson  <tejohnson@google.com>
4246         PR gcov-profile/54487
4247         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
4248         differences.
4250 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
4252         PR target/54461
4253         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
4254         not configured --with-avrlibc=no.
4255         * config/avr/t-avrlibc: New file.
4256         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
4257         (DPBIT_FUNCS): Ditto.
4258         (TPBIT_FUNCS): Ditto.
4260 2012-09-04  Teresa Johnson  <tejohnson@google.com>
4262         * libgcov.c (struct gcov_summary_buffer): New structure.
4263         (gcov_histogram_insert): New function.
4264         (gcov_compute_histogram): Ditto.
4265         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
4266         histograms during summary merging.
4268 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
4270         * config.host (x86_64-*-openbsd*): New target.
4272 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
4274         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
4275         attribute.
4277 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
4279         PR target/54222
4280         * config/avr/t-avr (conv_X): Rename to func_X.
4282 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
4284         PR target/54222
4285         * config/avr/lib1funcs-fixed.S: New file.
4286         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
4287         after they are used.
4288         (neg2, neg4): New macros.
4289         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
4290         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
4291         (__umulhisi3): Speed up MUL variant if there is enough flash.
4292         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
4293         avr-modes.def.
4294         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
4295         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
4296         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
4297         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
4298         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
4299         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
4300         (LIB2FUNCS_EXCLUDE): Add supported functions.
4302 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
4304         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
4305         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
4306         libgcc-s-objects.
4307         * fixed-obj.mk: Only expand dependency if $o is not in
4308         LIB2FUNCS_EXCLUDE.
4310 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
4312         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
4314 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
4316         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
4317         depend on --enable-shared.
4318         ($(lib1asmfuncs-o)): Use %.vis files independent of
4319         --enable-shared.
4320         * static-object.mk ($(base)$(objext), $(base).vis)
4321         ($(base)_s$(objext)): Use same rules for visibility handling as in
4322         shared-object.mk.
4324 2012-08-21  Ian Lance Taylor  <iant@google.com>
4326         * config/i386/morestack.S (__morestack_non_split): Increase amount
4327         of space allocated for non-split code stack.
4329 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
4331         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
4332         even if inhibit_libc.
4334 2012-08-17  Julian Brown  <julian@codesourcery.com>
4336         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
4337         -fexceptions -fnon-call-exceptions if not defined.
4338         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
4339         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
4341 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
4343         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
4344         type.
4346 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
4348         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
4349         rs6000/t-slibgcc-aix.
4351 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
4353         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
4355 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
4357         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
4359 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
4361         PR driver/54171
4362         * Makefile.in (version): Replace top_srcdir with srcdir.
4364 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
4366         * Makefile.in (version): set to BASE-VER file from gcc directory.
4368 2012-08-01  Nick Clifton  <nickc@redhat.com>
4370         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
4371         Implements __clrsb for an HImode argument.
4373 2012-07-31  Nick Clifton  <nickc@redhat.com>
4375         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
4376         Implements __clrsb for an HImode argument.
4377         * config/stormy16/clrsbhi2.c: New file:
4378         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
4380 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
4382         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
4384 2012-07-19  Tristan Gingold  <gingold@adacore.com>
4385             Richard Henderson  <rth@redhat.com>
4387         * unwind-seh.c: New file.
4388         * unwind-generic.h: Include windows.h for SEH.
4389         (_Unwind_Exception): Use 6 private fields for SEH.
4390         (_GCC_specific_handler): Declare.
4391         * unwind-c.c (__gcc_personality_seh0): New function.
4392         Adjust for SEH.
4393         * config/i386/libgcc-cygming.ver: New file.
4394         * config/i386/t-seh-eh: New file.
4395         * config.host (x86_64-*-mingw*): Default to seh.
4397 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
4399         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
4401 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
4403         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
4404         __builtin_expect when checking for exceptions.
4405         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
4407 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
4409         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
4410         function declaration.
4411         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4412         (FP_RND_MASK): New.
4413         * config/ia64/sfp-exceptions.c: New.
4414         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
4416 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
4418         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
4419         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
4420         * config/i386/64/sfp-machine: ... (delete here) ...
4421         * config/i386/sfp-machine.h: ... to here.
4422         (FP_EX_MASK): Remove.
4423         (FP_RND_MASK): New.
4424         (FP_INIT_ROUNDMODE): Declare asm as volatile.
4426 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
4428         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
4429         * config/i386/libgcc-sol2.ver: Ditto.
4430         * config/i386/libgcc-glibc.ver: Ditto.
4432 2012-06-11  Roland McGrath  <mcgrathr@google.com>
4434         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
4435         If __GLIBC__ is defined, refer to __pthread_key_create instead of
4436         pthread_cancel.
4438 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
4440         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
4441         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
4442         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
4443         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4444         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
4445         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
4446         * config/i386/64/sfp-machine: ... (delete here) ...
4447         * config/i386/sfp-machine.h: ... to here.
4448         (FP_EX_MASK): New.
4449         (__sfp_handle_exceptions): New function declaration.
4450         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4451         * config/i386/sfp-exceptions.c: New.
4452         * config/i386/t-softfp: New.
4453         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
4454         i386/t-softfp to tmake_file.
4456 2012-06-03  David S. Miller  <davem@davemloft.net>
4458         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
4459         change.
4461 2012-05-31  David S. Miller  <davem@davemloft.net>
4463         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
4464         multiply and divide instructions on 32-bit when V9.
4465         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
4467 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
4469         * config/arm/ieee754-df.S: Fix typos.
4470         * config/arm/ieee754-sf.S: Fix typos.
4471         * config/c6x/libunwind.S: Fix typos.
4472         * config/epiphany/udivsi3-float.c: Fix typos.
4473         * config/microblaze/muldi3_hard.S: Fix typos.
4474         * config/picochip/adddi3.S: Fix typos.
4475         * config/picochip/ashlsi3.S: Fix typos.
4476         * config/picochip/ashrsi3.S: Fix typos.
4477         * config/picochip/clzsi2.S: Fix typos.
4478         * config/picochip/cmpsi2.S: Fix typos.
4479         * config/picochip/divmod15.S: Fix typos.
4480         * config/picochip/divmodhi4.S: Fix typos.
4481         * config/picochip/divmodsi4.S: Fix typos.
4482         * config/picochip/longjmp.S: Fix typos.
4483         * config/picochip/lshrsi3.S: Fix typos.
4484         * config/picochip/parityhi2.S: Fix typos.
4485         * config/picochip/popcounthi2.S: Fix typos.
4486         * config/picochip/setjmp.S: Fix typos.
4487         * config/picochip/subdi3.S: Fix typos.
4488         * config/picochip/ucmpsi2.S: Fix typos.
4489         * config/picochip/udivmodhi4.S: Fix typos.
4490         * config/picochip/udivmodsi4.S: Fix typos.
4491         * config/spu/divv2df3.c: Fix typos.
4492         * config/spu/mfc_multi_tag_release.c: Fix typos.
4493         * config/spu/mfc_tag_release.c: Fix typos.
4494         * configure.ac: Fix typos.
4495         * configure: Regenerate.
4497 2012-05-25  Ian Lance Taylor  <iant@google.com>
4499         * config/i386/morestack.S (__morestack_non_split): Check whether
4500         caller is varargs and needs %bp to hold the stack frame on return.
4502 2012-05-25  Olivier Hainque  <hainque@adacore.com>
4504         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
4505         sequence in the non pic case on VxWorks.
4507 2012-05-24  Olivier Hainque  <hainque@adacore.com>
4509         * Makefile.in: Move dependency on install-unwind_h from
4510         "install-leaf" to "install".
4512 2012-05-24  Olivier Hainque  <hainque@adacore.com>
4514         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
4515         Use a separate command for stamp removals.
4517 2012-05-21  Andrew Pinski  <apinski@cavium.com>
4519         PR bootstrap/53183
4520         * configure.ac: Define the default includes to being none.
4521         * configure: Regenerate.
4523 2012-05-16  Olivier Hainque  <hainque@adacore.com>
4525         * Makefile.in (install-unwind_h): Rename into ...
4526         (install-unwind_h-forbuild): New target.
4527         (all): Use it instead of the former install-unwind_h.
4528         (install-unwind_h): Reinstate, copy to user install destination
4529         for include files, not to the internal gcc object directory one.
4530         (install-leaf): Depend on it.
4532 2012-05-15  Olivier Hainque  <hainque@adacore.com>
4534         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
4535         register numbers. LR_REGNO replaces R_LR.
4536         (ucontext_for): New, helper for ...
4537         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
4538         and 5.3 of ...
4539         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
4541 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4543         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
4544         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
4545         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
4546         i386/t-cpuinfo ...
4547         (i[34567]86-*-*, x86_64-*-*): ... here.
4549         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
4550         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
4552         * config/i386/i386-cpuinfo.c: Rename to ...
4553         * config/i386/cpuinfo.c: ... this.
4554         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
4556         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
4557         (libgcc_cv_init_priority): New test.
4558         * configure: Regenerate.
4559         * config.in: New file.
4560         * Makefile.in (clean): Rename config.h to auto-target.h.
4561         (config.h): Likewise.
4562         (stamp-h): Likewise.
4564         * config/i386/cpuinfo.c (auto-target.h): Include.
4565         (CONSTRUCTOR_PRIORITY): Define.
4566         (__cpu_indicator_init): Use it.
4568 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
4570         * longlong.h: Use a URL instead of an FSF postal address.
4571         Replace spaces with tab.
4573 2012-05-08  Teresa Johnson  <tejohnson@google.com>
4575         * libgcov.c (gcov_clear, __gcov_reset): New functions.
4576         (__gcov_dump): Ditto.
4577         (gcov_dump_complete): New global variable.
4578         (gcov_exit): Export hidden to enable use in L_gcov_dump.
4579         (__gcov_flush): Outline functionality now in gcov_clear.
4580         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
4582 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
4584         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
4585         (mips*-*-linux*): Include mips/t-tpbit when long double is
4586         16 bytes long.
4588 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
4590         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
4591         (get_available_features): New argument. Check for AVX2.
4592         (__cpu_indicator_init): Modify call to get_available_features.
4594 2012-04-25  Alan Modra  <amodra@gmail.com>
4596         * config/rs6000/crtsavevr.S: New file.
4597         * config/rs6000/crtrestvr.S: New file.
4598         * config/rs6000/t-savresfgpr: Build the above.
4599         * config/rs6000/t-netbsd: Likewise.
4601 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
4603         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
4605 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
4607         * libgcc/config/i386/i386-cpuinfo.c: New file.
4608         * libgcc/config/i386/t-cpuinfo: New file.
4609         * libgcc/config.host: Include t-cpuinfo.
4610         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
4612 2012-04-24  Chao-ying Fu  <fu@mips.com>
4614         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
4616 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
4618         struct siginfo vs. siginfo_t
4620         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
4621         siginfo_t instead of struct siginfo.
4622         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
4623         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
4624         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
4625         (ia64_handle_unwabi): Likewise.
4626         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
4627         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
4628         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
4629         (sh_fallback_frame_state): Likewise.
4630         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
4631         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
4633 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
4635         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
4636         system call number.
4638 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
4640         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
4641         if it hasn't been previously saved.
4643 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
4645         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
4646         only for glibc.
4648 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
4650         PR target/52737
4651         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
4652         instead of __AVR_HAVE_8BIT_SP__.
4654 2012-03-26  Tristan Gingold  <gingold@adacore.com>
4656         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
4657         (unw_table_entry): Use unw_word instead of unsigned long.
4658         (_Unwind_FindTableEntry): Likewise.
4659         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
4660         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
4661         (_Unwind_FindTableEntry): Likewise.
4662         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
4663         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
4664         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
4665         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
4666         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
4667         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
4668         (uw_init_context_1, uw_install_context): Likewise.
4669         (unw_word): Move to unwind-ia64.h
4671 2012-03-26  Tristan Gingold  <gingold@adacore.com>
4673         * config/vms/vms-ucrt0.c: Update copyright years.
4674         Add a sanity check.
4675         (___gcc_main_flags): Declare.
4676         (__main): Check flags to remap argv and exit code.
4677         * config.host (*-*-*vms*): Adjust extra_parts.
4678         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
4679         (crt0.o): Add.
4681 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
4683         * arm/lib1funcs.asm (ctzsi2): New function.
4684         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
4685         * arm/t-linux (LIB1ASMFUNCS): Likewise.
4686         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
4687         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
4688         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
4689         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
4691 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
4693         * config.host: Add bits to support powerpc64-*-freebsd*.
4694         * config/rs6000/freebsd-unwind.h: New file.
4695         * config/rs6000/t-freebsd64: New file.
4697 2012-03-20  Richard Guenther  <rguenther@suse.de>
4699         PR gcov-profile/52627
4700         * libgcov.c (init_mx): Fix mutex name.
4702 2012-03-16  Tristan Gingold  <gingold@adacore.com>
4704         * config/ia64/vms-unwind.h: Remove ulong (and replace
4705         it by unw_reg where used).  Define unw_reg with __int64.
4707 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4709         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4710         Solaris 8 handling.
4711         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4712         Solaris 8 handling.
4713         (sparc_is_sighandler): Likewise.
4715 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
4717         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
4718         <= saved reg size.
4720 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4722         * config/arm/crtn.S: Fix typo.
4724 2012-03-13  Richard Guenther  <rguenther@suse.de>
4726         * libgcov.c: Remove stdio.h include and NULL un-define.
4728 2012-03-13  Richard Guenther  <rguenther@suse.de>
4730         PR target/52569
4731         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
4733 2012-03-13  Richard Guenther  <rguenther@suse.de>
4735         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
4737 2012-03-13  Richard Guenther  <rguenther@suse.de>
4739         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
4740         and __gthread_mutex_init_function definitions.
4742 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4744         * config.host (mips*-*-openbsd*): Remove.
4746 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4748         * config.host: Remove alpha*-dec-osf5.1* handling.
4749         * config/alpha/gthr-posix.c: Remove.
4750         * config/alpha/libgcc-osf5.ver: Remove.
4751         * config/alpha/osf5-unwind.h: Remove.
4752         * config/alpha/t-osf-pthread: Remove.
4753         * config/alpha/t-slibgcc-osf: Remove.
4754         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
4755         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
4756         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
4757         * mkmap-flat.awk: Remove osf_export handling.
4759 2012-03-12  Richard Guenther  <rguenther@suse.de>
4761         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
4762         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
4763         (__gthread_mutex_init_function): New function.
4764         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
4766         PR gcov/49484
4767         * libgcov.c: Include gthr.h.
4768         (__gcov_flush_mx): New global variable.
4769         (init_mx, init_mx_once): New functions.
4770         (__gcov_flush): Protect self with a mutex.
4771         (__gcov_fork): Re-initialize mutex after forking.
4772         * unwind-dw2-fde.c: Change condition under which to use
4773         __GTHREAD_MUTEX_INIT_FUNCTION.
4775 2012-03-12  Tristan Gingold  <gingold@adacore.com>
4777         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
4778         * config/ia64/t-vms: Likewise.
4780 2012-03-11  Michael Hope  <michael.hope@linaro.org>
4782         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
4783         for Thumb-2.
4785 2012-03-07  Walter Lee  <walt@tilera.com>
4787         * config/tilepro/atomic.c: Rename "atomic_" prefix to
4788         "arch_atomic_".
4789         (atomic_xor): Rename and move definition to
4790         config/tilepro/atomic.h.
4791         (atomic_nand): Ditto.
4792         * config/tilepro/atomic.h: Rename "atomic_" prefix to
4793         "arch_atomic_".
4794         (arch_atomic_xor): Move from config/tilepro/atomic.c.
4795         (arch_atomic_nand): Ditto.
4797 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
4799         PR target/52507
4800         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
4802 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
4804         PR target/52505
4805         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
4806         from RAM.
4808 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
4810         PR target/52461
4811         PR target/52508
4812         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
4813         if RAMPZ affects reading from RAM.
4814         (__tablejump_elpm__): Ditto.
4815         (.xload): Ditto.
4816         (__movmemx_hi): Ditto.
4817         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
4818         (__do_global_dtors): Ditto.
4819         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
4820         (__movmemx_hi): Ditto.
4822 2012-03-05  Richard Henderson  <rth@redhat.com>
4824         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
4825         [ARM] (count_trailing_zeros): Use the builtin.
4827 2012-03-01  Kai Tietz  <ktietz@redhat.com>
4829         * soft-fp: Imported from glibc upstream.
4831 2012-02-28  Kai Tietz  <ktietz@redhat.com>
4833         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
4834         for mingw-targets as attribute gcc_struct.
4836 2012-02-28  Ian Lance Taylor  <iant@google.com>
4838         * generic-morestack.c (__splitstack_releasecontext): Correct call
4839         to __morestack_release_segments.
4841 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4843         PR target/52390
4844         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
4845         for __linux__ when removing signals from __morestack_fullmask.
4847 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
4849         PR target/52261
4850         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
4852 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4854         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
4855         instead of HAVE_INITFINI_ARRAY.
4856         * config/ia64/crtend.S: Likewise.
4858 2012-02-20  Kai Tietz  <ktietz@redhat.com>
4860         PR libstdc++/52300
4861         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
4863         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
4864         to w32-unwind.h header.
4866 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
4868         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
4869         (mips*-*-linux*): Remove t-slibgcc-libgcc.
4870         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
4871         * config/mips/mips16.S (__mips16_rdhwr): Delete.
4873 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
4875         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
4877 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
4879         PR libitm/52220
4880         * config/darwin-crt-tm.c: Correct typo.
4882 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
4883             Patrick Marlier  <patrick.marlier@gmail.com>
4885         PR libitm/52220
4886         * config/darwin-crt-tm.c: Generate dummy functions.
4888 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
4889             Patrick Marlier  <patrick.marlier@gmail.com>
4891         PR libitm/52042
4892         * config/darwin-crt-tm.c (getTMCloneTable): New function.
4893         (__doTMRegistrations): Call it.
4894         (__doTMdeRegistrations): Likewise.
4896 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
4897             Anatoly Sokolov  <aesok@post.ru>
4898             Eric Weddington  <eric.weddington@atmel.com>
4900         PR target/52261
4901         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
4902         (__epilogue_restores__): Ditto.
4904 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
4906         PR target/51921
4907         PR target/52205
4908         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
4909         Solaris 11 and slightly reformat.
4910         (sparc_is_sighandler): Likewise.
4912 2012-02-14  Walter Lee  <walt@tilera.com>
4914         * config.host: Handle tilegx and tilepro.
4915         * config/tilegx/sfp-machine.h: New file.
4916         * config/tilegx/sfp-machine32.h: New file.
4917         * config/tilegx/sfp-machine64.h: New file.
4918         * config/tilegx/t-crtstuff: New file.
4919         * config/tilegx/t-softfp: New file.
4920         * config/tilegx/t-tilegx: New file.
4921         * config/tilepro/atomic.c: New file.
4922         * config/tilepro/atomic.h: New file.
4923         * config/tilepro/linux-unwind.h: New file.
4924         * config/tilepro/sfp-machine.h: New file.
4925         * config/tilepro/softdivide.c: New file.
4926         * config/tilepro/softmpy.S: New file.
4927         * config/tilepro/t-crtstuff: New file.
4928         * config/tilepro/t-tilepro: New file.
4930 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
4932         PR libstdc++/51296
4933         PR libstdc++/51906
4934         * gthr-posix.h: Allow static initializer macros to be disabled.
4935         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
4937 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
4939         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
4940         Add t-slibgcc-libgcc to tmake_file.
4941         * config/mips/libgcc-mips16.ver: Revert previous patch.
4942         * config/mips/mips16.S (__mips16_rdhwr): Hide.
4944 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
4945             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
4947         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
4948         * config/cr16/crti.S: New file.
4949         * config/cr16/crtlibid.S: New file.
4950         * config/cr16/crtn.S: New file.
4951         * config/cr16/lib1funcs.S: New file.
4952         * config/cr16/t-cr16: New file.
4953         * config/cr16/t-crtlibid: New file.
4954         * config/cr16/unwind-dw2.h: New file.
4955         * config/cr16/unwind-cr16.c: New file.
4956         * config/cr16/divmodhi3.c: New file.
4958 2012-01-25  Alan Modra  <amodra@gmail.com>
4960         * config/rs6000/t-linux64: Delete.  Move..
4961         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
4962         * config/rs6000/t-linux: ..and libgcc flags to here.
4964 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
4966         * config.host (i[34567]86-*-interix3*):
4967         Change triplet to i[34567]86-*-interix[3-9]*.
4968         * configure: Regenerate.
4970 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
4971             Richard Sandiford  <rdsandiford@googlemail.com>
4973         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
4974         * config/mips/mips16.S (__mips16_rdhwr): New function.
4975         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
4977 2012-01-11  Nathan Sidwell  <nathan@acm.org>
4979         * libgcov.c (__gcov_init): Ignore objects with no functions.
4981 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
4983         PR target/49868
4984         Extend __pgmx semantics to linearize memory.
4985         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
4986         * config/avr/lib1funcs.S (__xload_1): New function.
4987         (__movmemx_qi, __movmemx_hi): New functions.
4988         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
4989         semantics.
4991 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
4993         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
4994         purported sigacthandler address isn't null before dereferencing it.
4995         (sparc_is_sighandler): Likewise.
4997 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
4999         PR ada/41929
5000         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
5001         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
5002         (sparc_is_sighandler): Likewise.
5003         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
5005 2012-01-06  Tristan Gingold  <gingold@adacore.com>
5007         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
5008         compatibility thunks...
5009         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
5010         (crtbeginS.o, crtendS.o): ... and these to ...
5011         * config/ia64/t-ia64-elf: ... this new file.
5012         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
5013         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
5015 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5017         * configure: Regenerate.
5018         * config/s390/t-crtstuff: Remove -fPIC.
5020 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
5022         PR bootstrap/51006
5023         * enable-execute-stack-mprotect.c (getpagesize): Do not define
5024         for NetBSD.
5026 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
5028         PR target/51345
5029         * config/avr/lib1funcs.S: Remove FIXME comments.
5030         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
5032 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
5034         Implement light-weight DImode support.
5035         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
5036         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
5037         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
5038         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
5040 2011-12-30  Nathan Sidwell  <nathan@acm.org>
5042         * libgcov.c (gcov_crc32): Remove global var.
5043         (free_fn_data): New function.
5044         (buffer_fn_data): Pass in filename, more robust error recovery.
5045         (crc32_unsigned): New function.
5046         (gcov_exit): More robust detection of new program. More robust
5047         error recovery.
5048         (__gcov_init): Do not update program's crc here.
5050 2011-12-21  Tristan Gingold  <gingold@adacore.com>
5052         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
5054 2011-12-21  Ian Lance Taylor  <iant@google.com>
5056         * config/i386/morestack.S: Simplify CFI opcodes throughout.
5058 2011-12-20  Ian Lance Taylor  <iant@google.com>
5060         * config/i386/morestack.S (__morestack_non_split): If there is
5061         enough stack space already, don't split.  Ask for more stack space
5062         than we required.
5064 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
5066         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
5067         `sys/sdt.h'.
5068         (_Unwind_DebugHook): New function.
5069         (uw_restore_core_regs): New define.
5070         (unwind_phase2): Use uw_restore_core_regs instead of
5071         restore_core_regs.
5072         (unwind_phase2_forced): Likewise.
5073         (__gnu_Unwind_Resume): Likewise.
5075 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
5077         * config/alpha/linux-unwind.h: Update copyright years.
5078         (MD_FROB_UPDATE_CONTEXT): New define.
5079         (alpha_frob_update_context): New function.
5081 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
5083         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
5084         tmake_file rather replacing it.
5086 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
5088         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
5089         function is not used for PPC64.
5090         (save_world): Amend comments.  Update the VRsave mask to reflect the
5091         saved regs.
5092         (rest_world): Update comments, do not  clobber r10, do not use r8.
5093         (eh_rest_world_r10): Amend comments, do not use r8.
5094         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
5095         no longer used, move restore of CR and target address to the end of
5096         the routine.
5098 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
5100         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
5101         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
5103 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
5105         PR target/49313
5106         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
5107         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
5109 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
5111         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
5113 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
5115         PR target/49313
5116         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
5117         * config/avr/lib1funcs.S (__muldi3): New function.
5119 2011-12-06  Andrew Pinski  <apinski@cavium.com>
5121         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
5122         size of func_ptr.
5123         (__frame_dummy_init_array_entry): Likewise.
5125 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
5127         Forward-port from gcc-4_6-branch r181936 2011-12-02.
5129         PR target/51345
5130         PR target/51002
5131         * config/avr/lib1funcs.S (__prologue_saves__,
5132         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
5133         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
5135 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
5137         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
5139 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5141         PR other/51272
5142         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
5143         (_ITM_deregisterTMCloneTable): Likewise.
5144         (__register_frame_info): Fix unused warning.
5145         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
5146         pthread_default_stacksize_np): Likewise.
5147         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
5149 2011-11-29  DJ Delorie  <dj@redhat.com>
5151         * config.host (rl78-*-elf): New case.
5152         * config/rl78: New directory for the Renesas RL78.
5154 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
5156         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
5157         formatting.
5159 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5161         PR other/51022
5162         * config/rs6000/t-savresfgpr: New file.
5163         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
5164         $(srcdir)/config/rs6000/eabi.S.
5165         * config/rs6000/t-ppccomm-ldbl: Remove.
5166         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
5167         tmake_file.
5168         (powerpc-*-eabispe*): Likewise.
5169         (powerpc-*-eabi*): Likewise.
5170         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5171         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
5172         to tmake_file, remove rs6000/t-ppccomm-ldbl.
5173         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
5174         tmake_file.
5175         (powerpc-*-eabisim*): Likewise.
5176         (powerpc-*-elf*): Likewise.
5177         (powerpc-*-eabialtivec*): Likewise.
5178         (powerpc-xilinx-eabi*): Likewise.
5179         (powerpc-*-rtems*): Likewise.
5180         (powerpcle-*-elf*): Likewise.
5181         (powerpcle-*-eabisim*): Likewise.
5182         (powerpcle-*-eabi*): Likewise.
5184 2011-11-27  Ian Lance Taylor  <iant@google.com>
5186         * generic-morestack.c (__splitstack_find): Check for NULL old
5187         stack value.
5188         (__splitstack_resetcontext): New function.
5189         (__splitstack_releasecontext): New function.
5190         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5192 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
5194         * config/darwin-crt-tm.c: Correct comments, use correct licence.
5196 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
5198         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
5200 2011-11-26  Richard Henderson  <rth@redhat.com>
5202         * config/m68k/linux-atomic.c: New file.
5203         * config/m68k/t-linux: New file.
5204         * config.host (m68k-uclinux, m68k-linux): Use it.
5206 2011-11-26  Richard Henderson  <rth@redhat.com>
5208         * crtstuff.c (__TMC_LIST__): Mark used not unused.
5209         (__TMC_END__): Only declare if hidden is available; in the definition,
5210         if hidden is unavailable add a null record.
5211         (deregister_tm_clones, register_tm_clones): New.
5212         (__do_global_dtors_aux, frame_dummy): Use them.
5213         (__do_global_dtors, __do_global_ctors_1): Likewise.
5215 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
5217         * config/darwin-crt-tm.c: New file.
5218         * config.host (darwin): Build crttms.o crttme.o to provide
5219         startup and shutdown for tm clones.
5220         * config/t-darwin (crttms.o): New build rule.
5221         (crttme.o): Likewise.
5223 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
5225         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
5226         et al.
5228 2011-11-21  Richard Henderson  <rth@redhat.com>
5230         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
5231         (__TMC_LIST__, __TMC_END__): New.
5232         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
5233         (__do_global_dtors): Likewise.
5234         (frame_dummy): Call _ITM_registerTMCloneTable.
5235         (__do_global_ctors_1): Likewise.
5237 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5239         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
5240         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5241         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
5242         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
5243         * config/i386/t-darwin64: Remove.
5244         * config/sh/t-netbsd (LIB2ADD): Remove.
5246 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
5248         PR target/49313
5249         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
5250         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
5251         * config/avr/lib1funcs.S (wmov): New assembler macro.
5252         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
5253         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
5254         (__udivmod64): New function.
5255         (__negdi2): New function.
5257 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
5259         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
5260         *-*-freebsd*aout*): Remove.
5262 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
5264         * static-object.mk (c_flags-$o): Save c_flags.
5265         ($(base)$(objext)): Use it.
5267 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
5269         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
5271 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
5273         PR target/49868
5274         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
5275         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
5276         New functions.
5278 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
5280         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
5281         functions.
5282         (aeabi_uidivmod): Likewise.
5283         (umodsi3): Likewise.
5284         (divsi3): Likewise.
5285         (aeabi_idivmod): Likewise.
5286         (modsi3): Likewise.
5288 2011-11-16  Tristan Gingold  <gingold@adacore.com>
5290         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
5292 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
5294         PR target/49868
5295         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
5296         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
5298 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5300         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
5301         tmake_file list.
5302         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
5303         * config/pa/t-stublib64: Delete.
5305 2011-11-12  Richard Henderson  <rth@redhat.com>
5307         * config/rs6000/linux-unwind.h (frob_update_context): Properly
5308         cast the pointer argument to _Unwind_SetGRPtr.
5310 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5312         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
5314 2011-11-09  Ian Lance Taylor  <iant@google.com>
5316         * generic-morestack.c: Include <string.h>.
5317         (uintptr_type): Define.
5318         (struct initial_sp): Add dont_block_signals field.  Reduce size of
5319         extra array by 1.
5320         (allocate_segment): Set prev field to NULL.  Don't set
5321         __morestack_current_segment or __morestack_segments.
5322         (__generic_morestack): Update current->prev and *pp after calling
5323         allocate_segment.
5324         (__morestack_block_signals): Don't do anything if
5325         dont_block_signals is set.
5326         (__morestack_unblock_signals): Likewise.
5327         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
5328         uintptr_type.
5329         (__splitstack_block_signals): New function.
5330         (enum __splitstack_content_offsets): Define.
5331         (__splitstack_getcontext, __splitstack_setcontext): New functions.
5332         (__splitstack_makecontext): New function.
5333         (__splitstack_block_signals_context): New function.
5334         (__splitstack_find_context): New function.
5335         * config/i386/morestack.S (__morestack_get_guard): New function.
5336         (__morestack_set_guard, __morestack_make_guard): New functions.
5337         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5339 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5341         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
5342         (i[34567]86-*-mingw*): ... here.
5343         (x86_64-*-mingw*): ... here.
5345 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5347         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
5349 2011-11-07  Nathan Sidwell  <nathan@acm.org>
5351         * libgcov.c (struct gcov_fn_buffer): New struct.
5352         (buffer_fn_data): New helper.
5353         (gcov_exit): Rework for new gcov data structures.
5355 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
5357         PR target/49313
5358         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
5360 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5362         * config.host (tmake_file): Correct comment.
5363         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
5364         t-libgcc-pic.
5365         (bfin*-uclinux*): Likewise.
5366         (bfin*-linux-uclibc*): Likewise.
5367         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
5369         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
5370         assigning.
5371         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5372         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
5373         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5374         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
5375         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5376         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
5377         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
5378         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5379         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
5380         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
5381         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
5382         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
5383         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
5385         * config/bfin/t-elf: Remove.
5386         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
5388 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5390         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
5391         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
5392         (lm32-*-elf*, lm32-*-rtems*): Split into ...
5393         (lm32-*-elf*): ... this.
5394         (lm32-*-rtems*): ... and this.
5395         Add to tmake_file.
5396         (m32r-*-rtems*): Add to tmake_file.
5397         (moxie-*-rtems*): Likewise.
5398         (sparc-*-rtems*): Likewise.
5399         Remove t-rtems from tmake_file.
5400         (sparc64-*-rtems*): Likewise.
5401         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
5402         instead.
5404 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5406         PR bootstrap/50982
5407         * config/gthr-posix.h: Move ...
5408         * gthr-posix.h: ... here.
5409         * config/gthr-lynx.h: Reflect this.
5410         * config/gthr-vxworks.h: Likewise.
5411         * config/rs6000/gthr-aix.h: Likewise.
5412         * configure.ac (target_thread_file): Likewise.
5413         * configure: Regenerate.
5415 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5417         * config.host (arm*-*-rtemseabi*): New target.
5419 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5421         PR other/50991
5422         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
5423         extra-parts.
5425 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
5427         * config.host (epiphany-*-elf*): New configuration.
5428         * config/epiphany: New Directory.
5430 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
5432         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
5433         * config/avr/t-rtems: New.
5434         Filter out _exit from LIB1ASMFUNCS.
5436 2011-11-04  David S. Miller  <davem@davemloft.net>
5438         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
5439         * configure: Rebuild.
5441 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5443         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
5444         variable.
5446 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
5448         PR target/50931
5449         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
5450         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
5452 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
5454         PR target/50989
5455         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
5457 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5459         * config/c6x/t-elf (LIB2ADDEH): Set.
5460         * config/c6x/t-c6x-elf: Remove.
5462 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5464         * config/i386/sol2-ci.S: Rename to ...
5465         * config/i386/crti.S: ... this.
5466         * config/i386/sol2-cn.S: Rename to ...
5467         * config/i386/crtn.S: ... this.
5468         * config/sparc/sol2-ci.S: Rename to ...
5469         * config/sparc/crti.S: ... this.
5470         * config/sparc/sol2-cn.S: Rename to ...
5471         * config/sparc/crtn.S: ... this.
5472         * config/t-sol2 (CUSTOM_CRTIN): Remove.
5473         (crti.o, crtn.o): Remove.
5475 2011-11-04  Tristan Gingold  <gingold@adacore.com>
5477         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
5479 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
5481         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
5483 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
5485         * config.host (crisv32-*-none, cris-*-none): Remove.
5486         (crisv32-*-elf): Append to tmake_file, don't just set it.
5487         (cris-*-elf): Add missing t-fdpbit to tmake_file.
5489 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5491         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
5492         (ecrtn$(objext)): Likewise.
5493         (ncrti$(objext)): Likewise.
5494         (ncrtn$(objext)): Likewise.
5496 2011-11-03  Andreas Schwab  <schwab@redhat.com>
5498         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
5500 2011-11-02  David S. Miller  <davem@davemloft.net>
5502         * configure.ac: Set host_address on sparc too.
5503         * configure: Regenerate.
5504         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
5505         based upon host_address.
5506         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
5508 2011-11-02  Jason Merrill  <jason@redhat.com>
5510         * config/rs6000/t-ppccomm: Add missing \.
5512 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5514         * gthr-single.h, gthr.h: New files.
5515         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
5516         config/gthr-vxworks.h, config/i386/gthr-win32.h,
5517         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
5518         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
5519         * config/i386/gthr-win32.c: Include "gthr-win32.h".
5520         * configure.ac (thread_header): New variable.
5521         Set it depending on target_thread_file.
5522         (gthr-default.h): Link from $thread_header.
5523         * configure: Regenerate.
5524         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
5526 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5528         * configure.ac (tm_file_): New variable.
5529         Determine from tm_file.
5530         (tm_file, tm_defines): Substitute.
5531         * configure: Regenerate.
5532         * mkheader.sh: New file.
5533         * Makefile.in (clean): Remove libgcc_tm.h.
5534         ($(objects)): Depend on libgcc_tm.h.
5535         (libgcc_tm_defines, libgcc_tm_file): New variables.
5536         (libgcc_tm.h, libgcc_tm.stamp): New targets.
5537         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
5538         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
5539         ($(extra-parts)): Depend on libgcc_tm.h.
5540         * config.host (tm_defines, tm_file): New variable.
5541         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
5542         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
5543         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
5544         (avr-*-rtems*): Likewise.
5545         (avr-*-*): Likewise.
5546         (frv-*-elf): Likewise.
5547         (frv-*-*linux*): Likewise.
5548         (h8300-*-rtems*): Likewise.
5549         (h8300-*-elf*): Likewise.
5550         (i[34567]86-*-darwin*): Likewise.
5551         (x86_64-*-darwin*): Likewise.
5552         (rx-*-elf): Likewise.
5553         (tic6x-*-uclinux): Likewise.
5554         (tic6x-*-elf): Likewise.
5555         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
5556         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
5557         * config/i386/cygming-crtbegin.c: Likewise.
5558         * config/i386/cygming-crtend.c: Likewise.
5559         * config/ia64/fde-vms.c: Likewise.
5560         * config/ia64/unwind-ia64.c: Likewise.
5561         * config/libbid/bid_gcc_intrinsics.h: Likewise.
5562         * config/rs6000/darwin-fallback.c: Likewise.
5563         * config/stormy16/lib2funcs.c: Likewise.
5564         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
5565         * crtstuff.c: Likewise.
5566         * dfp-bit.h: Likewise.
5567         * emutls.c: Likewise.
5568         * fixed-bit.c: Likewise.
5569         * fp-bit.c: Likewise.
5570         * generic-morestack-thread.c: Likewise.
5571         * generic-morestack.c: Likewise.
5572         * libgcc2.c: Likewise.
5573         * libgcov.c: Likewise.
5574         * unwind-dw2-fde-dip.c: Likewise.
5575         * unwind-dw2-fde.c: Likewise.
5576         * unwind-dw2.c: Likewise.
5577         * unwind-sjlj.c: Likewise.
5579 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5581         * configure.ac: Include ../config/picflag.m4.
5582         (GCC_PICFLAG): Call it.
5583         Substitute.
5584         * configure: Regenerate.
5585         * Makefile.in (gcc_srcdir): Remove.
5586         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
5587         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
5588         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
5589         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
5590         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
5591         Use $<.
5592         Remove comment.
5593         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
5594         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
5595         to refer to libgcc2.c.
5596         Use $<.
5597         * config/darwin-64.c: New file.
5598         * config/darwin-crt3.c: Remove comment.
5599         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
5600         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
5601         config/udivmodsi4.c: New files.
5602         * config/memcmp.c, config/memcpy.c, config/memmove.c,
5603         config/memset.c: New files.
5604         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
5605         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
5606         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
5607         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
5608         * config/t-openbsd-thread: New file.
5609         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
5610         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
5611         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
5612         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
5613         qrnnd.S.
5614         Adapt filename.
5615         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
5616         to refer to gthr-posix.c.
5617         * config/alpha/t-vms (LIB2ADD): Set.
5618         * config/alpha/vms-gcc_shell_handler.c: New file.
5619         * config/arm/bpabi.c, config/arm/fp16.c,
5620         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
5621         config/arm/unaligned-funcs.c: New files.
5622         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
5623         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
5624         * config/arm/t-linux: Likewise.
5625         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
5626         * config/arm/t-netbsd: New file.
5627         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
5628         * config/arm/t-symbian (LIB2ADD_ST): Set.
5629         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
5630         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5631         * config/bfin/t-elf: New file.
5632         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
5633         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
5634         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
5635         config/c6x/ltf.c: New files.
5636         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
5637         (HOST_LIBGCC2_CFLAGS): Set.
5638         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
5639         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5640         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
5641         New files.
5642         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
5643         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
5644         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
5645         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
5646         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
5647         files.
5648         * config/frv/t-frv (LIB2ADD): Set.
5649         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5650         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
5651         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
5652         config/h8300/popcounthi2.c: New files.
5653         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
5654         * config/i386/gthr-win32.c: New file.
5655         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
5656         * config/i386/t-cygwin: Likewise.
5657         * config/i386/t-darwin, config/i386/t-darwin64,
5658         config/i386/t-gthr-win32, config/i386/t-interix: New files.
5659         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
5660         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5661         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5662         * config/ia64/quadlib.c: New file.
5663         * config/ia64/t-hpux (LIB2ADD): Set.
5664         * config/ia64/t-ia64: Add comment.
5665         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
5666         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5667         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
5668         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
5669         * config/m32c/t-m32c (LIB2ADD): Set.
5670         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
5671         * config/m32r/t-m32r: Likewise.
5672         * config/m68k/fpgnulib.c: New file.
5673         * config/m68k/t-floatlib (LIB2ADD): Set.
5674         (xfgnulib.c): New target.
5675         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
5676         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
5677         * config/mep/t-mep (LIB2ADD): Set.
5678         * config/microblaze/divsi3.asm: Rename to divsi3.S.
5679         * config/microblaze/moddi3.asm: Rename to moddi3.S.
5680         * config/microblaze/modsi3.asm: Rename to modsi3.S.
5681         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
5682         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
5683         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
5684         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
5685         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
5686         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
5687         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
5688         New files.
5689         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
5690         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
5691         * config/pa/fptr.c, config/pa/lib2funcs.S,
5692         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
5693         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
5694         (LIB2ADD, LIB2ADD_ST): Set.
5695         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
5696         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
5697         Set.
5698         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
5699         * config/pdp11/t-pdp11: New file.
5700         * config/picochip/libgccExtras/adddi3.S,
5701         config/picochip/libgccExtras/ashlsi3.S,
5702         config/picochip/libgccExtras/ashrsi3.S,
5703         config/picochip/libgccExtras/clzsi2.S,
5704         config/picochip/libgccExtras/cmpsi2.S,
5705         config/picochip/libgccExtras/divmod15.S,
5706         config/picochip/libgccExtras/divmodhi4.S,
5707         config/picochip/libgccExtras/divmodsi4.S,
5708         config/picochip/libgccExtras/lshrsi3.S,
5709         config/picochip/libgccExtras/parityhi2.S,
5710         config/picochip/libgccExtras/popcounthi2.S,
5711         config/picochip/libgccExtras/subdi3.S,
5712         config/picochip/libgccExtras/ucmpsi2.S,
5713         config/picochip/libgccExtras/udivmodhi4.S,
5714         config/picochip/libgccExtras/udivmodsi4.S: New files.
5715         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
5716         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
5717         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
5718         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
5719         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
5720         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
5721         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
5722         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
5723         files.
5724         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
5725         (HOST_LIBGCC2_CFLAGS): Set.
5726         * config/rs6000/t-darwin64: New file.
5727         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
5728         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
5729         * config/rs6000/t-ppccomm (LIB2ADD): Add
5730         $(srcdir)/config/rs6000/tramp.S.
5731         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
5732         Add  $(srcdir)/config/rs6000/eabi.S.
5733         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
5734         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
5735         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
5736         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
5737         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
5738         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
5739         * config/rs6000/tramp.S: New file.
5740         * config/s390/t-tpf: Remove.
5741         * config/sh/linux-atomic.S: New file.
5742         * config/sh/t-linux (LIB2ADD): Set.
5743         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
5744         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
5745         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
5746         to unwind-dw2.c.
5747         (HOST_LIBGCC2_CFLAGS): Set.
5748         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5749         * config/spu/divmodti4.c, config/spu/divv2df3.c,
5750         config/spu/float_disf.c, config/spu/float_unsdidf.c,
5751         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
5752         config/spu/mfc_multi_tag_release.c,
5753         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
5754         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
5755         config/spu/multi3.c: New files.
5756         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
5757         (HOST_LIBGCC2_CFLAGS): Set.
5758         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
5759         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
5760         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
5761         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
5762         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
5763         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
5764         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
5765         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
5766         config/stormy16/umodsi3.c: New files.
5767         * config/xtensa/lib2funcs.S: New file.
5768         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
5769         * config/xtensa/t-xtensa (LIB2ADD): Set.
5770         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
5771         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
5772         Add t-freebsd-thread to tmake_file for posix threads.
5773         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
5774         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
5775         (*-*-lynxos*): Likewise.
5776         (*-*-netbsd*): Likewise.
5777         (*-*-openbsd*): Likewise.
5778         Add t-openbsd-thread to tmake_file for posix threads.
5779         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
5780         (*-*-vxworks*): Set tmake_file.
5781         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
5782         (alpha*-*-freebsd*): Likewise.
5783         (alpha*-*-netbsd*): Likewise.
5784         (alpha*-*-openbsd*): Likewise.
5785         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
5786         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
5787         (alpha*-dec-*vms*): Likewise.
5788         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
5789         (bfin*-elf*): Add bfin/t-elf to tmake_file.
5790         (bfin*-uclinux*): Likewise.
5791         (bfin*-linux-uclibc*): Likewise.
5792         (crisv32-*-elf): Add cris/t-cris to tmake_file.
5793         (crisv32-*-none): Likewise.
5794         (cris-*-elf): Likewise.
5795         (cris-*-none): Likewise.
5796         (cris-*-linux*, crisv32-*-linux*): Likewise.
5797         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
5798         tmake_file.
5799         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
5800         tmake_file.
5801         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
5802         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
5803         (x86_64-*-elf*): Likewise.
5804         (i[34567]86-*-nto-qnx*): Likewise.
5805         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
5806         win32 threads.
5807         (x86_64-*-mingw*): Likewise.
5808         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
5809         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
5810         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
5811         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
5812         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
5813         tmake_file.
5814         (mipsisa64sr71k-*-elf*): Likewise.
5815         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
5816         (mips-*-elf*, mipsel-*-elf*): Likewise.
5817         (mips64-*-elf*, mips64el-*-elf*): Likewise.
5818         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
5819         (mips*-*-rtems*): Likewise.
5820         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
5821         to tmake_file.
5822         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
5823         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
5824         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
5825         (spu-*-elf*): Likewise.
5826         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
5828 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5830         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
5831         $(srcdir) to refer to $(LIB1ASMSRC).
5832         Use $<.
5833         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
5834         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
5835         config/arm/lib1funcs.S: New files.
5836         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
5837         * config/arm/t-arm: New file.
5838         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
5839         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
5840         config/arm/t-strongarm-elf: New files.
5841         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
5842         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
5843         * config/avr/lib1funcs.S: New file.
5844         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5845         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
5846         * config/c6x/lib1funcs.S: New file.
5847         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5848         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
5849         * config/frv/lib1funcs.S: New file.
5850         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5851         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
5852         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
5853         * config/ia64/__divxf3.asm: Rename to ...
5854         * config/ia64/__divxf3.S: ... this.
5855         Adapt lib1funcs.asm filename.
5856         * config/ia64/_fixtfdi.asm: Rename to ...
5857         * config/ia64/_fixtfdi.S: ... this.
5858         Adapt lib1funcs.asm filename.
5859         * config/ia64/_fixunstfdi.asm: Rename to ...
5860         * config/ia64/_fixunstfdi.S: ... this.
5861         Adapt lib1funcs.asm filename.
5862         * config/ia64/_floatditf.asm: Rename to ...
5863         * config/ia64/_floatditf.S: ... this.
5864         Adapt lib1funcs.asm filename.
5865         * config/ia64/lib1funcs.S: New file.
5866         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
5867         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5868         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
5869         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
5870         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
5871         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
5872         * config/mep/lib1funcs.S: New file.
5873         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5874         * config/mips/mips16.S: New file.
5875         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5876         * config/pa/milli64.S: New file.
5877         * config/pa/t-linux, config/pa/t-linux64: New files.
5878         * config/picochip/lib1funcs.S: New file.
5879         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5880         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
5881         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
5882         * config/sh/t-netbsd: New file.
5883         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
5884         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
5885         * config/sh/t-sh64: New file.
5886         * config/sparc/lb1spc.S: New file.
5887         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
5888         filename.
5889         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
5890         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
5891         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
5892         config/xtensa/lib1funcs.S: New files.
5893         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5894         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
5895         tmake_file.
5896         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
5897         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
5898         (arm*-*-linux*): Likewise.
5899         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
5900         arm*-*-linux-*eabi, add arm/t-linux otherwise.
5901         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
5902         (arm*-*-ecos-elf): Likewise.
5903         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
5904         (arm*-*-rtems*): Likewise.
5905         (arm*-*-elf): Likewise.
5906         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
5907         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
5908         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
5909         (bfin*-uclinux*): Likewise.
5910         (bfin*-linux-uclibc*): Likewise.
5911         (bfin*-rtems*): Likewise.
5912         (bfin*-*): Likewise.
5913         (fido-*-elf): Merge into m68k-*-elf*.
5914         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
5915         (frv-*-*linux*): Add frv/t-frv to tmake_file.
5916         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
5917         (h8300-*-elf*): Likewise.
5918         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
5919         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
5920         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
5921         (i[34567]86-*-mingw*): Likewise.
5922         (x86_64-*-mingw*): Likewise.
5923         (i[34567]86-*-interix3*): Likewise.
5924         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
5925         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
5926         (m68k-*-elf*): Also handle fido-*-elf.
5927         Add m68k/t-floatlib to tmake_file.
5928         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
5929         (m68k-*-linux*): Likewise.
5930         (m68k-*-rtems*): Likewise.
5931         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
5932         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
5933         sh64*-*-*.
5934         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
5935         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
5936         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
5937         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
5938         sh/t-netbsd to tmake_file.
5939         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
5940         (sh-*-rtems*): Add sh/t-sh to tmake_file.
5941         (sh-wrs-vxworks): Likewise.
5942         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
5943         *-leon[3-9]*.
5944         (v850*-*-*): Add v850/t-v850 to tmake_file.
5945         (vax-*-linux*): Add vax/t-linux to tmake_file.
5946         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
5948 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5950         * crtstuff.c: New file.
5951         * Makefile.in (CRTSTUFF_CFLAGS): Define.
5952         (CRTSTUFF_T_CFLAGS): Define.
5953         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
5954         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
5955         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
5956         crtstuff.c.
5957         Use $<.
5958         (crtbeginT.o): Use $(objext).
5959         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
5960         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
5961         (gcc-extra-parts): Remove.
5962         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
5963         Set extra_parts.
5964         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
5965         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
5966         Add t-crtstuff-pic to tmake_file.
5967         (*-*-lynxos*): New case.
5968         Set tmake_file, extra_parts.
5969         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
5970         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
5971         *-*-netbsdelf[2-9]*.
5972         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
5973         (*-*-rtems*): Set extra_parts.
5974         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
5975         (*-*-uclinux*): New case.
5976         Set extra_parts.
5977         (*-*-vms*): New case.
5978         Set tmake_file, extra_parts.
5979         (*-*-elf): Set extra_parts.
5980         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
5981         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
5982         vms/t-vms64.
5983         Set extra_parts.
5984         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
5985         Set extra_parts.
5986         (arm*-*-freebsd*): Add t-crtin to tmake_file.
5987         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
5988         (arm-wrs-vxworks): Append to tmake_file.
5989         Set extra_parts.
5990         (arm*-*-uclinux*): Set extra_parts.
5991         (arm*-*-ecos-elf): Likewise.
5992         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
5993         arm*-*-eabi*.
5994         (arm*-*-rtems*): Set extra_parts.
5995         (arm*-*-elf): Likewise.
5996         (avr-*-rtems*): Clear extra_parts.
5997         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
5998         Set extra_parts.
5999         (bfin*-uclinux*): Likewise.
6000         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
6001         (bfin*-rtems*): Append to tmake_file.
6002         Set extra_parts.
6003         (bfin*-*): Likewise.
6004         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
6005         (crisv32-*-elf): ... this.
6006         (crisv32-*-none): ... this.
6007         (cris-*-elf, cris-*-none): New cases.
6008         Add cris/t-elfmulti to tmake_file.
6009         (fr30-*-elf): Append to tmake_file.
6010         Set extra_parts.
6011         (frv-*-elf): Append to tmake_file, add frv/t-frv.
6012         Set extra_parts.
6013         (h8300-*-rtems*): Append to tmake_file.
6014         Set extra_parts.
6015         (h8300-*-elf*): Likewise.
6016         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
6017         Set extra_parts.
6018         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
6019         Set extra_parts.
6020         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
6021         (x86_64-*-elf*): Likewise.
6022         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
6023         (x86_64-*-freebsd*): Likewise.
6024         (x86_64-*-netbsd*): Likewise.
6025         (i[34567]86-*-linux*): Likewise.
6026         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
6027         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
6028         (x86_64-*-linux*): Likewise.
6029         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
6030         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
6031         tmake_file.
6032         Set extra_parts.
6033         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
6034         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
6035         Append to extra_parts, remove crtbegin.o, crtend.o.
6036         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
6037         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
6038         crtend.o, crtbeginS.o, crtendS.o.
6039         (ia64*-*-linux*): Comment extra_parts.
6040         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
6041         Set extra_parts.
6042         (iq2000*-*-elf*): Clear extra_parts.
6043         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
6044         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
6045         (m32r-*-elf*, m32r-*-rtems*): Split off ...
6046         (m32r-*-rtems*): ... this.
6047         Add m32r/t-m32r to tmake_file.
6048         (m68k-*-elf*): Add t-crtin to tmake_file.
6049         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
6050         (mcore-*-elf): Likewise.
6051         (microblaze*-*-*): Set extra_parts.
6052         (mips*-sde-elf*): New case.
6053         Set tmake_file, extra_parts.
6054         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6055         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6056         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
6057         tmake_file.
6058         Set extra_parts.
6059         (mipsisa64sr71k-*-elf*): Likewise.
6060         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6061         (mips-*-elf*, mipsel-*-elf*): Likewise.
6062         (mips64-*-elf*, mips64el-*-elf*): Likewise.
6063         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
6064         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
6065         (mips*-*-rtems*): Likewise.
6066         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
6067         (moxie-*-*): Split into ...
6068         (moxie-*-elf, moxie-*-uclinux*): ... this.
6069         Add to extra_parts, remove crtbegin.o, crtend.o.
6070         (moxie-*-rtems*): New case.
6071         Set tmake_file.
6072         Clear extra_parts.
6073         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
6074         Set extra_parts.
6075         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6076         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
6077         tmake_file.
6078         Set extra_parts.
6079         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
6080         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
6081         Set extra_parts.
6082         (powerpc-*-eabisim*): Likewise.
6083         (powerpc-*-elf*): Likewise.
6084         (powerpc-*-eabialtivec*): Likewise.
6085         (powerpc-xilinx-eabi*): Likewise.
6086         (powerpc-*-eabi*): Likewise.
6087         (powerpc-*-rtems*): Likewise.
6088         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
6089         tmake_file.
6090         Set extra_parts.
6091         (powerpc-*-lynxos*): Add to tmake_file.
6092         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
6093         rs6000/t-crtstuff, t-crtstuff-pic.
6094         Set extra_parts.
6095         (powerpcle-*-eabisim*): Likewise.
6096         (powerpcle-*-eabi*): Likewise.
6097         (rx-*-elf): Remove extra_parts.
6098         (s390x-ibm-tpf*): Set extra_parts.
6099         (score-*-elf): Set extra_parts.
6100         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6101         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6102         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6103         (sh64l*-*-netbsd*): Split into ...
6104         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
6105         Add t-crtstuff-pic to tmake_file.
6106         Set extra_parts.
6107         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
6108         Set extra_parts.
6109         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
6110         (sparc-*-elf*): Remove t-crtin from tmake_file.
6111         Add to extra_parts, remove crtbegin.o, crtend.o.
6112         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
6113         (sparc64-*-linux*): Likewise.
6114         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
6115         Add to extra_parts, remove crtbegin.o, crtend.o.
6116         (sparc64-*-elf*): Remove t-crtin from tmake_file.
6117         Add to extra_parts, remove crtbegin.o, crtend.o.
6118         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
6119         Add to extra_parts, remove crtbegin.o, crtend.o.
6120         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
6121         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
6122         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
6123         Set extra_parts.
6124         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
6125         Set extra_parts.
6126         (tic6x-*-*): Change to ...
6127         (tic6x-*-elf): ... this.
6128         Set extra_parts.
6129         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
6130         Set extra_parts.
6131         (am33_2.0-*-linux*): Add comment.
6132         (mep*-*-*): Add mep/t-mep to tmake_file.
6133         Set extra_parts.
6134         * config/alpha/t-vms: New file.
6135         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
6136         * config/arm/crti.S, config/arm/crtn.S: New files.
6137         * config/bfin/crti.S, config/bfin/crtn.S: New files.
6138         * config/bfin/crtlibid.S: New file.
6139         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
6140         * config/c6x/crti.S, config/c6x/crtn.S: New files.
6141         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
6142         (crti.o, crtin.o): New rules.
6143         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6144         * config/c6x/t-uclinux: New file.
6145         * config/cris/t-elfmulti: New file.
6146         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
6147         * config/fr30/crti.S, config/fr30/crtn.S: New files.
6148         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
6149         * config/frv/t-frv: New file.
6150         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
6151         * config/h8300/crti.S, config/h8300/crtn.S: New files.
6152         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
6153         New files.
6154         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
6155         refer to cygming-crtbegin.c, cygming-crtend.c.
6156         Use $<.
6157         * config/i386/t-nto: New file.
6158         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
6159         * config/ia64/crti.S, config/ia64/crtn.S: New files.
6160         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
6161         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
6162         Use .S extension.
6163         Use $<.
6164         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6165         (crtinitS.o): New rule.
6166         * config/ia64/vms-crtinit.S: New file.
6167         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
6168         * config/m32r/initfini.c: New file.
6169         * config/m32r/t-linux, config/m32r/t-m32r: New files.
6170         * config/m68k/crti.S, config/m68k/crtn.S: New files.
6171         * config/mcore/crti.S, config/mcore/crtn.S: New files.
6172         * config/mep/t-mep: New file.
6173         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
6174         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
6175         * config/mips/crti.S, config/mips/crtn.S: New files.
6176         * config/mips/t-crtstuff: New file.
6177         * config/mmix/crti.S, config/mmix/crtn.S: New files.
6178         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
6179         (CUSTOM_CRTIN): Set.
6180         ($(T)crti.o, $(T)crtn.o): Remove $(T),
6181         dependencies.
6182         Use $(srcdir) to refer to crti.S, crtn.S.
6183         Use .S extension, $<.
6184         * config/moxie/crti.asm: Rename to ...
6185         * config/moxie/crti.S: ... this.
6186         * config/moxie/crtn.asm: Rename to ...
6187         * config/moxie/crtn.S: ... this.
6188         * config/moxie/t-moxie: Remove.
6189         * config/pa/stublib.c: New file.
6190         * config/pa/t-stublib, config/pa/t-stublib64: New files.
6191         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
6192         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
6193         * config/rs6000/t-crtstuff: New file.
6194         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
6195         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
6196         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
6197         Make output file explicit.
6198         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
6199         Make output file explicit.
6200         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
6201         Make output file explicit.
6202         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
6203         Make output file explicit.
6204         * config/score/crti.S, config/score/crtn.S: New files.
6205         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
6206         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
6207         files.
6208         * config/sh/t-sh, config/sh/t-superh: New files.
6209         * config/sparc/t-linux64: New file.
6210         * config/spu/cache.S, config/spu/cachemgr.c: New files.
6211         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
6212         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
6213         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
6214         * config/t-crtin: Remove.
6215         * config/t-crtstuff-pic: New file.
6216         * config/t-sol2 (CUSTOM_CRTIN): Set.
6217         (crti.o, crtn.o): New rules.
6218         * config/vms/t-vms: New file.
6219         * config/vms/vms-ucrt0.c: New file.
6220         * config/xtensa/t-elf: New file.
6222 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6224         * Makefile.in (SHLIB_NM_FLAGS): Set.
6225         * mkmap-flat.awk, mkmap-symver.awk: New files.
6226         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
6227         exceptions.
6228         * configure: Regenerate.
6229         * config/libgcc-glibc.ver: New file.
6230         * config/libgcc-libsystem.ver: New file.
6231         * config/t-libunwind (SHLIB_LC): Set.
6232         * config/t-linux: New file.
6233         * config/t-slibgcc (INSTALL_SHLIB): New.
6234         (SHLIB_INSTALL): Use it.
6235         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
6236         to mkmap-symver.awk.
6237         (SHLIB_MAPFILES): Don't append, adapt pathname.
6238         (SHLIB_VERPFX): Set.
6239         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
6240         to mkmap-symver.awk.
6241         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
6242         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
6243         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
6244         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
6245         to mkmap-flat.awk.
6246         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
6247         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
6248         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
6249         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
6250         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
6251         * config/i386/libgcc-darwin.10.4.ver,
6252         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
6253         New files.
6254         * config/i386/t-darwin: Remove.
6255         * config/i386/t-darwin64: Likewise.
6256         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
6257         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
6258         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
6259         * config/i386/t-linux: New file.
6260         * config/i386/t-mingw32: New file.
6261         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
6262         * config/ia64/t-glibc: Rename to ...
6263         * config/ia64/t-linux: ... this.
6264         (SHLIB_MAPFILES): Set.
6265         * config/ia64/t-glibc-libunwind: Rename to ...
6266         * config/ia64/t-linux-libunwind: ... this.
6267         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
6268         * config/ia64/t-slibgcc-hpux: New file.
6269         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
6270         * config/m68k/t-slibgcc-elf-ver: New file.
6271         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
6272         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
6273         to mkmap-flat.awk.
6274         * config/pa/t-slibgcc-hpux: New file.
6275         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
6276         files.
6277         * config/rs6000/libgcc-darwin.10.4.ver,
6278         config/rs6000/libgcc-darwin.10.5.ver: New files.
6279         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
6280         config/rs6000/libgcc-glibc.ver.
6281         * config/rs6000/libgcc-ppc64.ver: Rename to
6282         config/rs6000/libgcc-ibm-ldouble.ver.
6283         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
6284         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
6285         * config/rs6000/t-ldbl128: Rename to ...
6286         * config/rs6000/t-linux: ... this.
6287         (SHLIB_MAPFILES): Adapt filename.
6288         * config/rs6000/t-slibgcc-aix: New file.
6289         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
6290         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
6291         libgcc-excl.ver, libgcc-glibc.ver.
6292         (SHLIB_LINK, SHLIB_INSTALL): Remove.
6293         * config/sparc/libgcc-glibc.ver: New file.
6294         * config/sparc/t-linux: New file.
6295         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
6296         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
6297         t-slibgcc-elf-ver to tmake_file.
6298         Add t-slibgcc-nolc-override to tmake_file for posix threads on
6299         *-*-freebsd[34].
6300         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6301         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
6302         t-slibgcc-elf-ver, t-linux to tmake_file.
6303         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
6304         tmake_file.
6305         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
6306         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
6307         (alpha*-dec-*vms*): Likewise.
6308         (arm*-*-freebsd*): Append to tmake_file.
6309         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
6310         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
6311         arm*-*-linux-*eabi.
6312         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
6313         tmake_file for arm*-*-symbianelf*.
6314         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
6315         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
6316         cris/t-linux.
6317         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
6318         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
6319         pa/t-slibgcc-dwarf-ver to tmake_file.
6320         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
6321         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
6322         (hppa*64*-*-hpux11*): Likewise.
6323         (hppa[12]*-*-hpux11*): Likewise.
6324         (x86_64-*-darwin*): Don't override tmake_file, but only keep
6325         i386/t-crtpc, i386/t-crtfm.
6326         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
6327         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6328         to tmake_file.
6329         Add i386/t-cygwin to tmake_file.
6330         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
6331         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
6332         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6333         to tmake_file.
6334         Add i386/t-mingw32 to tmake_file.
6335         (x86_64-*-mingw*): Likewise.
6336         (ia64*-*-freebsd*): Append to tmake_file.
6337         (ia64*-*-linux*): Append to tmake_file.
6338         Replace ia64/t-glibc by ia64/t-linux.
6339         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
6340         system libunwind.
6341         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
6342         t-slibgcc-hpux to tmake_file.
6343         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
6344         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
6345         (m32rle-*-linux*): Likewise.
6346         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
6347         sjlj exceptions.
6348         (microblaze*-linux*): New case.
6349         Append to tmake_file, add t-slibgcc-nolc-override.
6350         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
6351         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6352         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
6353         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6354         rs6000/t-slibgcc-aix to tmake_file.
6355         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6356         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6357         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6358         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6359         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6360         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
6361         sh*-*-linux*.
6362         (sparc-*-linux*): Append to tmake_file for *-leon*.
6363         Add sparc/t-linux to tmake_file for non-Leon targets.
6364         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
6365         (tic6x-*-uclinux): New case.
6366         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
6367         (tic6x-*-*): Add c6x/t-elf to tmake_file.
6368         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
6369         (am33_2.0-*-linux*): Append to tmake_file.
6370         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6371         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
6372         x86_64-*-kfreebsd*-gnu.
6373         Add i386/t-linux to tmake_file.
6375 2011-10-28  Ian Lance Taylor  <iant@google.com>
6377         * config/i386/morestack.S: Correct CFI information to do proper
6378         returns throughout function.  In 32-bit mode, save %ebx so that it
6379         is restored on unwind.
6381 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
6383         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
6384         case where B3 isn't the return register.
6386         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
6387         logic for doubleword pops.
6389 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
6391         * config/rs6000/t-freebsd: Add wildcard.
6393 2011-10-21  Paul Brook  <paul@codesourcery.com>
6395         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
6397 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
6398             Eric Botcazou  <ebotcazou@adacore.com>
6400         PR target/50737
6401         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
6402         fs->signal_frame to 1.
6404 2011-10-07  Ian Lance Taylor  <iant@google.com>
6406         * generic-morestack-thread.c: #include <errno.h>.
6408 2011-10-07  Ian Lance Taylor  <iant@google.com>
6410         PR target/46093
6411         * generic-morestack.c (__generic_morestack): Make sure the segment
6412         is large enough for both the stack frame and the copied
6413         parameters.
6415 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6417         PR bootstrap/49804
6418         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
6419         extra_parts.
6421 2011-09-28  Nick Clifton  <nickc@redhat.com>
6423         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
6424         64-bit doubles are not enabled.
6425         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
6426         and floatunsisf functions.
6428 2011-09-13  Paul Brook  <paul@codesourcery.com>
6430         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
6431         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
6432         * unwind-arm-common.inc: New file.
6433         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
6434         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
6435         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
6436         * config/c6x/libunwind.S: New file.
6437         * config/c6x/pr-support.c: New file.
6438         * config/c6x/unwind-c6x.c: New file.
6439         * config/c6x/unwind-c6x.h: New file.
6440         * config/c6x/t-c6x-elf: New file.
6442 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
6444         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
6445         (ASM_DIVZERO): Ditto.
6446         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
6448 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
6450         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
6452 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
6454         PR target/50090
6455         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
6456         instead of an assembly one.
6458 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
6460         PR bootstrap/50047
6461         * Makefile.in (install-unwind_h): Create
6462         $(gcc_objdir)/include/unwind.h atomically.
6464 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6466         * Makefile.in (install-unwind_h): Remove destination file first.
6468 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6470         * sync.c: New file.
6471         * config/mips/t-mips16: New file.
6472         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
6473         (mips*-*-linux*): Likewise.
6474         (mips*-sde-elf*): Likewise.
6475         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
6476         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
6477         Add mips/t-mips16 to tmake_file.
6478         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
6479         (mips-*-elf*): Likewise.
6480         (mips64-*-elf*): Likewise.
6481         (mips64orion-*-elf*): Likewise.
6482         (mips*-*-rtems*): Likewise.
6483         (mipstx39-*-elf*): Likewise.
6484         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
6485         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
6486         LIBGCC_SYNC_CFLAGS.
6487         Use $(srcdir) to refer to sync.c.
6488         Use $<.
6489         ($(libgcc-sync-funcs-o)): Likewise.
6490         ($(libgcc-sync-size-funcs-s-o)): Likewise.
6491         ($(libgcc-sync-funcs-s-o)): Likewise.
6493 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
6495         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
6496         t-libunwind.
6498 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
6500         PR other/48007
6501         * config/i386/value-unwind.h: New.
6503 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
6505         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
6506         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
6507         Add to tmake_file rather than overriding it.
6509 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6511         * config/t-softfp: Remove.
6512         * soft-fp: Moved from ../gcc/config.
6513         * soft-fp/README: Remove t-softfp reference.
6514         * soft-fp/t-softfp: Move to config/t-softfp.
6515         (softfp_machine_header): Remove.
6516         (softfp_file_list): Remove config subdir.
6517         (soft-fp-objects): New variable.
6518         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
6519         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
6520         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
6521         * config/t-softfp-excl: New file.
6522         * config/t-softfp-sfdf: New file.
6523         * config/t-softfp-tf: New file.
6524         * config/no-sfp-machine.h: New file.
6525         * config/arm/sfp-machine.h: New file.
6526         * config/arm/t-softfp: New file.
6527         * config/c6x/sfp-machine.h: New file.
6528         * config/i386/32/t-fprules-softfp: Rename to ...
6529         * config/i386/32/t-softfp: ... this.
6530         (tifunctions, LIB2ADD): Remove.
6531         (softfp_int_modes): Override.
6532         * config/i386/64/t-softfp-compat (tf-functions): Remove config
6533         subdir.
6534         * config/i386/64/eqtf2.c: Likewise.
6535         * config/i386/64/getf2.c: Likewise.
6536         * config/i386/64/letf2.c: Likewise.
6537         * config/ia64/sft-machine.h: New file.
6538         * config/ia64/t-fprules-softfp: Rename to ...
6539         * config/ia64/t-softfp: ... this.
6540         * config/lm32/sfp-machine.h: New file.
6541         * config/moxie/t-moxie-softfp: Remove.
6542         * config/rs6000/ibm-ldouble-format: New file.
6543         * config/rs6000/ibm-ldouble.c: New file.
6544         * config/rs6000/libgcc-ppc-glibc.ver: New file
6545         * config/rs6000/libgcc-ppc64.ver: New file
6546         * config/rs6000/sfp-machine.h: New file.
6547         * config/rs6000/t-freebsd: New file.
6548         * config/rs6000/t-ibm-ldouble: New file.
6549         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
6550         libgcc-ppc-glibc.ver.
6551         * config/rs6000/t-linux64: New file.
6552         * config/rs6000/t-ppccomm (LIB2ADD): Add
6553         $(srcdir)/config/rs6000/ibm-ldouble.c.
6554         * config/rs6000/t-ppccomm-ldbl: New file.
6555         * config/score/sfp-machine.h: New file.
6556         * config.host (sfp_machine_header): Explain.
6557         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
6558         t-softfp to tmake_file.
6559         (arm*-*-uclinux*): Likewise.
6560         (arm*-*-ecos-elf): Likewise.
6561         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6562         (arm*-*-rtems*): Likewise.
6563         (arm*-*-elf): Likewise.
6564         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
6565         in tmake_file.
6566         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
6567         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
6568         (lm32-*-uclinux*): Likewise.
6569         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
6570         t-softfp-excl, t-softfp.
6571         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
6572         (powerpc64-*-darwin*): Likewise.
6573         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
6574         to tmake_file.
6575         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
6576         tmake_file.
6577         (powerpc-*-eabisim*): Likewise.
6578         (powerpc-*-elf*): Likewise.
6579         (powerpc-*-eabialtivec*): Likewise.
6580         (powerpc-xilinx-eabi*): Likewise.
6581         (powerpc-*-rtems*): Likewise.
6582         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
6583         t-softfp-excl, t-softfp to tmake_file.
6584         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
6585         rs6000/t-ppccomm-ldbl to tmake_file.
6586         (powerpcle-*-elf*): Likewise.
6587         (powerpcle-*-eabisim*): Likewise.
6588         (powerpcle-*-eabi*): Likewise.
6589         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6590         rs6000/t-ibm-ldouble to tmake_file.
6591         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6592         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6593         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
6594         (tic6x-*-*): Likewise.
6595         (i[34567]86-*-darwin*, x86_64-*-darwin*,
6596         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
6597         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
6598         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
6599         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
6600         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
6601         t-softfp to tmake_file.
6602         * configure.ac (sfp_machine_header): Provide default if unset.
6603         Substitute.
6604         Link sfp-machine.h to config/$sfp_machine_header.
6605         * configure: Regenerate.
6607 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6609         * Makefile.in (double_type_size, long_double_type_size): Set.
6610         Remove $(fpbit-in-libgcc) support.
6611         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
6612         (fpbit-src): New variable.
6613         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
6614         Compile with -DFLOAT $(FPBIT_CFLAGS).
6615         Use $<.
6616         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
6617         Compile with $(FPBIT_CFLAGS).
6618         Use $<.
6619         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
6620         Compile with -DFLOAT $(TPBIT_CFLAGS).
6621         Use $<.
6622         * configure.ac (double_type_size, long_double_type_size):
6623         Determine and substitute.
6624         * configure: Regenerate.
6625         * fp-bit.c, fp-bit.h: New files.
6626         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
6627         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
6628         * config/mips/t-mips: New file.
6629         * config/mips/t-sdemtk: New file.
6630         * config/rs6000/ppc64-fp.c: New file.
6631         * config/rs6000/t-darwin (LIB2ADD): Add
6632         $(srcdir)/config/rs6000/ppc64-fp.c.
6633         * config/rs6000/t-ppc64-fp: New file.
6634         * config/rx/rx-lib.h: New file.
6635         * config/rx/t-rx (FPBIT): Set to true.
6636         ($(gcc_objdir)/fp-bit.c): Remove.
6637         (DPBIT): Set to true only with -m64bit-doubles.
6638         ($(gcc_objdir)/dp-bit.c): Remove.
6639         * config/sparc/t-softfp: Remove.
6640         * config/spu/t-elf: New file.
6641         * config/t-fdpbit, config/t-fpbit: New files.
6642         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
6643         (mips*-*-*): Likewise.
6644         (arm-wrs-vxworks): Likewise.
6645         (arm*-*-freebsd*): Likewise.
6646         (avr-*-rtems*): Add t-fpbit to tmake_file.
6647         (avr-*-*): Likewise.
6648         (bfin*-elf*): Add t-fdpbit to tmake_file.
6649         (bfin*-uclinux*): Likewise.
6650         (bfin*-linux-uclibc*): Likewise.
6651         (bfin*-rtems*): New case.
6652         Add t-fdpbit to tmake_file.
6653         (bfin*-*): Add t-fdpbit to tmake_file.
6654         (crisv32-*-elf): Likewise.
6655         (cris-*-linux*): Likewise.
6656         (fr30-*-elf): Likewise.
6657         (frv-*-elf, frv-*-*linux*): Likewise.
6658         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
6659         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
6660         (m32r-*-elf*): Likewise.
6661         (m32rle-*-elf*): Likewise.
6662         (m32r-*-linux*): Likewise.
6663         (m32rle-*-linux*): Likewise.
6664         (mcore-*-elf): Add t-fdpbit to tmake_file.
6665         (microblaze*-*-*): Likewise.
6666         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
6667         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
6668         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
6669         Fix typo.
6670         Add mips/t-tpbit to tmake-file.
6671         (mips*-*-linux*): Fix typo.
6672         (mips*-sde-elf*): New case
6673         Add mips/t-sdemtk unless using newlib.
6674         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
6675         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
6676         (mn10300-*-*): Likewise.
6677         (pdp11-*-*): Likewise.
6678         (picochip-*-*): Add t-fpbit to tmake_file.
6679         (powerpc-*-eabisimaltivec*): Likewise.
6680         (powerpc-*-eabisim*): Likewise.
6681         (powerpc-*-elf*): Likewise.
6682         (powerpc-*-eabialtivec*): Likewise.
6683         (powerpc-xilinx-eabi*): New case.
6684         Add t-fdpbit to tmake_file.
6685         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
6686         (powerpc-*-rtems*): Likewise.
6687         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
6688         tmake_file.
6689         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
6690         tmake_file.
6691         (powerpc-*-lynxos*): Likewise.
6692         (powerpcle-*-elf*): Likewise.
6693         (powerpcle-*-eabisim*): Likewise.
6694         (powerpcle-*-eabi*): Likewise.
6695         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6696         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
6697         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6698         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6699         (rx-*-elf): Add t-fdpbit to tmake_file.
6700         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6701         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6702         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6703         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
6704         sh*-*-netbsd*.
6705         (sh-*-rtems*): Add t-fdpbit to tmake_file.
6706         (sh-wrs-vxworks): Likewise.
6707         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
6708         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
6709         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
6710         (sparc64-*-rtems*): ... new case.
6711         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
6712         (spu-*-elf*): Likewise.
6713         Add spu/t-elf to tmake_file.
6714         (v850*-*-*): Add t-fdpbit to tmake_file.
6715         (xstormy16-*-elf): Likewise.
6716         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
6717         (mep*-*-*): Likewise.
6719 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6721         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
6722         variables.
6723         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
6724         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
6725         (install-unwind_h): New target.
6726         (all): Depend on it.
6727         * config.host (unwind_header): New variable.
6728         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
6729         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6730         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
6731         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
6732         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
6733         Set unwind_header.
6734         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
6735         Set unwind_header.
6736         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
6737         arm*-*-eabi*.
6738         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
6739         Set unwind_header.
6740         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
6741         (ia64*-*-freebsd*): Likewise.
6742         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
6743         tmake_file.
6744         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
6745         $with_system_libunwind.
6746         (ia64*-*-hpux*): Set tmake_file.
6747         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
6748         (picochip-*-*): Set tmake_file.
6749         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
6750         md_unwind_header.
6751         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6752         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6753         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
6754         (xtensa*-*-elf*): Set tmake_file.
6755         (xtensa*-*-linux*): Likewise.
6756         * configure.ac: Include ../config/unwind_ipinfo.m4.
6757         Call GCC_CHECK_UNWIND_GETIPINFO.
6758         Link unwind.h to $unwind_header.
6759         * configure: Regenerate.
6760         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
6761         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
6762         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
6763         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
6764         * config/unwind-dw2-fde-darwin.c: New file.
6765         * config/arm/libunwind.S, config/arm/pr-support.c,
6766         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
6767         config/arm/unwind-arm.h,: New files.
6768         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
6769         config/ia64/t-eh-ia64, config/ia64/t-glibc,
6770         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
6771         config/ia64/t-vms, config/ia64/unwind-ia64.c,
6772         config/ia64/unwind-ia64.h: New files.
6773         * config/picochip/t-picochip: New file.
6774         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
6775         files.
6776         * config/rs6000/t-darwin (LIB2ADDEH): Set.
6777         * config/s390/t-tpf (LIB2ADDEH): Remove.
6778         * config/t-darwin (LIB2ADDEH): Set.
6779         * config/t-eh-dw2-dip: New file.
6780         * config/t-libunwind, config/t-libunwind-elf: New files.
6781         * config/t-sol2 (LIB2ADDEH): Remove.
6782         * config/xtensa/t-xtensa: New file.
6784 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
6786         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
6787         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
6788         long long to check rt_sigreturn syscall.
6790 2011-08-02  Alan Modra  <amodra@gmail.com>
6792         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
6793         Restore for indirect call bcrtl from correct stack slot, and only
6794         if cfa+40 isn't valid.
6796 2011-08-01  Julian Brown  <julian@codesourcery.com>
6798         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
6799         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
6800         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
6802 2011-08-01  Julian Brown  <julian@codesourcery.com>
6804         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
6805         (libgcc-std.ver.in): Use above.
6806         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
6807         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
6808         throughout file.
6809         * config/t-fixedpoint-gnu-prefix: New file.
6810         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
6811         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
6812         instead of __PFX__.
6814 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
6816         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
6817         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
6818         for x86-64.  Properly check __x86_64__ and __LP64__.
6820 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
6822         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
6823         version.
6824         (_FP_WS_TYPE): Likewise.
6825         (_FP_I_TYPE): Likewise.
6827 2011-07-28  Alan Modra  <amodra@gmail.com>
6829         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
6830         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
6831         in a plt call stub.  Do restore r2 if stopped on bctrl.
6833 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6835         * config.host (i[3456x]86-*-netware*): Remove.
6836         * config/i386/netware-crt0.c, config/i386/t-nwld,
6837         config/i386/t-slibgcc-nwld: Remove.
6839 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
6841         * config.host: Handle tic6x-*-*.
6842         * config/c6x/c6x-abi.h: New file.
6844 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6846         * config/i386/crtprec.c: New file.
6847         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
6848         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
6849         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
6850         (x86_64-*-darwin*): Likewise.
6851         (i[34567]86-*-solaris2*: Likewise.
6853 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6855         * config/alpha/crtfastmath.c: New file.
6856         * config/i386/crtfastmath.c: New file.
6857         * config/ia64/crtfastmath.c: New file.
6858         * config/mips/crtfastmath.c: New file.
6859         * config/sparc/crtfastmath.c: New file.
6861         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
6862         crtfastmath.c.
6863         Add -frandom-seed=gcc-crtfastmath.
6864         * config/alpha/t-crtfm: Remove.
6865         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
6866         * config/ia64/t-ia64 (crtfastmath.o): Remove.
6868         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
6869         (alpha*-dec-osf5.1*): Likewise.
6870         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
6871         Add crtfastmath.o to extra_parts.
6872         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
6873         Add crtfastmath.o to extra_parts.
6874         (x86_64-*-darwin*): Likewise.
6875         (x86_64-*-mingw*): Likewise.
6876         (ia64*-*-elf*): Add t-crtfm to tmake_file.
6877         (ia64*-*-freebsd*): Likewise.
6878         (ia64*-*-linux*): Likewise.
6879         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
6880         Add crtfastmath.o to extra_parts.
6882 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6884         * config/darwin-crt3.o: New file.
6885         * config/rs6000/darwin-crt2.c: New file.
6886         * config/t-darwin: New file.
6887         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
6888         (crt2.o): New rule.
6889         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
6890         (powerpc-*-darwin*): Add crt2.o to extra_parts.
6891         (powerpc64-*-darwin*): Likewise.
6893 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6895         * config/i386/netware-crt0.c: New file.
6896         * config/i386/t-nwld: Rename to ...
6897         * config/i386/t-slibgcc-nwld: ... this.
6898         * config/i386/t-nwld: New file.
6899         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
6900         tmake_file.
6901         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
6902         extra_parts.
6904 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6906         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
6907         i386/t-crtstuff.
6908         * configure: Regenerate.
6910 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6912         * dfp-bit.c, dfp-bit.h: New files.
6913         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
6914         variables.
6915         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
6916         ($(d64pbit-o)): Likewise.
6917         ($(d128pbit-o)): Likewise.
6918         * config/t-dfprules: New file.
6919         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
6920         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
6921         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
6922         (x86_64-*-linux*): Likewise.
6923         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
6924         (i[34567]86-*-cygwin*): Likewise.
6925         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
6926         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6928 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6930         * Makfile.in (LIBGCOV): New variable.
6931         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
6932         * libgcov.c: New file.
6934 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6936         * fixed-bit.c, fixed-bit.h: New files.
6937         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
6938         refer to fixed-bit.c.
6940 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
6942         * config.host (*local*): Remove.
6944 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6946         PR target/39150
6947         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
6948         like i?86-*-solaris2.1[0-9]*.
6949         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
6950         * configure.ac (i?86-*-solaris2*): Likewise.
6951         * configure: Regenerate.
6953 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
6955         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
6956         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
6957         md_unwind_header by splitting out of...
6958         (i[34567]86-*-linux*): ... this.
6959         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
6960         Remove md_unwind_header by splitting out of...
6961         (x86_64-*-linux*): ... this.
6963 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
6965         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
6967 2011-06-28  Nick Clifton  <nickc@redhat.com>
6969         * config.host: Recognize all V850 variants.
6971 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
6973         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
6975 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6977         * shared-object.mk (c_flags-$o): Save c_flags.
6978         ($(base)$(objext)): Use it.
6979         ($(base)_s$(objext)): Likewise.
6981 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
6983         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
6984         * libgcc-std.ver.in (GCC_4.7.0): New section.
6986 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
6988         PR target/49313
6989         PR target/29524
6990         * config/avr/t-avr: Fix line endings.
6991         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
6992         _parityXX2.
6994 2011-06-14  Olivier Hainque  <hainque@adacore.com>
6995             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6997         * config/mips/irix6-unwind.h: New file.
6998         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
7000 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
7002         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
7003         (sparc64_fallback_frame_state): Use it.
7004         (sparc64_frob_update_context): Further adjust context.
7005         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
7006         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
7007         * config/sparc/sol2-cn.S: Likewise.
7009 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7011         * enable-execute-stack-empty.c: New file.
7012         * enable-execute-stack-mprotect.c: New file.
7013         * config/i386/enable-execute-stack-mingw32.c: New file.
7014         * config.host (enable_execute_stack): New variable.
7015         Select appropriate variants.
7016         * configure.ac: Link enable-execute-stack.c to
7017         $enable_execute_stack.
7018         * configure: Regenerate.
7019         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
7020         (lib2funcs): Remove _enable_execute_stack.
7022 2011-06-09  David S. Miller  <davem@davemloft.net>
7023             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7025         * config.host (sparc-*-linux*): Correct md_unwind_header
7026         filename.
7027         (s390x-ibm-tpf*): Fix typo.
7029 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7031         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
7032         Add crtfastmath.o to extra_parts.
7033         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
7034         mips/t-crtfm.
7035         * config/mips/t-crtfm: Remove.
7037 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7039         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
7041 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
7043         * config.host (sh*-*-linux*): Fix typo.
7045 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7047         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
7048         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
7049         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
7050         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
7051         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
7052         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
7053         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
7054         Wrap in !__MINGW64__.
7055         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
7056         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
7057         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
7058         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
7059         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
7060         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
7061         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
7062         Wrap in !__LP64__.
7063         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
7064         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
7065         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
7066         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
7067         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
7068         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
7069         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
7070         * config/no-unwind.h: New file.
7071         * config.host (md_unwind_header): Document.
7072         Define.
7073         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
7074         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
7075         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
7076         hppa[12]*-*-hpux11*): Set md_unwind_header.
7077         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
7078         Set md_unwind_header.
7079         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
7080         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
7081         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
7082         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
7083         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
7084         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
7085         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
7086         md_unwind_header.
7087         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
7088         * configure: Regenerate.
7090 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7092         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
7093         Set tmake_file, extra_parts.
7094         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
7095         Remove O32 support.
7096         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
7097         Remove O32 support.
7098         * config/mips/t-irix6: New file.
7099         * config/mips/t-slibgcc-irix: New file.
7101 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7103         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
7104         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
7106 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7108         * configure.ac (target_thread_file): Determine thread model.
7109         * configure: Regenerate.
7110         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
7111         * config/alpha/t-alpha: New file.
7112         * config/alpha/t-crtfm: Use $<.
7113         * config/alpha/t-ieee: New file.
7114         * config/alpha/t-osf-pthread: New file.
7115         * config/alpha/t-slibgcc-osf: New file.
7116         * config/alpha/libgcc-osf5.ver: New file.
7118 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7120         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
7121         tmake_file.
7122         Add crtfastmath.o to extra_parts.
7124 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7126         * config/gmon-sol2.c: Reindent.
7127         Cleanup comments.
7128         Remove, correct casts.
7129         Use STDERR_FILENO, NULL.
7130         (BASEADDRESS): Remove.
7131         (minbrk): Remove.
7132         (errno, sbrk): Remove declarations.
7133         (monstartup) [hp300]: Remove.
7134         (mcount): Remove.
7136 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7138         * Makefile.in (cpu_type): Define.
7139         * config.host (i[34567]86-*-rtems*): Handle it.
7140         (i[34567]86-*-solaris2*): Move body ...
7141         (*-*-solaris2*): ... here.
7142         New case, generalize.
7143         (sparc-*-elf*): Handle it.
7144         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
7145         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
7146         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
7147         Fold into ...
7148         (sparc*-*-solaris2*): ... this.
7149         New case.
7150         (sparc64-*-elf*): Handle it.
7151         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
7152         Merge ../gcc/config/i386/gmon-sol2.c.
7153         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
7154         Use C comments.
7155         Merge ../gcc/config/i386/sol2-gc1.asm.
7156         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
7157         Use C comments.
7158         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
7159         Use C comments.
7160         * config/i386/t-crtfm (crtfastmath.o): Use $<.
7161         * config/i386/t-crtstuff: New file.
7162         * config/i386/t-softfp: New file.
7163         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
7164         $(T)crti.o, $(T)crtn.o): Remove.
7165         (gcrt1.o): New rule.
7166         (TARGET_LIBGCC2_CFLAGS): Remove.
7167         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
7168         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
7169         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
7170         * config/sparc/t-sol2: New file.
7171         * config/sparc/t-crtfm: Move to ...
7172         * config/t-crtfm: ... this.
7173         Use $(cpu_type), $<.
7174         * config/t-crtin: New file.
7175         * config/sparc/t-softfp: New file.
7176         * config/sparc/t-softmul: New file.
7177         * config/t-rtems: New file.
7178         * config/t-slibgcc: New file.
7179         * config/t-slibgcc-elf-ver: New file.
7180         * config/t-slibgcc-gld: New file.
7181         * config/t-slibgcc-sld: New file.
7182         * config/t-sol2: New file.
7183         * configure.ac: Include ../config/lib-ld.m4.
7184         Call AC_LIB_PROG_LD_GNU.
7185         Substitute cpu_type.
7186         * configure: Regenerate.
7188 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
7190         PR bootstrap/49173
7191         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
7192         libgcc-std.ver in the build directory.
7193         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
7194         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
7196 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
7198         * libgcc-std.ver.in: New file.
7199         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
7200         variables.
7201         (libgcc-std.ver): New rule.
7202         * config/t-gnu-prefix: New file.
7204 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7206         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
7208 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
7210         * config/i386/darwin-lib.h: New file.
7212 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
7214         * config/arm/symbian-lib.h: New.
7216 2011-05-04  Chris Demetriou  <cgd@google.com>
7218         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
7219         (__x86.get_pc_thunk.bx): ...this.
7220         (__morestack): Adjust for rename, remove undef of __i686.
7222 2011-05-03  Chris Demetriou  <cgd@google.com>
7224         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
7226 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
7228         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
7229         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
7230         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
7231         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
7232         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
7233         Remove cases.
7235 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
7237         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
7238         Adjust copyright year.
7240 2011-03-07  Ian Lance Taylor  <iant@google.com>
7242         * generic-morestack.c (__splitstack_find): Adjust returned stack
7243         pointer to include all registers pushed by __morestack.
7245 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
7247         PR target/40125
7248         * configure.ac: Call ACX_NONCANONICAL_TARGET.
7249         (toolexecdir): Calculate and AC_SUBST.
7250         (toolexeclibdir): Likewise.
7251         * Makefile.in (target_noncanonical): Import.
7252         (toolexecdir): Likewise.
7253         (toolexeclibdir): Likewise.
7254         * configure: Regenerate.
7256 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
7258         PR target/46040
7259         * config/arm/bpabi.h: Rename to...
7260         * config/arm/bpabi-lib.h: ...this.
7262 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7264         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
7265         appropriate.
7266         * configure: Regenerate.
7268 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
7270         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
7271         __FLOAT_WORD_ORDER__.
7272         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
7273         Delete.
7275 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7277         PR other/46202
7278         * Makefile.in (install-strip): New phony target.
7280 2010-11-07  Ian Lance Taylor  <iant@google.com>
7282         PR target/46089
7283         * config/i386/morestack.S (__morestack_large_model): New
7284         function.
7286 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
7288         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
7289         Delete.
7290         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
7292 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
7294         * config/arm/bpabi.h: New file.
7295         * config/frv/frv-abi.h: New file.
7297 2010-10-01  Ian Lance Taylor  <iant@google.com>
7299         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
7300         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
7302 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
7304         PR target/45858
7305         * config.host: Add the missing `$'.
7307 2010-09-30  Michael Eager  <eager@eagercon.com>
7309         * config.host: Add microblaze*-*-*.
7310         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
7311         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
7312         udivsi3.asm,umodsi3.asm}:  New.
7314 2010-09-28  Ian Lance Taylor  <iant@google.com>
7316         * configure.ac: Adjust CFI test to test assembler directly rather
7317         than checking gcc preprocessor macro.
7318         * configure: Rebuild.
7320 2010-09-27  Ian Lance Taylor  <iant@google.com>
7322         * configure.ac: Test whether assembler supports CFI directives.
7323         * config.host: Only add t-stack and i386/t-stack-i386 to
7324         tmake_file if libgcc_cv_cfi is "yes".
7325         * configure: Rebuild.
7327 2010-09-27  Ian Lance Taylor  <iant@google.com>
7329         * generic-morestack.h: New file.
7330         * generic-morestack.c: New file.
7331         * generic-morestack-thread.c: New file.
7332         * config/i386/morestack.S: New file.
7333         * config/t-stack: New file.
7334         * config/i386/t-stack-i386: New file.
7335         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
7336         i386/t-stack-i386 to tmake_file.
7338 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
7340         * Makefile.in (libgcc-extra-parts):  Check for static archives and
7341         invoke ranlib after installing them.
7342         (gcc-extra-parts): Likewise.
7343         (install-leaf): Likewise.
7345 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
7347         * configure: Regenerated.
7349 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
7351         * configure: Regenerated.
7353 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
7354             Andrew Pinski  <pinskia@gmail.com>
7356         PR target/40959
7357         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
7359 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7361         PR target/45524
7362         * configure: Regenerated.
7364 2010-09-06  Andreas Schwab  <schwab@redhat.com>
7366         * configure: Regenerate.
7368 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
7370         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
7371         64bit targets.
7372         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
7373         for 64bit targets.
7375 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
7376             Iain Sandoe  <iains@gcc.gnu.org>
7378         PR target/45476
7379         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
7380         LIB2FUNCS_EXCLUDE functions.
7382 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7384         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
7385         Include dfp.m4.
7386         * configure: Regenerate.
7388 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
7390         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
7391         i386/t-freebsd to tmake_file.
7392         * config/i386/t-freebsd: New file.
7393         * config/i386/libgcc-bsd.ver: New file.
7395 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
7397         * config.host (powerpc*-eabispe*): Set tmake_file.
7398         (powerpc*-eabi*): Likewise.
7399         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
7400         crtbeginS, crtendS, crtbeginT.
7402 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
7404         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
7405         to tmake_file.  Add crtfastmath.o to extra_parts.
7406         * config/mips/t-crtfm: New.
7408 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
7410         * config.host (sparc64-*-rtems*): New target.
7412 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7414         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7415         assembler syntax.
7417 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
7419         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
7421 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7423         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
7424         alpha-dec-osf5.0* support.
7426 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
7428         * config.host: Add lm32-*-rtems*.
7430 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7431             Uros Bizjak  <ubizjak@gmail.com>
7433         PR target/39048
7434         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
7435         like other remaining 32-bit x86 OSes.
7436         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7437         assembler syntax.
7438         * config/i386/libgcc-sol2.ver: New file.
7439         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
7441 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
7443         PR c/43553
7444         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
7445         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
7446         is used and substitute set_use_emutls.
7447         * configure: Regenerated.
7449 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
7451         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
7453 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7455         PR target/38085
7456         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
7457         MULTILIB_CFLAGS.
7458         ($(T)gcrt1.o): Likewise.
7459         ($(T)crt1.o): Likewise.
7460         ($(T)crti.o): Likewise.
7461         ($(T)crtn.o): Likewise.
7463 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7465         PR other/42980
7466         * Makefile.in (install): Use $(MAKE) string in rule, for
7467         parallel make.
7469 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
7471         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
7472         * config/mmix/t-mmix: New file.
7473         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
7475 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
7477         PR java/41991
7478         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
7479         SHLIB_MAPFILES.
7481 2010-01-04  Anthony Green  <green@moxielogic.com>
7483         * config/moxie/crti.asm, config/moxie/crtn.asm,
7484         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
7485         config/moxie/t-moxie: New files.
7486         * config.host: Add t-moxie-softfp reference.
7488 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
7490         PR other/39888
7491         * config/t-slibgcc-darwin: Fix embedded rpaths for
7492         --enable-version-specific-runtime-libs, build extension stub
7493         libs exposing features available from current libgcc_s.
7495 2009-11-11  Jon Beniston  <jon@beniston.com>
7497         * config.host: Add lm32 targets.
7498         * config/lm32: New directory.
7499         * config/lm32/libgcc_lm32.h: New file.
7500         * config/lm32/_mulsi3.c: New file.
7501         * config/lm32/_udivmodsi4.c: New file.
7502         * config/lm32/_divsi3.c: New file.
7503         * config/lm32/_modsi3.c: New file.
7504         * config/lm32/_udivsi3.c: New file.
7505         * config/lm32/_umodsi3.c: New file.
7506         * config/lm32/_lshrsi3.S: New file.
7507         * config/lm32/_ashrsi3.S: New file.
7508         * config/lm32/_ashlsi3.S: New file.
7509         * config/lm32/crti.S: New file.
7510         * config/lm32/crtn.S: New file.
7511         * config/lm32/t-lm32: New file.
7512         * config/lm32/t-elf: New file.
7513         * config/lm32/t-uclinux: New file.
7515 2009-10-26  Nick Clifton  <nickc@redhat.com>
7517         * config.host: Add support for RX target.
7518         * config/rx: New directory.
7519         * config/rx/rx-abi-functions.c: New file. Supplementary
7520         functions for libgcc to support the RX ABI.
7521         * config/rx/rx-abi.h: New file.  Supplementary header file for
7522         libgcc RX ABI functions.
7523         * config/rx/t-rx: New file: Makefile fragment for building
7524         libgcc for the RX.
7526 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
7528         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
7529         constraint of y0 to "g".
7531 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7533         * config.host: Include the s390 makefile fragments.
7534         * config/s390/32/_fixdfdi.c: New file.
7535         * config/s390/32/_fixsfdi.c: New file.
7536         * config/s390/32/_fixtfdi.c: New file.
7537         * config/s390/32/_fixunsdfdi.c: New file.
7538         * config/s390/32/_fixunssfdi.c: New file.
7539         * config/s390/32/_fixunstfdi.c: New file.
7540         * config/s390/32/t-floattodi: New file.
7541         * config/s390/libgcc-glibc.ver: New file.
7542         * config/s390/t-crtstuff: New file.
7543         * config/s390/t-linux: New file.
7544         * config/s390/t-tpf: New file.
7546 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7548         * configure.ac (AC_PREREQ): Bump to 2.64.
7550 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
7552         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
7554 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7556         * configure: Regenerate.
7558 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
7560         * config.host (ia64-hp-*vms*): New target.
7561         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
7562         with ia64-hp-*vms*.
7564 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7566         * configure.ac: Add snippet for maintainer-mode.
7567         * configure: Regenerate.
7568         * Makefile.in (AUTOCONF, configure_deps): New variables.
7569         ($(srcdir)/configure)): New rule, active only with maintainer
7570         mode turned on.
7572 2009-06-23  DJ Delorie  <dj@redhat.com>
7574         Add MeP port.
7575         * config.host: Add mep support.
7577 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
7579         * config.host: Add i386/${host_address}/t-fprules-softfp and
7580         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
7582         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
7583         for mingw targets.
7584         * config/i386/64/_multc3.c: Likewise.
7585         * config/i386/64/_powitf2.c: Likewise.
7586         * config/i386/64/eqtf2.c: Likewise.
7587         * config/i386/64/getf2.c: Likewise.
7588         * config/i386/64/letf2.c: Likewise.
7589         * config/i386/64/letf2.c: Likewise.
7590         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
7591         unsigned long long for x64 mingw targets.
7592         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
7593         (_FP_I_TYPE): Define as long long for x64 mingw target.
7595 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
7597         * config.host (vax-*-linux*): New.
7599 2009-05-31  Anthony Green  <green@moxielogic.com>
7601         * config.host: Add moxie support.
7602         * config/moxie/t-moxie: New file.
7604 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
7606         * config.host: Add i386/${host_address}/t-fprules-softfp and
7607         t-softfp to tmake_file for i[34567]86-*-cygwin*.
7609 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
7611         * config.host: Add i386/${host_address}/t-fprules-softfp to
7612         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
7614 2009-04-09  Nick Clifton  <nickc@redhat.com>
7616         * config/ia64/tf-signs.c: Change copyright header to refer to
7617         version 3 of the GNU General Public License with version 3.1
7618         of the GCC Runtime Library Exception and to point readers at
7619         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
7620         web page.
7621         * config/i386/32/tf-signs.c: Likewise.
7622         * config/libbid/_addsub_dd.c: Likewise.
7623         * config/libbid/_addsub_sd.c: Likewise.
7624         * config/libbid/_addsub_td.c: Likewise.
7625         * config/libbid/_dd_to_df.c: Likewise.
7626         * config/libbid/_dd_to_di.c: Likewise.
7627         * config/libbid/_dd_to_sd.c: Likewise.
7628         * config/libbid/_dd_to_sf.c: Likewise.
7629         * config/libbid/_dd_to_si.c: Likewise.
7630         * config/libbid/_dd_to_td.c: Likewise.
7631         * config/libbid/_dd_to_tf.c: Likewise.
7632         * config/libbid/_dd_to_udi.c: Likewise.
7633         * config/libbid/_dd_to_usi.c: Likewise.
7634         * config/libbid/_dd_to_xf.c: Likewise.
7635         * config/libbid/_df_to_dd.c: Likewise.
7636         * config/libbid/_df_to_sd.c: Likewise.
7637         * config/libbid/_df_to_td.c: Likewise.
7638         * config/libbid/_di_to_dd.c: Likewise.
7639         * config/libbid/_di_to_sd.c: Likewise.
7640         * config/libbid/_di_to_td.c: Likewise.
7641         * config/libbid/_div_dd.c: Likewise.
7642         * config/libbid/_div_sd.c: Likewise.
7643         * config/libbid/_div_td.c: Likewise.
7644         * config/libbid/_eq_dd.c: Likewise.
7645         * config/libbid/_eq_sd.c: Likewise.
7646         * config/libbid/_eq_td.c: Likewise.
7647         * config/libbid/_ge_dd.c: Likewise.
7648         * config/libbid/_ge_sd.c: Likewise.
7649         * config/libbid/_ge_td.c: Likewise.
7650         * config/libbid/_gt_dd.c: Likewise.
7651         * config/libbid/_gt_sd.c: Likewise.
7652         * config/libbid/_gt_td.c: Likewise.
7653         * config/libbid/_isinfd128.c: Likewise.
7654         * config/libbid/_isinfd32.c: Likewise.
7655         * config/libbid/_isinfd64.c: Likewise.
7656         * config/libbid/_le_dd.c: Likewise.
7657         * config/libbid/_le_sd.c: Likewise.
7658         * config/libbid/_le_td.c: Likewise.
7659         * config/libbid/_lt_dd.c: Likewise.
7660         * config/libbid/_lt_sd.c: Likewise.
7661         * config/libbid/_lt_td.c: Likewise.
7662         * config/libbid/_mul_dd.c: Likewise.
7663         * config/libbid/_mul_sd.c: Likewise.
7664         * config/libbid/_mul_td.c: Likewise.
7665         * config/libbid/_ne_dd.c: Likewise.
7666         * config/libbid/_ne_sd.c: Likewise.
7667         * config/libbid/_ne_td.c: Likewise.
7668         * config/libbid/_sd_to_dd.c: Likewise.
7669         * config/libbid/_sd_to_df.c: Likewise.
7670         * config/libbid/_sd_to_di.c: Likewise.
7671         * config/libbid/_sd_to_sf.c: Likewise.
7672         * config/libbid/_sd_to_si.c: Likewise.
7673         * config/libbid/_sd_to_td.c: Likewise.
7674         * config/libbid/_sd_to_tf.c: Likewise.
7675         * config/libbid/_sd_to_udi.c: Likewise.
7676         * config/libbid/_sd_to_usi.c: Likewise.
7677         * config/libbid/_sd_to_xf.c: Likewise.
7678         * config/libbid/_sf_to_dd.c: Likewise.
7679         * config/libbid/_sf_to_sd.c: Likewise.
7680         * config/libbid/_sf_to_td.c: Likewise.
7681         * config/libbid/_si_to_dd.c: Likewise.
7682         * config/libbid/_si_to_sd.c: Likewise.
7683         * config/libbid/_si_to_td.c: Likewise.
7684         * config/libbid/_td_to_dd.c: Likewise.
7685         * config/libbid/_td_to_df.c: Likewise.
7686         * config/libbid/_td_to_di.c: Likewise.
7687         * config/libbid/_td_to_sd.c: Likewise.
7688         * config/libbid/_td_to_sf.c: Likewise.
7689         * config/libbid/_td_to_si.c: Likewise.
7690         * config/libbid/_td_to_tf.c: Likewise.
7691         * config/libbid/_td_to_udi.c: Likewise.
7692         * config/libbid/_td_to_usi.c: Likewise.
7693         * config/libbid/_td_to_xf.c: Likewise.
7694         * config/libbid/_tf_to_dd.c: Likewise.
7695         * config/libbid/_tf_to_sd.c: Likewise.
7696         * config/libbid/_tf_to_td.c: Likewise.
7697         * config/libbid/_udi_to_dd.c: Likewise.
7698         * config/libbid/_udi_to_sd.c: Likewise.
7699         * config/libbid/_udi_to_td.c: Likewise.
7700         * config/libbid/_unord_dd.c: Likewise.
7701         * config/libbid/_unord_sd.c: Likewise.
7702         * config/libbid/_unord_td.c: Likewise.
7703         * config/libbid/_usi_to_dd.c: Likewise.
7704         * config/libbid/_usi_to_sd.c: Likewise.
7705         * config/libbid/_usi_to_td.c: Likewise.
7706         * config/libbid/_xf_to_dd.c: Likewise.
7707         * config/libbid/_xf_to_sd.c: Likewise.
7708         * config/libbid/_xf_to_td.c: Likewise.
7709         * config/libbid/bid128.c: Likewise.
7710         * config/libbid/bid128_2_str.h: Likewise.
7711         * config/libbid/bid128_2_str_macros.h: Likewise.
7712         * config/libbid/bid128_2_str_tables.c: Likewise.
7713         * config/libbid/bid128_add.c: Likewise.
7714         * config/libbid/bid128_compare.c: Likewise.
7715         * config/libbid/bid128_div.c: Likewise.
7716         * config/libbid/bid128_fma.c: Likewise.
7717         * config/libbid/bid128_logb.c: Likewise.
7718         * config/libbid/bid128_minmax.c: Likewise.
7719         * config/libbid/bid128_mul.c: Likewise.
7720         * config/libbid/bid128_next.c: Likewise.
7721         * config/libbid/bid128_noncomp.c: Likewise.
7722         * config/libbid/bid128_quantize.c: Likewise.
7723         * config/libbid/bid128_rem.c: Likewise.
7724         * config/libbid/bid128_round_integral.c: Likewise.
7725         * config/libbid/bid128_scalb.c: Likewise.
7726         * config/libbid/bid128_sqrt.c: Likewise.
7727         * config/libbid/bid128_string.c: Likewise.
7728         * config/libbid/bid128_to_int16.c: Likewise.
7729         * config/libbid/bid128_to_int32.c: Likewise.
7730         * config/libbid/bid128_to_int64.c: Likewise.
7731         * config/libbid/bid128_to_int8.c: Likewise.
7732         * config/libbid/bid128_to_uint16.c: Likewise.
7733         * config/libbid/bid128_to_uint32.c: Likewise.
7734         * config/libbid/bid128_to_uint64.c: Likewise.
7735         * config/libbid/bid128_to_uint8.c: Likewise.
7736         * config/libbid/bid32_to_bid128.c: Likewise.
7737         * config/libbid/bid32_to_bid64.c: Likewise.
7738         * config/libbid/bid64_add.c: Likewise.
7739         * config/libbid/bid64_compare.c: Likewise.
7740         * config/libbid/bid64_div.c: Likewise.
7741         * config/libbid/bid64_fma.c: Likewise.
7742         * config/libbid/bid64_logb.c: Likewise.
7743         * config/libbid/bid64_minmax.c: Likewise.
7744         * config/libbid/bid64_mul.c: Likewise.
7745         * config/libbid/bid64_next.c: Likewise.
7746         * config/libbid/bid64_noncomp.c: Likewise.
7747         * config/libbid/bid64_quantize.c: Likewise.
7748         * config/libbid/bid64_rem.c: Likewise.
7749         * config/libbid/bid64_round_integral.c: Likewise.
7750         * config/libbid/bid64_scalb.c: Likewise.
7751         * config/libbid/bid64_sqrt.c: Likewise.
7752         * config/libbid/bid64_string.c: Likewise.
7753         * config/libbid/bid64_to_bid128.c: Likewise.
7754         * config/libbid/bid64_to_int16.c: Likewise.
7755         * config/libbid/bid64_to_int32.c: Likewise.
7756         * config/libbid/bid64_to_int64.c: Likewise.
7757         * config/libbid/bid64_to_int8.c: Likewise.
7758         * config/libbid/bid64_to_uint16.c: Likewise.
7759         * config/libbid/bid64_to_uint32.c: Likewise.
7760         * config/libbid/bid64_to_uint64.c: Likewise.
7761         * config/libbid/bid64_to_uint8.c: Likewise.
7762         * config/libbid/bid_b2d.h: Likewise.
7763         * config/libbid/bid_binarydecimal.c: Likewise.
7764         * config/libbid/bid_conf.h: Likewise.
7765         * config/libbid/bid_convert_data.c: Likewise.
7766         * config/libbid/bid_decimal_data.c: Likewise.
7767         * config/libbid/bid_decimal_globals.c: Likewise.
7768         * config/libbid/bid_div_macros.h: Likewise.
7769         * config/libbid/bid_dpd.c: Likewise.
7770         * config/libbid/bid_flag_operations.c: Likewise.
7771         * config/libbid/bid_from_int.c: Likewise.
7772         * config/libbid/bid_functions.h: Likewise.
7773         * config/libbid/bid_gcc_intrinsics.h: Likewise.
7774         * config/libbid/bid_inline_add.h: Likewise.
7775         * config/libbid/bid_internal.h: Likewise.
7776         * config/libbid/bid_round.c: Likewise.
7777         * config/libbid/bid_sqrt_macros.h: Likewise.
7779 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
7781         * Makefile.in: Change copyright header to refer to version
7782         3 of the GNU General Public License and to point readers at the
7783         COPYING3 file and the FSF's license web page.
7784         * config.host: Likewise.
7786 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
7788         * config.host: Reorder and merge to match config.gcc change.
7790 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
7792         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
7794 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
7796         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
7797         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
7798         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
7799         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
7801 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
7803         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
7804         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
7806 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
7808         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
7809         ia64/t-softfp-compat to tmake_file.
7811         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
7813         * config/ia64/__divxf3.asm: New.
7814         * config/ia64/_fixtfdi.asm: Likewise.
7815         * config/ia64/_fixunstfdi.asm: Likewise.
7816         * config/ia64/_floatditf.asm: Likewise.
7817         * config/ia64/t-fprules-softfp: Likewise.
7818         * config/ia64/t-softfp-compat: Likewise.
7819         * config/ia64/tf-signs.c: Likewise.
7821 2009-01-18  Ben Elliston  <bje@au.ibm.com>
7823         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
7825 2009-01-16  Ben Elliston  <bje@au.ibm.com>
7827         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
7828         to tmake_file.
7830 2009-01-13  Ben Elliston  <bje@au.ibm.com>
7832         * config/t-softfp: New file.
7833         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
7834         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
7836 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
7838         * config.host: Add m32r*-*-rtems*.
7840 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
7842         * config.host: Add m32c*-*-rtems*.
7844 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7846         PR bootstrap/33100
7847         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
7848         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
7849         * configure: Regenerate.
7850         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
7851         tmake_file here from gcc/config.gcc.
7852         Move extra_parts here from gcc/config.gcc.
7853         * config/i386/t-sol2: Move here from gcc/config/i386.
7854         Use gcc_srcdir instead of srcdir.
7856 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
7858         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
7859         case.
7861 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
7863         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
7865 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
7867         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
7869 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
7871         Add picoChip port.
7872         * config.host: Add picochip-*-*.
7874 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
7876         * config.host: Match more processor names for Xtensa.
7878 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
7880         * config/i386/64/t-softfp-compat: Update comments.
7882 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
7884         * config/i386/64/_divtc3-compat.c: Moved to ...
7885         * config/i386/64/_divtc3.c: Here.
7887         * config/i386/64/_multc3-compat.c: Moved to ...
7888         * config/i386/64/_multc3.c: Here.
7890         * config/i386/64/_powitf2-compat.c: Moved to ...
7891         * config/i386/64/_powitf2.c: Here.
7893         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
7894         .c suffix instead of -compat.c.
7896 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
7898         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
7899         (_FP_MUL_MEAT_D): Ditto.
7900         (_FP_DIV_MEAT_S): Ditto.
7901         (_FP_DIV_MEAT_D): Ditto.
7903 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
7905         * Makefile.in: Add support for __sync_* libgcc functions.
7907 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
7909         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
7911 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
7913         PR boostrap/36702
7914         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
7915         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
7917         * config/i386/64/t-fprules-softfp: Moved to ...
7918         * config/i386/64/t-softfp-compat: This.  New.
7920 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
7922         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
7923         Initialize f with 0.0.
7925 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
7927         PR target/36669
7928         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
7930         * config/i386/64/_divtc3-compat.c: New.
7931         * config/i386/64/_multc3-compat.c: Likewise.
7932         * config/i386/64/_powitf2-compat.c: Likewise.
7933         * config/i386/64/eqtf2.c: Likewise.
7934         * config/i386/64/getf2.c: Likewise.
7935         * config/i386/64/letf2.c: Likewise.
7936         * config/i386/64/t-fprules-softfp: Likewise.
7938 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
7940         * config.host: Add i386/${host_address}/t-fprules-softfp to
7941         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
7942         i[34567]86-*-linux*, x86_64-*-linux*.
7944         * configure.ac: Set host_address to 64 or 32 for x86.
7945         * configure: Regenerated.
7947         * Makefile.in (config.status): Also depend on
7948         $(srcdir)/config.host.
7950         * config/i386/32/t-fprules-softfp: New.
7951         * config/i386/32/tf-signs.c: Likewise.
7953         * config/i386/64/sfp-machine.h: New. Moved from gcc.
7955 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
7956             Uros Bizjak  <ubizjak@gmail.com>
7958         * config/i386/32/sfp-machine.h: New.
7960 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
7962         * config/rs6000/t-ppccomm: Remove rules that conflict with
7963         auto-generated rules.
7965 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7967         * configure.ac: sinclude override.m4.
7968         * configure: Regenerate.
7970 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
7972         * configure: Regenerate.
7974 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
7976         * Makefile.in (DECNUMINC): Remove
7977         -I$(MULTIBUILDTOP)../../libdecnumber.
7978         * gstdint.h: New.
7980 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
7982         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
7983         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
7984         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
7985         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
7986         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
7987         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
7988         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
7989         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
7990         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
7991         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
7992         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
7993         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
7994         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
7995         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
7997 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
7999         * config.host (sh2[lbe]*-*-linux*): Allow target.
8001 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
8003         * config/rs6000/t-ppccomm: Add build rules for new files.
8004         (LIB2ADD_ST): New variable.
8006 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
8008         PR target/34210
8009         PR target/35508
8010         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
8011         * config/t-avr: New file. Build 16bit libgcc functions.
8013 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
8015         PR target/35401
8016         * config/t-slibgcc-darwin: Make install-leaf dependent on
8017         install-darwin-libgcc-stubs instead of install.
8019 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
8021         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
8022         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
8023         sh-*-rtemscoff*): Remove cases.
8025 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
8027         * Makefile.in (all): Use install-leaf rather than install.
8028         (install): Split most of the rule into...
8029         (install-leaf): ...this new one.
8031 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
8032             Paolo Bonzini  <bonzini@gnu.org>
8034         PR target/30572
8035         * Makefile.in: Use @shlib_slibdir@ substitution to get
8036         correct install name on darwin.
8037         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
8039 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
8041         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
8042         cris-*-elf and cris-*-none.
8043         (crisv32-*-linux*): Similar, as cris-*-linux*.
8045 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
8047         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
8049 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
8051         PR regression/33926
8052         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
8053         * configure: Regenerated.
8055 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
8057         * Makefile.in (dfp-filenames): Replace decimal_globals,
8058         decimal_data, binarydecimal and convert_data with
8059         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
8060         and bid_convert_data, respectively.
8062 2007-09-17  Chao-ying Fu  <fu@mips.com>
8063             Nigel Stephens  <nigel@mips.com>
8065         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
8066         * Makefile.in (fixed_point): Define.
8067         Check if fixed_point is yes to build support functions.
8068         * configure.ac: Check for fixed_point support.
8069         * configure: Regenerated.
8070         * gen-fixed.sh: New file to generate lists of fixed-point labels,
8071         funcs, modes, from, to.
8073 2007-09-11  Janis Johnson  <janis187@us.ibm.com
8075         * Makefile.in (dfp-filenames): Add bid128_noncomp.
8077 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
8079         * Makefile.in (dfp-filenames): Remove decUtility, add
8080         decDouble, decPacked, decQuad, decSingle.
8082 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
8084         * config.host : Add x86_64-elf target.
8086 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
8088         * configure.ac (set_have_cc_tls): Add a missing =.
8089         * configure: Regenerated.
8091 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
8093         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
8094         and x86_64-*-linux*.
8096         * config/t-tls: New file.
8098         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
8100         * configure.ac: Include ../config/enable.m4 and
8101         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
8102         supports TLS and substitute set_have_cc_tls.
8103         * configure: Regenerated.
8105 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
8107         * Makefile.in: Use libbid for DFP when BID is enabled.
8109 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
8111         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
8112         extra_parts. Add config/i386/t-cygming to tmake_file.
8113         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
8115 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
8116             Danny Smith  <dannysmith@users.sourceforge.net>
8118         PR target/29498
8119         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
8120         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
8121         * config/i386/t-crtfm: Compile crtfastmath.o with
8122         -minline-all-stringops.
8124 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
8126         * config.host (sparc-wrs-vxworks): New target.
8128 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
8130         * config.host: Recognize fido.
8132 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
8134         * configure: Check host, not target, for decimal float support.
8136 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
8138         * config/i386/t-crtpc: New file.
8139         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
8140         (x86_64-*-linux*): Ditto.
8142 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
8144         * config.host (x86_64-*-mingw*): New target.
8146 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
8147             H.J. Lu  <hongjiu.lu@intel.com>
8149         * Makefile.in (enable_decimal_float): New.
8150         (DECNUMINC): Add
8151         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
8152         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
8153         (decbits-filenames): This.
8154         (decbits-objects): New.
8155         (libgcc-objects): Add $(decbits-objects).
8157         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
8158         Substitute enable_decimal_float.
8159         * configure: Regenerated.
8161 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
8163         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
8165 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
8167         * Makefile.in (install-info): New dummy target.
8169 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
8171         * config.host (bfin*-linux-uclibc*): Set extra_parts.
8173 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
8175         * Makefile.in: Add install-html and install-pdf dummy
8176         targets.
8178 2007-02-05  Roger Sayle  <roger@eyesopen.com>
8179             Daniel Jacobowitz  <dan@codesourcery.com>
8181         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
8182         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
8183         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
8185 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
8187         * Makefile.in (dec-filenames): Add decExcept.
8189 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
8191         PR bootstrap/30469
8192         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
8193         -fprofile-use.
8195 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
8197         * configure.ac: Add --enable-version-specific-runtime-libs.
8198         Correct $slibdir default.
8199         * configure: Regenerated.
8201 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
8203         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
8205 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
8207         PR target/30519
8208         * config.host (alpha*-*-linux*): Set extra_parts.
8210 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
8212         * config/sh/t-linux: New.
8213         * config.host (sh*-*-linux*): Set tmake_file.
8215 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
8217         * Makefile.in (install): Handle multilibs.
8219 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
8221         * Makefile.in: Added .PHONY entry for documentation targets.
8223 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
8225         * Makefile.in: Add empty info, html, dvi, pdf targets.
8227 2007-01-04  Mike Stump  <mrs@apple.com>
8229         * Makefile.in (MAKEINFO): Remove.
8230         (PERL): Likewise.
8232 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
8234         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
8235         * configure: Regenerate.
8236         * Makefile.in (host_subdir): Substitute it.
8237         (gcc_objdir): Use it.
8239 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
8241         * config.host (ia64*-*-linux*): Set tmake_file.
8243 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
8245         * Makefile.in (version): Define.
8247 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
8248             Paolo Bonzini  <bonzini@gnu.org>
8250         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
8251         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
8252         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
8253         config/sparc/t-crtfm, config/t-slibgcc-darwin,
8254         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
8255         shared-object.mk, siditi-object.mk, static-object.mk: New files.
8256         * configure: Generated.
8258 Copyright (C) 2007-2016 Free Software Foundation, Inc.
8260 Copying and distribution of this file, with or without modification,
8261 are permitted in any medium without royalty provided the copyright
8262 notice and this notice are preserved.