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