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