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