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