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