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