Make arm_feature_set agree with type of FL_* macros
[official-gcc.git] / libgcc / ChangeLog
blobaff110d79165b864707bdd3da5692129aa50da13
1 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
3         * config/i386/cpuinfo.c (processor_features): Add
4         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
6 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
8         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
9         (__ARC_NORM__): Use instead ARC_OPTFPE.
10         * config/arc/fp-hack.h: Likewise.
11         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
12         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
14 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
16         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
17         * config/nvptx/mgomp.c: New file.
18         * config/nvptx/t-nvptx: Add mgomp.c
20 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
22         PR libgcc/68468
23         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
25 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
27         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
28         of checking for cpus.
29         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
30         (__modsi3, __clzsi2): Likewise.
32 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
35         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
36         * config/i386/t-cpuinfo-static: New.
38 2016-11-03  Martin Liska  <mliska@suse.cz>
40         * libgcov-profiler.c (__gcov_time_profiler): Remove.
41         (__gcov_time_profiler_atomic): Likewise.
43 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
45         PR libgcc/78067
46         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
47         count_leading_zeros.
49 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
51         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
52         * libgcc2.c (__divmoddi4): New function.
53         * libgcc2.h (__divmoddi4): Declare.
54         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
55         and __PFX_divmodti4.
57 2016-10-24  Florian Weimer  <fweimer@redhat.com>
59         PR libgcc/78064
60         * unwind-c.c: Include auto-target.h.
62 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
64         * config/pa/pa64-hpux-lib.h: New file.
65         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
66         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
67         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
68         hppa*64*-*-hpux11*.
70 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
72         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
73         definition.
74         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
75         definition.
76         * config/xtensa/t-windowed (LIB2ADDEH): Use
77         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
78         or xtensa/t-linux.
80 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
82         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
83         __ieee754_sqrt): New functions.
84         (__divdf3): Add implementation with new FPU instructions under
85         #if XCHAL_HAVE_DFP_DIV.
86         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
87         __ieee754_sqrtf): New functions.
88         (__divsf3): Add implementation with new FPU instructions under
89         #if XCHAL_HAVE_FP_DIV.
90         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
91         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
93 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
95         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
96         equivalent.
97         * config/tilepro/atomic.c: Likewise and stop casting model to
98         enum memmodel.
100 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
102         PR target/77586
103         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
104         soft-fp.
106 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
108         * config.host: Add support for aarch64-*-freebsd*.
110 2016-10-05  Andreas Schwab  <schwab@suse.de>
112         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
113         (.section .init_array): Don't call __do_jv_register_classes.
114         (.section .init): Likewise.
116 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
118         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
119         (__JCR_LIST__): Remove.
120         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
121         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
122         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
123         * config/ia64/crtend.S (__JCR_END__): Remove.
124         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
125         conditionals.
126         (__JCR_LIST__, __JCR_END__): Remove.
127         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
128         (__do_global_ctors_1): Likewise.
130 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
132         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
133         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
135 2016-09-27  Martin Liska  <mliska@suse.cz>
137         PR gcov-profile/7970
138         PR gcov-profile/16855
139         PR gcov-profile/44779
140         * libgcov-driver.c (__gcov_init): Do not register a atexit
141         handler.
142         (__gcov_exit): Rename from gcov_exit.
143         * libgcov.h (__gcov_exit): Declare.
145 2016-09-27  Martin Liska  <mliska@suse.cz>
147         PR bootstrap/77749
148         * Makefile.in: Remove _gcov_merge_delta.
149         * libgcov-merge.c (void __gcov_merge_delta): Remove.
150         * libgcov-util.c (__gcov_delta_counter_op): Remove.
151         * libgcov.h: Remove declaration of __gcov_merge_delta.
153 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
155         * configure.ac: Do not create links, only substitute the filenames.
156         * configure: Regenerate.
157         * Makefile.in: Assign the substitution results to variables.
158         (LIBGCC_LINKS): Define.
159         (enable-execute-stack.c): New rule.
160         (unwind.h): Likewise.
161         (md-unwind-support.h): Likewise.
162         (sfp-machine.h): Likewise.
163         (gthr-default.h): Likewise.
164         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
165         unwind.h as prerequisite of install-unwind_h-forbuild.
167 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
169         PR libgcc/71744
170         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
171         is not the primary registry and atomics are available.
172         (any_objects_registered): New variable.
173         (__register_frame_info_bases, __register_frame_info_table_bases):
174         Atomically store 1 to any_objects_registered after registering first
175         unwind info.
176         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
178 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
180         PR target/63250
181         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
182         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
183         (HFtype): Likewise.
184         (HCtype): Likewise.
185         (__divhc3): Likewise.
186         (__mulhc3): Likewise.
187         * libgcc2.c: Support _mulhc3 and _divhc3.
189 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
191         PR libgcc/77519
192         * libgcc2.c (NOTRUNC): Invert settings.
194 2016-09-06  Martin Liska  <mliska@suse.cz>
196         PR gcov-profile/77378
197         PR gcov-profile/77466
198         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
199         conditionaly enable/disable *_atomic functions.
201 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
203         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
204         where not already enabled.
206 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
208         * config/mips/linux-unwind.h: Use sys/syscall.h.
210 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
212         PR libgcc/77265
213         * soft-fp/adddf3.c: Update from glibc.
214         * soft-fp/addsf3.c: Likewise.
215         * soft-fp/addtf3.c: Likewise.
216         * soft-fp/divdf3.c: Likewise.
217         * soft-fp/divsf3.c: Likewise.
218         * soft-fp/divtf3.c: Likewise.
219         * soft-fp/double.h: Likewise.
220         * soft-fp/eqdf2.c: Likewise.
221         * soft-fp/eqsf2.c: Likewise.
222         * soft-fp/eqtf2.c: Likewise.
223         * soft-fp/extenddftf2.c: Likewise.
224         * soft-fp/extended.h: Likewise.
225         * soft-fp/extendsfdf2.c: Likewise.
226         * soft-fp/extendsftf2.c: Likewise.
227         * soft-fp/extendxftf2.c: Likewise.
228         * soft-fp/fixdfdi.c: Likewise.
229         * soft-fp/fixdfsi.c: Likewise.
230         * soft-fp/fixdfti.c: Likewise.
231         * soft-fp/fixsfdi.c: Likewise.
232         * soft-fp/fixsfsi.c: Likewise.
233         * soft-fp/fixsfti.c: Likewise.
234         * soft-fp/fixtfdi.c: Likewise.
235         * soft-fp/fixtfsi.c: Likewise.
236         * soft-fp/fixtfti.c: Likewise.
237         * soft-fp/fixunsdfdi.c: Likewise.
238         * soft-fp/fixunsdfsi.c: Likewise.
239         * soft-fp/fixunsdfti.c: Likewise.
240         * soft-fp/fixunssfdi.c: Likewise.
241         * soft-fp/fixunssfsi.c: Likewise.
242         * soft-fp/fixunssfti.c: Likewise.
243         * soft-fp/fixunstfdi.c: Likewise.
244         * soft-fp/fixunstfsi.c: Likewise.
245         * soft-fp/fixunstfti.c: Likewise.
246         * soft-fp/floatdidf.c: Likewise.
247         * soft-fp/floatdisf.c: Likewise.
248         * soft-fp/floatditf.c: Likewise.
249         * soft-fp/floatsidf.c: Likewise.
250         * soft-fp/floatsisf.c: Likewise.
251         * soft-fp/floatsitf.c: Likewise.
252         * soft-fp/floattidf.c: Likewise.
253         * soft-fp/floattisf.c: Likewise.
254         * soft-fp/floattitf.c: Likewise.
255         * soft-fp/floatundidf.c: Likewise.
256         * soft-fp/floatundisf.c: Likewise.
257         * soft-fp/floatunditf.c: Likewise.
258         * soft-fp/floatunsidf.c: Likewise.
259         * soft-fp/floatunsisf.c: Likewise.
260         * soft-fp/floatunsitf.c: Likewise.
261         * soft-fp/floatuntidf.c: Likewise.
262         * soft-fp/floatuntisf.c: Likewise.
263         * soft-fp/floatuntitf.c: Likewise.
264         * soft-fp/gedf2.c: Likewise.
265         * soft-fp/gesf2.c: Likewise.
266         * soft-fp/getf2.c: Likewise.
267         * soft-fp/ledf2.c: Likewise.
268         * soft-fp/lesf2.c: Likewise.
269         * soft-fp/letf2.c: Likewise.
270         * soft-fp/muldf3.c: Likewise.
271         * soft-fp/mulsf3.c: Likewise.
272         * soft-fp/multf3.c: Likewise.
273         * soft-fp/negdf2.c: Likewise.
274         * soft-fp/negsf2.c: Likewise.
275         * soft-fp/negtf2.c: Likewise.
276         * soft-fp/op-1.h: Likewise.
277         * soft-fp/op-2.h: Likewise.
278         * soft-fp/op-4.h: Likewise.
279         * soft-fp/op-8.h: Likewise.
280         * soft-fp/op-common.h: Likewise.
281         * soft-fp/quad.h: Likewise.
282         * soft-fp/single.h: Likewise.
283         * soft-fp/soft-fp.h: Likewise.
284         * soft-fp/subdf3.c: Likewise.
285         * soft-fp/subsf3.c: Likewise.
286         * soft-fp/subtf3.c: Likewise.
287         * soft-fp/truncdfsf2.c: Likewise.
288         * soft-fp/trunctfdf2.c: Likewise.
289         * soft-fp/trunctfsf2.c: Likewise.
290         * soft-fp/trunctfxf2.c: Likewise.
291         * soft-fp/unorddf2.c: Likewise.
292         * soft-fp/unordsf2.c: Likewise.
293         * soft-fp/unordtf2.c: Likewise.
295 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
297         PR gcov-profile/67097
298         * libgcov-util.c (gcov_profile_merge): Skip missing files.
300 2016-08-10  Martin Liska  <mliska@suse.cz>
302         PR gcov-profile/58306
303         * Makefile.in: New functions (modules) are added.
304         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
305         function.
306         (__gcov_pow2_profiler_atomic): New function.
307         (__gcov_one_value_profiler_body): New argument is instroduced.
308         (__gcov_one_value_profiler): Call with the new argument.
309         (__gcov_one_value_profiler_atomic): Likewise.
310         (__gcov_indirect_call_profiler_v2): Likewise.
311         (__gcov_time_profiler_atomic): New function.
312         (__gcov_average_profiler_atomic): Likewise.
313         (__gcov_ior_profiler_atomic): Likewise.
314         * libgcov.h: Declare the aforementioned functions.
316 2016-08-09  Martin Liska  <mliska@suse.cz>
318         * libgcov-util.c: Fix typo and GNU coding style.
320 2016-08-09  Martin Liska  <mliska@suse.cz>
322         * Makefile.in: Remove __gcov_indirect_call_profiler.
323         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
324         function.
325         * libgcov.h: And the declaration of the function.
327 2016-08-09  Martin Liska  <mliska@suse.cz>
329         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
330         power of two.
332 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
334         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
335         * config/rs6000/_mulkc3.c: Likewise.
337 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
339         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
340         zero_reg as previous call to __umulhisi3 already cleared it.
342 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
344         PR target/59833
345         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
347 2016-07-19  Nick Clifton  <nickc@redhat.com>
349         * config.host (m32r): Add m32r/t-m32r to tmake_file.
350         Add crtinit.o and crtfini.o to extra_parts.
352 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
354         * config/rs6000/_divkc3.c: New.
355         * config/rs6000/_mulkc3.c: New.
356         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
357         and _divkc3.
358         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
359         fp128_ppc_funcs.
361 2016-07-11  Hale Wang  <hale.wang@arm.com>
362             Andre Vieira  <andre.simoesdiasvieira@arm.com>
364         * config/arm/lib1funcs.S: Add new wrapper.
366 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
368         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
370 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
372         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
373         and ARMv5t* rather than for a fixed list of architectures.
375 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
377         * config/arm/bpabi-v6m.S: Clarify what architectures is the
378         implementation suitable for.
379         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
380         for all Thumb-1 only targets.
381         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
382         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
383         __ARM_ARCH_6M__.
384         (EQUIV): Likewise.
385         (ARM_FUNC_ALIAS): Likewise.
386         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
387         version.
388         (modsi3): Likewise.
389         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
390         (clzdi2): Likewise.
391         (ctzsi2): Likewise.
392         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
393         __ARM_ARCH_6M__ in guard for checking whether it is defined.
394         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
395         __ARM_ARCH_6M__ and add comment to indicate the connection between
396         this condition and the one in gcc/config/arm/elf.h.
397         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
398         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
399         * config/arm/t-softfp: Likewise.
401 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
403         * libgcc2.c (SYMBOL__MAIN): Remove checks for
404         CTOR_LISTS_DEFINED_EXTERNALLY.
406 2016-06-28  Walter Lee  <walt@tilera.com>
408         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
409         asm/unistd.h.
410         (SPR_CMPEXCH_VALUE): Define for tilegx.
411         (__NR_FAST_cmpxchg): Define for tilepro.
412         (__NR_FAST_atomic_update): Define for tilepro.
413         (__NR_FAST_cmpxchg64): Define for tilepro.
415 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
417         * config.host: Add suport for arm*-*-phoenix* targets.
419 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
421         * config.host: Remove support for mep-*.
422         * config/mep/lib1funcs.S: Remove.
423         * config/mep/lib2funcs.c: Remove.
424         * config/mep/t-mep: Remove.
425         * config/mep/tramp.c: Remove.
427 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
429         * config.host: Remove support for avr-rtems.
430         * config/avr/t-rtems: Remove.
432 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
434         * config.host: Remove m32r-rtems support.
436 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
438         * config.host: Remove h8300-rtems support.
440 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
442         * config.host: Remove support for knetbsd.
444 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
446         * config.host: Remove support for openbsd 2 and 3.
448 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
450         * config.host: Remove interix support.
451         * config/i386/t-interix: Remove.
453 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
455         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
456         least-significant bit in function pointer for fixup.
458 2016-06-05  Aaron Conole  <aconole@redhat.com>
459             Nathan Sidwell  <nathan@acm.org>
461         PR libgcc/71400
462         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
463         (get_gcov_error_file): Check __gcov_error_file before trying to
464         initialize it.
465         (gcov_error): Always use get_gcov_error_file.
467 2016-06-02  Aaron Conole  <aconole@redhat.com>
469         * libgcov-driver-system.c (__gcov_error_file): New.
470         (get_gcov_error_file): New.
471         (gcov_error): Use and set __gcov_error_file.
472         (gcov_error_exit): New.
473         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
475 2016-05-26  Nathan Sidwell  <nathan@acm.org>
477         * config/nvptx/free.asm: Delete.
478         * config/nvptx/malloc.asm: Delete.
479         * config/nvptx/realloc.c: Delete.
480         * t-nvptx: Update.
482 2016-05-25  Nathan Sidwell  <nathan@acm.org>
484         * config/nvptx/crt0.s: Delete.
485         * config/nvptx/crt0.c: New.
486         * t-nvptx: Update.
488 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
490         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
491         dw2/seh configuration.
492         [x86_64-*-mingw*]: Likewise.
494 2016-05-10  Joel Sherrill <joel@rtems.org>
496         PR libgcc/70720
497         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
498         targets so the same extra_parts are built.  Also have tmake_file add
499         on to its value rather than override.
501 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
503         * config.host: Remove SH5 support.
504         * configure: Likewise.
506 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
508         * config/sh/crt1.S: Remove SH5 support.
509         * config/sh/crti.S: Likewise.
510         * config/sh/crtn.S: Likewise.
511         * config/sh/lib1funcs-4-300.S: Likewise.
512         * config/sh/lib1funcs-Os-4-200.S: Likewise.
513         * config/sh/lib1funcs.S: Likewise.
514         * config/sh/linux-unwind.h: Likewise.
515         * config/sh/t-sh64: Delete.
517 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
519         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
521 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
522             Joern Rennecke  <joern.rennecke@embecosm.com>
524         * config/arc/crttls.S: New file.
525         * config/arc/t-arc: New rule.
526         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
528 2016-04-25  Nick Clifton  <nickc@redhat.com>
530         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
531         (__mspabi_cmpd): Likewise.
532         * config/msp430/floathidf.c (__floathidf): Likewise.
533         * config/msp430/floathisf.c (__floathisf): Likewise
534         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
535         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
536         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
537         second parameter.
538         (__ashrsi3): Likewise.
540 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
542         * config/m68k/linux-atomic.c: Do not include unistd.h
544 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
546         * config/arm/ieee754-df.S: Fix typos in comments.
548 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
550         PR target/70381
551         * configure.ac (powerpc*-*-linux*): Rework tests to build
552         __float128 emulation routines to not depend on using #pragma GCC
553         target to enable -mfloat128.
554         * configure: Regnerate.
556 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
558         PR target/67172
559         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
560         __MINGW32__ is defined.
562 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
564         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
566 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
568         PR libgcc/70363
569         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
570         built with an assembler that does not support ISA 3.0
571         instructions, rename __extendkftf2_sw to __extendkftf2.
573 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
575         PR target/38239
576         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
577         call-clobbered registers.
578         (internal_mcount): Remove __i386__ handling.
580 2016-02-26  Joel Sherrill <joel@rtems.org>
582         * config.host: Add x86_64-*-rtems*.
584 2016-02-26  Joel Sherrill <joel@rtems.org>
586         * libgcc/config.host: Add aarch64-*-rtems*.
588 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
589             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
591         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
592         union of u64 and double.
593         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
594         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
595         value.
596         (FP_ROUNDMODE): Update the usage of _fpscr.
598 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
600         PR driver/68463
601         * Makefile.in (crtoffloadtable$(objext)): New rule.
602         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
603         enable_offload_targets is not empty.
604         * configure: Regenerate.
605         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
606         crtoffloadtable.
608 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
610         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
611         .literal_position before the function.
612         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
613         Likewise.
615 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
617         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
618         * config/s390/morestack.S: New file.
619         * config/s390/t-stack-s390: New file.
620         * generic-morestack.c (__splitstack_find): Add s390-specific code.
622 2016-02-12  Walter Lee  <walt@tilera.com>
624         * config.host (tilegx*-*-linux*): remove ti from
625         softfp_int_modes for 32-bit configs.
627 2016-02-10  Ian Lance Taylor  <iant@google.com>
629         PR go/68562
630         * config/i386/morestack.S (__stack_split_initialize): Align
631         stack.
633 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
635         PR bootstrap/69611
636         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
637         __FLOAT128__ to compile only for __float128 capable targets.
639 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
641         PR target/69444
642         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
643         instead of ___NO_FPRS__.
645 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
646             Steven Munroe  <munroesj@linux.vnet.ibm.com>
647             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
649         * config/rs6000/float128-sed: New files to convert TF names to KF
650         names for PowerPC IEEE 128-bit floating point support.
651         * config/rs6000/float128-sed-hw: Likewise.
653         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
654         floating point hardware support.
656         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
657         128-bit floating point software emulation or use ISA 3.0 hardware
658         support if it is available.
660         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
661         floating point.
663         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
664         floating point to IBM extended double.
666         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
667         double to IEEE 128-bit floating point.
669         * config/rs6000/t-float128: New Makefile fragments to enable
670         building __float128 emulation support.
671         * config/rs6000/t-float128-hw: Likewise.
673         * config/rs6000/sfp-exceptions.c: New file to provide exception
674         support for IEEE 128-bit floating point.
676         * config/rs6000/floattikf.c: New files for converting between IEEE
677         128-bit floating point and signed/unsigned 128-bit integers.
678         * config/rs6000/fixunskfti.c: Likewise.
679         * config/rs6000/fixkfti.c: Likewise.
680         * config/rs6000/floatuntikf.c: Likewise.
682         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
683         when building on 64-bit systems, or when VSX is enabled.
684         (_FP_W_TYPE): Likewise.
685         (_FP_WS_TYPE): Likewise.
686         (_FP_I_TYPE): Likewise.
687         (TItype): Define on 64-bit systems.
688         (UTItype): Likewise.
689         (TI_BITS): Likewise.
690         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
691         (_FP_MUL_MEAT_Q): Likewise.
692         (_FP_DIV_MEAT_D): Likewise.
693         (_FP_DIV_MEAT_Q): Likewise.
694         (_FP_NANFRAC_D): Likewise.
695         (_FP_NANFRAC_Q): Likewise.
696         (ISA_BIT): Add exception support if we are being compiled on a
697         machine with hardware floating point support to build the IEEE
698         128-bit emulation functions.
699         (FP_EX_INVALID): Likewise.
700         (FP_EX_OVERFLOW): Likewise.
701         (FP_EX_UNDERFLOW): Likewise.
702         (FP_EX_DIVZERO): Likewise.
703         (FP_EX_INEXACT): Likewise.
704         (FP_EX_ALL): Likewise.
705         (__sfp_handle_exceptions): Likewise.
706         (FP_HANDLE_EXCEPTIONS): Likewise.
707         (FP_RND_NEAREST): Likewise.
708         (FP_RND_ZERO): Likewise.
709         (FP_RND_PINF): Likewise.
710         (FP_RND_MINF): Likewise.
711         (FP_RND_MASK): Likewise.
712         (_FP_DECL_EX): Likewise.
713         (FP_INIT_ROUNDMODE): Likewise.
714         (FP_ROUNDMODE): Likewise.
716         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
717         VSX code, enable IEEE 128-bit floating point.  If the compiler can
718         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
719         floating point hardware instructions and it supports declaring
720         functions with the ifunc attribute, enable ifunc functions to
721         switch between software and hardware support.
722         * configure.ac (powerpc*-*-linux*): Likewise.
723         * configure: Regenerate.
725 2016-01-15  Nick Clifton  <nickc@redhat.com>
727         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
728         dependency as the source file to be compiled.
729         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
730         (lib2hw_mul_f5.o): Likewise.
732 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
734         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
735         * libgcc/config/rs6000/fixkfti.c: Likewise.
736         * libgcc/config/rs6000/fixunskfti.c: Likewise.
737         * libgcc/config/rs6000/float128-hw.c: Likewise.
738         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
739         * libgcc/config/rs6000/float128-sed: Likewise.
740         * libgcc/config/rs6000/floattikf.c: Likewise.
741         * libgcc/config/rs6000/floatuntikf.c: Likewise.
742         * libgcc/config/rs6000/quad-float128.h: Likewise.
743         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
744         * libgcc/config/rs6000/sfp-machine.h: Likewise.
745         * libgcc/config/rs6000/t-float128: Likewise.
746         * libgcc/config/rs6000/t-float128-hw: Likewise.
747         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
748         * libgcc/config.host: Likewise.
749         * libgcc/configure: Likewise.
750         * libgcc/configure.ac: Likewise.
752 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
753             Steven Munroe  <munroesj@linux.vnet.ibm.com>
754             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
756         * config/rs6000/sfp-exceptions.c: New file to provide exception
757         support for IEEE 128-bit floating point.
759         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
760         floating point hardware support.
762         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
763         point conversions.
764         * config/rs6000/fixunskfti.c: Likewise.
765         * config/rs6000/fixkfti.c: Likewise.
766         * config/rs6000/floatuntikf.c: Likewise.
767         * config/rs6000/extendkftf2-sw.c: Likewise.
768         * config/rs6000/trunctfkf2-sw.c: Likewise.
770         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
771         128-bit floating point software emulation or use ISA 3.0 hardware
772         support if it is available.
774         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
775         floating point.
777         * config/rs6000/t-float128: New Makefile fragments to enable
778         building __float128 emulation support.
779         * config/rs6000/t-float128-hw: Likewise.
781         * config/rs6000/float128-sed: New file to convert TF names to KF
782         names for PowerPC IEEE 128-bit floating point support.
784         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
785         when building on 64-bit systems, or when VSX is enabled.
786         (_FP_W_TYPE): Likewise.
787         (_FP_WS_TYPE): Likewise.
788         (_FP_I_TYPE): Likewise.
789         (TItype): Define on 64-bit systems.
790         (UTItype): Likewise.
791         (TI_BITS): Likewise.
792         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
793         (_FP_MUL_MEAT_Q): Likewise.
794         (_FP_DIV_MEAT_D): Likewise.
795         (_FP_DIV_MEAT_Q): Likewise.
796         (_FP_NANFRAC_D): Likewise.
797         (_FP_NANFRAC_Q): Likewise.
798         (ISA_BIT): Add exception support if we are being compiled on a
799         machine with hardware floating point support to build the IEEE
800         128-bit emulation functions.
801         (FP_EX_INVALID): Likewise.
802         (FP_EX_OVERFLOW): Likewise.
803         (FP_EX_UNDERFLOW): Likewise.
804         (FP_EX_DIVZERO): Likewise.
805         (FP_EX_INEXACT): Likewise.
806         (FP_EX_ALL): Likewise.
807         (__sfp_handle_exceptions): Likewise.
808         (FP_HANDLE_EXCEPTIONS): Likewise.
809         (FP_RND_NEAREST): Likewise.
810         (FP_RND_ZERO): Likewise.
811         (FP_RND_PINF): Likewise.
812         (FP_RND_MINF): Likewise.
813         (FP_RND_MASK): Likewise.
814         (_FP_DECL_EX): Likewise.
815         (FP_INIT_ROUNDMODE): Likewise.
816         (FP_ROUNDMODE): Likewise.
818         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
819         compiler can do __float128.
820         * configure: Regenerate.
822         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
823         VSX code, enable IEEE 128-bit floating point.
825 2016-01-05  Olivier Hainque  <hainque@adacore.com>
827         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
828         specificities.
830 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
832         Update copyright years.
834 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
836         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
837         soft-fp targets.
839 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
841         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
842         instead of abort to avoid dependency on stdlib.h.
844 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
846         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
847         to initialize call to __dl_fixup once.
849 2015-12-04  Nick Clifton  <nickc@redhat.com>
851         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
852         Allow for the second argument being negative.
853         * config.host (extra_parts): Define for MSP430.  Create separate
854         libraries for each of the hardware multiply formats.
855         * config/msp430/lib2hw_mul.S: Build only the multiply routines
856         that are needed.
857         * config/msp430/lib2mul.c: Likewise.
858         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
859         Add rules to build hardware multiply libraries.
860         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
861         __mspabi_divul function.
862         (__mspabi_divllu): New stub function.
864 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
866         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
867         fixup values if saved GOT address doesn't match runtime address.
868         (fixup_branch_offset): Reorder list.
870 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
872         * Makefile.in (VTV_CFLAGS): New variable.
873         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
874         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
875         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
876         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
877         to extra_parts if $enable_vtable_verify = yes.
879 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
881         PR target/68059
882         * config/arm/linux-atomic-64bit.c (__write): Rename to...
883         (write): ...this and fix the return type.
885 2015-11-19  DJ Delorie  <dj@redhat.com>
887         * config/msp430/lib2hw_mul.S: Fix alignment.
889 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
891         * config/nvptx/reduction.c: New.
892         * config/nvptx/t-nvptx (LIB2ADD): Add it.
894 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
896         * config/rs6000/on_exit.c: New file.
897         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
898         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
900 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
902         * config/arc/dp-hack.h: Add support for ARCHS.
903         * config/arc/ieee-754/divdf3.S: Likewise.
904         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
905         * config/arc/ieee-754/muldf3.S: Likewise.
906         * config/arc/ieee-754/mulsf3.S: Likewise
907         * config/arc/lib1funcs.S: Likewise
908         * config/arc/gmon/dcache_linesz.S: Don't read the build register
909         for ARCv2 cores.
910         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
911         for ARCv2 cores.
912         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
913         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
914         cores.
916 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
918         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
919         value.
920         * config/ia64/crtend.S: Likewise.
922 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
924         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
925         __CHAR_BIT__ instead of BITS_PER_UNIT.
926         * fixed-bit.h: Likewise.
927         * fp-bit.h: Likewise.
928         * libgcc2.c (__popcountSI2): Likewise.
929         (__popcountDI2): Likewise.
930         * libgcc2.h: Likewise.
931         * libgcov.h: Likewise.
933 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
935         * config/rs6000/atexit.c: New file.
936         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
937         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
938         * config/rs6000/cxa_finalize.c
939         (catomic_compare_and_exchange_bool_acq): Negate return value.
941 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
943         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
944         (processor_subtypes): Add znver1.
945         (get_amd_cpu): Detect znver1.
947 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
949         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
950         Include crtfastmath.o.
952 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
954         PR libgcc/66883
955         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
957 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
959         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
960         * config/rl78/divmodsi.S: Update return register to r8.
961         * config/rl78/divmodhi.S: Update return register to r8,r9.
962         Branch to main_loop_done_himode to pop registers before return.
964 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
966         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
967         (__cpu_indicator_init): Fix model selection for AMD CPUs.
969 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
971         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
973 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
975         * config.host (xtensa*-*-uclinux*): New configuration.
977 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
979         * config/i386/cpuinfo.c (processor_features): Add
980         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
982 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
984         * soft-fp/adddf3.c: Update from glibc.
985         * soft-fp/addsf3.c: Likewise.
986         * soft-fp/addtf3.c: Likewise.
987         * soft-fp/divdf3.c: Likewise.
988         * soft-fp/divsf3.c: Likewise.
989         * soft-fp/divtf3.c: Likewise.
990         * soft-fp/double.h: Likewise.
991         * soft-fp/eqdf2.c: Likewise.
992         * soft-fp/eqsf2.c: Likewise.
993         * soft-fp/eqtf2.c: Likewise.
994         * soft-fp/extenddftf2.c: Likewise.
995         * soft-fp/extended.h: Likewise.
996         * soft-fp/extendsfdf2.c: Likewise.
997         * soft-fp/extendsftf2.c: Likewise.
998         * soft-fp/extendxftf2.c: Likewise.
999         * soft-fp/fixdfdi.c: Likewise.
1000         * soft-fp/fixdfsi.c: Likewise.
1001         * soft-fp/fixdfti.c: Likewise.
1002         * soft-fp/fixsfdi.c: Likewise.
1003         * soft-fp/fixsfsi.c: Likewise.
1004         * soft-fp/fixsfti.c: Likewise.
1005         * soft-fp/fixtfdi.c: Likewise.
1006         * soft-fp/fixtfsi.c: Likewise.
1007         * soft-fp/fixtfti.c: Likewise.
1008         * soft-fp/fixunsdfdi.c: Likewise.
1009         * soft-fp/fixunsdfsi.c: Likewise.
1010         * soft-fp/fixunsdfti.c: Likewise.
1011         * soft-fp/fixunssfdi.c: Likewise.
1012         * soft-fp/fixunssfsi.c: Likewise.
1013         * soft-fp/fixunssfti.c: Likewise.
1014         * soft-fp/fixunstfdi.c: Likewise.
1015         * soft-fp/fixunstfsi.c: Likewise.
1016         * soft-fp/fixunstfti.c: Likewise.
1017         * soft-fp/floatdidf.c: Likewise.
1018         * soft-fp/floatdisf.c: Likewise.
1019         * soft-fp/floatditf.c: Likewise.
1020         * soft-fp/floatsidf.c: Likewise.
1021         * soft-fp/floatsisf.c: Likewise.
1022         * soft-fp/floatsitf.c: Likewise.
1023         * soft-fp/floattidf.c: Likewise.
1024         * soft-fp/floattisf.c: Likewise.
1025         * soft-fp/floattitf.c: Likewise.
1026         * soft-fp/floatundidf.c: Likewise.
1027         * soft-fp/floatundisf.c: Likewise.
1028         * soft-fp/floatunditf.c: Likewise.
1029         * soft-fp/floatunsidf.c: Likewise.
1030         * soft-fp/floatunsisf.c: Likewise.
1031         * soft-fp/floatunsitf.c: Likewise.
1032         * soft-fp/floatuntidf.c: Likewise.
1033         * soft-fp/floatuntisf.c: Likewise.
1034         * soft-fp/floatuntitf.c: Likewise.
1035         * soft-fp/gedf2.c: Likewise.
1036         * soft-fp/gesf2.c: Likewise.
1037         * soft-fp/getf2.c: Likewise.
1038         * soft-fp/ledf2.c: Likewise.
1039         * soft-fp/lesf2.c: Likewise.
1040         * soft-fp/letf2.c: Likewise.
1041         * soft-fp/muldf3.c: Likewise.
1042         * soft-fp/mulsf3.c: Likewise.
1043         * soft-fp/multf3.c: Likewise.
1044         * soft-fp/negdf2.c: Likewise.
1045         * soft-fp/negsf2.c: Likewise.
1046         * soft-fp/negtf2.c: Likewise.
1047         * soft-fp/op-1.h: Likewise.
1048         * soft-fp/op-2.h: Likewise.
1049         * soft-fp/op-4.h: Likewise.
1050         * soft-fp/op-8.h: Likewise.
1051         * soft-fp/op-common.h: Likewise.
1052         * soft-fp/quad.h: Likewise.
1053         * soft-fp/single.h: Likewise.
1054         * soft-fp/soft-fp.h: Likewise.
1055         * soft-fp/subdf3.c: Likewise.
1056         * soft-fp/subsf3.c: Likewise.
1057         * soft-fp/subtf3.c: Likewise.
1058         * soft-fp/truncdfsf2.c: Likewise.
1059         * soft-fp/trunctfdf2.c: Likewise.
1060         * soft-fp/trunctfsf2.c: Likewise.
1061         * soft-fp/trunctfxf2.c: Likewise.
1062         * soft-fp/unorddf2.c: Likewise.
1063         * soft-fp/unordsf2.c: Likewise.
1064         * soft-fp/unordtf2.c: Likewise.
1066 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
1068         PR libgcc/67624
1069         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
1071 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1073         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1074         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
1075         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
1076         messages.
1077         (internal_mcount): Likewise.
1078         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
1079         crt_compile, add CRTSTUFF_T_CFLAGS_S.
1081 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1083         * configure.ac (libgcc_cv_solaris_crts): New test.
1084         * configure: Regenerate.
1085         * config.in: Regenerate.
1086         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
1087         * config/gmon-sol2.c: Rename to ...
1088         * config/sol2/gmon.c: ... this.
1089         Include auto-target.h.
1090         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
1091         * config/t-sol2: Rename to ...
1092         * config/sol2/t-sol2: ... this.
1093         (gmon.o): Reflect renaming.
1094         (crtp.o, crtpg.o): New rules.
1095         * config.host (*-*-solaris2*): Reflect renaming.
1096         Use system CRTs if present.
1097         Remove default CRT case.
1099 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
1101         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
1102         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
1103         __kernel_cmpxchg2.
1104         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
1105         (__sync_val_compare_and_swap_##WIDTH): Likewise.
1106         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
1107         (__sync_lock_test_and_set_##WIDTH): Likewise.
1108         (__sync_lock_release_##WIDTH): Likewise.
1109         (__sync_fetch_and_##OP##_4): Change result to match type of
1110         __kernel_cmpxchg.
1111         (__sync_##OP##_and_fetch_4): Likewise.
1112         (__sync_val_compare_and_swap_4): Likewise.
1113         (__sync_bool_compare_and_swap_4): likewise.
1114         (__sync_lock_test_and_set_4): Likewise.
1115         (__sync_lock_release_4): Likewise.
1116         (FETCH_AND_OP_2): Add long long variants.
1117         (OP_AND_FETCH_2): Likewise.
1118         (COMPARE_AND_SWAP_2 ): Likewise.
1119         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1120         (SYNC_LOCK_RELEASE_2): Likewise.
1121         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
1123 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
1125         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
1126         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
1127         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
1128         (get_available_features): Habdle new features.
1130 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
1132         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
1133         memory layout. Deal correctly with BSS region larger than 32K.
1134         Handle a watchdog reset like a power-on reset. Clean up unused
1135         code.
1137 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
1138             David Edelsohn  <dje.gcc@gmail.com>
1140         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
1141         * config/rs6000/crtdbase.S: New file.
1142         * config/rs6000/t-aix-cxa: Build crtdbase.o.
1144 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
1146         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1147         Add support for call0 ABI.
1149 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
1151         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
1153 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1155         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
1156         (__GTHREAD_HAS_COND): Likewise.
1157         (__gthread_t): Likewise.
1158         (__gthread_cond_t): Likewise.
1159         (__gthread_time_t): Likewise.
1160         (__GTHREAD_MUTEX_INIT): Likewise.
1161         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
1162         (__GTHREAD_COND_INIT): Likewise.
1163         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
1164         (__GTHREAD_TIME_INIT): Likewise.
1165         (__gthread_create): Likewise.
1166         (__gthread_join): Likewise.
1167         (__gthread_detach): Likewise.
1168         (__gthread_equal): Likewise.
1169         (__gthread_self): Likewise.
1170         (__gthread_yield): Likewise.
1171         (__gthread_cond_broadcast): Likewise.
1172         (__gthread_cond_signal): Likewise.
1173         (__gthread_cond_wait): Likewise.
1174         (__gthread_cond_timedwait): Likewise.
1175         (__gthread_cond_wait_recursive): Likewise.
1176         (__gthread_cond_destroy): Likewise.
1177         (rtems_gxx_once): Delete.
1178         (rtems_gxx_key_create): Likewise.
1179         (rtems_gxx_key_delete): Likewise.
1180         (rtems_gxx_getspecific): Likewise.
1181         (rtems_gxx_setspecific): Likewise.
1182         (rtems_gxx_mutex_init): Likewise.
1183         (rtems_gxx_mutex_destroy): Likewise.
1184         (rtems_gxx_mutex_lock): Likewise.
1185         (rtems_gxx_mutex_trylock): Likewise.
1186         (rtems_gxx_mutex_unlock): Likewise.
1187         (rtems_gxx_recursive_mutex_init): Likewise.
1188         (rtems_gxx_recursive_mutex_lock): Likewise.
1189         (rtems_gxx_recursive_mutex_trylock): Likewise.
1190         (rtems_gxx_recursive_mutex_unlock): Likewise.
1191         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
1192         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
1193         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
1194         (__gthread_once): Likewise.
1195         (__gthread_key_create): Likewise.
1196         (__gthread_key_delete): Likewise.
1197         (__gthread_getspecific): Likewise.
1198         (__gthread_setspecific): Likewise.
1199         (__gthread_key_t): Use <pthread.h> type.
1200         (__gthread_once_t): Likewise
1201         (__gthread_mutex_t): Use <sys/lock.h> type.
1202         (__gthread_recursive_mutex_t): Likewise
1203         (__gthread_mutex_lock): Use <sys/lock.h> function.
1204         (__gthread_mutex_trylock): Likewise.
1205         (__gthread_mutex_timedlock): Likewise.
1206         (__gthread_mutex_unlock): Likewise.
1207         (__gthread_mutex_destroy): Likewise.
1208         (__gthread_recursive_mutex_lock): Likewise.
1209         (__gthread_recursive_mutex_trylock): Likewise.
1210         (__gthread_recursive_mutex_timedlock): Likewise.
1211         (__gthread_recursive_mutex_unlock): Likewise.
1212         (__gthread_recursive_mutex_destroy): Likewise.
1214 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
1216         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
1217         context->sp instead of context->cfa.
1219 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
1221         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
1222         with unwind-dw2-fde-dip.
1224 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
1226         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
1227         CALL12 followed by series of ENTRY to spill windowed registers.
1228         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
1229         instead of making linux spill syscall.
1231 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
1233         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
1234         (get_intel_cpu): Likewise.
1236 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
1238         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
1239         (get_intel_cpu): Add Knights Landing support.
1241 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
1243         PR target/66954
1244         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
1245         (get_available_features): Handle FEATURE_PCLMUL.
1247 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
1249         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
1250         Broadwell.
1252 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
1254         PR target/66954
1255         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
1256         (get_available_features): Handle FEATURE_AES.
1258 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
1260         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
1261         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
1263 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
1265         * offloadstuff.c: Constify host data.
1267 2015-07-17  Jan Beulich  <jbeulich@suse.com>
1269         * config/t-softfp: Split up "else ifneq".
1271 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
1272             Cesar Philippidis  <cesar@codesourcery.com>
1273             Chung-Lin Tang  <cltang@codesourcery.com>
1275         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
1276         for __nios2_arch__ level.
1278 2015-07-13  John Marino  <gnugcc@marino.st>
1280         * config/i386/t-dragonfly: New.
1282 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
1284         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
1285         better match light-weight syscall argument order.
1286         (__kernel_cmpxchg2): Likewise.
1287         Adjust callers.
1289 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
1291         * config.host: Support i[34567]86-*-elfiamcu target.
1292         * config/t-softfp-sfdftf: New file.
1293         * config/i386/32/t-iamcu: Likewise.
1294         * configure: Regenerated.
1296 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
1298         libgcc/config/arm/
1299         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
1301 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
1303         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
1305 2015-05-27  John Marino  <gnugcc@marino.st>
1307         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
1308         md_unwind_header
1309         * config/i386/freebsd-unwind.h: New.
1311 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
1313         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
1314         i386/t-crtfm to tmake_file.
1315         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
1316         (set_fast_math): Use set_fast_math_sse for SSE targets.
1317         * config/i386/t-crtfm: Remove.
1319 2015-05-21  Alan Modra  <amodra@gmail.com>
1321         PR libgcc/66225
1322         * config/rs6000/morestack.S: Remove ".abiversion 1".
1324 2015-05-20  Alan Modra  <amodra@gmail.com>
1326         * config/rs6000/morestack.S: New.
1327         * config/rs6000/t-stack-rs6000: New.
1328         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
1329         to tmake_file.
1330         * generic-morestack.c: Don't build for powerpc 32-bit.
1332 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
1334         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
1335         Remove useless endif/ifneq ($(enable_shared),yes) pair.
1337 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
1339         * config.host: FT32 target added.
1340         * config/ft32/*: New files for FT32 target.
1342 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
1344         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
1345         New macros.
1346         * config/arm/ieee754-df.S: Add CFI directives.
1347         * config/arm/ieee754-sf.S: Add CFI directives.
1349 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
1351         * configure.ac: Include config/sjlj.m4.
1352         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
1353         * config.in: Regenerate.
1354         * configure: Likewise.
1355         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
1357 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
1359         * libgcov-util.c: Add space between string literal and macro name.
1361 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
1362             Chris Jones  <chrisj@nvidia.com>
1363             Joshua Conner  <jconner@nvidia.com>
1365         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
1366         (arm*-*-uclinux*): Likewise.
1367         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
1368         * config/arm/crtfastmath.c: New file.
1370 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
1372         * Makefile.in (real_host_noncanonical): New variable.
1373         (libsubdir): Use it.
1374         * configure.ac (real_host_noncanonical): Compute.  Remove special
1375         case for intelmicemul.
1376         * configure: Regenerate.
1378 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
1380         * config/frv/elf-lib.h: New file.
1381         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
1382         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
1383         to tm_file.
1385 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
1387         * config/frv/frvbengin.c: Do not include defaults.h
1388         * config/frv/frvend.c: Ditto.
1390 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
1392         * config.host: Add h8300-*-linux
1393         * config/h8300/t-linux: New file.
1394         * config/h8300/lib1funs.s: Change symbol prefix.
1395         * config/h8300/sfp-machine.h: 64bit double support.
1397 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
1398             Szabolcs Nagy  <szabolcs.nagy@arm.com>
1400         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
1401         Linux if target provides dl_iterate_phdr.
1403 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
1405         PR target/65612
1406         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
1407         * config/i386/cpuinfo.c (__cpu_model): Initialize.
1408         (__cpu_indicator_init@GCC_4.8.0): New.
1409         (__cpu_model@GCC_4.8.0): Likewise.
1410         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
1411         -DUSE_ELF_SYMVER.
1413 2015-04-16  Nick Clifton  <nickc@redhat.com>
1415         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
1416         and __modhi3 functions.
1417         * config/rl78/divmodso.S: Add G14 and G13 versions of the
1418         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
1420 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
1422         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
1423         do-while loop as macro body to avoid warnings.
1425 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
1426             Iain Sandoe  <iain@codesourcery.com>
1428         PR target/65351
1429         * configure: Regenerate.
1431 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
1432             Iain Sandoe  <iain@codesourcery.com>
1434         PR target/65351
1435         * configure: Regenerate.
1437 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
1439         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
1441 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
1443         Implement call0 ABI for xtensa
1444         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
1445         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
1446         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
1447         use ret in call0 ABI.
1448         * config/xtensa/t-windowed: New file.
1449         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
1450         * libgcc/configure: Regenerated.
1451         * libgcc/configure.ac: Check if xtensa target is configured for
1452         windowed ABI and thus needs to use custom unwind code.
1454 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
1456         PR libgcc/64885
1457         * gthr-single.h: Use __unused__ attribute instead of unused.
1458         * config/gthr-vxworks.h: Likewise.
1459         * config/i386/gthr-win32.h: Likewise.
1461 2015-02-27  Kai Tietz  <ktietz@redhat.com>
1463         PR target/65038
1464         * config.in: Regenerated.
1465         * configure: Likewise.
1466         * configure.ac (AC_HEADER_STDC): Added explicit.
1467         (AC_CHECK_HEADERS): Check for default headers  plus
1468         for ftw.h header.
1469         * libgcov-util.c (gcov_read_profile_dir): Disable use
1470         of ftw-function, if header is not found.
1471         (ftw_read_file): Likewise.
1473 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
1475         PR target/65181
1476         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
1477         -Dinhibit_libc.
1479 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
1481         * config/arm/bpabi.S (test_div_by_zero): Make label names
1482         consistent between thumb2 and arm mode cases.  Separate the
1483         signed comparison on the high word of the numerator from the
1484         unsigned comparison on the low word.
1485         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
1486         signed comparison.
1488 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1490         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
1491         and <string.h>.
1492         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
1494 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
1496         PR gcov-profile/61889
1497         * libgcov-driver-system.c: undefine clashing macro for mkdir.
1499 2015-02-02  Nick Clifton  <nickc@redhat.com>
1501         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
1502         rounding up the fraction.
1504 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
1506         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
1507         oldval and newval to const void *.  Fix typo.
1508         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
1509         (FETCH_AND_OP_WORD): Likewise.
1510         (OP_AND_FETCH_WORD): Likewise.
1511         (COMPARE_AND_SWAP_2): Likewise.
1512         (__sync_val_compare_and_swap_4): Likewise.
1513         (__sync_lock_test_and_set_4): Likewise.
1514         (SYNC_LOCK_RELEASE_2): Likewise.
1515         Remove support for long long atomic operations.
1517 2015-01-27  Caroline Tice  <cmtice@google.com>
1519         Committing VTV Cywin/Ming patch for Patrick Wollgast
1520         * Makefile.in: Move rules to build vtv_*.o out of the check
1521         for CUSTOM_CRTSTUFF.
1522         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
1523         i[34567]86-*-mingw*)
1524          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
1525         enable_vtable_verify.
1527 2015-01-27  Nick Clifton  <nickc@redhat.com>
1529         * config/rl78/cmpsi2.S: Use function start and end macros.
1530         (__gcc_bcmp): New function.
1531         * config/rl78/lshrsi3.S: Use function start and end macros.
1532         * config/rl78/mulsi3.S: Add support for G10.
1533         (__mulqi3): New function for G10.
1534         * config/rl78/signbit.S: Use function start and end macros.
1535         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
1536         fpmath-sf.S.
1537         (LIB2FUNCS_EXCLUDE): Define.
1538         (LIB2FUNCS_ST): Define.
1539         * config/rl78/trampoline.S: Use function start and end macros.
1540         * config/rl78/vregs.h (START_FUNC): New macro.
1541         (START_ANOTHER_FUNC): New macro.
1542         (END_FUNC): New macro.
1543         (END_ANOTHER_FUNC): New macro.
1544         * config/rl78/bit-count.S: New file.  Contains assembler
1545         implementations of the bit counting functions: ___clzhi2,
1546         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
1547         __paritysi2, __popcounthi2 and __popcountsi2.
1548         * config/rl78/fpbit-sf.S: New file.  Contains assembler
1549         implementationas of the math functions: __negsf2, __cmpsf2,
1550         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
1551         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
1552         * config/rl78/fpmath-sf.S: New file.  Contains assembler
1553         implementations of the math functions: __subsf3, __addsf3,
1554         __mulsf3 and __divsf3
1556 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1558         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
1559         Add i386/elf-lib.h to tm_file.
1560         * config/i386/elf-lib.h: Fix comment.
1561         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
1562         && __sun__ && __svr4__]: Remove workaround.
1564 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
1566         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
1567         FEATURE_BMI2.
1568         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
1570 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
1572         * config/i386/cpuinfo.c (processor_subtypes): Add
1573         INTEL_COREI7_BROADWELL.
1574         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
1575         model numbers.
1577 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
1579         * config/i386/elf-lib.h: New file.
1580         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
1581         Wrap definition in #ifdef __i386__.
1582         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
1583         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
1584         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
1585         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
1586         to tm_file.
1588 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
1590         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
1591         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
1593 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
1595         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
1596         Update rt_sigframe format and address for current Nios II
1597         Linux conventions.
1599 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
1601         * config.host (arm*-*-freebsd*): Add new configuration for
1602         arm*-*-freebsd*.
1603         * config/arm/freebsd-atomic.c: New file.
1604         * config/arm/t-freebsd: Likewise.
1605         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
1606         'PC-relative indirect' OS's.
1608 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
1610         * config.host: Add Visium support.
1611         * config/visium: New directory.
1613 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
1615         Update copyright years.
1617 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
1619         * config.host: Support mipsisa32r6 and mipsisa64r6.
1620         * config/mips/mips16.S: Do not build for R6.
1622 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
1624         * config/sh/crt.h: New.
1625         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
1626         symbols.
1627         * config/sh/crt1.S: Likewise.
1629 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
1631         PR libgcc/63832
1632         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
1633         func_ptr *dtor_list temporary variable to avoid "array subscript
1634         is above array bounds" warnings.
1636 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
1638         * Makefile.in (with_aix_soname): Define.
1639         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
1640         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
1641         * configure: Recreate.
1643 2014-12-05  Olivier Hainque  <hainque@adacore.com>
1645         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
1646         now provided by defaults.h.
1648 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
1650         PR target/55351
1651         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
1652         whether it's defined.
1654 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
1656         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
1657         * config/i386/cpuinfo.c (get_available_features): Detect it.
1659 2014-11-27  Tony Wang  <tony.wang@arm.com>
1661         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
1662         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
1663         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
1665 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
1667         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
1669 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
1671         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
1672         instead.
1674 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
1675             John David Anglin  <danglin@gcc.gnu.org>
1677         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
1678         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
1679         (OP_AND_FETCH_2): Likewise.
1680         (COMPARE_AND_SWAP_2): Likewise.
1681         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1682         (SYNC_LOCK_RELEASE_2): Likewise.
1683         (SUBWORD_SYNC_OP): Remove.
1684         (SUBWORD_VAL_CAS): Likewise.
1685         (SUBWORD_BOOL_CAS): Likewise.
1686         (FETCH_AND_OP_WORD): Update.
1687         Consistently use signed types.
1689 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
1690             Thomas Schwinge  <thomas@codesourcery.com>
1691             Ilya Verbin  <ilya.verbin@intel.com>
1692             Andrey Turetskiy  <andrey.turetskiy@intel.com>
1694         * Makefile.in (crtoffloadbegin$(objext)): New rule.
1695         (crtoffloadend$(objext)): Likewise.
1696         * configure: Regenerate.
1697         * configure.ac (accel_dir_suffix): Compute new variable.
1698         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
1699         if enable_offload_targets is not empty.
1700         * offloadstuff.c: New file.
1702 2014-11-13  Nick Clifton  <nickc@redhat.com>
1704         * config/rl78/divmodhi.S: Add support for the G10 architecture.
1705         Use START_FUNC and END_FUNC macros to enable linker garbage
1706         collection.
1707         * config/rl78/divmodqi.S: Likewise.
1708         * config/rl78/divmodsi.S: Likewise.
1709         * config/rl78/mulsi3.S: Likewise.
1710         * config/rl78/lib2div.c: Remove G10 functions.
1711         * config/rl78/lib2muls.c: Likewise.
1712         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
1713         * config/rl78/vregs.h (START_FUNC): New macro.
1714         (END_FUNC): New macro.
1716 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
1718         * config/mips/mips16.S: Set .module when supported.  Update O32
1719         FP64 calling convention and use for FPXX when possible.  Add FPXX
1720         calling convention fallback case.
1722 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
1724         * config.host: Handle nvptx-*-*.
1725         * shared-object.mk (as-flags-$o): Define.
1726         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
1727         -xassembler-with-cpp.
1728         * static-object.mk: Identical changes.
1729         * config/nvptx/t-nvptx: New file.
1730         * config/nvptx/crt0.s: New file.
1731         * config/nvptx/free.asm: New file.
1732         * config/nvptx/malloc.asm: New file.
1733         * config/nvptx/realloc.c: New file.
1735 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
1737         * Makefile.in (libgcc.map.in): New target.
1738         (libgcc.map): Use libgcc.map.in.
1739         * config/t-softfp (softfp_compat): New variable to be set by
1740         users.
1741         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
1742         variables.
1743         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
1744         directory.
1745         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
1746         that use compat symbols and disable all code unless [SHARED].
1747         * config/t-softfp-compat: New file.
1748         * find-symver.awk: New file.
1749         * configure.ac (--with-glibc-version): New configure option.
1750         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
1751         * configure: Regenerate.
1752         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
1753         soft-float and e500.
1755 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
1757         * config/t-hardfp (hardfp_exclusions): Document new variable for
1758         user to define.
1759         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
1760         * config/t-softfp (softfp_extras): Document new variable for user
1761         to define.
1762         (softfp_func_list): Add functions from $(softfp_extras).
1763         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
1764         * config.host (powerpc*-*-linux*): For e500v1, use
1765         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
1766         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
1767         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
1769 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
1771         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
1772         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
1773         memory read accesses are ok.
1775 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
1777         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
1778         * configure: Regenerate.
1779         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
1780         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
1781         of soft-fp for 32-bit classic hard float.  Do not use
1782         t-softfp-excl for soft float.
1784 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
1786         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
1787         configurations.
1788         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
1789         Remove variables.
1791 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
1793         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
1794         introduced with 2014-10-21 trunk r216525.
1796 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
1797             Vidya Praveen  <vidya.praveen@atmel.com>
1798             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
1799             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
1800             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
1802         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
1803         order.
1805         Updated library functions for AVRTINY arch.
1806         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
1807         Replaced occurrences of r0/r1 with tmp/zero reg macros.
1808         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
1809         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
1810         wsubi/wadi macors.
1811         (__mulsi3_helper): Update stack, preserve callee saved regs and
1812         argument from stack. Restore callee save registers.
1813         (__mulpsi3): Likewise.
1814         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
1815         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
1816         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
1817         AVRTINY.
1818         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
1819         (__do_copy_data): Added new definition for AVRTINY.
1820         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
1821         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
1822         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
1823         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
1824         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
1825         macors.
1826         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
1827         AVRTINY.
1829         Fix broken long multiplication on tiny arch.
1831 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
1833         * soft-fp/double.h: Update from glibc.
1834         * soft-fp/eqdf2.c: Likewise.
1835         * soft-fp/eqsf2.c: Likewise.
1836         * soft-fp/eqtf2.c: Likewise.
1837         * soft-fp/extenddftf2.c: Likewise.
1838         * soft-fp/extended.h: Likewise.
1839         * soft-fp/extendsfdf2.c: Likewise.
1840         * soft-fp/extendsftf2.c: Likewise.
1841         * soft-fp/extendxftf2.c: Likewise.
1842         * soft-fp/gedf2.c: Likewise.
1843         * soft-fp/gesf2.c: Likewise.
1844         * soft-fp/getf2.c: Likewise.
1845         * soft-fp/ledf2.c: Likewise.
1846         * soft-fp/lesf2.c: Likewise.
1847         * soft-fp/letf2.c: Likewise.
1848         * soft-fp/op-1.h: Likewise.
1849         * soft-fp/op-2.h: Likewise.
1850         * soft-fp/op-4.h: Likewise.
1851         * soft-fp/op-8.h: Likewise.
1852         * soft-fp/op-common.h: Likewise.
1853         * soft-fp/quad.h: Likewise.
1854         * soft-fp/single.h: Likewise.
1855         * soft-fp/soft-fp.h: Likewise.
1856         * soft-fp/unorddf2.c: Likewise.
1857         * soft-fp/unordsf2.c: Likewise.
1858         * soft-fp/unordtf2.c: Likewise.
1859         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
1860         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
1861         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
1862         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
1863         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
1864         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
1865         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
1866         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
1867         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
1868         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
1870 2014-10-08  Rong Xu  <xur@google.com>
1872         * libgcov-util.c (read_gcda_file): Fix format.
1873         (find_match_gcov_info): Ditto.
1874         (calculate_2_entries): New.
1875         (compute_one_gcov): Ditto.
1876         (gcov_info_count_all_cold): Ditto.
1877         (gcov_info_count_all_zero): Ditto.
1878         (extract_file_basename): Ditto.
1879         (get_file_basename): Ditto.
1880         (set_flag): Ditto.
1881         (matched_gcov_info): Ditto.
1882         (calculate_overlap): Ditto.
1883         (gcov_profile_overlap): Ditto.
1884         * libgcov-driver.c (compute_summary): Make
1885         it avavilable for external calls.
1887 2014-10-06  Rong Xu  <xur@google.com>
1889         * Makefile.in: Ditto.
1890         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
1891         (gcov_sort_icall_topn_counter): Ditto.
1892         (gcov_sort_topn_counter_arrays): Ditto.
1893         (dump_one_gcov): Sort indirect_call topn counters.
1894         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
1895         function.
1896         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
1897         utility function.
1898         (__gcov_indirect_call_topn_profiler): New profiler function.
1899         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
1900         * libgcov.h: New decls.
1902 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
1904         * config.host: Remove support for score-*.
1906 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
1908         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1909         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
1910         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
1911         __LIBGCC_XF_MANT_DIG__.
1912         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
1913         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
1914         __LIBGCC_TF_MANT_DIG__.
1915         * libgcc2.c (NOTRUNC): Define in terms of
1916         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
1917         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1919 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
1921         PR target/63312
1922         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
1923         New macros.
1925 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
1927         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
1928         override USE_PT_GNU_EH_FRAME.
1929         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
1930         check USE_EH_FRAME_REGISTRY_ALWAYS against
1931         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
1932         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
1933         variable for substituted force_explicit_eh_registry.
1934         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
1935         * configure.ac (explicit-exception-frame-registration):
1936         New AC_ARG_ENABLE.
1937         * configure: Regenerate.
1939 2014-09-19  Olivier Hainque  <hainque@adacore.com>
1941         * config.host (powerpc-wrs-vxworksmils): New configuration,
1942         same as vxworksae.
1944 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
1946         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
1948 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
1950         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
1951         bits not set bits as indicating trapping exceptions.
1953 2014-09-17  Nathan sidwell  <nathan@acm.org>
1955         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
1956         (LIBGCOV_DRIVER): ... here.
1957         * libgcov-driver.c (gcov_master): New.
1958         (gcov_exit): Remove from master chain.
1959         (__gcov_init): Add to master chain if version compatible.  Don't
1960         clear the version.
1961         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
1962         (gcov_reset_int): Clear master chain, if compatible.
1963         (gcov_dump_int): New internal interface.  Dump master chain, if
1964         compatible.
1965         (gcov_dump): Alias for gcov_dump_int.
1966         * libgcov.h (struct gcov_root): Add next and prev fields.
1967         (struct gcov_master): New struct.
1968         (__gcov_master): New.
1969         (gcov_dump_int): Declare.
1971 2014-09-17  Olivier Hainque  <hainque@adacore.com>
1973         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
1974         and crtbegin.o + crtend.o to extra_parts.
1976 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
1978         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
1979         __LIBGCC_HAS_SF_MODE__.
1980         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
1981         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
1982         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
1983         * config/libbid/bid_gcc_intrinsics.h
1984         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
1985         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
1986         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
1987         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
1988         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
1989         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
1991 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
1993         PR target/63223
1994         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
1995         and R24 as needed.  Make work for all devices and .text locations.
1996         (__do_global_ctors, __do_global_dtors): Use word addresses.
1997         (__tablejump__, __tablejump_elpm__): Remove functions.
1998         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
1999         Add _tablejump2.
2000         (XICALL, XIJMP): New macros.
2002 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2003         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
2005         * config.host (aarch64*): Include crtfastmath.o and
2006         t-crtfm.
2007         * config/aarch64/crtfastmath.c: New file.
2009 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
2011         * config.host: Remove picochip support.
2012         * config/picochip/adddi3.S: Remove.
2013         * config/picochip/ashlsi3.S: Remove.
2014         * config/picochip/ashlsi3.c: Remove.
2015         * config/picochip/ashrsi3.S: Remove.
2016         * config/picochip/ashrsi3.c: Remove.
2017         * config/picochip/clzsi2.S: Remove.
2018         * config/picochip/cmpsi2.S: Remove.
2019         * config/picochip/divmod15.S: Remove.
2020         * config/picochip/divmodhi4.S: Remove.
2021         * config/picochip/divmodsi4.S: Remove.
2022         * config/picochip/lib1funcs.S: Remove.
2023         * config/picochip/longjmp.S: Remove.
2024         * config/picochip/lshrsi3.S: Remove.
2025         * config/picochip/lshrsi3.c: Remove.
2026         * config/picochip/parityhi2.S: Remove.
2027         * config/picochip/popcounthi2.S: Remove.
2028         * config/picochip/setjmp.S: Remove.
2029         * config/picochip/subdi3.S: Remove.
2030         * config/picochip/t-picochip: Remove.
2031         * config/picochip/ucmpsi2.S: Remove.
2032         * config/picochip/udivmodhi4.S: Remove.
2033         * config/picochip/udivmodsi4.S: Remove.
2035 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
2037         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
2038         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
2039         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
2040         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
2041         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
2042         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
2043         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
2044         defined and LIBGCC2_HAS_DF_MODE is defined.
2045         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
2046         defined and LIBGCC2_HAS_XF_MODE is defined.
2047         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
2048         defined and LIBGCC2_HAS_TF_MODE is defined.
2050 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
2052         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
2053         and ROUND_TOWARDS_ZERO conditionals.
2055 2014-09-07  Nathan sidwell  <nathan@acm.org>
2057         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
2058         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
2060 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
2062         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
2063         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2064         uses to __LIBGCC_STACK_POINTER_REGNUM__.
2065         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2066         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2067         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2068         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2069         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
2070         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
2071         (DWARF_FRAME_REGISTERS): Change all uses to
2072         __LIBGCC_DWARF_FRAME_REGISTERS__.
2073         (EH_RETURN_STACKADJ_RTX): Change all uses to
2074         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2075         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
2076         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
2077         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
2078         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
2079         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
2080         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
2081         to __LIBGCC_EH_FRAME_SECTION_NAME__.
2082         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
2083         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
2084         __LIBGCC_STACK_POINTER_REGNUM__.
2085         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2086         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2087         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2088         to __LIBGCC_STACK_POINTER_REGNUM__.
2089         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2090         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2091         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2092         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2093         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2094         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2095         (STACK_POINTER_REGNUM): Change all uses to
2096         __LIBGCC_STACK_POINTER_REGNUM__.
2097         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
2098         use to __LIBGCC_STACK_POINTER_REGNUM__.
2099         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2100         uses to __LIBGCC_STACK_POINTER_REGNUM__.
2101         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
2102         to __LIBGCC_DWARF_FRAME_REGISTERS__.
2103         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
2104         to __LIBGCC_DWARF_FRAME_REGISTERS__.
2105         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2106         to __LIBGCC_STACK_POINTER_REGNUM__.
2107         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
2108         Remove conditional definition.
2109         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
2110         __LIBGCC_TEXT_SECTION_ASM_OP__.
2111         (EH_FRAME_SECTION_NAME): Change all uses to
2112         __LIBGCC_EH_FRAME_SECTION_NAME__.
2113         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
2114         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
2115         (CTORS_SECTION_ASM_OP): Change all uses to
2116         __LIBGCC_CTORS_SECTION_ASM_OP__.
2117         (DTORS_SECTION_ASM_OP): Change all uses to
2118         __LIBGCC_DTORS_SECTION_ASM_OP__.
2119         (JCR_SECTION_NAME): Change all uses to
2120         __LIBGCC_JCR_SECTION_NAME__.
2121         (INIT_SECTION_ASM_OP): Change all uses to
2122         __LIBGCC_INIT_SECTION_ASM_OP__.
2123         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2124         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2125         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
2126         __LIBGCC_STACK_GROWS_DOWNWARD__.
2127         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
2128         __LIBGCC_INIT_SECTION_ASM_OP__.
2129         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2130         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2131         (EH_FRAME_SECTION_NAME): Change all uses to
2132         __LIBGCC_EH_FRAME_SECTION_NAME__.
2133         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
2134         definitions.  Change all uses to
2135         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
2136         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
2137         __LIBGCC_STACK_GROWS_DOWNWARD__.
2138         (DWARF_FRAME_REGISTERS): Change all uses to
2139         __LIBGCC_DWARF_FRAME_REGISTERS__.
2140         (EH_RETURN_STACKADJ_RTX): Change all uses to
2141         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2142         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
2143         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
2144         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
2145         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
2146         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
2148 2014-09-02  Nathan sidwell  <nathan@acm.org>
2150         * libgcov-interface.c (STRONG_ALIAS): New.
2151         (__gcov_flush): Call __gcov_reset_int.
2152         (__gcov_reset): Strong alias for ...
2153         (__gcov_reset_ing): ... this renamed hidden version.
2154         * libgcov.h (__gcov_reset_int): New declaration.
2156 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
2158         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
2159         call from here...
2160         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
2161         (__dso_handle): Define on Cygwin.
2162         * config/i386/t-cygming (crtbeginS.o): New rule.
2163         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
2165         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
2166         declaration syntax.
2168 2014-08-13  Steve Ellcey  <sellcey@mips.com>
2170         * crtstuff.c: Undef caddr_t.
2172 2014-08-12  Steve Ellcey  <sellcey@mips.com>
2174         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
2176 2014-08-07  Nathan Sidwell  <nathan@acm.org>
2178         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
2179         (LIBGCOV_DRIVER): ... to here.
2180         * libgcov.h (gcov_do_dump): New #define.
2181         (struct gcov_root): New.
2182         (__gcov_root): New declaration.
2183         (__gcov_dump_one): Declare.
2184         * libgcov-driver.c (gcov_list, gcov_dump_complete,
2185         run_accounted): Delete.
2186         (gcov_compute_histogram): Add LIST argument, adjust.
2187         (compute_summary): Adjust gcov_compute_histogram call.
2188         (gcov_do_dump): Not hidden, static in libgcov.
2189         (gcov_clear): Move  to interface.c.
2190         (__gcov_dump_one): New, broken out of ...
2191         (gcov_exit): ... here.  Make static.
2192         (__gcov_root): New.
2193         (__gcov_init): Adjust.
2194         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
2195         declarations.
2196         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
2197         (gcov_clear): Moved from driver.c.   Add LIST argument.
2198         (__gcov_reset): Adjust for changed interfaces.
2199         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
2201 2014-08-04  Rohit  <rohitarulraj@freescale.com>
2203         PR target/60102
2204         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
2205         based on change in SPE high register numbers and 3 HTM registers.
2207 2014-08-01  Nathan Sidwell  <nathan@acm.org>
2209         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
2210         LIBGCOV_INTERFACE): Reformat.
2211         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
2212         IN_GCOV_TOOL.
2213         * libgcov-interface.c: Reformat some comments.
2214         (__gcov_flush_mx): Add declaration.  Tidy up definition.
2216 2014-07-31  Alan Modra  <amodra@gmail.com>
2217             Peter Bergner  <bergner@vnet.ibm.com>
2219         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
2220         (pack_ldouble): New function.
2221         (__gcc_qadd): Use it.
2222         (__gcc_qmul): Likewise.
2223         (__gcc_qdiv): Likewise.
2224         (__gcc_qneg): Likewise.
2225         (__gcc_stoq): Likewise.
2226         (__gcc_dtoq): Likewise.
2228 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
2230         * config/s390/tpf-unwind.h: Include <stdbool.h>.
2231         (__tpf_eh_return): Add original return address as second parameter.
2232         Handle cases where unwinder routines were called directly, instead
2233         of from within the C++ library.
2235 2014-07-29  Nathan Sidwell  <nathan@acm.org>
2237         * libgcov.h: Move renaming of entry points to lib gcov specific
2238         portion.
2239         (gcov_do_dump): New rename.
2240         (gcov_rewrite): Remove inline, make HIDDEN.
2241         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
2242         (gcov_exit_compute_summary): Rename to ...
2243         (compute_summary): ... here.  Add LIST argument.
2244         (gcov_exit_merge_gcda): Rename to ...
2245         (merge_one_data): ... here.
2246         (gcov_exit_write_gcda): Rename to ...
2247         (write_one_data): ... here.
2248         (gcov_exit_merge_summary): Rename to ...
2249         (merge_summary): Add RUN_COUNTED argument.
2250         (gcov_exit_dump_gcov): Rename to ...
2251         (dump_one_gcov): Add RUN_COUNTED argument.
2252         (gcov_do_dump): New function, broken out of ...
2253         (gcov_exit): ... here.  Call it.
2255 2014-07-27  Anthony Green  <green@moxielogic.com>
2257         * config.host: Add moxiebox configuration suppport.
2259 2014-07-27  Nathan Sidwell  <nathan@acm.org>
2261         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
2262         (struct gcov_filename): ... here.  Include buffer and max length
2263         fields.
2264         (gcov_max_filename): Remove.
2265         (gi_filename): Remove.
2266         (gcov_exit_compute_summary): Compute max filename here.
2267         (gcov_exit_merge_gcda): Add filename parm, adjust.
2268         (gcov_exit_merge_summary): Likewise.
2269         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
2270         (gcov_exit): Likewise.
2271         (__gcov_init): Don't calculate max length here.
2272         * libgcov_util.c (max_filename_len): Remove.
2273         (read_gcda_file): Don't calculate max length here.
2274         (gcov_read_profile_dir): Don't propagate here.
2275         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
2276         struct gcov_filename changes.
2277         (gcov_exit_open_gcda_file): Likewise.
2279 2014-07-25  Nathan Sidwell  <nathan@acm.org>
2281         * libgcov-driver.c (set_gcov_dump_complete,
2282         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
2283         functions polluting user's namespace.
2284         (gcov_exit): Set variable directly.
2285         (gcov_clear): Reset variable directly.
2286         * libgcov-interface.c (get_gcov_dymp_complete,
2287         reset_gov_dump_complete): Remove declarations.
2288         (__gcov_reset, __gcov_dump): Don't call them.
2290 2014-07-24  DJ Delorie  <dj@redhat.com>
2292         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
2293         (__gcc_deregister_frame): Move logic to detect deregister function
2294         to ...
2295         (__gcc_register_frame): here, so it's consistent with the register
2296         logic.
2298 2014-07-23  Nathan Sidwell  <nathan@acm.org>
2300         * libgcov-driver.c (set_gcov_list): Remove.
2301         (gcov_list): Make non-static in GCOV_TOOL.
2302         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
2304 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
2306         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
2307         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
2308         Don't use SYNC_LOCK_RELEASE for int type.
2310 2014-07-14  Richard Biener  <rguenther@suse.de>
2312         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
2314 2014-07-11  Rong Xu  <xur@google.com>
2316         * libgcov-util.c (gcov_max_filename): Fix declartion.
2318 2014-07-10  Rong Xu  <xur@google.com>
2320         Add gcov-tool: an offline gcda profile processing tool
2321         Support.
2322         * libgcov-driver.c (gcov_max_filename): Make available
2323         to gcov-tool.
2324         * libgcov-merge.c (__gcov_merge_add): Replace
2325         gcov_read_counter() with a Macro.
2326         (__gcov_merge_ior): Ditto.
2327         (__gcov_merge_time_profile): Ditto.
2328         (__gcov_merge_single): Ditto.
2329         (__gcov_merge_delta): Ditto.
2330         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
2331         in the utility functions.
2332         (set_fn_ctrs): Utility function for reading gcda files to in-memory
2333         gcov_list object link lists.
2334         (tag_function): Ditto.
2335         (tag_blocks): Ditto.
2336         (tag_arcs): Ditto.
2337         (tag_lines): Ditto.
2338         (tag_counters): Ditto.
2339         (tag_summary): Ditto.
2340         (read_gcda_finalize): Ditto.
2341         (read_gcda_file): Ditto.
2342         (ftw_read_file): Ditto.
2343         (read_profile_dir_init): Ditto.
2344         (gcov_read_profile_dir): Ditto.
2345         (gcov_read_counter_mem): Ditto.
2346         (gcov_get_merge_weight): Ditto.
2347         (merge_wrapper): A wrapper function that calls merging handler.
2348         (gcov_merge): Merge two gcov_info objects with weights.
2349         (find_match_gcov_info): Find the matched gcov_info in the list.
2350         (gcov_profile_merge): Merge two gcov_info object lists.
2351         (__gcov_add_counter_op): Process edge profile counter values.
2352         (__gcov_ior_counter_op): Process IOR profile counter values.
2353         (__gcov_delta_counter_op): Process delta profile counter values.
2354         (__gcov_single_counter_op): Process single  profile counter values.
2355         (fp_scale): Callback function for float-point scaling.
2356         (int_scale): Callback function for integer fraction scaling.
2357         (gcov_profile_scale): Scaling profile counters.
2358         (gcov_profile_normalize): Normalize profile counters.
2359         * libgcov.h: Add headers and functions for gcov-tool use.
2360         (gcov_get_counter): New.
2361         (gcov_get_counter_target): Ditto.
2362         (struct gcov_info): Make the functions field mutable in gcov-tool
2363         compilation.
2365 2014-06-23  Kai Tietz  <ktietz@redhat.com>
2367         PR libgcc/61585
2368         * unwind-seh.c (_Unwind_GetGR): Check for proper
2369         index range.
2370         (_Unwind_SetGR): Likewise.
2372 2014-05-22  Nick Clifton  <nickc@redhat.com>
2374         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
2375         -mhwmult=none.
2377 2014-05-22  Teresa Johnson  <tejohnson@google.com>
2379         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
2380         include.
2382 2014-05-20  John Marino  <gnugcc@marino.st>
2384         * config.host (*-*-dragonfly*): New target.
2385         * crtstuff.c: Make dl_iterate_support generic on *bsd.
2386         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
2387         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
2388         * config/i386/dragonfly-unwind.h: New.
2390 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
2392         PR libgcc/60166
2393         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
2394         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
2396 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2398         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
2399         implementation.
2401 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
2403         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
2405 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2407         PR libgcc/61097
2408         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
2409         if --enable-shared.
2411 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2413         Work around for current cygwin32 build problems.
2414         * config/i386/cygming-crtbegin.c (__register_frame_info,
2415         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
2416         functions only for 64-bit systems.
2418 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2420         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
2421         (sigill_caught, sigill_hdlr): Remove.
2423 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2425         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
2426         check.
2427         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2428         Solaris 9 single-threaded support.
2429         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
2430         Solaris 9 single-threaded support.  Add call_user_handler code
2431         sequences.
2432         (sparc_is_sighandler): Likewise.
2434 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2436         * config.host: Append t-floattodi to tmake_file depending on
2437         host_address.
2439 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
2441         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
2443 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
2445         PR libgcc/60472
2446         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2447         variable to avoid "array subscript is above array bounds" warnings.
2448         Use __builtin_expect when checking *jcr_list for NULL.
2450 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2452         PR libgcc/59339
2453         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
2454         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
2455         vtv_*.o to extra_parts if enable_vtable_verify.
2457 2014-03-06  Nick Clifton  <nickc@redhat.com>
2459         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
2460         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
2462 2014-02-28  Joey Ye  <joey.ye@arm.com>
2464         PR libgcc/60166
2465         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
2466         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
2467         Set to zero.
2469 2014-02-24  Walter Lee  <walt@tilera.com>
2471         * config.host: Support "tilegx*" and "tilepro*" triplets.
2472         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
2473         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
2475 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
2476             Chung-Lin Tang  <cltang@codesourcery.com>
2478         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
2479         * config/nios2/crti.S: Remove .file directive.
2480         * config/nios2/crtn.S: Likewise.
2482 2014-02-18  Kai Tietz  <ktietz@redhat.com>
2483         Jonathan Schleifer  <js@webkeks.org>
2485         PR objc/56870
2486         * unwind-seh.c (_GCC_specific_handler): Pass proper
2487         value to unwind-handler.
2489 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
2491         * soft-fp/adddf3.c: Update from glibc.
2492         * soft-fp/addsf3.c: Likewise.
2493         * soft-fp/addtf3.c: Likewise.
2494         * soft-fp/divdf3.c: Likewise.
2495         * soft-fp/divsf3.c: Likewise.
2496         * soft-fp/divtf3.c: Likewise.
2497         * soft-fp/double.h: Likewise.
2498         * soft-fp/eqdf2.c: Likewise.
2499         * soft-fp/eqsf2.c: Likewise.
2500         * soft-fp/eqtf2.c: Likewise.
2501         * soft-fp/extenddftf2.c: Likewise.
2502         * soft-fp/extended.h: Likewise.
2503         * soft-fp/extendsfdf2.c: Likewise.
2504         * soft-fp/extendsftf2.c: Likewise.
2505         * soft-fp/extendxftf2.c: Likewise.
2506         * soft-fp/fixdfdi.c: Likewise.
2507         * soft-fp/fixdfsi.c: Likewise.
2508         * soft-fp/fixdfti.c: Likewise.
2509         * soft-fp/fixsfdi.c: Likewise.
2510         * soft-fp/fixsfsi.c: Likewise.
2511         * soft-fp/fixsfti.c: Likewise.
2512         * soft-fp/fixtfdi.c: Likewise.
2513         * soft-fp/fixtfsi.c: Likewise.
2514         * soft-fp/fixtfti.c: Likewise.
2515         * soft-fp/fixunsdfdi.c: Likewise.
2516         * soft-fp/fixunsdfsi.c: Likewise.
2517         * soft-fp/fixunsdfti.c: Likewise.
2518         * soft-fp/fixunssfdi.c: Likewise.
2519         * soft-fp/fixunssfsi.c: Likewise.
2520         * soft-fp/fixunssfti.c: Likewise.
2521         * soft-fp/fixunstfdi.c: Likewise.
2522         * soft-fp/fixunstfsi.c: Likewise.
2523         * soft-fp/fixunstfti.c: Likewise.
2524         * soft-fp/floatdidf.c: Likewise.
2525         * soft-fp/floatdisf.c: Likewise.
2526         * soft-fp/floatditf.c: Likewise.
2527         * soft-fp/floatsidf.c: Likewise.
2528         * soft-fp/floatsisf.c: Likewise.
2529         * soft-fp/floatsitf.c: Likewise.
2530         * soft-fp/floattidf.c: Likewise.
2531         * soft-fp/floattisf.c: Likewise.
2532         * soft-fp/floattitf.c: Likewise.
2533         * soft-fp/floatundidf.c: Likewise.
2534         * soft-fp/floatundisf.c: Likewise.
2535         * soft-fp/floatunditf.c: Likewise.
2536         * soft-fp/floatunsidf.c: Likewise.
2537         * soft-fp/floatunsisf.c: Likewise.
2538         * soft-fp/floatunsitf.c: Likewise.
2539         * soft-fp/floatuntidf.c: Likewise.
2540         * soft-fp/floatuntisf.c: Likewise.
2541         * soft-fp/floatuntitf.c: Likewise.
2542         * soft-fp/gedf2.c: Likewise.
2543         * soft-fp/gesf2.c: Likewise.
2544         * soft-fp/getf2.c: Likewise.
2545         * soft-fp/ledf2.c: Likewise.
2546         * soft-fp/lesf2.c: Likewise.
2547         * soft-fp/letf2.c: Likewise.
2548         * soft-fp/muldf3.c: Likewise.
2549         * soft-fp/mulsf3.c: Likewise.
2550         * soft-fp/multf3.c: Likewise.
2551         * soft-fp/negdf2.c: Likewise.
2552         * soft-fp/negsf2.c: Likewise.
2553         * soft-fp/negtf2.c: Likewise.
2554         * soft-fp/op-1.h: Likewise.
2555         * soft-fp/op-2.h: Likewise.
2556         * soft-fp/op-4.h: Likewise.
2557         * soft-fp/op-8.h: Likewise.
2558         * soft-fp/op-common.h: Likewise.
2559         * soft-fp/quad.h: Likewise.
2560         * soft-fp/single.h: Likewise.
2561         * soft-fp/soft-fp.h: Likewise.
2562         * soft-fp/subdf3.c: Likewise.
2563         * soft-fp/subsf3.c: Likewise.
2564         * soft-fp/subtf3.c: Likewise.
2565         * soft-fp/truncdfsf2.c: Likewise.
2566         * soft-fp/trunctfdf2.c: Likewise.
2567         * soft-fp/trunctfsf2.c: Likewise.
2568         * soft-fp/trunctfxf2.c: Likewise.
2569         * soft-fp/unorddf2.c: Likewise.
2570         * soft-fp/unordsf2.c: Likewise.
2571         * soft-fp/unordtf2.c: Likewise.
2572         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
2573         macro.
2574         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2575         Likewise.
2576         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2577         Likewise.
2578         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2579         Likewise.
2580         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2581         Likewise.
2582         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2583         Likewise.
2584         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2585         Likewise.
2586         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2587         Likewise.
2588         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2589         Likewise.
2590         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2591         Likewise.
2592         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2593         Likewise.
2594         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2595         Likewise.
2596         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2597         Likewise.
2598         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
2599         Likewise.
2600         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
2601         Likewise.
2602         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2603         Likewise.
2605 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2607         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
2608         cannot be represented.
2609         * config/s390/32/_fixsfdi.c: Likewise.
2610         * config/s390/32/_fixtfdi.c: Likewise.
2611         * config/s390/32/_fixunsdfdi.c: Likewise.
2612         * config/s390/32/_fixunssfdi.c: Likewise.
2613         * config/s390/32/_fixunstfdi.c: Likewise.
2615 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
2617         * configure.ac (libgcc_cv_mips_hard_float): New.
2618         * configure: Regenerate.
2619         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
2620         t-softfp-sfdf for hard-float targets.
2621         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
2622         (softfp_float_modes, softfp_int_modes, softfp_extensions)
2623         (softfp_truncations, softfp_exclude_libgcc2): New.
2624         * config/t-hardfp: New file.
2625         * config/t-hardfp-sfdf: Likewise.
2626         * config/hardfp.c: Likewise.
2628 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2630         * config.host: Include t-floattodi also for s390x.
2631         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
2632         * config/s390/32/_fixsfdi.c: Likewise.
2633         * config/s390/32/_fixtfdi.c: Likewise.
2634         * config/s390/32/_fixunsdfdi.c: Likewise.
2635         * config/s390/32/_fixunssfdi.c: Likewise.
2636         * config/s390/32/_fixunstfdi.c: Likewise.
2638 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2640         PR target/59788
2641         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
2642         (install-libgcc-unwind-map-forbuild): New target.
2643         (all): Depend on install-libgcc-unwind-map-forbuild.
2644         (install-libgcc-unwind-map): New target.
2645         (install): Depend on install-libgcc-unwind-map.
2647 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
2649         * config/nios2/crti.S (_init): Initialize GOT pointer from
2650         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
2652 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
2654         * configure.ac: Check __mips64 when setting host_address.
2655         * configure: Regenerate.
2656         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
2657         mips/t-mips64 and t-softfp.
2658         (mips*-*-linux*): Don't add mips/t-tpbit.
2659         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
2660         (DPBIT, DPBIT_CFLAGS): Delete.
2661         * config/mips/sfp-machine.h: New file.
2662         * config/mips/t-mips64: Likewise.
2663         * config/mips/t-softfp-tf: Likewise.
2664         * config/mips/t-tpbit: Delete.
2666 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2668         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
2669         as long long.
2671 2014-01-25  Walter Lee  <walt@tilera.com>
2673         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
2674         config.h or system.h.
2675         (bool) Define.
2677 2014-01-25  Walter Lee  <walt@tilera.com>
2679         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
2680         (post_atomic_barrier): Ditto.
2681         (__fetch_and_do): New macro.
2682         (__atomic_fetch_and_do): Use __fetch_and_do.
2683         (__sync_fetch_and_do): New macro.
2684         (__sync_fetch_and_add_4): New function.
2685         (__sync_fetch_and_sub_4): New function.
2686         (__sync_fetch_and_or_4): New function.
2687         (__sync_fetch_and_and_4): New function.
2688         (__sync_fetch_and_xor_4): New function.
2689         (__sync_fetch_and_nand_4): New function.
2690         (__sync_fetch_and_add_8): New function.
2691         (__sync_fetch_and_sub_8): New function.
2692         (__sync_fetch_and_or_8): New function.
2693         (__sync_fetch_and_and_8): New function.
2694         (__sync_fetch_and_xor_8): New function.
2695         (__sync_fetch_and_nand_8): New function.
2696         (__do_and_fetch): New macro.
2697         (__atomic_do_and_fetch): Use __do_and_fetch.
2698         (__sync_do_and_fetch): New macro.
2699         (__sync_add_and_fetch_4): New function.
2700         (__sync_sub_and_fetch_4): New function.
2701         (__sync_or_and_fetch_4): New function.
2702         (__sync_and_and_fetch_4): New function.
2703         (__sync_xor_and_fetch_4): New function.
2704         (__sync_nand_and_fetch_4): New function.
2705         (__sync_add_and_fetch_8): New function.
2706         (__sync_sub_and_fetch_8): New function.
2707         (__sync_or_and_fetch_8): New function.
2708         (__sync_and_and_fetch_8): New function.
2709         (__sync_xor_and_fetch_8): New function.
2710         (__sync_nand_and_fetch_8): New function.
2711         (__sync_exchange_methods): New macro.
2712         (__sync_val_compare_and_swap_4): New function.
2713         (__sync_bool_compare_and_swap_4): New function.
2714         (__sync_lock_test_and_test_4): New function.
2715         (__sync_val_compare_and_swap_8): New function.
2716         (__sync_bool_compare_and_swap_8): New function.
2717         (__sync_lock_test_and_test_8): New function.
2718         (__subword_cmpxchg_body): New macro.
2719         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
2720         (__atomic_compare_exchange_2): Ditto.
2721         (__sync_subword_cmpxchg): New macro.
2722         (__sync_val_compare_and_swap_1): New function.
2723         (__sync_bool_compare_and_swap_1): New function.
2724         (__sync_val_compare_and_swap_2): New function.
2725         (__sync_bool_compare_and_swap_2): New function.
2726         (__atomic_subword): Rename to ...
2727         (__subword): ... New name.
2728         (__atomic_subword_fetch): Use __subword.
2729         (__sync_subword_fetch): New macro.
2730         (__sync_fetch_and_add_1): New function.
2731         (__sync_fetch_and_sub_1): New function.
2732         (__sync_fetch_and_or_1): New function.
2733         (__sync_fetch_and_and_1): New function.
2734         (__sync_fetch_and_xor_1): New function.
2735         (__sync_fetch_and_nand_1): New function.
2736         (__sync_fetch_and_add_2): New function.
2737         (__sync_fetch_and_sub_2): New function.
2738         (__sync_fetch_and_or_2): New function.
2739         (__sync_fetch_and_and_2): New function.
2740         (__sync_fetch_and_xor_2): New function.
2741         (__sync_fetch_and_nand_2): New function.
2742         (__sync_add_and_fetch_1): New function.
2743         (__sync_sub_and_fetch_1): New function.
2744         (__sync_or_and_fetch_1): New function.
2745         (__sync_and_and_fetch_1): New function.
2746         (__sync_xor_and_fetch_1): New function.
2747         (__sync_nand_and_fetch_1): New function.
2748         (__sync_add_and_fetch_2): New function.
2749         (__sync_sub_and_fetch_2): New function.
2750         (__sync_or_and_fetch_2): New function.
2751         (__sync_and_and_fetch_2): New function.
2752         (__sync_xor_and_fetch_2): New function.
2753         (__sync_nand_and_fetch_2): New function.
2754         (__atomic_subword_lock): Use __subword.
2755         (__sync_subword_lock): New macro.
2756         (__sync_lock_test_and_set_1): New function.
2757         (__sync_lock_test_and_set_2): New function.
2759 2014-01-25  Walter Lee  <walt@tilera.com>
2761         * config/tilepro/atomic.c (BIT_OFFSET): Define.
2762         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
2763         (__atomic_subword): Ditto.
2765 2014-01-25  Walter Lee  <walt@tilera.com>
2767         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
2768         a prefix op argument.
2769         (__atomic_nand_fetch_4): Add prefix op.
2770         (__atomic_nand_fetch_8): Ditto.
2772 2014-01-21  Baruch Siach  <barch@tkos.co.il>
2774         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
2776 2014-01-09  Rong Xu  <xur@google.com>
2778         * libgcov-driver.c (this_prg): make it local to save
2779         bss space.
2780         (gcov_exit_compute_summary): Ditto.
2781         (gcov_exit_merge_gcda): Ditto.
2782         (gcov_exit_merge_summary): Ditto.
2783         (gcov_exit_dump_gcov): Ditto.
2785 2014-01-08  Rong Xu  <xur@google.com>
2787         * libgcov-driver.c: Use libgcov.h.
2788         (buffer_fn_data): Use xmalloc instead of malloc.
2789         (gcov_exit_merge_gcda): Ditto.
2790         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
2791         * libgcov.h: New common header files for libgcov-*.h.
2792         * libgcov-interface.c: Use libgcov.h
2793         * libgcov-merge.c: Ditto.
2794         * libgcov-profiler.c: Ditto.
2795         * Makefile.in: Add dependence to libgcov.h
2797 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
2799         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
2800         case of small numerator and finite nonzero result.
2802 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
2804         Update copyright years
2806 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
2808         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
2809         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
2810         config/arc/dp-hack.h, config/arc/fp-hack.h,
2811         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
2812         config/arc/ieee-754/arc600-dsp/divdf3.S,
2813         config/arc/ieee-754/arc600-dsp/divsf3.S,
2814         config/arc/ieee-754/arc600-dsp/muldf3.S,
2815         config/arc/ieee-754/arc600-dsp/mulsf3.S,
2816         config/arc/ieee-754/arc600-mul64/divdf3.S,
2817         config/arc/ieee-754/arc600-mul64/divsf3.S,
2818         config/arc/ieee-754/arc600-mul64/muldf3.S,
2819         config/arc/ieee-754/arc600-mul64/mulsf3.S,
2820         config/arc/ieee-754/arc600/divsf3.S,
2821         config/arc/ieee-754/arc600/mulsf3.S,
2822         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
2823         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
2824         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
2825         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
2826         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
2827         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
2828         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
2829         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
2830         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
2831         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
2832         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
2833         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
2834         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
2835         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
2836         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
2837         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
2838         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
2839         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
2840         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
2841         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
2842         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
2843         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
2844         vtv_start_preinit.c: Use the standard form for the copyright notice.
2846 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
2847             Chung-Lin Tang  <cltang@codesourcery.com>
2848             Based on patches from Altera Corporation
2850         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
2851         * config/nios2/lib2-nios2.h: New file.
2852         * config/nios2/lib2-divmod-hi.c: New file.
2853         * config/nios2/linux-unwind.h: New file.
2854         * config/nios2/lib2-divmod.c: New file.
2855         * config/nios2/linux-atomic.c: New file.
2856         * config/nios2/t-nios2: New file.
2857         * config/nios2/crti.asm: New file.
2858         * config/nios2/t-linux: New file.
2859         * config/nios2/lib2-divtable.c: New file.
2860         * config/nios2/lib2-mul.c: New file.
2861         * config/nios2/tramp.c: New file.
2862         * config/nios2/crtn.asm: New file.
2864 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
2866         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
2867         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
2868         from cpuid.h to check vendor signatures.
2870 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
2872         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
2873         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
2874         (get_amd_cpu): Likewise.
2876 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
2878         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
2879         Haswell.
2881 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
2882             H.J. Lu  <hongjiu.lu@intel.com>
2884         PR target/59422
2885         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
2886         and AMD_JAGUAR.
2887         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
2888         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
2889         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
2890         FEATURE_XOP and FEATURE_FMA.
2891         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
2892         AMDFAM15H_BDVER3.
2893         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
2894         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
2895         FEATURE_FMA4 and FEATURE_XOP.
2897 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
2899         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
2900         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
2901         (get_intel_cpu): Updated.
2903 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
2905         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
2907 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
2909         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
2910         instructions when __SSE_MATH__ is defined.
2912 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
2914         * config.host (microblaze-*-rtems*): New.
2916 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
2918         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
2919         architectures that do not have hardware divide instruction.
2920         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
2922 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
2924         * longlong.h: Delete (moved to include/).
2926 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2928         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
2929         of normal number and qNaN to not raise an inexact exception.
2931 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
2933         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
2935 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
2937         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
2938         for correct opcodes on BE.
2940 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
2942         * soft-fp/op-4.h: Update from glibc.
2944 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
2946         * libgcc2.c (__udivmoddi4): Define new implementation when
2947         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
2948         divide instructions.
2950 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
2952         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
2954 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2956         * config/t-softfp (soft-fp-objects-base): New variable.
2957         (soft-fp-objects): Use it.
2959 2013-11-23  David Edelson  <dje.gcc@gmail.com>
2960             Andrew Dixie  <andrewd@gentrack.com>
2962         PR target/33704
2963         * config/rs6000/aixinitfini.c: New file.
2964         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
2965         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
2966         symbols.
2968 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
2970         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
2972 2013-11-18  Jan Hubicka  <jh@suse.cz>
2974         * libgcov-driver.c (run_accounted): Make global level static.
2975         (gcov_exit_merge_summary): Silence warning; do not clear
2976         run_accounted here.
2977         (gcov_exit): Clear it here.
2979         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
2980         run_accounted.
2982         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
2983         (all_prg, crc32): Remove static vars.
2984         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
2985         all_prg.
2986         (gcov_exit_merge_gcda): Add crc32 parameter.
2987         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
2988         do not account run if it was already accounted.
2989         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
2990         (gcov_exit): Initialize all_prg; update.
2992 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
2994         * configure: Regenerate.
2996 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2997             Alan Modra  <amodra@gmail.com>
2999         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
3000         (frob_update_context): Use it.
3002 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3003             Alan Modra  <amodra@gmail.com>
3005         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
3006         (trampoline_initial): Provide ELFv2 variant.
3007         (__trampoline_setup): Likewise.
3009         * config/rs6000/linux-unwind.h (frob_update_context): Do not
3010         check for AIX indirect function call sequence if _CALL_ELF == 2.
3012 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3013             Alan Modra  <amodra@gmail.com>
3015         * config/rs6000/linux-unwind.h (get_regs): Do not support
3016         old kernel versions if _CALL_ELF == 2.
3017         (frob_update_context): Do not support PLT stub variants only
3018         generated by old linkers if _CALL_ELF == 2.
3020 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3021             Alan Modra  <amodra@gmail.com>
3023         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
3024         location of CR save area for 64-bit little-endian systems.
3026 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
3028         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
3029         in tmake_file.
3030         * config/arm/t-vxworks: Delete.
3032 2013-11-10  Kai Tietz  <ktietz@redhat.com>
3034         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
3035         Increment load-count on use of LIBGCC_SONAME DLL.
3036         (hmod_libgcc): New static variable to hold handle of
3037         LIBGCC_SONAME DLL.
3038         (__gcc_deregister_frame): Decrement load-count of
3039         LIBGCC_SONAME DLL.
3041 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3043         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
3044         availability.
3045         * configure: Regenerate
3047 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
3049         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
3050         FP_EX_DENORM.  Store result to volatile location after SSE division
3051         to close interrupt window.  Remove unneeded fwait after x87
3052         division since interrupt window will be closed by emitted fstp.
3053         Rewrite FP_EX_INEXACT handling.
3055 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
3057         * soft-fp/README: Update.
3058         * soft-fp/adddf3.c: Update from glibc.
3059         * soft-fp/addsf3.c: Likewise.
3060         * soft-fp/addtf3.c: Likewise.
3061         * soft-fp/divdf3.c: Likewise.
3062         * soft-fp/divsf3.c: Likewise.
3063         * soft-fp/divtf3.c: Likewise.
3064         * soft-fp/double.h: Likewise.
3065         * soft-fp/eqdf2.c: Likewise.
3066         * soft-fp/eqsf2.c: Likewise.
3067         * soft-fp/eqtf2.c: Likewise.
3068         * soft-fp/extenddftf2.c: Likewise.
3069         * soft-fp/extended.h: Likewise.
3070         * soft-fp/extendsfdf2.c: Likewise.
3071         * soft-fp/extendsftf2.c: Likewise.
3072         * soft-fp/extendxftf2.c: Likewise.
3073         * soft-fp/fixdfdi.c: Likewise.
3074         * soft-fp/fixdfsi.c: Likewise.
3075         * soft-fp/fixdfti.c: Likewise.
3076         * soft-fp/fixsfdi.c: Likewise.
3077         * soft-fp/fixsfsi.c: Likewise.
3078         * soft-fp/fixsfti.c: Likewise.
3079         * soft-fp/fixtfdi.c: Likewise.
3080         * soft-fp/fixtfsi.c: Likewise.
3081         * soft-fp/fixtfti.c: Likewise.
3082         * soft-fp/fixunsdfdi.c: Likewise.
3083         * soft-fp/fixunsdfsi.c: Likewise.
3084         * soft-fp/fixunsdfti.c: Likewise.
3085         * soft-fp/fixunssfdi.c: Likewise.
3086         * soft-fp/fixunssfsi.c: Likewise.
3087         * soft-fp/fixunssfti.c: Likewise.
3088         * soft-fp/fixunstfdi.c: Likewise.
3089         * soft-fp/fixunstfsi.c: Likewise.
3090         * soft-fp/fixunstfti.c: Likewise.
3091         * soft-fp/floatdidf.c: Likewise.
3092         * soft-fp/floatdisf.c: Likewise.
3093         * soft-fp/floatditf.c: Likewise.
3094         * soft-fp/floatsidf.c: Likewise.
3095         * soft-fp/floatsisf.c: Likewise.
3096         * soft-fp/floatsitf.c: Likewise.
3097         * soft-fp/floattidf.c: Likewise.
3098         * soft-fp/floattisf.c: Likewise.
3099         * soft-fp/floattitf.c: Likewise.
3100         * soft-fp/floatundidf.c: Likewise.
3101         * soft-fp/floatundisf.c: Likewise.
3102         * soft-fp/floatunditf.c: Likewise.
3103         * soft-fp/floatunsidf.c: Likewise.
3104         * soft-fp/floatunsisf.c: Likewise.
3105         * soft-fp/floatunsitf.c: Likewise.
3106         * soft-fp/floatuntidf.c: Likewise.
3107         * soft-fp/floatuntisf.c: Likewise.
3108         * soft-fp/floatuntitf.c: Likewise.
3109         * soft-fp/gedf2.c: Likewise.
3110         * soft-fp/gesf2.c: Likewise.
3111         * soft-fp/getf2.c: Likewise.
3112         * soft-fp/ledf2.c: Likewise.
3113         * soft-fp/lesf2.c: Likewise.
3114         * soft-fp/letf2.c: Likewise.
3115         * soft-fp/muldf3.c: Likewise.
3116         * soft-fp/mulsf3.c: Likewise.
3117         * soft-fp/multf3.c: Likewise.
3118         * soft-fp/negdf2.c: Likewise.
3119         * soft-fp/negsf2.c: Likewise.
3120         * soft-fp/negtf2.c: Likewise.
3121         * soft-fp/op-1.h: Likewise.
3122         * soft-fp/op-2.h: Likewise.
3123         * soft-fp/op-4.h: Likewise.
3124         * soft-fp/op-8.h: Likewise.
3125         * soft-fp/op-common.h: Likewise.
3126         * soft-fp/quad.h: Likewise.
3127         * soft-fp/single.h: Likewise.
3128         * soft-fp/soft-fp.h: Likewise.
3129         * soft-fp/subdf3.c: Likewise.
3130         * soft-fp/subsf3.c: Likewise.
3131         * soft-fp/subtf3.c: Likewise.
3132         * soft-fp/truncdfsf2.c: Likewise.
3133         * soft-fp/trunctfdf2.c: Likewise.
3134         * soft-fp/trunctfsf2.c: Likewise.
3135         * soft-fp/trunctfxf2.c: Likewise.
3136         * soft-fp/unorddf2.c: Likewise.
3137         * soft-fp/unordsf2.c: Likewise.
3138         * soft-fp/unordtf2.c: Likewise.
3140 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
3142         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
3143         (_FP_MUL_MEAT_D): Ditto.
3144         (_FP_DIV_MEAT_S): Ditto.
3145         (_FP_DIV_MEAT_D): Ditto.
3146         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
3147         t-softfp-sfdf and t-softfp to tmake_file.
3149 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
3151         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
3152         * config/i386/crtprec.c: Ditto.
3154 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
3155             Shiva Chen  <shiva0217@gmail.com>
3157         * config.host (nds32*-elf*): Add nds32 target.
3158         * config/nds32 : New directory and files.
3160 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
3162         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
3163         * config.host (cpu_type) <Setting default>: Add entry for
3164         crisv32-*-*.
3165         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
3166         <crisv32-*-linux*>: Adjust.
3167         * longlong.h: Wrap the whole CRIS section in a single
3168         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
3169         and sub_ddmmss.
3170         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
3171         defined.
3172         [__CRIS__] (__umulsidi3): Define.
3173         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
3174         * config/cris/sfp-machine.h: New file.
3175         * config/cris/umulsidi3.S: New file.
3176         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
3177         * config/cris/arit.c (SIGNMULT): New macro.
3178         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
3179         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
3180         saving 3 out of originally 33 cycles from the fastest
3181         path, 3 out of 54 from the medium path and one from the longest
3182         path.  Improve comments.
3184 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
3186         * sync.c: Remove static aliases and define each function directly
3187         under its real name.
3189 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
3191         * config.host (hppa*64*-*-linux*): Define extra_parts.
3192         (hppa*-*-linux*): Likewise.
3194 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
3196         * config/arc/crtgend.S: Add 2013 to Copyright years.
3197         * config/arc/gmon/atomic.h: Likewise.
3198         * config/arc/gmon/auxreg.h: Likewise.
3199         * config/arc/gmon/sys/gmon_out.h: Likewise.
3200         * config/arc/gmon/sys/gmon.h: Likewise.
3201         * config/arc/gmon/prof-freq.c: Likewise.
3202         * config/arc/gmon/mcount.c: Likewise.
3203         * config/arc/gmon/prof-freq-stub.S: Likewise.
3204         * config/arc/gmon/gmon.c: Likewise.
3205         * config/arc/gmon/machine-gmon.h: Likewise.
3206         * config/arc/gmon/profil.S: Likewise.
3207         * config/arc/gmon/dcache_linesz.S: Likewise.
3208         * config/arc/crtg.S: Likewise.
3209         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
3210         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
3211         * config/arc/ieee-754/adddf3.S: Likewise.
3212         * config/arc/ieee-754/truncdfsf2.S: Likewise.
3213         * config/arc/ieee-754/fixsfsi.S: Likewise.
3214         * config/arc/ieee-754/gtsf2.S: Likewise.
3215         * config/arc/ieee-754/floatsisf.S: Likewise.
3216         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
3217         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
3218         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
3219         * config/arc/ieee-754/fixdfsi.S: Likewise.
3220         * config/arc/ieee-754/addsf3.S: Likewise.
3221         * config/arc/ieee-754/gesf2.S: Likewise.
3222         * config/arc/ieee-754/floatsidf.S: Likewise.
3223         * config/arc/ieee-754/extendsfdf2.S: Likewise.
3224         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
3225         * config/arc/ieee-754/gtdf2.S: Likewise.
3226         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
3227         * config/arc/ieee-754/uneqdf2.S: Likewise.
3228         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3229         * config/arc/ieee-754/uneqsf2.S: Likewise.
3230         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
3231         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
3232         * config/arc/ieee-754/eqdf2.S: Likewise.
3233         * config/arc/ieee-754/ordsf2.S: Likewise.
3234         * config/arc/ieee-754/divsf3.S: Likewise.
3235         * config/arc/ieee-754/divdf3.S: Likewise.
3236         * config/arc/ieee-754/floatunsidf.S: Likewise.
3237         * config/arc/ieee-754/orddf2.S: Likewise.
3238         * config/arc/ieee-754/eqsf2.S: Likewise.
3239         * config/arc/ieee-754/gedf2.S: Likewise.
3240         * config/arc/crtn.S: Likewise.
3241         * config/arc/crti.S: Likewise.
3242         * config/arc/t-arc700-uClibc: Likewise.
3243         * config/arc/asm.h: Likewise.
3244         * config/arc/libgcc-excl.ver: Likewise.
3245         * config/arc/t-arc-newlib: Likewise.
3246         * config/arc/divtab-arc700.c: Likewise.
3247         * config/arc/initfini.c: Likewise.
3248         * config/arc/fp-hack.h: Likewise.
3250 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
3251             Diego Novillo  <dnovillo@google.com>
3253         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
3254         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
3255         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
3256         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
3258 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
3259             Brendan Kehoe  <brendan@zen.org>
3260             Simon Cook  <simon.cook@embecosm.com>
3262         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
3263         * config/arc: New directory.
3264         * longlong.h [__arc__] (umul_ppmm): Remove.
3265         [__arc__] (__umulsidi3): Define.
3266         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
3267         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
3269 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
3271         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
3272         CreateSemaphoreA.
3273         * config/i386/gthr-win32.h: Likewise.
3275 2013-09-16  DJ Delorie  <dj@redhat.com>
3277         * config/rl78/vregs.h: Add G10 register definitions.
3278         * config/rl78/lib2mul.c: Enable for RL78/G10.
3279         * config/rl78/lib2div.c: Likewise.
3280         * config/rl78/lshrsi3.S: Use vregs.h.
3281         * config/rl78/cmpsi2.S: Likewise.
3282         * config/rl78/trampoline.S: Likewise.
3283         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
3285 2013-09-14  DJ Delorie  <dj@redhat.com>
3286             Nick Clifton  <nickc@redhat.com>
3288         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
3289         * config/rl78/vregs.h: New.
3290         * config/rl78/signbit.S: New file.  Implements signbit function.
3291         * config/rl78/divmodsi.S: New.
3292         * config/rl78/divmodhi.S: New.
3293         * config/rl78/divmodqi.S: New.
3294         * config/rl78/t-rl78: Build them here...
3295         * config/rl78/lib2div.c: ...but not here.
3297 2013-09-12  DJ Delorie  <dj@redhat.com>
3299         * config.host (msp*-*-elf): New.
3300         * config/msp430/: New port.
3302 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
3304         PR gcov-profile/58127
3305         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
3306         __thread var for emulated TLS.
3307         (__gcov_indirect_call_counters): Likewise.
3309 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
3310             Catherine Moore  <clm@codesourcery.com>
3311             Richard Sandiford  <rdsandiford@googlemail.com>
3313         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
3314         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
3315         (CALL_STUB_NO_RET): Likewise.
3316         (CALL_STUB_RET): Likewise.
3317         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
3318         __mips16_ret call/return stub symbols.
3319         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
3320         to tmake_file.
3322 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
3324         * config.host <mips*-*-linux*>: Remove a stray comment.
3326 2013-08-10  Jan Hubicka  <jh@suse.cz>
3328         Work around binutils PR14342
3329         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
3330         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
3331         (L_gcov_indirect_call_profiler_v2): New.
3333 2013-08-06  Jan Hubicka  <jh@suse.cz>
3335         * libgcov.c (__gcov_indirect_call_callee,
3336         __gcov_indirect_call_counters): New global vars.
3337         (__gcov_indirect_call_profiler): replace by ...
3338         (__gcov_indirect_call_profiler_v2) ... this one.
3340 2013-08-06  Caroline Tice  <cmtice@google.com>
3342         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
3343         vtv_start_preinit.o and vtv_end_preinit.o.
3344         * configure.ac: Add code to check/set enable_vtable_verify.
3345         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
3346         true.
3347         * vtv_start_preinit.c: New file.
3348         * vtv_end_preinit.c: New file.
3349         * vtv_start.c: New file.
3350         * vtv_end.c: New file.
3351         * configure: Regenerated.
3353 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
3355         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
3356         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
3357         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
3358         GPL-3.0-with-GCC-exception.
3360 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
3362         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
3363         ISA and up.
3365 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3367         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
3368         mapping for FPRs when creating the fallback framestate.
3370 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
3372         PR target/57516
3373         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
3374         (__round_s2_const, __round_u2_const)
3375         (__round_s4_const, __round_u4_const, __round_x8):
3376         Saturate result if addition result cannot be represented.
3378 2013-07-15  Matthias Klose  <doko@ubuntu.com>
3380         * libgcc2.c: Don't include <limits.h>.
3382 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
3384         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
3386 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
3388         PR target/29776
3389         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
3391 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
3393         PR middle-end/36041
3394         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
3395         Define.
3396         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
3397         instead of table lookups.
3398         (__popcountDI2): Likewise.
3400 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
3402         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
3403         correctly.
3405 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
3407         PR other/53317
3408         * soft-fp/adddf3.c: Update from glibc.
3409         * soft-fp/addsf3.c: Likewise.
3410         * soft-fp/addtf3.c: Likewise.
3411         * soft-fp/divdf3.c: Likewise.
3412         * soft-fp/divsf3.c: Likewise.
3413         * soft-fp/divtf3.c: Likewise.
3414         * soft-fp/double.h: Likewise.
3415         * soft-fp/eqdf2.c: Likewise.
3416         * soft-fp/eqsf2.c: Likewise.
3417         * soft-fp/eqtf2.c: Likewise.
3418         * soft-fp/extenddftf2.c: Likewise.
3419         * soft-fp/extended.h: Likewise.
3420         * soft-fp/extendsfdf2.c: Likewise.
3421         * soft-fp/extendsftf2.c: Likewise.
3422         * soft-fp/fixdfdi.c: Likewise.
3423         * soft-fp/fixdfsi.c: Likewise.
3424         * soft-fp/fixsfdi.c: Likewise.
3425         * soft-fp/fixsfsi.c: Likewise.
3426         * soft-fp/fixtfdi.c: Likewise.
3427         * soft-fp/fixtfsi.c: Likewise.
3428         * soft-fp/fixunsdfdi.c: Likewise.
3429         * soft-fp/fixunsdfsi.c: Likewise.
3430         * soft-fp/fixunssfdi.c: Likewise.
3431         * soft-fp/fixunssfsi.c: Likewise.
3432         * soft-fp/fixunstfdi.c: Likewise.
3433         * soft-fp/fixunstfsi.c: Likewise.
3434         * soft-fp/floatdidf.c: Likewise.
3435         * soft-fp/floatdisf.c: Likewise.
3436         * soft-fp/floatditf.c: Likewise.
3437         * soft-fp/floatsidf.c: Likewise.
3438         * soft-fp/floatsisf.c: Likewise.
3439         * soft-fp/floatsitf.c: Likewise.
3440         * soft-fp/floatundidf.c: Likewise.
3441         * soft-fp/floatundisf.c: Likewise.
3442         * soft-fp/floatunditf.c: Likewise.
3443         * soft-fp/floatunsidf.c: Likewise.
3444         * soft-fp/floatunsisf.c: Likewise.
3445         * soft-fp/floatunsitf.c: Likewise.
3446         * soft-fp/gedf2.c: Likewise.
3447         * soft-fp/gesf2.c: Likewise.
3448         * soft-fp/getf2.c: Likewise.
3449         * soft-fp/ledf2.c: Likewise.
3450         * soft-fp/lesf2.c: Likewise.
3451         * soft-fp/letf2.c: Likewise.
3452         * soft-fp/muldf3.c: Likewise.
3453         * soft-fp/mulsf3.c: Likewise.
3454         * soft-fp/multf3.c: Likewise.
3455         * soft-fp/negdf2.c: Likewise.
3456         * soft-fp/negsf2.c: Likewise.
3457         * soft-fp/negtf2.c: Likewise.
3458         * soft-fp/op-1.h: Likewise.
3459         * soft-fp/op-2.h: Likewise.
3460         * soft-fp/op-4.h: Likewise.
3461         * soft-fp/op-8.h: Likewise.
3462         * soft-fp/op-common.h: Likewise.
3463         * soft-fp/quad.h: Likewise.
3464         * soft-fp/single.h: Likewise.
3465         * soft-fp/soft-fp.h: Likewise.
3466         * soft-fp/subdf3.c: Likewise.
3467         * soft-fp/subsf3.c: Likewise.
3468         * soft-fp/subtf3.c: Likewise.
3469         * soft-fp/truncdfsf2.c: Likewise.
3470         * soft-fp/trunctfdf2.c: Likewise.
3471         * soft-fp/trunctfsf2.c: Likewise.
3472         * soft-fp/unorddf2.c: Likewise.
3473         * soft-fp/unordsf2.c: Likewise.
3474         * soft-fp/unordtf2.c: Likewise.
3475         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
3476         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3477         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3478         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3479         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3480         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3481         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3482         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3483         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3484         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
3485         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
3486         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3488 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
3490         * config/mips/lib2funcs.c: New file.
3491         * config/mips/t-mips (LIB2ADD_ST): Add it.
3493 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
3495         PR target/6526
3496         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
3497         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
3499 2013-06-08  Walter Lee  <walt@tilera.com>
3501         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
3502         Replace int64_t with long long.  Add __extension__ where
3503         appropriate.
3504         * config/tilepro/atomic.c: Include config.h.
3506 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
3508         * config.host (arm-wrs-vxworks): Configure with other soft float.
3510 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
3512         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
3513         (mips64r5900el-*-elf*): New configurations.
3515 2013-06-04  Alan Modra  <amodra@gmail.com>
3517         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
3519 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
3521         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
3523 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
3525         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
3526         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
3527         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
3529 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
3531         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
3532         (powerpc-wrs-vxworks): Likewise.
3534 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
3536         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
3537         signal frames as well.
3538         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
3539         STACK_BIAS to the CFA offset.
3541 2013-05-17  Richard Henderson  <rth@redhat.com>
3543         PR target/49146
3544         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
3545         (execute_cfa_program): Use it when storing to fs->regs.
3547 2013-05-08  Kai Tietz  <ktietz@redhat.com>
3549         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
3550         (__deregister_frame_info): Likewise.
3552 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
3554         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
3555         NaN's payload.
3557         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
3559 2013-04-25  Alan Modra  <amodra@gmail.com>
3561         * config.host: Match little-endian powerpc-linux.
3563 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
3565         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
3566         as 'unsigned long long' instead of 'unsigned long'.
3567         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
3568         'signed long'.
3570 2013-04-10  Julian Brown  <julian@codesourcery.com>
3572         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
3573         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
3574         unsigned char/unsigned short.
3575         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
3577 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3579         PR other/55274
3580         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
3582 2013-04-04  Meador Inge  <meadori@codesourcery.com>
3584         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
3585         computing the location of the link register.
3586         (aeabi_uldivmod): Ditto.
3588 2013-03-27  Kai Tietz  <ktietz@redhat.com>
3590         * config.host: Add support for cygwin x64 target.
3591         * configure: Regenerated.
3593 2013-03-26  Walter Lee  <walt@tilera.com>
3595         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
3596         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
3598 2013-03-25  Kai Tietz  <ktietz@redhat.com>
3600         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
3602 2013-03-20  Robert Mason  <rbmj@verizon.net>
3604         * config/vxlib-tls.c (__gthread_get_tsd_data,)
3605         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
3606         (__gthread_leave_tsd_dtor_context): Add prototypes.
3607         (tls_delete_hook): Update.
3609 2013-03-20  Catherine Moore  <clm@codesourcery.com>
3610             Joseph Myers  <joseph@codesourcery.com>
3611             Chao-ying Fu  <fu@mips.com>
3613         * config/mips/mips16.S:  Don't build for microMIPS.
3614         * config/mips/linux-unwind.h: Handle microMIPS frame.
3615         * config/mips/crtn.S (fini, init): New labels.
3617 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
3619         PR tree-optimization/53265
3620         * unwind-dw2.c (execute_cfa_program): Avoid
3621         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
3622         on targets with DWARF_FRAME_REGISTERS < 32.
3624 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
3626         PR target/49880
3627         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
3628         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
3630 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
3632         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
3633         sandybridge processors.
3635 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
3637         PR target/56529
3638         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
3639         inclusion list.
3641 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
3643         * config/microblaze/crti.S: Setup stack protection at entry
3645 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
3647         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
3648         (__rotldi3): Shift bytewise if applicable.
3650 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
3652         * config/aarch64/sync-cache.c
3653         (__aarch64_sync_cache_range): Silence warnings.
3655 2013-02-25  Catherine Moore  <clm@codesourcery.com>
3657         Revert:
3658         2013-02-24  Catherine Moore  <clm@codesourcery.com>
3659             Joseph Myers  <joseph@codesourcery.com>
3660             Chao-ying Fu  <fu@mips.com>
3662         * config/mips/mips16.S:  Don't build for microMIPS.
3663         * config/mips/linux-unwind.h: Handle microMIPS frame.
3664         * config/mips/crtn.S (fini, init): New labels.
3666 2013-02-24  Catherine Moore  <clm@codesourcery.com>
3667             Joseph Myers  <joseph@codesourcery.com>
3668             Chao-ying Fu  <fu@mips.com>
3670         * config/mips/mips16.S:  Don't build for microMIPS.
3671         * config/mips/linux-unwind.h: Handle microMIPS frame.
3672         * config/mips/crtn.S (fini, init): New labels.
3674 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
3675         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
3676         as dividend.
3678 2013-02-16  Alan Modra  <amodra@gmail.com>
3680         PR target/55431
3681         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
3682         (ppc_fallback_frame_state): Always set up save locations for fp
3683         and altivec.  Don't bother with non-callee-saved regs, r0-r13
3684         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
3686 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
3688         PR target/54222
3689         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
3690         _ssmulHA, _ssmulSA.
3691         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
3692         _ssmulha3, _usmulusa3, _ssmulsa3.
3693         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
3694         (__muldi3): XCALL __muldi3_6 instead of rcall.
3695         (__umulsidi3, __mulsidi3): New functions.
3696         (do_prologue_saves, do_epilogue_restores): New .macros.
3697         (__divdi3_moddi3): Use them.
3698         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
3699         (__usmulusa3, __ssmulsa3): New functions.
3701 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
3702             Jack Howarth  <howarth@bromo.med.uc.edu>
3703             Patrick Marlier  <patrick.marlier@gmail.com>
3705         PR libitm/55693
3706         * config/darwin-crt-tm.c: Remove dummy functions hack.
3708 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
3710         PR target/54222
3711         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
3712         * config/avr/lib2-object.mk: New iterator to build objects from it.
3713         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
3714         lib2funcs.c.
3715         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
3716         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
3717         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
3718         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
3719         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
3720         * config/avr/lib1funcs-fixed.S: Implement them.
3722 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
3724         Update copyright years.
3726 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
3728         PR target/54601
3729         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
3730         Add crtcxa to extra_parts.
3731         * config/rs6000/exit.h: New file.
3732         * config/rs6000/cxa_atexit.c: New file.
3733         * config/rs6000/cxa_finalize.c: New file.
3734         * config/rs6000/crtcxa.c: New file.
3735         * config/rs6000/t-aix-cxa: New file.
3736         * config/rs6000/libgcc-aix-cxa.ver: New file.
3738 2013-01-31  Nick Clifton  <nickc@redhat.com>
3740         * config/v850/lib1funcs.S: Add support for e3v5 architecture
3741         variant.
3743 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
3745         PR target/54222
3746         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
3747         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
3748         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
3749         _divQQ,  _divHQ,  _divHA,  _divSA,
3750         _divUQQ, _divUHQ, _divUHA, _divUSA.
3752 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
3754         * config.host(microblaze*-linux*): tmake_file: Remove
3755         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
3756         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
3757         to exclude functions from being built with libgcc.c and use
3758         the microblaze assembly.
3760 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
3762         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
3763         extra_parts.
3765 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
3767         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
3768         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
3769         __UINTPTR_TYPE__; also cast 'base' to the same type before the
3770         alignment operation.
3772 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
3774         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
3775         loop start address for cache clearing.
3777 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
3779         * config/avr/lib1funcs.S: Remove trailing blanks.
3780         * config/avr/lib1funcs-fixed.S: Ditto.
3782 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
3784         * config/avr/avr-lib.h: Add GPL copyright notice.
3786 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
3788         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
3789         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
3790         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
3791         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
3793 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
3795         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
3796         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
3798 2013-01-04  Nick Clifton  <nickc@redhat.com>
3800         * config/v850/lib1funcs.S: Only provide CALLT support functions if
3801         the CALLT instruction is supported.
3803 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
3805         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
3806         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
3808 2012-12-13  John Tytgat  <John@bass-software.com>
3810         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
3811         is 25.
3813 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
3815         PR libgcc/55451
3816         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
3817         undefined signed overflows.
3819 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
3821         PR target/55344
3822         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
3824 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
3826         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
3827         (FP_TRAPPING_EXCEPTIONS): Define.
3828         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
3829         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
3831 2012-12-04  Richard Henderson  <rth@redhat.com>
3833         PR bootstrap/55571
3834         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
3836 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3838         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
3839         (FP_EX_SHIFT): Define.
3840         (FP_TRAPPING_EXCEPTIONS): Define.
3842 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3844         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
3845         (FP_ROUNDMODE): Use FP_RND_MASK.
3846         * config/aarch64/sfp-exceptions.c: New.
3847         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3848         Use __sfp_handle_exceptions.
3850 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
3852         * config.host: (arm*-*-freebsd*): Remove.
3853         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
3854         (arm*-*-elf*): Remove.
3855         (arm*-*-wince-pe*): Remove.
3856         * arm/unwind-arm.c (struct fpa_reg): Delete.
3857         (struct fpa_regs): Delete.
3858         (phase1_vrs): Remove fpa element.
3859         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
3860         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
3861         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
3862         * ieee754-sf.S (floatundisf): Remove FPA support.
3863         (floatdisf): Likewise.
3864         * ieee75f-df.S (floatundidf): Likewise.
3865         (floatdidf): Likewise.
3867 2012-11-29  Kai Tietz  <ktietz@redhat.com>
3869         PR target/55445
3870         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
3871         * unwind-generic.h: Likewise.
3872         * unwind-seh.c: Likewise.
3874 2012-11-28  Richard Henderson  <rth@redhat.com>
3876         PR libgcc/48076
3877         * emutls.c (__emutls_get_address): Avoid race condition between
3878         obj->loc.offset read and emutls_key initialization.
3880 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
3882         Adjust decimal point of signed accum mode to GCC default.
3884         PR target/54222
3885         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
3886         _divqq_helper.
3887         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
3888         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
3889         (__mulha3, __mulsa3)
3890         (__divqq3, __divha3, __divsa3): Adjust to new position of
3891         decimal point of signed accum types.
3893         (__mulusa3_round): New function.
3894         (__mulusa3): Use it.
3895         (__divqq_helper): New function.
3896         (__udivuqq3): Use it.
3898 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
3900         PR bootstrap/55370
3901         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
3903 2012-11-18  Teresa Johnson  <tejohnson@google.com>
3905         PR bootstrap/55051
3906         * libgcov.c (gcov_exit): Remove merged program summary
3907         comparison unless !GCOV_LOCKED.
3909 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3911         * soft-fp: Updated from glibc upstream.
3913 2012-11-06  Ian Lance Taylor  <iant@google.com>
3915         * generic-morestack.c (__generic_morestack): Align the returned
3916         stack pointer to a 32 byte boundary.
3917         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
3918         increment the return address until we have decided that we don't
3919         have a varargs function.
3920         (__morestack) [32-bit]: Align stack correctly when calling C
3921         functions.
3922         (__morestack) [64-bit]: Likewise.
3924 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
3926         * configure: Regenerate.
3928 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
3930         PR target/55175
3931         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
3932         * config/i386/sfp-machine.h: Guard exception handling
3933         code with _SOFT_FLOAT.
3934         * config/i386/32/sfp-machine.h: Guard rounding handling
3935         code with _SOFT_FLOAT.
3936         * config/i386/64/sfp-machine.h: Ditto.
3938 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
3940         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
3941         as extra_parts.
3943 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
3945         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
3946         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
3947         when appropriate.  Correct structure element types.
3948         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
3949         -minline-all-stringops from compile flags.
3951 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
3953         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
3955 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
3957         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
3959 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3961         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
3962         tmake_file.
3964 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
3965             Jim MacArthur  <jim.macarthur@arm.com>
3966             Marcus Shawcroft  <marcus.shawcroft@arm.com>
3967             Nigel Stephens  <nigel.stephens@arm.com>
3968             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
3969             Richard Earnshaw  <rearnsha@arm.com>
3970             Sofiane Naci  <sofiane.naci@arm.com>
3971             Stephen Thomas  <stephen.thomas@arm.com>
3972             Tejas Belagod  <tejas.belagod@arm.com>
3973             Yufeng Zhang  <yufeng.zhang@arm.com>
3975         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
3976         * config/aarch64/crti.S: New file.
3977         * config/aarch64/crtn.S: New file.
3978         * config/aarch64/linux-unwind.h: New file.
3979         * config/aarch64/sfp-machine.h: New file.
3980         * config/aarch64/sync-cache.c: New file.
3981         * config/aarch64/t-aarch64: New file.
3982         * config/aarch64/t-softfp: New file.
3984 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
3986         * config/mmix/crti.S: Mark program and data addresses using PRELD.
3987         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
3988         no-longer-needed LDBU insns.
3990 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3992         * config.host
3993         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
3994         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
3996 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
3998         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
4000 2012-10-15  Matthias Klose  <doko@ubuntu.com>
4002         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
4004 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
4006         * configure: Regenerate.
4007         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
4009 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
4011         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4012         instructions for 64bit targets only.
4014 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
4016         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4017         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
4018         * config/i386/32/sfp-machine.h: ... here.
4019         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
4020         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
4021         New defines.
4023 2012-10-07  Matthias Klose  <doko@ubuntu.com>
4025         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
4026         as unused.
4027         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
4029 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
4031         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
4032         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
4033         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
4034         (ElfW): Likewise.
4036 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
4038         PR other/53889
4039         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4040         Fix parameter names.
4042 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
4044         PR target/33135
4045         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
4046         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
4047         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
4049 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
4051         PR target/50457
4052         * config/sh/linux-atomic.S: Delete.
4053         * config/sh/linux-atomic.c: New.
4054         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
4055         linux-atomic.c.  Add cflags to disable warnings.
4057 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
4059         PR other/53889
4060         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
4061         function.
4062         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
4063         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
4064         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
4065         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
4066         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
4067         Likewise.
4068         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4069         Likewise.
4070         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
4071         Likewise.
4072         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
4073         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
4075 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
4077         * config.host (hppa-*-openbsd*): New target.
4078         * config/pa/t-openbsd: New file.
4080 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
4082         PR target/54222
4083         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
4084         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
4085         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
4086         (__divsa3): Use __negsi2 to negate r_quoL.
4087         * config/avr/lib1funcs.S (FALIAS): New macro.
4088         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
4089         (__negsi2): ...this new function.
4090         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
4091         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
4092         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
4093         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
4094         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
4095         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
4097 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
4099         PR target/54089
4100         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
4101         (lshrsi3): Reimplement as lshrsi3_r0.
4103 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
4105         PR target/46191
4106         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
4107         of libgcc.a.
4109 2012-09-07  Teresa Johnson  <tejohnson@google.com>
4111         PR gcov-profile/54487
4112         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
4113         differences.
4115 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
4117         PR target/54461
4118         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
4119         not configured --with-avrlibc=no.
4120         * config/avr/t-avrlibc: New file.
4121         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
4122         (DPBIT_FUNCS): Ditto.
4123         (TPBIT_FUNCS): Ditto.
4125 2012-09-04  Teresa Johnson  <tejohnson@google.com>
4127         * libgcov.c (struct gcov_summary_buffer): New structure.
4128         (gcov_histogram_insert): New function.
4129         (gcov_compute_histogram): Ditto.
4130         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
4131         histograms during summary merging.
4133 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
4135         * config.host (x86_64-*-openbsd*): New target.
4137 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
4139         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
4140         attribute.
4142 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
4144         PR target/54222
4145         * config/avr/t-avr (conv_X): Rename to func_X.
4147 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
4149         PR target/54222
4150         * config/avr/lib1funcs-fixed.S: New file.
4151         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
4152         after they are used.
4153         (neg2, neg4): New macros.
4154         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
4155         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
4156         (__umulhisi3): Speed up MUL variant if there is enough flash.
4157         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
4158         avr-modes.def.
4159         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
4160         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
4161         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
4162         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
4163         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
4164         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
4165         (LIB2FUNCS_EXCLUDE): Add supported functions.
4167 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
4169         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
4170         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
4171         libgcc-s-objects.
4172         * fixed-obj.mk: Only expand dependency if $o is not in
4173         LIB2FUNCS_EXCLUDE.
4175 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
4177         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
4179 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
4181         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
4182         depend on --enable-shared.
4183         ($(lib1asmfuncs-o)): Use %.vis files independent of
4184         --enable-shared.
4185         * static-object.mk ($(base)$(objext), $(base).vis)
4186         ($(base)_s$(objext)): Use same rules for visibility handling as in
4187         shared-object.mk.
4189 2012-08-21  Ian Lance Taylor  <iant@google.com>
4191         * config/i386/morestack.S (__morestack_non_split): Increase amount
4192         of space allocated for non-split code stack.
4194 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
4196         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
4197         even if inhibit_libc.
4199 2012-08-17  Julian Brown  <julian@codesourcery.com>
4201         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
4202         -fexceptions -fnon-call-exceptions if not defined.
4203         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
4204         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
4206 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
4208         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
4209         type.
4211 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
4213         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
4214         rs6000/t-slibgcc-aix.
4216 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
4218         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
4220 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
4222         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
4224 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
4226         PR driver/54171
4227         * Makefile.in (version): Replace top_srcdir with srcdir.
4229 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
4231         * Makefile.in (version): set to BASE-VER file from gcc directory.
4233 2012-08-01  Nick Clifton  <nickc@redhat.com>
4235         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
4236         Implements __clrsb for an HImode argument.
4238 2012-07-31  Nick Clifton  <nickc@redhat.com>
4240         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
4241         Implements __clrsb for an HImode argument.
4242         * config/stormy16/clrsbhi2.c: New file:
4243         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
4245 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
4247         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
4249 2012-07-19  Tristan Gingold  <gingold@adacore.com>
4250             Richard Henderson  <rth@redhat.com>
4252         * unwind-seh.c: New file.
4253         * unwind-generic.h: Include windows.h for SEH.
4254         (_Unwind_Exception): Use 6 private fields for SEH.
4255         (_GCC_specific_handler): Declare.
4256         * unwind-c.c (__gcc_personality_seh0): New function.
4257         Adjust for SEH.
4258         * config/i386/libgcc-cygming.ver: New file.
4259         * config/i386/t-seh-eh: New file.
4260         * config.host (x86_64-*-mingw*): Default to seh.
4262 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
4264         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
4266 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
4268         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
4269         __builtin_expect when checking for exceptions.
4270         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
4272 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
4274         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
4275         function declaration.
4276         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4277         (FP_RND_MASK): New.
4278         * config/ia64/sfp-exceptions.c: New.
4279         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
4281 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
4283         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
4284         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
4285         * config/i386/64/sfp-machine: ... (delete here) ...
4286         * config/i386/sfp-machine.h: ... to here.
4287         (FP_EX_MASK): Remove.
4288         (FP_RND_MASK): New.
4289         (FP_INIT_ROUNDMODE): Declare asm as volatile.
4291 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
4293         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
4294         * config/i386/libgcc-sol2.ver: Ditto.
4295         * config/i386/libgcc-glibc.ver: Ditto.
4297 2012-06-11  Roland McGrath  <mcgrathr@google.com>
4299         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
4300         If __GLIBC__ is defined, refer to __pthread_key_create instead of
4301         pthread_cancel.
4303 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
4305         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
4306         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
4307         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
4308         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4309         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
4310         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
4311         * config/i386/64/sfp-machine: ... (delete here) ...
4312         * config/i386/sfp-machine.h: ... to here.
4313         (FP_EX_MASK): New.
4314         (__sfp_handle_exceptions): New function declaration.
4315         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4316         * config/i386/sfp-exceptions.c: New.
4317         * config/i386/t-softfp: New.
4318         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
4319         i386/t-softfp to tmake_file.
4321 2012-06-03  David S. Miller  <davem@davemloft.net>
4323         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
4324         change.
4326 2012-05-31  David S. Miller  <davem@davemloft.net>
4328         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
4329         multiply and divide instructions on 32-bit when V9.
4330         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
4332 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
4334         * config/arm/ieee754-df.S: Fix typos.
4335         * config/arm/ieee754-sf.S: Fix typos.
4336         * config/c6x/libunwind.S: Fix typos.
4337         * config/epiphany/udivsi3-float.c: Fix typos.
4338         * config/microblaze/muldi3_hard.S: Fix typos.
4339         * config/picochip/adddi3.S: Fix typos.
4340         * config/picochip/ashlsi3.S: Fix typos.
4341         * config/picochip/ashrsi3.S: Fix typos.
4342         * config/picochip/clzsi2.S: Fix typos.
4343         * config/picochip/cmpsi2.S: Fix typos.
4344         * config/picochip/divmod15.S: Fix typos.
4345         * config/picochip/divmodhi4.S: Fix typos.
4346         * config/picochip/divmodsi4.S: Fix typos.
4347         * config/picochip/longjmp.S: Fix typos.
4348         * config/picochip/lshrsi3.S: Fix typos.
4349         * config/picochip/parityhi2.S: Fix typos.
4350         * config/picochip/popcounthi2.S: Fix typos.
4351         * config/picochip/setjmp.S: Fix typos.
4352         * config/picochip/subdi3.S: Fix typos.
4353         * config/picochip/ucmpsi2.S: Fix typos.
4354         * config/picochip/udivmodhi4.S: Fix typos.
4355         * config/picochip/udivmodsi4.S: Fix typos.
4356         * config/spu/divv2df3.c: Fix typos.
4357         * config/spu/mfc_multi_tag_release.c: Fix typos.
4358         * config/spu/mfc_tag_release.c: Fix typos.
4359         * configure.ac: Fix typos.
4360         * configure: Regenerate.
4362 2012-05-25  Ian Lance Taylor  <iant@google.com>
4364         * config/i386/morestack.S (__morestack_non_split): Check whether
4365         caller is varargs and needs %bp to hold the stack frame on return.
4367 2012-05-25  Olivier Hainque  <hainque@adacore.com>
4369         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
4370         sequence in the non pic case on VxWorks.
4372 2012-05-24  Olivier Hainque  <hainque@adacore.com>
4374         * Makefile.in: Move dependency on install-unwind_h from
4375         "install-leaf" to "install".
4377 2012-05-24  Olivier Hainque  <hainque@adacore.com>
4379         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
4380         Use a separate command for stamp removals.
4382 2012-05-21  Andrew Pinski  <apinski@cavium.com>
4384         PR bootstrap/53183
4385         * configure.ac: Define the default includes to being none.
4386         * configure: Regenerate.
4388 2012-05-16  Olivier Hainque  <hainque@adacore.com>
4390         * Makefile.in (install-unwind_h): Rename into ...
4391         (install-unwind_h-forbuild): New target.
4392         (all): Use it instead of the former install-unwind_h.
4393         (install-unwind_h): Reinstate, copy to user install destination
4394         for include files, not to the internal gcc object directory one.
4395         (install-leaf): Depend on it.
4397 2012-05-15  Olivier Hainque  <hainque@adacore.com>
4399         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
4400         register numbers. LR_REGNO replaces R_LR.
4401         (ucontext_for): New, helper for ...
4402         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
4403         and 5.3 of ...
4404         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
4406 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4408         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
4409         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
4410         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
4411         i386/t-cpuinfo ...
4412         (i[34567]86-*-*, x86_64-*-*): ... here.
4414         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
4415         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
4417         * config/i386/i386-cpuinfo.c: Rename to ...
4418         * config/i386/cpuinfo.c: ... this.
4419         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
4421         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
4422         (libgcc_cv_init_priority): New test.
4423         * configure: Regenerate.
4424         * config.in: New file.
4425         * Makefile.in (clean): Rename config.h to auto-target.h.
4426         (config.h): Likewise.
4427         (stamp-h): Likewise.
4429         * config/i386/cpuinfo.c (auto-target.h): Include.
4430         (CONSTRUCTOR_PRIORITY): Define.
4431         (__cpu_indicator_init): Use it.
4433 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
4435         * longlong.h: Use a URL instead of an FSF postal address.
4436         Replace spaces with tab.
4438 2012-05-08  Teresa Johnson  <tejohnson@google.com>
4440         * libgcov.c (gcov_clear, __gcov_reset): New functions.
4441         (__gcov_dump): Ditto.
4442         (gcov_dump_complete): New global variable.
4443         (gcov_exit): Export hidden to enable use in L_gcov_dump.
4444         (__gcov_flush): Outline functionality now in gcov_clear.
4445         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
4447 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
4449         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
4450         (mips*-*-linux*): Include mips/t-tpbit when long double is
4451         16 bytes long.
4453 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
4455         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
4456         (get_available_features): New argument. Check for AVX2.
4457         (__cpu_indicator_init): Modify call to get_available_features.
4459 2012-04-25  Alan Modra  <amodra@gmail.com>
4461         * config/rs6000/crtsavevr.S: New file.
4462         * config/rs6000/crtrestvr.S: New file.
4463         * config/rs6000/t-savresfgpr: Build the above.
4464         * config/rs6000/t-netbsd: Likewise.
4466 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
4468         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
4470 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
4472         * libgcc/config/i386/i386-cpuinfo.c: New file.
4473         * libgcc/config/i386/t-cpuinfo: New file.
4474         * libgcc/config.host: Include t-cpuinfo.
4475         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
4477 2012-04-24  Chao-ying Fu  <fu@mips.com>
4479         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
4481 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
4483         struct siginfo vs. siginfo_t
4485         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
4486         siginfo_t instead of struct siginfo.
4487         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
4488         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
4489         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
4490         (ia64_handle_unwabi): Likewise.
4491         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
4492         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
4493         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
4494         (sh_fallback_frame_state): Likewise.
4495         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
4496         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
4498 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
4500         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
4501         system call number.
4503 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
4505         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
4506         if it hasn't been previously saved.
4508 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
4510         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
4511         only for glibc.
4513 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
4515         PR target/52737
4516         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
4517         instead of __AVR_HAVE_8BIT_SP__.
4519 2012-03-26  Tristan Gingold  <gingold@adacore.com>
4521         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
4522         (unw_table_entry): Use unw_word instead of unsigned long.
4523         (_Unwind_FindTableEntry): Likewise.
4524         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
4525         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
4526         (_Unwind_FindTableEntry): Likewise.
4527         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
4528         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
4529         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
4530         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
4531         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
4532         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
4533         (uw_init_context_1, uw_install_context): Likewise.
4534         (unw_word): Move to unwind-ia64.h
4536 2012-03-26  Tristan Gingold  <gingold@adacore.com>
4538         * config/vms/vms-ucrt0.c: Update copyright years.
4539         Add a sanity check.
4540         (___gcc_main_flags): Declare.
4541         (__main): Check flags to remap argv and exit code.
4542         * config.host (*-*-*vms*): Adjust extra_parts.
4543         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
4544         (crt0.o): Add.
4546 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
4548         * arm/lib1funcs.asm (ctzsi2): New function.
4549         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
4550         * arm/t-linux (LIB1ASMFUNCS): Likewise.
4551         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
4552         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
4553         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
4554         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
4556 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
4558         * config.host: Add bits to support powerpc64-*-freebsd*.
4559         * config/rs6000/freebsd-unwind.h: New file.
4560         * config/rs6000/t-freebsd64: New file.
4562 2012-03-20  Richard Guenther  <rguenther@suse.de>
4564         PR gcov-profile/52627
4565         * libgcov.c (init_mx): Fix mutex name.
4567 2012-03-16  Tristan Gingold  <gingold@adacore.com>
4569         * config/ia64/vms-unwind.h: Remove ulong (and replace
4570         it by unw_reg where used).  Define unw_reg with __int64.
4572 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4574         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4575         Solaris 8 handling.
4576         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4577         Solaris 8 handling.
4578         (sparc_is_sighandler): Likewise.
4580 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
4582         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
4583         <= saved reg size.
4585 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4587         * config/arm/crtn.S: Fix typo.
4589 2012-03-13  Richard Guenther  <rguenther@suse.de>
4591         * libgcov.c: Remove stdio.h include and NULL un-define.
4593 2012-03-13  Richard Guenther  <rguenther@suse.de>
4595         PR target/52569
4596         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
4598 2012-03-13  Richard Guenther  <rguenther@suse.de>
4600         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
4602 2012-03-13  Richard Guenther  <rguenther@suse.de>
4604         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
4605         and __gthread_mutex_init_function definitions.
4607 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4609         * config.host (mips*-*-openbsd*): Remove.
4611 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4613         * config.host: Remove alpha*-dec-osf5.1* handling.
4614         * config/alpha/gthr-posix.c: Remove.
4615         * config/alpha/libgcc-osf5.ver: Remove.
4616         * config/alpha/osf5-unwind.h: Remove.
4617         * config/alpha/t-osf-pthread: Remove.
4618         * config/alpha/t-slibgcc-osf: Remove.
4619         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
4620         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
4621         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
4622         * mkmap-flat.awk: Remove osf_export handling.
4624 2012-03-12  Richard Guenther  <rguenther@suse.de>
4626         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
4627         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
4628         (__gthread_mutex_init_function): New function.
4629         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
4631         PR gcov/49484
4632         * libgcov.c: Include gthr.h.
4633         (__gcov_flush_mx): New global variable.
4634         (init_mx, init_mx_once): New functions.
4635         (__gcov_flush): Protect self with a mutex.
4636         (__gcov_fork): Re-initialize mutex after forking.
4637         * unwind-dw2-fde.c: Change condition under which to use
4638         __GTHREAD_MUTEX_INIT_FUNCTION.
4640 2012-03-12  Tristan Gingold  <gingold@adacore.com>
4642         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
4643         * config/ia64/t-vms: Likewise.
4645 2012-03-11  Michael Hope  <michael.hope@linaro.org>
4647         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
4648         for Thumb-2.
4650 2012-03-07  Walter Lee  <walt@tilera.com>
4652         * config/tilepro/atomic.c: Rename "atomic_" prefix to
4653         "arch_atomic_".
4654         (atomic_xor): Rename and move definition to
4655         config/tilepro/atomic.h.
4656         (atomic_nand): Ditto.
4657         * config/tilepro/atomic.h: Rename "atomic_" prefix to
4658         "arch_atomic_".
4659         (arch_atomic_xor): Move from config/tilepro/atomic.c.
4660         (arch_atomic_nand): Ditto.
4662 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
4664         PR target/52507
4665         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
4667 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
4669         PR target/52505
4670         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
4671         from RAM.
4673 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
4675         PR target/52461
4676         PR target/52508
4677         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
4678         if RAMPZ affects reading from RAM.
4679         (__tablejump_elpm__): Ditto.
4680         (.xload): Ditto.
4681         (__movmemx_hi): Ditto.
4682         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
4683         (__do_global_dtors): Ditto.
4684         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
4685         (__movmemx_hi): Ditto.
4687 2012-03-05  Richard Henderson  <rth@redhat.com>
4689         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
4690         [ARM] (count_trailing_zeros): Use the builtin.
4692 2012-03-01  Kai Tietz  <ktietz@redhat.com>
4694         * soft-fp: Imported from glibc upstream.
4696 2012-02-28  Kai Tietz  <ktietz@redhat.com>
4698         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
4699         for mingw-targets as attribute gcc_struct.
4701 2012-02-28  Ian Lance Taylor  <iant@google.com>
4703         * generic-morestack.c (__splitstack_releasecontext): Correct call
4704         to __morestack_release_segments.
4706 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4708         PR target/52390
4709         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
4710         for __linux__ when removing signals from __morestack_fullmask.
4712 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
4714         PR target/52261
4715         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
4717 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4719         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
4720         instead of HAVE_INITFINI_ARRAY.
4721         * config/ia64/crtend.S: Likewise.
4723 2012-02-20  Kai Tietz  <ktietz@redhat.com>
4725         PR libstdc++/52300
4726         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
4728         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
4729         to w32-unwind.h header.
4731 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
4733         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
4734         (mips*-*-linux*): Remove t-slibgcc-libgcc.
4735         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
4736         * config/mips/mips16.S (__mips16_rdhwr): Delete.
4738 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
4740         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
4742 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
4744         PR libitm/52220
4745         * config/darwin-crt-tm.c: Correct typo.
4747 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
4748             Patrick Marlier  <patrick.marlier@gmail.com>
4750         PR libitm/52220
4751         * config/darwin-crt-tm.c: Generate dummy functions.
4753 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
4754             Patrick Marlier  <patrick.marlier@gmail.com>
4756         PR libitm/52042
4757         * config/darwin-crt-tm.c (getTMCloneTable): New function.
4758         (__doTMRegistrations): Call it.
4759         (__doTMdeRegistrations): Likewise.
4761 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
4762             Anatoly Sokolov  <aesok@post.ru>
4763             Eric Weddington  <eric.weddington@atmel.com>
4765         PR target/52261
4766         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
4767         (__epilogue_restores__): Ditto.
4769 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
4771         PR target/51921
4772         PR target/52205
4773         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
4774         Solaris 11 and slightly reformat.
4775         (sparc_is_sighandler): Likewise.
4777 2012-02-14  Walter Lee  <walt@tilera.com>
4779         * config.host: Handle tilegx and tilepro.
4780         * config/tilegx/sfp-machine.h: New file.
4781         * config/tilegx/sfp-machine32.h: New file.
4782         * config/tilegx/sfp-machine64.h: New file.
4783         * config/tilegx/t-crtstuff: New file.
4784         * config/tilegx/t-softfp: New file.
4785         * config/tilegx/t-tilegx: New file.
4786         * config/tilepro/atomic.c: New file.
4787         * config/tilepro/atomic.h: New file.
4788         * config/tilepro/linux-unwind.h: New file.
4789         * config/tilepro/sfp-machine.h: New file.
4790         * config/tilepro/softdivide.c: New file.
4791         * config/tilepro/softmpy.S: New file.
4792         * config/tilepro/t-crtstuff: New file.
4793         * config/tilepro/t-tilepro: New file.
4795 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
4797         PR libstdc++/51296
4798         PR libstdc++/51906
4799         * gthr-posix.h: Allow static initializer macros to be disabled.
4800         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
4802 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
4804         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
4805         Add t-slibgcc-libgcc to tmake_file.
4806         * config/mips/libgcc-mips16.ver: Revert previous patch.
4807         * config/mips/mips16.S (__mips16_rdhwr): Hide.
4809 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
4810             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
4812         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
4813         * config/cr16/crti.S: New file.
4814         * config/cr16/crtlibid.S: New file.
4815         * config/cr16/crtn.S: New file.
4816         * config/cr16/lib1funcs.S: New file.
4817         * config/cr16/t-cr16: New file.
4818         * config/cr16/t-crtlibid: New file.
4819         * config/cr16/unwind-dw2.h: New file.
4820         * config/cr16/unwind-cr16.c: New file.
4821         * config/cr16/divmodhi3.c: New file.
4823 2012-01-25  Alan Modra  <amodra@gmail.com>
4825         * config/rs6000/t-linux64: Delete.  Move..
4826         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
4827         * config/rs6000/t-linux: ..and libgcc flags to here.
4829 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
4831         * config.host (i[34567]86-*-interix3*):
4832         Change triplet to i[34567]86-*-interix[3-9]*.
4833         * configure: Regenerate.
4835 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
4836             Richard Sandiford  <rdsandiford@googlemail.com>
4838         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
4839         * config/mips/mips16.S (__mips16_rdhwr): New function.
4840         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
4842 2012-01-11  Nathan Sidwell  <nathan@acm.org>
4844         * libgcov.c (__gcov_init): Ignore objects with no functions.
4846 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
4848         PR target/49868
4849         Extend __pgmx semantics to linearize memory.
4850         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
4851         * config/avr/lib1funcs.S (__xload_1): New function.
4852         (__movmemx_qi, __movmemx_hi): New functions.
4853         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
4854         semantics.
4856 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
4858         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
4859         purported sigacthandler address isn't null before dereferencing it.
4860         (sparc_is_sighandler): Likewise.
4862 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
4864         PR ada/41929
4865         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
4866         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
4867         (sparc_is_sighandler): Likewise.
4868         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
4870 2012-01-06  Tristan Gingold  <gingold@adacore.com>
4872         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
4873         compatibility thunks...
4874         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
4875         (crtbeginS.o, crtendS.o): ... and these to ...
4876         * config/ia64/t-ia64-elf: ... this new file.
4877         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
4878         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
4880 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4882         * configure: Regenerate.
4883         * config/s390/t-crtstuff: Remove -fPIC.
4885 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
4887         PR bootstrap/51006
4888         * enable-execute-stack-mprotect.c (getpagesize): Do not define
4889         for NetBSD.
4891 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
4893         PR target/51345
4894         * config/avr/lib1funcs.S: Remove FIXME comments.
4895         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
4897 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
4899         Implement light-weight DImode support.
4900         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
4901         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
4902         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
4903         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
4905 2011-12-30  Nathan Sidwell  <nathan@acm.org>
4907         * libgcov.c (gcov_crc32): Remove global var.
4908         (free_fn_data): New function.
4909         (buffer_fn_data): Pass in filename, more robust error recovery.
4910         (crc32_unsigned): New function.
4911         (gcov_exit): More robust detection of new program. More robust
4912         error recovery.
4913         (__gcov_init): Do not update program's crc here.
4915 2011-12-21  Tristan Gingold  <gingold@adacore.com>
4917         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
4919 2011-12-21  Ian Lance Taylor  <iant@google.com>
4921         * config/i386/morestack.S: Simplify CFI opcodes throughout.
4923 2011-12-20  Ian Lance Taylor  <iant@google.com>
4925         * config/i386/morestack.S (__morestack_non_split): If there is
4926         enough stack space already, don't split.  Ask for more stack space
4927         than we required.
4929 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
4931         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
4932         `sys/sdt.h'.
4933         (_Unwind_DebugHook): New function.
4934         (uw_restore_core_regs): New define.
4935         (unwind_phase2): Use uw_restore_core_regs instead of
4936         restore_core_regs.
4937         (unwind_phase2_forced): Likewise.
4938         (__gnu_Unwind_Resume): Likewise.
4940 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
4942         * config/alpha/linux-unwind.h: Update copyright years.
4943         (MD_FROB_UPDATE_CONTEXT): New define.
4944         (alpha_frob_update_context): New function.
4946 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
4948         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
4949         tmake_file rather replacing it.
4951 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
4953         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
4954         function is not used for PPC64.
4955         (save_world): Amend comments.  Update the VRsave mask to reflect the
4956         saved regs.
4957         (rest_world): Update comments, do not  clobber r10, do not use r8.
4958         (eh_rest_world_r10): Amend comments, do not use r8.
4959         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
4960         no longer used, move restore of CR and target address to the end of
4961         the routine.
4963 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
4965         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
4966         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
4968 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
4970         PR target/49313
4971         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
4972         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
4974 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
4976         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
4978 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
4980         PR target/49313
4981         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
4982         * config/avr/lib1funcs.S (__muldi3): New function.
4984 2011-12-06  Andrew Pinski  <apinski@cavium.com>
4986         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
4987         size of func_ptr.
4988         (__frame_dummy_init_array_entry): Likewise.
4990 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
4992         Forward-port from gcc-4_6-branch r181936 2011-12-02.
4994         PR target/51345
4995         PR target/51002
4996         * config/avr/lib1funcs.S (__prologue_saves__,
4997         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
4998         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
5000 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
5002         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
5004 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5006         PR other/51272
5007         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
5008         (_ITM_deregisterTMCloneTable): Likewise.
5009         (__register_frame_info): Fix unused warning.
5010         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
5011         pthread_default_stacksize_np): Likewise.
5012         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
5014 2011-11-29  DJ Delorie  <dj@redhat.com>
5016         * config.host (rl78-*-elf): New case.
5017         * config/rl78: New directory for the Renesas RL78.
5019 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
5021         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
5022         formatting.
5024 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5026         PR other/51022
5027         * config/rs6000/t-savresfgpr: New file.
5028         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
5029         $(srcdir)/config/rs6000/eabi.S.
5030         * config/rs6000/t-ppccomm-ldbl: Remove.
5031         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
5032         tmake_file.
5033         (powerpc-*-eabispe*): Likewise.
5034         (powerpc-*-eabi*): Likewise.
5035         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5036         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
5037         to tmake_file, remove rs6000/t-ppccomm-ldbl.
5038         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
5039         tmake_file.
5040         (powerpc-*-eabisim*): Likewise.
5041         (powerpc-*-elf*): Likewise.
5042         (powerpc-*-eabialtivec*): Likewise.
5043         (powerpc-xilinx-eabi*): Likewise.
5044         (powerpc-*-rtems*): Likewise.
5045         (powerpcle-*-elf*): Likewise.
5046         (powerpcle-*-eabisim*): Likewise.
5047         (powerpcle-*-eabi*): Likewise.
5049 2011-11-27  Ian Lance Taylor  <iant@google.com>
5051         * generic-morestack.c (__splitstack_find): Check for NULL old
5052         stack value.
5053         (__splitstack_resetcontext): New function.
5054         (__splitstack_releasecontext): New function.
5055         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5057 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
5059         * config/darwin-crt-tm.c: Correct comments, use correct licence.
5061 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
5063         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
5065 2011-11-26  Richard Henderson  <rth@redhat.com>
5067         * config/m68k/linux-atomic.c: New file.
5068         * config/m68k/t-linux: New file.
5069         * config.host (m68k-uclinux, m68k-linux): Use it.
5071 2011-11-26  Richard Henderson  <rth@redhat.com>
5073         * crtstuff.c (__TMC_LIST__): Mark used not unused.
5074         (__TMC_END__): Only declare if hidden is available; in the definition,
5075         if hidden is unavailable add a null record.
5076         (deregister_tm_clones, register_tm_clones): New.
5077         (__do_global_dtors_aux, frame_dummy): Use them.
5078         (__do_global_dtors, __do_global_ctors_1): Likewise.
5080 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
5082         * config/darwin-crt-tm.c: New file.
5083         * config.host (darwin): Build crttms.o crttme.o to provide
5084         startup and shutdown for tm clones.
5085         * config/t-darwin (crttms.o): New build rule.
5086         (crttme.o): Likewise.
5088 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
5090         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
5091         et al.
5093 2011-11-21  Richard Henderson  <rth@redhat.com>
5095         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
5096         (__TMC_LIST__, __TMC_END__): New.
5097         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
5098         (__do_global_dtors): Likewise.
5099         (frame_dummy): Call _ITM_registerTMCloneTable.
5100         (__do_global_ctors_1): Likewise.
5102 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5104         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
5105         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5106         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
5107         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
5108         * config/i386/t-darwin64: Remove.
5109         * config/sh/t-netbsd (LIB2ADD): Remove.
5111 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
5113         PR target/49313
5114         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
5115         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
5116         * config/avr/lib1funcs.S (wmov): New assembler macro.
5117         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
5118         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
5119         (__udivmod64): New function.
5120         (__negdi2): New function.
5122 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
5124         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
5125         *-*-freebsd*aout*): Remove.
5127 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
5129         * static-object.mk (c_flags-$o): Save c_flags.
5130         ($(base)$(objext)): Use it.
5132 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
5134         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
5136 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
5138         PR target/49868
5139         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
5140         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
5141         New functions.
5143 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
5145         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
5146         functions.
5147         (aeabi_uidivmod): Likewise.
5148         (umodsi3): Likewise.
5149         (divsi3): Likewise.
5150         (aeabi_idivmod): Likewise.
5151         (modsi3): Likewise.
5153 2011-11-16  Tristan Gingold  <gingold@adacore.com>
5155         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
5157 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
5159         PR target/49868
5160         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
5161         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
5163 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5165         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
5166         tmake_file list.
5167         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
5168         * config/pa/t-stublib64: Delete.
5170 2011-11-12  Richard Henderson  <rth@redhat.com>
5172         * config/rs6000/linux-unwind.h (frob_update_context): Properly
5173         cast the pointer argument to _Unwind_SetGRPtr.
5175 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5177         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
5179 2011-11-09  Ian Lance Taylor  <iant@google.com>
5181         * generic-morestack.c: Include <string.h>.
5182         (uintptr_type): Define.
5183         (struct initial_sp): Add dont_block_signals field.  Reduce size of
5184         extra array by 1.
5185         (allocate_segment): Set prev field to NULL.  Don't set
5186         __morestack_current_segment or __morestack_segments.
5187         (__generic_morestack): Update current->prev and *pp after calling
5188         allocate_segment.
5189         (__morestack_block_signals): Don't do anything if
5190         dont_block_signals is set.
5191         (__morestack_unblock_signals): Likewise.
5192         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
5193         uintptr_type.
5194         (__splitstack_block_signals): New function.
5195         (enum __splitstack_content_offsets): Define.
5196         (__splitstack_getcontext, __splitstack_setcontext): New functions.
5197         (__splitstack_makecontext): New function.
5198         (__splitstack_block_signals_context): New function.
5199         (__splitstack_find_context): New function.
5200         * config/i386/morestack.S (__morestack_get_guard): New function.
5201         (__morestack_set_guard, __morestack_make_guard): New functions.
5202         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5204 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5206         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
5207         (i[34567]86-*-mingw*): ... here.
5208         (x86_64-*-mingw*): ... here.
5210 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5212         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
5214 2011-11-07  Nathan Sidwell  <nathan@acm.org>
5216         * libgcov.c (struct gcov_fn_buffer): New struct.
5217         (buffer_fn_data): New helper.
5218         (gcov_exit): Rework for new gcov data structures.
5220 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
5222         PR target/49313
5223         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
5225 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5227         * config.host (tmake_file): Correct comment.
5228         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
5229         t-libgcc-pic.
5230         (bfin*-uclinux*): Likewise.
5231         (bfin*-linux-uclibc*): Likewise.
5232         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
5234         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
5235         assigning.
5236         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5237         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
5238         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5239         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
5240         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5241         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
5242         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
5243         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5244         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
5245         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
5246         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
5247         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
5248         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
5250         * config/bfin/t-elf: Remove.
5251         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
5253 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5255         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
5256         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
5257         (lm32-*-elf*, lm32-*-rtems*): Split into ...
5258         (lm32-*-elf*): ... this.
5259         (lm32-*-rtems*): ... and this.
5260         Add to tmake_file.
5261         (m32r-*-rtems*): Add to tmake_file.
5262         (moxie-*-rtems*): Likewise.
5263         (sparc-*-rtems*): Likewise.
5264         Remove t-rtems from tmake_file.
5265         (sparc64-*-rtems*): Likewise.
5266         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
5267         instead.
5269 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5271         PR bootstrap/50982
5272         * config/gthr-posix.h: Move ...
5273         * gthr-posix.h: ... here.
5274         * config/gthr-lynx.h: Reflect this.
5275         * config/gthr-vxworks.h: Likewise.
5276         * config/rs6000/gthr-aix.h: Likewise.
5277         * configure.ac (target_thread_file): Likewise.
5278         * configure: Regenerate.
5280 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5282         * config.host (arm*-*-rtemseabi*): New target.
5284 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5286         PR other/50991
5287         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
5288         extra-parts.
5290 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
5292         * config.host (epiphany-*-elf*): New configuration.
5293         * config/epiphany: New Directory.
5295 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
5297         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
5298         * config/avr/t-rtems: New.
5299         Filter out _exit from LIB1ASMFUNCS.
5301 2011-11-04  David S. Miller  <davem@davemloft.net>
5303         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
5304         * configure: Rebuild.
5306 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5308         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
5309         variable.
5311 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
5313         PR target/50931
5314         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
5315         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
5317 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
5319         PR target/50989
5320         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
5322 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5324         * config/c6x/t-elf (LIB2ADDEH): Set.
5325         * config/c6x/t-c6x-elf: Remove.
5327 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5329         * config/i386/sol2-ci.S: Rename to ...
5330         * config/i386/crti.S: ... this.
5331         * config/i386/sol2-cn.S: Rename to ...
5332         * config/i386/crtn.S: ... this.
5333         * config/sparc/sol2-ci.S: Rename to ...
5334         * config/sparc/crti.S: ... this.
5335         * config/sparc/sol2-cn.S: Rename to ...
5336         * config/sparc/crtn.S: ... this.
5337         * config/t-sol2 (CUSTOM_CRTIN): Remove.
5338         (crti.o, crtn.o): Remove.
5340 2011-11-04  Tristan Gingold  <gingold@adacore.com>
5342         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
5344 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
5346         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
5348 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
5350         * config.host (crisv32-*-none, cris-*-none): Remove.
5351         (crisv32-*-elf): Append to tmake_file, don't just set it.
5352         (cris-*-elf): Add missing t-fdpbit to tmake_file.
5354 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5356         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
5357         (ecrtn$(objext)): Likewise.
5358         (ncrti$(objext)): Likewise.
5359         (ncrtn$(objext)): Likewise.
5361 2011-11-03  Andreas Schwab  <schwab@redhat.com>
5363         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
5365 2011-11-02  David S. Miller  <davem@davemloft.net>
5367         * configure.ac: Set host_address on sparc too.
5368         * configure: Regenerate.
5369         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
5370         based upon host_address.
5371         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
5373 2011-11-02  Jason Merrill  <jason@redhat.com>
5375         * config/rs6000/t-ppccomm: Add missing \.
5377 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5379         * gthr-single.h, gthr.h: New files.
5380         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
5381         config/gthr-vxworks.h, config/i386/gthr-win32.h,
5382         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
5383         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
5384         * config/i386/gthr-win32.c: Include "gthr-win32.h".
5385         * configure.ac (thread_header): New variable.
5386         Set it depending on target_thread_file.
5387         (gthr-default.h): Link from $thread_header.
5388         * configure: Regenerate.
5389         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
5391 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5393         * configure.ac (tm_file_): New variable.
5394         Determine from tm_file.
5395         (tm_file, tm_defines): Substitute.
5396         * configure: Regenerate.
5397         * mkheader.sh: New file.
5398         * Makefile.in (clean): Remove libgcc_tm.h.
5399         ($(objects)): Depend on libgcc_tm.h.
5400         (libgcc_tm_defines, libgcc_tm_file): New variables.
5401         (libgcc_tm.h, libgcc_tm.stamp): New targets.
5402         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
5403         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
5404         ($(extra-parts)): Depend on libgcc_tm.h.
5405         * config.host (tm_defines, tm_file): New variable.
5406         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
5407         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
5408         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
5409         (avr-*-rtems*): Likewise.
5410         (avr-*-*): Likewise.
5411         (frv-*-elf): Likewise.
5412         (frv-*-*linux*): Likewise.
5413         (h8300-*-rtems*): Likewise.
5414         (h8300-*-elf*): Likewise.
5415         (i[34567]86-*-darwin*): Likewise.
5416         (x86_64-*-darwin*): Likewise.
5417         (rx-*-elf): Likewise.
5418         (tic6x-*-uclinux): Likewise.
5419         (tic6x-*-elf): Likewise.
5420         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
5421         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
5422         * config/i386/cygming-crtbegin.c: Likewise.
5423         * config/i386/cygming-crtend.c: Likewise.
5424         * config/ia64/fde-vms.c: Likewise.
5425         * config/ia64/unwind-ia64.c: Likewise.
5426         * config/libbid/bid_gcc_intrinsics.h: Likewise.
5427         * config/rs6000/darwin-fallback.c: Likewise.
5428         * config/stormy16/lib2funcs.c: Likewise.
5429         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
5430         * crtstuff.c: Likewise.
5431         * dfp-bit.h: Likewise.
5432         * emutls.c: Likewise.
5433         * fixed-bit.c: Likewise.
5434         * fp-bit.c: Likewise.
5435         * generic-morestack-thread.c: Likewise.
5436         * generic-morestack.c: Likewise.
5437         * libgcc2.c: Likewise.
5438         * libgcov.c: Likewise.
5439         * unwind-dw2-fde-dip.c: Likewise.
5440         * unwind-dw2-fde.c: Likewise.
5441         * unwind-dw2.c: Likewise.
5442         * unwind-sjlj.c: Likewise.
5444 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5446         * configure.ac: Include ../config/picflag.m4.
5447         (GCC_PICFLAG): Call it.
5448         Substitute.
5449         * configure: Regenerate.
5450         * Makefile.in (gcc_srcdir): Remove.
5451         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
5452         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
5453         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
5454         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
5455         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
5456         Use $<.
5457         Remove comment.
5458         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
5459         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
5460         to refer to libgcc2.c.
5461         Use $<.
5462         * config/darwin-64.c: New file.
5463         * config/darwin-crt3.c: Remove comment.
5464         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
5465         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
5466         config/udivmodsi4.c: New files.
5467         * config/memcmp.c, config/memcpy.c, config/memmove.c,
5468         config/memset.c: New files.
5469         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
5470         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
5471         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
5472         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
5473         * config/t-openbsd-thread: New file.
5474         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
5475         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
5476         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
5477         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
5478         qrnnd.S.
5479         Adapt filename.
5480         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
5481         to refer to gthr-posix.c.
5482         * config/alpha/t-vms (LIB2ADD): Set.
5483         * config/alpha/vms-gcc_shell_handler.c: New file.
5484         * config/arm/bpabi.c, config/arm/fp16.c,
5485         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
5486         config/arm/unaligned-funcs.c: New files.
5487         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
5488         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
5489         * config/arm/t-linux: Likewise.
5490         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
5491         * config/arm/t-netbsd: New file.
5492         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
5493         * config/arm/t-symbian (LIB2ADD_ST): Set.
5494         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
5495         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5496         * config/bfin/t-elf: New file.
5497         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
5498         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
5499         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
5500         config/c6x/ltf.c: New files.
5501         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
5502         (HOST_LIBGCC2_CFLAGS): Set.
5503         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
5504         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5505         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
5506         New files.
5507         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
5508         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
5509         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
5510         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
5511         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
5512         files.
5513         * config/frv/t-frv (LIB2ADD): Set.
5514         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5515         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
5516         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
5517         config/h8300/popcounthi2.c: New files.
5518         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
5519         * config/i386/gthr-win32.c: New file.
5520         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
5521         * config/i386/t-cygwin: Likewise.
5522         * config/i386/t-darwin, config/i386/t-darwin64,
5523         config/i386/t-gthr-win32, config/i386/t-interix: New files.
5524         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
5525         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5526         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5527         * config/ia64/quadlib.c: New file.
5528         * config/ia64/t-hpux (LIB2ADD): Set.
5529         * config/ia64/t-ia64: Add comment.
5530         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
5531         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5532         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
5533         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
5534         * config/m32c/t-m32c (LIB2ADD): Set.
5535         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
5536         * config/m32r/t-m32r: Likewise.
5537         * config/m68k/fpgnulib.c: New file.
5538         * config/m68k/t-floatlib (LIB2ADD): Set.
5539         (xfgnulib.c): New target.
5540         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
5541         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
5542         * config/mep/t-mep (LIB2ADD): Set.
5543         * config/microblaze/divsi3.asm: Rename to divsi3.S.
5544         * config/microblaze/moddi3.asm: Rename to moddi3.S.
5545         * config/microblaze/modsi3.asm: Rename to modsi3.S.
5546         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
5547         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
5548         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
5549         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
5550         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
5551         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
5552         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
5553         New files.
5554         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
5555         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
5556         * config/pa/fptr.c, config/pa/lib2funcs.S,
5557         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
5558         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
5559         (LIB2ADD, LIB2ADD_ST): Set.
5560         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
5561         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
5562         Set.
5563         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
5564         * config/pdp11/t-pdp11: New file.
5565         * config/picochip/libgccExtras/adddi3.S,
5566         config/picochip/libgccExtras/ashlsi3.S,
5567         config/picochip/libgccExtras/ashrsi3.S,
5568         config/picochip/libgccExtras/clzsi2.S,
5569         config/picochip/libgccExtras/cmpsi2.S,
5570         config/picochip/libgccExtras/divmod15.S,
5571         config/picochip/libgccExtras/divmodhi4.S,
5572         config/picochip/libgccExtras/divmodsi4.S,
5573         config/picochip/libgccExtras/lshrsi3.S,
5574         config/picochip/libgccExtras/parityhi2.S,
5575         config/picochip/libgccExtras/popcounthi2.S,
5576         config/picochip/libgccExtras/subdi3.S,
5577         config/picochip/libgccExtras/ucmpsi2.S,
5578         config/picochip/libgccExtras/udivmodhi4.S,
5579         config/picochip/libgccExtras/udivmodsi4.S: New files.
5580         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
5581         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
5582         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
5583         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
5584         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
5585         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
5586         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
5587         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
5588         files.
5589         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
5590         (HOST_LIBGCC2_CFLAGS): Set.
5591         * config/rs6000/t-darwin64: New file.
5592         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
5593         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
5594         * config/rs6000/t-ppccomm (LIB2ADD): Add
5595         $(srcdir)/config/rs6000/tramp.S.
5596         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
5597         Add  $(srcdir)/config/rs6000/eabi.S.
5598         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
5599         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
5600         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
5601         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
5602         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
5603         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
5604         * config/rs6000/tramp.S: New file.
5605         * config/s390/t-tpf: Remove.
5606         * config/sh/linux-atomic.S: New file.
5607         * config/sh/t-linux (LIB2ADD): Set.
5608         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
5609         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
5610         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
5611         to unwind-dw2.c.
5612         (HOST_LIBGCC2_CFLAGS): Set.
5613         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5614         * config/spu/divmodti4.c, config/spu/divv2df3.c,
5615         config/spu/float_disf.c, config/spu/float_unsdidf.c,
5616         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
5617         config/spu/mfc_multi_tag_release.c,
5618         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
5619         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
5620         config/spu/multi3.c: New files.
5621         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
5622         (HOST_LIBGCC2_CFLAGS): Set.
5623         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
5624         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
5625         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
5626         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
5627         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
5628         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
5629         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
5630         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
5631         config/stormy16/umodsi3.c: New files.
5632         * config/xtensa/lib2funcs.S: New file.
5633         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
5634         * config/xtensa/t-xtensa (LIB2ADD): Set.
5635         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
5636         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
5637         Add t-freebsd-thread to tmake_file for posix threads.
5638         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
5639         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
5640         (*-*-lynxos*): Likewise.
5641         (*-*-netbsd*): Likewise.
5642         (*-*-openbsd*): Likewise.
5643         Add t-openbsd-thread to tmake_file for posix threads.
5644         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
5645         (*-*-vxworks*): Set tmake_file.
5646         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
5647         (alpha*-*-freebsd*): Likewise.
5648         (alpha*-*-netbsd*): Likewise.
5649         (alpha*-*-openbsd*): Likewise.
5650         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
5651         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
5652         (alpha*-dec-*vms*): Likewise.
5653         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
5654         (bfin*-elf*): Add bfin/t-elf to tmake_file.
5655         (bfin*-uclinux*): Likewise.
5656         (bfin*-linux-uclibc*): Likewise.
5657         (crisv32-*-elf): Add cris/t-cris to tmake_file.
5658         (crisv32-*-none): Likewise.
5659         (cris-*-elf): Likewise.
5660         (cris-*-none): Likewise.
5661         (cris-*-linux*, crisv32-*-linux*): Likewise.
5662         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
5663         tmake_file.
5664         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
5665         tmake_file.
5666         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
5667         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
5668         (x86_64-*-elf*): Likewise.
5669         (i[34567]86-*-nto-qnx*): Likewise.
5670         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
5671         win32 threads.
5672         (x86_64-*-mingw*): Likewise.
5673         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
5674         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
5675         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
5676         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
5677         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
5678         tmake_file.
5679         (mipsisa64sr71k-*-elf*): Likewise.
5680         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
5681         (mips-*-elf*, mipsel-*-elf*): Likewise.
5682         (mips64-*-elf*, mips64el-*-elf*): Likewise.
5683         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
5684         (mips*-*-rtems*): Likewise.
5685         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
5686         to tmake_file.
5687         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
5688         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
5689         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
5690         (spu-*-elf*): Likewise.
5691         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
5693 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5695         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
5696         $(srcdir) to refer to $(LIB1ASMSRC).
5697         Use $<.
5698         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
5699         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
5700         config/arm/lib1funcs.S: New files.
5701         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
5702         * config/arm/t-arm: New file.
5703         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
5704         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
5705         config/arm/t-strongarm-elf: New files.
5706         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
5707         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
5708         * config/avr/lib1funcs.S: New file.
5709         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5710         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
5711         * config/c6x/lib1funcs.S: New file.
5712         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5713         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
5714         * config/frv/lib1funcs.S: New file.
5715         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5716         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
5717         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
5718         * config/ia64/__divxf3.asm: Rename to ...
5719         * config/ia64/__divxf3.S: ... this.
5720         Adapt lib1funcs.asm filename.
5721         * config/ia64/_fixtfdi.asm: Rename to ...
5722         * config/ia64/_fixtfdi.S: ... this.
5723         Adapt lib1funcs.asm filename.
5724         * config/ia64/_fixunstfdi.asm: Rename to ...
5725         * config/ia64/_fixunstfdi.S: ... this.
5726         Adapt lib1funcs.asm filename.
5727         * config/ia64/_floatditf.asm: Rename to ...
5728         * config/ia64/_floatditf.S: ... this.
5729         Adapt lib1funcs.asm filename.
5730         * config/ia64/lib1funcs.S: New file.
5731         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
5732         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5733         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
5734         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
5735         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
5736         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
5737         * config/mep/lib1funcs.S: New file.
5738         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5739         * config/mips/mips16.S: New file.
5740         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5741         * config/pa/milli64.S: New file.
5742         * config/pa/t-linux, config/pa/t-linux64: New files.
5743         * config/picochip/lib1funcs.S: New file.
5744         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5745         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
5746         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
5747         * config/sh/t-netbsd: New file.
5748         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
5749         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
5750         * config/sh/t-sh64: New file.
5751         * config/sparc/lb1spc.S: New file.
5752         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
5753         filename.
5754         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
5755         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
5756         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
5757         config/xtensa/lib1funcs.S: New files.
5758         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5759         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
5760         tmake_file.
5761         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
5762         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
5763         (arm*-*-linux*): Likewise.
5764         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
5765         arm*-*-linux-*eabi, add arm/t-linux otherwise.
5766         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
5767         (arm*-*-ecos-elf): Likewise.
5768         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
5769         (arm*-*-rtems*): Likewise.
5770         (arm*-*-elf): Likewise.
5771         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
5772         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
5773         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
5774         (bfin*-uclinux*): Likewise.
5775         (bfin*-linux-uclibc*): Likewise.
5776         (bfin*-rtems*): Likewise.
5777         (bfin*-*): Likewise.
5778         (fido-*-elf): Merge into m68k-*-elf*.
5779         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
5780         (frv-*-*linux*): Add frv/t-frv to tmake_file.
5781         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
5782         (h8300-*-elf*): Likewise.
5783         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
5784         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
5785         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
5786         (i[34567]86-*-mingw*): Likewise.
5787         (x86_64-*-mingw*): Likewise.
5788         (i[34567]86-*-interix3*): Likewise.
5789         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
5790         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
5791         (m68k-*-elf*): Also handle fido-*-elf.
5792         Add m68k/t-floatlib to tmake_file.
5793         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
5794         (m68k-*-linux*): Likewise.
5795         (m68k-*-rtems*): Likewise.
5796         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
5797         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
5798         sh64*-*-*.
5799         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
5800         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
5801         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
5802         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
5803         sh/t-netbsd to tmake_file.
5804         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
5805         (sh-*-rtems*): Add sh/t-sh to tmake_file.
5806         (sh-wrs-vxworks): Likewise.
5807         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
5808         *-leon[3-9]*.
5809         (v850*-*-*): Add v850/t-v850 to tmake_file.
5810         (vax-*-linux*): Add vax/t-linux to tmake_file.
5811         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
5813 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5815         * crtstuff.c: New file.
5816         * Makefile.in (CRTSTUFF_CFLAGS): Define.
5817         (CRTSTUFF_T_CFLAGS): Define.
5818         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
5819         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
5820         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
5821         crtstuff.c.
5822         Use $<.
5823         (crtbeginT.o): Use $(objext).
5824         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
5825         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
5826         (gcc-extra-parts): Remove.
5827         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
5828         Set extra_parts.
5829         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
5830         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
5831         Add t-crtstuff-pic to tmake_file.
5832         (*-*-lynxos*): New case.
5833         Set tmake_file, extra_parts.
5834         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
5835         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
5836         *-*-netbsdelf[2-9]*.
5837         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
5838         (*-*-rtems*): Set extra_parts.
5839         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
5840         (*-*-uclinux*): New case.
5841         Set extra_parts.
5842         (*-*-vms*): New case.
5843         Set tmake_file, extra_parts.
5844         (*-*-elf): Set extra_parts.
5845         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
5846         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
5847         vms/t-vms64.
5848         Set extra_parts.
5849         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
5850         Set extra_parts.
5851         (arm*-*-freebsd*): Add t-crtin to tmake_file.
5852         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
5853         (arm-wrs-vxworks): Append to tmake_file.
5854         Set extra_parts.
5855         (arm*-*-uclinux*): Set extra_parts.
5856         (arm*-*-ecos-elf): Likewise.
5857         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
5858         arm*-*-eabi*.
5859         (arm*-*-rtems*): Set extra_parts.
5860         (arm*-*-elf): Likewise.
5861         (avr-*-rtems*): Clear extra_parts.
5862         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
5863         Set extra_parts.
5864         (bfin*-uclinux*): Likewise.
5865         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
5866         (bfin*-rtems*): Append to tmake_file.
5867         Set extra_parts.
5868         (bfin*-*): Likewise.
5869         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
5870         (crisv32-*-elf): ... this.
5871         (crisv32-*-none): ... this.
5872         (cris-*-elf, cris-*-none): New cases.
5873         Add cris/t-elfmulti to tmake_file.
5874         (fr30-*-elf): Append to tmake_file.
5875         Set extra_parts.
5876         (frv-*-elf): Append to tmake_file, add frv/t-frv.
5877         Set extra_parts.
5878         (h8300-*-rtems*): Append to tmake_file.
5879         Set extra_parts.
5880         (h8300-*-elf*): Likewise.
5881         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
5882         Set extra_parts.
5883         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
5884         Set extra_parts.
5885         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
5886         (x86_64-*-elf*): Likewise.
5887         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
5888         (x86_64-*-freebsd*): Likewise.
5889         (x86_64-*-netbsd*): Likewise.
5890         (i[34567]86-*-linux*): Likewise.
5891         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
5892         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
5893         (x86_64-*-linux*): Likewise.
5894         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
5895         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
5896         tmake_file.
5897         Set extra_parts.
5898         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
5899         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
5900         Append to extra_parts, remove crtbegin.o, crtend.o.
5901         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
5902         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
5903         crtend.o, crtbeginS.o, crtendS.o.
5904         (ia64*-*-linux*): Comment extra_parts.
5905         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
5906         Set extra_parts.
5907         (iq2000*-*-elf*): Clear extra_parts.
5908         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
5909         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
5910         (m32r-*-elf*, m32r-*-rtems*): Split off ...
5911         (m32r-*-rtems*): ... this.
5912         Add m32r/t-m32r to tmake_file.
5913         (m68k-*-elf*): Add t-crtin to tmake_file.
5914         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
5915         (mcore-*-elf): Likewise.
5916         (microblaze*-*-*): Set extra_parts.
5917         (mips*-sde-elf*): New case.
5918         Set tmake_file, extra_parts.
5919         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
5920         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
5921         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
5922         tmake_file.
5923         Set extra_parts.
5924         (mipsisa64sr71k-*-elf*): Likewise.
5925         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
5926         (mips-*-elf*, mipsel-*-elf*): Likewise.
5927         (mips64-*-elf*, mips64el-*-elf*): Likewise.
5928         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
5929         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
5930         (mips*-*-rtems*): Likewise.
5931         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
5932         (moxie-*-*): Split into ...
5933         (moxie-*-elf, moxie-*-uclinux*): ... this.
5934         Add to extra_parts, remove crtbegin.o, crtend.o.
5935         (moxie-*-rtems*): New case.
5936         Set tmake_file.
5937         Clear extra_parts.
5938         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
5939         Set extra_parts.
5940         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5941         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
5942         tmake_file.
5943         Set extra_parts.
5944         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
5945         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
5946         Set extra_parts.
5947         (powerpc-*-eabisim*): Likewise.
5948         (powerpc-*-elf*): Likewise.
5949         (powerpc-*-eabialtivec*): Likewise.
5950         (powerpc-xilinx-eabi*): Likewise.
5951         (powerpc-*-eabi*): Likewise.
5952         (powerpc-*-rtems*): Likewise.
5953         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
5954         tmake_file.
5955         Set extra_parts.
5956         (powerpc-*-lynxos*): Add to tmake_file.
5957         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
5958         rs6000/t-crtstuff, t-crtstuff-pic.
5959         Set extra_parts.
5960         (powerpcle-*-eabisim*): Likewise.
5961         (powerpcle-*-eabi*): Likewise.
5962         (rx-*-elf): Remove extra_parts.
5963         (s390x-ibm-tpf*): Set extra_parts.
5964         (score-*-elf): Set extra_parts.
5965         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
5966         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
5967         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
5968         (sh64l*-*-netbsd*): Split into ...
5969         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
5970         Add t-crtstuff-pic to tmake_file.
5971         Set extra_parts.
5972         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
5973         Set extra_parts.
5974         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
5975         (sparc-*-elf*): Remove t-crtin from tmake_file.
5976         Add to extra_parts, remove crtbegin.o, crtend.o.
5977         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
5978         (sparc64-*-linux*): Likewise.
5979         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
5980         Add to extra_parts, remove crtbegin.o, crtend.o.
5981         (sparc64-*-elf*): Remove t-crtin from tmake_file.
5982         Add to extra_parts, remove crtbegin.o, crtend.o.
5983         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
5984         Add to extra_parts, remove crtbegin.o, crtend.o.
5985         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
5986         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
5987         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
5988         Set extra_parts.
5989         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
5990         Set extra_parts.
5991         (tic6x-*-*): Change to ...
5992         (tic6x-*-elf): ... this.
5993         Set extra_parts.
5994         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
5995         Set extra_parts.
5996         (am33_2.0-*-linux*): Add comment.
5997         (mep*-*-*): Add mep/t-mep to tmake_file.
5998         Set extra_parts.
5999         * config/alpha/t-vms: New file.
6000         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
6001         * config/arm/crti.S, config/arm/crtn.S: New files.
6002         * config/bfin/crti.S, config/bfin/crtn.S: New files.
6003         * config/bfin/crtlibid.S: New file.
6004         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
6005         * config/c6x/crti.S, config/c6x/crtn.S: New files.
6006         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
6007         (crti.o, crtin.o): New rules.
6008         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6009         * config/c6x/t-uclinux: New file.
6010         * config/cris/t-elfmulti: New file.
6011         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
6012         * config/fr30/crti.S, config/fr30/crtn.S: New files.
6013         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
6014         * config/frv/t-frv: New file.
6015         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
6016         * config/h8300/crti.S, config/h8300/crtn.S: New files.
6017         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
6018         New files.
6019         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
6020         refer to cygming-crtbegin.c, cygming-crtend.c.
6021         Use $<.
6022         * config/i386/t-nto: New file.
6023         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
6024         * config/ia64/crti.S, config/ia64/crtn.S: New files.
6025         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
6026         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
6027         Use .S extension.
6028         Use $<.
6029         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6030         (crtinitS.o): New rule.
6031         * config/ia64/vms-crtinit.S: New file.
6032         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
6033         * config/m32r/initfini.c: New file.
6034         * config/m32r/t-linux, config/m32r/t-m32r: New files.
6035         * config/m68k/crti.S, config/m68k/crtn.S: New files.
6036         * config/mcore/crti.S, config/mcore/crtn.S: New files.
6037         * config/mep/t-mep: New file.
6038         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
6039         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
6040         * config/mips/crti.S, config/mips/crtn.S: New files.
6041         * config/mips/t-crtstuff: New file.
6042         * config/mmix/crti.S, config/mmix/crtn.S: New files.
6043         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
6044         (CUSTOM_CRTIN): Set.
6045         ($(T)crti.o, $(T)crtn.o): Remove $(T),
6046         dependencies.
6047         Use $(srcdir) to refer to crti.S, crtn.S.
6048         Use .S extension, $<.
6049         * config/moxie/crti.asm: Rename to ...
6050         * config/moxie/crti.S: ... this.
6051         * config/moxie/crtn.asm: Rename to ...
6052         * config/moxie/crtn.S: ... this.
6053         * config/moxie/t-moxie: Remove.
6054         * config/pa/stublib.c: New file.
6055         * config/pa/t-stublib, config/pa/t-stublib64: New files.
6056         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
6057         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
6058         * config/rs6000/t-crtstuff: New file.
6059         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
6060         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
6061         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
6062         Make output file explicit.
6063         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
6064         Make output file explicit.
6065         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
6066         Make output file explicit.
6067         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
6068         Make output file explicit.
6069         * config/score/crti.S, config/score/crtn.S: New files.
6070         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
6071         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
6072         files.
6073         * config/sh/t-sh, config/sh/t-superh: New files.
6074         * config/sparc/t-linux64: New file.
6075         * config/spu/cache.S, config/spu/cachemgr.c: New files.
6076         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
6077         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
6078         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
6079         * config/t-crtin: Remove.
6080         * config/t-crtstuff-pic: New file.
6081         * config/t-sol2 (CUSTOM_CRTIN): Set.
6082         (crti.o, crtn.o): New rules.
6083         * config/vms/t-vms: New file.
6084         * config/vms/vms-ucrt0.c: New file.
6085         * config/xtensa/t-elf: New file.
6087 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6089         * Makefile.in (SHLIB_NM_FLAGS): Set.
6090         * mkmap-flat.awk, mkmap-symver.awk: New files.
6091         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
6092         exceptions.
6093         * configure: Regenerate.
6094         * config/libgcc-glibc.ver: New file.
6095         * config/libgcc-libsystem.ver: New file.
6096         * config/t-libunwind (SHLIB_LC): Set.
6097         * config/t-linux: New file.
6098         * config/t-slibgcc (INSTALL_SHLIB): New.
6099         (SHLIB_INSTALL): Use it.
6100         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
6101         to mkmap-symver.awk.
6102         (SHLIB_MAPFILES): Don't append, adapt pathname.
6103         (SHLIB_VERPFX): Set.
6104         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
6105         to mkmap-symver.awk.
6106         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
6107         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
6108         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
6109         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
6110         to mkmap-flat.awk.
6111         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
6112         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
6113         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
6114         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
6115         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
6116         * config/i386/libgcc-darwin.10.4.ver,
6117         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
6118         New files.
6119         * config/i386/t-darwin: Remove.
6120         * config/i386/t-darwin64: Likewise.
6121         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
6122         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
6123         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
6124         * config/i386/t-linux: New file.
6125         * config/i386/t-mingw32: New file.
6126         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
6127         * config/ia64/t-glibc: Rename to ...
6128         * config/ia64/t-linux: ... this.
6129         (SHLIB_MAPFILES): Set.
6130         * config/ia64/t-glibc-libunwind: Rename to ...
6131         * config/ia64/t-linux-libunwind: ... this.
6132         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
6133         * config/ia64/t-slibgcc-hpux: New file.
6134         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
6135         * config/m68k/t-slibgcc-elf-ver: New file.
6136         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
6137         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
6138         to mkmap-flat.awk.
6139         * config/pa/t-slibgcc-hpux: New file.
6140         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
6141         files.
6142         * config/rs6000/libgcc-darwin.10.4.ver,
6143         config/rs6000/libgcc-darwin.10.5.ver: New files.
6144         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
6145         config/rs6000/libgcc-glibc.ver.
6146         * config/rs6000/libgcc-ppc64.ver: Rename to
6147         config/rs6000/libgcc-ibm-ldouble.ver.
6148         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
6149         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
6150         * config/rs6000/t-ldbl128: Rename to ...
6151         * config/rs6000/t-linux: ... this.
6152         (SHLIB_MAPFILES): Adapt filename.
6153         * config/rs6000/t-slibgcc-aix: New file.
6154         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
6155         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
6156         libgcc-excl.ver, libgcc-glibc.ver.
6157         (SHLIB_LINK, SHLIB_INSTALL): Remove.
6158         * config/sparc/libgcc-glibc.ver: New file.
6159         * config/sparc/t-linux: New file.
6160         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
6161         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
6162         t-slibgcc-elf-ver to tmake_file.
6163         Add t-slibgcc-nolc-override to tmake_file for posix threads on
6164         *-*-freebsd[34].
6165         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6166         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
6167         t-slibgcc-elf-ver, t-linux to tmake_file.
6168         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
6169         tmake_file.
6170         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
6171         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
6172         (alpha*-dec-*vms*): Likewise.
6173         (arm*-*-freebsd*): Append to tmake_file.
6174         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
6175         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
6176         arm*-*-linux-*eabi.
6177         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
6178         tmake_file for arm*-*-symbianelf*.
6179         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
6180         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
6181         cris/t-linux.
6182         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
6183         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
6184         pa/t-slibgcc-dwarf-ver to tmake_file.
6185         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
6186         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
6187         (hppa*64*-*-hpux11*): Likewise.
6188         (hppa[12]*-*-hpux11*): Likewise.
6189         (x86_64-*-darwin*): Don't override tmake_file, but only keep
6190         i386/t-crtpc, i386/t-crtfm.
6191         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
6192         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6193         to tmake_file.
6194         Add i386/t-cygwin to tmake_file.
6195         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
6196         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
6197         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6198         to tmake_file.
6199         Add i386/t-mingw32 to tmake_file.
6200         (x86_64-*-mingw*): Likewise.
6201         (ia64*-*-freebsd*): Append to tmake_file.
6202         (ia64*-*-linux*): Append to tmake_file.
6203         Replace ia64/t-glibc by ia64/t-linux.
6204         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
6205         system libunwind.
6206         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
6207         t-slibgcc-hpux to tmake_file.
6208         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
6209         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
6210         (m32rle-*-linux*): Likewise.
6211         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
6212         sjlj exceptions.
6213         (microblaze*-linux*): New case.
6214         Append to tmake_file, add t-slibgcc-nolc-override.
6215         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
6216         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6217         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
6218         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6219         rs6000/t-slibgcc-aix to tmake_file.
6220         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6221         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6222         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6223         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6224         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6225         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
6226         sh*-*-linux*.
6227         (sparc-*-linux*): Append to tmake_file for *-leon*.
6228         Add sparc/t-linux to tmake_file for non-Leon targets.
6229         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
6230         (tic6x-*-uclinux): New case.
6231         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
6232         (tic6x-*-*): Add c6x/t-elf to tmake_file.
6233         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
6234         (am33_2.0-*-linux*): Append to tmake_file.
6235         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6236         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
6237         x86_64-*-kfreebsd*-gnu.
6238         Add i386/t-linux to tmake_file.
6240 2011-10-28  Ian Lance Taylor  <iant@google.com>
6242         * config/i386/morestack.S: Correct CFI information to do proper
6243         returns throughout function.  In 32-bit mode, save %ebx so that it
6244         is restored on unwind.
6246 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
6248         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
6249         case where B3 isn't the return register.
6251         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
6252         logic for doubleword pops.
6254 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
6256         * config/rs6000/t-freebsd: Add wildcard.
6258 2011-10-21  Paul Brook  <paul@codesourcery.com>
6260         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
6262 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
6263             Eric Botcazou  <ebotcazou@adacore.com>
6265         PR target/50737
6266         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
6267         fs->signal_frame to 1.
6269 2011-10-07  Ian Lance Taylor  <iant@google.com>
6271         * generic-morestack-thread.c: #include <errno.h>.
6273 2011-10-07  Ian Lance Taylor  <iant@google.com>
6275         PR target/46093
6276         * generic-morestack.c (__generic_morestack): Make sure the segment
6277         is large enough for both the stack frame and the copied
6278         parameters.
6280 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6282         PR bootstrap/49804
6283         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
6284         extra_parts.
6286 2011-09-28  Nick Clifton  <nickc@redhat.com>
6288         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
6289         64-bit doubles are not enabled.
6290         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
6291         and floatunsisf functions.
6293 2011-09-13  Paul Brook  <paul@codesourcery.com>
6295         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
6296         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
6297         * unwind-arm-common.inc: New file.
6298         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
6299         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
6300         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
6301         * config/c6x/libunwind.S: New file.
6302         * config/c6x/pr-support.c: New file.
6303         * config/c6x/unwind-c6x.c: New file.
6304         * config/c6x/unwind-c6x.h: New file.
6305         * config/c6x/t-c6x-elf: New file.
6307 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
6309         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
6310         (ASM_DIVZERO): Ditto.
6311         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
6313 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
6315         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
6317 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
6319         PR target/50090
6320         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
6321         instead of an assembly one.
6323 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
6325         PR bootstrap/50047
6326         * Makefile.in (install-unwind_h): Create
6327         $(gcc_objdir)/include/unwind.h atomically.
6329 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6331         * Makefile.in (install-unwind_h): Remove destination file first.
6333 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6335         * sync.c: New file.
6336         * config/mips/t-mips16: New file.
6337         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
6338         (mips*-*-linux*): Likewise.
6339         (mips*-sde-elf*): Likewise.
6340         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
6341         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
6342         Add mips/t-mips16 to tmake_file.
6343         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
6344         (mips-*-elf*): Likewise.
6345         (mips64-*-elf*): Likewise.
6346         (mips64orion-*-elf*): Likewise.
6347         (mips*-*-rtems*): Likewise.
6348         (mipstx39-*-elf*): Likewise.
6349         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
6350         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
6351         LIBGCC_SYNC_CFLAGS.
6352         Use $(srcdir) to refer to sync.c.
6353         Use $<.
6354         ($(libgcc-sync-funcs-o)): Likewise.
6355         ($(libgcc-sync-size-funcs-s-o)): Likewise.
6356         ($(libgcc-sync-funcs-s-o)): Likewise.
6358 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
6360         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
6361         t-libunwind.
6363 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
6365         PR other/48007
6366         * config/i386/value-unwind.h: New.
6368 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
6370         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
6371         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
6372         Add to tmake_file rather than overriding it.
6374 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6376         * config/t-softfp: Remove.
6377         * soft-fp: Moved from ../gcc/config.
6378         * soft-fp/README: Remove t-softfp reference.
6379         * soft-fp/t-softfp: Move to config/t-softfp.
6380         (softfp_machine_header): Remove.
6381         (softfp_file_list): Remove config subdir.
6382         (soft-fp-objects): New variable.
6383         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
6384         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
6385         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
6386         * config/t-softfp-excl: New file.
6387         * config/t-softfp-sfdf: New file.
6388         * config/t-softfp-tf: New file.
6389         * config/no-sfp-machine.h: New file.
6390         * config/arm/sfp-machine.h: New file.
6391         * config/arm/t-softfp: New file.
6392         * config/c6x/sfp-machine.h: New file.
6393         * config/i386/32/t-fprules-softfp: Rename to ...
6394         * config/i386/32/t-softfp: ... this.
6395         (tifunctions, LIB2ADD): Remove.
6396         (softfp_int_modes): Override.
6397         * config/i386/64/t-softfp-compat (tf-functions): Remove config
6398         subdir.
6399         * config/i386/64/eqtf2.c: Likewise.
6400         * config/i386/64/getf2.c: Likewise.
6401         * config/i386/64/letf2.c: Likewise.
6402         * config/ia64/sft-machine.h: New file.
6403         * config/ia64/t-fprules-softfp: Rename to ...
6404         * config/ia64/t-softfp: ... this.
6405         * config/lm32/sfp-machine.h: New file.
6406         * config/moxie/t-moxie-softfp: Remove.
6407         * config/rs6000/ibm-ldouble-format: New file.
6408         * config/rs6000/ibm-ldouble.c: New file.
6409         * config/rs6000/libgcc-ppc-glibc.ver: New file
6410         * config/rs6000/libgcc-ppc64.ver: New file
6411         * config/rs6000/sfp-machine.h: New file.
6412         * config/rs6000/t-freebsd: New file.
6413         * config/rs6000/t-ibm-ldouble: New file.
6414         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
6415         libgcc-ppc-glibc.ver.
6416         * config/rs6000/t-linux64: New file.
6417         * config/rs6000/t-ppccomm (LIB2ADD): Add
6418         $(srcdir)/config/rs6000/ibm-ldouble.c.
6419         * config/rs6000/t-ppccomm-ldbl: New file.
6420         * config/score/sfp-machine.h: New file.
6421         * config.host (sfp_machine_header): Explain.
6422         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
6423         t-softfp to tmake_file.
6424         (arm*-*-uclinux*): Likewise.
6425         (arm*-*-ecos-elf): Likewise.
6426         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6427         (arm*-*-rtems*): Likewise.
6428         (arm*-*-elf): Likewise.
6429         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
6430         in tmake_file.
6431         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
6432         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
6433         (lm32-*-uclinux*): Likewise.
6434         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
6435         t-softfp-excl, t-softfp.
6436         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
6437         (powerpc64-*-darwin*): Likewise.
6438         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
6439         to tmake_file.
6440         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
6441         tmake_file.
6442         (powerpc-*-eabisim*): Likewise.
6443         (powerpc-*-elf*): Likewise.
6444         (powerpc-*-eabialtivec*): Likewise.
6445         (powerpc-xilinx-eabi*): Likewise.
6446         (powerpc-*-rtems*): Likewise.
6447         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
6448         t-softfp-excl, t-softfp to tmake_file.
6449         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
6450         rs6000/t-ppccomm-ldbl to tmake_file.
6451         (powerpcle-*-elf*): Likewise.
6452         (powerpcle-*-eabisim*): Likewise.
6453         (powerpcle-*-eabi*): Likewise.
6454         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6455         rs6000/t-ibm-ldouble to tmake_file.
6456         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6457         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6458         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
6459         (tic6x-*-*): Likewise.
6460         (i[34567]86-*-darwin*, x86_64-*-darwin*,
6461         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
6462         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
6463         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
6464         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
6465         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
6466         t-softfp to tmake_file.
6467         * configure.ac (sfp_machine_header): Provide default if unset.
6468         Substitute.
6469         Link sfp-machine.h to config/$sfp_machine_header.
6470         * configure: Regenerate.
6472 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6474         * Makefile.in (double_type_size, long_double_type_size): Set.
6475         Remove $(fpbit-in-libgcc) support.
6476         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
6477         (fpbit-src): New variable.
6478         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
6479         Compile with -DFLOAT $(FPBIT_CFLAGS).
6480         Use $<.
6481         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
6482         Compile with $(FPBIT_CFLAGS).
6483         Use $<.
6484         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
6485         Compile with -DFLOAT $(TPBIT_CFLAGS).
6486         Use $<.
6487         * configure.ac (double_type_size, long_double_type_size):
6488         Determine and substitute.
6489         * configure: Regenerate.
6490         * fp-bit.c, fp-bit.h: New files.
6491         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
6492         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
6493         * config/mips/t-mips: New file.
6494         * config/mips/t-sdemtk: New file.
6495         * config/rs6000/ppc64-fp.c: New file.
6496         * config/rs6000/t-darwin (LIB2ADD): Add
6497         $(srcdir)/config/rs6000/ppc64-fp.c.
6498         * config/rs6000/t-ppc64-fp: New file.
6499         * config/rx/rx-lib.h: New file.
6500         * config/rx/t-rx (FPBIT): Set to true.
6501         ($(gcc_objdir)/fp-bit.c): Remove.
6502         (DPBIT): Set to true only with -m64bit-doubles.
6503         ($(gcc_objdir)/dp-bit.c): Remove.
6504         * config/sparc/t-softfp: Remove.
6505         * config/spu/t-elf: New file.
6506         * config/t-fdpbit, config/t-fpbit: New files.
6507         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
6508         (mips*-*-*): Likewise.
6509         (arm-wrs-vxworks): Likewise.
6510         (arm*-*-freebsd*): Likewise.
6511         (avr-*-rtems*): Add t-fpbit to tmake_file.
6512         (avr-*-*): Likewise.
6513         (bfin*-elf*): Add t-fdpbit to tmake_file.
6514         (bfin*-uclinux*): Likewise.
6515         (bfin*-linux-uclibc*): Likewise.
6516         (bfin*-rtems*): New case.
6517         Add t-fdpbit to tmake_file.
6518         (bfin*-*): Add t-fdpbit to tmake_file.
6519         (crisv32-*-elf): Likewise.
6520         (cris-*-linux*): Likewise.
6521         (fr30-*-elf): Likewise.
6522         (frv-*-elf, frv-*-*linux*): Likewise.
6523         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
6524         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
6525         (m32r-*-elf*): Likewise.
6526         (m32rle-*-elf*): Likewise.
6527         (m32r-*-linux*): Likewise.
6528         (m32rle-*-linux*): Likewise.
6529         (mcore-*-elf): Add t-fdpbit to tmake_file.
6530         (microblaze*-*-*): Likewise.
6531         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
6532         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
6533         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
6534         Fix typo.
6535         Add mips/t-tpbit to tmake-file.
6536         (mips*-*-linux*): Fix typo.
6537         (mips*-sde-elf*): New case
6538         Add mips/t-sdemtk unless using newlib.
6539         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
6540         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
6541         (mn10300-*-*): Likewise.
6542         (pdp11-*-*): Likewise.
6543         (picochip-*-*): Add t-fpbit to tmake_file.
6544         (powerpc-*-eabisimaltivec*): Likewise.
6545         (powerpc-*-eabisim*): Likewise.
6546         (powerpc-*-elf*): Likewise.
6547         (powerpc-*-eabialtivec*): Likewise.
6548         (powerpc-xilinx-eabi*): New case.
6549         Add t-fdpbit to tmake_file.
6550         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
6551         (powerpc-*-rtems*): Likewise.
6552         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
6553         tmake_file.
6554         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
6555         tmake_file.
6556         (powerpc-*-lynxos*): Likewise.
6557         (powerpcle-*-elf*): Likewise.
6558         (powerpcle-*-eabisim*): Likewise.
6559         (powerpcle-*-eabi*): Likewise.
6560         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6561         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
6562         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6563         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6564         (rx-*-elf): Add t-fdpbit to tmake_file.
6565         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6566         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6567         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6568         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
6569         sh*-*-netbsd*.
6570         (sh-*-rtems*): Add t-fdpbit to tmake_file.
6571         (sh-wrs-vxworks): Likewise.
6572         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
6573         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
6574         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
6575         (sparc64-*-rtems*): ... new case.
6576         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
6577         (spu-*-elf*): Likewise.
6578         Add spu/t-elf to tmake_file.
6579         (v850*-*-*): Add t-fdpbit to tmake_file.
6580         (xstormy16-*-elf): Likewise.
6581         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
6582         (mep*-*-*): Likewise.
6584 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6586         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
6587         variables.
6588         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
6589         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
6590         (install-unwind_h): New target.
6591         (all): Depend on it.
6592         * config.host (unwind_header): New variable.
6593         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
6594         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6595         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
6596         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
6597         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
6598         Set unwind_header.
6599         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
6600         Set unwind_header.
6601         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
6602         arm*-*-eabi*.
6603         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
6604         Set unwind_header.
6605         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
6606         (ia64*-*-freebsd*): Likewise.
6607         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
6608         tmake_file.
6609         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
6610         $with_system_libunwind.
6611         (ia64*-*-hpux*): Set tmake_file.
6612         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
6613         (picochip-*-*): Set tmake_file.
6614         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
6615         md_unwind_header.
6616         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6617         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6618         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
6619         (xtensa*-*-elf*): Set tmake_file.
6620         (xtensa*-*-linux*): Likewise.
6621         * configure.ac: Include ../config/unwind_ipinfo.m4.
6622         Call GCC_CHECK_UNWIND_GETIPINFO.
6623         Link unwind.h to $unwind_header.
6624         * configure: Regenerate.
6625         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
6626         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
6627         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
6628         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
6629         * config/unwind-dw2-fde-darwin.c: New file.
6630         * config/arm/libunwind.S, config/arm/pr-support.c,
6631         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
6632         config/arm/unwind-arm.h,: New files.
6633         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
6634         config/ia64/t-eh-ia64, config/ia64/t-glibc,
6635         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
6636         config/ia64/t-vms, config/ia64/unwind-ia64.c,
6637         config/ia64/unwind-ia64.h: New files.
6638         * config/picochip/t-picochip: New file.
6639         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
6640         files.
6641         * config/rs6000/t-darwin (LIB2ADDEH): Set.
6642         * config/s390/t-tpf (LIB2ADDEH): Remove.
6643         * config/t-darwin (LIB2ADDEH): Set.
6644         * config/t-eh-dw2-dip: New file.
6645         * config/t-libunwind, config/t-libunwind-elf: New files.
6646         * config/t-sol2 (LIB2ADDEH): Remove.
6647         * config/xtensa/t-xtensa: New file.
6649 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
6651         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
6652         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
6653         long long to check rt_sigreturn syscall.
6655 2011-08-02  Alan Modra  <amodra@gmail.com>
6657         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
6658         Restore for indirect call bcrtl from correct stack slot, and only
6659         if cfa+40 isn't valid.
6661 2011-08-01  Julian Brown  <julian@codesourcery.com>
6663         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
6664         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
6665         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
6667 2011-08-01  Julian Brown  <julian@codesourcery.com>
6669         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
6670         (libgcc-std.ver.in): Use above.
6671         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
6672         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
6673         throughout file.
6674         * config/t-fixedpoint-gnu-prefix: New file.
6675         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
6676         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
6677         instead of __PFX__.
6679 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
6681         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
6682         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
6683         for x86-64.  Properly check __x86_64__ and __LP64__.
6685 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
6687         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
6688         version.
6689         (_FP_WS_TYPE): Likewise.
6690         (_FP_I_TYPE): Likewise.
6692 2011-07-28  Alan Modra  <amodra@gmail.com>
6694         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
6695         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
6696         in a plt call stub.  Do restore r2 if stopped on bctrl.
6698 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6700         * config.host (i[3456x]86-*-netware*): Remove.
6701         * config/i386/netware-crt0.c, config/i386/t-nwld,
6702         config/i386/t-slibgcc-nwld: Remove.
6704 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
6706         * config.host: Handle tic6x-*-*.
6707         * config/c6x/c6x-abi.h: New file.
6709 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6711         * config/i386/crtprec.c: New file.
6712         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
6713         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
6714         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
6715         (x86_64-*-darwin*): Likewise.
6716         (i[34567]86-*-solaris2*: Likewise.
6718 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6720         * config/alpha/crtfastmath.c: New file.
6721         * config/i386/crtfastmath.c: New file.
6722         * config/ia64/crtfastmath.c: New file.
6723         * config/mips/crtfastmath.c: New file.
6724         * config/sparc/crtfastmath.c: New file.
6726         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
6727         crtfastmath.c.
6728         Add -frandom-seed=gcc-crtfastmath.
6729         * config/alpha/t-crtfm: Remove.
6730         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
6731         * config/ia64/t-ia64 (crtfastmath.o): Remove.
6733         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
6734         (alpha*-dec-osf5.1*): Likewise.
6735         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
6736         Add crtfastmath.o to extra_parts.
6737         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
6738         Add crtfastmath.o to extra_parts.
6739         (x86_64-*-darwin*): Likewise.
6740         (x86_64-*-mingw*): Likewise.
6741         (ia64*-*-elf*): Add t-crtfm to tmake_file.
6742         (ia64*-*-freebsd*): Likewise.
6743         (ia64*-*-linux*): Likewise.
6744         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
6745         Add crtfastmath.o to extra_parts.
6747 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6749         * config/darwin-crt3.o: New file.
6750         * config/rs6000/darwin-crt2.c: New file.
6751         * config/t-darwin: New file.
6752         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
6753         (crt2.o): New rule.
6754         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
6755         (powerpc-*-darwin*): Add crt2.o to extra_parts.
6756         (powerpc64-*-darwin*): Likewise.
6758 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6760         * config/i386/netware-crt0.c: New file.
6761         * config/i386/t-nwld: Rename to ...
6762         * config/i386/t-slibgcc-nwld: ... this.
6763         * config/i386/t-nwld: New file.
6764         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
6765         tmake_file.
6766         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
6767         extra_parts.
6769 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6771         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
6772         i386/t-crtstuff.
6773         * configure: Regenerate.
6775 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6777         * dfp-bit.c, dfp-bit.h: New files.
6778         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
6779         variables.
6780         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
6781         ($(d64pbit-o)): Likewise.
6782         ($(d128pbit-o)): Likewise.
6783         * config/t-dfprules: New file.
6784         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
6785         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
6786         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
6787         (x86_64-*-linux*): Likewise.
6788         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
6789         (i[34567]86-*-cygwin*): Likewise.
6790         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
6791         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6793 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6795         * Makfile.in (LIBGCOV): New variable.
6796         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
6797         * libgcov.c: New file.
6799 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6801         * fixed-bit.c, fixed-bit.h: New files.
6802         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
6803         refer to fixed-bit.c.
6805 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
6807         * config.host (*local*): Remove.
6809 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6811         PR target/39150
6812         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
6813         like i?86-*-solaris2.1[0-9]*.
6814         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
6815         * configure.ac (i?86-*-solaris2*): Likewise.
6816         * configure: Regenerate.
6818 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
6820         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
6821         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
6822         md_unwind_header by splitting out of...
6823         (i[34567]86-*-linux*): ... this.
6824         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
6825         Remove md_unwind_header by splitting out of...
6826         (x86_64-*-linux*): ... this.
6828 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
6830         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
6832 2011-06-28  Nick Clifton  <nickc@redhat.com>
6834         * config.host: Recognize all V850 variants.
6836 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
6838         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
6840 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6842         * shared-object.mk (c_flags-$o): Save c_flags.
6843         ($(base)$(objext)): Use it.
6844         ($(base)_s$(objext)): Likewise.
6846 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
6848         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
6849         * libgcc-std.ver.in (GCC_4.7.0): New section.
6851 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
6853         PR target/49313
6854         PR target/29524
6855         * config/avr/t-avr: Fix line endings.
6856         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
6857         _parityXX2.
6859 2011-06-14  Olivier Hainque  <hainque@adacore.com>
6860             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6862         * config/mips/irix6-unwind.h: New file.
6863         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
6865 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
6867         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
6868         (sparc64_fallback_frame_state): Use it.
6869         (sparc64_frob_update_context): Further adjust context.
6870         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
6871         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
6872         * config/sparc/sol2-cn.S: Likewise.
6874 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6876         * enable-execute-stack-empty.c: New file.
6877         * enable-execute-stack-mprotect.c: New file.
6878         * config/i386/enable-execute-stack-mingw32.c: New file.
6879         * config.host (enable_execute_stack): New variable.
6880         Select appropriate variants.
6881         * configure.ac: Link enable-execute-stack.c to
6882         $enable_execute_stack.
6883         * configure: Regenerate.
6884         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
6885         (lib2funcs): Remove _enable_execute_stack.
6887 2011-06-09  David S. Miller  <davem@davemloft.net>
6888             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6890         * config.host (sparc-*-linux*): Correct md_unwind_header
6891         filename.
6892         (s390x-ibm-tpf*): Fix typo.
6894 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6896         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
6897         Add crtfastmath.o to extra_parts.
6898         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
6899         mips/t-crtfm.
6900         * config/mips/t-crtfm: Remove.
6902 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6904         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
6906 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
6908         * config.host (sh*-*-linux*): Fix typo.
6910 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6912         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
6913         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
6914         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
6915         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
6916         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
6917         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
6918         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
6919         Wrap in !__MINGW64__.
6920         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
6921         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
6922         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
6923         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
6924         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
6925         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
6926         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
6927         Wrap in !__LP64__.
6928         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
6929         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
6930         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
6931         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
6932         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
6933         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
6934         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
6935         * config/no-unwind.h: New file.
6936         * config.host (md_unwind_header): Document.
6937         Define.
6938         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
6939         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
6940         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
6941         hppa[12]*-*-hpux11*): Set md_unwind_header.
6942         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
6943         Set md_unwind_header.
6944         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
6945         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
6946         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
6947         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
6948         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
6949         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
6950         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
6951         md_unwind_header.
6952         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
6953         * configure: Regenerate.
6955 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6957         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
6958         Set tmake_file, extra_parts.
6959         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
6960         Remove O32 support.
6961         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
6962         Remove O32 support.
6963         * config/mips/t-irix6: New file.
6964         * config/mips/t-slibgcc-irix: New file.
6966 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6968         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
6969         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
6971 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6973         * configure.ac (target_thread_file): Determine thread model.
6974         * configure: Regenerate.
6975         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
6976         * config/alpha/t-alpha: New file.
6977         * config/alpha/t-crtfm: Use $<.
6978         * config/alpha/t-ieee: New file.
6979         * config/alpha/t-osf-pthread: New file.
6980         * config/alpha/t-slibgcc-osf: New file.
6981         * config/alpha/libgcc-osf5.ver: New file.
6983 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6985         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
6986         tmake_file.
6987         Add crtfastmath.o to extra_parts.
6989 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6991         * config/gmon-sol2.c: Reindent.
6992         Cleanup comments.
6993         Remove, correct casts.
6994         Use STDERR_FILENO, NULL.
6995         (BASEADDRESS): Remove.
6996         (minbrk): Remove.
6997         (errno, sbrk): Remove declarations.
6998         (monstartup) [hp300]: Remove.
6999         (mcount): Remove.
7001 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7003         * Makefile.in (cpu_type): Define.
7004         * config.host (i[34567]86-*-rtems*): Handle it.
7005         (i[34567]86-*-solaris2*): Move body ...
7006         (*-*-solaris2*): ... here.
7007         New case, generalize.
7008         (sparc-*-elf*): Handle it.
7009         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
7010         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
7011         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
7012         Fold into ...
7013         (sparc*-*-solaris2*): ... this.
7014         New case.
7015         (sparc64-*-elf*): Handle it.
7016         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
7017         Merge ../gcc/config/i386/gmon-sol2.c.
7018         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
7019         Use C comments.
7020         Merge ../gcc/config/i386/sol2-gc1.asm.
7021         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
7022         Use C comments.
7023         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
7024         Use C comments.
7025         * config/i386/t-crtfm (crtfastmath.o): Use $<.
7026         * config/i386/t-crtstuff: New file.
7027         * config/i386/t-softfp: New file.
7028         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
7029         $(T)crti.o, $(T)crtn.o): Remove.
7030         (gcrt1.o): New rule.
7031         (TARGET_LIBGCC2_CFLAGS): Remove.
7032         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
7033         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
7034         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
7035         * config/sparc/t-sol2: New file.
7036         * config/sparc/t-crtfm: Move to ...
7037         * config/t-crtfm: ... this.
7038         Use $(cpu_type), $<.
7039         * config/t-crtin: New file.
7040         * config/sparc/t-softfp: New file.
7041         * config/sparc/t-softmul: New file.
7042         * config/t-rtems: New file.
7043         * config/t-slibgcc: New file.
7044         * config/t-slibgcc-elf-ver: New file.
7045         * config/t-slibgcc-gld: New file.
7046         * config/t-slibgcc-sld: New file.
7047         * config/t-sol2: New file.
7048         * configure.ac: Include ../config/lib-ld.m4.
7049         Call AC_LIB_PROG_LD_GNU.
7050         Substitute cpu_type.
7051         * configure: Regenerate.
7053 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
7055         PR bootstrap/49173
7056         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
7057         libgcc-std.ver in the build directory.
7058         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
7059         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
7061 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
7063         * libgcc-std.ver.in: New file.
7064         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
7065         variables.
7066         (libgcc-std.ver): New rule.
7067         * config/t-gnu-prefix: New file.
7069 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7071         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
7073 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
7075         * config/i386/darwin-lib.h: New file.
7077 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
7079         * config/arm/symbian-lib.h: New.
7081 2011-05-04  Chris Demetriou  <cgd@google.com>
7083         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
7084         (__x86.get_pc_thunk.bx): ...this.
7085         (__morestack): Adjust for rename, remove undef of __i686.
7087 2011-05-03  Chris Demetriou  <cgd@google.com>
7089         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
7091 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
7093         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
7094         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
7095         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
7096         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
7097         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
7098         Remove cases.
7100 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
7102         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
7103         Adjust copyright year.
7105 2011-03-07  Ian Lance Taylor  <iant@google.com>
7107         * generic-morestack.c (__splitstack_find): Adjust returned stack
7108         pointer to include all registers pushed by __morestack.
7110 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
7112         PR target/40125
7113         * configure.ac: Call ACX_NONCANONICAL_TARGET.
7114         (toolexecdir): Calculate and AC_SUBST.
7115         (toolexeclibdir): Likewise.
7116         * Makefile.in (target_noncanonical): Import.
7117         (toolexecdir): Likewise.
7118         (toolexeclibdir): Likewise.
7119         * configure: Regenerate.
7121 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
7123         PR target/46040
7124         * config/arm/bpabi.h: Rename to...
7125         * config/arm/bpabi-lib.h: ...this.
7127 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7129         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
7130         appropriate.
7131         * configure: Regenerate.
7133 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
7135         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
7136         __FLOAT_WORD_ORDER__.
7137         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
7138         Delete.
7140 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7142         PR other/46202
7143         * Makefile.in (install-strip): New phony target.
7145 2010-11-07  Ian Lance Taylor  <iant@google.com>
7147         PR target/46089
7148         * config/i386/morestack.S (__morestack_large_model): New
7149         function.
7151 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
7153         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
7154         Delete.
7155         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
7157 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
7159         * config/arm/bpabi.h: New file.
7160         * config/frv/frv-abi.h: New file.
7162 2010-10-01  Ian Lance Taylor  <iant@google.com>
7164         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
7165         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
7167 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
7169         PR target/45858
7170         * config.host: Add the missing `$'.
7172 2010-09-30  Michael Eager  <eager@eagercon.com>
7174         * config.host: Add microblaze*-*-*.
7175         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
7176         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
7177         udivsi3.asm,umodsi3.asm}:  New.
7179 2010-09-28  Ian Lance Taylor  <iant@google.com>
7181         * configure.ac: Adjust CFI test to test assembler directly rather
7182         than checking gcc preprocessor macro.
7183         * configure: Rebuild.
7185 2010-09-27  Ian Lance Taylor  <iant@google.com>
7187         * configure.ac: Test whether assembler supports CFI directives.
7188         * config.host: Only add t-stack and i386/t-stack-i386 to
7189         tmake_file if libgcc_cv_cfi is "yes".
7190         * configure: Rebuild.
7192 2010-09-27  Ian Lance Taylor  <iant@google.com>
7194         * generic-morestack.h: New file.
7195         * generic-morestack.c: New file.
7196         * generic-morestack-thread.c: New file.
7197         * config/i386/morestack.S: New file.
7198         * config/t-stack: New file.
7199         * config/i386/t-stack-i386: New file.
7200         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
7201         i386/t-stack-i386 to tmake_file.
7203 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
7205         * Makefile.in (libgcc-extra-parts):  Check for static archives and
7206         invoke ranlib after installing them.
7207         (gcc-extra-parts): Likewise.
7208         (install-leaf): Likewise.
7210 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
7212         * configure: Regenerated.
7214 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
7216         * configure: Regenerated.
7218 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
7219             Andrew Pinski  <pinskia@gmail.com>
7221         PR target/40959
7222         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
7224 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7226         PR target/45524
7227         * configure: Regenerated.
7229 2010-09-06  Andreas Schwab  <schwab@redhat.com>
7231         * configure: Regenerate.
7233 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
7235         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
7236         64bit targets.
7237         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
7238         for 64bit targets.
7240 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
7241             Iain Sandoe  <iains@gcc.gnu.org>
7243         PR target/45476
7244         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
7245         LIB2FUNCS_EXCLUDE functions.
7247 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7249         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
7250         Include dfp.m4.
7251         * configure: Regenerate.
7253 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
7255         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
7256         i386/t-freebsd to tmake_file.
7257         * config/i386/t-freebsd: New file.
7258         * config/i386/libgcc-bsd.ver: New file.
7260 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
7262         * config.host (powerpc*-eabispe*): Set tmake_file.
7263         (powerpc*-eabi*): Likewise.
7264         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
7265         crtbeginS, crtendS, crtbeginT.
7267 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
7269         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
7270         to tmake_file.  Add crtfastmath.o to extra_parts.
7271         * config/mips/t-crtfm: New.
7273 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
7275         * config.host (sparc64-*-rtems*): New target.
7277 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7279         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7280         assembler syntax.
7282 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
7284         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
7286 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7288         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
7289         alpha-dec-osf5.0* support.
7291 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
7293         * config.host: Add lm32-*-rtems*.
7295 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7296             Uros Bizjak  <ubizjak@gmail.com>
7298         PR target/39048
7299         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
7300         like other remaining 32-bit x86 OSes.
7301         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7302         assembler syntax.
7303         * config/i386/libgcc-sol2.ver: New file.
7304         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
7306 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
7308         PR c/43553
7309         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
7310         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
7311         is used and substitute set_use_emutls.
7312         * configure: Regenerated.
7314 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
7316         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
7318 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7320         PR target/38085
7321         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
7322         MULTILIB_CFLAGS.
7323         ($(T)gcrt1.o): Likewise.
7324         ($(T)crt1.o): Likewise.
7325         ($(T)crti.o): Likewise.
7326         ($(T)crtn.o): Likewise.
7328 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7330         PR other/42980
7331         * Makefile.in (install): Use $(MAKE) string in rule, for
7332         parallel make.
7334 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
7336         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
7337         * config/mmix/t-mmix: New file.
7338         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
7340 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
7342         PR java/41991
7343         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
7344         SHLIB_MAPFILES.
7346 2010-01-04  Anthony Green  <green@moxielogic.com>
7348         * config/moxie/crti.asm, config/moxie/crtn.asm,
7349         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
7350         config/moxie/t-moxie: New files.
7351         * config.host: Add t-moxie-softfp reference.
7353 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
7355         PR other/39888
7356         * config/t-slibgcc-darwin: Fix embedded rpaths for
7357         --enable-version-specific-runtime-libs, build extension stub
7358         libs exposing features available from current libgcc_s.
7360 2009-11-11  Jon Beniston  <jon@beniston.com>
7362         * config.host: Add lm32 targets.
7363         * config/lm32: New directory.
7364         * config/lm32/libgcc_lm32.h: New file.
7365         * config/lm32/_mulsi3.c: New file.
7366         * config/lm32/_udivmodsi4.c: New file.
7367         * config/lm32/_divsi3.c: New file.
7368         * config/lm32/_modsi3.c: New file.
7369         * config/lm32/_udivsi3.c: New file.
7370         * config/lm32/_umodsi3.c: New file.
7371         * config/lm32/_lshrsi3.S: New file.
7372         * config/lm32/_ashrsi3.S: New file.
7373         * config/lm32/_ashlsi3.S: New file.
7374         * config/lm32/crti.S: New file.
7375         * config/lm32/crtn.S: New file.
7376         * config/lm32/t-lm32: New file.
7377         * config/lm32/t-elf: New file.
7378         * config/lm32/t-uclinux: New file.
7380 2009-10-26  Nick Clifton  <nickc@redhat.com>
7382         * config.host: Add support for RX target.
7383         * config/rx: New directory.
7384         * config/rx/rx-abi-functions.c: New file. Supplementary
7385         functions for libgcc to support the RX ABI.
7386         * config/rx/rx-abi.h: New file.  Supplementary header file for
7387         libgcc RX ABI functions.
7388         * config/rx/t-rx: New file: Makefile fragment for building
7389         libgcc for the RX.
7391 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
7393         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
7394         constraint of y0 to "g".
7396 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7398         * config.host: Include the s390 makefile fragments.
7399         * config/s390/32/_fixdfdi.c: New file.
7400         * config/s390/32/_fixsfdi.c: New file.
7401         * config/s390/32/_fixtfdi.c: New file.
7402         * config/s390/32/_fixunsdfdi.c: New file.
7403         * config/s390/32/_fixunssfdi.c: New file.
7404         * config/s390/32/_fixunstfdi.c: New file.
7405         * config/s390/32/t-floattodi: New file.
7406         * config/s390/libgcc-glibc.ver: New file.
7407         * config/s390/t-crtstuff: New file.
7408         * config/s390/t-linux: New file.
7409         * config/s390/t-tpf: New file.
7411 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7413         * configure.ac (AC_PREREQ): Bump to 2.64.
7415 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
7417         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
7419 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7421         * configure: Regenerate.
7423 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
7425         * config.host (ia64-hp-*vms*): New target.
7426         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
7427         with ia64-hp-*vms*.
7429 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7431         * configure.ac: Add snippet for maintainer-mode.
7432         * configure: Regenerate.
7433         * Makefile.in (AUTOCONF, configure_deps): New variables.
7434         ($(srcdir)/configure)): New rule, active only with maintainer
7435         mode turned on.
7437 2009-06-23  DJ Delorie  <dj@redhat.com>
7439         Add MeP port.
7440         * config.host: Add mep support.
7442 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
7444         * config.host: Add i386/${host_address}/t-fprules-softfp and
7445         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
7447         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
7448         for mingw targets.
7449         * config/i386/64/_multc3.c: Likewise.
7450         * config/i386/64/_powitf2.c: Likewise.
7451         * config/i386/64/eqtf2.c: Likewise.
7452         * config/i386/64/getf2.c: Likewise.
7453         * config/i386/64/letf2.c: Likewise.
7454         * config/i386/64/letf2.c: Likewise.
7455         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
7456         unsigned long long for x64 mingw targets.
7457         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
7458         (_FP_I_TYPE): Define as long long for x64 mingw target.
7460 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
7462         * config.host (vax-*-linux*): New.
7464 2009-05-31  Anthony Green  <green@moxielogic.com>
7466         * config.host: Add moxie support.
7467         * config/moxie/t-moxie: New file.
7469 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
7471         * config.host: Add i386/${host_address}/t-fprules-softfp and
7472         t-softfp to tmake_file for i[34567]86-*-cygwin*.
7474 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
7476         * config.host: Add i386/${host_address}/t-fprules-softfp to
7477         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
7479 2009-04-09  Nick Clifton  <nickc@redhat.com>
7481         * config/ia64/tf-signs.c: Change copyright header to refer to
7482         version 3 of the GNU General Public License with version 3.1
7483         of the GCC Runtime Library Exception and to point readers at
7484         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
7485         web page.
7486         * config/i386/32/tf-signs.c: Likewise.
7487         * config/libbid/_addsub_dd.c: Likewise.
7488         * config/libbid/_addsub_sd.c: Likewise.
7489         * config/libbid/_addsub_td.c: Likewise.
7490         * config/libbid/_dd_to_df.c: Likewise.
7491         * config/libbid/_dd_to_di.c: Likewise.
7492         * config/libbid/_dd_to_sd.c: Likewise.
7493         * config/libbid/_dd_to_sf.c: Likewise.
7494         * config/libbid/_dd_to_si.c: Likewise.
7495         * config/libbid/_dd_to_td.c: Likewise.
7496         * config/libbid/_dd_to_tf.c: Likewise.
7497         * config/libbid/_dd_to_udi.c: Likewise.
7498         * config/libbid/_dd_to_usi.c: Likewise.
7499         * config/libbid/_dd_to_xf.c: Likewise.
7500         * config/libbid/_df_to_dd.c: Likewise.
7501         * config/libbid/_df_to_sd.c: Likewise.
7502         * config/libbid/_df_to_td.c: Likewise.
7503         * config/libbid/_di_to_dd.c: Likewise.
7504         * config/libbid/_di_to_sd.c: Likewise.
7505         * config/libbid/_di_to_td.c: Likewise.
7506         * config/libbid/_div_dd.c: Likewise.
7507         * config/libbid/_div_sd.c: Likewise.
7508         * config/libbid/_div_td.c: Likewise.
7509         * config/libbid/_eq_dd.c: Likewise.
7510         * config/libbid/_eq_sd.c: Likewise.
7511         * config/libbid/_eq_td.c: Likewise.
7512         * config/libbid/_ge_dd.c: Likewise.
7513         * config/libbid/_ge_sd.c: Likewise.
7514         * config/libbid/_ge_td.c: Likewise.
7515         * config/libbid/_gt_dd.c: Likewise.
7516         * config/libbid/_gt_sd.c: Likewise.
7517         * config/libbid/_gt_td.c: Likewise.
7518         * config/libbid/_isinfd128.c: Likewise.
7519         * config/libbid/_isinfd32.c: Likewise.
7520         * config/libbid/_isinfd64.c: Likewise.
7521         * config/libbid/_le_dd.c: Likewise.
7522         * config/libbid/_le_sd.c: Likewise.
7523         * config/libbid/_le_td.c: Likewise.
7524         * config/libbid/_lt_dd.c: Likewise.
7525         * config/libbid/_lt_sd.c: Likewise.
7526         * config/libbid/_lt_td.c: Likewise.
7527         * config/libbid/_mul_dd.c: Likewise.
7528         * config/libbid/_mul_sd.c: Likewise.
7529         * config/libbid/_mul_td.c: Likewise.
7530         * config/libbid/_ne_dd.c: Likewise.
7531         * config/libbid/_ne_sd.c: Likewise.
7532         * config/libbid/_ne_td.c: Likewise.
7533         * config/libbid/_sd_to_dd.c: Likewise.
7534         * config/libbid/_sd_to_df.c: Likewise.
7535         * config/libbid/_sd_to_di.c: Likewise.
7536         * config/libbid/_sd_to_sf.c: Likewise.
7537         * config/libbid/_sd_to_si.c: Likewise.
7538         * config/libbid/_sd_to_td.c: Likewise.
7539         * config/libbid/_sd_to_tf.c: Likewise.
7540         * config/libbid/_sd_to_udi.c: Likewise.
7541         * config/libbid/_sd_to_usi.c: Likewise.
7542         * config/libbid/_sd_to_xf.c: Likewise.
7543         * config/libbid/_sf_to_dd.c: Likewise.
7544         * config/libbid/_sf_to_sd.c: Likewise.
7545         * config/libbid/_sf_to_td.c: Likewise.
7546         * config/libbid/_si_to_dd.c: Likewise.
7547         * config/libbid/_si_to_sd.c: Likewise.
7548         * config/libbid/_si_to_td.c: Likewise.
7549         * config/libbid/_td_to_dd.c: Likewise.
7550         * config/libbid/_td_to_df.c: Likewise.
7551         * config/libbid/_td_to_di.c: Likewise.
7552         * config/libbid/_td_to_sd.c: Likewise.
7553         * config/libbid/_td_to_sf.c: Likewise.
7554         * config/libbid/_td_to_si.c: Likewise.
7555         * config/libbid/_td_to_tf.c: Likewise.
7556         * config/libbid/_td_to_udi.c: Likewise.
7557         * config/libbid/_td_to_usi.c: Likewise.
7558         * config/libbid/_td_to_xf.c: Likewise.
7559         * config/libbid/_tf_to_dd.c: Likewise.
7560         * config/libbid/_tf_to_sd.c: Likewise.
7561         * config/libbid/_tf_to_td.c: Likewise.
7562         * config/libbid/_udi_to_dd.c: Likewise.
7563         * config/libbid/_udi_to_sd.c: Likewise.
7564         * config/libbid/_udi_to_td.c: Likewise.
7565         * config/libbid/_unord_dd.c: Likewise.
7566         * config/libbid/_unord_sd.c: Likewise.
7567         * config/libbid/_unord_td.c: Likewise.
7568         * config/libbid/_usi_to_dd.c: Likewise.
7569         * config/libbid/_usi_to_sd.c: Likewise.
7570         * config/libbid/_usi_to_td.c: Likewise.
7571         * config/libbid/_xf_to_dd.c: Likewise.
7572         * config/libbid/_xf_to_sd.c: Likewise.
7573         * config/libbid/_xf_to_td.c: Likewise.
7574         * config/libbid/bid128.c: Likewise.
7575         * config/libbid/bid128_2_str.h: Likewise.
7576         * config/libbid/bid128_2_str_macros.h: Likewise.
7577         * config/libbid/bid128_2_str_tables.c: Likewise.
7578         * config/libbid/bid128_add.c: Likewise.
7579         * config/libbid/bid128_compare.c: Likewise.
7580         * config/libbid/bid128_div.c: Likewise.
7581         * config/libbid/bid128_fma.c: Likewise.
7582         * config/libbid/bid128_logb.c: Likewise.
7583         * config/libbid/bid128_minmax.c: Likewise.
7584         * config/libbid/bid128_mul.c: Likewise.
7585         * config/libbid/bid128_next.c: Likewise.
7586         * config/libbid/bid128_noncomp.c: Likewise.
7587         * config/libbid/bid128_quantize.c: Likewise.
7588         * config/libbid/bid128_rem.c: Likewise.
7589         * config/libbid/bid128_round_integral.c: Likewise.
7590         * config/libbid/bid128_scalb.c: Likewise.
7591         * config/libbid/bid128_sqrt.c: Likewise.
7592         * config/libbid/bid128_string.c: Likewise.
7593         * config/libbid/bid128_to_int16.c: Likewise.
7594         * config/libbid/bid128_to_int32.c: Likewise.
7595         * config/libbid/bid128_to_int64.c: Likewise.
7596         * config/libbid/bid128_to_int8.c: Likewise.
7597         * config/libbid/bid128_to_uint16.c: Likewise.
7598         * config/libbid/bid128_to_uint32.c: Likewise.
7599         * config/libbid/bid128_to_uint64.c: Likewise.
7600         * config/libbid/bid128_to_uint8.c: Likewise.
7601         * config/libbid/bid32_to_bid128.c: Likewise.
7602         * config/libbid/bid32_to_bid64.c: Likewise.
7603         * config/libbid/bid64_add.c: Likewise.
7604         * config/libbid/bid64_compare.c: Likewise.
7605         * config/libbid/bid64_div.c: Likewise.
7606         * config/libbid/bid64_fma.c: Likewise.
7607         * config/libbid/bid64_logb.c: Likewise.
7608         * config/libbid/bid64_minmax.c: Likewise.
7609         * config/libbid/bid64_mul.c: Likewise.
7610         * config/libbid/bid64_next.c: Likewise.
7611         * config/libbid/bid64_noncomp.c: Likewise.
7612         * config/libbid/bid64_quantize.c: Likewise.
7613         * config/libbid/bid64_rem.c: Likewise.
7614         * config/libbid/bid64_round_integral.c: Likewise.
7615         * config/libbid/bid64_scalb.c: Likewise.
7616         * config/libbid/bid64_sqrt.c: Likewise.
7617         * config/libbid/bid64_string.c: Likewise.
7618         * config/libbid/bid64_to_bid128.c: Likewise.
7619         * config/libbid/bid64_to_int16.c: Likewise.
7620         * config/libbid/bid64_to_int32.c: Likewise.
7621         * config/libbid/bid64_to_int64.c: Likewise.
7622         * config/libbid/bid64_to_int8.c: Likewise.
7623         * config/libbid/bid64_to_uint16.c: Likewise.
7624         * config/libbid/bid64_to_uint32.c: Likewise.
7625         * config/libbid/bid64_to_uint64.c: Likewise.
7626         * config/libbid/bid64_to_uint8.c: Likewise.
7627         * config/libbid/bid_b2d.h: Likewise.
7628         * config/libbid/bid_binarydecimal.c: Likewise.
7629         * config/libbid/bid_conf.h: Likewise.
7630         * config/libbid/bid_convert_data.c: Likewise.
7631         * config/libbid/bid_decimal_data.c: Likewise.
7632         * config/libbid/bid_decimal_globals.c: Likewise.
7633         * config/libbid/bid_div_macros.h: Likewise.
7634         * config/libbid/bid_dpd.c: Likewise.
7635         * config/libbid/bid_flag_operations.c: Likewise.
7636         * config/libbid/bid_from_int.c: Likewise.
7637         * config/libbid/bid_functions.h: Likewise.
7638         * config/libbid/bid_gcc_intrinsics.h: Likewise.
7639         * config/libbid/bid_inline_add.h: Likewise.
7640         * config/libbid/bid_internal.h: Likewise.
7641         * config/libbid/bid_round.c: Likewise.
7642         * config/libbid/bid_sqrt_macros.h: Likewise.
7644 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
7646         * Makefile.in: Change copyright header to refer to version
7647         3 of the GNU General Public License and to point readers at the
7648         COPYING3 file and the FSF's license web page.
7649         * config.host: Likewise.
7651 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
7653         * config.host: Reorder and merge to match config.gcc change.
7655 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
7657         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
7659 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
7661         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
7662         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
7663         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
7664         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
7666 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
7668         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
7669         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
7671 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
7673         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
7674         ia64/t-softfp-compat to tmake_file.
7676         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
7678         * config/ia64/__divxf3.asm: New.
7679         * config/ia64/_fixtfdi.asm: Likewise.
7680         * config/ia64/_fixunstfdi.asm: Likewise.
7681         * config/ia64/_floatditf.asm: Likewise.
7682         * config/ia64/t-fprules-softfp: Likewise.
7683         * config/ia64/t-softfp-compat: Likewise.
7684         * config/ia64/tf-signs.c: Likewise.
7686 2009-01-18  Ben Elliston  <bje@au.ibm.com>
7688         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
7690 2009-01-16  Ben Elliston  <bje@au.ibm.com>
7692         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
7693         to tmake_file.
7695 2009-01-13  Ben Elliston  <bje@au.ibm.com>
7697         * config/t-softfp: New file.
7698         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
7699         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
7701 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
7703         * config.host: Add m32r*-*-rtems*.
7705 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
7707         * config.host: Add m32c*-*-rtems*.
7709 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7711         PR bootstrap/33100
7712         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
7713         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
7714         * configure: Regenerate.
7715         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
7716         tmake_file here from gcc/config.gcc.
7717         Move extra_parts here from gcc/config.gcc.
7718         * config/i386/t-sol2: Move here from gcc/config/i386.
7719         Use gcc_srcdir instead of srcdir.
7721 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
7723         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
7724         case.
7726 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
7728         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
7730 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
7732         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
7734 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
7736         Add picoChip port.
7737         * config.host: Add picochip-*-*.
7739 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
7741         * config.host: Match more processor names for Xtensa.
7743 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
7745         * config/i386/64/t-softfp-compat: Update comments.
7747 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
7749         * config/i386/64/_divtc3-compat.c: Moved to ...
7750         * config/i386/64/_divtc3.c: Here.
7752         * config/i386/64/_multc3-compat.c: Moved to ...
7753         * config/i386/64/_multc3.c: Here.
7755         * config/i386/64/_powitf2-compat.c: Moved to ...
7756         * config/i386/64/_powitf2.c: Here.
7758         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
7759         .c suffix instead of -compat.c.
7761 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
7763         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
7764         (_FP_MUL_MEAT_D): Ditto.
7765         (_FP_DIV_MEAT_S): Ditto.
7766         (_FP_DIV_MEAT_D): Ditto.
7768 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
7770         * Makefile.in: Add support for __sync_* libgcc functions.
7772 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
7774         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
7776 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
7778         PR boostrap/36702
7779         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
7780         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
7782         * config/i386/64/t-fprules-softfp: Moved to ...
7783         * config/i386/64/t-softfp-compat: This.  New.
7785 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
7787         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
7788         Initialize f with 0.0.
7790 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
7792         PR target/36669
7793         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
7795         * config/i386/64/_divtc3-compat.c: New.
7796         * config/i386/64/_multc3-compat.c: Likewise.
7797         * config/i386/64/_powitf2-compat.c: Likewise.
7798         * config/i386/64/eqtf2.c: Likewise.
7799         * config/i386/64/getf2.c: Likewise.
7800         * config/i386/64/letf2.c: Likewise.
7801         * config/i386/64/t-fprules-softfp: Likewise.
7803 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
7805         * config.host: Add i386/${host_address}/t-fprules-softfp to
7806         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
7807         i[34567]86-*-linux*, x86_64-*-linux*.
7809         * configure.ac: Set host_address to 64 or 32 for x86.
7810         * configure: Regenerated.
7812         * Makefile.in (config.status): Also depend on
7813         $(srcdir)/config.host.
7815         * config/i386/32/t-fprules-softfp: New.
7816         * config/i386/32/tf-signs.c: Likewise.
7818         * config/i386/64/sfp-machine.h: New. Moved from gcc.
7820 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
7821             Uros Bizjak  <ubizjak@gmail.com>
7823         * config/i386/32/sfp-machine.h: New.
7825 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
7827         * config/rs6000/t-ppccomm: Remove rules that conflict with
7828         auto-generated rules.
7830 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7832         * configure.ac: sinclude override.m4.
7833         * configure: Regenerate.
7835 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
7837         * configure: Regenerate.
7839 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
7841         * Makefile.in (DECNUMINC): Remove
7842         -I$(MULTIBUILDTOP)../../libdecnumber.
7843         * gstdint.h: New.
7845 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
7847         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
7848         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
7849         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
7850         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
7851         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
7852         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
7853         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
7854         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
7855         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
7856         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
7857         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
7858         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
7859         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
7860         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
7862 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
7864         * config.host (sh2[lbe]*-*-linux*): Allow target.
7866 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
7868         * config/rs6000/t-ppccomm: Add build rules for new files.
7869         (LIB2ADD_ST): New variable.
7871 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
7873         PR target/34210
7874         PR target/35508
7875         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
7876         * config/t-avr: New file. Build 16bit libgcc functions.
7878 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
7880         PR target/35401
7881         * config/t-slibgcc-darwin: Make install-leaf dependent on
7882         install-darwin-libgcc-stubs instead of install.
7884 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
7886         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
7887         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
7888         sh-*-rtemscoff*): Remove cases.
7890 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
7892         * Makefile.in (all): Use install-leaf rather than install.
7893         (install): Split most of the rule into...
7894         (install-leaf): ...this new one.
7896 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
7897             Paolo Bonzini  <bonzini@gnu.org>
7899         PR target/30572
7900         * Makefile.in: Use @shlib_slibdir@ substitution to get
7901         correct install name on darwin.
7902         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
7904 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
7906         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
7907         cris-*-elf and cris-*-none.
7908         (crisv32-*-linux*): Similar, as cris-*-linux*.
7910 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
7912         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
7914 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
7916         PR regression/33926
7917         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
7918         * configure: Regenerated.
7920 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
7922         * Makefile.in (dfp-filenames): Replace decimal_globals,
7923         decimal_data, binarydecimal and convert_data with
7924         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
7925         and bid_convert_data, respectively.
7927 2007-09-17  Chao-ying Fu  <fu@mips.com>
7928             Nigel Stephens  <nigel@mips.com>
7930         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
7931         * Makefile.in (fixed_point): Define.
7932         Check if fixed_point is yes to build support functions.
7933         * configure.ac: Check for fixed_point support.
7934         * configure: Regenerated.
7935         * gen-fixed.sh: New file to generate lists of fixed-point labels,
7936         funcs, modes, from, to.
7938 2007-09-11  Janis Johnson  <janis187@us.ibm.com
7940         * Makefile.in (dfp-filenames): Add bid128_noncomp.
7942 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
7944         * Makefile.in (dfp-filenames): Remove decUtility, add
7945         decDouble, decPacked, decQuad, decSingle.
7947 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
7949         * config.host : Add x86_64-elf target.
7951 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
7953         * configure.ac (set_have_cc_tls): Add a missing =.
7954         * configure: Regenerated.
7956 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
7958         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
7959         and x86_64-*-linux*.
7961         * config/t-tls: New file.
7963         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
7965         * configure.ac: Include ../config/enable.m4 and
7966         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
7967         supports TLS and substitute set_have_cc_tls.
7968         * configure: Regenerated.
7970 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
7972         * Makefile.in: Use libbid for DFP when BID is enabled.
7974 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
7976         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
7977         extra_parts. Add config/i386/t-cygming to tmake_file.
7978         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
7980 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
7981             Danny Smith  <dannysmith@users.sourceforge.net>
7983         PR target/29498
7984         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
7985         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
7986         * config/i386/t-crtfm: Compile crtfastmath.o with
7987         -minline-all-stringops.
7989 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
7991         * config.host (sparc-wrs-vxworks): New target.
7993 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
7995         * config.host: Recognize fido.
7997 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
7999         * configure: Check host, not target, for decimal float support.
8001 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
8003         * config/i386/t-crtpc: New file.
8004         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
8005         (x86_64-*-linux*): Ditto.
8007 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
8009         * config.host (x86_64-*-mingw*): New target.
8011 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
8012             H.J. Lu  <hongjiu.lu@intel.com>
8014         * Makefile.in (enable_decimal_float): New.
8015         (DECNUMINC): Add
8016         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
8017         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
8018         (decbits-filenames): This.
8019         (decbits-objects): New.
8020         (libgcc-objects): Add $(decbits-objects).
8022         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
8023         Substitute enable_decimal_float.
8024         * configure: Regenerated.
8026 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
8028         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
8030 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
8032         * Makefile.in (install-info): New dummy target.
8034 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
8036         * config.host (bfin*-linux-uclibc*): Set extra_parts.
8038 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
8040         * Makefile.in: Add install-html and install-pdf dummy
8041         targets.
8043 2007-02-05  Roger Sayle  <roger@eyesopen.com>
8044             Daniel Jacobowitz  <dan@codesourcery.com>
8046         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
8047         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
8048         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
8050 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
8052         * Makefile.in (dec-filenames): Add decExcept.
8054 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
8056         PR bootstrap/30469
8057         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
8058         -fprofile-use.
8060 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
8062         * configure.ac: Add --enable-version-specific-runtime-libs.
8063         Correct $slibdir default.
8064         * configure: Regenerated.
8066 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
8068         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
8070 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
8072         PR target/30519
8073         * config.host (alpha*-*-linux*): Set extra_parts.
8075 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
8077         * config/sh/t-linux: New.
8078         * config.host (sh*-*-linux*): Set tmake_file.
8080 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
8082         * Makefile.in (install): Handle multilibs.
8084 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
8086         * Makefile.in: Added .PHONY entry for documentation targets.
8088 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
8090         * Makefile.in: Add empty info, html, dvi, pdf targets.
8092 2007-01-04  Mike Stump  <mrs@apple.com>
8094         * Makefile.in (MAKEINFO): Remove.
8095         (PERL): Likewise.
8097 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
8099         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
8100         * configure: Regenerate.
8101         * Makefile.in (host_subdir): Substitute it.
8102         (gcc_objdir): Use it.
8104 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
8106         * config.host (ia64*-*-linux*): Set tmake_file.
8108 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
8110         * Makefile.in (version): Define.
8112 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
8113             Paolo Bonzini  <bonzini@gnu.org>
8115         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
8116         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
8117         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
8118         config/sparc/t-crtfm, config/t-slibgcc-darwin,
8119         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
8120         shared-object.mk, siditi-object.mk, static-object.mk: New files.
8121         * configure: Generated.
8123 Copyright (C) 2007-2016 Free Software Foundation, Inc.
8125 Copying and distribution of this file, with or without modification,
8126 are permitted in any medium without royalty provided the copyright
8127 notice and this notice are preserved.