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