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