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