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