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