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