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