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