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