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