* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Variable>: Translate
[official-gcc.git] / libgcc / ChangeLog
blobd4a1bad2d840ecfb04adfcc599aee2196013d70f
1 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
3         * config.host (arc*-*-linux-uclibc*): Use default extra
4         objects. Include linux-android header.
5         * config/arc/crti.S (_init): Declare symbol as function.
6         (_fini): Likewise.
8 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
10         PR fortran/78379
11         * config/i386/cpuinfo.c:  Move denums for processor vendors,
12         processor type, processor subtypes and declaration of
13         struct __processor_model into
14         * config/i386/cpuinfo.h:  New header file.
16 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
17             Thomas Preud'homme  <thomas.preudhomme@arm.com>
19         * config/arm/cmse_nonsecure_call.S: New.
20         * config/arm/t-arm: Compile cmse_nonsecure_call.S
22 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
23             Thomas Preud'homme  <thomas.preudhomme@arm.com>
25         * config/arm/t-arm (HAVE_CMSE): New.
26         * config/arm/cmse.c: New.
28 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
30         PR gcc/74748
31         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
32         use generic linker version information on Blackfin.
34         PR gcc/74748
35         * libgcc/mkmap-symver.awk: add support for skip_underscore
37 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
38             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
40         PR target/67710
41         *  config/t-darwin: Default builds to 10.5 codegen.
43 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
45         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
46         (_FP_NANSIGN_H): Likewise.
47         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
48         (softfp_truncations): Add tfhf.
49         (softfp_extras): Add required conversion functions.
51 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
52             Matthew Wahab  <matthew.wahab@arm.com>
54         * config/arm/fp16.c (binary64): New.
55         (__gnu_d2h_internal): New.
56         (__gnu_d2h_ieee): New.
57         (__gnu_d2h_alternative): New.
59 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
60             Matthew Wahab  <matthew.wahab@arm.com>
62         * config/arm/fp16.c (struct format): New.
63         (binary32): New.
64         (__gnu_float2h_internal): New.  Body moved from
65         __gnu_f2h_internal and generalize.
66         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
67         Call it with binary32.
69 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
71         * soft-fp/extendhftf2.c: Update from glibc.
72         * soft-fp/fixhfti.c: Likewise.
73         * soft-fp/fixunshfti.c: Likewise.
74         * soft-fp/floattihf.c: Likewise.
75         * soft-fp/floatuntihf.c: Likewise.
76         * soft-fp/half.h: Likewise.
77         * soft-fp/trunctfhf2.c: Likewise.
79 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
81         PR libgcc/77813
82         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
83         __TMC_END__ behind a passthrough asm.
85 2016-11-18  Walter Lee  <walt@tilera.com>
87         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
89 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
91         * config/i386/cpuinfo.c (processor_features): Add
92         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
94 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
96         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
97         (__ARC_NORM__): Use instead ARC_OPTFPE.
98         * config/arc/fp-hack.h: Likewise.
99         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
100         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
102 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
104         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
105         * config/nvptx/mgomp.c: New file.
106         * config/nvptx/t-nvptx: Add mgomp.c
108 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
110         PR libgcc/68468
111         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
113 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
115         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
116         of checking for cpus.
117         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
118         (__modsi3, __clzsi2): Likewise.
120 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
122         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
123         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
124         * config/i386/t-cpuinfo-static: New.
126 2016-11-03  Martin Liska  <mliska@suse.cz>
128         * libgcov-profiler.c (__gcov_time_profiler): Remove.
129         (__gcov_time_profiler_atomic): Likewise.
131 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
133         PR libgcc/78067
134         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
135         count_leading_zeros.
137 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
139         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
140         * libgcc2.c (__divmoddi4): New function.
141         * libgcc2.h (__divmoddi4): Declare.
142         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
143         and __PFX_divmodti4.
145 2016-10-24  Florian Weimer  <fweimer@redhat.com>
147         PR libgcc/78064
148         * unwind-c.c: Include auto-target.h.
150 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
152         * config/pa/pa64-hpux-lib.h: New file.
153         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
154         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
155         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
156         hppa*64*-*-hpux11*.
158 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
160         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
161         definition.
162         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
163         definition.
164         * config/xtensa/t-windowed (LIB2ADDEH): Use
165         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
166         or xtensa/t-linux.
168 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
170         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
171         __ieee754_sqrt): New functions.
172         (__divdf3): Add implementation with new FPU instructions under
173         #if XCHAL_HAVE_DFP_DIV.
174         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
175         __ieee754_sqrtf): New functions.
176         (__divsf3): Add implementation with new FPU instructions under
177         #if XCHAL_HAVE_FP_DIV.
178         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
179         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
181 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
183         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
184         equivalent.
185         * config/tilepro/atomic.c: Likewise and stop casting model to
186         enum memmodel.
188 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
190         PR target/77586
191         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
192         soft-fp.
194 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
196         * config.host: Add support for aarch64-*-freebsd*.
198 2016-10-05  Andreas Schwab  <schwab@suse.de>
200         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
201         (.section .init_array): Don't call __do_jv_register_classes.
202         (.section .init): Likewise.
204 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
206         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
207         (__JCR_LIST__): Remove.
208         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
209         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
210         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
211         * config/ia64/crtend.S (__JCR_END__): Remove.
212         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
213         conditionals.
214         (__JCR_LIST__, __JCR_END__): Remove.
215         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
216         (__do_global_ctors_1): Likewise.
218 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
220         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
221         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
223 2016-09-27  Martin Liska  <mliska@suse.cz>
225         PR gcov-profile/7970
226         PR gcov-profile/16855
227         PR gcov-profile/44779
228         * libgcov-driver.c (__gcov_init): Do not register a atexit
229         handler.
230         (__gcov_exit): Rename from gcov_exit.
231         * libgcov.h (__gcov_exit): Declare.
233 2016-09-27  Martin Liska  <mliska@suse.cz>
235         PR bootstrap/77749
236         * Makefile.in: Remove _gcov_merge_delta.
237         * libgcov-merge.c (void __gcov_merge_delta): Remove.
238         * libgcov-util.c (__gcov_delta_counter_op): Remove.
239         * libgcov.h: Remove declaration of __gcov_merge_delta.
241 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
243         * configure.ac: Do not create links, only substitute the filenames.
244         * configure: Regenerate.
245         * Makefile.in: Assign the substitution results to variables.
246         (LIBGCC_LINKS): Define.
247         (enable-execute-stack.c): New rule.
248         (unwind.h): Likewise.
249         (md-unwind-support.h): Likewise.
250         (sfp-machine.h): Likewise.
251         (gthr-default.h): Likewise.
252         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
253         unwind.h as prerequisite of install-unwind_h-forbuild.
255 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
257         PR libgcc/71744
258         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
259         is not the primary registry and atomics are available.
260         (any_objects_registered): New variable.
261         (__register_frame_info_bases, __register_frame_info_table_bases):
262         Atomically store 1 to any_objects_registered after registering first
263         unwind info.
264         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
266 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
268         PR target/63250
269         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
270         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
271         (HFtype): Likewise.
272         (HCtype): Likewise.
273         (__divhc3): Likewise.
274         (__mulhc3): Likewise.
275         * libgcc2.c: Support _mulhc3 and _divhc3.
277 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
279         PR libgcc/77519
280         * libgcc2.c (NOTRUNC): Invert settings.
282 2016-09-06  Martin Liska  <mliska@suse.cz>
284         PR gcov-profile/77378
285         PR gcov-profile/77466
286         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
287         conditionaly enable/disable *_atomic functions.
289 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
291         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
292         where not already enabled.
294 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
296         * config/mips/linux-unwind.h: Use sys/syscall.h.
298 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
300         PR libgcc/77265
301         * soft-fp/adddf3.c: Update from glibc.
302         * soft-fp/addsf3.c: Likewise.
303         * soft-fp/addtf3.c: Likewise.
304         * soft-fp/divdf3.c: Likewise.
305         * soft-fp/divsf3.c: Likewise.
306         * soft-fp/divtf3.c: Likewise.
307         * soft-fp/double.h: Likewise.
308         * soft-fp/eqdf2.c: Likewise.
309         * soft-fp/eqsf2.c: Likewise.
310         * soft-fp/eqtf2.c: Likewise.
311         * soft-fp/extenddftf2.c: Likewise.
312         * soft-fp/extended.h: Likewise.
313         * soft-fp/extendsfdf2.c: Likewise.
314         * soft-fp/extendsftf2.c: Likewise.
315         * soft-fp/extendxftf2.c: Likewise.
316         * soft-fp/fixdfdi.c: Likewise.
317         * soft-fp/fixdfsi.c: Likewise.
318         * soft-fp/fixdfti.c: Likewise.
319         * soft-fp/fixsfdi.c: Likewise.
320         * soft-fp/fixsfsi.c: Likewise.
321         * soft-fp/fixsfti.c: Likewise.
322         * soft-fp/fixtfdi.c: Likewise.
323         * soft-fp/fixtfsi.c: Likewise.
324         * soft-fp/fixtfti.c: Likewise.
325         * soft-fp/fixunsdfdi.c: Likewise.
326         * soft-fp/fixunsdfsi.c: Likewise.
327         * soft-fp/fixunsdfti.c: Likewise.
328         * soft-fp/fixunssfdi.c: Likewise.
329         * soft-fp/fixunssfsi.c: Likewise.
330         * soft-fp/fixunssfti.c: Likewise.
331         * soft-fp/fixunstfdi.c: Likewise.
332         * soft-fp/fixunstfsi.c: Likewise.
333         * soft-fp/fixunstfti.c: Likewise.
334         * soft-fp/floatdidf.c: Likewise.
335         * soft-fp/floatdisf.c: Likewise.
336         * soft-fp/floatditf.c: Likewise.
337         * soft-fp/floatsidf.c: Likewise.
338         * soft-fp/floatsisf.c: Likewise.
339         * soft-fp/floatsitf.c: Likewise.
340         * soft-fp/floattidf.c: Likewise.
341         * soft-fp/floattisf.c: Likewise.
342         * soft-fp/floattitf.c: Likewise.
343         * soft-fp/floatundidf.c: Likewise.
344         * soft-fp/floatundisf.c: Likewise.
345         * soft-fp/floatunditf.c: Likewise.
346         * soft-fp/floatunsidf.c: Likewise.
347         * soft-fp/floatunsisf.c: Likewise.
348         * soft-fp/floatunsitf.c: Likewise.
349         * soft-fp/floatuntidf.c: Likewise.
350         * soft-fp/floatuntisf.c: Likewise.
351         * soft-fp/floatuntitf.c: Likewise.
352         * soft-fp/gedf2.c: Likewise.
353         * soft-fp/gesf2.c: Likewise.
354         * soft-fp/getf2.c: Likewise.
355         * soft-fp/ledf2.c: Likewise.
356         * soft-fp/lesf2.c: Likewise.
357         * soft-fp/letf2.c: Likewise.
358         * soft-fp/muldf3.c: Likewise.
359         * soft-fp/mulsf3.c: Likewise.
360         * soft-fp/multf3.c: Likewise.
361         * soft-fp/negdf2.c: Likewise.
362         * soft-fp/negsf2.c: Likewise.
363         * soft-fp/negtf2.c: Likewise.
364         * soft-fp/op-1.h: Likewise.
365         * soft-fp/op-2.h: Likewise.
366         * soft-fp/op-4.h: Likewise.
367         * soft-fp/op-8.h: Likewise.
368         * soft-fp/op-common.h: Likewise.
369         * soft-fp/quad.h: Likewise.
370         * soft-fp/single.h: Likewise.
371         * soft-fp/soft-fp.h: Likewise.
372         * soft-fp/subdf3.c: Likewise.
373         * soft-fp/subsf3.c: Likewise.
374         * soft-fp/subtf3.c: Likewise.
375         * soft-fp/truncdfsf2.c: Likewise.
376         * soft-fp/trunctfdf2.c: Likewise.
377         * soft-fp/trunctfsf2.c: Likewise.
378         * soft-fp/trunctfxf2.c: Likewise.
379         * soft-fp/unorddf2.c: Likewise.
380         * soft-fp/unordsf2.c: Likewise.
381         * soft-fp/unordtf2.c: Likewise.
383 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
385         PR gcov-profile/67097
386         * libgcov-util.c (gcov_profile_merge): Skip missing files.
388 2016-08-10  Martin Liska  <mliska@suse.cz>
390         PR gcov-profile/58306
391         * Makefile.in: New functions (modules) are added.
392         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
393         function.
394         (__gcov_pow2_profiler_atomic): New function.
395         (__gcov_one_value_profiler_body): New argument is instroduced.
396         (__gcov_one_value_profiler): Call with the new argument.
397         (__gcov_one_value_profiler_atomic): Likewise.
398         (__gcov_indirect_call_profiler_v2): Likewise.
399         (__gcov_time_profiler_atomic): New function.
400         (__gcov_average_profiler_atomic): Likewise.
401         (__gcov_ior_profiler_atomic): Likewise.
402         * libgcov.h: Declare the aforementioned functions.
404 2016-08-09  Martin Liska  <mliska@suse.cz>
406         * libgcov-util.c: Fix typo and GNU coding style.
408 2016-08-09  Martin Liska  <mliska@suse.cz>
410         * Makefile.in: Remove __gcov_indirect_call_profiler.
411         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
412         function.
413         * libgcov.h: And the declaration of the function.
415 2016-08-09  Martin Liska  <mliska@suse.cz>
417         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
418         power of two.
420 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
422         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
423         * config/rs6000/_mulkc3.c: Likewise.
425 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
427         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
428         zero_reg as previous call to __umulhisi3 already cleared it.
430 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
432         PR target/59833
433         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
435 2016-07-19  Nick Clifton  <nickc@redhat.com>
437         * config.host (m32r): Add m32r/t-m32r to tmake_file.
438         Add crtinit.o and crtfini.o to extra_parts.
440 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
442         * config/rs6000/_divkc3.c: New.
443         * config/rs6000/_mulkc3.c: New.
444         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
445         and _divkc3.
446         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
447         fp128_ppc_funcs.
449 2016-07-11  Hale Wang  <hale.wang@arm.com>
450             Andre Vieira  <andre.simoesdiasvieira@arm.com>
452         * config/arm/lib1funcs.S: Add new wrapper.
454 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
456         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
458 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
460         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
461         and ARMv5t* rather than for a fixed list of architectures.
463 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
465         * config/arm/bpabi-v6m.S: Clarify what architectures is the
466         implementation suitable for.
467         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
468         for all Thumb-1 only targets.
469         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
470         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
471         __ARM_ARCH_6M__.
472         (EQUIV): Likewise.
473         (ARM_FUNC_ALIAS): Likewise.
474         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
475         version.
476         (modsi3): Likewise.
477         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
478         (clzdi2): Likewise.
479         (ctzsi2): Likewise.
480         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
481         __ARM_ARCH_6M__ in guard for checking whether it is defined.
482         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
483         __ARM_ARCH_6M__ and add comment to indicate the connection between
484         this condition and the one in gcc/config/arm/elf.h.
485         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
486         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
487         * config/arm/t-softfp: Likewise.
489 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
491         * libgcc2.c (SYMBOL__MAIN): Remove checks for
492         CTOR_LISTS_DEFINED_EXTERNALLY.
494 2016-06-28  Walter Lee  <walt@tilera.com>
496         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
497         asm/unistd.h.
498         (SPR_CMPEXCH_VALUE): Define for tilegx.
499         (__NR_FAST_cmpxchg): Define for tilepro.
500         (__NR_FAST_atomic_update): Define for tilepro.
501         (__NR_FAST_cmpxchg64): Define for tilepro.
503 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
505         * config.host: Add suport for arm*-*-phoenix* targets.
507 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
509         * config.host: Remove support for mep-*.
510         * config/mep/lib1funcs.S: Remove.
511         * config/mep/lib2funcs.c: Remove.
512         * config/mep/t-mep: Remove.
513         * config/mep/tramp.c: Remove.
515 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
517         * config.host: Remove support for avr-rtems.
518         * config/avr/t-rtems: Remove.
520 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
522         * config.host: Remove m32r-rtems support.
524 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
526         * config.host: Remove h8300-rtems support.
528 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
530         * config.host: Remove support for knetbsd.
532 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
534         * config.host: Remove support for openbsd 2 and 3.
536 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
538         * config.host: Remove interix support.
539         * config/i386/t-interix: Remove.
541 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
543         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
544         least-significant bit in function pointer for fixup.
546 2016-06-05  Aaron Conole  <aconole@redhat.com>
547             Nathan Sidwell  <nathan@acm.org>
549         PR libgcc/71400
550         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
551         (get_gcov_error_file): Check __gcov_error_file before trying to
552         initialize it.
553         (gcov_error): Always use get_gcov_error_file.
555 2016-06-02  Aaron Conole  <aconole@redhat.com>
557         * libgcov-driver-system.c (__gcov_error_file): New.
558         (get_gcov_error_file): New.
559         (gcov_error): Use and set __gcov_error_file.
560         (gcov_error_exit): New.
561         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
563 2016-05-26  Nathan Sidwell  <nathan@acm.org>
565         * config/nvptx/free.asm: Delete.
566         * config/nvptx/malloc.asm: Delete.
567         * config/nvptx/realloc.c: Delete.
568         * t-nvptx: Update.
570 2016-05-25  Nathan Sidwell  <nathan@acm.org>
572         * config/nvptx/crt0.s: Delete.
573         * config/nvptx/crt0.c: New.
574         * t-nvptx: Update.
576 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
578         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
579         dw2/seh configuration.
580         [x86_64-*-mingw*]: Likewise.
582 2016-05-10  Joel Sherrill <joel@rtems.org>
584         PR libgcc/70720
585         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
586         targets so the same extra_parts are built.  Also have tmake_file add
587         on to its value rather than override.
589 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
591         * config.host: Remove SH5 support.
592         * configure: Likewise.
594 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
596         * config/sh/crt1.S: Remove SH5 support.
597         * config/sh/crti.S: Likewise.
598         * config/sh/crtn.S: Likewise.
599         * config/sh/lib1funcs-4-300.S: Likewise.
600         * config/sh/lib1funcs-Os-4-200.S: Likewise.
601         * config/sh/lib1funcs.S: Likewise.
602         * config/sh/linux-unwind.h: Likewise.
603         * config/sh/t-sh64: Delete.
605 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
607         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
609 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
610             Joern Rennecke  <joern.rennecke@embecosm.com>
612         * config/arc/crttls.S: New file.
613         * config/arc/t-arc: New rule.
614         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
616 2016-04-25  Nick Clifton  <nickc@redhat.com>
618         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
619         (__mspabi_cmpd): Likewise.
620         * config/msp430/floathidf.c (__floathidf): Likewise.
621         * config/msp430/floathisf.c (__floathisf): Likewise
622         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
623         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
624         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
625         second parameter.
626         (__ashrsi3): Likewise.
628 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
630         * config/m68k/linux-atomic.c: Do not include unistd.h
632 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
634         * config/arm/ieee754-df.S: Fix typos in comments.
636 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
638         PR target/70381
639         * configure.ac (powerpc*-*-linux*): Rework tests to build
640         __float128 emulation routines to not depend on using #pragma GCC
641         target to enable -mfloat128.
642         * configure: Regnerate.
644 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
646         PR target/67172
647         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
648         __MINGW32__ is defined.
650 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
652         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
654 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
656         PR libgcc/70363
657         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
658         built with an assembler that does not support ISA 3.0
659         instructions, rename __extendkftf2_sw to __extendkftf2.
661 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
663         PR target/38239
664         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
665         call-clobbered registers.
666         (internal_mcount): Remove __i386__ handling.
668 2016-02-26  Joel Sherrill <joel@rtems.org>
670         * config.host: Add x86_64-*-rtems*.
672 2016-02-26  Joel Sherrill <joel@rtems.org>
674         * libgcc/config.host: Add aarch64-*-rtems*.
676 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
677             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
679         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
680         union of u64 and double.
681         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
682         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
683         value.
684         (FP_ROUNDMODE): Update the usage of _fpscr.
686 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
688         PR driver/68463
689         * Makefile.in (crtoffloadtable$(objext)): New rule.
690         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
691         enable_offload_targets is not empty.
692         * configure: Regenerate.
693         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
694         crtoffloadtable.
696 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
698         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
699         .literal_position before the function.
700         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
701         Likewise.
703 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
705         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
706         * config/s390/morestack.S: New file.
707         * config/s390/t-stack-s390: New file.
708         * generic-morestack.c (__splitstack_find): Add s390-specific code.
710 2016-02-12  Walter Lee  <walt@tilera.com>
712         * config.host (tilegx*-*-linux*): remove ti from
713         softfp_int_modes for 32-bit configs.
715 2016-02-10  Ian Lance Taylor  <iant@google.com>
717         PR go/68562
718         * config/i386/morestack.S (__stack_split_initialize): Align
719         stack.
721 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
723         PR bootstrap/69611
724         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
725         __FLOAT128__ to compile only for __float128 capable targets.
727 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
729         PR target/69444
730         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
731         instead of ___NO_FPRS__.
733 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
734             Steven Munroe  <munroesj@linux.vnet.ibm.com>
735             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
737         * config/rs6000/float128-sed: New files to convert TF names to KF
738         names for PowerPC IEEE 128-bit floating point support.
739         * config/rs6000/float128-sed-hw: Likewise.
741         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
742         floating point hardware support.
744         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
745         128-bit floating point software emulation or use ISA 3.0 hardware
746         support if it is available.
748         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
749         floating point.
751         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
752         floating point to IBM extended double.
754         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
755         double to IEEE 128-bit floating point.
757         * config/rs6000/t-float128: New Makefile fragments to enable
758         building __float128 emulation support.
759         * config/rs6000/t-float128-hw: Likewise.
761         * config/rs6000/sfp-exceptions.c: New file to provide exception
762         support for IEEE 128-bit floating point.
764         * config/rs6000/floattikf.c: New files for converting between IEEE
765         128-bit floating point and signed/unsigned 128-bit integers.
766         * config/rs6000/fixunskfti.c: Likewise.
767         * config/rs6000/fixkfti.c: Likewise.
768         * config/rs6000/floatuntikf.c: Likewise.
770         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
771         when building on 64-bit systems, or when VSX is enabled.
772         (_FP_W_TYPE): Likewise.
773         (_FP_WS_TYPE): Likewise.
774         (_FP_I_TYPE): Likewise.
775         (TItype): Define on 64-bit systems.
776         (UTItype): Likewise.
777         (TI_BITS): Likewise.
778         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
779         (_FP_MUL_MEAT_Q): Likewise.
780         (_FP_DIV_MEAT_D): Likewise.
781         (_FP_DIV_MEAT_Q): Likewise.
782         (_FP_NANFRAC_D): Likewise.
783         (_FP_NANFRAC_Q): Likewise.
784         (ISA_BIT): Add exception support if we are being compiled on a
785         machine with hardware floating point support to build the IEEE
786         128-bit emulation functions.
787         (FP_EX_INVALID): Likewise.
788         (FP_EX_OVERFLOW): Likewise.
789         (FP_EX_UNDERFLOW): Likewise.
790         (FP_EX_DIVZERO): Likewise.
791         (FP_EX_INEXACT): Likewise.
792         (FP_EX_ALL): Likewise.
793         (__sfp_handle_exceptions): Likewise.
794         (FP_HANDLE_EXCEPTIONS): Likewise.
795         (FP_RND_NEAREST): Likewise.
796         (FP_RND_ZERO): Likewise.
797         (FP_RND_PINF): Likewise.
798         (FP_RND_MINF): Likewise.
799         (FP_RND_MASK): Likewise.
800         (_FP_DECL_EX): Likewise.
801         (FP_INIT_ROUNDMODE): Likewise.
802         (FP_ROUNDMODE): Likewise.
804         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
805         VSX code, enable IEEE 128-bit floating point.  If the compiler can
806         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
807         floating point hardware instructions and it supports declaring
808         functions with the ifunc attribute, enable ifunc functions to
809         switch between software and hardware support.
810         * configure.ac (powerpc*-*-linux*): Likewise.
811         * configure: Regenerate.
813 2016-01-15  Nick Clifton  <nickc@redhat.com>
815         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
816         dependency as the source file to be compiled.
817         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
818         (lib2hw_mul_f5.o): Likewise.
820 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
822         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
823         * libgcc/config/rs6000/fixkfti.c: Likewise.
824         * libgcc/config/rs6000/fixunskfti.c: Likewise.
825         * libgcc/config/rs6000/float128-hw.c: Likewise.
826         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
827         * libgcc/config/rs6000/float128-sed: Likewise.
828         * libgcc/config/rs6000/floattikf.c: Likewise.
829         * libgcc/config/rs6000/floatuntikf.c: Likewise.
830         * libgcc/config/rs6000/quad-float128.h: Likewise.
831         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
832         * libgcc/config/rs6000/sfp-machine.h: Likewise.
833         * libgcc/config/rs6000/t-float128: Likewise.
834         * libgcc/config/rs6000/t-float128-hw: Likewise.
835         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
836         * libgcc/config.host: Likewise.
837         * libgcc/configure: Likewise.
838         * libgcc/configure.ac: Likewise.
840 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
841             Steven Munroe  <munroesj@linux.vnet.ibm.com>
842             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
844         * config/rs6000/sfp-exceptions.c: New file to provide exception
845         support for IEEE 128-bit floating point.
847         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
848         floating point hardware support.
850         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
851         point conversions.
852         * config/rs6000/fixunskfti.c: Likewise.
853         * config/rs6000/fixkfti.c: Likewise.
854         * config/rs6000/floatuntikf.c: Likewise.
855         * config/rs6000/extendkftf2-sw.c: Likewise.
856         * config/rs6000/trunctfkf2-sw.c: Likewise.
858         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
859         128-bit floating point software emulation or use ISA 3.0 hardware
860         support if it is available.
862         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
863         floating point.
865         * config/rs6000/t-float128: New Makefile fragments to enable
866         building __float128 emulation support.
867         * config/rs6000/t-float128-hw: Likewise.
869         * config/rs6000/float128-sed: New file to convert TF names to KF
870         names for PowerPC IEEE 128-bit floating point support.
872         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
873         when building on 64-bit systems, or when VSX is enabled.
874         (_FP_W_TYPE): Likewise.
875         (_FP_WS_TYPE): Likewise.
876         (_FP_I_TYPE): Likewise.
877         (TItype): Define on 64-bit systems.
878         (UTItype): Likewise.
879         (TI_BITS): Likewise.
880         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
881         (_FP_MUL_MEAT_Q): Likewise.
882         (_FP_DIV_MEAT_D): Likewise.
883         (_FP_DIV_MEAT_Q): Likewise.
884         (_FP_NANFRAC_D): Likewise.
885         (_FP_NANFRAC_Q): Likewise.
886         (ISA_BIT): Add exception support if we are being compiled on a
887         machine with hardware floating point support to build the IEEE
888         128-bit emulation functions.
889         (FP_EX_INVALID): Likewise.
890         (FP_EX_OVERFLOW): Likewise.
891         (FP_EX_UNDERFLOW): Likewise.
892         (FP_EX_DIVZERO): Likewise.
893         (FP_EX_INEXACT): Likewise.
894         (FP_EX_ALL): Likewise.
895         (__sfp_handle_exceptions): Likewise.
896         (FP_HANDLE_EXCEPTIONS): Likewise.
897         (FP_RND_NEAREST): Likewise.
898         (FP_RND_ZERO): Likewise.
899         (FP_RND_PINF): Likewise.
900         (FP_RND_MINF): Likewise.
901         (FP_RND_MASK): Likewise.
902         (_FP_DECL_EX): Likewise.
903         (FP_INIT_ROUNDMODE): Likewise.
904         (FP_ROUNDMODE): Likewise.
906         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
907         compiler can do __float128.
908         * configure: Regenerate.
910         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
911         VSX code, enable IEEE 128-bit floating point.
913 2016-01-05  Olivier Hainque  <hainque@adacore.com>
915         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
916         specificities.
918 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
920         Update copyright years.
922 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
924         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
925         soft-fp targets.
927 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
929         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
930         instead of abort to avoid dependency on stdlib.h.
932 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
934         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
935         to initialize call to __dl_fixup once.
937 2015-12-04  Nick Clifton  <nickc@redhat.com>
939         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
940         Allow for the second argument being negative.
941         * config.host (extra_parts): Define for MSP430.  Create separate
942         libraries for each of the hardware multiply formats.
943         * config/msp430/lib2hw_mul.S: Build only the multiply routines
944         that are needed.
945         * config/msp430/lib2mul.c: Likewise.
946         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
947         Add rules to build hardware multiply libraries.
948         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
949         __mspabi_divul function.
950         (__mspabi_divllu): New stub function.
952 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
954         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
955         fixup values if saved GOT address doesn't match runtime address.
956         (fixup_branch_offset): Reorder list.
958 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
960         * Makefile.in (VTV_CFLAGS): New variable.
961         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
962         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
963         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
964         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
965         to extra_parts if $enable_vtable_verify = yes.
967 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
969         PR target/68059
970         * config/arm/linux-atomic-64bit.c (__write): Rename to...
971         (write): ...this and fix the return type.
973 2015-11-19  DJ Delorie  <dj@redhat.com>
975         * config/msp430/lib2hw_mul.S: Fix alignment.
977 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
979         * config/nvptx/reduction.c: New.
980         * config/nvptx/t-nvptx (LIB2ADD): Add it.
982 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
984         * config/rs6000/on_exit.c: New file.
985         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
986         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
988 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
990         * config/arc/dp-hack.h: Add support for ARCHS.
991         * config/arc/ieee-754/divdf3.S: Likewise.
992         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
993         * config/arc/ieee-754/muldf3.S: Likewise.
994         * config/arc/ieee-754/mulsf3.S: Likewise
995         * config/arc/lib1funcs.S: Likewise
996         * config/arc/gmon/dcache_linesz.S: Don't read the build register
997         for ARCv2 cores.
998         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
999         for ARCv2 cores.
1000         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
1001         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
1002         cores.
1004 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1006         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
1007         value.
1008         * config/ia64/crtend.S: Likewise.
1010 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1012         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
1013         __CHAR_BIT__ instead of BITS_PER_UNIT.
1014         * fixed-bit.h: Likewise.
1015         * fp-bit.h: Likewise.
1016         * libgcc2.c (__popcountSI2): Likewise.
1017         (__popcountDI2): Likewise.
1018         * libgcc2.h: Likewise.
1019         * libgcov.h: Likewise.
1021 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
1023         * config/rs6000/atexit.c: New file.
1024         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
1025         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
1026         * config/rs6000/cxa_finalize.c
1027         (catomic_compare_and_exchange_bool_acq): Negate return value.
1029 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
1031         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
1032         (processor_subtypes): Add znver1.
1033         (get_amd_cpu): Detect znver1.
1035 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
1037         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
1038         Include crtfastmath.o.
1040 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
1042         PR libgcc/66883
1043         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1045 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
1047         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
1048         * config/rl78/divmodsi.S: Update return register to r8.
1049         * config/rl78/divmodhi.S: Update return register to r8,r9.
1050         Branch to main_loop_done_himode to pop registers before return.
1052 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
1054         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
1055         (__cpu_indicator_init): Fix model selection for AMD CPUs.
1057 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
1059         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
1061 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
1063         * config.host (xtensa*-*-uclinux*): New configuration.
1065 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
1067         * config/i386/cpuinfo.c (processor_features): Add
1068         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
1070 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
1072         * soft-fp/adddf3.c: Update from glibc.
1073         * soft-fp/addsf3.c: Likewise.
1074         * soft-fp/addtf3.c: Likewise.
1075         * soft-fp/divdf3.c: Likewise.
1076         * soft-fp/divsf3.c: Likewise.
1077         * soft-fp/divtf3.c: Likewise.
1078         * soft-fp/double.h: Likewise.
1079         * soft-fp/eqdf2.c: Likewise.
1080         * soft-fp/eqsf2.c: Likewise.
1081         * soft-fp/eqtf2.c: Likewise.
1082         * soft-fp/extenddftf2.c: Likewise.
1083         * soft-fp/extended.h: Likewise.
1084         * soft-fp/extendsfdf2.c: Likewise.
1085         * soft-fp/extendsftf2.c: Likewise.
1086         * soft-fp/extendxftf2.c: Likewise.
1087         * soft-fp/fixdfdi.c: Likewise.
1088         * soft-fp/fixdfsi.c: Likewise.
1089         * soft-fp/fixdfti.c: Likewise.
1090         * soft-fp/fixsfdi.c: Likewise.
1091         * soft-fp/fixsfsi.c: Likewise.
1092         * soft-fp/fixsfti.c: Likewise.
1093         * soft-fp/fixtfdi.c: Likewise.
1094         * soft-fp/fixtfsi.c: Likewise.
1095         * soft-fp/fixtfti.c: Likewise.
1096         * soft-fp/fixunsdfdi.c: Likewise.
1097         * soft-fp/fixunsdfsi.c: Likewise.
1098         * soft-fp/fixunsdfti.c: Likewise.
1099         * soft-fp/fixunssfdi.c: Likewise.
1100         * soft-fp/fixunssfsi.c: Likewise.
1101         * soft-fp/fixunssfti.c: Likewise.
1102         * soft-fp/fixunstfdi.c: Likewise.
1103         * soft-fp/fixunstfsi.c: Likewise.
1104         * soft-fp/fixunstfti.c: Likewise.
1105         * soft-fp/floatdidf.c: Likewise.
1106         * soft-fp/floatdisf.c: Likewise.
1107         * soft-fp/floatditf.c: Likewise.
1108         * soft-fp/floatsidf.c: Likewise.
1109         * soft-fp/floatsisf.c: Likewise.
1110         * soft-fp/floatsitf.c: Likewise.
1111         * soft-fp/floattidf.c: Likewise.
1112         * soft-fp/floattisf.c: Likewise.
1113         * soft-fp/floattitf.c: Likewise.
1114         * soft-fp/floatundidf.c: Likewise.
1115         * soft-fp/floatundisf.c: Likewise.
1116         * soft-fp/floatunditf.c: Likewise.
1117         * soft-fp/floatunsidf.c: Likewise.
1118         * soft-fp/floatunsisf.c: Likewise.
1119         * soft-fp/floatunsitf.c: Likewise.
1120         * soft-fp/floatuntidf.c: Likewise.
1121         * soft-fp/floatuntisf.c: Likewise.
1122         * soft-fp/floatuntitf.c: Likewise.
1123         * soft-fp/gedf2.c: Likewise.
1124         * soft-fp/gesf2.c: Likewise.
1125         * soft-fp/getf2.c: Likewise.
1126         * soft-fp/ledf2.c: Likewise.
1127         * soft-fp/lesf2.c: Likewise.
1128         * soft-fp/letf2.c: Likewise.
1129         * soft-fp/muldf3.c: Likewise.
1130         * soft-fp/mulsf3.c: Likewise.
1131         * soft-fp/multf3.c: Likewise.
1132         * soft-fp/negdf2.c: Likewise.
1133         * soft-fp/negsf2.c: Likewise.
1134         * soft-fp/negtf2.c: Likewise.
1135         * soft-fp/op-1.h: Likewise.
1136         * soft-fp/op-2.h: Likewise.
1137         * soft-fp/op-4.h: Likewise.
1138         * soft-fp/op-8.h: Likewise.
1139         * soft-fp/op-common.h: Likewise.
1140         * soft-fp/quad.h: Likewise.
1141         * soft-fp/single.h: Likewise.
1142         * soft-fp/soft-fp.h: Likewise.
1143         * soft-fp/subdf3.c: Likewise.
1144         * soft-fp/subsf3.c: Likewise.
1145         * soft-fp/subtf3.c: Likewise.
1146         * soft-fp/truncdfsf2.c: Likewise.
1147         * soft-fp/trunctfdf2.c: Likewise.
1148         * soft-fp/trunctfsf2.c: Likewise.
1149         * soft-fp/trunctfxf2.c: Likewise.
1150         * soft-fp/unorddf2.c: Likewise.
1151         * soft-fp/unordsf2.c: Likewise.
1152         * soft-fp/unordtf2.c: Likewise.
1154 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
1156         PR libgcc/67624
1157         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
1159 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1161         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1162         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
1163         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
1164         messages.
1165         (internal_mcount): Likewise.
1166         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
1167         crt_compile, add CRTSTUFF_T_CFLAGS_S.
1169 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1171         * configure.ac (libgcc_cv_solaris_crts): New test.
1172         * configure: Regenerate.
1173         * config.in: Regenerate.
1174         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
1175         * config/gmon-sol2.c: Rename to ...
1176         * config/sol2/gmon.c: ... this.
1177         Include auto-target.h.
1178         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
1179         * config/t-sol2: Rename to ...
1180         * config/sol2/t-sol2: ... this.
1181         (gmon.o): Reflect renaming.
1182         (crtp.o, crtpg.o): New rules.
1183         * config.host (*-*-solaris2*): Reflect renaming.
1184         Use system CRTs if present.
1185         Remove default CRT case.
1187 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
1189         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
1190         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
1191         __kernel_cmpxchg2.
1192         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
1193         (__sync_val_compare_and_swap_##WIDTH): Likewise.
1194         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
1195         (__sync_lock_test_and_set_##WIDTH): Likewise.
1196         (__sync_lock_release_##WIDTH): Likewise.
1197         (__sync_fetch_and_##OP##_4): Change result to match type of
1198         __kernel_cmpxchg.
1199         (__sync_##OP##_and_fetch_4): Likewise.
1200         (__sync_val_compare_and_swap_4): Likewise.
1201         (__sync_bool_compare_and_swap_4): likewise.
1202         (__sync_lock_test_and_set_4): Likewise.
1203         (__sync_lock_release_4): Likewise.
1204         (FETCH_AND_OP_2): Add long long variants.
1205         (OP_AND_FETCH_2): Likewise.
1206         (COMPARE_AND_SWAP_2 ): Likewise.
1207         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1208         (SYNC_LOCK_RELEASE_2): Likewise.
1209         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
1211 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
1213         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
1214         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
1215         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
1216         (get_available_features): Habdle new features.
1218 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
1220         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
1221         memory layout. Deal correctly with BSS region larger than 32K.
1222         Handle a watchdog reset like a power-on reset. Clean up unused
1223         code.
1225 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
1226             David Edelsohn  <dje.gcc@gmail.com>
1228         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
1229         * config/rs6000/crtdbase.S: New file.
1230         * config/rs6000/t-aix-cxa: Build crtdbase.o.
1232 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
1234         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1235         Add support for call0 ABI.
1237 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
1239         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
1241 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1243         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
1244         (__GTHREAD_HAS_COND): Likewise.
1245         (__gthread_t): Likewise.
1246         (__gthread_cond_t): Likewise.
1247         (__gthread_time_t): Likewise.
1248         (__GTHREAD_MUTEX_INIT): Likewise.
1249         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
1250         (__GTHREAD_COND_INIT): Likewise.
1251         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
1252         (__GTHREAD_TIME_INIT): Likewise.
1253         (__gthread_create): Likewise.
1254         (__gthread_join): Likewise.
1255         (__gthread_detach): Likewise.
1256         (__gthread_equal): Likewise.
1257         (__gthread_self): Likewise.
1258         (__gthread_yield): Likewise.
1259         (__gthread_cond_broadcast): Likewise.
1260         (__gthread_cond_signal): Likewise.
1261         (__gthread_cond_wait): Likewise.
1262         (__gthread_cond_timedwait): Likewise.
1263         (__gthread_cond_wait_recursive): Likewise.
1264         (__gthread_cond_destroy): Likewise.
1265         (rtems_gxx_once): Delete.
1266         (rtems_gxx_key_create): Likewise.
1267         (rtems_gxx_key_delete): Likewise.
1268         (rtems_gxx_getspecific): Likewise.
1269         (rtems_gxx_setspecific): Likewise.
1270         (rtems_gxx_mutex_init): Likewise.
1271         (rtems_gxx_mutex_destroy): Likewise.
1272         (rtems_gxx_mutex_lock): Likewise.
1273         (rtems_gxx_mutex_trylock): Likewise.
1274         (rtems_gxx_mutex_unlock): Likewise.
1275         (rtems_gxx_recursive_mutex_init): Likewise.
1276         (rtems_gxx_recursive_mutex_lock): Likewise.
1277         (rtems_gxx_recursive_mutex_trylock): Likewise.
1278         (rtems_gxx_recursive_mutex_unlock): Likewise.
1279         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
1280         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
1281         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
1282         (__gthread_once): Likewise.
1283         (__gthread_key_create): Likewise.
1284         (__gthread_key_delete): Likewise.
1285         (__gthread_getspecific): Likewise.
1286         (__gthread_setspecific): Likewise.
1287         (__gthread_key_t): Use <pthread.h> type.
1288         (__gthread_once_t): Likewise
1289         (__gthread_mutex_t): Use <sys/lock.h> type.
1290         (__gthread_recursive_mutex_t): Likewise
1291         (__gthread_mutex_lock): Use <sys/lock.h> function.
1292         (__gthread_mutex_trylock): Likewise.
1293         (__gthread_mutex_timedlock): Likewise.
1294         (__gthread_mutex_unlock): Likewise.
1295         (__gthread_mutex_destroy): Likewise.
1296         (__gthread_recursive_mutex_lock): Likewise.
1297         (__gthread_recursive_mutex_trylock): Likewise.
1298         (__gthread_recursive_mutex_timedlock): Likewise.
1299         (__gthread_recursive_mutex_unlock): Likewise.
1300         (__gthread_recursive_mutex_destroy): Likewise.
1302 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
1304         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
1305         context->sp instead of context->cfa.
1307 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
1309         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
1310         with unwind-dw2-fde-dip.
1312 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
1314         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
1315         CALL12 followed by series of ENTRY to spill windowed registers.
1316         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
1317         instead of making linux spill syscall.
1319 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
1321         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
1322         (get_intel_cpu): Likewise.
1324 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
1326         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
1327         (get_intel_cpu): Add Knights Landing support.
1329 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
1331         PR target/66954
1332         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
1333         (get_available_features): Handle FEATURE_PCLMUL.
1335 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
1337         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
1338         Broadwell.
1340 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
1342         PR target/66954
1343         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
1344         (get_available_features): Handle FEATURE_AES.
1346 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
1348         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
1349         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
1351 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
1353         * offloadstuff.c: Constify host data.
1355 2015-07-17  Jan Beulich  <jbeulich@suse.com>
1357         * config/t-softfp: Split up "else ifneq".
1359 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
1360             Cesar Philippidis  <cesar@codesourcery.com>
1361             Chung-Lin Tang  <cltang@codesourcery.com>
1363         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
1364         for __nios2_arch__ level.
1366 2015-07-13  John Marino  <gnugcc@marino.st>
1368         * config/i386/t-dragonfly: New.
1370 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
1372         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
1373         better match light-weight syscall argument order.
1374         (__kernel_cmpxchg2): Likewise.
1375         Adjust callers.
1377 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
1379         * config.host: Support i[34567]86-*-elfiamcu target.
1380         * config/t-softfp-sfdftf: New file.
1381         * config/i386/32/t-iamcu: Likewise.
1382         * configure: Regenerated.
1384 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
1386         libgcc/config/arm/
1387         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
1389 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
1391         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
1393 2015-05-27  John Marino  <gnugcc@marino.st>
1395         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
1396         md_unwind_header
1397         * config/i386/freebsd-unwind.h: New.
1399 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
1401         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
1402         i386/t-crtfm to tmake_file.
1403         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
1404         (set_fast_math): Use set_fast_math_sse for SSE targets.
1405         * config/i386/t-crtfm: Remove.
1407 2015-05-21  Alan Modra  <amodra@gmail.com>
1409         PR libgcc/66225
1410         * config/rs6000/morestack.S: Remove ".abiversion 1".
1412 2015-05-20  Alan Modra  <amodra@gmail.com>
1414         * config/rs6000/morestack.S: New.
1415         * config/rs6000/t-stack-rs6000: New.
1416         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
1417         to tmake_file.
1418         * generic-morestack.c: Don't build for powerpc 32-bit.
1420 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
1422         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
1423         Remove useless endif/ifneq ($(enable_shared),yes) pair.
1425 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
1427         * config.host: FT32 target added.
1428         * config/ft32/*: New files for FT32 target.
1430 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
1432         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
1433         New macros.
1434         * config/arm/ieee754-df.S: Add CFI directives.
1435         * config/arm/ieee754-sf.S: Add CFI directives.
1437 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
1439         * configure.ac: Include config/sjlj.m4.
1440         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
1441         * config.in: Regenerate.
1442         * configure: Likewise.
1443         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
1445 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
1447         * libgcov-util.c: Add space between string literal and macro name.
1449 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
1450             Chris Jones  <chrisj@nvidia.com>
1451             Joshua Conner  <jconner@nvidia.com>
1453         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
1454         (arm*-*-uclinux*): Likewise.
1455         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
1456         * config/arm/crtfastmath.c: New file.
1458 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
1460         * Makefile.in (real_host_noncanonical): New variable.
1461         (libsubdir): Use it.
1462         * configure.ac (real_host_noncanonical): Compute.  Remove special
1463         case for intelmicemul.
1464         * configure: Regenerate.
1466 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
1468         * config/frv/elf-lib.h: New file.
1469         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
1470         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
1471         to tm_file.
1473 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
1475         * config/frv/frvbengin.c: Do not include defaults.h
1476         * config/frv/frvend.c: Ditto.
1478 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
1480         * config.host: Add h8300-*-linux
1481         * config/h8300/t-linux: New file.
1482         * config/h8300/lib1funs.s: Change symbol prefix.
1483         * config/h8300/sfp-machine.h: 64bit double support.
1485 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
1486             Szabolcs Nagy  <szabolcs.nagy@arm.com>
1488         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
1489         Linux if target provides dl_iterate_phdr.
1491 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
1493         PR target/65612
1494         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
1495         * config/i386/cpuinfo.c (__cpu_model): Initialize.
1496         (__cpu_indicator_init@GCC_4.8.0): New.
1497         (__cpu_model@GCC_4.8.0): Likewise.
1498         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
1499         -DUSE_ELF_SYMVER.
1501 2015-04-16  Nick Clifton  <nickc@redhat.com>
1503         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
1504         and __modhi3 functions.
1505         * config/rl78/divmodso.S: Add G14 and G13 versions of the
1506         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
1508 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
1510         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
1511         do-while loop as macro body to avoid warnings.
1513 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
1514             Iain Sandoe  <iain@codesourcery.com>
1516         PR target/65351
1517         * configure: Regenerate.
1519 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
1520             Iain Sandoe  <iain@codesourcery.com>
1522         PR target/65351
1523         * configure: Regenerate.
1525 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
1527         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
1529 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
1531         Implement call0 ABI for xtensa
1532         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
1533         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
1534         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
1535         use ret in call0 ABI.
1536         * config/xtensa/t-windowed: New file.
1537         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
1538         * libgcc/configure: Regenerated.
1539         * libgcc/configure.ac: Check if xtensa target is configured for
1540         windowed ABI and thus needs to use custom unwind code.
1542 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
1544         PR libgcc/64885
1545         * gthr-single.h: Use __unused__ attribute instead of unused.
1546         * config/gthr-vxworks.h: Likewise.
1547         * config/i386/gthr-win32.h: Likewise.
1549 2015-02-27  Kai Tietz  <ktietz@redhat.com>
1551         PR target/65038
1552         * config.in: Regenerated.
1553         * configure: Likewise.
1554         * configure.ac (AC_HEADER_STDC): Added explicit.
1555         (AC_CHECK_HEADERS): Check for default headers  plus
1556         for ftw.h header.
1557         * libgcov-util.c (gcov_read_profile_dir): Disable use
1558         of ftw-function, if header is not found.
1559         (ftw_read_file): Likewise.
1561 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
1563         PR target/65181
1564         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
1565         -Dinhibit_libc.
1567 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
1569         * config/arm/bpabi.S (test_div_by_zero): Make label names
1570         consistent between thumb2 and arm mode cases.  Separate the
1571         signed comparison on the high word of the numerator from the
1572         unsigned comparison on the low word.
1573         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
1574         signed comparison.
1576 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1578         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
1579         and <string.h>.
1580         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
1582 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
1584         PR gcov-profile/61889
1585         * libgcov-driver-system.c: undefine clashing macro for mkdir.
1587 2015-02-02  Nick Clifton  <nickc@redhat.com>
1589         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
1590         rounding up the fraction.
1592 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
1594         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
1595         oldval and newval to const void *.  Fix typo.
1596         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
1597         (FETCH_AND_OP_WORD): Likewise.
1598         (OP_AND_FETCH_WORD): Likewise.
1599         (COMPARE_AND_SWAP_2): Likewise.
1600         (__sync_val_compare_and_swap_4): Likewise.
1601         (__sync_lock_test_and_set_4): Likewise.
1602         (SYNC_LOCK_RELEASE_2): Likewise.
1603         Remove support for long long atomic operations.
1605 2015-01-27  Caroline Tice  <cmtice@google.com>
1607         Committing VTV Cywin/Ming patch for Patrick Wollgast
1608         * Makefile.in: Move rules to build vtv_*.o out of the check
1609         for CUSTOM_CRTSTUFF.
1610         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
1611         i[34567]86-*-mingw*)
1612          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
1613         enable_vtable_verify.
1615 2015-01-27  Nick Clifton  <nickc@redhat.com>
1617         * config/rl78/cmpsi2.S: Use function start and end macros.
1618         (__gcc_bcmp): New function.
1619         * config/rl78/lshrsi3.S: Use function start and end macros.
1620         * config/rl78/mulsi3.S: Add support for G10.
1621         (__mulqi3): New function for G10.
1622         * config/rl78/signbit.S: Use function start and end macros.
1623         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
1624         fpmath-sf.S.
1625         (LIB2FUNCS_EXCLUDE): Define.
1626         (LIB2FUNCS_ST): Define.
1627         * config/rl78/trampoline.S: Use function start and end macros.
1628         * config/rl78/vregs.h (START_FUNC): New macro.
1629         (START_ANOTHER_FUNC): New macro.
1630         (END_FUNC): New macro.
1631         (END_ANOTHER_FUNC): New macro.
1632         * config/rl78/bit-count.S: New file.  Contains assembler
1633         implementations of the bit counting functions: ___clzhi2,
1634         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
1635         __paritysi2, __popcounthi2 and __popcountsi2.
1636         * config/rl78/fpbit-sf.S: New file.  Contains assembler
1637         implementationas of the math functions: __negsf2, __cmpsf2,
1638         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
1639         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
1640         * config/rl78/fpmath-sf.S: New file.  Contains assembler
1641         implementations of the math functions: __subsf3, __addsf3,
1642         __mulsf3 and __divsf3
1644 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1646         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
1647         Add i386/elf-lib.h to tm_file.
1648         * config/i386/elf-lib.h: Fix comment.
1649         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
1650         && __sun__ && __svr4__]: Remove workaround.
1652 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
1654         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
1655         FEATURE_BMI2.
1656         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
1658 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
1660         * config/i386/cpuinfo.c (processor_subtypes): Add
1661         INTEL_COREI7_BROADWELL.
1662         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
1663         model numbers.
1665 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
1667         * config/i386/elf-lib.h: New file.
1668         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
1669         Wrap definition in #ifdef __i386__.
1670         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
1671         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
1672         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
1673         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
1674         to tm_file.
1676 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
1678         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
1679         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
1681 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
1683         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
1684         Update rt_sigframe format and address for current Nios II
1685         Linux conventions.
1687 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
1689         * config.host (arm*-*-freebsd*): Add new configuration for
1690         arm*-*-freebsd*.
1691         * config/arm/freebsd-atomic.c: New file.
1692         * config/arm/t-freebsd: Likewise.
1693         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
1694         'PC-relative indirect' OS's.
1696 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
1698         * config.host: Add Visium support.
1699         * config/visium: New directory.
1701 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
1703         Update copyright years.
1705 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
1707         * config.host: Support mipsisa32r6 and mipsisa64r6.
1708         * config/mips/mips16.S: Do not build for R6.
1710 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
1712         * config/sh/crt.h: New.
1713         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
1714         symbols.
1715         * config/sh/crt1.S: Likewise.
1717 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
1719         PR libgcc/63832
1720         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
1721         func_ptr *dtor_list temporary variable to avoid "array subscript
1722         is above array bounds" warnings.
1724 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
1726         * Makefile.in (with_aix_soname): Define.
1727         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
1728         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
1729         * configure: Recreate.
1731 2014-12-05  Olivier Hainque  <hainque@adacore.com>
1733         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
1734         now provided by defaults.h.
1736 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
1738         PR target/55351
1739         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
1740         whether it's defined.
1742 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
1744         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
1745         * config/i386/cpuinfo.c (get_available_features): Detect it.
1747 2014-11-27  Tony Wang  <tony.wang@arm.com>
1749         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
1750         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
1751         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
1753 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
1755         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
1757 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
1759         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
1760         instead.
1762 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
1763             John David Anglin  <danglin@gcc.gnu.org>
1765         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
1766         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
1767         (OP_AND_FETCH_2): Likewise.
1768         (COMPARE_AND_SWAP_2): Likewise.
1769         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1770         (SYNC_LOCK_RELEASE_2): Likewise.
1771         (SUBWORD_SYNC_OP): Remove.
1772         (SUBWORD_VAL_CAS): Likewise.
1773         (SUBWORD_BOOL_CAS): Likewise.
1774         (FETCH_AND_OP_WORD): Update.
1775         Consistently use signed types.
1777 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
1778             Thomas Schwinge  <thomas@codesourcery.com>
1779             Ilya Verbin  <ilya.verbin@intel.com>
1780             Andrey Turetskiy  <andrey.turetskiy@intel.com>
1782         * Makefile.in (crtoffloadbegin$(objext)): New rule.
1783         (crtoffloadend$(objext)): Likewise.
1784         * configure: Regenerate.
1785         * configure.ac (accel_dir_suffix): Compute new variable.
1786         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
1787         if enable_offload_targets is not empty.
1788         * offloadstuff.c: New file.
1790 2014-11-13  Nick Clifton  <nickc@redhat.com>
1792         * config/rl78/divmodhi.S: Add support for the G10 architecture.
1793         Use START_FUNC and END_FUNC macros to enable linker garbage
1794         collection.
1795         * config/rl78/divmodqi.S: Likewise.
1796         * config/rl78/divmodsi.S: Likewise.
1797         * config/rl78/mulsi3.S: Likewise.
1798         * config/rl78/lib2div.c: Remove G10 functions.
1799         * config/rl78/lib2muls.c: Likewise.
1800         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
1801         * config/rl78/vregs.h (START_FUNC): New macro.
1802         (END_FUNC): New macro.
1804 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
1806         * config/mips/mips16.S: Set .module when supported.  Update O32
1807         FP64 calling convention and use for FPXX when possible.  Add FPXX
1808         calling convention fallback case.
1810 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
1812         * config.host: Handle nvptx-*-*.
1813         * shared-object.mk (as-flags-$o): Define.
1814         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
1815         -xassembler-with-cpp.
1816         * static-object.mk: Identical changes.
1817         * config/nvptx/t-nvptx: New file.
1818         * config/nvptx/crt0.s: New file.
1819         * config/nvptx/free.asm: New file.
1820         * config/nvptx/malloc.asm: New file.
1821         * config/nvptx/realloc.c: New file.
1823 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
1825         * Makefile.in (libgcc.map.in): New target.
1826         (libgcc.map): Use libgcc.map.in.
1827         * config/t-softfp (softfp_compat): New variable to be set by
1828         users.
1829         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
1830         variables.
1831         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
1832         directory.
1833         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
1834         that use compat symbols and disable all code unless [SHARED].
1835         * config/t-softfp-compat: New file.
1836         * find-symver.awk: New file.
1837         * configure.ac (--with-glibc-version): New configure option.
1838         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
1839         * configure: Regenerate.
1840         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
1841         soft-float and e500.
1843 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
1845         * config/t-hardfp (hardfp_exclusions): Document new variable for
1846         user to define.
1847         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
1848         * config/t-softfp (softfp_extras): Document new variable for user
1849         to define.
1850         (softfp_func_list): Add functions from $(softfp_extras).
1851         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
1852         * config.host (powerpc*-*-linux*): For e500v1, use
1853         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
1854         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
1855         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
1857 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
1859         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
1860         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
1861         memory read accesses are ok.
1863 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
1865         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
1866         * configure: Regenerate.
1867         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
1868         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
1869         of soft-fp for 32-bit classic hard float.  Do not use
1870         t-softfp-excl for soft float.
1872 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
1874         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
1875         configurations.
1876         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
1877         Remove variables.
1879 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
1881         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
1882         introduced with 2014-10-21 trunk r216525.
1884 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
1885             Vidya Praveen  <vidya.praveen@atmel.com>
1886             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
1887             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
1888             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
1890         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
1891         order.
1893         Updated library functions for AVRTINY arch.
1894         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
1895         Replaced occurrences of r0/r1 with tmp/zero reg macros.
1896         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
1897         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
1898         wsubi/wadi macors.
1899         (__mulsi3_helper): Update stack, preserve callee saved regs and
1900         argument from stack. Restore callee save registers.
1901         (__mulpsi3): Likewise.
1902         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
1903         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
1904         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
1905         AVRTINY.
1906         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
1907         (__do_copy_data): Added new definition for AVRTINY.
1908         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
1909         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
1910         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
1911         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
1912         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
1913         macors.
1914         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
1915         AVRTINY.
1917         Fix broken long multiplication on tiny arch.
1919 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
1921         * soft-fp/double.h: Update from glibc.
1922         * soft-fp/eqdf2.c: Likewise.
1923         * soft-fp/eqsf2.c: Likewise.
1924         * soft-fp/eqtf2.c: Likewise.
1925         * soft-fp/extenddftf2.c: Likewise.
1926         * soft-fp/extended.h: Likewise.
1927         * soft-fp/extendsfdf2.c: Likewise.
1928         * soft-fp/extendsftf2.c: Likewise.
1929         * soft-fp/extendxftf2.c: Likewise.
1930         * soft-fp/gedf2.c: Likewise.
1931         * soft-fp/gesf2.c: Likewise.
1932         * soft-fp/getf2.c: Likewise.
1933         * soft-fp/ledf2.c: Likewise.
1934         * soft-fp/lesf2.c: Likewise.
1935         * soft-fp/letf2.c: Likewise.
1936         * soft-fp/op-1.h: Likewise.
1937         * soft-fp/op-2.h: Likewise.
1938         * soft-fp/op-4.h: Likewise.
1939         * soft-fp/op-8.h: Likewise.
1940         * soft-fp/op-common.h: Likewise.
1941         * soft-fp/quad.h: Likewise.
1942         * soft-fp/single.h: Likewise.
1943         * soft-fp/soft-fp.h: Likewise.
1944         * soft-fp/unorddf2.c: Likewise.
1945         * soft-fp/unordsf2.c: Likewise.
1946         * soft-fp/unordtf2.c: Likewise.
1947         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
1948         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
1949         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
1950         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
1951         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
1952         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
1953         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
1954         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
1955         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
1956         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
1958 2014-10-08  Rong Xu  <xur@google.com>
1960         * libgcov-util.c (read_gcda_file): Fix format.
1961         (find_match_gcov_info): Ditto.
1962         (calculate_2_entries): New.
1963         (compute_one_gcov): Ditto.
1964         (gcov_info_count_all_cold): Ditto.
1965         (gcov_info_count_all_zero): Ditto.
1966         (extract_file_basename): Ditto.
1967         (get_file_basename): Ditto.
1968         (set_flag): Ditto.
1969         (matched_gcov_info): Ditto.
1970         (calculate_overlap): Ditto.
1971         (gcov_profile_overlap): Ditto.
1972         * libgcov-driver.c (compute_summary): Make
1973         it avavilable for external calls.
1975 2014-10-06  Rong Xu  <xur@google.com>
1977         * Makefile.in: Ditto.
1978         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
1979         (gcov_sort_icall_topn_counter): Ditto.
1980         (gcov_sort_topn_counter_arrays): Ditto.
1981         (dump_one_gcov): Sort indirect_call topn counters.
1982         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
1983         function.
1984         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
1985         utility function.
1986         (__gcov_indirect_call_topn_profiler): New profiler function.
1987         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
1988         * libgcov.h: New decls.
1990 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
1992         * config.host: Remove support for score-*.
1994 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
1996         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1997         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
1998         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
1999         __LIBGCC_XF_MANT_DIG__.
2000         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
2001         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
2002         __LIBGCC_TF_MANT_DIG__.
2003         * libgcc2.c (NOTRUNC): Define in terms of
2004         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
2005         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2007 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
2009         PR target/63312
2010         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
2011         New macros.
2013 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
2015         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
2016         override USE_PT_GNU_EH_FRAME.
2017         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
2018         check USE_EH_FRAME_REGISTRY_ALWAYS against
2019         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
2020         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
2021         variable for substituted force_explicit_eh_registry.
2022         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
2023         * configure.ac (explicit-exception-frame-registration):
2024         New AC_ARG_ENABLE.
2025         * configure: Regenerate.
2027 2014-09-19  Olivier Hainque  <hainque@adacore.com>
2029         * config.host (powerpc-wrs-vxworksmils): New configuration,
2030         same as vxworksae.
2032 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
2034         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
2036 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
2038         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
2039         bits not set bits as indicating trapping exceptions.
2041 2014-09-17  Nathan sidwell  <nathan@acm.org>
2043         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
2044         (LIBGCOV_DRIVER): ... here.
2045         * libgcov-driver.c (gcov_master): New.
2046         (gcov_exit): Remove from master chain.
2047         (__gcov_init): Add to master chain if version compatible.  Don't
2048         clear the version.
2049         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
2050         (gcov_reset_int): Clear master chain, if compatible.
2051         (gcov_dump_int): New internal interface.  Dump master chain, if
2052         compatible.
2053         (gcov_dump): Alias for gcov_dump_int.
2054         * libgcov.h (struct gcov_root): Add next and prev fields.
2055         (struct gcov_master): New struct.
2056         (__gcov_master): New.
2057         (gcov_dump_int): Declare.
2059 2014-09-17  Olivier Hainque  <hainque@adacore.com>
2061         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
2062         and crtbegin.o + crtend.o to extra_parts.
2064 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
2066         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
2067         __LIBGCC_HAS_SF_MODE__.
2068         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2069         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2070         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2071         * config/libbid/bid_gcc_intrinsics.h
2072         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2073         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2074         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2075         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2076         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
2077         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2079 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
2081         PR target/63223
2082         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
2083         and R24 as needed.  Make work for all devices and .text locations.
2084         (__do_global_ctors, __do_global_dtors): Use word addresses.
2085         (__tablejump__, __tablejump_elpm__): Remove functions.
2086         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
2087         Add _tablejump2.
2088         (XICALL, XIJMP): New macros.
2090 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2091         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
2093         * config.host (aarch64*): Include crtfastmath.o and
2094         t-crtfm.
2095         * config/aarch64/crtfastmath.c: New file.
2097 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
2099         * config.host: Remove picochip support.
2100         * config/picochip/adddi3.S: Remove.
2101         * config/picochip/ashlsi3.S: Remove.
2102         * config/picochip/ashlsi3.c: Remove.
2103         * config/picochip/ashrsi3.S: Remove.
2104         * config/picochip/ashrsi3.c: Remove.
2105         * config/picochip/clzsi2.S: Remove.
2106         * config/picochip/cmpsi2.S: Remove.
2107         * config/picochip/divmod15.S: Remove.
2108         * config/picochip/divmodhi4.S: Remove.
2109         * config/picochip/divmodsi4.S: Remove.
2110         * config/picochip/lib1funcs.S: Remove.
2111         * config/picochip/longjmp.S: Remove.
2112         * config/picochip/lshrsi3.S: Remove.
2113         * config/picochip/lshrsi3.c: Remove.
2114         * config/picochip/parityhi2.S: Remove.
2115         * config/picochip/popcounthi2.S: Remove.
2116         * config/picochip/setjmp.S: Remove.
2117         * config/picochip/subdi3.S: Remove.
2118         * config/picochip/t-picochip: Remove.
2119         * config/picochip/ucmpsi2.S: Remove.
2120         * config/picochip/udivmodhi4.S: Remove.
2121         * config/picochip/udivmodsi4.S: Remove.
2123 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
2125         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
2126         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
2127         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
2128         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
2129         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
2130         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
2131         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
2132         defined and LIBGCC2_HAS_DF_MODE is defined.
2133         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
2134         defined and LIBGCC2_HAS_XF_MODE is defined.
2135         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
2136         defined and LIBGCC2_HAS_TF_MODE is defined.
2138 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
2140         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
2141         and ROUND_TOWARDS_ZERO conditionals.
2143 2014-09-07  Nathan sidwell  <nathan@acm.org>
2145         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
2146         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
2148 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
2150         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
2151         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2152         uses to __LIBGCC_STACK_POINTER_REGNUM__.
2153         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2154         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2155         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2156         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2157         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
2158         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
2159         (DWARF_FRAME_REGISTERS): Change all uses to
2160         __LIBGCC_DWARF_FRAME_REGISTERS__.
2161         (EH_RETURN_STACKADJ_RTX): Change all uses to
2162         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2163         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
2164         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
2165         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
2166         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
2167         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
2168         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
2169         to __LIBGCC_EH_FRAME_SECTION_NAME__.
2170         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
2171         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
2172         __LIBGCC_STACK_POINTER_REGNUM__.
2173         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2174         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2175         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2176         to __LIBGCC_STACK_POINTER_REGNUM__.
2177         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2178         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2179         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2180         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2181         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2182         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2183         (STACK_POINTER_REGNUM): Change all uses to
2184         __LIBGCC_STACK_POINTER_REGNUM__.
2185         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
2186         use to __LIBGCC_STACK_POINTER_REGNUM__.
2187         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2188         uses to __LIBGCC_STACK_POINTER_REGNUM__.
2189         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
2190         to __LIBGCC_DWARF_FRAME_REGISTERS__.
2191         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
2192         to __LIBGCC_DWARF_FRAME_REGISTERS__.
2193         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2194         to __LIBGCC_STACK_POINTER_REGNUM__.
2195         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
2196         Remove conditional definition.
2197         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
2198         __LIBGCC_TEXT_SECTION_ASM_OP__.
2199         (EH_FRAME_SECTION_NAME): Change all uses to
2200         __LIBGCC_EH_FRAME_SECTION_NAME__.
2201         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
2202         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
2203         (CTORS_SECTION_ASM_OP): Change all uses to
2204         __LIBGCC_CTORS_SECTION_ASM_OP__.
2205         (DTORS_SECTION_ASM_OP): Change all uses to
2206         __LIBGCC_DTORS_SECTION_ASM_OP__.
2207         (JCR_SECTION_NAME): Change all uses to
2208         __LIBGCC_JCR_SECTION_NAME__.
2209         (INIT_SECTION_ASM_OP): Change all uses to
2210         __LIBGCC_INIT_SECTION_ASM_OP__.
2211         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2212         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2213         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
2214         __LIBGCC_STACK_GROWS_DOWNWARD__.
2215         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
2216         __LIBGCC_INIT_SECTION_ASM_OP__.
2217         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2218         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2219         (EH_FRAME_SECTION_NAME): Change all uses to
2220         __LIBGCC_EH_FRAME_SECTION_NAME__.
2221         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
2222         definitions.  Change all uses to
2223         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
2224         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
2225         __LIBGCC_STACK_GROWS_DOWNWARD__.
2226         (DWARF_FRAME_REGISTERS): Change all uses to
2227         __LIBGCC_DWARF_FRAME_REGISTERS__.
2228         (EH_RETURN_STACKADJ_RTX): Change all uses to
2229         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2230         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
2231         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
2232         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
2233         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
2234         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
2236 2014-09-02  Nathan sidwell  <nathan@acm.org>
2238         * libgcov-interface.c (STRONG_ALIAS): New.
2239         (__gcov_flush): Call __gcov_reset_int.
2240         (__gcov_reset): Strong alias for ...
2241         (__gcov_reset_ing): ... this renamed hidden version.
2242         * libgcov.h (__gcov_reset_int): New declaration.
2244 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
2246         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
2247         call from here...
2248         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
2249         (__dso_handle): Define on Cygwin.
2250         * config/i386/t-cygming (crtbeginS.o): New rule.
2251         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
2253         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
2254         declaration syntax.
2256 2014-08-13  Steve Ellcey  <sellcey@mips.com>
2258         * crtstuff.c: Undef caddr_t.
2260 2014-08-12  Steve Ellcey  <sellcey@mips.com>
2262         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
2264 2014-08-07  Nathan Sidwell  <nathan@acm.org>
2266         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
2267         (LIBGCOV_DRIVER): ... to here.
2268         * libgcov.h (gcov_do_dump): New #define.
2269         (struct gcov_root): New.
2270         (__gcov_root): New declaration.
2271         (__gcov_dump_one): Declare.
2272         * libgcov-driver.c (gcov_list, gcov_dump_complete,
2273         run_accounted): Delete.
2274         (gcov_compute_histogram): Add LIST argument, adjust.
2275         (compute_summary): Adjust gcov_compute_histogram call.
2276         (gcov_do_dump): Not hidden, static in libgcov.
2277         (gcov_clear): Move  to interface.c.
2278         (__gcov_dump_one): New, broken out of ...
2279         (gcov_exit): ... here.  Make static.
2280         (__gcov_root): New.
2281         (__gcov_init): Adjust.
2282         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
2283         declarations.
2284         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
2285         (gcov_clear): Moved from driver.c.   Add LIST argument.
2286         (__gcov_reset): Adjust for changed interfaces.
2287         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
2289 2014-08-04  Rohit  <rohitarulraj@freescale.com>
2291         PR target/60102
2292         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
2293         based on change in SPE high register numbers and 3 HTM registers.
2295 2014-08-01  Nathan Sidwell  <nathan@acm.org>
2297         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
2298         LIBGCOV_INTERFACE): Reformat.
2299         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
2300         IN_GCOV_TOOL.
2301         * libgcov-interface.c: Reformat some comments.
2302         (__gcov_flush_mx): Add declaration.  Tidy up definition.
2304 2014-07-31  Alan Modra  <amodra@gmail.com>
2305             Peter Bergner  <bergner@vnet.ibm.com>
2307         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
2308         (pack_ldouble): New function.
2309         (__gcc_qadd): Use it.
2310         (__gcc_qmul): Likewise.
2311         (__gcc_qdiv): Likewise.
2312         (__gcc_qneg): Likewise.
2313         (__gcc_stoq): Likewise.
2314         (__gcc_dtoq): Likewise.
2316 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
2318         * config/s390/tpf-unwind.h: Include <stdbool.h>.
2319         (__tpf_eh_return): Add original return address as second parameter.
2320         Handle cases where unwinder routines were called directly, instead
2321         of from within the C++ library.
2323 2014-07-29  Nathan Sidwell  <nathan@acm.org>
2325         * libgcov.h: Move renaming of entry points to lib gcov specific
2326         portion.
2327         (gcov_do_dump): New rename.
2328         (gcov_rewrite): Remove inline, make HIDDEN.
2329         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
2330         (gcov_exit_compute_summary): Rename to ...
2331         (compute_summary): ... here.  Add LIST argument.
2332         (gcov_exit_merge_gcda): Rename to ...
2333         (merge_one_data): ... here.
2334         (gcov_exit_write_gcda): Rename to ...
2335         (write_one_data): ... here.
2336         (gcov_exit_merge_summary): Rename to ...
2337         (merge_summary): Add RUN_COUNTED argument.
2338         (gcov_exit_dump_gcov): Rename to ...
2339         (dump_one_gcov): Add RUN_COUNTED argument.
2340         (gcov_do_dump): New function, broken out of ...
2341         (gcov_exit): ... here.  Call it.
2343 2014-07-27  Anthony Green  <green@moxielogic.com>
2345         * config.host: Add moxiebox configuration suppport.
2347 2014-07-27  Nathan Sidwell  <nathan@acm.org>
2349         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
2350         (struct gcov_filename): ... here.  Include buffer and max length
2351         fields.
2352         (gcov_max_filename): Remove.
2353         (gi_filename): Remove.
2354         (gcov_exit_compute_summary): Compute max filename here.
2355         (gcov_exit_merge_gcda): Add filename parm, adjust.
2356         (gcov_exit_merge_summary): Likewise.
2357         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
2358         (gcov_exit): Likewise.
2359         (__gcov_init): Don't calculate max length here.
2360         * libgcov_util.c (max_filename_len): Remove.
2361         (read_gcda_file): Don't calculate max length here.
2362         (gcov_read_profile_dir): Don't propagate here.
2363         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
2364         struct gcov_filename changes.
2365         (gcov_exit_open_gcda_file): Likewise.
2367 2014-07-25  Nathan Sidwell  <nathan@acm.org>
2369         * libgcov-driver.c (set_gcov_dump_complete,
2370         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
2371         functions polluting user's namespace.
2372         (gcov_exit): Set variable directly.
2373         (gcov_clear): Reset variable directly.
2374         * libgcov-interface.c (get_gcov_dymp_complete,
2375         reset_gov_dump_complete): Remove declarations.
2376         (__gcov_reset, __gcov_dump): Don't call them.
2378 2014-07-24  DJ Delorie  <dj@redhat.com>
2380         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
2381         (__gcc_deregister_frame): Move logic to detect deregister function
2382         to ...
2383         (__gcc_register_frame): here, so it's consistent with the register
2384         logic.
2386 2014-07-23  Nathan Sidwell  <nathan@acm.org>
2388         * libgcov-driver.c (set_gcov_list): Remove.
2389         (gcov_list): Make non-static in GCOV_TOOL.
2390         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
2392 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
2394         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
2395         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
2396         Don't use SYNC_LOCK_RELEASE for int type.
2398 2014-07-14  Richard Biener  <rguenther@suse.de>
2400         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
2402 2014-07-11  Rong Xu  <xur@google.com>
2404         * libgcov-util.c (gcov_max_filename): Fix declartion.
2406 2014-07-10  Rong Xu  <xur@google.com>
2408         Add gcov-tool: an offline gcda profile processing tool
2409         Support.
2410         * libgcov-driver.c (gcov_max_filename): Make available
2411         to gcov-tool.
2412         * libgcov-merge.c (__gcov_merge_add): Replace
2413         gcov_read_counter() with a Macro.
2414         (__gcov_merge_ior): Ditto.
2415         (__gcov_merge_time_profile): Ditto.
2416         (__gcov_merge_single): Ditto.
2417         (__gcov_merge_delta): Ditto.
2418         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
2419         in the utility functions.
2420         (set_fn_ctrs): Utility function for reading gcda files to in-memory
2421         gcov_list object link lists.
2422         (tag_function): Ditto.
2423         (tag_blocks): Ditto.
2424         (tag_arcs): Ditto.
2425         (tag_lines): Ditto.
2426         (tag_counters): Ditto.
2427         (tag_summary): Ditto.
2428         (read_gcda_finalize): Ditto.
2429         (read_gcda_file): Ditto.
2430         (ftw_read_file): Ditto.
2431         (read_profile_dir_init): Ditto.
2432         (gcov_read_profile_dir): Ditto.
2433         (gcov_read_counter_mem): Ditto.
2434         (gcov_get_merge_weight): Ditto.
2435         (merge_wrapper): A wrapper function that calls merging handler.
2436         (gcov_merge): Merge two gcov_info objects with weights.
2437         (find_match_gcov_info): Find the matched gcov_info in the list.
2438         (gcov_profile_merge): Merge two gcov_info object lists.
2439         (__gcov_add_counter_op): Process edge profile counter values.
2440         (__gcov_ior_counter_op): Process IOR profile counter values.
2441         (__gcov_delta_counter_op): Process delta profile counter values.
2442         (__gcov_single_counter_op): Process single  profile counter values.
2443         (fp_scale): Callback function for float-point scaling.
2444         (int_scale): Callback function for integer fraction scaling.
2445         (gcov_profile_scale): Scaling profile counters.
2446         (gcov_profile_normalize): Normalize profile counters.
2447         * libgcov.h: Add headers and functions for gcov-tool use.
2448         (gcov_get_counter): New.
2449         (gcov_get_counter_target): Ditto.
2450         (struct gcov_info): Make the functions field mutable in gcov-tool
2451         compilation.
2453 2014-06-23  Kai Tietz  <ktietz@redhat.com>
2455         PR libgcc/61585
2456         * unwind-seh.c (_Unwind_GetGR): Check for proper
2457         index range.
2458         (_Unwind_SetGR): Likewise.
2460 2014-05-22  Nick Clifton  <nickc@redhat.com>
2462         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
2463         -mhwmult=none.
2465 2014-05-22  Teresa Johnson  <tejohnson@google.com>
2467         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
2468         include.
2470 2014-05-20  John Marino  <gnugcc@marino.st>
2472         * config.host (*-*-dragonfly*): New target.
2473         * crtstuff.c: Make dl_iterate_support generic on *bsd.
2474         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
2475         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
2476         * config/i386/dragonfly-unwind.h: New.
2478 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
2480         PR libgcc/60166
2481         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
2482         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
2484 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2486         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
2487         implementation.
2489 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
2491         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
2493 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2495         PR libgcc/61097
2496         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
2497         if --enable-shared.
2499 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2501         Work around for current cygwin32 build problems.
2502         * config/i386/cygming-crtbegin.c (__register_frame_info,
2503         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
2504         functions only for 64-bit systems.
2506 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2508         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
2509         (sigill_caught, sigill_hdlr): Remove.
2511 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2513         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
2514         check.
2515         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2516         Solaris 9 single-threaded support.
2517         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
2518         Solaris 9 single-threaded support.  Add call_user_handler code
2519         sequences.
2520         (sparc_is_sighandler): Likewise.
2522 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2524         * config.host: Append t-floattodi to tmake_file depending on
2525         host_address.
2527 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
2529         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
2531 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
2533         PR libgcc/60472
2534         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2535         variable to avoid "array subscript is above array bounds" warnings.
2536         Use __builtin_expect when checking *jcr_list for NULL.
2538 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2540         PR libgcc/59339
2541         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
2542         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
2543         vtv_*.o to extra_parts if enable_vtable_verify.
2545 2014-03-06  Nick Clifton  <nickc@redhat.com>
2547         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
2548         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
2550 2014-02-28  Joey Ye  <joey.ye@arm.com>
2552         PR libgcc/60166
2553         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
2554         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
2555         Set to zero.
2557 2014-02-24  Walter Lee  <walt@tilera.com>
2559         * config.host: Support "tilegx*" and "tilepro*" triplets.
2560         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
2561         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
2563 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
2564             Chung-Lin Tang  <cltang@codesourcery.com>
2566         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
2567         * config/nios2/crti.S: Remove .file directive.
2568         * config/nios2/crtn.S: Likewise.
2570 2014-02-18  Kai Tietz  <ktietz@redhat.com>
2571         Jonathan Schleifer  <js@webkeks.org>
2573         PR objc/56870
2574         * unwind-seh.c (_GCC_specific_handler): Pass proper
2575         value to unwind-handler.
2577 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
2579         * soft-fp/adddf3.c: Update from glibc.
2580         * soft-fp/addsf3.c: Likewise.
2581         * soft-fp/addtf3.c: Likewise.
2582         * soft-fp/divdf3.c: Likewise.
2583         * soft-fp/divsf3.c: Likewise.
2584         * soft-fp/divtf3.c: Likewise.
2585         * soft-fp/double.h: Likewise.
2586         * soft-fp/eqdf2.c: Likewise.
2587         * soft-fp/eqsf2.c: Likewise.
2588         * soft-fp/eqtf2.c: Likewise.
2589         * soft-fp/extenddftf2.c: Likewise.
2590         * soft-fp/extended.h: Likewise.
2591         * soft-fp/extendsfdf2.c: Likewise.
2592         * soft-fp/extendsftf2.c: Likewise.
2593         * soft-fp/extendxftf2.c: Likewise.
2594         * soft-fp/fixdfdi.c: Likewise.
2595         * soft-fp/fixdfsi.c: Likewise.
2596         * soft-fp/fixdfti.c: Likewise.
2597         * soft-fp/fixsfdi.c: Likewise.
2598         * soft-fp/fixsfsi.c: Likewise.
2599         * soft-fp/fixsfti.c: Likewise.
2600         * soft-fp/fixtfdi.c: Likewise.
2601         * soft-fp/fixtfsi.c: Likewise.
2602         * soft-fp/fixtfti.c: Likewise.
2603         * soft-fp/fixunsdfdi.c: Likewise.
2604         * soft-fp/fixunsdfsi.c: Likewise.
2605         * soft-fp/fixunsdfti.c: Likewise.
2606         * soft-fp/fixunssfdi.c: Likewise.
2607         * soft-fp/fixunssfsi.c: Likewise.
2608         * soft-fp/fixunssfti.c: Likewise.
2609         * soft-fp/fixunstfdi.c: Likewise.
2610         * soft-fp/fixunstfsi.c: Likewise.
2611         * soft-fp/fixunstfti.c: Likewise.
2612         * soft-fp/floatdidf.c: Likewise.
2613         * soft-fp/floatdisf.c: Likewise.
2614         * soft-fp/floatditf.c: Likewise.
2615         * soft-fp/floatsidf.c: Likewise.
2616         * soft-fp/floatsisf.c: Likewise.
2617         * soft-fp/floatsitf.c: Likewise.
2618         * soft-fp/floattidf.c: Likewise.
2619         * soft-fp/floattisf.c: Likewise.
2620         * soft-fp/floattitf.c: Likewise.
2621         * soft-fp/floatundidf.c: Likewise.
2622         * soft-fp/floatundisf.c: Likewise.
2623         * soft-fp/floatunditf.c: Likewise.
2624         * soft-fp/floatunsidf.c: Likewise.
2625         * soft-fp/floatunsisf.c: Likewise.
2626         * soft-fp/floatunsitf.c: Likewise.
2627         * soft-fp/floatuntidf.c: Likewise.
2628         * soft-fp/floatuntisf.c: Likewise.
2629         * soft-fp/floatuntitf.c: Likewise.
2630         * soft-fp/gedf2.c: Likewise.
2631         * soft-fp/gesf2.c: Likewise.
2632         * soft-fp/getf2.c: Likewise.
2633         * soft-fp/ledf2.c: Likewise.
2634         * soft-fp/lesf2.c: Likewise.
2635         * soft-fp/letf2.c: Likewise.
2636         * soft-fp/muldf3.c: Likewise.
2637         * soft-fp/mulsf3.c: Likewise.
2638         * soft-fp/multf3.c: Likewise.
2639         * soft-fp/negdf2.c: Likewise.
2640         * soft-fp/negsf2.c: Likewise.
2641         * soft-fp/negtf2.c: Likewise.
2642         * soft-fp/op-1.h: Likewise.
2643         * soft-fp/op-2.h: Likewise.
2644         * soft-fp/op-4.h: Likewise.
2645         * soft-fp/op-8.h: Likewise.
2646         * soft-fp/op-common.h: Likewise.
2647         * soft-fp/quad.h: Likewise.
2648         * soft-fp/single.h: Likewise.
2649         * soft-fp/soft-fp.h: Likewise.
2650         * soft-fp/subdf3.c: Likewise.
2651         * soft-fp/subsf3.c: Likewise.
2652         * soft-fp/subtf3.c: Likewise.
2653         * soft-fp/truncdfsf2.c: Likewise.
2654         * soft-fp/trunctfdf2.c: Likewise.
2655         * soft-fp/trunctfsf2.c: Likewise.
2656         * soft-fp/trunctfxf2.c: Likewise.
2657         * soft-fp/unorddf2.c: Likewise.
2658         * soft-fp/unordsf2.c: Likewise.
2659         * soft-fp/unordtf2.c: Likewise.
2660         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
2661         macro.
2662         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2663         Likewise.
2664         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2665         Likewise.
2666         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2667         Likewise.
2668         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2669         Likewise.
2670         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2671         Likewise.
2672         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2673         Likewise.
2674         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2675         Likewise.
2676         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2677         Likewise.
2678         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2679         Likewise.
2680         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2681         Likewise.
2682         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2683         Likewise.
2684         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2685         Likewise.
2686         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
2687         Likewise.
2688         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
2689         Likewise.
2690         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2691         Likewise.
2693 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2695         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
2696         cannot be represented.
2697         * config/s390/32/_fixsfdi.c: Likewise.
2698         * config/s390/32/_fixtfdi.c: Likewise.
2699         * config/s390/32/_fixunsdfdi.c: Likewise.
2700         * config/s390/32/_fixunssfdi.c: Likewise.
2701         * config/s390/32/_fixunstfdi.c: Likewise.
2703 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
2705         * configure.ac (libgcc_cv_mips_hard_float): New.
2706         * configure: Regenerate.
2707         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
2708         t-softfp-sfdf for hard-float targets.
2709         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
2710         (softfp_float_modes, softfp_int_modes, softfp_extensions)
2711         (softfp_truncations, softfp_exclude_libgcc2): New.
2712         * config/t-hardfp: New file.
2713         * config/t-hardfp-sfdf: Likewise.
2714         * config/hardfp.c: Likewise.
2716 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2718         * config.host: Include t-floattodi also for s390x.
2719         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
2720         * config/s390/32/_fixsfdi.c: Likewise.
2721         * config/s390/32/_fixtfdi.c: Likewise.
2722         * config/s390/32/_fixunsdfdi.c: Likewise.
2723         * config/s390/32/_fixunssfdi.c: Likewise.
2724         * config/s390/32/_fixunstfdi.c: Likewise.
2726 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2728         PR target/59788
2729         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
2730         (install-libgcc-unwind-map-forbuild): New target.
2731         (all): Depend on install-libgcc-unwind-map-forbuild.
2732         (install-libgcc-unwind-map): New target.
2733         (install): Depend on install-libgcc-unwind-map.
2735 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
2737         * config/nios2/crti.S (_init): Initialize GOT pointer from
2738         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
2740 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
2742         * configure.ac: Check __mips64 when setting host_address.
2743         * configure: Regenerate.
2744         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
2745         mips/t-mips64 and t-softfp.
2746         (mips*-*-linux*): Don't add mips/t-tpbit.
2747         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
2748         (DPBIT, DPBIT_CFLAGS): Delete.
2749         * config/mips/sfp-machine.h: New file.
2750         * config/mips/t-mips64: Likewise.
2751         * config/mips/t-softfp-tf: Likewise.
2752         * config/mips/t-tpbit: Delete.
2754 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2756         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
2757         as long long.
2759 2014-01-25  Walter Lee  <walt@tilera.com>
2761         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
2762         config.h or system.h.
2763         (bool) Define.
2765 2014-01-25  Walter Lee  <walt@tilera.com>
2767         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
2768         (post_atomic_barrier): Ditto.
2769         (__fetch_and_do): New macro.
2770         (__atomic_fetch_and_do): Use __fetch_and_do.
2771         (__sync_fetch_and_do): New macro.
2772         (__sync_fetch_and_add_4): New function.
2773         (__sync_fetch_and_sub_4): New function.
2774         (__sync_fetch_and_or_4): New function.
2775         (__sync_fetch_and_and_4): New function.
2776         (__sync_fetch_and_xor_4): New function.
2777         (__sync_fetch_and_nand_4): New function.
2778         (__sync_fetch_and_add_8): New function.
2779         (__sync_fetch_and_sub_8): New function.
2780         (__sync_fetch_and_or_8): New function.
2781         (__sync_fetch_and_and_8): New function.
2782         (__sync_fetch_and_xor_8): New function.
2783         (__sync_fetch_and_nand_8): New function.
2784         (__do_and_fetch): New macro.
2785         (__atomic_do_and_fetch): Use __do_and_fetch.
2786         (__sync_do_and_fetch): New macro.
2787         (__sync_add_and_fetch_4): New function.
2788         (__sync_sub_and_fetch_4): New function.
2789         (__sync_or_and_fetch_4): New function.
2790         (__sync_and_and_fetch_4): New function.
2791         (__sync_xor_and_fetch_4): New function.
2792         (__sync_nand_and_fetch_4): New function.
2793         (__sync_add_and_fetch_8): New function.
2794         (__sync_sub_and_fetch_8): New function.
2795         (__sync_or_and_fetch_8): New function.
2796         (__sync_and_and_fetch_8): New function.
2797         (__sync_xor_and_fetch_8): New function.
2798         (__sync_nand_and_fetch_8): New function.
2799         (__sync_exchange_methods): New macro.
2800         (__sync_val_compare_and_swap_4): New function.
2801         (__sync_bool_compare_and_swap_4): New function.
2802         (__sync_lock_test_and_test_4): New function.
2803         (__sync_val_compare_and_swap_8): New function.
2804         (__sync_bool_compare_and_swap_8): New function.
2805         (__sync_lock_test_and_test_8): New function.
2806         (__subword_cmpxchg_body): New macro.
2807         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
2808         (__atomic_compare_exchange_2): Ditto.
2809         (__sync_subword_cmpxchg): New macro.
2810         (__sync_val_compare_and_swap_1): New function.
2811         (__sync_bool_compare_and_swap_1): New function.
2812         (__sync_val_compare_and_swap_2): New function.
2813         (__sync_bool_compare_and_swap_2): New function.
2814         (__atomic_subword): Rename to ...
2815         (__subword): ... New name.
2816         (__atomic_subword_fetch): Use __subword.
2817         (__sync_subword_fetch): New macro.
2818         (__sync_fetch_and_add_1): New function.
2819         (__sync_fetch_and_sub_1): New function.
2820         (__sync_fetch_and_or_1): New function.
2821         (__sync_fetch_and_and_1): New function.
2822         (__sync_fetch_and_xor_1): New function.
2823         (__sync_fetch_and_nand_1): New function.
2824         (__sync_fetch_and_add_2): New function.
2825         (__sync_fetch_and_sub_2): New function.
2826         (__sync_fetch_and_or_2): New function.
2827         (__sync_fetch_and_and_2): New function.
2828         (__sync_fetch_and_xor_2): New function.
2829         (__sync_fetch_and_nand_2): New function.
2830         (__sync_add_and_fetch_1): New function.
2831         (__sync_sub_and_fetch_1): New function.
2832         (__sync_or_and_fetch_1): New function.
2833         (__sync_and_and_fetch_1): New function.
2834         (__sync_xor_and_fetch_1): New function.
2835         (__sync_nand_and_fetch_1): New function.
2836         (__sync_add_and_fetch_2): New function.
2837         (__sync_sub_and_fetch_2): New function.
2838         (__sync_or_and_fetch_2): New function.
2839         (__sync_and_and_fetch_2): New function.
2840         (__sync_xor_and_fetch_2): New function.
2841         (__sync_nand_and_fetch_2): New function.
2842         (__atomic_subword_lock): Use __subword.
2843         (__sync_subword_lock): New macro.
2844         (__sync_lock_test_and_set_1): New function.
2845         (__sync_lock_test_and_set_2): New function.
2847 2014-01-25  Walter Lee  <walt@tilera.com>
2849         * config/tilepro/atomic.c (BIT_OFFSET): Define.
2850         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
2851         (__atomic_subword): Ditto.
2853 2014-01-25  Walter Lee  <walt@tilera.com>
2855         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
2856         a prefix op argument.
2857         (__atomic_nand_fetch_4): Add prefix op.
2858         (__atomic_nand_fetch_8): Ditto.
2860 2014-01-21  Baruch Siach  <barch@tkos.co.il>
2862         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
2864 2014-01-09  Rong Xu  <xur@google.com>
2866         * libgcov-driver.c (this_prg): make it local to save
2867         bss space.
2868         (gcov_exit_compute_summary): Ditto.
2869         (gcov_exit_merge_gcda): Ditto.
2870         (gcov_exit_merge_summary): Ditto.
2871         (gcov_exit_dump_gcov): Ditto.
2873 2014-01-08  Rong Xu  <xur@google.com>
2875         * libgcov-driver.c: Use libgcov.h.
2876         (buffer_fn_data): Use xmalloc instead of malloc.
2877         (gcov_exit_merge_gcda): Ditto.
2878         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
2879         * libgcov.h: New common header files for libgcov-*.h.
2880         * libgcov-interface.c: Use libgcov.h
2881         * libgcov-merge.c: Ditto.
2882         * libgcov-profiler.c: Ditto.
2883         * Makefile.in: Add dependence to libgcov.h
2885 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
2887         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
2888         case of small numerator and finite nonzero result.
2890 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
2892         Update copyright years
2894 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
2896         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
2897         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
2898         config/arc/dp-hack.h, config/arc/fp-hack.h,
2899         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
2900         config/arc/ieee-754/arc600-dsp/divdf3.S,
2901         config/arc/ieee-754/arc600-dsp/divsf3.S,
2902         config/arc/ieee-754/arc600-dsp/muldf3.S,
2903         config/arc/ieee-754/arc600-dsp/mulsf3.S,
2904         config/arc/ieee-754/arc600-mul64/divdf3.S,
2905         config/arc/ieee-754/arc600-mul64/divsf3.S,
2906         config/arc/ieee-754/arc600-mul64/muldf3.S,
2907         config/arc/ieee-754/arc600-mul64/mulsf3.S,
2908         config/arc/ieee-754/arc600/divsf3.S,
2909         config/arc/ieee-754/arc600/mulsf3.S,
2910         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
2911         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
2912         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
2913         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
2914         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
2915         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
2916         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
2917         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
2918         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
2919         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
2920         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
2921         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
2922         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
2923         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
2924         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
2925         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
2926         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
2927         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
2928         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
2929         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
2930         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
2931         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
2932         vtv_start_preinit.c: Use the standard form for the copyright notice.
2934 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
2935             Chung-Lin Tang  <cltang@codesourcery.com>
2936             Based on patches from Altera Corporation
2938         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
2939         * config/nios2/lib2-nios2.h: New file.
2940         * config/nios2/lib2-divmod-hi.c: New file.
2941         * config/nios2/linux-unwind.h: New file.
2942         * config/nios2/lib2-divmod.c: New file.
2943         * config/nios2/linux-atomic.c: New file.
2944         * config/nios2/t-nios2: New file.
2945         * config/nios2/crti.asm: New file.
2946         * config/nios2/t-linux: New file.
2947         * config/nios2/lib2-divtable.c: New file.
2948         * config/nios2/lib2-mul.c: New file.
2949         * config/nios2/tramp.c: New file.
2950         * config/nios2/crtn.asm: New file.
2952 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
2954         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
2955         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
2956         from cpuid.h to check vendor signatures.
2958 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
2960         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
2961         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
2962         (get_amd_cpu): Likewise.
2964 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
2966         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
2967         Haswell.
2969 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
2970             H.J. Lu  <hongjiu.lu@intel.com>
2972         PR target/59422
2973         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
2974         and AMD_JAGUAR.
2975         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
2976         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
2977         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
2978         FEATURE_XOP and FEATURE_FMA.
2979         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
2980         AMDFAM15H_BDVER3.
2981         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
2982         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
2983         FEATURE_FMA4 and FEATURE_XOP.
2985 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
2987         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
2988         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
2989         (get_intel_cpu): Updated.
2991 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
2993         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
2995 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
2997         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
2998         instructions when __SSE_MATH__ is defined.
3000 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
3002         * config.host (microblaze-*-rtems*): New.
3004 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
3006         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
3007         architectures that do not have hardware divide instruction.
3008         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
3010 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
3012         * longlong.h: Delete (moved to include/).
3014 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3016         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
3017         of normal number and qNaN to not raise an inexact exception.
3019 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
3021         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
3023 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
3025         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
3026         for correct opcodes on BE.
3028 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
3030         * soft-fp/op-4.h: Update from glibc.
3032 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
3034         * libgcc2.c (__udivmoddi4): Define new implementation when
3035         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
3036         divide instructions.
3038 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
3040         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
3042 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3044         * config/t-softfp (soft-fp-objects-base): New variable.
3045         (soft-fp-objects): Use it.
3047 2013-11-23  David Edelson  <dje.gcc@gmail.com>
3048             Andrew Dixie  <andrewd@gentrack.com>
3050         PR target/33704
3051         * config/rs6000/aixinitfini.c: New file.
3052         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
3053         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
3054         symbols.
3056 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
3058         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
3060 2013-11-18  Jan Hubicka  <jh@suse.cz>
3062         * libgcov-driver.c (run_accounted): Make global level static.
3063         (gcov_exit_merge_summary): Silence warning; do not clear
3064         run_accounted here.
3065         (gcov_exit): Clear it here.
3067         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
3068         run_accounted.
3070         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
3071         (all_prg, crc32): Remove static vars.
3072         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
3073         all_prg.
3074         (gcov_exit_merge_gcda): Add crc32 parameter.
3075         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
3076         do not account run if it was already accounted.
3077         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
3078         (gcov_exit): Initialize all_prg; update.
3080 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
3082         * configure: Regenerate.
3084 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3085             Alan Modra  <amodra@gmail.com>
3087         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
3088         (frob_update_context): Use it.
3090 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3091             Alan Modra  <amodra@gmail.com>
3093         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
3094         (trampoline_initial): Provide ELFv2 variant.
3095         (__trampoline_setup): Likewise.
3097         * config/rs6000/linux-unwind.h (frob_update_context): Do not
3098         check for AIX indirect function call sequence if _CALL_ELF == 2.
3100 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3101             Alan Modra  <amodra@gmail.com>
3103         * config/rs6000/linux-unwind.h (get_regs): Do not support
3104         old kernel versions if _CALL_ELF == 2.
3105         (frob_update_context): Do not support PLT stub variants only
3106         generated by old linkers if _CALL_ELF == 2.
3108 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3109             Alan Modra  <amodra@gmail.com>
3111         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
3112         location of CR save area for 64-bit little-endian systems.
3114 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
3116         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
3117         in tmake_file.
3118         * config/arm/t-vxworks: Delete.
3120 2013-11-10  Kai Tietz  <ktietz@redhat.com>
3122         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
3123         Increment load-count on use of LIBGCC_SONAME DLL.
3124         (hmod_libgcc): New static variable to hold handle of
3125         LIBGCC_SONAME DLL.
3126         (__gcc_deregister_frame): Decrement load-count of
3127         LIBGCC_SONAME DLL.
3129 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3131         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
3132         availability.
3133         * configure: Regenerate
3135 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
3137         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
3138         FP_EX_DENORM.  Store result to volatile location after SSE division
3139         to close interrupt window.  Remove unneeded fwait after x87
3140         division since interrupt window will be closed by emitted fstp.
3141         Rewrite FP_EX_INEXACT handling.
3143 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
3145         * soft-fp/README: Update.
3146         * soft-fp/adddf3.c: Update from glibc.
3147         * soft-fp/addsf3.c: Likewise.
3148         * soft-fp/addtf3.c: Likewise.
3149         * soft-fp/divdf3.c: Likewise.
3150         * soft-fp/divsf3.c: Likewise.
3151         * soft-fp/divtf3.c: Likewise.
3152         * soft-fp/double.h: Likewise.
3153         * soft-fp/eqdf2.c: Likewise.
3154         * soft-fp/eqsf2.c: Likewise.
3155         * soft-fp/eqtf2.c: Likewise.
3156         * soft-fp/extenddftf2.c: Likewise.
3157         * soft-fp/extended.h: Likewise.
3158         * soft-fp/extendsfdf2.c: Likewise.
3159         * soft-fp/extendsftf2.c: Likewise.
3160         * soft-fp/extendxftf2.c: Likewise.
3161         * soft-fp/fixdfdi.c: Likewise.
3162         * soft-fp/fixdfsi.c: Likewise.
3163         * soft-fp/fixdfti.c: Likewise.
3164         * soft-fp/fixsfdi.c: Likewise.
3165         * soft-fp/fixsfsi.c: Likewise.
3166         * soft-fp/fixsfti.c: Likewise.
3167         * soft-fp/fixtfdi.c: Likewise.
3168         * soft-fp/fixtfsi.c: Likewise.
3169         * soft-fp/fixtfti.c: Likewise.
3170         * soft-fp/fixunsdfdi.c: Likewise.
3171         * soft-fp/fixunsdfsi.c: Likewise.
3172         * soft-fp/fixunsdfti.c: Likewise.
3173         * soft-fp/fixunssfdi.c: Likewise.
3174         * soft-fp/fixunssfsi.c: Likewise.
3175         * soft-fp/fixunssfti.c: Likewise.
3176         * soft-fp/fixunstfdi.c: Likewise.
3177         * soft-fp/fixunstfsi.c: Likewise.
3178         * soft-fp/fixunstfti.c: Likewise.
3179         * soft-fp/floatdidf.c: Likewise.
3180         * soft-fp/floatdisf.c: Likewise.
3181         * soft-fp/floatditf.c: Likewise.
3182         * soft-fp/floatsidf.c: Likewise.
3183         * soft-fp/floatsisf.c: Likewise.
3184         * soft-fp/floatsitf.c: Likewise.
3185         * soft-fp/floattidf.c: Likewise.
3186         * soft-fp/floattisf.c: Likewise.
3187         * soft-fp/floattitf.c: Likewise.
3188         * soft-fp/floatundidf.c: Likewise.
3189         * soft-fp/floatundisf.c: Likewise.
3190         * soft-fp/floatunditf.c: Likewise.
3191         * soft-fp/floatunsidf.c: Likewise.
3192         * soft-fp/floatunsisf.c: Likewise.
3193         * soft-fp/floatunsitf.c: Likewise.
3194         * soft-fp/floatuntidf.c: Likewise.
3195         * soft-fp/floatuntisf.c: Likewise.
3196         * soft-fp/floatuntitf.c: Likewise.
3197         * soft-fp/gedf2.c: Likewise.
3198         * soft-fp/gesf2.c: Likewise.
3199         * soft-fp/getf2.c: Likewise.
3200         * soft-fp/ledf2.c: Likewise.
3201         * soft-fp/lesf2.c: Likewise.
3202         * soft-fp/letf2.c: Likewise.
3203         * soft-fp/muldf3.c: Likewise.
3204         * soft-fp/mulsf3.c: Likewise.
3205         * soft-fp/multf3.c: Likewise.
3206         * soft-fp/negdf2.c: Likewise.
3207         * soft-fp/negsf2.c: Likewise.
3208         * soft-fp/negtf2.c: Likewise.
3209         * soft-fp/op-1.h: Likewise.
3210         * soft-fp/op-2.h: Likewise.
3211         * soft-fp/op-4.h: Likewise.
3212         * soft-fp/op-8.h: Likewise.
3213         * soft-fp/op-common.h: Likewise.
3214         * soft-fp/quad.h: Likewise.
3215         * soft-fp/single.h: Likewise.
3216         * soft-fp/soft-fp.h: Likewise.
3217         * soft-fp/subdf3.c: Likewise.
3218         * soft-fp/subsf3.c: Likewise.
3219         * soft-fp/subtf3.c: Likewise.
3220         * soft-fp/truncdfsf2.c: Likewise.
3221         * soft-fp/trunctfdf2.c: Likewise.
3222         * soft-fp/trunctfsf2.c: Likewise.
3223         * soft-fp/trunctfxf2.c: Likewise.
3224         * soft-fp/unorddf2.c: Likewise.
3225         * soft-fp/unordsf2.c: Likewise.
3226         * soft-fp/unordtf2.c: Likewise.
3228 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
3230         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
3231         (_FP_MUL_MEAT_D): Ditto.
3232         (_FP_DIV_MEAT_S): Ditto.
3233         (_FP_DIV_MEAT_D): Ditto.
3234         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
3235         t-softfp-sfdf and t-softfp to tmake_file.
3237 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
3239         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
3240         * config/i386/crtprec.c: Ditto.
3242 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
3243             Shiva Chen  <shiva0217@gmail.com>
3245         * config.host (nds32*-elf*): Add nds32 target.
3246         * config/nds32 : New directory and files.
3248 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
3250         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
3251         * config.host (cpu_type) <Setting default>: Add entry for
3252         crisv32-*-*.
3253         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
3254         <crisv32-*-linux*>: Adjust.
3255         * longlong.h: Wrap the whole CRIS section in a single
3256         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
3257         and sub_ddmmss.
3258         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
3259         defined.
3260         [__CRIS__] (__umulsidi3): Define.
3261         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
3262         * config/cris/sfp-machine.h: New file.
3263         * config/cris/umulsidi3.S: New file.
3264         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
3265         * config/cris/arit.c (SIGNMULT): New macro.
3266         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
3267         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
3268         saving 3 out of originally 33 cycles from the fastest
3269         path, 3 out of 54 from the medium path and one from the longest
3270         path.  Improve comments.
3272 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
3274         * sync.c: Remove static aliases and define each function directly
3275         under its real name.
3277 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
3279         * config.host (hppa*64*-*-linux*): Define extra_parts.
3280         (hppa*-*-linux*): Likewise.
3282 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
3284         * config/arc/crtgend.S: Add 2013 to Copyright years.
3285         * config/arc/gmon/atomic.h: Likewise.
3286         * config/arc/gmon/auxreg.h: Likewise.
3287         * config/arc/gmon/sys/gmon_out.h: Likewise.
3288         * config/arc/gmon/sys/gmon.h: Likewise.
3289         * config/arc/gmon/prof-freq.c: Likewise.
3290         * config/arc/gmon/mcount.c: Likewise.
3291         * config/arc/gmon/prof-freq-stub.S: Likewise.
3292         * config/arc/gmon/gmon.c: Likewise.
3293         * config/arc/gmon/machine-gmon.h: Likewise.
3294         * config/arc/gmon/profil.S: Likewise.
3295         * config/arc/gmon/dcache_linesz.S: Likewise.
3296         * config/arc/crtg.S: Likewise.
3297         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
3298         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
3299         * config/arc/ieee-754/adddf3.S: Likewise.
3300         * config/arc/ieee-754/truncdfsf2.S: Likewise.
3301         * config/arc/ieee-754/fixsfsi.S: Likewise.
3302         * config/arc/ieee-754/gtsf2.S: Likewise.
3303         * config/arc/ieee-754/floatsisf.S: Likewise.
3304         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
3305         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
3306         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
3307         * config/arc/ieee-754/fixdfsi.S: Likewise.
3308         * config/arc/ieee-754/addsf3.S: Likewise.
3309         * config/arc/ieee-754/gesf2.S: Likewise.
3310         * config/arc/ieee-754/floatsidf.S: Likewise.
3311         * config/arc/ieee-754/extendsfdf2.S: Likewise.
3312         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
3313         * config/arc/ieee-754/gtdf2.S: Likewise.
3314         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
3315         * config/arc/ieee-754/uneqdf2.S: Likewise.
3316         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3317         * config/arc/ieee-754/uneqsf2.S: Likewise.
3318         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
3319         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
3320         * config/arc/ieee-754/eqdf2.S: Likewise.
3321         * config/arc/ieee-754/ordsf2.S: Likewise.
3322         * config/arc/ieee-754/divsf3.S: Likewise.
3323         * config/arc/ieee-754/divdf3.S: Likewise.
3324         * config/arc/ieee-754/floatunsidf.S: Likewise.
3325         * config/arc/ieee-754/orddf2.S: Likewise.
3326         * config/arc/ieee-754/eqsf2.S: Likewise.
3327         * config/arc/ieee-754/gedf2.S: Likewise.
3328         * config/arc/crtn.S: Likewise.
3329         * config/arc/crti.S: Likewise.
3330         * config/arc/t-arc700-uClibc: Likewise.
3331         * config/arc/asm.h: Likewise.
3332         * config/arc/libgcc-excl.ver: Likewise.
3333         * config/arc/t-arc-newlib: Likewise.
3334         * config/arc/divtab-arc700.c: Likewise.
3335         * config/arc/initfini.c: Likewise.
3336         * config/arc/fp-hack.h: Likewise.
3338 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
3339             Diego Novillo  <dnovillo@google.com>
3341         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
3342         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
3343         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
3344         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
3346 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
3347             Brendan Kehoe  <brendan@zen.org>
3348             Simon Cook  <simon.cook@embecosm.com>
3350         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
3351         * config/arc: New directory.
3352         * longlong.h [__arc__] (umul_ppmm): Remove.
3353         [__arc__] (__umulsidi3): Define.
3354         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
3355         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
3357 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
3359         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
3360         CreateSemaphoreA.
3361         * config/i386/gthr-win32.h: Likewise.
3363 2013-09-16  DJ Delorie  <dj@redhat.com>
3365         * config/rl78/vregs.h: Add G10 register definitions.
3366         * config/rl78/lib2mul.c: Enable for RL78/G10.
3367         * config/rl78/lib2div.c: Likewise.
3368         * config/rl78/lshrsi3.S: Use vregs.h.
3369         * config/rl78/cmpsi2.S: Likewise.
3370         * config/rl78/trampoline.S: Likewise.
3371         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
3373 2013-09-14  DJ Delorie  <dj@redhat.com>
3374             Nick Clifton  <nickc@redhat.com>
3376         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
3377         * config/rl78/vregs.h: New.
3378         * config/rl78/signbit.S: New file.  Implements signbit function.
3379         * config/rl78/divmodsi.S: New.
3380         * config/rl78/divmodhi.S: New.
3381         * config/rl78/divmodqi.S: New.
3382         * config/rl78/t-rl78: Build them here...
3383         * config/rl78/lib2div.c: ...but not here.
3385 2013-09-12  DJ Delorie  <dj@redhat.com>
3387         * config.host (msp*-*-elf): New.
3388         * config/msp430/: New port.
3390 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
3392         PR gcov-profile/58127
3393         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
3394         __thread var for emulated TLS.
3395         (__gcov_indirect_call_counters): Likewise.
3397 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
3398             Catherine Moore  <clm@codesourcery.com>
3399             Richard Sandiford  <rdsandiford@googlemail.com>
3401         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
3402         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
3403         (CALL_STUB_NO_RET): Likewise.
3404         (CALL_STUB_RET): Likewise.
3405         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
3406         __mips16_ret call/return stub symbols.
3407         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
3408         to tmake_file.
3410 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
3412         * config.host <mips*-*-linux*>: Remove a stray comment.
3414 2013-08-10  Jan Hubicka  <jh@suse.cz>
3416         Work around binutils PR14342
3417         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
3418         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
3419         (L_gcov_indirect_call_profiler_v2): New.
3421 2013-08-06  Jan Hubicka  <jh@suse.cz>
3423         * libgcov.c (__gcov_indirect_call_callee,
3424         __gcov_indirect_call_counters): New global vars.
3425         (__gcov_indirect_call_profiler): replace by ...
3426         (__gcov_indirect_call_profiler_v2) ... this one.
3428 2013-08-06  Caroline Tice  <cmtice@google.com>
3430         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
3431         vtv_start_preinit.o and vtv_end_preinit.o.
3432         * configure.ac: Add code to check/set enable_vtable_verify.
3433         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
3434         true.
3435         * vtv_start_preinit.c: New file.
3436         * vtv_end_preinit.c: New file.
3437         * vtv_start.c: New file.
3438         * vtv_end.c: New file.
3439         * configure: Regenerated.
3441 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
3443         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
3444         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
3445         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
3446         GPL-3.0-with-GCC-exception.
3448 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
3450         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
3451         ISA and up.
3453 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3455         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
3456         mapping for FPRs when creating the fallback framestate.
3458 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
3460         PR target/57516
3461         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
3462         (__round_s2_const, __round_u2_const)
3463         (__round_s4_const, __round_u4_const, __round_x8):
3464         Saturate result if addition result cannot be represented.
3466 2013-07-15  Matthias Klose  <doko@ubuntu.com>
3468         * libgcc2.c: Don't include <limits.h>.
3470 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
3472         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
3474 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
3476         PR target/29776
3477         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
3479 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
3481         PR middle-end/36041
3482         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
3483         Define.
3484         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
3485         instead of table lookups.
3486         (__popcountDI2): Likewise.
3488 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
3490         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
3491         correctly.
3493 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
3495         PR other/53317
3496         * soft-fp/adddf3.c: Update from glibc.
3497         * soft-fp/addsf3.c: Likewise.
3498         * soft-fp/addtf3.c: Likewise.
3499         * soft-fp/divdf3.c: Likewise.
3500         * soft-fp/divsf3.c: Likewise.
3501         * soft-fp/divtf3.c: Likewise.
3502         * soft-fp/double.h: Likewise.
3503         * soft-fp/eqdf2.c: Likewise.
3504         * soft-fp/eqsf2.c: Likewise.
3505         * soft-fp/eqtf2.c: Likewise.
3506         * soft-fp/extenddftf2.c: Likewise.
3507         * soft-fp/extended.h: Likewise.
3508         * soft-fp/extendsfdf2.c: Likewise.
3509         * soft-fp/extendsftf2.c: Likewise.
3510         * soft-fp/fixdfdi.c: Likewise.
3511         * soft-fp/fixdfsi.c: Likewise.
3512         * soft-fp/fixsfdi.c: Likewise.
3513         * soft-fp/fixsfsi.c: Likewise.
3514         * soft-fp/fixtfdi.c: Likewise.
3515         * soft-fp/fixtfsi.c: Likewise.
3516         * soft-fp/fixunsdfdi.c: Likewise.
3517         * soft-fp/fixunsdfsi.c: Likewise.
3518         * soft-fp/fixunssfdi.c: Likewise.
3519         * soft-fp/fixunssfsi.c: Likewise.
3520         * soft-fp/fixunstfdi.c: Likewise.
3521         * soft-fp/fixunstfsi.c: Likewise.
3522         * soft-fp/floatdidf.c: Likewise.
3523         * soft-fp/floatdisf.c: Likewise.
3524         * soft-fp/floatditf.c: Likewise.
3525         * soft-fp/floatsidf.c: Likewise.
3526         * soft-fp/floatsisf.c: Likewise.
3527         * soft-fp/floatsitf.c: Likewise.
3528         * soft-fp/floatundidf.c: Likewise.
3529         * soft-fp/floatundisf.c: Likewise.
3530         * soft-fp/floatunditf.c: Likewise.
3531         * soft-fp/floatunsidf.c: Likewise.
3532         * soft-fp/floatunsisf.c: Likewise.
3533         * soft-fp/floatunsitf.c: Likewise.
3534         * soft-fp/gedf2.c: Likewise.
3535         * soft-fp/gesf2.c: Likewise.
3536         * soft-fp/getf2.c: Likewise.
3537         * soft-fp/ledf2.c: Likewise.
3538         * soft-fp/lesf2.c: Likewise.
3539         * soft-fp/letf2.c: Likewise.
3540         * soft-fp/muldf3.c: Likewise.
3541         * soft-fp/mulsf3.c: Likewise.
3542         * soft-fp/multf3.c: Likewise.
3543         * soft-fp/negdf2.c: Likewise.
3544         * soft-fp/negsf2.c: Likewise.
3545         * soft-fp/negtf2.c: Likewise.
3546         * soft-fp/op-1.h: Likewise.
3547         * soft-fp/op-2.h: Likewise.
3548         * soft-fp/op-4.h: Likewise.
3549         * soft-fp/op-8.h: Likewise.
3550         * soft-fp/op-common.h: Likewise.
3551         * soft-fp/quad.h: Likewise.
3552         * soft-fp/single.h: Likewise.
3553         * soft-fp/soft-fp.h: Likewise.
3554         * soft-fp/subdf3.c: Likewise.
3555         * soft-fp/subsf3.c: Likewise.
3556         * soft-fp/subtf3.c: Likewise.
3557         * soft-fp/truncdfsf2.c: Likewise.
3558         * soft-fp/trunctfdf2.c: Likewise.
3559         * soft-fp/trunctfsf2.c: Likewise.
3560         * soft-fp/unorddf2.c: Likewise.
3561         * soft-fp/unordsf2.c: Likewise.
3562         * soft-fp/unordtf2.c: Likewise.
3563         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
3564         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3565         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3566         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3567         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3568         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3569         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3570         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3571         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3572         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
3573         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
3574         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3576 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
3578         * config/mips/lib2funcs.c: New file.
3579         * config/mips/t-mips (LIB2ADD_ST): Add it.
3581 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
3583         PR target/6526
3584         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
3585         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
3587 2013-06-08  Walter Lee  <walt@tilera.com>
3589         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
3590         Replace int64_t with long long.  Add __extension__ where
3591         appropriate.
3592         * config/tilepro/atomic.c: Include config.h.
3594 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
3596         * config.host (arm-wrs-vxworks): Configure with other soft float.
3598 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
3600         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
3601         (mips64r5900el-*-elf*): New configurations.
3603 2013-06-04  Alan Modra  <amodra@gmail.com>
3605         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
3607 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
3609         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
3611 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
3613         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
3614         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
3615         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
3617 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
3619         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
3620         (powerpc-wrs-vxworks): Likewise.
3622 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
3624         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
3625         signal frames as well.
3626         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
3627         STACK_BIAS to the CFA offset.
3629 2013-05-17  Richard Henderson  <rth@redhat.com>
3631         PR target/49146
3632         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
3633         (execute_cfa_program): Use it when storing to fs->regs.
3635 2013-05-08  Kai Tietz  <ktietz@redhat.com>
3637         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
3638         (__deregister_frame_info): Likewise.
3640 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
3642         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
3643         NaN's payload.
3645         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
3647 2013-04-25  Alan Modra  <amodra@gmail.com>
3649         * config.host: Match little-endian powerpc-linux.
3651 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
3653         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
3654         as 'unsigned long long' instead of 'unsigned long'.
3655         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
3656         'signed long'.
3658 2013-04-10  Julian Brown  <julian@codesourcery.com>
3660         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
3661         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
3662         unsigned char/unsigned short.
3663         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
3665 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3667         PR other/55274
3668         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
3670 2013-04-04  Meador Inge  <meadori@codesourcery.com>
3672         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
3673         computing the location of the link register.
3674         (aeabi_uldivmod): Ditto.
3676 2013-03-27  Kai Tietz  <ktietz@redhat.com>
3678         * config.host: Add support for cygwin x64 target.
3679         * configure: Regenerated.
3681 2013-03-26  Walter Lee  <walt@tilera.com>
3683         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
3684         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
3686 2013-03-25  Kai Tietz  <ktietz@redhat.com>
3688         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
3690 2013-03-20  Robert Mason  <rbmj@verizon.net>
3692         * config/vxlib-tls.c (__gthread_get_tsd_data,)
3693         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
3694         (__gthread_leave_tsd_dtor_context): Add prototypes.
3695         (tls_delete_hook): Update.
3697 2013-03-20  Catherine Moore  <clm@codesourcery.com>
3698             Joseph Myers  <joseph@codesourcery.com>
3699             Chao-ying Fu  <fu@mips.com>
3701         * config/mips/mips16.S:  Don't build for microMIPS.
3702         * config/mips/linux-unwind.h: Handle microMIPS frame.
3703         * config/mips/crtn.S (fini, init): New labels.
3705 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
3707         PR tree-optimization/53265
3708         * unwind-dw2.c (execute_cfa_program): Avoid
3709         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
3710         on targets with DWARF_FRAME_REGISTERS < 32.
3712 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
3714         PR target/49880
3715         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
3716         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
3718 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
3720         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
3721         sandybridge processors.
3723 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
3725         PR target/56529
3726         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
3727         inclusion list.
3729 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
3731         * config/microblaze/crti.S: Setup stack protection at entry
3733 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
3735         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
3736         (__rotldi3): Shift bytewise if applicable.
3738 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
3740         * config/aarch64/sync-cache.c
3741         (__aarch64_sync_cache_range): Silence warnings.
3743 2013-02-25  Catherine Moore  <clm@codesourcery.com>
3745         Revert:
3746         2013-02-24  Catherine Moore  <clm@codesourcery.com>
3747             Joseph Myers  <joseph@codesourcery.com>
3748             Chao-ying Fu  <fu@mips.com>
3750         * config/mips/mips16.S:  Don't build for microMIPS.
3751         * config/mips/linux-unwind.h: Handle microMIPS frame.
3752         * config/mips/crtn.S (fini, init): New labels.
3754 2013-02-24  Catherine Moore  <clm@codesourcery.com>
3755             Joseph Myers  <joseph@codesourcery.com>
3756             Chao-ying Fu  <fu@mips.com>
3758         * config/mips/mips16.S:  Don't build for microMIPS.
3759         * config/mips/linux-unwind.h: Handle microMIPS frame.
3760         * config/mips/crtn.S (fini, init): New labels.
3762 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
3763         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
3764         as dividend.
3766 2013-02-16  Alan Modra  <amodra@gmail.com>
3768         PR target/55431
3769         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
3770         (ppc_fallback_frame_state): Always set up save locations for fp
3771         and altivec.  Don't bother with non-callee-saved regs, r0-r13
3772         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
3774 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
3776         PR target/54222
3777         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
3778         _ssmulHA, _ssmulSA.
3779         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
3780         _ssmulha3, _usmulusa3, _ssmulsa3.
3781         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
3782         (__muldi3): XCALL __muldi3_6 instead of rcall.
3783         (__umulsidi3, __mulsidi3): New functions.
3784         (do_prologue_saves, do_epilogue_restores): New .macros.
3785         (__divdi3_moddi3): Use them.
3786         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
3787         (__usmulusa3, __ssmulsa3): New functions.
3789 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
3790             Jack Howarth  <howarth@bromo.med.uc.edu>
3791             Patrick Marlier  <patrick.marlier@gmail.com>
3793         PR libitm/55693
3794         * config/darwin-crt-tm.c: Remove dummy functions hack.
3796 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
3798         PR target/54222
3799         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
3800         * config/avr/lib2-object.mk: New iterator to build objects from it.
3801         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
3802         lib2funcs.c.
3803         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
3804         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
3805         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
3806         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
3807         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
3808         * config/avr/lib1funcs-fixed.S: Implement them.
3810 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
3812         Update copyright years.
3814 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
3816         PR target/54601
3817         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
3818         Add crtcxa to extra_parts.
3819         * config/rs6000/exit.h: New file.
3820         * config/rs6000/cxa_atexit.c: New file.
3821         * config/rs6000/cxa_finalize.c: New file.
3822         * config/rs6000/crtcxa.c: New file.
3823         * config/rs6000/t-aix-cxa: New file.
3824         * config/rs6000/libgcc-aix-cxa.ver: New file.
3826 2013-01-31  Nick Clifton  <nickc@redhat.com>
3828         * config/v850/lib1funcs.S: Add support for e3v5 architecture
3829         variant.
3831 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
3833         PR target/54222
3834         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
3835         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
3836         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
3837         _divQQ,  _divHQ,  _divHA,  _divSA,
3838         _divUQQ, _divUHQ, _divUHA, _divUSA.
3840 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
3842         * config.host(microblaze*-linux*): tmake_file: Remove
3843         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
3844         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
3845         to exclude functions from being built with libgcc.c and use
3846         the microblaze assembly.
3848 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
3850         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
3851         extra_parts.
3853 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
3855         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
3856         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
3857         __UINTPTR_TYPE__; also cast 'base' to the same type before the
3858         alignment operation.
3860 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
3862         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
3863         loop start address for cache clearing.
3865 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
3867         * config/avr/lib1funcs.S: Remove trailing blanks.
3868         * config/avr/lib1funcs-fixed.S: Ditto.
3870 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
3872         * config/avr/avr-lib.h: Add GPL copyright notice.
3874 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
3876         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
3877         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
3878         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
3879         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
3881 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
3883         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
3884         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
3886 2013-01-04  Nick Clifton  <nickc@redhat.com>
3888         * config/v850/lib1funcs.S: Only provide CALLT support functions if
3889         the CALLT instruction is supported.
3891 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
3893         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
3894         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
3896 2012-12-13  John Tytgat  <John@bass-software.com>
3898         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
3899         is 25.
3901 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
3903         PR libgcc/55451
3904         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
3905         undefined signed overflows.
3907 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
3909         PR target/55344
3910         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
3912 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
3914         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
3915         (FP_TRAPPING_EXCEPTIONS): Define.
3916         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
3917         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
3919 2012-12-04  Richard Henderson  <rth@redhat.com>
3921         PR bootstrap/55571
3922         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
3924 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3926         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
3927         (FP_EX_SHIFT): Define.
3928         (FP_TRAPPING_EXCEPTIONS): Define.
3930 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3932         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
3933         (FP_ROUNDMODE): Use FP_RND_MASK.
3934         * config/aarch64/sfp-exceptions.c: New.
3935         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3936         Use __sfp_handle_exceptions.
3938 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
3940         * config.host: (arm*-*-freebsd*): Remove.
3941         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
3942         (arm*-*-elf*): Remove.
3943         (arm*-*-wince-pe*): Remove.
3944         * arm/unwind-arm.c (struct fpa_reg): Delete.
3945         (struct fpa_regs): Delete.
3946         (phase1_vrs): Remove fpa element.
3947         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
3948         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
3949         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
3950         * ieee754-sf.S (floatundisf): Remove FPA support.
3951         (floatdisf): Likewise.
3952         * ieee75f-df.S (floatundidf): Likewise.
3953         (floatdidf): Likewise.
3955 2012-11-29  Kai Tietz  <ktietz@redhat.com>
3957         PR target/55445
3958         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
3959         * unwind-generic.h: Likewise.
3960         * unwind-seh.c: Likewise.
3962 2012-11-28  Richard Henderson  <rth@redhat.com>
3964         PR libgcc/48076
3965         * emutls.c (__emutls_get_address): Avoid race condition between
3966         obj->loc.offset read and emutls_key initialization.
3968 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
3970         Adjust decimal point of signed accum mode to GCC default.
3972         PR target/54222
3973         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
3974         _divqq_helper.
3975         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
3976         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
3977         (__mulha3, __mulsa3)
3978         (__divqq3, __divha3, __divsa3): Adjust to new position of
3979         decimal point of signed accum types.
3981         (__mulusa3_round): New function.
3982         (__mulusa3): Use it.
3983         (__divqq_helper): New function.
3984         (__udivuqq3): Use it.
3986 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
3988         PR bootstrap/55370
3989         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
3991 2012-11-18  Teresa Johnson  <tejohnson@google.com>
3993         PR bootstrap/55051
3994         * libgcov.c (gcov_exit): Remove merged program summary
3995         comparison unless !GCOV_LOCKED.
3997 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3999         * soft-fp: Updated from glibc upstream.
4001 2012-11-06  Ian Lance Taylor  <iant@google.com>
4003         * generic-morestack.c (__generic_morestack): Align the returned
4004         stack pointer to a 32 byte boundary.
4005         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
4006         increment the return address until we have decided that we don't
4007         have a varargs function.
4008         (__morestack) [32-bit]: Align stack correctly when calling C
4009         functions.
4010         (__morestack) [64-bit]: Likewise.
4012 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
4014         * configure: Regenerate.
4016 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
4018         PR target/55175
4019         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
4020         * config/i386/sfp-machine.h: Guard exception handling
4021         code with _SOFT_FLOAT.
4022         * config/i386/32/sfp-machine.h: Guard rounding handling
4023         code with _SOFT_FLOAT.
4024         * config/i386/64/sfp-machine.h: Ditto.
4026 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
4028         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
4029         as extra_parts.
4031 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
4033         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
4034         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
4035         when appropriate.  Correct structure element types.
4036         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
4037         -minline-all-stringops from compile flags.
4039 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
4041         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
4043 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
4045         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
4047 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4049         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
4050         tmake_file.
4052 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
4053             Jim MacArthur  <jim.macarthur@arm.com>
4054             Marcus Shawcroft  <marcus.shawcroft@arm.com>
4055             Nigel Stephens  <nigel.stephens@arm.com>
4056             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
4057             Richard Earnshaw  <rearnsha@arm.com>
4058             Sofiane Naci  <sofiane.naci@arm.com>
4059             Stephen Thomas  <stephen.thomas@arm.com>
4060             Tejas Belagod  <tejas.belagod@arm.com>
4061             Yufeng Zhang  <yufeng.zhang@arm.com>
4063         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
4064         * config/aarch64/crti.S: New file.
4065         * config/aarch64/crtn.S: New file.
4066         * config/aarch64/linux-unwind.h: New file.
4067         * config/aarch64/sfp-machine.h: New file.
4068         * config/aarch64/sync-cache.c: New file.
4069         * config/aarch64/t-aarch64: New file.
4070         * config/aarch64/t-softfp: New file.
4072 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
4074         * config/mmix/crti.S: Mark program and data addresses using PRELD.
4075         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
4076         no-longer-needed LDBU insns.
4078 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4080         * config.host
4081         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
4082         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
4084 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
4086         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
4088 2012-10-15  Matthias Klose  <doko@ubuntu.com>
4090         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
4092 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
4094         * configure: Regenerate.
4095         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
4097 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
4099         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4100         instructions for 64bit targets only.
4102 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
4104         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4105         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
4106         * config/i386/32/sfp-machine.h: ... here.
4107         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
4108         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
4109         New defines.
4111 2012-10-07  Matthias Klose  <doko@ubuntu.com>
4113         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
4114         as unused.
4115         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
4117 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
4119         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
4120         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
4121         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
4122         (ElfW): Likewise.
4124 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
4126         PR other/53889
4127         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4128         Fix parameter names.
4130 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
4132         PR target/33135
4133         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
4134         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
4135         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
4137 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
4139         PR target/50457
4140         * config/sh/linux-atomic.S: Delete.
4141         * config/sh/linux-atomic.c: New.
4142         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
4143         linux-atomic.c.  Add cflags to disable warnings.
4145 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
4147         PR other/53889
4148         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
4149         function.
4150         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
4151         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
4152         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
4153         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
4154         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
4155         Likewise.
4156         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4157         Likewise.
4158         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
4159         Likewise.
4160         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
4161         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
4163 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
4165         * config.host (hppa-*-openbsd*): New target.
4166         * config/pa/t-openbsd: New file.
4168 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
4170         PR target/54222
4171         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
4172         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
4173         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
4174         (__divsa3): Use __negsi2 to negate r_quoL.
4175         * config/avr/lib1funcs.S (FALIAS): New macro.
4176         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
4177         (__negsi2): ...this new function.
4178         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
4179         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
4180         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
4181         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
4182         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
4183         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
4185 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
4187         PR target/54089
4188         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
4189         (lshrsi3): Reimplement as lshrsi3_r0.
4191 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
4193         PR target/46191
4194         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
4195         of libgcc.a.
4197 2012-09-07  Teresa Johnson  <tejohnson@google.com>
4199         PR gcov-profile/54487
4200         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
4201         differences.
4203 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
4205         PR target/54461
4206         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
4207         not configured --with-avrlibc=no.
4208         * config/avr/t-avrlibc: New file.
4209         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
4210         (DPBIT_FUNCS): Ditto.
4211         (TPBIT_FUNCS): Ditto.
4213 2012-09-04  Teresa Johnson  <tejohnson@google.com>
4215         * libgcov.c (struct gcov_summary_buffer): New structure.
4216         (gcov_histogram_insert): New function.
4217         (gcov_compute_histogram): Ditto.
4218         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
4219         histograms during summary merging.
4221 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
4223         * config.host (x86_64-*-openbsd*): New target.
4225 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
4227         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
4228         attribute.
4230 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
4232         PR target/54222
4233         * config/avr/t-avr (conv_X): Rename to func_X.
4235 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
4237         PR target/54222
4238         * config/avr/lib1funcs-fixed.S: New file.
4239         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
4240         after they are used.
4241         (neg2, neg4): New macros.
4242         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
4243         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
4244         (__umulhisi3): Speed up MUL variant if there is enough flash.
4245         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
4246         avr-modes.def.
4247         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
4248         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
4249         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
4250         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
4251         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
4252         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
4253         (LIB2FUNCS_EXCLUDE): Add supported functions.
4255 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
4257         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
4258         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
4259         libgcc-s-objects.
4260         * fixed-obj.mk: Only expand dependency if $o is not in
4261         LIB2FUNCS_EXCLUDE.
4263 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
4265         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
4267 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
4269         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
4270         depend on --enable-shared.
4271         ($(lib1asmfuncs-o)): Use %.vis files independent of
4272         --enable-shared.
4273         * static-object.mk ($(base)$(objext), $(base).vis)
4274         ($(base)_s$(objext)): Use same rules for visibility handling as in
4275         shared-object.mk.
4277 2012-08-21  Ian Lance Taylor  <iant@google.com>
4279         * config/i386/morestack.S (__morestack_non_split): Increase amount
4280         of space allocated for non-split code stack.
4282 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
4284         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
4285         even if inhibit_libc.
4287 2012-08-17  Julian Brown  <julian@codesourcery.com>
4289         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
4290         -fexceptions -fnon-call-exceptions if not defined.
4291         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
4292         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
4294 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
4296         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
4297         type.
4299 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
4301         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
4302         rs6000/t-slibgcc-aix.
4304 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
4306         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
4308 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
4310         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
4312 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
4314         PR driver/54171
4315         * Makefile.in (version): Replace top_srcdir with srcdir.
4317 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
4319         * Makefile.in (version): set to BASE-VER file from gcc directory.
4321 2012-08-01  Nick Clifton  <nickc@redhat.com>
4323         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
4324         Implements __clrsb for an HImode argument.
4326 2012-07-31  Nick Clifton  <nickc@redhat.com>
4328         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
4329         Implements __clrsb for an HImode argument.
4330         * config/stormy16/clrsbhi2.c: New file:
4331         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
4333 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
4335         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
4337 2012-07-19  Tristan Gingold  <gingold@adacore.com>
4338             Richard Henderson  <rth@redhat.com>
4340         * unwind-seh.c: New file.
4341         * unwind-generic.h: Include windows.h for SEH.
4342         (_Unwind_Exception): Use 6 private fields for SEH.
4343         (_GCC_specific_handler): Declare.
4344         * unwind-c.c (__gcc_personality_seh0): New function.
4345         Adjust for SEH.
4346         * config/i386/libgcc-cygming.ver: New file.
4347         * config/i386/t-seh-eh: New file.
4348         * config.host (x86_64-*-mingw*): Default to seh.
4350 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
4352         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
4354 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
4356         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
4357         __builtin_expect when checking for exceptions.
4358         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
4360 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
4362         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
4363         function declaration.
4364         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4365         (FP_RND_MASK): New.
4366         * config/ia64/sfp-exceptions.c: New.
4367         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
4369 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
4371         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
4372         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
4373         * config/i386/64/sfp-machine: ... (delete here) ...
4374         * config/i386/sfp-machine.h: ... to here.
4375         (FP_EX_MASK): Remove.
4376         (FP_RND_MASK): New.
4377         (FP_INIT_ROUNDMODE): Declare asm as volatile.
4379 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
4381         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
4382         * config/i386/libgcc-sol2.ver: Ditto.
4383         * config/i386/libgcc-glibc.ver: Ditto.
4385 2012-06-11  Roland McGrath  <mcgrathr@google.com>
4387         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
4388         If __GLIBC__ is defined, refer to __pthread_key_create instead of
4389         pthread_cancel.
4391 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
4393         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
4394         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
4395         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
4396         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4397         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
4398         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
4399         * config/i386/64/sfp-machine: ... (delete here) ...
4400         * config/i386/sfp-machine.h: ... to here.
4401         (FP_EX_MASK): New.
4402         (__sfp_handle_exceptions): New function declaration.
4403         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4404         * config/i386/sfp-exceptions.c: New.
4405         * config/i386/t-softfp: New.
4406         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
4407         i386/t-softfp to tmake_file.
4409 2012-06-03  David S. Miller  <davem@davemloft.net>
4411         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
4412         change.
4414 2012-05-31  David S. Miller  <davem@davemloft.net>
4416         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
4417         multiply and divide instructions on 32-bit when V9.
4418         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
4420 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
4422         * config/arm/ieee754-df.S: Fix typos.
4423         * config/arm/ieee754-sf.S: Fix typos.
4424         * config/c6x/libunwind.S: Fix typos.
4425         * config/epiphany/udivsi3-float.c: Fix typos.
4426         * config/microblaze/muldi3_hard.S: Fix typos.
4427         * config/picochip/adddi3.S: Fix typos.
4428         * config/picochip/ashlsi3.S: Fix typos.
4429         * config/picochip/ashrsi3.S: Fix typos.
4430         * config/picochip/clzsi2.S: Fix typos.
4431         * config/picochip/cmpsi2.S: Fix typos.
4432         * config/picochip/divmod15.S: Fix typos.
4433         * config/picochip/divmodhi4.S: Fix typos.
4434         * config/picochip/divmodsi4.S: Fix typos.
4435         * config/picochip/longjmp.S: Fix typos.
4436         * config/picochip/lshrsi3.S: Fix typos.
4437         * config/picochip/parityhi2.S: Fix typos.
4438         * config/picochip/popcounthi2.S: Fix typos.
4439         * config/picochip/setjmp.S: Fix typos.
4440         * config/picochip/subdi3.S: Fix typos.
4441         * config/picochip/ucmpsi2.S: Fix typos.
4442         * config/picochip/udivmodhi4.S: Fix typos.
4443         * config/picochip/udivmodsi4.S: Fix typos.
4444         * config/spu/divv2df3.c: Fix typos.
4445         * config/spu/mfc_multi_tag_release.c: Fix typos.
4446         * config/spu/mfc_tag_release.c: Fix typos.
4447         * configure.ac: Fix typos.
4448         * configure: Regenerate.
4450 2012-05-25  Ian Lance Taylor  <iant@google.com>
4452         * config/i386/morestack.S (__morestack_non_split): Check whether
4453         caller is varargs and needs %bp to hold the stack frame on return.
4455 2012-05-25  Olivier Hainque  <hainque@adacore.com>
4457         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
4458         sequence in the non pic case on VxWorks.
4460 2012-05-24  Olivier Hainque  <hainque@adacore.com>
4462         * Makefile.in: Move dependency on install-unwind_h from
4463         "install-leaf" to "install".
4465 2012-05-24  Olivier Hainque  <hainque@adacore.com>
4467         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
4468         Use a separate command for stamp removals.
4470 2012-05-21  Andrew Pinski  <apinski@cavium.com>
4472         PR bootstrap/53183
4473         * configure.ac: Define the default includes to being none.
4474         * configure: Regenerate.
4476 2012-05-16  Olivier Hainque  <hainque@adacore.com>
4478         * Makefile.in (install-unwind_h): Rename into ...
4479         (install-unwind_h-forbuild): New target.
4480         (all): Use it instead of the former install-unwind_h.
4481         (install-unwind_h): Reinstate, copy to user install destination
4482         for include files, not to the internal gcc object directory one.
4483         (install-leaf): Depend on it.
4485 2012-05-15  Olivier Hainque  <hainque@adacore.com>
4487         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
4488         register numbers. LR_REGNO replaces R_LR.
4489         (ucontext_for): New, helper for ...
4490         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
4491         and 5.3 of ...
4492         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
4494 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4496         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
4497         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
4498         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
4499         i386/t-cpuinfo ...
4500         (i[34567]86-*-*, x86_64-*-*): ... here.
4502         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
4503         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
4505         * config/i386/i386-cpuinfo.c: Rename to ...
4506         * config/i386/cpuinfo.c: ... this.
4507         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
4509         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
4510         (libgcc_cv_init_priority): New test.
4511         * configure: Regenerate.
4512         * config.in: New file.
4513         * Makefile.in (clean): Rename config.h to auto-target.h.
4514         (config.h): Likewise.
4515         (stamp-h): Likewise.
4517         * config/i386/cpuinfo.c (auto-target.h): Include.
4518         (CONSTRUCTOR_PRIORITY): Define.
4519         (__cpu_indicator_init): Use it.
4521 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
4523         * longlong.h: Use a URL instead of an FSF postal address.
4524         Replace spaces with tab.
4526 2012-05-08  Teresa Johnson  <tejohnson@google.com>
4528         * libgcov.c (gcov_clear, __gcov_reset): New functions.
4529         (__gcov_dump): Ditto.
4530         (gcov_dump_complete): New global variable.
4531         (gcov_exit): Export hidden to enable use in L_gcov_dump.
4532         (__gcov_flush): Outline functionality now in gcov_clear.
4533         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
4535 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
4537         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
4538         (mips*-*-linux*): Include mips/t-tpbit when long double is
4539         16 bytes long.
4541 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
4543         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
4544         (get_available_features): New argument. Check for AVX2.
4545         (__cpu_indicator_init): Modify call to get_available_features.
4547 2012-04-25  Alan Modra  <amodra@gmail.com>
4549         * config/rs6000/crtsavevr.S: New file.
4550         * config/rs6000/crtrestvr.S: New file.
4551         * config/rs6000/t-savresfgpr: Build the above.
4552         * config/rs6000/t-netbsd: Likewise.
4554 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
4556         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
4558 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
4560         * libgcc/config/i386/i386-cpuinfo.c: New file.
4561         * libgcc/config/i386/t-cpuinfo: New file.
4562         * libgcc/config.host: Include t-cpuinfo.
4563         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
4565 2012-04-24  Chao-ying Fu  <fu@mips.com>
4567         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
4569 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
4571         struct siginfo vs. siginfo_t
4573         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
4574         siginfo_t instead of struct siginfo.
4575         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
4576         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
4577         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
4578         (ia64_handle_unwabi): Likewise.
4579         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
4580         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
4581         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
4582         (sh_fallback_frame_state): Likewise.
4583         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
4584         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
4586 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
4588         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
4589         system call number.
4591 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
4593         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
4594         if it hasn't been previously saved.
4596 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
4598         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
4599         only for glibc.
4601 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
4603         PR target/52737
4604         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
4605         instead of __AVR_HAVE_8BIT_SP__.
4607 2012-03-26  Tristan Gingold  <gingold@adacore.com>
4609         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
4610         (unw_table_entry): Use unw_word instead of unsigned long.
4611         (_Unwind_FindTableEntry): Likewise.
4612         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
4613         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
4614         (_Unwind_FindTableEntry): Likewise.
4615         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
4616         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
4617         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
4618         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
4619         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
4620         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
4621         (uw_init_context_1, uw_install_context): Likewise.
4622         (unw_word): Move to unwind-ia64.h
4624 2012-03-26  Tristan Gingold  <gingold@adacore.com>
4626         * config/vms/vms-ucrt0.c: Update copyright years.
4627         Add a sanity check.
4628         (___gcc_main_flags): Declare.
4629         (__main): Check flags to remap argv and exit code.
4630         * config.host (*-*-*vms*): Adjust extra_parts.
4631         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
4632         (crt0.o): Add.
4634 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
4636         * arm/lib1funcs.asm (ctzsi2): New function.
4637         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
4638         * arm/t-linux (LIB1ASMFUNCS): Likewise.
4639         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
4640         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
4641         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
4642         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
4644 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
4646         * config.host: Add bits to support powerpc64-*-freebsd*.
4647         * config/rs6000/freebsd-unwind.h: New file.
4648         * config/rs6000/t-freebsd64: New file.
4650 2012-03-20  Richard Guenther  <rguenther@suse.de>
4652         PR gcov-profile/52627
4653         * libgcov.c (init_mx): Fix mutex name.
4655 2012-03-16  Tristan Gingold  <gingold@adacore.com>
4657         * config/ia64/vms-unwind.h: Remove ulong (and replace
4658         it by unw_reg where used).  Define unw_reg with __int64.
4660 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4662         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4663         Solaris 8 handling.
4664         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4665         Solaris 8 handling.
4666         (sparc_is_sighandler): Likewise.
4668 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
4670         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
4671         <= saved reg size.
4673 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4675         * config/arm/crtn.S: Fix typo.
4677 2012-03-13  Richard Guenther  <rguenther@suse.de>
4679         * libgcov.c: Remove stdio.h include and NULL un-define.
4681 2012-03-13  Richard Guenther  <rguenther@suse.de>
4683         PR target/52569
4684         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
4686 2012-03-13  Richard Guenther  <rguenther@suse.de>
4688         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
4690 2012-03-13  Richard Guenther  <rguenther@suse.de>
4692         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
4693         and __gthread_mutex_init_function definitions.
4695 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4697         * config.host (mips*-*-openbsd*): Remove.
4699 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4701         * config.host: Remove alpha*-dec-osf5.1* handling.
4702         * config/alpha/gthr-posix.c: Remove.
4703         * config/alpha/libgcc-osf5.ver: Remove.
4704         * config/alpha/osf5-unwind.h: Remove.
4705         * config/alpha/t-osf-pthread: Remove.
4706         * config/alpha/t-slibgcc-osf: Remove.
4707         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
4708         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
4709         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
4710         * mkmap-flat.awk: Remove osf_export handling.
4712 2012-03-12  Richard Guenther  <rguenther@suse.de>
4714         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
4715         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
4716         (__gthread_mutex_init_function): New function.
4717         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
4719         PR gcov/49484
4720         * libgcov.c: Include gthr.h.
4721         (__gcov_flush_mx): New global variable.
4722         (init_mx, init_mx_once): New functions.
4723         (__gcov_flush): Protect self with a mutex.
4724         (__gcov_fork): Re-initialize mutex after forking.
4725         * unwind-dw2-fde.c: Change condition under which to use
4726         __GTHREAD_MUTEX_INIT_FUNCTION.
4728 2012-03-12  Tristan Gingold  <gingold@adacore.com>
4730         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
4731         * config/ia64/t-vms: Likewise.
4733 2012-03-11  Michael Hope  <michael.hope@linaro.org>
4735         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
4736         for Thumb-2.
4738 2012-03-07  Walter Lee  <walt@tilera.com>
4740         * config/tilepro/atomic.c: Rename "atomic_" prefix to
4741         "arch_atomic_".
4742         (atomic_xor): Rename and move definition to
4743         config/tilepro/atomic.h.
4744         (atomic_nand): Ditto.
4745         * config/tilepro/atomic.h: Rename "atomic_" prefix to
4746         "arch_atomic_".
4747         (arch_atomic_xor): Move from config/tilepro/atomic.c.
4748         (arch_atomic_nand): Ditto.
4750 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
4752         PR target/52507
4753         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
4755 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
4757         PR target/52505
4758         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
4759         from RAM.
4761 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
4763         PR target/52461
4764         PR target/52508
4765         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
4766         if RAMPZ affects reading from RAM.
4767         (__tablejump_elpm__): Ditto.
4768         (.xload): Ditto.
4769         (__movmemx_hi): Ditto.
4770         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
4771         (__do_global_dtors): Ditto.
4772         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
4773         (__movmemx_hi): Ditto.
4775 2012-03-05  Richard Henderson  <rth@redhat.com>
4777         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
4778         [ARM] (count_trailing_zeros): Use the builtin.
4780 2012-03-01  Kai Tietz  <ktietz@redhat.com>
4782         * soft-fp: Imported from glibc upstream.
4784 2012-02-28  Kai Tietz  <ktietz@redhat.com>
4786         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
4787         for mingw-targets as attribute gcc_struct.
4789 2012-02-28  Ian Lance Taylor  <iant@google.com>
4791         * generic-morestack.c (__splitstack_releasecontext): Correct call
4792         to __morestack_release_segments.
4794 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4796         PR target/52390
4797         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
4798         for __linux__ when removing signals from __morestack_fullmask.
4800 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
4802         PR target/52261
4803         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
4805 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4807         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
4808         instead of HAVE_INITFINI_ARRAY.
4809         * config/ia64/crtend.S: Likewise.
4811 2012-02-20  Kai Tietz  <ktietz@redhat.com>
4813         PR libstdc++/52300
4814         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
4816         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
4817         to w32-unwind.h header.
4819 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
4821         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
4822         (mips*-*-linux*): Remove t-slibgcc-libgcc.
4823         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
4824         * config/mips/mips16.S (__mips16_rdhwr): Delete.
4826 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
4828         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
4830 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
4832         PR libitm/52220
4833         * config/darwin-crt-tm.c: Correct typo.
4835 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
4836             Patrick Marlier  <patrick.marlier@gmail.com>
4838         PR libitm/52220
4839         * config/darwin-crt-tm.c: Generate dummy functions.
4841 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
4842             Patrick Marlier  <patrick.marlier@gmail.com>
4844         PR libitm/52042
4845         * config/darwin-crt-tm.c (getTMCloneTable): New function.
4846         (__doTMRegistrations): Call it.
4847         (__doTMdeRegistrations): Likewise.
4849 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
4850             Anatoly Sokolov  <aesok@post.ru>
4851             Eric Weddington  <eric.weddington@atmel.com>
4853         PR target/52261
4854         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
4855         (__epilogue_restores__): Ditto.
4857 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
4859         PR target/51921
4860         PR target/52205
4861         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
4862         Solaris 11 and slightly reformat.
4863         (sparc_is_sighandler): Likewise.
4865 2012-02-14  Walter Lee  <walt@tilera.com>
4867         * config.host: Handle tilegx and tilepro.
4868         * config/tilegx/sfp-machine.h: New file.
4869         * config/tilegx/sfp-machine32.h: New file.
4870         * config/tilegx/sfp-machine64.h: New file.
4871         * config/tilegx/t-crtstuff: New file.
4872         * config/tilegx/t-softfp: New file.
4873         * config/tilegx/t-tilegx: New file.
4874         * config/tilepro/atomic.c: New file.
4875         * config/tilepro/atomic.h: New file.
4876         * config/tilepro/linux-unwind.h: New file.
4877         * config/tilepro/sfp-machine.h: New file.
4878         * config/tilepro/softdivide.c: New file.
4879         * config/tilepro/softmpy.S: New file.
4880         * config/tilepro/t-crtstuff: New file.
4881         * config/tilepro/t-tilepro: New file.
4883 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
4885         PR libstdc++/51296
4886         PR libstdc++/51906
4887         * gthr-posix.h: Allow static initializer macros to be disabled.
4888         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
4890 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
4892         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
4893         Add t-slibgcc-libgcc to tmake_file.
4894         * config/mips/libgcc-mips16.ver: Revert previous patch.
4895         * config/mips/mips16.S (__mips16_rdhwr): Hide.
4897 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
4898             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
4900         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
4901         * config/cr16/crti.S: New file.
4902         * config/cr16/crtlibid.S: New file.
4903         * config/cr16/crtn.S: New file.
4904         * config/cr16/lib1funcs.S: New file.
4905         * config/cr16/t-cr16: New file.
4906         * config/cr16/t-crtlibid: New file.
4907         * config/cr16/unwind-dw2.h: New file.
4908         * config/cr16/unwind-cr16.c: New file.
4909         * config/cr16/divmodhi3.c: New file.
4911 2012-01-25  Alan Modra  <amodra@gmail.com>
4913         * config/rs6000/t-linux64: Delete.  Move..
4914         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
4915         * config/rs6000/t-linux: ..and libgcc flags to here.
4917 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
4919         * config.host (i[34567]86-*-interix3*):
4920         Change triplet to i[34567]86-*-interix[3-9]*.
4921         * configure: Regenerate.
4923 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
4924             Richard Sandiford  <rdsandiford@googlemail.com>
4926         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
4927         * config/mips/mips16.S (__mips16_rdhwr): New function.
4928         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
4930 2012-01-11  Nathan Sidwell  <nathan@acm.org>
4932         * libgcov.c (__gcov_init): Ignore objects with no functions.
4934 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
4936         PR target/49868
4937         Extend __pgmx semantics to linearize memory.
4938         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
4939         * config/avr/lib1funcs.S (__xload_1): New function.
4940         (__movmemx_qi, __movmemx_hi): New functions.
4941         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
4942         semantics.
4944 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
4946         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
4947         purported sigacthandler address isn't null before dereferencing it.
4948         (sparc_is_sighandler): Likewise.
4950 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
4952         PR ada/41929
4953         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
4954         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
4955         (sparc_is_sighandler): Likewise.
4956         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
4958 2012-01-06  Tristan Gingold  <gingold@adacore.com>
4960         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
4961         compatibility thunks...
4962         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
4963         (crtbeginS.o, crtendS.o): ... and these to ...
4964         * config/ia64/t-ia64-elf: ... this new file.
4965         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
4966         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
4968 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4970         * configure: Regenerate.
4971         * config/s390/t-crtstuff: Remove -fPIC.
4973 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
4975         PR bootstrap/51006
4976         * enable-execute-stack-mprotect.c (getpagesize): Do not define
4977         for NetBSD.
4979 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
4981         PR target/51345
4982         * config/avr/lib1funcs.S: Remove FIXME comments.
4983         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
4985 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
4987         Implement light-weight DImode support.
4988         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
4989         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
4990         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
4991         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
4993 2011-12-30  Nathan Sidwell  <nathan@acm.org>
4995         * libgcov.c (gcov_crc32): Remove global var.
4996         (free_fn_data): New function.
4997         (buffer_fn_data): Pass in filename, more robust error recovery.
4998         (crc32_unsigned): New function.
4999         (gcov_exit): More robust detection of new program. More robust
5000         error recovery.
5001         (__gcov_init): Do not update program's crc here.
5003 2011-12-21  Tristan Gingold  <gingold@adacore.com>
5005         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
5007 2011-12-21  Ian Lance Taylor  <iant@google.com>
5009         * config/i386/morestack.S: Simplify CFI opcodes throughout.
5011 2011-12-20  Ian Lance Taylor  <iant@google.com>
5013         * config/i386/morestack.S (__morestack_non_split): If there is
5014         enough stack space already, don't split.  Ask for more stack space
5015         than we required.
5017 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
5019         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
5020         `sys/sdt.h'.
5021         (_Unwind_DebugHook): New function.
5022         (uw_restore_core_regs): New define.
5023         (unwind_phase2): Use uw_restore_core_regs instead of
5024         restore_core_regs.
5025         (unwind_phase2_forced): Likewise.
5026         (__gnu_Unwind_Resume): Likewise.
5028 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
5030         * config/alpha/linux-unwind.h: Update copyright years.
5031         (MD_FROB_UPDATE_CONTEXT): New define.
5032         (alpha_frob_update_context): New function.
5034 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
5036         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
5037         tmake_file rather replacing it.
5039 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
5041         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
5042         function is not used for PPC64.
5043         (save_world): Amend comments.  Update the VRsave mask to reflect the
5044         saved regs.
5045         (rest_world): Update comments, do not  clobber r10, do not use r8.
5046         (eh_rest_world_r10): Amend comments, do not use r8.
5047         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
5048         no longer used, move restore of CR and target address to the end of
5049         the routine.
5051 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
5053         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
5054         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
5056 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
5058         PR target/49313
5059         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
5060         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
5062 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
5064         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
5066 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
5068         PR target/49313
5069         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
5070         * config/avr/lib1funcs.S (__muldi3): New function.
5072 2011-12-06  Andrew Pinski  <apinski@cavium.com>
5074         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
5075         size of func_ptr.
5076         (__frame_dummy_init_array_entry): Likewise.
5078 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
5080         Forward-port from gcc-4_6-branch r181936 2011-12-02.
5082         PR target/51345
5083         PR target/51002
5084         * config/avr/lib1funcs.S (__prologue_saves__,
5085         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
5086         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
5088 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
5090         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
5092 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5094         PR other/51272
5095         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
5096         (_ITM_deregisterTMCloneTable): Likewise.
5097         (__register_frame_info): Fix unused warning.
5098         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
5099         pthread_default_stacksize_np): Likewise.
5100         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
5102 2011-11-29  DJ Delorie  <dj@redhat.com>
5104         * config.host (rl78-*-elf): New case.
5105         * config/rl78: New directory for the Renesas RL78.
5107 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
5109         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
5110         formatting.
5112 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5114         PR other/51022
5115         * config/rs6000/t-savresfgpr: New file.
5116         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
5117         $(srcdir)/config/rs6000/eabi.S.
5118         * config/rs6000/t-ppccomm-ldbl: Remove.
5119         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
5120         tmake_file.
5121         (powerpc-*-eabispe*): Likewise.
5122         (powerpc-*-eabi*): Likewise.
5123         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5124         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
5125         to tmake_file, remove rs6000/t-ppccomm-ldbl.
5126         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
5127         tmake_file.
5128         (powerpc-*-eabisim*): Likewise.
5129         (powerpc-*-elf*): Likewise.
5130         (powerpc-*-eabialtivec*): Likewise.
5131         (powerpc-xilinx-eabi*): Likewise.
5132         (powerpc-*-rtems*): Likewise.
5133         (powerpcle-*-elf*): Likewise.
5134         (powerpcle-*-eabisim*): Likewise.
5135         (powerpcle-*-eabi*): Likewise.
5137 2011-11-27  Ian Lance Taylor  <iant@google.com>
5139         * generic-morestack.c (__splitstack_find): Check for NULL old
5140         stack value.
5141         (__splitstack_resetcontext): New function.
5142         (__splitstack_releasecontext): New function.
5143         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5145 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
5147         * config/darwin-crt-tm.c: Correct comments, use correct licence.
5149 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
5151         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
5153 2011-11-26  Richard Henderson  <rth@redhat.com>
5155         * config/m68k/linux-atomic.c: New file.
5156         * config/m68k/t-linux: New file.
5157         * config.host (m68k-uclinux, m68k-linux): Use it.
5159 2011-11-26  Richard Henderson  <rth@redhat.com>
5161         * crtstuff.c (__TMC_LIST__): Mark used not unused.
5162         (__TMC_END__): Only declare if hidden is available; in the definition,
5163         if hidden is unavailable add a null record.
5164         (deregister_tm_clones, register_tm_clones): New.
5165         (__do_global_dtors_aux, frame_dummy): Use them.
5166         (__do_global_dtors, __do_global_ctors_1): Likewise.
5168 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
5170         * config/darwin-crt-tm.c: New file.
5171         * config.host (darwin): Build crttms.o crttme.o to provide
5172         startup and shutdown for tm clones.
5173         * config/t-darwin (crttms.o): New build rule.
5174         (crttme.o): Likewise.
5176 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
5178         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
5179         et al.
5181 2011-11-21  Richard Henderson  <rth@redhat.com>
5183         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
5184         (__TMC_LIST__, __TMC_END__): New.
5185         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
5186         (__do_global_dtors): Likewise.
5187         (frame_dummy): Call _ITM_registerTMCloneTable.
5188         (__do_global_ctors_1): Likewise.
5190 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5192         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
5193         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5194         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
5195         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
5196         * config/i386/t-darwin64: Remove.
5197         * config/sh/t-netbsd (LIB2ADD): Remove.
5199 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
5201         PR target/49313
5202         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
5203         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
5204         * config/avr/lib1funcs.S (wmov): New assembler macro.
5205         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
5206         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
5207         (__udivmod64): New function.
5208         (__negdi2): New function.
5210 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
5212         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
5213         *-*-freebsd*aout*): Remove.
5215 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
5217         * static-object.mk (c_flags-$o): Save c_flags.
5218         ($(base)$(objext)): Use it.
5220 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
5222         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
5224 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
5226         PR target/49868
5227         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
5228         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
5229         New functions.
5231 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
5233         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
5234         functions.
5235         (aeabi_uidivmod): Likewise.
5236         (umodsi3): Likewise.
5237         (divsi3): Likewise.
5238         (aeabi_idivmod): Likewise.
5239         (modsi3): Likewise.
5241 2011-11-16  Tristan Gingold  <gingold@adacore.com>
5243         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
5245 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
5247         PR target/49868
5248         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
5249         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
5251 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5253         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
5254         tmake_file list.
5255         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
5256         * config/pa/t-stublib64: Delete.
5258 2011-11-12  Richard Henderson  <rth@redhat.com>
5260         * config/rs6000/linux-unwind.h (frob_update_context): Properly
5261         cast the pointer argument to _Unwind_SetGRPtr.
5263 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5265         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
5267 2011-11-09  Ian Lance Taylor  <iant@google.com>
5269         * generic-morestack.c: Include <string.h>.
5270         (uintptr_type): Define.
5271         (struct initial_sp): Add dont_block_signals field.  Reduce size of
5272         extra array by 1.
5273         (allocate_segment): Set prev field to NULL.  Don't set
5274         __morestack_current_segment or __morestack_segments.
5275         (__generic_morestack): Update current->prev and *pp after calling
5276         allocate_segment.
5277         (__morestack_block_signals): Don't do anything if
5278         dont_block_signals is set.
5279         (__morestack_unblock_signals): Likewise.
5280         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
5281         uintptr_type.
5282         (__splitstack_block_signals): New function.
5283         (enum __splitstack_content_offsets): Define.
5284         (__splitstack_getcontext, __splitstack_setcontext): New functions.
5285         (__splitstack_makecontext): New function.
5286         (__splitstack_block_signals_context): New function.
5287         (__splitstack_find_context): New function.
5288         * config/i386/morestack.S (__morestack_get_guard): New function.
5289         (__morestack_set_guard, __morestack_make_guard): New functions.
5290         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5292 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5294         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
5295         (i[34567]86-*-mingw*): ... here.
5296         (x86_64-*-mingw*): ... here.
5298 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5300         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
5302 2011-11-07  Nathan Sidwell  <nathan@acm.org>
5304         * libgcov.c (struct gcov_fn_buffer): New struct.
5305         (buffer_fn_data): New helper.
5306         (gcov_exit): Rework for new gcov data structures.
5308 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
5310         PR target/49313
5311         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
5313 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5315         * config.host (tmake_file): Correct comment.
5316         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
5317         t-libgcc-pic.
5318         (bfin*-uclinux*): Likewise.
5319         (bfin*-linux-uclibc*): Likewise.
5320         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
5322         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
5323         assigning.
5324         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5325         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
5326         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5327         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
5328         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5329         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
5330         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
5331         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5332         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
5333         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
5334         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
5335         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
5336         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
5338         * config/bfin/t-elf: Remove.
5339         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
5341 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5343         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
5344         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
5345         (lm32-*-elf*, lm32-*-rtems*): Split into ...
5346         (lm32-*-elf*): ... this.
5347         (lm32-*-rtems*): ... and this.
5348         Add to tmake_file.
5349         (m32r-*-rtems*): Add to tmake_file.
5350         (moxie-*-rtems*): Likewise.
5351         (sparc-*-rtems*): Likewise.
5352         Remove t-rtems from tmake_file.
5353         (sparc64-*-rtems*): Likewise.
5354         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
5355         instead.
5357 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5359         PR bootstrap/50982
5360         * config/gthr-posix.h: Move ...
5361         * gthr-posix.h: ... here.
5362         * config/gthr-lynx.h: Reflect this.
5363         * config/gthr-vxworks.h: Likewise.
5364         * config/rs6000/gthr-aix.h: Likewise.
5365         * configure.ac (target_thread_file): Likewise.
5366         * configure: Regenerate.
5368 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5370         * config.host (arm*-*-rtemseabi*): New target.
5372 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5374         PR other/50991
5375         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
5376         extra-parts.
5378 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
5380         * config.host (epiphany-*-elf*): New configuration.
5381         * config/epiphany: New Directory.
5383 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
5385         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
5386         * config/avr/t-rtems: New.
5387         Filter out _exit from LIB1ASMFUNCS.
5389 2011-11-04  David S. Miller  <davem@davemloft.net>
5391         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
5392         * configure: Rebuild.
5394 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5396         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
5397         variable.
5399 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
5401         PR target/50931
5402         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
5403         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
5405 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
5407         PR target/50989
5408         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
5410 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5412         * config/c6x/t-elf (LIB2ADDEH): Set.
5413         * config/c6x/t-c6x-elf: Remove.
5415 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5417         * config/i386/sol2-ci.S: Rename to ...
5418         * config/i386/crti.S: ... this.
5419         * config/i386/sol2-cn.S: Rename to ...
5420         * config/i386/crtn.S: ... this.
5421         * config/sparc/sol2-ci.S: Rename to ...
5422         * config/sparc/crti.S: ... this.
5423         * config/sparc/sol2-cn.S: Rename to ...
5424         * config/sparc/crtn.S: ... this.
5425         * config/t-sol2 (CUSTOM_CRTIN): Remove.
5426         (crti.o, crtn.o): Remove.
5428 2011-11-04  Tristan Gingold  <gingold@adacore.com>
5430         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
5432 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
5434         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
5436 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
5438         * config.host (crisv32-*-none, cris-*-none): Remove.
5439         (crisv32-*-elf): Append to tmake_file, don't just set it.
5440         (cris-*-elf): Add missing t-fdpbit to tmake_file.
5442 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5444         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
5445         (ecrtn$(objext)): Likewise.
5446         (ncrti$(objext)): Likewise.
5447         (ncrtn$(objext)): Likewise.
5449 2011-11-03  Andreas Schwab  <schwab@redhat.com>
5451         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
5453 2011-11-02  David S. Miller  <davem@davemloft.net>
5455         * configure.ac: Set host_address on sparc too.
5456         * configure: Regenerate.
5457         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
5458         based upon host_address.
5459         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
5461 2011-11-02  Jason Merrill  <jason@redhat.com>
5463         * config/rs6000/t-ppccomm: Add missing \.
5465 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5467         * gthr-single.h, gthr.h: New files.
5468         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
5469         config/gthr-vxworks.h, config/i386/gthr-win32.h,
5470         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
5471         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
5472         * config/i386/gthr-win32.c: Include "gthr-win32.h".
5473         * configure.ac (thread_header): New variable.
5474         Set it depending on target_thread_file.
5475         (gthr-default.h): Link from $thread_header.
5476         * configure: Regenerate.
5477         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
5479 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5481         * configure.ac (tm_file_): New variable.
5482         Determine from tm_file.
5483         (tm_file, tm_defines): Substitute.
5484         * configure: Regenerate.
5485         * mkheader.sh: New file.
5486         * Makefile.in (clean): Remove libgcc_tm.h.
5487         ($(objects)): Depend on libgcc_tm.h.
5488         (libgcc_tm_defines, libgcc_tm_file): New variables.
5489         (libgcc_tm.h, libgcc_tm.stamp): New targets.
5490         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
5491         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
5492         ($(extra-parts)): Depend on libgcc_tm.h.
5493         * config.host (tm_defines, tm_file): New variable.
5494         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
5495         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
5496         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
5497         (avr-*-rtems*): Likewise.
5498         (avr-*-*): Likewise.
5499         (frv-*-elf): Likewise.
5500         (frv-*-*linux*): Likewise.
5501         (h8300-*-rtems*): Likewise.
5502         (h8300-*-elf*): Likewise.
5503         (i[34567]86-*-darwin*): Likewise.
5504         (x86_64-*-darwin*): Likewise.
5505         (rx-*-elf): Likewise.
5506         (tic6x-*-uclinux): Likewise.
5507         (tic6x-*-elf): Likewise.
5508         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
5509         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
5510         * config/i386/cygming-crtbegin.c: Likewise.
5511         * config/i386/cygming-crtend.c: Likewise.
5512         * config/ia64/fde-vms.c: Likewise.
5513         * config/ia64/unwind-ia64.c: Likewise.
5514         * config/libbid/bid_gcc_intrinsics.h: Likewise.
5515         * config/rs6000/darwin-fallback.c: Likewise.
5516         * config/stormy16/lib2funcs.c: Likewise.
5517         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
5518         * crtstuff.c: Likewise.
5519         * dfp-bit.h: Likewise.
5520         * emutls.c: Likewise.
5521         * fixed-bit.c: Likewise.
5522         * fp-bit.c: Likewise.
5523         * generic-morestack-thread.c: Likewise.
5524         * generic-morestack.c: Likewise.
5525         * libgcc2.c: Likewise.
5526         * libgcov.c: Likewise.
5527         * unwind-dw2-fde-dip.c: Likewise.
5528         * unwind-dw2-fde.c: Likewise.
5529         * unwind-dw2.c: Likewise.
5530         * unwind-sjlj.c: Likewise.
5532 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5534         * configure.ac: Include ../config/picflag.m4.
5535         (GCC_PICFLAG): Call it.
5536         Substitute.
5537         * configure: Regenerate.
5538         * Makefile.in (gcc_srcdir): Remove.
5539         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
5540         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
5541         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
5542         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
5543         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
5544         Use $<.
5545         Remove comment.
5546         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
5547         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
5548         to refer to libgcc2.c.
5549         Use $<.
5550         * config/darwin-64.c: New file.
5551         * config/darwin-crt3.c: Remove comment.
5552         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
5553         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
5554         config/udivmodsi4.c: New files.
5555         * config/memcmp.c, config/memcpy.c, config/memmove.c,
5556         config/memset.c: New files.
5557         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
5558         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
5559         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
5560         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
5561         * config/t-openbsd-thread: New file.
5562         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
5563         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
5564         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
5565         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
5566         qrnnd.S.
5567         Adapt filename.
5568         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
5569         to refer to gthr-posix.c.
5570         * config/alpha/t-vms (LIB2ADD): Set.
5571         * config/alpha/vms-gcc_shell_handler.c: New file.
5572         * config/arm/bpabi.c, config/arm/fp16.c,
5573         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
5574         config/arm/unaligned-funcs.c: New files.
5575         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
5576         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
5577         * config/arm/t-linux: Likewise.
5578         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
5579         * config/arm/t-netbsd: New file.
5580         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
5581         * config/arm/t-symbian (LIB2ADD_ST): Set.
5582         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
5583         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5584         * config/bfin/t-elf: New file.
5585         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
5586         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
5587         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
5588         config/c6x/ltf.c: New files.
5589         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
5590         (HOST_LIBGCC2_CFLAGS): Set.
5591         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
5592         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5593         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
5594         New files.
5595         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
5596         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
5597         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
5598         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
5599         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
5600         files.
5601         * config/frv/t-frv (LIB2ADD): Set.
5602         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5603         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
5604         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
5605         config/h8300/popcounthi2.c: New files.
5606         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
5607         * config/i386/gthr-win32.c: New file.
5608         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
5609         * config/i386/t-cygwin: Likewise.
5610         * config/i386/t-darwin, config/i386/t-darwin64,
5611         config/i386/t-gthr-win32, config/i386/t-interix: New files.
5612         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
5613         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5614         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5615         * config/ia64/quadlib.c: New file.
5616         * config/ia64/t-hpux (LIB2ADD): Set.
5617         * config/ia64/t-ia64: Add comment.
5618         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
5619         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5620         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
5621         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
5622         * config/m32c/t-m32c (LIB2ADD): Set.
5623         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
5624         * config/m32r/t-m32r: Likewise.
5625         * config/m68k/fpgnulib.c: New file.
5626         * config/m68k/t-floatlib (LIB2ADD): Set.
5627         (xfgnulib.c): New target.
5628         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
5629         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
5630         * config/mep/t-mep (LIB2ADD): Set.
5631         * config/microblaze/divsi3.asm: Rename to divsi3.S.
5632         * config/microblaze/moddi3.asm: Rename to moddi3.S.
5633         * config/microblaze/modsi3.asm: Rename to modsi3.S.
5634         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
5635         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
5636         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
5637         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
5638         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
5639         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
5640         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
5641         New files.
5642         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
5643         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
5644         * config/pa/fptr.c, config/pa/lib2funcs.S,
5645         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
5646         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
5647         (LIB2ADD, LIB2ADD_ST): Set.
5648         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
5649         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
5650         Set.
5651         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
5652         * config/pdp11/t-pdp11: New file.
5653         * config/picochip/libgccExtras/adddi3.S,
5654         config/picochip/libgccExtras/ashlsi3.S,
5655         config/picochip/libgccExtras/ashrsi3.S,
5656         config/picochip/libgccExtras/clzsi2.S,
5657         config/picochip/libgccExtras/cmpsi2.S,
5658         config/picochip/libgccExtras/divmod15.S,
5659         config/picochip/libgccExtras/divmodhi4.S,
5660         config/picochip/libgccExtras/divmodsi4.S,
5661         config/picochip/libgccExtras/lshrsi3.S,
5662         config/picochip/libgccExtras/parityhi2.S,
5663         config/picochip/libgccExtras/popcounthi2.S,
5664         config/picochip/libgccExtras/subdi3.S,
5665         config/picochip/libgccExtras/ucmpsi2.S,
5666         config/picochip/libgccExtras/udivmodhi4.S,
5667         config/picochip/libgccExtras/udivmodsi4.S: New files.
5668         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
5669         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
5670         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
5671         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
5672         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
5673         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
5674         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
5675         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
5676         files.
5677         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
5678         (HOST_LIBGCC2_CFLAGS): Set.
5679         * config/rs6000/t-darwin64: New file.
5680         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
5681         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
5682         * config/rs6000/t-ppccomm (LIB2ADD): Add
5683         $(srcdir)/config/rs6000/tramp.S.
5684         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
5685         Add  $(srcdir)/config/rs6000/eabi.S.
5686         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
5687         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
5688         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
5689         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
5690         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
5691         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
5692         * config/rs6000/tramp.S: New file.
5693         * config/s390/t-tpf: Remove.
5694         * config/sh/linux-atomic.S: New file.
5695         * config/sh/t-linux (LIB2ADD): Set.
5696         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
5697         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
5698         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
5699         to unwind-dw2.c.
5700         (HOST_LIBGCC2_CFLAGS): Set.
5701         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5702         * config/spu/divmodti4.c, config/spu/divv2df3.c,
5703         config/spu/float_disf.c, config/spu/float_unsdidf.c,
5704         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
5705         config/spu/mfc_multi_tag_release.c,
5706         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
5707         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
5708         config/spu/multi3.c: New files.
5709         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
5710         (HOST_LIBGCC2_CFLAGS): Set.
5711         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
5712         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
5713         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
5714         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
5715         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
5716         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
5717         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
5718         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
5719         config/stormy16/umodsi3.c: New files.
5720         * config/xtensa/lib2funcs.S: New file.
5721         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
5722         * config/xtensa/t-xtensa (LIB2ADD): Set.
5723         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
5724         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
5725         Add t-freebsd-thread to tmake_file for posix threads.
5726         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
5727         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
5728         (*-*-lynxos*): Likewise.
5729         (*-*-netbsd*): Likewise.
5730         (*-*-openbsd*): Likewise.
5731         Add t-openbsd-thread to tmake_file for posix threads.
5732         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
5733         (*-*-vxworks*): Set tmake_file.
5734         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
5735         (alpha*-*-freebsd*): Likewise.
5736         (alpha*-*-netbsd*): Likewise.
5737         (alpha*-*-openbsd*): Likewise.
5738         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
5739         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
5740         (alpha*-dec-*vms*): Likewise.
5741         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
5742         (bfin*-elf*): Add bfin/t-elf to tmake_file.
5743         (bfin*-uclinux*): Likewise.
5744         (bfin*-linux-uclibc*): Likewise.
5745         (crisv32-*-elf): Add cris/t-cris to tmake_file.
5746         (crisv32-*-none): Likewise.
5747         (cris-*-elf): Likewise.
5748         (cris-*-none): Likewise.
5749         (cris-*-linux*, crisv32-*-linux*): Likewise.
5750         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
5751         tmake_file.
5752         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
5753         tmake_file.
5754         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
5755         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
5756         (x86_64-*-elf*): Likewise.
5757         (i[34567]86-*-nto-qnx*): Likewise.
5758         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
5759         win32 threads.
5760         (x86_64-*-mingw*): Likewise.
5761         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
5762         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
5763         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
5764         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
5765         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
5766         tmake_file.
5767         (mipsisa64sr71k-*-elf*): Likewise.
5768         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
5769         (mips-*-elf*, mipsel-*-elf*): Likewise.
5770         (mips64-*-elf*, mips64el-*-elf*): Likewise.
5771         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
5772         (mips*-*-rtems*): Likewise.
5773         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
5774         to tmake_file.
5775         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
5776         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
5777         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
5778         (spu-*-elf*): Likewise.
5779         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
5781 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5783         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
5784         $(srcdir) to refer to $(LIB1ASMSRC).
5785         Use $<.
5786         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
5787         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
5788         config/arm/lib1funcs.S: New files.
5789         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
5790         * config/arm/t-arm: New file.
5791         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
5792         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
5793         config/arm/t-strongarm-elf: New files.
5794         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
5795         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
5796         * config/avr/lib1funcs.S: New file.
5797         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5798         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
5799         * config/c6x/lib1funcs.S: New file.
5800         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5801         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
5802         * config/frv/lib1funcs.S: New file.
5803         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5804         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
5805         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
5806         * config/ia64/__divxf3.asm: Rename to ...
5807         * config/ia64/__divxf3.S: ... this.
5808         Adapt lib1funcs.asm filename.
5809         * config/ia64/_fixtfdi.asm: Rename to ...
5810         * config/ia64/_fixtfdi.S: ... this.
5811         Adapt lib1funcs.asm filename.
5812         * config/ia64/_fixunstfdi.asm: Rename to ...
5813         * config/ia64/_fixunstfdi.S: ... this.
5814         Adapt lib1funcs.asm filename.
5815         * config/ia64/_floatditf.asm: Rename to ...
5816         * config/ia64/_floatditf.S: ... this.
5817         Adapt lib1funcs.asm filename.
5818         * config/ia64/lib1funcs.S: New file.
5819         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
5820         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5821         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
5822         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
5823         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
5824         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
5825         * config/mep/lib1funcs.S: New file.
5826         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5827         * config/mips/mips16.S: New file.
5828         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5829         * config/pa/milli64.S: New file.
5830         * config/pa/t-linux, config/pa/t-linux64: New files.
5831         * config/picochip/lib1funcs.S: New file.
5832         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5833         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
5834         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
5835         * config/sh/t-netbsd: New file.
5836         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
5837         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
5838         * config/sh/t-sh64: New file.
5839         * config/sparc/lb1spc.S: New file.
5840         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
5841         filename.
5842         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
5843         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
5844         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
5845         config/xtensa/lib1funcs.S: New files.
5846         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5847         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
5848         tmake_file.
5849         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
5850         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
5851         (arm*-*-linux*): Likewise.
5852         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
5853         arm*-*-linux-*eabi, add arm/t-linux otherwise.
5854         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
5855         (arm*-*-ecos-elf): Likewise.
5856         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
5857         (arm*-*-rtems*): Likewise.
5858         (arm*-*-elf): Likewise.
5859         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
5860         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
5861         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
5862         (bfin*-uclinux*): Likewise.
5863         (bfin*-linux-uclibc*): Likewise.
5864         (bfin*-rtems*): Likewise.
5865         (bfin*-*): Likewise.
5866         (fido-*-elf): Merge into m68k-*-elf*.
5867         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
5868         (frv-*-*linux*): Add frv/t-frv to tmake_file.
5869         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
5870         (h8300-*-elf*): Likewise.
5871         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
5872         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
5873         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
5874         (i[34567]86-*-mingw*): Likewise.
5875         (x86_64-*-mingw*): Likewise.
5876         (i[34567]86-*-interix3*): Likewise.
5877         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
5878         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
5879         (m68k-*-elf*): Also handle fido-*-elf.
5880         Add m68k/t-floatlib to tmake_file.
5881         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
5882         (m68k-*-linux*): Likewise.
5883         (m68k-*-rtems*): Likewise.
5884         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
5885         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
5886         sh64*-*-*.
5887         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
5888         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
5889         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
5890         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
5891         sh/t-netbsd to tmake_file.
5892         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
5893         (sh-*-rtems*): Add sh/t-sh to tmake_file.
5894         (sh-wrs-vxworks): Likewise.
5895         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
5896         *-leon[3-9]*.
5897         (v850*-*-*): Add v850/t-v850 to tmake_file.
5898         (vax-*-linux*): Add vax/t-linux to tmake_file.
5899         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
5901 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5903         * crtstuff.c: New file.
5904         * Makefile.in (CRTSTUFF_CFLAGS): Define.
5905         (CRTSTUFF_T_CFLAGS): Define.
5906         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
5907         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
5908         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
5909         crtstuff.c.
5910         Use $<.
5911         (crtbeginT.o): Use $(objext).
5912         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
5913         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
5914         (gcc-extra-parts): Remove.
5915         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
5916         Set extra_parts.
5917         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
5918         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
5919         Add t-crtstuff-pic to tmake_file.
5920         (*-*-lynxos*): New case.
5921         Set tmake_file, extra_parts.
5922         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
5923         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
5924         *-*-netbsdelf[2-9]*.
5925         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
5926         (*-*-rtems*): Set extra_parts.
5927         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
5928         (*-*-uclinux*): New case.
5929         Set extra_parts.
5930         (*-*-vms*): New case.
5931         Set tmake_file, extra_parts.
5932         (*-*-elf): Set extra_parts.
5933         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
5934         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
5935         vms/t-vms64.
5936         Set extra_parts.
5937         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
5938         Set extra_parts.
5939         (arm*-*-freebsd*): Add t-crtin to tmake_file.
5940         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
5941         (arm-wrs-vxworks): Append to tmake_file.
5942         Set extra_parts.
5943         (arm*-*-uclinux*): Set extra_parts.
5944         (arm*-*-ecos-elf): Likewise.
5945         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
5946         arm*-*-eabi*.
5947         (arm*-*-rtems*): Set extra_parts.
5948         (arm*-*-elf): Likewise.
5949         (avr-*-rtems*): Clear extra_parts.
5950         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
5951         Set extra_parts.
5952         (bfin*-uclinux*): Likewise.
5953         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
5954         (bfin*-rtems*): Append to tmake_file.
5955         Set extra_parts.
5956         (bfin*-*): Likewise.
5957         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
5958         (crisv32-*-elf): ... this.
5959         (crisv32-*-none): ... this.
5960         (cris-*-elf, cris-*-none): New cases.
5961         Add cris/t-elfmulti to tmake_file.
5962         (fr30-*-elf): Append to tmake_file.
5963         Set extra_parts.
5964         (frv-*-elf): Append to tmake_file, add frv/t-frv.
5965         Set extra_parts.
5966         (h8300-*-rtems*): Append to tmake_file.
5967         Set extra_parts.
5968         (h8300-*-elf*): Likewise.
5969         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
5970         Set extra_parts.
5971         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
5972         Set extra_parts.
5973         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
5974         (x86_64-*-elf*): Likewise.
5975         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
5976         (x86_64-*-freebsd*): Likewise.
5977         (x86_64-*-netbsd*): Likewise.
5978         (i[34567]86-*-linux*): Likewise.
5979         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
5980         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
5981         (x86_64-*-linux*): Likewise.
5982         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
5983         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
5984         tmake_file.
5985         Set extra_parts.
5986         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
5987         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
5988         Append to extra_parts, remove crtbegin.o, crtend.o.
5989         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
5990         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
5991         crtend.o, crtbeginS.o, crtendS.o.
5992         (ia64*-*-linux*): Comment extra_parts.
5993         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
5994         Set extra_parts.
5995         (iq2000*-*-elf*): Clear extra_parts.
5996         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
5997         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
5998         (m32r-*-elf*, m32r-*-rtems*): Split off ...
5999         (m32r-*-rtems*): ... this.
6000         Add m32r/t-m32r to tmake_file.
6001         (m68k-*-elf*): Add t-crtin to tmake_file.
6002         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
6003         (mcore-*-elf): Likewise.
6004         (microblaze*-*-*): Set extra_parts.
6005         (mips*-sde-elf*): New case.
6006         Set tmake_file, extra_parts.
6007         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6008         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6009         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
6010         tmake_file.
6011         Set extra_parts.
6012         (mipsisa64sr71k-*-elf*): Likewise.
6013         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6014         (mips-*-elf*, mipsel-*-elf*): Likewise.
6015         (mips64-*-elf*, mips64el-*-elf*): Likewise.
6016         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
6017         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
6018         (mips*-*-rtems*): Likewise.
6019         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
6020         (moxie-*-*): Split into ...
6021         (moxie-*-elf, moxie-*-uclinux*): ... this.
6022         Add to extra_parts, remove crtbegin.o, crtend.o.
6023         (moxie-*-rtems*): New case.
6024         Set tmake_file.
6025         Clear extra_parts.
6026         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
6027         Set extra_parts.
6028         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6029         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
6030         tmake_file.
6031         Set extra_parts.
6032         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
6033         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
6034         Set extra_parts.
6035         (powerpc-*-eabisim*): Likewise.
6036         (powerpc-*-elf*): Likewise.
6037         (powerpc-*-eabialtivec*): Likewise.
6038         (powerpc-xilinx-eabi*): Likewise.
6039         (powerpc-*-eabi*): Likewise.
6040         (powerpc-*-rtems*): Likewise.
6041         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
6042         tmake_file.
6043         Set extra_parts.
6044         (powerpc-*-lynxos*): Add to tmake_file.
6045         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
6046         rs6000/t-crtstuff, t-crtstuff-pic.
6047         Set extra_parts.
6048         (powerpcle-*-eabisim*): Likewise.
6049         (powerpcle-*-eabi*): Likewise.
6050         (rx-*-elf): Remove extra_parts.
6051         (s390x-ibm-tpf*): Set extra_parts.
6052         (score-*-elf): Set extra_parts.
6053         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6054         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6055         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6056         (sh64l*-*-netbsd*): Split into ...
6057         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
6058         Add t-crtstuff-pic to tmake_file.
6059         Set extra_parts.
6060         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
6061         Set extra_parts.
6062         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
6063         (sparc-*-elf*): Remove t-crtin from tmake_file.
6064         Add to extra_parts, remove crtbegin.o, crtend.o.
6065         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
6066         (sparc64-*-linux*): Likewise.
6067         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
6068         Add to extra_parts, remove crtbegin.o, crtend.o.
6069         (sparc64-*-elf*): Remove t-crtin from tmake_file.
6070         Add to extra_parts, remove crtbegin.o, crtend.o.
6071         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
6072         Add to extra_parts, remove crtbegin.o, crtend.o.
6073         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
6074         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
6075         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
6076         Set extra_parts.
6077         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
6078         Set extra_parts.
6079         (tic6x-*-*): Change to ...
6080         (tic6x-*-elf): ... this.
6081         Set extra_parts.
6082         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
6083         Set extra_parts.
6084         (am33_2.0-*-linux*): Add comment.
6085         (mep*-*-*): Add mep/t-mep to tmake_file.
6086         Set extra_parts.
6087         * config/alpha/t-vms: New file.
6088         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
6089         * config/arm/crti.S, config/arm/crtn.S: New files.
6090         * config/bfin/crti.S, config/bfin/crtn.S: New files.
6091         * config/bfin/crtlibid.S: New file.
6092         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
6093         * config/c6x/crti.S, config/c6x/crtn.S: New files.
6094         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
6095         (crti.o, crtin.o): New rules.
6096         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6097         * config/c6x/t-uclinux: New file.
6098         * config/cris/t-elfmulti: New file.
6099         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
6100         * config/fr30/crti.S, config/fr30/crtn.S: New files.
6101         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
6102         * config/frv/t-frv: New file.
6103         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
6104         * config/h8300/crti.S, config/h8300/crtn.S: New files.
6105         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
6106         New files.
6107         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
6108         refer to cygming-crtbegin.c, cygming-crtend.c.
6109         Use $<.
6110         * config/i386/t-nto: New file.
6111         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
6112         * config/ia64/crti.S, config/ia64/crtn.S: New files.
6113         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
6114         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
6115         Use .S extension.
6116         Use $<.
6117         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6118         (crtinitS.o): New rule.
6119         * config/ia64/vms-crtinit.S: New file.
6120         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
6121         * config/m32r/initfini.c: New file.
6122         * config/m32r/t-linux, config/m32r/t-m32r: New files.
6123         * config/m68k/crti.S, config/m68k/crtn.S: New files.
6124         * config/mcore/crti.S, config/mcore/crtn.S: New files.
6125         * config/mep/t-mep: New file.
6126         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
6127         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
6128         * config/mips/crti.S, config/mips/crtn.S: New files.
6129         * config/mips/t-crtstuff: New file.
6130         * config/mmix/crti.S, config/mmix/crtn.S: New files.
6131         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
6132         (CUSTOM_CRTIN): Set.
6133         ($(T)crti.o, $(T)crtn.o): Remove $(T),
6134         dependencies.
6135         Use $(srcdir) to refer to crti.S, crtn.S.
6136         Use .S extension, $<.
6137         * config/moxie/crti.asm: Rename to ...
6138         * config/moxie/crti.S: ... this.
6139         * config/moxie/crtn.asm: Rename to ...
6140         * config/moxie/crtn.S: ... this.
6141         * config/moxie/t-moxie: Remove.
6142         * config/pa/stublib.c: New file.
6143         * config/pa/t-stublib, config/pa/t-stublib64: New files.
6144         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
6145         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
6146         * config/rs6000/t-crtstuff: New file.
6147         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
6148         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
6149         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
6150         Make output file explicit.
6151         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
6152         Make output file explicit.
6153         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
6154         Make output file explicit.
6155         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
6156         Make output file explicit.
6157         * config/score/crti.S, config/score/crtn.S: New files.
6158         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
6159         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
6160         files.
6161         * config/sh/t-sh, config/sh/t-superh: New files.
6162         * config/sparc/t-linux64: New file.
6163         * config/spu/cache.S, config/spu/cachemgr.c: New files.
6164         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
6165         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
6166         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
6167         * config/t-crtin: Remove.
6168         * config/t-crtstuff-pic: New file.
6169         * config/t-sol2 (CUSTOM_CRTIN): Set.
6170         (crti.o, crtn.o): New rules.
6171         * config/vms/t-vms: New file.
6172         * config/vms/vms-ucrt0.c: New file.
6173         * config/xtensa/t-elf: New file.
6175 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6177         * Makefile.in (SHLIB_NM_FLAGS): Set.
6178         * mkmap-flat.awk, mkmap-symver.awk: New files.
6179         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
6180         exceptions.
6181         * configure: Regenerate.
6182         * config/libgcc-glibc.ver: New file.
6183         * config/libgcc-libsystem.ver: New file.
6184         * config/t-libunwind (SHLIB_LC): Set.
6185         * config/t-linux: New file.
6186         * config/t-slibgcc (INSTALL_SHLIB): New.
6187         (SHLIB_INSTALL): Use it.
6188         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
6189         to mkmap-symver.awk.
6190         (SHLIB_MAPFILES): Don't append, adapt pathname.
6191         (SHLIB_VERPFX): Set.
6192         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
6193         to mkmap-symver.awk.
6194         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
6195         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
6196         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
6197         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
6198         to mkmap-flat.awk.
6199         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
6200         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
6201         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
6202         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
6203         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
6204         * config/i386/libgcc-darwin.10.4.ver,
6205         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
6206         New files.
6207         * config/i386/t-darwin: Remove.
6208         * config/i386/t-darwin64: Likewise.
6209         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
6210         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
6211         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
6212         * config/i386/t-linux: New file.
6213         * config/i386/t-mingw32: New file.
6214         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
6215         * config/ia64/t-glibc: Rename to ...
6216         * config/ia64/t-linux: ... this.
6217         (SHLIB_MAPFILES): Set.
6218         * config/ia64/t-glibc-libunwind: Rename to ...
6219         * config/ia64/t-linux-libunwind: ... this.
6220         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
6221         * config/ia64/t-slibgcc-hpux: New file.
6222         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
6223         * config/m68k/t-slibgcc-elf-ver: New file.
6224         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
6225         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
6226         to mkmap-flat.awk.
6227         * config/pa/t-slibgcc-hpux: New file.
6228         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
6229         files.
6230         * config/rs6000/libgcc-darwin.10.4.ver,
6231         config/rs6000/libgcc-darwin.10.5.ver: New files.
6232         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
6233         config/rs6000/libgcc-glibc.ver.
6234         * config/rs6000/libgcc-ppc64.ver: Rename to
6235         config/rs6000/libgcc-ibm-ldouble.ver.
6236         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
6237         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
6238         * config/rs6000/t-ldbl128: Rename to ...
6239         * config/rs6000/t-linux: ... this.
6240         (SHLIB_MAPFILES): Adapt filename.
6241         * config/rs6000/t-slibgcc-aix: New file.
6242         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
6243         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
6244         libgcc-excl.ver, libgcc-glibc.ver.
6245         (SHLIB_LINK, SHLIB_INSTALL): Remove.
6246         * config/sparc/libgcc-glibc.ver: New file.
6247         * config/sparc/t-linux: New file.
6248         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
6249         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
6250         t-slibgcc-elf-ver to tmake_file.
6251         Add t-slibgcc-nolc-override to tmake_file for posix threads on
6252         *-*-freebsd[34].
6253         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6254         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
6255         t-slibgcc-elf-ver, t-linux to tmake_file.
6256         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
6257         tmake_file.
6258         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
6259         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
6260         (alpha*-dec-*vms*): Likewise.
6261         (arm*-*-freebsd*): Append to tmake_file.
6262         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
6263         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
6264         arm*-*-linux-*eabi.
6265         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
6266         tmake_file for arm*-*-symbianelf*.
6267         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
6268         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
6269         cris/t-linux.
6270         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
6271         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
6272         pa/t-slibgcc-dwarf-ver to tmake_file.
6273         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
6274         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
6275         (hppa*64*-*-hpux11*): Likewise.
6276         (hppa[12]*-*-hpux11*): Likewise.
6277         (x86_64-*-darwin*): Don't override tmake_file, but only keep
6278         i386/t-crtpc, i386/t-crtfm.
6279         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
6280         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6281         to tmake_file.
6282         Add i386/t-cygwin to tmake_file.
6283         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
6284         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
6285         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6286         to tmake_file.
6287         Add i386/t-mingw32 to tmake_file.
6288         (x86_64-*-mingw*): Likewise.
6289         (ia64*-*-freebsd*): Append to tmake_file.
6290         (ia64*-*-linux*): Append to tmake_file.
6291         Replace ia64/t-glibc by ia64/t-linux.
6292         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
6293         system libunwind.
6294         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
6295         t-slibgcc-hpux to tmake_file.
6296         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
6297         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
6298         (m32rle-*-linux*): Likewise.
6299         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
6300         sjlj exceptions.
6301         (microblaze*-linux*): New case.
6302         Append to tmake_file, add t-slibgcc-nolc-override.
6303         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
6304         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6305         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
6306         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6307         rs6000/t-slibgcc-aix to tmake_file.
6308         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6309         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6310         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6311         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6312         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6313         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
6314         sh*-*-linux*.
6315         (sparc-*-linux*): Append to tmake_file for *-leon*.
6316         Add sparc/t-linux to tmake_file for non-Leon targets.
6317         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
6318         (tic6x-*-uclinux): New case.
6319         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
6320         (tic6x-*-*): Add c6x/t-elf to tmake_file.
6321         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
6322         (am33_2.0-*-linux*): Append to tmake_file.
6323         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6324         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
6325         x86_64-*-kfreebsd*-gnu.
6326         Add i386/t-linux to tmake_file.
6328 2011-10-28  Ian Lance Taylor  <iant@google.com>
6330         * config/i386/morestack.S: Correct CFI information to do proper
6331         returns throughout function.  In 32-bit mode, save %ebx so that it
6332         is restored on unwind.
6334 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
6336         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
6337         case where B3 isn't the return register.
6339         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
6340         logic for doubleword pops.
6342 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
6344         * config/rs6000/t-freebsd: Add wildcard.
6346 2011-10-21  Paul Brook  <paul@codesourcery.com>
6348         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
6350 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
6351             Eric Botcazou  <ebotcazou@adacore.com>
6353         PR target/50737
6354         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
6355         fs->signal_frame to 1.
6357 2011-10-07  Ian Lance Taylor  <iant@google.com>
6359         * generic-morestack-thread.c: #include <errno.h>.
6361 2011-10-07  Ian Lance Taylor  <iant@google.com>
6363         PR target/46093
6364         * generic-morestack.c (__generic_morestack): Make sure the segment
6365         is large enough for both the stack frame and the copied
6366         parameters.
6368 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6370         PR bootstrap/49804
6371         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
6372         extra_parts.
6374 2011-09-28  Nick Clifton  <nickc@redhat.com>
6376         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
6377         64-bit doubles are not enabled.
6378         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
6379         and floatunsisf functions.
6381 2011-09-13  Paul Brook  <paul@codesourcery.com>
6383         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
6384         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
6385         * unwind-arm-common.inc: New file.
6386         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
6387         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
6388         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
6389         * config/c6x/libunwind.S: New file.
6390         * config/c6x/pr-support.c: New file.
6391         * config/c6x/unwind-c6x.c: New file.
6392         * config/c6x/unwind-c6x.h: New file.
6393         * config/c6x/t-c6x-elf: New file.
6395 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
6397         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
6398         (ASM_DIVZERO): Ditto.
6399         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
6401 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
6403         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
6405 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
6407         PR target/50090
6408         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
6409         instead of an assembly one.
6411 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
6413         PR bootstrap/50047
6414         * Makefile.in (install-unwind_h): Create
6415         $(gcc_objdir)/include/unwind.h atomically.
6417 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6419         * Makefile.in (install-unwind_h): Remove destination file first.
6421 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6423         * sync.c: New file.
6424         * config/mips/t-mips16: New file.
6425         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
6426         (mips*-*-linux*): Likewise.
6427         (mips*-sde-elf*): Likewise.
6428         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
6429         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
6430         Add mips/t-mips16 to tmake_file.
6431         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
6432         (mips-*-elf*): Likewise.
6433         (mips64-*-elf*): Likewise.
6434         (mips64orion-*-elf*): Likewise.
6435         (mips*-*-rtems*): Likewise.
6436         (mipstx39-*-elf*): Likewise.
6437         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
6438         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
6439         LIBGCC_SYNC_CFLAGS.
6440         Use $(srcdir) to refer to sync.c.
6441         Use $<.
6442         ($(libgcc-sync-funcs-o)): Likewise.
6443         ($(libgcc-sync-size-funcs-s-o)): Likewise.
6444         ($(libgcc-sync-funcs-s-o)): Likewise.
6446 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
6448         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
6449         t-libunwind.
6451 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
6453         PR other/48007
6454         * config/i386/value-unwind.h: New.
6456 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
6458         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
6459         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
6460         Add to tmake_file rather than overriding it.
6462 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6464         * config/t-softfp: Remove.
6465         * soft-fp: Moved from ../gcc/config.
6466         * soft-fp/README: Remove t-softfp reference.
6467         * soft-fp/t-softfp: Move to config/t-softfp.
6468         (softfp_machine_header): Remove.
6469         (softfp_file_list): Remove config subdir.
6470         (soft-fp-objects): New variable.
6471         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
6472         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
6473         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
6474         * config/t-softfp-excl: New file.
6475         * config/t-softfp-sfdf: New file.
6476         * config/t-softfp-tf: New file.
6477         * config/no-sfp-machine.h: New file.
6478         * config/arm/sfp-machine.h: New file.
6479         * config/arm/t-softfp: New file.
6480         * config/c6x/sfp-machine.h: New file.
6481         * config/i386/32/t-fprules-softfp: Rename to ...
6482         * config/i386/32/t-softfp: ... this.
6483         (tifunctions, LIB2ADD): Remove.
6484         (softfp_int_modes): Override.
6485         * config/i386/64/t-softfp-compat (tf-functions): Remove config
6486         subdir.
6487         * config/i386/64/eqtf2.c: Likewise.
6488         * config/i386/64/getf2.c: Likewise.
6489         * config/i386/64/letf2.c: Likewise.
6490         * config/ia64/sft-machine.h: New file.
6491         * config/ia64/t-fprules-softfp: Rename to ...
6492         * config/ia64/t-softfp: ... this.
6493         * config/lm32/sfp-machine.h: New file.
6494         * config/moxie/t-moxie-softfp: Remove.
6495         * config/rs6000/ibm-ldouble-format: New file.
6496         * config/rs6000/ibm-ldouble.c: New file.
6497         * config/rs6000/libgcc-ppc-glibc.ver: New file
6498         * config/rs6000/libgcc-ppc64.ver: New file
6499         * config/rs6000/sfp-machine.h: New file.
6500         * config/rs6000/t-freebsd: New file.
6501         * config/rs6000/t-ibm-ldouble: New file.
6502         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
6503         libgcc-ppc-glibc.ver.
6504         * config/rs6000/t-linux64: New file.
6505         * config/rs6000/t-ppccomm (LIB2ADD): Add
6506         $(srcdir)/config/rs6000/ibm-ldouble.c.
6507         * config/rs6000/t-ppccomm-ldbl: New file.
6508         * config/score/sfp-machine.h: New file.
6509         * config.host (sfp_machine_header): Explain.
6510         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
6511         t-softfp to tmake_file.
6512         (arm*-*-uclinux*): Likewise.
6513         (arm*-*-ecos-elf): Likewise.
6514         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6515         (arm*-*-rtems*): Likewise.
6516         (arm*-*-elf): Likewise.
6517         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
6518         in tmake_file.
6519         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
6520         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
6521         (lm32-*-uclinux*): Likewise.
6522         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
6523         t-softfp-excl, t-softfp.
6524         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
6525         (powerpc64-*-darwin*): Likewise.
6526         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
6527         to tmake_file.
6528         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
6529         tmake_file.
6530         (powerpc-*-eabisim*): Likewise.
6531         (powerpc-*-elf*): Likewise.
6532         (powerpc-*-eabialtivec*): Likewise.
6533         (powerpc-xilinx-eabi*): Likewise.
6534         (powerpc-*-rtems*): Likewise.
6535         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
6536         t-softfp-excl, t-softfp to tmake_file.
6537         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
6538         rs6000/t-ppccomm-ldbl to tmake_file.
6539         (powerpcle-*-elf*): Likewise.
6540         (powerpcle-*-eabisim*): Likewise.
6541         (powerpcle-*-eabi*): Likewise.
6542         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6543         rs6000/t-ibm-ldouble to tmake_file.
6544         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6545         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6546         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
6547         (tic6x-*-*): Likewise.
6548         (i[34567]86-*-darwin*, x86_64-*-darwin*,
6549         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
6550         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
6551         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
6552         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
6553         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
6554         t-softfp to tmake_file.
6555         * configure.ac (sfp_machine_header): Provide default if unset.
6556         Substitute.
6557         Link sfp-machine.h to config/$sfp_machine_header.
6558         * configure: Regenerate.
6560 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6562         * Makefile.in (double_type_size, long_double_type_size): Set.
6563         Remove $(fpbit-in-libgcc) support.
6564         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
6565         (fpbit-src): New variable.
6566         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
6567         Compile with -DFLOAT $(FPBIT_CFLAGS).
6568         Use $<.
6569         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
6570         Compile with $(FPBIT_CFLAGS).
6571         Use $<.
6572         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
6573         Compile with -DFLOAT $(TPBIT_CFLAGS).
6574         Use $<.
6575         * configure.ac (double_type_size, long_double_type_size):
6576         Determine and substitute.
6577         * configure: Regenerate.
6578         * fp-bit.c, fp-bit.h: New files.
6579         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
6580         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
6581         * config/mips/t-mips: New file.
6582         * config/mips/t-sdemtk: New file.
6583         * config/rs6000/ppc64-fp.c: New file.
6584         * config/rs6000/t-darwin (LIB2ADD): Add
6585         $(srcdir)/config/rs6000/ppc64-fp.c.
6586         * config/rs6000/t-ppc64-fp: New file.
6587         * config/rx/rx-lib.h: New file.
6588         * config/rx/t-rx (FPBIT): Set to true.
6589         ($(gcc_objdir)/fp-bit.c): Remove.
6590         (DPBIT): Set to true only with -m64bit-doubles.
6591         ($(gcc_objdir)/dp-bit.c): Remove.
6592         * config/sparc/t-softfp: Remove.
6593         * config/spu/t-elf: New file.
6594         * config/t-fdpbit, config/t-fpbit: New files.
6595         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
6596         (mips*-*-*): Likewise.
6597         (arm-wrs-vxworks): Likewise.
6598         (arm*-*-freebsd*): Likewise.
6599         (avr-*-rtems*): Add t-fpbit to tmake_file.
6600         (avr-*-*): Likewise.
6601         (bfin*-elf*): Add t-fdpbit to tmake_file.
6602         (bfin*-uclinux*): Likewise.
6603         (bfin*-linux-uclibc*): Likewise.
6604         (bfin*-rtems*): New case.
6605         Add t-fdpbit to tmake_file.
6606         (bfin*-*): Add t-fdpbit to tmake_file.
6607         (crisv32-*-elf): Likewise.
6608         (cris-*-linux*): Likewise.
6609         (fr30-*-elf): Likewise.
6610         (frv-*-elf, frv-*-*linux*): Likewise.
6611         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
6612         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
6613         (m32r-*-elf*): Likewise.
6614         (m32rle-*-elf*): Likewise.
6615         (m32r-*-linux*): Likewise.
6616         (m32rle-*-linux*): Likewise.
6617         (mcore-*-elf): Add t-fdpbit to tmake_file.
6618         (microblaze*-*-*): Likewise.
6619         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
6620         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
6621         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
6622         Fix typo.
6623         Add mips/t-tpbit to tmake-file.
6624         (mips*-*-linux*): Fix typo.
6625         (mips*-sde-elf*): New case
6626         Add mips/t-sdemtk unless using newlib.
6627         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
6628         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
6629         (mn10300-*-*): Likewise.
6630         (pdp11-*-*): Likewise.
6631         (picochip-*-*): Add t-fpbit to tmake_file.
6632         (powerpc-*-eabisimaltivec*): Likewise.
6633         (powerpc-*-eabisim*): Likewise.
6634         (powerpc-*-elf*): Likewise.
6635         (powerpc-*-eabialtivec*): Likewise.
6636         (powerpc-xilinx-eabi*): New case.
6637         Add t-fdpbit to tmake_file.
6638         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
6639         (powerpc-*-rtems*): Likewise.
6640         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
6641         tmake_file.
6642         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
6643         tmake_file.
6644         (powerpc-*-lynxos*): Likewise.
6645         (powerpcle-*-elf*): Likewise.
6646         (powerpcle-*-eabisim*): Likewise.
6647         (powerpcle-*-eabi*): Likewise.
6648         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6649         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
6650         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6651         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6652         (rx-*-elf): Add t-fdpbit to tmake_file.
6653         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6654         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6655         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6656         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
6657         sh*-*-netbsd*.
6658         (sh-*-rtems*): Add t-fdpbit to tmake_file.
6659         (sh-wrs-vxworks): Likewise.
6660         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
6661         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
6662         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
6663         (sparc64-*-rtems*): ... new case.
6664         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
6665         (spu-*-elf*): Likewise.
6666         Add spu/t-elf to tmake_file.
6667         (v850*-*-*): Add t-fdpbit to tmake_file.
6668         (xstormy16-*-elf): Likewise.
6669         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
6670         (mep*-*-*): Likewise.
6672 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6674         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
6675         variables.
6676         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
6677         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
6678         (install-unwind_h): New target.
6679         (all): Depend on it.
6680         * config.host (unwind_header): New variable.
6681         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
6682         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6683         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
6684         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
6685         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
6686         Set unwind_header.
6687         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
6688         Set unwind_header.
6689         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
6690         arm*-*-eabi*.
6691         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
6692         Set unwind_header.
6693         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
6694         (ia64*-*-freebsd*): Likewise.
6695         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
6696         tmake_file.
6697         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
6698         $with_system_libunwind.
6699         (ia64*-*-hpux*): Set tmake_file.
6700         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
6701         (picochip-*-*): Set tmake_file.
6702         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
6703         md_unwind_header.
6704         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6705         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6706         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
6707         (xtensa*-*-elf*): Set tmake_file.
6708         (xtensa*-*-linux*): Likewise.
6709         * configure.ac: Include ../config/unwind_ipinfo.m4.
6710         Call GCC_CHECK_UNWIND_GETIPINFO.
6711         Link unwind.h to $unwind_header.
6712         * configure: Regenerate.
6713         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
6714         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
6715         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
6716         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
6717         * config/unwind-dw2-fde-darwin.c: New file.
6718         * config/arm/libunwind.S, config/arm/pr-support.c,
6719         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
6720         config/arm/unwind-arm.h,: New files.
6721         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
6722         config/ia64/t-eh-ia64, config/ia64/t-glibc,
6723         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
6724         config/ia64/t-vms, config/ia64/unwind-ia64.c,
6725         config/ia64/unwind-ia64.h: New files.
6726         * config/picochip/t-picochip: New file.
6727         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
6728         files.
6729         * config/rs6000/t-darwin (LIB2ADDEH): Set.
6730         * config/s390/t-tpf (LIB2ADDEH): Remove.
6731         * config/t-darwin (LIB2ADDEH): Set.
6732         * config/t-eh-dw2-dip: New file.
6733         * config/t-libunwind, config/t-libunwind-elf: New files.
6734         * config/t-sol2 (LIB2ADDEH): Remove.
6735         * config/xtensa/t-xtensa: New file.
6737 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
6739         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
6740         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
6741         long long to check rt_sigreturn syscall.
6743 2011-08-02  Alan Modra  <amodra@gmail.com>
6745         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
6746         Restore for indirect call bcrtl from correct stack slot, and only
6747         if cfa+40 isn't valid.
6749 2011-08-01  Julian Brown  <julian@codesourcery.com>
6751         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
6752         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
6753         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
6755 2011-08-01  Julian Brown  <julian@codesourcery.com>
6757         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
6758         (libgcc-std.ver.in): Use above.
6759         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
6760         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
6761         throughout file.
6762         * config/t-fixedpoint-gnu-prefix: New file.
6763         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
6764         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
6765         instead of __PFX__.
6767 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
6769         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
6770         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
6771         for x86-64.  Properly check __x86_64__ and __LP64__.
6773 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
6775         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
6776         version.
6777         (_FP_WS_TYPE): Likewise.
6778         (_FP_I_TYPE): Likewise.
6780 2011-07-28  Alan Modra  <amodra@gmail.com>
6782         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
6783         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
6784         in a plt call stub.  Do restore r2 if stopped on bctrl.
6786 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6788         * config.host (i[3456x]86-*-netware*): Remove.
6789         * config/i386/netware-crt0.c, config/i386/t-nwld,
6790         config/i386/t-slibgcc-nwld: Remove.
6792 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
6794         * config.host: Handle tic6x-*-*.
6795         * config/c6x/c6x-abi.h: New file.
6797 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6799         * config/i386/crtprec.c: New file.
6800         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
6801         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
6802         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
6803         (x86_64-*-darwin*): Likewise.
6804         (i[34567]86-*-solaris2*: Likewise.
6806 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6808         * config/alpha/crtfastmath.c: New file.
6809         * config/i386/crtfastmath.c: New file.
6810         * config/ia64/crtfastmath.c: New file.
6811         * config/mips/crtfastmath.c: New file.
6812         * config/sparc/crtfastmath.c: New file.
6814         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
6815         crtfastmath.c.
6816         Add -frandom-seed=gcc-crtfastmath.
6817         * config/alpha/t-crtfm: Remove.
6818         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
6819         * config/ia64/t-ia64 (crtfastmath.o): Remove.
6821         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
6822         (alpha*-dec-osf5.1*): Likewise.
6823         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
6824         Add crtfastmath.o to extra_parts.
6825         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
6826         Add crtfastmath.o to extra_parts.
6827         (x86_64-*-darwin*): Likewise.
6828         (x86_64-*-mingw*): Likewise.
6829         (ia64*-*-elf*): Add t-crtfm to tmake_file.
6830         (ia64*-*-freebsd*): Likewise.
6831         (ia64*-*-linux*): Likewise.
6832         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
6833         Add crtfastmath.o to extra_parts.
6835 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6837         * config/darwin-crt3.o: New file.
6838         * config/rs6000/darwin-crt2.c: New file.
6839         * config/t-darwin: New file.
6840         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
6841         (crt2.o): New rule.
6842         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
6843         (powerpc-*-darwin*): Add crt2.o to extra_parts.
6844         (powerpc64-*-darwin*): Likewise.
6846 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6848         * config/i386/netware-crt0.c: New file.
6849         * config/i386/t-nwld: Rename to ...
6850         * config/i386/t-slibgcc-nwld: ... this.
6851         * config/i386/t-nwld: New file.
6852         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
6853         tmake_file.
6854         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
6855         extra_parts.
6857 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6859         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
6860         i386/t-crtstuff.
6861         * configure: Regenerate.
6863 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6865         * dfp-bit.c, dfp-bit.h: New files.
6866         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
6867         variables.
6868         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
6869         ($(d64pbit-o)): Likewise.
6870         ($(d128pbit-o)): Likewise.
6871         * config/t-dfprules: New file.
6872         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
6873         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
6874         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
6875         (x86_64-*-linux*): Likewise.
6876         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
6877         (i[34567]86-*-cygwin*): Likewise.
6878         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
6879         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6881 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6883         * Makfile.in (LIBGCOV): New variable.
6884         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
6885         * libgcov.c: New file.
6887 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6889         * fixed-bit.c, fixed-bit.h: New files.
6890         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
6891         refer to fixed-bit.c.
6893 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
6895         * config.host (*local*): Remove.
6897 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6899         PR target/39150
6900         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
6901         like i?86-*-solaris2.1[0-9]*.
6902         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
6903         * configure.ac (i?86-*-solaris2*): Likewise.
6904         * configure: Regenerate.
6906 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
6908         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
6909         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
6910         md_unwind_header by splitting out of...
6911         (i[34567]86-*-linux*): ... this.
6912         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
6913         Remove md_unwind_header by splitting out of...
6914         (x86_64-*-linux*): ... this.
6916 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
6918         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
6920 2011-06-28  Nick Clifton  <nickc@redhat.com>
6922         * config.host: Recognize all V850 variants.
6924 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
6926         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
6928 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6930         * shared-object.mk (c_flags-$o): Save c_flags.
6931         ($(base)$(objext)): Use it.
6932         ($(base)_s$(objext)): Likewise.
6934 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
6936         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
6937         * libgcc-std.ver.in (GCC_4.7.0): New section.
6939 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
6941         PR target/49313
6942         PR target/29524
6943         * config/avr/t-avr: Fix line endings.
6944         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
6945         _parityXX2.
6947 2011-06-14  Olivier Hainque  <hainque@adacore.com>
6948             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6950         * config/mips/irix6-unwind.h: New file.
6951         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
6953 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
6955         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
6956         (sparc64_fallback_frame_state): Use it.
6957         (sparc64_frob_update_context): Further adjust context.
6958         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
6959         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
6960         * config/sparc/sol2-cn.S: Likewise.
6962 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6964         * enable-execute-stack-empty.c: New file.
6965         * enable-execute-stack-mprotect.c: New file.
6966         * config/i386/enable-execute-stack-mingw32.c: New file.
6967         * config.host (enable_execute_stack): New variable.
6968         Select appropriate variants.
6969         * configure.ac: Link enable-execute-stack.c to
6970         $enable_execute_stack.
6971         * configure: Regenerate.
6972         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
6973         (lib2funcs): Remove _enable_execute_stack.
6975 2011-06-09  David S. Miller  <davem@davemloft.net>
6976             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6978         * config.host (sparc-*-linux*): Correct md_unwind_header
6979         filename.
6980         (s390x-ibm-tpf*): Fix typo.
6982 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6984         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
6985         Add crtfastmath.o to extra_parts.
6986         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
6987         mips/t-crtfm.
6988         * config/mips/t-crtfm: Remove.
6990 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6992         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
6994 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
6996         * config.host (sh*-*-linux*): Fix typo.
6998 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7000         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
7001         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
7002         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
7003         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
7004         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
7005         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
7006         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
7007         Wrap in !__MINGW64__.
7008         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
7009         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
7010         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
7011         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
7012         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
7013         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
7014         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
7015         Wrap in !__LP64__.
7016         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
7017         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
7018         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
7019         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
7020         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
7021         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
7022         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
7023         * config/no-unwind.h: New file.
7024         * config.host (md_unwind_header): Document.
7025         Define.
7026         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
7027         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
7028         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
7029         hppa[12]*-*-hpux11*): Set md_unwind_header.
7030         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
7031         Set md_unwind_header.
7032         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
7033         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
7034         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
7035         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
7036         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
7037         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
7038         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
7039         md_unwind_header.
7040         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
7041         * configure: Regenerate.
7043 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7045         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
7046         Set tmake_file, extra_parts.
7047         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
7048         Remove O32 support.
7049         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
7050         Remove O32 support.
7051         * config/mips/t-irix6: New file.
7052         * config/mips/t-slibgcc-irix: New file.
7054 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7056         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
7057         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
7059 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7061         * configure.ac (target_thread_file): Determine thread model.
7062         * configure: Regenerate.
7063         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
7064         * config/alpha/t-alpha: New file.
7065         * config/alpha/t-crtfm: Use $<.
7066         * config/alpha/t-ieee: New file.
7067         * config/alpha/t-osf-pthread: New file.
7068         * config/alpha/t-slibgcc-osf: New file.
7069         * config/alpha/libgcc-osf5.ver: New file.
7071 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7073         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
7074         tmake_file.
7075         Add crtfastmath.o to extra_parts.
7077 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7079         * config/gmon-sol2.c: Reindent.
7080         Cleanup comments.
7081         Remove, correct casts.
7082         Use STDERR_FILENO, NULL.
7083         (BASEADDRESS): Remove.
7084         (minbrk): Remove.
7085         (errno, sbrk): Remove declarations.
7086         (monstartup) [hp300]: Remove.
7087         (mcount): Remove.
7089 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7091         * Makefile.in (cpu_type): Define.
7092         * config.host (i[34567]86-*-rtems*): Handle it.
7093         (i[34567]86-*-solaris2*): Move body ...
7094         (*-*-solaris2*): ... here.
7095         New case, generalize.
7096         (sparc-*-elf*): Handle it.
7097         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
7098         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
7099         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
7100         Fold into ...
7101         (sparc*-*-solaris2*): ... this.
7102         New case.
7103         (sparc64-*-elf*): Handle it.
7104         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
7105         Merge ../gcc/config/i386/gmon-sol2.c.
7106         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
7107         Use C comments.
7108         Merge ../gcc/config/i386/sol2-gc1.asm.
7109         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
7110         Use C comments.
7111         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
7112         Use C comments.
7113         * config/i386/t-crtfm (crtfastmath.o): Use $<.
7114         * config/i386/t-crtstuff: New file.
7115         * config/i386/t-softfp: New file.
7116         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
7117         $(T)crti.o, $(T)crtn.o): Remove.
7118         (gcrt1.o): New rule.
7119         (TARGET_LIBGCC2_CFLAGS): Remove.
7120         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
7121         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
7122         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
7123         * config/sparc/t-sol2: New file.
7124         * config/sparc/t-crtfm: Move to ...
7125         * config/t-crtfm: ... this.
7126         Use $(cpu_type), $<.
7127         * config/t-crtin: New file.
7128         * config/sparc/t-softfp: New file.
7129         * config/sparc/t-softmul: New file.
7130         * config/t-rtems: New file.
7131         * config/t-slibgcc: New file.
7132         * config/t-slibgcc-elf-ver: New file.
7133         * config/t-slibgcc-gld: New file.
7134         * config/t-slibgcc-sld: New file.
7135         * config/t-sol2: New file.
7136         * configure.ac: Include ../config/lib-ld.m4.
7137         Call AC_LIB_PROG_LD_GNU.
7138         Substitute cpu_type.
7139         * configure: Regenerate.
7141 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
7143         PR bootstrap/49173
7144         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
7145         libgcc-std.ver in the build directory.
7146         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
7147         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
7149 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
7151         * libgcc-std.ver.in: New file.
7152         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
7153         variables.
7154         (libgcc-std.ver): New rule.
7155         * config/t-gnu-prefix: New file.
7157 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7159         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
7161 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
7163         * config/i386/darwin-lib.h: New file.
7165 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
7167         * config/arm/symbian-lib.h: New.
7169 2011-05-04  Chris Demetriou  <cgd@google.com>
7171         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
7172         (__x86.get_pc_thunk.bx): ...this.
7173         (__morestack): Adjust for rename, remove undef of __i686.
7175 2011-05-03  Chris Demetriou  <cgd@google.com>
7177         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
7179 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
7181         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
7182         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
7183         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
7184         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
7185         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
7186         Remove cases.
7188 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
7190         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
7191         Adjust copyright year.
7193 2011-03-07  Ian Lance Taylor  <iant@google.com>
7195         * generic-morestack.c (__splitstack_find): Adjust returned stack
7196         pointer to include all registers pushed by __morestack.
7198 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
7200         PR target/40125
7201         * configure.ac: Call ACX_NONCANONICAL_TARGET.
7202         (toolexecdir): Calculate and AC_SUBST.
7203         (toolexeclibdir): Likewise.
7204         * Makefile.in (target_noncanonical): Import.
7205         (toolexecdir): Likewise.
7206         (toolexeclibdir): Likewise.
7207         * configure: Regenerate.
7209 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
7211         PR target/46040
7212         * config/arm/bpabi.h: Rename to...
7213         * config/arm/bpabi-lib.h: ...this.
7215 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7217         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
7218         appropriate.
7219         * configure: Regenerate.
7221 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
7223         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
7224         __FLOAT_WORD_ORDER__.
7225         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
7226         Delete.
7228 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7230         PR other/46202
7231         * Makefile.in (install-strip): New phony target.
7233 2010-11-07  Ian Lance Taylor  <iant@google.com>
7235         PR target/46089
7236         * config/i386/morestack.S (__morestack_large_model): New
7237         function.
7239 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
7241         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
7242         Delete.
7243         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
7245 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
7247         * config/arm/bpabi.h: New file.
7248         * config/frv/frv-abi.h: New file.
7250 2010-10-01  Ian Lance Taylor  <iant@google.com>
7252         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
7253         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
7255 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
7257         PR target/45858
7258         * config.host: Add the missing `$'.
7260 2010-09-30  Michael Eager  <eager@eagercon.com>
7262         * config.host: Add microblaze*-*-*.
7263         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
7264         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
7265         udivsi3.asm,umodsi3.asm}:  New.
7267 2010-09-28  Ian Lance Taylor  <iant@google.com>
7269         * configure.ac: Adjust CFI test to test assembler directly rather
7270         than checking gcc preprocessor macro.
7271         * configure: Rebuild.
7273 2010-09-27  Ian Lance Taylor  <iant@google.com>
7275         * configure.ac: Test whether assembler supports CFI directives.
7276         * config.host: Only add t-stack and i386/t-stack-i386 to
7277         tmake_file if libgcc_cv_cfi is "yes".
7278         * configure: Rebuild.
7280 2010-09-27  Ian Lance Taylor  <iant@google.com>
7282         * generic-morestack.h: New file.
7283         * generic-morestack.c: New file.
7284         * generic-morestack-thread.c: New file.
7285         * config/i386/morestack.S: New file.
7286         * config/t-stack: New file.
7287         * config/i386/t-stack-i386: New file.
7288         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
7289         i386/t-stack-i386 to tmake_file.
7291 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
7293         * Makefile.in (libgcc-extra-parts):  Check for static archives and
7294         invoke ranlib after installing them.
7295         (gcc-extra-parts): Likewise.
7296         (install-leaf): Likewise.
7298 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
7300         * configure: Regenerated.
7302 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
7304         * configure: Regenerated.
7306 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
7307             Andrew Pinski  <pinskia@gmail.com>
7309         PR target/40959
7310         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
7312 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7314         PR target/45524
7315         * configure: Regenerated.
7317 2010-09-06  Andreas Schwab  <schwab@redhat.com>
7319         * configure: Regenerate.
7321 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
7323         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
7324         64bit targets.
7325         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
7326         for 64bit targets.
7328 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
7329             Iain Sandoe  <iains@gcc.gnu.org>
7331         PR target/45476
7332         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
7333         LIB2FUNCS_EXCLUDE functions.
7335 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7337         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
7338         Include dfp.m4.
7339         * configure: Regenerate.
7341 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
7343         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
7344         i386/t-freebsd to tmake_file.
7345         * config/i386/t-freebsd: New file.
7346         * config/i386/libgcc-bsd.ver: New file.
7348 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
7350         * config.host (powerpc*-eabispe*): Set tmake_file.
7351         (powerpc*-eabi*): Likewise.
7352         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
7353         crtbeginS, crtendS, crtbeginT.
7355 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
7357         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
7358         to tmake_file.  Add crtfastmath.o to extra_parts.
7359         * config/mips/t-crtfm: New.
7361 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
7363         * config.host (sparc64-*-rtems*): New target.
7365 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7367         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7368         assembler syntax.
7370 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
7372         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
7374 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7376         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
7377         alpha-dec-osf5.0* support.
7379 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
7381         * config.host: Add lm32-*-rtems*.
7383 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7384             Uros Bizjak  <ubizjak@gmail.com>
7386         PR target/39048
7387         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
7388         like other remaining 32-bit x86 OSes.
7389         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7390         assembler syntax.
7391         * config/i386/libgcc-sol2.ver: New file.
7392         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
7394 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
7396         PR c/43553
7397         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
7398         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
7399         is used and substitute set_use_emutls.
7400         * configure: Regenerated.
7402 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
7404         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
7406 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7408         PR target/38085
7409         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
7410         MULTILIB_CFLAGS.
7411         ($(T)gcrt1.o): Likewise.
7412         ($(T)crt1.o): Likewise.
7413         ($(T)crti.o): Likewise.
7414         ($(T)crtn.o): Likewise.
7416 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7418         PR other/42980
7419         * Makefile.in (install): Use $(MAKE) string in rule, for
7420         parallel make.
7422 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
7424         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
7425         * config/mmix/t-mmix: New file.
7426         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
7428 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
7430         PR java/41991
7431         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
7432         SHLIB_MAPFILES.
7434 2010-01-04  Anthony Green  <green@moxielogic.com>
7436         * config/moxie/crti.asm, config/moxie/crtn.asm,
7437         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
7438         config/moxie/t-moxie: New files.
7439         * config.host: Add t-moxie-softfp reference.
7441 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
7443         PR other/39888
7444         * config/t-slibgcc-darwin: Fix embedded rpaths for
7445         --enable-version-specific-runtime-libs, build extension stub
7446         libs exposing features available from current libgcc_s.
7448 2009-11-11  Jon Beniston  <jon@beniston.com>
7450         * config.host: Add lm32 targets.
7451         * config/lm32: New directory.
7452         * config/lm32/libgcc_lm32.h: New file.
7453         * config/lm32/_mulsi3.c: New file.
7454         * config/lm32/_udivmodsi4.c: New file.
7455         * config/lm32/_divsi3.c: New file.
7456         * config/lm32/_modsi3.c: New file.
7457         * config/lm32/_udivsi3.c: New file.
7458         * config/lm32/_umodsi3.c: New file.
7459         * config/lm32/_lshrsi3.S: New file.
7460         * config/lm32/_ashrsi3.S: New file.
7461         * config/lm32/_ashlsi3.S: New file.
7462         * config/lm32/crti.S: New file.
7463         * config/lm32/crtn.S: New file.
7464         * config/lm32/t-lm32: New file.
7465         * config/lm32/t-elf: New file.
7466         * config/lm32/t-uclinux: New file.
7468 2009-10-26  Nick Clifton  <nickc@redhat.com>
7470         * config.host: Add support for RX target.
7471         * config/rx: New directory.
7472         * config/rx/rx-abi-functions.c: New file. Supplementary
7473         functions for libgcc to support the RX ABI.
7474         * config/rx/rx-abi.h: New file.  Supplementary header file for
7475         libgcc RX ABI functions.
7476         * config/rx/t-rx: New file: Makefile fragment for building
7477         libgcc for the RX.
7479 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
7481         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
7482         constraint of y0 to "g".
7484 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7486         * config.host: Include the s390 makefile fragments.
7487         * config/s390/32/_fixdfdi.c: New file.
7488         * config/s390/32/_fixsfdi.c: New file.
7489         * config/s390/32/_fixtfdi.c: New file.
7490         * config/s390/32/_fixunsdfdi.c: New file.
7491         * config/s390/32/_fixunssfdi.c: New file.
7492         * config/s390/32/_fixunstfdi.c: New file.
7493         * config/s390/32/t-floattodi: New file.
7494         * config/s390/libgcc-glibc.ver: New file.
7495         * config/s390/t-crtstuff: New file.
7496         * config/s390/t-linux: New file.
7497         * config/s390/t-tpf: New file.
7499 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7501         * configure.ac (AC_PREREQ): Bump to 2.64.
7503 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
7505         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
7507 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7509         * configure: Regenerate.
7511 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
7513         * config.host (ia64-hp-*vms*): New target.
7514         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
7515         with ia64-hp-*vms*.
7517 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7519         * configure.ac: Add snippet for maintainer-mode.
7520         * configure: Regenerate.
7521         * Makefile.in (AUTOCONF, configure_deps): New variables.
7522         ($(srcdir)/configure)): New rule, active only with maintainer
7523         mode turned on.
7525 2009-06-23  DJ Delorie  <dj@redhat.com>
7527         Add MeP port.
7528         * config.host: Add mep support.
7530 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
7532         * config.host: Add i386/${host_address}/t-fprules-softfp and
7533         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
7535         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
7536         for mingw targets.
7537         * config/i386/64/_multc3.c: Likewise.
7538         * config/i386/64/_powitf2.c: Likewise.
7539         * config/i386/64/eqtf2.c: Likewise.
7540         * config/i386/64/getf2.c: Likewise.
7541         * config/i386/64/letf2.c: Likewise.
7542         * config/i386/64/letf2.c: Likewise.
7543         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
7544         unsigned long long for x64 mingw targets.
7545         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
7546         (_FP_I_TYPE): Define as long long for x64 mingw target.
7548 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
7550         * config.host (vax-*-linux*): New.
7552 2009-05-31  Anthony Green  <green@moxielogic.com>
7554         * config.host: Add moxie support.
7555         * config/moxie/t-moxie: New file.
7557 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
7559         * config.host: Add i386/${host_address}/t-fprules-softfp and
7560         t-softfp to tmake_file for i[34567]86-*-cygwin*.
7562 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
7564         * config.host: Add i386/${host_address}/t-fprules-softfp to
7565         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
7567 2009-04-09  Nick Clifton  <nickc@redhat.com>
7569         * config/ia64/tf-signs.c: Change copyright header to refer to
7570         version 3 of the GNU General Public License with version 3.1
7571         of the GCC Runtime Library Exception and to point readers at
7572         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
7573         web page.
7574         * config/i386/32/tf-signs.c: Likewise.
7575         * config/libbid/_addsub_dd.c: Likewise.
7576         * config/libbid/_addsub_sd.c: Likewise.
7577         * config/libbid/_addsub_td.c: Likewise.
7578         * config/libbid/_dd_to_df.c: Likewise.
7579         * config/libbid/_dd_to_di.c: Likewise.
7580         * config/libbid/_dd_to_sd.c: Likewise.
7581         * config/libbid/_dd_to_sf.c: Likewise.
7582         * config/libbid/_dd_to_si.c: Likewise.
7583         * config/libbid/_dd_to_td.c: Likewise.
7584         * config/libbid/_dd_to_tf.c: Likewise.
7585         * config/libbid/_dd_to_udi.c: Likewise.
7586         * config/libbid/_dd_to_usi.c: Likewise.
7587         * config/libbid/_dd_to_xf.c: Likewise.
7588         * config/libbid/_df_to_dd.c: Likewise.
7589         * config/libbid/_df_to_sd.c: Likewise.
7590         * config/libbid/_df_to_td.c: Likewise.
7591         * config/libbid/_di_to_dd.c: Likewise.
7592         * config/libbid/_di_to_sd.c: Likewise.
7593         * config/libbid/_di_to_td.c: Likewise.
7594         * config/libbid/_div_dd.c: Likewise.
7595         * config/libbid/_div_sd.c: Likewise.
7596         * config/libbid/_div_td.c: Likewise.
7597         * config/libbid/_eq_dd.c: Likewise.
7598         * config/libbid/_eq_sd.c: Likewise.
7599         * config/libbid/_eq_td.c: Likewise.
7600         * config/libbid/_ge_dd.c: Likewise.
7601         * config/libbid/_ge_sd.c: Likewise.
7602         * config/libbid/_ge_td.c: Likewise.
7603         * config/libbid/_gt_dd.c: Likewise.
7604         * config/libbid/_gt_sd.c: Likewise.
7605         * config/libbid/_gt_td.c: Likewise.
7606         * config/libbid/_isinfd128.c: Likewise.
7607         * config/libbid/_isinfd32.c: Likewise.
7608         * config/libbid/_isinfd64.c: Likewise.
7609         * config/libbid/_le_dd.c: Likewise.
7610         * config/libbid/_le_sd.c: Likewise.
7611         * config/libbid/_le_td.c: Likewise.
7612         * config/libbid/_lt_dd.c: Likewise.
7613         * config/libbid/_lt_sd.c: Likewise.
7614         * config/libbid/_lt_td.c: Likewise.
7615         * config/libbid/_mul_dd.c: Likewise.
7616         * config/libbid/_mul_sd.c: Likewise.
7617         * config/libbid/_mul_td.c: Likewise.
7618         * config/libbid/_ne_dd.c: Likewise.
7619         * config/libbid/_ne_sd.c: Likewise.
7620         * config/libbid/_ne_td.c: Likewise.
7621         * config/libbid/_sd_to_dd.c: Likewise.
7622         * config/libbid/_sd_to_df.c: Likewise.
7623         * config/libbid/_sd_to_di.c: Likewise.
7624         * config/libbid/_sd_to_sf.c: Likewise.
7625         * config/libbid/_sd_to_si.c: Likewise.
7626         * config/libbid/_sd_to_td.c: Likewise.
7627         * config/libbid/_sd_to_tf.c: Likewise.
7628         * config/libbid/_sd_to_udi.c: Likewise.
7629         * config/libbid/_sd_to_usi.c: Likewise.
7630         * config/libbid/_sd_to_xf.c: Likewise.
7631         * config/libbid/_sf_to_dd.c: Likewise.
7632         * config/libbid/_sf_to_sd.c: Likewise.
7633         * config/libbid/_sf_to_td.c: Likewise.
7634         * config/libbid/_si_to_dd.c: Likewise.
7635         * config/libbid/_si_to_sd.c: Likewise.
7636         * config/libbid/_si_to_td.c: Likewise.
7637         * config/libbid/_td_to_dd.c: Likewise.
7638         * config/libbid/_td_to_df.c: Likewise.
7639         * config/libbid/_td_to_di.c: Likewise.
7640         * config/libbid/_td_to_sd.c: Likewise.
7641         * config/libbid/_td_to_sf.c: Likewise.
7642         * config/libbid/_td_to_si.c: Likewise.
7643         * config/libbid/_td_to_tf.c: Likewise.
7644         * config/libbid/_td_to_udi.c: Likewise.
7645         * config/libbid/_td_to_usi.c: Likewise.
7646         * config/libbid/_td_to_xf.c: Likewise.
7647         * config/libbid/_tf_to_dd.c: Likewise.
7648         * config/libbid/_tf_to_sd.c: Likewise.
7649         * config/libbid/_tf_to_td.c: Likewise.
7650         * config/libbid/_udi_to_dd.c: Likewise.
7651         * config/libbid/_udi_to_sd.c: Likewise.
7652         * config/libbid/_udi_to_td.c: Likewise.
7653         * config/libbid/_unord_dd.c: Likewise.
7654         * config/libbid/_unord_sd.c: Likewise.
7655         * config/libbid/_unord_td.c: Likewise.
7656         * config/libbid/_usi_to_dd.c: Likewise.
7657         * config/libbid/_usi_to_sd.c: Likewise.
7658         * config/libbid/_usi_to_td.c: Likewise.
7659         * config/libbid/_xf_to_dd.c: Likewise.
7660         * config/libbid/_xf_to_sd.c: Likewise.
7661         * config/libbid/_xf_to_td.c: Likewise.
7662         * config/libbid/bid128.c: Likewise.
7663         * config/libbid/bid128_2_str.h: Likewise.
7664         * config/libbid/bid128_2_str_macros.h: Likewise.
7665         * config/libbid/bid128_2_str_tables.c: Likewise.
7666         * config/libbid/bid128_add.c: Likewise.
7667         * config/libbid/bid128_compare.c: Likewise.
7668         * config/libbid/bid128_div.c: Likewise.
7669         * config/libbid/bid128_fma.c: Likewise.
7670         * config/libbid/bid128_logb.c: Likewise.
7671         * config/libbid/bid128_minmax.c: Likewise.
7672         * config/libbid/bid128_mul.c: Likewise.
7673         * config/libbid/bid128_next.c: Likewise.
7674         * config/libbid/bid128_noncomp.c: Likewise.
7675         * config/libbid/bid128_quantize.c: Likewise.
7676         * config/libbid/bid128_rem.c: Likewise.
7677         * config/libbid/bid128_round_integral.c: Likewise.
7678         * config/libbid/bid128_scalb.c: Likewise.
7679         * config/libbid/bid128_sqrt.c: Likewise.
7680         * config/libbid/bid128_string.c: Likewise.
7681         * config/libbid/bid128_to_int16.c: Likewise.
7682         * config/libbid/bid128_to_int32.c: Likewise.
7683         * config/libbid/bid128_to_int64.c: Likewise.
7684         * config/libbid/bid128_to_int8.c: Likewise.
7685         * config/libbid/bid128_to_uint16.c: Likewise.
7686         * config/libbid/bid128_to_uint32.c: Likewise.
7687         * config/libbid/bid128_to_uint64.c: Likewise.
7688         * config/libbid/bid128_to_uint8.c: Likewise.
7689         * config/libbid/bid32_to_bid128.c: Likewise.
7690         * config/libbid/bid32_to_bid64.c: Likewise.
7691         * config/libbid/bid64_add.c: Likewise.
7692         * config/libbid/bid64_compare.c: Likewise.
7693         * config/libbid/bid64_div.c: Likewise.
7694         * config/libbid/bid64_fma.c: Likewise.
7695         * config/libbid/bid64_logb.c: Likewise.
7696         * config/libbid/bid64_minmax.c: Likewise.
7697         * config/libbid/bid64_mul.c: Likewise.
7698         * config/libbid/bid64_next.c: Likewise.
7699         * config/libbid/bid64_noncomp.c: Likewise.
7700         * config/libbid/bid64_quantize.c: Likewise.
7701         * config/libbid/bid64_rem.c: Likewise.
7702         * config/libbid/bid64_round_integral.c: Likewise.
7703         * config/libbid/bid64_scalb.c: Likewise.
7704         * config/libbid/bid64_sqrt.c: Likewise.
7705         * config/libbid/bid64_string.c: Likewise.
7706         * config/libbid/bid64_to_bid128.c: Likewise.
7707         * config/libbid/bid64_to_int16.c: Likewise.
7708         * config/libbid/bid64_to_int32.c: Likewise.
7709         * config/libbid/bid64_to_int64.c: Likewise.
7710         * config/libbid/bid64_to_int8.c: Likewise.
7711         * config/libbid/bid64_to_uint16.c: Likewise.
7712         * config/libbid/bid64_to_uint32.c: Likewise.
7713         * config/libbid/bid64_to_uint64.c: Likewise.
7714         * config/libbid/bid64_to_uint8.c: Likewise.
7715         * config/libbid/bid_b2d.h: Likewise.
7716         * config/libbid/bid_binarydecimal.c: Likewise.
7717         * config/libbid/bid_conf.h: Likewise.
7718         * config/libbid/bid_convert_data.c: Likewise.
7719         * config/libbid/bid_decimal_data.c: Likewise.
7720         * config/libbid/bid_decimal_globals.c: Likewise.
7721         * config/libbid/bid_div_macros.h: Likewise.
7722         * config/libbid/bid_dpd.c: Likewise.
7723         * config/libbid/bid_flag_operations.c: Likewise.
7724         * config/libbid/bid_from_int.c: Likewise.
7725         * config/libbid/bid_functions.h: Likewise.
7726         * config/libbid/bid_gcc_intrinsics.h: Likewise.
7727         * config/libbid/bid_inline_add.h: Likewise.
7728         * config/libbid/bid_internal.h: Likewise.
7729         * config/libbid/bid_round.c: Likewise.
7730         * config/libbid/bid_sqrt_macros.h: Likewise.
7732 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
7734         * Makefile.in: Change copyright header to refer to version
7735         3 of the GNU General Public License and to point readers at the
7736         COPYING3 file and the FSF's license web page.
7737         * config.host: Likewise.
7739 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
7741         * config.host: Reorder and merge to match config.gcc change.
7743 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
7745         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
7747 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
7749         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
7750         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
7751         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
7752         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
7754 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
7756         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
7757         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
7759 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
7761         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
7762         ia64/t-softfp-compat to tmake_file.
7764         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
7766         * config/ia64/__divxf3.asm: New.
7767         * config/ia64/_fixtfdi.asm: Likewise.
7768         * config/ia64/_fixunstfdi.asm: Likewise.
7769         * config/ia64/_floatditf.asm: Likewise.
7770         * config/ia64/t-fprules-softfp: Likewise.
7771         * config/ia64/t-softfp-compat: Likewise.
7772         * config/ia64/tf-signs.c: Likewise.
7774 2009-01-18  Ben Elliston  <bje@au.ibm.com>
7776         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
7778 2009-01-16  Ben Elliston  <bje@au.ibm.com>
7780         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
7781         to tmake_file.
7783 2009-01-13  Ben Elliston  <bje@au.ibm.com>
7785         * config/t-softfp: New file.
7786         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
7787         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
7789 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
7791         * config.host: Add m32r*-*-rtems*.
7793 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
7795         * config.host: Add m32c*-*-rtems*.
7797 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7799         PR bootstrap/33100
7800         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
7801         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
7802         * configure: Regenerate.
7803         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
7804         tmake_file here from gcc/config.gcc.
7805         Move extra_parts here from gcc/config.gcc.
7806         * config/i386/t-sol2: Move here from gcc/config/i386.
7807         Use gcc_srcdir instead of srcdir.
7809 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
7811         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
7812         case.
7814 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
7816         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
7818 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
7820         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
7822 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
7824         Add picoChip port.
7825         * config.host: Add picochip-*-*.
7827 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
7829         * config.host: Match more processor names for Xtensa.
7831 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
7833         * config/i386/64/t-softfp-compat: Update comments.
7835 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
7837         * config/i386/64/_divtc3-compat.c: Moved to ...
7838         * config/i386/64/_divtc3.c: Here.
7840         * config/i386/64/_multc3-compat.c: Moved to ...
7841         * config/i386/64/_multc3.c: Here.
7843         * config/i386/64/_powitf2-compat.c: Moved to ...
7844         * config/i386/64/_powitf2.c: Here.
7846         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
7847         .c suffix instead of -compat.c.
7849 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
7851         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
7852         (_FP_MUL_MEAT_D): Ditto.
7853         (_FP_DIV_MEAT_S): Ditto.
7854         (_FP_DIV_MEAT_D): Ditto.
7856 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
7858         * Makefile.in: Add support for __sync_* libgcc functions.
7860 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
7862         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
7864 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
7866         PR boostrap/36702
7867         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
7868         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
7870         * config/i386/64/t-fprules-softfp: Moved to ...
7871         * config/i386/64/t-softfp-compat: This.  New.
7873 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
7875         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
7876         Initialize f with 0.0.
7878 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
7880         PR target/36669
7881         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
7883         * config/i386/64/_divtc3-compat.c: New.
7884         * config/i386/64/_multc3-compat.c: Likewise.
7885         * config/i386/64/_powitf2-compat.c: Likewise.
7886         * config/i386/64/eqtf2.c: Likewise.
7887         * config/i386/64/getf2.c: Likewise.
7888         * config/i386/64/letf2.c: Likewise.
7889         * config/i386/64/t-fprules-softfp: Likewise.
7891 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
7893         * config.host: Add i386/${host_address}/t-fprules-softfp to
7894         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
7895         i[34567]86-*-linux*, x86_64-*-linux*.
7897         * configure.ac: Set host_address to 64 or 32 for x86.
7898         * configure: Regenerated.
7900         * Makefile.in (config.status): Also depend on
7901         $(srcdir)/config.host.
7903         * config/i386/32/t-fprules-softfp: New.
7904         * config/i386/32/tf-signs.c: Likewise.
7906         * config/i386/64/sfp-machine.h: New. Moved from gcc.
7908 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
7909             Uros Bizjak  <ubizjak@gmail.com>
7911         * config/i386/32/sfp-machine.h: New.
7913 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
7915         * config/rs6000/t-ppccomm: Remove rules that conflict with
7916         auto-generated rules.
7918 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7920         * configure.ac: sinclude override.m4.
7921         * configure: Regenerate.
7923 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
7925         * configure: Regenerate.
7927 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
7929         * Makefile.in (DECNUMINC): Remove
7930         -I$(MULTIBUILDTOP)../../libdecnumber.
7931         * gstdint.h: New.
7933 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
7935         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
7936         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
7937         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
7938         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
7939         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
7940         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
7941         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
7942         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
7943         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
7944         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
7945         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
7946         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
7947         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
7948         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
7950 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
7952         * config.host (sh2[lbe]*-*-linux*): Allow target.
7954 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
7956         * config/rs6000/t-ppccomm: Add build rules for new files.
7957         (LIB2ADD_ST): New variable.
7959 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
7961         PR target/34210
7962         PR target/35508
7963         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
7964         * config/t-avr: New file. Build 16bit libgcc functions.
7966 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
7968         PR target/35401
7969         * config/t-slibgcc-darwin: Make install-leaf dependent on
7970         install-darwin-libgcc-stubs instead of install.
7972 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
7974         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
7975         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
7976         sh-*-rtemscoff*): Remove cases.
7978 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
7980         * Makefile.in (all): Use install-leaf rather than install.
7981         (install): Split most of the rule into...
7982         (install-leaf): ...this new one.
7984 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
7985             Paolo Bonzini  <bonzini@gnu.org>
7987         PR target/30572
7988         * Makefile.in: Use @shlib_slibdir@ substitution to get
7989         correct install name on darwin.
7990         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
7992 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
7994         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
7995         cris-*-elf and cris-*-none.
7996         (crisv32-*-linux*): Similar, as cris-*-linux*.
7998 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
8000         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
8002 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
8004         PR regression/33926
8005         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
8006         * configure: Regenerated.
8008 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
8010         * Makefile.in (dfp-filenames): Replace decimal_globals,
8011         decimal_data, binarydecimal and convert_data with
8012         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
8013         and bid_convert_data, respectively.
8015 2007-09-17  Chao-ying Fu  <fu@mips.com>
8016             Nigel Stephens  <nigel@mips.com>
8018         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
8019         * Makefile.in (fixed_point): Define.
8020         Check if fixed_point is yes to build support functions.
8021         * configure.ac: Check for fixed_point support.
8022         * configure: Regenerated.
8023         * gen-fixed.sh: New file to generate lists of fixed-point labels,
8024         funcs, modes, from, to.
8026 2007-09-11  Janis Johnson  <janis187@us.ibm.com
8028         * Makefile.in (dfp-filenames): Add bid128_noncomp.
8030 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
8032         * Makefile.in (dfp-filenames): Remove decUtility, add
8033         decDouble, decPacked, decQuad, decSingle.
8035 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
8037         * config.host : Add x86_64-elf target.
8039 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
8041         * configure.ac (set_have_cc_tls): Add a missing =.
8042         * configure: Regenerated.
8044 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
8046         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
8047         and x86_64-*-linux*.
8049         * config/t-tls: New file.
8051         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
8053         * configure.ac: Include ../config/enable.m4 and
8054         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
8055         supports TLS and substitute set_have_cc_tls.
8056         * configure: Regenerated.
8058 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
8060         * Makefile.in: Use libbid for DFP when BID is enabled.
8062 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
8064         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
8065         extra_parts. Add config/i386/t-cygming to tmake_file.
8066         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
8068 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
8069             Danny Smith  <dannysmith@users.sourceforge.net>
8071         PR target/29498
8072         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
8073         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
8074         * config/i386/t-crtfm: Compile crtfastmath.o with
8075         -minline-all-stringops.
8077 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
8079         * config.host (sparc-wrs-vxworks): New target.
8081 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
8083         * config.host: Recognize fido.
8085 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
8087         * configure: Check host, not target, for decimal float support.
8089 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
8091         * config/i386/t-crtpc: New file.
8092         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
8093         (x86_64-*-linux*): Ditto.
8095 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
8097         * config.host (x86_64-*-mingw*): New target.
8099 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
8100             H.J. Lu  <hongjiu.lu@intel.com>
8102         * Makefile.in (enable_decimal_float): New.
8103         (DECNUMINC): Add
8104         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
8105         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
8106         (decbits-filenames): This.
8107         (decbits-objects): New.
8108         (libgcc-objects): Add $(decbits-objects).
8110         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
8111         Substitute enable_decimal_float.
8112         * configure: Regenerated.
8114 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
8116         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
8118 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
8120         * Makefile.in (install-info): New dummy target.
8122 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
8124         * config.host (bfin*-linux-uclibc*): Set extra_parts.
8126 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
8128         * Makefile.in: Add install-html and install-pdf dummy
8129         targets.
8131 2007-02-05  Roger Sayle  <roger@eyesopen.com>
8132             Daniel Jacobowitz  <dan@codesourcery.com>
8134         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
8135         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
8136         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
8138 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
8140         * Makefile.in (dec-filenames): Add decExcept.
8142 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
8144         PR bootstrap/30469
8145         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
8146         -fprofile-use.
8148 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
8150         * configure.ac: Add --enable-version-specific-runtime-libs.
8151         Correct $slibdir default.
8152         * configure: Regenerated.
8154 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
8156         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
8158 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
8160         PR target/30519
8161         * config.host (alpha*-*-linux*): Set extra_parts.
8163 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
8165         * config/sh/t-linux: New.
8166         * config.host (sh*-*-linux*): Set tmake_file.
8168 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
8170         * Makefile.in (install): Handle multilibs.
8172 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
8174         * Makefile.in: Added .PHONY entry for documentation targets.
8176 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
8178         * Makefile.in: Add empty info, html, dvi, pdf targets.
8180 2007-01-04  Mike Stump  <mrs@apple.com>
8182         * Makefile.in (MAKEINFO): Remove.
8183         (PERL): Likewise.
8185 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
8187         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
8188         * configure: Regenerate.
8189         * Makefile.in (host_subdir): Substitute it.
8190         (gcc_objdir): Use it.
8192 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
8194         * config.host (ia64*-*-linux*): Set tmake_file.
8196 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
8198         * Makefile.in (version): Define.
8200 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
8201             Paolo Bonzini  <bonzini@gnu.org>
8203         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
8204         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
8205         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
8206         config/sparc/t-crtfm, config/t-slibgcc-darwin,
8207         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
8208         shared-object.mk, siditi-object.mk, static-object.mk: New files.
8209         * configure: Generated.
8211 Copyright (C) 2007-2016 Free Software Foundation, Inc.
8213 Copying and distribution of this file, with or without modification,
8214 are permitted in any medium without royalty provided the copyright
8215 notice and this notice are preserved.