* config/i386/constraints.md (Bw): Rename from 'w'.
[official-gcc.git] / libgcc / ChangeLog
blob04c8f73706ede9c03b62482e687a28458cc0637b
1 2014-05-22  Nick Clifton  <nickc@redhat.com>
3         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4         -mhwmult=none.
6 2014-05-22  Teresa Johnson  <tejohnson@google.com>
8         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
9         include.
11 2014-05-20  John Marino  <gnugcc@marino.st>
13         * config.host (*-*-dragonfly*): New target.
14         * crtstuff.c: Make dl_iterate_support generic on *bsd.
15         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
16         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
17         * config/i386/dragonfly-unwind.h: New.
19 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
21         PR libgcc/60166
22         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
23         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
25 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
27         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
28         implementation.
30 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
32         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
34 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
36         PR libgcc/61097
37         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
38         if --enable-shared.
40 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
42         Work around for current cygwin32 build problems.
43         * config/i386/cygming-crtbegin.c (__register_frame_info,
44         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
45         functions only for 64-bit systems.
47 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
49         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
50         (sigill_caught, sigill_hdlr): Remove.
52 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
54         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
55         check.
56         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
57         Solaris 9 single-threaded support.
58         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
59         Solaris 9 single-threaded support.  Add call_user_handler code
60         sequences.
61         (sparc_is_sighandler): Likewise.
63 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65         * config.host: Append t-floattodi to tmake_file depending on
66         host_address.
68 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
70         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
72 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
74         PR libgcc/60472
75         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
76         variable to avoid array subscript is above array bounds warnings.
77         Use __builtin_expect when checking *jcr_list for NULL.
79 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
81         PR libgcc/59339
82         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
83         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
84         vtv_*.o to extra_parts if enable_vtable_verify.
86 2014-03-06  Nick Clifton  <nickc@redhat.com>
88         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
89         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
91 2014-02-28  Joey Ye  <joey.ye@arm.com>
93         PR libgcc/60166
94         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
95         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
96         Set to zero.
98 2014-02-24  Walter Lee  <walt@tilera.com>
100         * config.host: Support "tilegx*" and "tilepro*" triplets.
101         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
102         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
104 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
105             Chung-Lin Tang  <cltang@codesourcery.com>
107         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
108         * config/nios2/crti.S: Remove .file directive.
109         * config/nios2/crtn.S: Likewise.
111 2014-02-18  Kai Tietz  <ktietz@redhat.com>
112         Jonathan Schleifer  <js@webkeks.org>
114         PR objc/56870
115         * unwind-seh.c (_GCC_specific_handler): Pass proper
116         value to unwind-handler.
118 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
120         * soft-fp/adddf3.c: Update from glibc.
121         * soft-fp/addsf3.c: Likewise.
122         * soft-fp/addtf3.c: Likewise.
123         * soft-fp/divdf3.c: Likewise.
124         * soft-fp/divsf3.c: Likewise.
125         * soft-fp/divtf3.c: Likewise.
126         * soft-fp/double.h: Likewise.
127         * soft-fp/eqdf2.c: Likewise.
128         * soft-fp/eqsf2.c: Likewise.
129         * soft-fp/eqtf2.c: Likewise.
130         * soft-fp/extenddftf2.c: Likewise.
131         * soft-fp/extended.h: Likewise.
132         * soft-fp/extendsfdf2.c: Likewise.
133         * soft-fp/extendsftf2.c: Likewise.
134         * soft-fp/extendxftf2.c: Likewise.
135         * soft-fp/fixdfdi.c: Likewise.
136         * soft-fp/fixdfsi.c: Likewise.
137         * soft-fp/fixdfti.c: Likewise.
138         * soft-fp/fixsfdi.c: Likewise.
139         * soft-fp/fixsfsi.c: Likewise.
140         * soft-fp/fixsfti.c: Likewise.
141         * soft-fp/fixtfdi.c: Likewise.
142         * soft-fp/fixtfsi.c: Likewise.
143         * soft-fp/fixtfti.c: Likewise.
144         * soft-fp/fixunsdfdi.c: Likewise.
145         * soft-fp/fixunsdfsi.c: Likewise.
146         * soft-fp/fixunsdfti.c: Likewise.
147         * soft-fp/fixunssfdi.c: Likewise.
148         * soft-fp/fixunssfsi.c: Likewise.
149         * soft-fp/fixunssfti.c: Likewise.
150         * soft-fp/fixunstfdi.c: Likewise.
151         * soft-fp/fixunstfsi.c: Likewise.
152         * soft-fp/fixunstfti.c: Likewise.
153         * soft-fp/floatdidf.c: Likewise.
154         * soft-fp/floatdisf.c: Likewise.
155         * soft-fp/floatditf.c: Likewise.
156         * soft-fp/floatsidf.c: Likewise.
157         * soft-fp/floatsisf.c: Likewise.
158         * soft-fp/floatsitf.c: Likewise.
159         * soft-fp/floattidf.c: Likewise.
160         * soft-fp/floattisf.c: Likewise.
161         * soft-fp/floattitf.c: Likewise.
162         * soft-fp/floatundidf.c: Likewise.
163         * soft-fp/floatundisf.c: Likewise.
164         * soft-fp/floatunditf.c: Likewise.
165         * soft-fp/floatunsidf.c: Likewise.
166         * soft-fp/floatunsisf.c: Likewise.
167         * soft-fp/floatunsitf.c: Likewise.
168         * soft-fp/floatuntidf.c: Likewise.
169         * soft-fp/floatuntisf.c: Likewise.
170         * soft-fp/floatuntitf.c: Likewise.
171         * soft-fp/gedf2.c: Likewise.
172         * soft-fp/gesf2.c: Likewise.
173         * soft-fp/getf2.c: Likewise.
174         * soft-fp/ledf2.c: Likewise.
175         * soft-fp/lesf2.c: Likewise.
176         * soft-fp/letf2.c: Likewise.
177         * soft-fp/muldf3.c: Likewise.
178         * soft-fp/mulsf3.c: Likewise.
179         * soft-fp/multf3.c: Likewise.
180         * soft-fp/negdf2.c: Likewise.
181         * soft-fp/negsf2.c: Likewise.
182         * soft-fp/negtf2.c: Likewise.
183         * soft-fp/op-1.h: Likewise.
184         * soft-fp/op-2.h: Likewise.
185         * soft-fp/op-4.h: Likewise.
186         * soft-fp/op-8.h: Likewise.
187         * soft-fp/op-common.h: Likewise.
188         * soft-fp/quad.h: Likewise.
189         * soft-fp/single.h: Likewise.
190         * soft-fp/soft-fp.h: Likewise.
191         * soft-fp/subdf3.c: Likewise.
192         * soft-fp/subsf3.c: Likewise.
193         * soft-fp/subtf3.c: Likewise.
194         * soft-fp/truncdfsf2.c: Likewise.
195         * soft-fp/trunctfdf2.c: Likewise.
196         * soft-fp/trunctfsf2.c: Likewise.
197         * soft-fp/trunctfxf2.c: Likewise.
198         * soft-fp/unorddf2.c: Likewise.
199         * soft-fp/unordsf2.c: Likewise.
200         * soft-fp/unordtf2.c: Likewise.
201         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
202         macro.
203         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
204         Likewise.
205         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
206         Likewise.
207         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
208         Likewise.
209         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
210         Likewise.
211         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
212         Likewise.
213         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
214         Likewise.
215         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
216         Likewise.
217         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
218         Likewise.
219         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
220         Likewise.
221         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
222         Likewise.
223         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
224         Likewise.
225         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
226         Likewise.
227         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
228         Likewise.
229         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
230         Likewise.
231         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
232         Likewise.
234 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
236         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
237         cannot be represented.
238         * config/s390/32/_fixsfdi.c: Likewise.
239         * config/s390/32/_fixtfdi.c: Likewise.
240         * config/s390/32/_fixunsdfdi.c: Likewise.
241         * config/s390/32/_fixunssfdi.c: Likewise.
242         * config/s390/32/_fixunstfdi.c: Likewise.
244 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
246         * configure.ac (libgcc_cv_mips_hard_float): New.
247         * configure: Regenerate.
248         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
249         t-softfp-sfdf for hard-float targets.
250         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
251         (softfp_float_modes, softfp_int_modes, softfp_extensions)
252         (softfp_truncations, softfp_exclude_libgcc2): New.
253         * config/t-hardfp: New file.
254         * config/t-hardfp-sfdf: Likewise.
255         * config/hardfp.c: Likewise.
257 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
259         * config.host: Include t-floattodi also for s390x.
260         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
261         * config/s390/32/_fixsfdi.c: Likewise.
262         * config/s390/32/_fixtfdi.c: Likewise.
263         * config/s390/32/_fixunsdfdi.c: Likewise.
264         * config/s390/32/_fixunssfdi.c: Likewise.
265         * config/s390/32/_fixunstfdi.c: Likewise.
267 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
269         PR target/59788
270         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
271         (install-libgcc-unwind-map-forbuild): New target.
272         (all): Depend on install-libgcc-unwind-map-forbuild.
273         (install-libgcc-unwind-map): New target.
274         (install): Depend on install-libgcc-unwind-map.
276 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
278         * config/nios2/crti.S (_init): Initialize GOT pointer from
279         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
281 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
283         * configure.ac: Check __mips64 when setting host_address.
284         * configure: Regenerate.
285         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
286         mips/t-mips64 and t-softfp.
287         (mips*-*-linux*): Don't add mips/t-tpbit.
288         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
289         (DPBIT, DPBIT_CFLAGS): Delete.
290         * config/mips/sfp-machine.h: New file.
291         * config/mips/t-mips64: Likewise.
292         * config/mips/t-softfp-tf: Likewise.
293         * config/mips/t-tpbit: Delete.
295 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
297         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
298         as long long.
300 2014-01-25  Walter Lee  <walt@tilera.com>
302         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
303         config.h or system.h.
304         (bool) Define.
306 2014-01-25  Walter Lee  <walt@tilera.com>
308         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
309         (post_atomic_barrier): Ditto.
310         (__fetch_and_do): New macro.
311         (__atomic_fetch_and_do): Use __fetch_and_do.
312         (__sync_fetch_and_do): New macro.
313         (__sync_fetch_and_add_4): New function.
314         (__sync_fetch_and_sub_4): New function.
315         (__sync_fetch_and_or_4): New function.
316         (__sync_fetch_and_and_4): New function.
317         (__sync_fetch_and_xor_4): New function.
318         (__sync_fetch_and_nand_4): New function.
319         (__sync_fetch_and_add_8): New function.
320         (__sync_fetch_and_sub_8): New function.
321         (__sync_fetch_and_or_8): New function.
322         (__sync_fetch_and_and_8): New function.
323         (__sync_fetch_and_xor_8): New function.
324         (__sync_fetch_and_nand_8): New function.
325         (__do_and_fetch): New macro.
326         (__atomic_do_and_fetch): Use __do_and_fetch.
327         (__sync_do_and_fetch): New macro.
328         (__sync_add_and_fetch_4): New function.
329         (__sync_sub_and_fetch_4): New function.
330         (__sync_or_and_fetch_4): New function.
331         (__sync_and_and_fetch_4): New function.
332         (__sync_xor_and_fetch_4): New function.
333         (__sync_nand_and_fetch_4): New function.
334         (__sync_add_and_fetch_8): New function.
335         (__sync_sub_and_fetch_8): New function.
336         (__sync_or_and_fetch_8): New function.
337         (__sync_and_and_fetch_8): New function.
338         (__sync_xor_and_fetch_8): New function.
339         (__sync_nand_and_fetch_8): New function.
340         (__sync_exchange_methods): New macro.
341         (__sync_val_compare_and_swap_4): New function.
342         (__sync_bool_compare_and_swap_4): New function.
343         (__sync_lock_test_and_test_4): New function.
344         (__sync_val_compare_and_swap_8): New function.
345         (__sync_bool_compare_and_swap_8): New function.
346         (__sync_lock_test_and_test_8): New function.
347         (__subword_cmpxchg_body): New macro.
348         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
349         (__atomic_compare_exchange_2): Ditto.
350         (__sync_subword_cmpxchg): New macro.
351         (__sync_val_compare_and_swap_1): New function.
352         (__sync_bool_compare_and_swap_1): New function.
353         (__sync_val_compare_and_swap_2): New function.
354         (__sync_bool_compare_and_swap_2): New function.
355         (__atomic_subword): Rename to ...
356         (__subword): ... New name.
357         (__atomic_subword_fetch): Use __subword.
358         (__sync_subword_fetch): New macro.
359         (__sync_fetch_and_add_1): New function.
360         (__sync_fetch_and_sub_1): New function.
361         (__sync_fetch_and_or_1): New function.
362         (__sync_fetch_and_and_1): New function.
363         (__sync_fetch_and_xor_1): New function.
364         (__sync_fetch_and_nand_1): New function.
365         (__sync_fetch_and_add_2): New function.
366         (__sync_fetch_and_sub_2): New function.
367         (__sync_fetch_and_or_2): New function.
368         (__sync_fetch_and_and_2): New function.
369         (__sync_fetch_and_xor_2): New function.
370         (__sync_fetch_and_nand_2): New function.
371         (__sync_add_and_fetch_1): New function.
372         (__sync_sub_and_fetch_1): New function.
373         (__sync_or_and_fetch_1): New function.
374         (__sync_and_and_fetch_1): New function.
375         (__sync_xor_and_fetch_1): New function.
376         (__sync_nand_and_fetch_1): New function.
377         (__sync_add_and_fetch_2): New function.
378         (__sync_sub_and_fetch_2): New function.
379         (__sync_or_and_fetch_2): New function.
380         (__sync_and_and_fetch_2): New function.
381         (__sync_xor_and_fetch_2): New function.
382         (__sync_nand_and_fetch_2): New function.
383         (__atomic_subword_lock): Use __subword.
384         (__sync_subword_lock): New macro.
385         (__sync_lock_test_and_set_1): New function.
386         (__sync_lock_test_and_set_2): New function.
388 2014-01-25  Walter Lee  <walt@tilera.com>
390         * config/tilepro/atomic.c (BIT_OFFSET): Define.
391         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
392         (__atomic_subword): Ditto.
394 2014-01-25  Walter Lee  <walt@tilera.com>
396         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
397         a prefix op argument.
398         (__atomic_nand_fetch_4): Add prefix op.
399         (__atomic_nand_fetch_8): Ditto.
401 2014-01-21  Baruch Siach <barch@tkos.co.il>
403         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
405 2014-01-09  Rong Xu  <xur@google.com>
407         * libgcov-driver.c (this_prg): make it local to save
408         bss space.
409         (gcov_exit_compute_summary): Ditto.
410         (gcov_exit_merge_gcda): Ditto.
411         (gcov_exit_merge_summary): Ditto.
412         (gcov_exit_dump_gcov): Ditto.
414 2014-01-08  Rong Xu  <xur@google.com> 
416         * libgcov-driver.c: Use libgcov.h.
417         (buffer_fn_data): Use xmalloc instead of malloc.
418         (gcov_exit_merge_gcda): Ditto.
419         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
420         * libgcov.h: New common header files for libgcov-*.h.
421         * libgcov-interface.c: Use libgcov.h
422         * libgcov-merge.c: Ditto.
423         * libgcov-profiler.c: Ditto.
424         * Makefile.in: Add dependence to libgcov.h
426 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
428         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
429         case of small numerator and finite nonzero result.
431 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
433         Update copyright years
435 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
437         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
438         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
439         config/arc/dp-hack.h, config/arc/fp-hack.h,
440         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
441         config/arc/ieee-754/arc600-dsp/divdf3.S,
442         config/arc/ieee-754/arc600-dsp/divsf3.S,
443         config/arc/ieee-754/arc600-dsp/muldf3.S,
444         config/arc/ieee-754/arc600-dsp/mulsf3.S,
445         config/arc/ieee-754/arc600-mul64/divdf3.S,
446         config/arc/ieee-754/arc600-mul64/divsf3.S,
447         config/arc/ieee-754/arc600-mul64/muldf3.S,
448         config/arc/ieee-754/arc600-mul64/mulsf3.S,
449         config/arc/ieee-754/arc600/divsf3.S,
450         config/arc/ieee-754/arc600/mulsf3.S,
451         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
452         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
453         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
454         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
455         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
456         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
457         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
458         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
459         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
460         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
461         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
462         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
463         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
464         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
465         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
466         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
467         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
468         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
469         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
470         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
471         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
472         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
473         vtv_start_preinit.c: Use the standard form for the copyright notice.
475 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
476             Chung-Lin Tang  <cltang@codesourcery.com>
477             Based on patches from Altera Corporation
479         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
480         * config/nios2/lib2-nios2.h: New file.
481         * config/nios2/lib2-divmod-hi.c: New file.
482         * config/nios2/linux-unwind.h: New file.
483         * config/nios2/lib2-divmod.c: New file.
484         * config/nios2/linux-atomic.c: New file.
485         * config/nios2/t-nios2: New file.
486         * config/nios2/crti.asm: New file.
487         * config/nios2/t-linux: New file.
488         * config/nios2/lib2-divtable.c: New file.
489         * config/nios2/lib2-mul.c: New file.
490         * config/nios2/tramp.c: New file.
491         * config/nios2/crtn.asm: New file.
493 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
495         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
496         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
497         from cpuid.h to check vendor signatures.
499 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
501         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
502         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
503         (get_amd_cpu): Likewise.
505 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
507         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
508         Haswell.
510 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
511             H.J. Lu  <hongjiu.lu@intel.com>
513         PR target/59422
514         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
515         and AMD_JAGUAR.
516         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
517         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
518         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
519         FEATURE_XOP and FEATURE_FMA.
520         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
521         AMDFAM15H_BDVER3.
522         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
523         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
524         FEATURE_FMA4 and FEATURE_XOP.
526 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
528         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
529         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
530         (get_intel_cpu): Updated.
532 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
534         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
536 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
538         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
539         instructions when __SSE_MATH__ is defined.
541 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
543         * config.host (microblaze-*-rtems*): New.
545 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
547         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
548         architectures that do not have hardware divide instruction.
549         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
551 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
553         * longlong.h: Delete (moved to include/).
555 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
557         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
558         of normal number and qNaN to not raise an inexact exception.
560 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
562         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
564 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
566         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
567         for correct opcodes on BE.
569 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
571         * soft-fp/op-4.h: Update from glibc.
573 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
575         * libgcc2.c (__udivmoddi4): Define new implementation when
576         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
577         divide instructions.
579 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
581         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
583 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
585         * config/t-softfp (soft-fp-objects-base): New variable.
586         (soft-fp-objects): Use it.
588 2013-11-23  David Edelson  <dje.gcc@gmail.com>
589             Andrew Dixie  <andrewd@gentrack.com>
591         PR target/33704
592         * config/rs6000/aixinitfini.c: New file.
593         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
594         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
595         symbols.
597 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
599         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
601 2013-11-18  Jan Hubicka  <jh@suse.cz>
603         * libgcov-driver.c (run_accounted): Make global level static.
604         (gcov_exit_merge_summary): Silence warning; do not clear
605         run_accounted here.
606         (gcov_exit): Clear it here.
608         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
609         run_accounted.
611         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
612         (all_prg, crc32): Remove static vars.
613         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
614         all_prg.
615         (gcov_exit_merge_gcda): Add crc32 parameter.
616         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
617         do not account run if it was already accounted.
618         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
619         (gcov_exit): Initialize all_prg; update.
621 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
623         * configure: Regenerate.
625 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
626             Alan Modra  <amodra@gmail.com>
628         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
629         (frob_update_context): Use it.
631 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
632             Alan Modra  <amodra@gmail.com>
634         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
635         (trampoline_initial): Provide ELFv2 variant.
636         (__trampoline_setup): Likewise.
638         * config/rs6000/linux-unwind.h (frob_update_context): Do not
639         check for AIX indirect function call sequence if _CALL_ELF == 2.
641 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
642             Alan Modra  <amodra@gmail.com>
644         * config/rs6000/linux-unwind.h (get_regs): Do not support
645         old kernel versions if _CALL_ELF == 2.
646         (frob_update_context): Do not support PLT stub variants only
647         generated by old linkers if _CALL_ELF == 2.
649 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
650             Alan Modra  <amodra@gmail.com>
652         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
653         location of CR save area for 64-bit little-endian systems.
655 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
657         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
658         in tmake_file.
659         * config/arm/t-vxworks: Delete.
661 2013-11-10  Kai Tietz  <ktietz@redhat.com>
663         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
664         Increment load-count on use of LIBGCC_SONAME DLL.
665         (hmod_libgcc): New static variable to hold handle of
666         LIBGCC_SONAME DLL.
667         (__gcc_deregister_frame): Decrement load-count of
668         LIBGCC_SONAME DLL.
670 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
672         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
673         availability.
674         * configure: Regenerate
676 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
678         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
679         FP_EX_DENORM.  Store result to volatile location after SSE division
680         to close interrupt window.  Remove unneeded fwait after x87
681         division since interrupt window will be closed by emitted fstp.
682         Rewrite FP_EX_INEXACT handling.
684 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
686         * soft-fp/README: Update.
687         * soft-fp/adddf3.c: Update from glibc.
688         * soft-fp/addsf3.c: Likewise.
689         * soft-fp/addtf3.c: Likewise.
690         * soft-fp/divdf3.c: Likewise.
691         * soft-fp/divsf3.c: Likewise.
692         * soft-fp/divtf3.c: Likewise.
693         * soft-fp/double.h: Likewise.
694         * soft-fp/eqdf2.c: Likewise.
695         * soft-fp/eqsf2.c: Likewise.
696         * soft-fp/eqtf2.c: Likewise.
697         * soft-fp/extenddftf2.c: Likewise.
698         * soft-fp/extended.h: Likewise.
699         * soft-fp/extendsfdf2.c: Likewise.
700         * soft-fp/extendsftf2.c: Likewise.
701         * soft-fp/extendxftf2.c: Likewise.
702         * soft-fp/fixdfdi.c: Likewise.
703         * soft-fp/fixdfsi.c: Likewise.
704         * soft-fp/fixdfti.c: Likewise.
705         * soft-fp/fixsfdi.c: Likewise.
706         * soft-fp/fixsfsi.c: Likewise.
707         * soft-fp/fixsfti.c: Likewise.
708         * soft-fp/fixtfdi.c: Likewise.
709         * soft-fp/fixtfsi.c: Likewise.
710         * soft-fp/fixtfti.c: Likewise.
711         * soft-fp/fixunsdfdi.c: Likewise.
712         * soft-fp/fixunsdfsi.c: Likewise.
713         * soft-fp/fixunsdfti.c: Likewise.
714         * soft-fp/fixunssfdi.c: Likewise.
715         * soft-fp/fixunssfsi.c: Likewise.
716         * soft-fp/fixunssfti.c: Likewise.
717         * soft-fp/fixunstfdi.c: Likewise.
718         * soft-fp/fixunstfsi.c: Likewise.
719         * soft-fp/fixunstfti.c: Likewise.
720         * soft-fp/floatdidf.c: Likewise.
721         * soft-fp/floatdisf.c: Likewise.
722         * soft-fp/floatditf.c: Likewise.
723         * soft-fp/floatsidf.c: Likewise.
724         * soft-fp/floatsisf.c: Likewise.
725         * soft-fp/floatsitf.c: Likewise.
726         * soft-fp/floattidf.c: Likewise.
727         * soft-fp/floattisf.c: Likewise.
728         * soft-fp/floattitf.c: Likewise.
729         * soft-fp/floatundidf.c: Likewise.
730         * soft-fp/floatundisf.c: Likewise.
731         * soft-fp/floatunditf.c: Likewise.
732         * soft-fp/floatunsidf.c: Likewise.
733         * soft-fp/floatunsisf.c: Likewise.
734         * soft-fp/floatunsitf.c: Likewise.
735         * soft-fp/floatuntidf.c: Likewise.
736         * soft-fp/floatuntisf.c: Likewise.
737         * soft-fp/floatuntitf.c: Likewise.
738         * soft-fp/gedf2.c: Likewise.
739         * soft-fp/gesf2.c: Likewise.
740         * soft-fp/getf2.c: Likewise.
741         * soft-fp/ledf2.c: Likewise.
742         * soft-fp/lesf2.c: Likewise.
743         * soft-fp/letf2.c: Likewise.
744         * soft-fp/muldf3.c: Likewise.
745         * soft-fp/mulsf3.c: Likewise.
746         * soft-fp/multf3.c: Likewise.
747         * soft-fp/negdf2.c: Likewise.
748         * soft-fp/negsf2.c: Likewise.
749         * soft-fp/negtf2.c: Likewise.
750         * soft-fp/op-1.h: Likewise.
751         * soft-fp/op-2.h: Likewise.
752         * soft-fp/op-4.h: Likewise.
753         * soft-fp/op-8.h: Likewise.
754         * soft-fp/op-common.h: Likewise.
755         * soft-fp/quad.h: Likewise.
756         * soft-fp/single.h: Likewise.
757         * soft-fp/soft-fp.h: Likewise.
758         * soft-fp/subdf3.c: Likewise.
759         * soft-fp/subsf3.c: Likewise.
760         * soft-fp/subtf3.c: Likewise.
761         * soft-fp/truncdfsf2.c: Likewise.
762         * soft-fp/trunctfdf2.c: Likewise.
763         * soft-fp/trunctfsf2.c: Likewise.
764         * soft-fp/trunctfxf2.c: Likewise.
765         * soft-fp/unorddf2.c: Likewise.
766         * soft-fp/unordsf2.c: Likewise.
767         * soft-fp/unordtf2.c: Likewise.
769 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
771         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
772         (_FP_MUL_MEAT_D): Ditto.
773         (_FP_DIV_MEAT_S): Ditto.
774         (_FP_DIV_MEAT_D): Ditto.
775         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
776         t-softfp-sfdf and t-softfp to tmake_file.
778 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
780         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
781         * config/i386/crtprec.c: Ditto.
783 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
784             Shiva Chen  <shiva0217@gmail.com>
786         * config.host (nds32*-elf*): Add nds32 target.
787         * config/nds32 : New directory and files.
789 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
791         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
792         * config.host (cpu_type) <Setting default>: Add entry for
793         crisv32-*-*.
794         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
795         <crisv32-*-linux*>: Adjust.
796         * longlong.h: Wrap the whole CRIS section in a single
797         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
798         and sub_ddmmss.
799         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
800         defined.
801         [__CRIS__] (__umulsidi3): Define.
802         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
803         * config/cris/sfp-machine.h: New file.
804         * config/cris/umulsidi3.S: New file.
805         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
806         * config/cris/arit.c (SIGNMULT): New macro.
807         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
808         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
809         saving 3 out of originally 33 cycles from the fastest
810         path, 3 out of 54 from the medium path and one from the longest
811         path.  Improve comments.
813 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
815         * sync.c: Remove static aliases and define each function directly
816         under its real name.
818 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
820         * config.host (hppa*64*-*-linux*): Define extra_parts.
821         (hppa*-*-linux*): Likewise.
823 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
825         * config/arc/crtgend.S: Add 2013 to Copyright years.
826         * config/arc/gmon/atomic.h: Likewise.
827         * config/arc/gmon/auxreg.h: Likewise.
828         * config/arc/gmon/sys/gmon_out.h: Likewise.
829         * config/arc/gmon/sys/gmon.h: Likewise.
830         * config/arc/gmon/prof-freq.c: Likewise.
831         * config/arc/gmon/mcount.c: Likewise.
832         * config/arc/gmon/prof-freq-stub.S: Likewise.
833         * config/arc/gmon/gmon.c: Likewise.
834         * config/arc/gmon/machine-gmon.h: Likewise.
835         * config/arc/gmon/profil.S: Likewise.
836         * config/arc/gmon/dcache_linesz.S: Likewise.
837         * config/arc/crtg.S: Likewise.
838         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
839         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
840         * config/arc/ieee-754/adddf3.S: Likewise.
841         * config/arc/ieee-754/truncdfsf2.S: Likewise.
842         * config/arc/ieee-754/fixsfsi.S: Likewise.
843         * config/arc/ieee-754/gtsf2.S: Likewise.
844         * config/arc/ieee-754/floatsisf.S: Likewise.
845         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
846         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
847         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
848         * config/arc/ieee-754/fixdfsi.S: Likewise.
849         * config/arc/ieee-754/addsf3.S: Likewise.
850         * config/arc/ieee-754/gesf2.S: Likewise.
851         * config/arc/ieee-754/floatsidf.S: Likewise.
852         * config/arc/ieee-754/extendsfdf2.S: Likewise.
853         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
854         * config/arc/ieee-754/gtdf2.S: Likewise.
855         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
856         * config/arc/ieee-754/uneqdf2.S: Likewise.
857         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
858         * config/arc/ieee-754/uneqsf2.S: Likewise.
859         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
860         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
861         * config/arc/ieee-754/eqdf2.S: Likewise.
862         * config/arc/ieee-754/ordsf2.S: Likewise.
863         * config/arc/ieee-754/divsf3.S: Likewise.
864         * config/arc/ieee-754/divdf3.S: Likewise.
865         * config/arc/ieee-754/floatunsidf.S: Likewise.
866         * config/arc/ieee-754/orddf2.S: Likewise.
867         * config/arc/ieee-754/eqsf2.S: Likewise.
868         * config/arc/ieee-754/gedf2.S: Likewise.
869         * config/arc/crtn.S: Likewise.
870         * config/arc/crti.S: Likewise.
871         * config/arc/t-arc700-uClibc: Likewise.
872         * config/arc/asm.h: Likewise.
873         * config/arc/libgcc-excl.ver: Likewise.
874         * config/arc/t-arc-newlib: Likewise.
875         * config/arc/divtab-arc700.c: Likewise.
876         * config/arc/initfini.c: Likewise.
877         * config/arc/fp-hack.h: Likewise.
879 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
880             Diego Novillo  <dnovillo@google.com>
882         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
883         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
884         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
885         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
887 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
888             Brendan Kehoe  <brendan@zen.org>
889             Simon Cook  <simon.cook@embecosm.com>
891         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
892         * config/arc: New directory.
893         * longlong.h [__arc__] (umul_ppmm): Remove.
894         [__arc__] (__umulsidi3): Define.
895         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
896         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
898 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
900         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
901         CreateSemaphoreA.
902         * config/i386/gthr-win32.h: Likewise.
904 2013-09-16  DJ Delorie  <dj@redhat.com>
906         * config/rl78/vregs.h: Add G10 register definitions.
907         * config/rl78/lib2mul.c: Enable for RL78/G10.
908         * config/rl78/lib2div.c: Likewise.
909         * config/rl78/lshrsi3.S: Use vregs.h.
910         * config/rl78/cmpsi2.S: Likewise.
911         * config/rl78/trampoline.S: Likewise.
912         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
914 2013-09-14  DJ Delorie  <dj@redhat.com>
915             Nick Clifton  <nickc@redhat.com>
917         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
918         * config/rl78/vregs.h: New.
919         * config/rl78/signbit.S: New file.  Implements signbit function.
920         * config/rl78/divmodsi.S: New.
921         * config/rl78/divmodhi.S: New.
922         * config/rl78/divmodqi.S: New.
923         * config/rl78/t-rl78: Build them here...
924         * config/rl78/lib2div.c: ...but not here.
926 2013-09-12  DJ Delorie  <dj@redhat.com>
928         * config.host (msp*-*-elf): New.
929         * config/msp430/: New port.
931 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
933         PR gcov-profile/58127
934         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
935         __thread var for emulated TLS.
936         (__gcov_indirect_call_counters): Likewise.
938 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
939             Catherine Moore  <clm@codesourcery.com>
940             Richard Sandiford <rdsandiford@googlemail.com>
942         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
943         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
944         (CALL_STUB_NO_RET): Likewise.
945         (CALL_STUB_RET): Likewise.
946         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
947         __mips16_ret call/return stub symbols.
948         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
949         to tmake_file.
951 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
953         * config.host <mips*-*-linux*>: Remove a stray comment.
955 2013-08-10  Jan Hubicka  <jh@suse.cz>
957         Work around binutils PR14342
958         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
959         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
960         (L_gcov_indirect_call_profiler_v2): New.
962 2013-08-06  Jan Hubicka  <jh@suse.cz>
964         * libgcov.c (__gcov_indirect_call_callee,
965         __gcov_indirect_call_counters): New global vars.
966         (__gcov_indirect_call_profiler): replace by ...
967         (__gcov_indirect_call_profiler_v2) ... this one.
969 2013-08-06  Caroline Tice  <cmtice@google.com>
971         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
972         vtv_start_preinit.o and vtv_end_preinit.o.
973         * configure.ac: Add code to check/set enable_vtable_verify.
974         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
975         true.
976         * vtv_start_preinit.c: New file.
977         * vtv_end_preinit.c: New file.
978         * vtv_start.c: New file.
979         * vtv_end.c: New file.
980         * configure: Regenerated.
982 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
984         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
985         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
986         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
987         GPL-3.0-with-GCC-exception.
989 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
991         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
992         ISA and up.
994 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
996         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
997         mapping for FPRs when creating the fallback framestate.
999 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
1001         PR target/57516
1002         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
1003         (__round_s2_const, __round_u2_const)
1004         (__round_s4_const, __round_u4_const, __round_x8):
1005         Saturate result if addition result cannot be represented.
1007 2013-07-15  Matthias Klose  <doko@ubuntu.com>
1009         * libgcc2.c: Don't include <limits.h>.
1011 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
1013         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
1015 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
1017         PR target/29776
1018         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
1020 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
1022         PR middle-end/36041
1023         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
1024         Define.
1025         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
1026         instead of table lookups.
1027         (__popcountDI2): Likewise.
1029 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
1031         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
1032         correctly.
1034 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
1036         PR other/53317
1037         * soft-fp/adddf3.c: Update from glibc.
1038         * soft-fp/addsf3.c: Likewise.
1039         * soft-fp/addtf3.c: Likewise.
1040         * soft-fp/divdf3.c: Likewise.
1041         * soft-fp/divsf3.c: Likewise.
1042         * soft-fp/divtf3.c: Likewise.
1043         * soft-fp/double.h: Likewise.
1044         * soft-fp/eqdf2.c: Likewise.
1045         * soft-fp/eqsf2.c: Likewise.
1046         * soft-fp/eqtf2.c: Likewise.
1047         * soft-fp/extenddftf2.c: Likewise.
1048         * soft-fp/extended.h: Likewise.
1049         * soft-fp/extendsfdf2.c: Likewise.
1050         * soft-fp/extendsftf2.c: Likewise.
1051         * soft-fp/fixdfdi.c: Likewise.
1052         * soft-fp/fixdfsi.c: Likewise.
1053         * soft-fp/fixsfdi.c: Likewise.
1054         * soft-fp/fixsfsi.c: Likewise.
1055         * soft-fp/fixtfdi.c: Likewise.
1056         * soft-fp/fixtfsi.c: Likewise.
1057         * soft-fp/fixunsdfdi.c: Likewise.
1058         * soft-fp/fixunsdfsi.c: Likewise.
1059         * soft-fp/fixunssfdi.c: Likewise.
1060         * soft-fp/fixunssfsi.c: Likewise.
1061         * soft-fp/fixunstfdi.c: Likewise.
1062         * soft-fp/fixunstfsi.c: Likewise.
1063         * soft-fp/floatdidf.c: Likewise.
1064         * soft-fp/floatdisf.c: Likewise.
1065         * soft-fp/floatditf.c: Likewise.
1066         * soft-fp/floatsidf.c: Likewise.
1067         * soft-fp/floatsisf.c: Likewise.
1068         * soft-fp/floatsitf.c: Likewise.
1069         * soft-fp/floatundidf.c: Likewise.
1070         * soft-fp/floatundisf.c: Likewise.
1071         * soft-fp/floatunditf.c: Likewise.
1072         * soft-fp/floatunsidf.c: Likewise.
1073         * soft-fp/floatunsisf.c: Likewise.
1074         * soft-fp/floatunsitf.c: Likewise.
1075         * soft-fp/gedf2.c: Likewise.
1076         * soft-fp/gesf2.c: Likewise.
1077         * soft-fp/getf2.c: Likewise.
1078         * soft-fp/ledf2.c: Likewise.
1079         * soft-fp/lesf2.c: Likewise.
1080         * soft-fp/letf2.c: Likewise.
1081         * soft-fp/muldf3.c: Likewise.
1082         * soft-fp/mulsf3.c: Likewise.
1083         * soft-fp/multf3.c: Likewise.
1084         * soft-fp/negdf2.c: Likewise.
1085         * soft-fp/negsf2.c: Likewise.
1086         * soft-fp/negtf2.c: Likewise.
1087         * soft-fp/op-1.h: Likewise.
1088         * soft-fp/op-2.h: Likewise.
1089         * soft-fp/op-4.h: Likewise.
1090         * soft-fp/op-8.h: Likewise.
1091         * soft-fp/op-common.h: Likewise.
1092         * soft-fp/quad.h: Likewise.
1093         * soft-fp/single.h: Likewise.
1094         * soft-fp/soft-fp.h: Likewise.
1095         * soft-fp/subdf3.c: Likewise.
1096         * soft-fp/subsf3.c: Likewise.
1097         * soft-fp/subtf3.c: Likewise.
1098         * soft-fp/truncdfsf2.c: Likewise.
1099         * soft-fp/trunctfdf2.c: Likewise.
1100         * soft-fp/trunctfsf2.c: Likewise.
1101         * soft-fp/unorddf2.c: Likewise.
1102         * soft-fp/unordsf2.c: Likewise.
1103         * soft-fp/unordtf2.c: Likewise.
1104         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
1105         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1106         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1107         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1108         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1109         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1110         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1111         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1112         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1113         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
1114         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
1115         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1117 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
1119         * config/mips/lib2funcs.c: New file.
1120         * config/mips/t-mips (LIB2ADD_ST): Add it.
1122 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
1124         PR target/6526
1125         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
1126         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
1128 2013-06-08  Walter Lee  <walt@tilera.com>
1130         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
1131         Replace int64_t with long long.  Add __extension__ where
1132         appropriate.
1133         * config/tilepro/atomic.c: Include config.h.
1135 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
1137         * config.host (arm-wrs-vxworks): Configure with other soft float.
1139 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
1141         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
1142         (mips64r5900el-*-elf*): New configurations.
1144 2013-06-04  Alan Modra  <amodra@gmail.com>
1146         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
1148 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
1150         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
1152 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
1154         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
1155         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
1156         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
1158 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
1160         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
1161         (powerpc-wrs-vxworks): Likewise.
1163 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
1165         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
1166         signal frames as well.
1167         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
1168         STACK_BIAS to the CFA offset.
1170 2013-05-17  Richard Henderson  <rth@redhat.com>
1172         PR target/49146
1173         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
1174         (execute_cfa_program): Use it when storing to fs->regs.
1176 2013-05-08  Kai Tietz  <ktietz@redhat.com>
1178         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
1179         (__deregister_frame_info): Likewise.
1181 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
1183         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
1184         NaN's payload.
1186         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
1188 2013-04-25  Alan Modra  <amodra@gmail.com>
1190         * config.host: Match little-endian powerpc-linux.
1192 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
1194         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
1195         as 'unsigned long long' instead of 'unsigned long'.
1196         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
1197         'signed long'.
1199 2013-04-10  Julian Brown  <julian@codesourcery.com>
1201         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
1202         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
1203         unsigned char/unsigned short.
1204         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
1206 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1208         PR other/55274
1209         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
1211 2013-04-04  Meador Inge  <meadori@codesourcery.com>
1213         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
1214         computing the location of the link register.
1215         (aeabi_uldivmod): Ditto.
1217 2013-03-27  Kai Tietz  <ktietz@redhat.com>
1219         * config.host: Add support for cygwin x64 target.
1220         * configure: Regenerated.
1222 2013-03-26  Walter Lee  <walt@tilera.com>
1224         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
1225         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
1227 2013-03-25  Kai Tietz  <ktietz@redhat.com>
1229         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
1231 2013-03-20  Robert Mason  <rbmj@verizon.net>
1233         * config/vxlib-tls.c (__gthread_get_tsd_data,)
1234         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
1235         (__gthread_leave_tsd_dtor_context): Add prototypes.
1236         (tls_delete_hook): Update.
1238 2013-03-20  Catherine Moore  <clm@codesourcery.com>
1239             Joseph Myers  <joseph@codesourcery.com>
1240             Chao-ying Fu  <fu@mips.com>
1242         * config/mips/mips16.S:  Don't build for microMIPS.
1243         * config/mips/linux-unwind.h: Handle microMIPS frame.
1244         * config/mips/crtn.S (fini, init): New labels.
1246 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
1248         PR tree-optimization/53265
1249         * unwind-dw2.c (execute_cfa_program): Avoid
1250         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
1251         on targets with DWARF_FRAME_REGISTERS < 32.
1253 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
1255         PR target/49880
1256         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
1257         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
1259 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
1261         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
1262         sandybridge processors.
1264 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
1266         PR target/56529
1267         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
1268         inclusion list.
1270 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
1272         * config/microblaze/crti.S: Setup stack protection at entry
1274 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
1276         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
1277         (__rotldi3): Shift bytewise if applicable.
1279 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
1281         * config/aarch64/sync-cache.c
1282         (__aarch64_sync_cache_range): Silence warnings.
1284 2013-02-25  Catherine Moore  <clm@codesourcery.com>
1286         Revert:
1287         2013-02-24  Catherine Moore  <clm@codesourcery.com>
1288             Joseph Myers  <joseph@codesourcery.com>
1289             Chao-ying Fu  <fu@mips.com>
1291         * config/mips/mips16.S:  Don't build for microMIPS.
1292         * config/mips/linux-unwind.h: Handle microMIPS frame.
1293         * config/mips/crtn.S (fini, init): New labels.
1295 2013-02-24  Catherine Moore  <clm@codesourcery.com>
1296             Joseph Myers  <joseph@codesourcery.com>
1297             Chao-ying Fu  <fu@mips.com>
1299         * config/mips/mips16.S:  Don't build for microMIPS.
1300         * config/mips/linux-unwind.h: Handle microMIPS frame.
1301         * config/mips/crtn.S (fini, init): New labels.
1303 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
1304         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000 
1305         as dividend.
1307 2013-02-16  Alan Modra  <amodra@gmail.com>
1309         PR target/55431
1310         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
1311         (ppc_fallback_frame_state): Always set up save locations for fp
1312         and altivec.  Don't bother with non-callee-saved regs, r0-r13
1313         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
1315 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
1317         PR target/54222
1318         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
1319         _ssmulHA, _ssmulSA.
1320         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
1321         _ssmulha3, _usmulusa3, _ssmulsa3.
1322         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
1323         (__muldi3): XCALL __muldi3_6 instead of rcall.
1324         (__umulsidi3, __mulsidi3): New functions.
1325         (do_prologue_saves, do_epilogue_restores): New .macros.
1326         (__divdi3_moddi3): Use them.
1327         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
1328         (__usmulusa3, __ssmulsa3): New functions.
1330 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
1331             Jack Howarth  <howarth@bromo.med.uc.edu>
1332             Patrick Marlier  <patrick.marlier@gmail.com>
1334         PR libitm/55693
1335         * config/darwin-crt-tm.c: Remove dummy functions hack.
1337 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
1339         PR target/54222
1340         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
1341         * config/avr/lib2-object.mk: New iterator to build objects from it.
1342         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
1343         lib2funcs.c.
1344         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
1345         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
1346         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
1347         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
1348         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
1349         * config/avr/lib1funcs-fixed.S: Implement them.
1351 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
1353         Update copyright years.
1355 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
1357         PR target/54601
1358         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
1359         Add crtcxa to extra_parts.
1360         * config/rs6000/exit.h: New file.
1361         * config/rs6000/cxa_atexit.c: New file.
1362         * config/rs6000/cxa_finalize.c: New file.
1363         * config/rs6000/crtcxa.c: New file.
1364         * config/rs6000/t-aix-cxa: New file.
1365         * config/rs6000/libgcc-aix-cxa.ver: New file.
1367 2013-01-31  Nick Clifton  <nickc@redhat.com>
1369         * config/v850/lib1funcs.S: Add support for e3v5 architecture
1370         variant.
1372 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
1374         PR target/54222
1375         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
1376         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
1377         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
1378         _divQQ,  _divHQ,  _divHA,  _divSA,
1379         _divUQQ, _divUHQ, _divUHA, _divUSA.
1381 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
1383         * config.host(microblaze*-linux*): tmake_file: Remove
1384         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
1385         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
1386         to exclude functions from being built with libgcc.c and use
1387         the microblaze assembly.
1389 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
1391         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
1392         extra_parts.
1394 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
1396         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
1397         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
1398         __UINTPTR_TYPE__; also cast 'base' to the same type before the
1399         alignment operation.
1401 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
1403         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
1404         loop start address for cache clearing.
1406 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
1408         * config/avr/lib1funcs.S: Remove trailing blanks.
1409         * config/avr/lib1funcs-fixed.S: Ditto.
1411 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
1413         * config/avr/avr-lib.h: Add GPL copyright notice.
1415 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
1417         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
1418         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
1419         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
1420         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
1422 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
1424         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
1425         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
1427 2013-01-04  Nick Clifton  <nickc@redhat.com>
1429         * config/v850/lib1funcs.S: Only provide CALLT support functions if
1430         the CALLT instruction is supported.
1432 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
1434         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
1435         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
1437 2012-12-13  John Tytgat  <John@bass-software.com>
1439         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
1440         is 25.
1442 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
1444         PR libgcc/55451
1445         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
1446         undefined signed overflows.
1448 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
1450         PR target/55344
1451         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
1453 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
1455         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
1456         (FP_TRAPPING_EXCEPTIONS): Define.
1457         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
1458         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
1460 2012-12-04  Richard Henderson  <rth@redhat.com>
1462         PR bootstrap/55571
1463         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
1465 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
1467         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
1468         (FP_EX_SHIFT): Define.
1469         (FP_TRAPPING_EXCEPTIONS): Define.
1471 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
1473         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
1474         (FP_ROUNDMODE): Use FP_RND_MASK.
1475         * config/aarch64/sfp-exceptions.c: New.
1476         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1477         Use __sfp_handle_exceptions.
1479 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
1481         * config.host: (arm*-*-freebsd*): Remove.
1482         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
1483         (arm*-*-elf*): Remove.
1484         (arm*-*-wince-pe*): Remove.
1485         * arm/unwind-arm.c (struct fpa_reg): Delete.
1486         (struct fpa_regs): Delete.
1487         (phase1_vrs): Remove fpa element.
1488         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
1489         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
1490         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
1491         * ieee754-sf.S (floatundisf): Remove FPA support.
1492         (floatdisf): Likewise.
1493         * ieee75f-df.S (floatundidf): Likewise.
1494         (floatdidf): Likewise.
1496 2012-11-29  Kai Tietz  <ktietz@redhat.com>
1498         PR target/55445
1499         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
1500         * unwind-generic.h: Likewise.
1501         * unwind-seh.c: Likewise.
1503 2012-11-28  Richard Henderson  <rth@redhat.com>
1505         PR libgcc/48076
1506         * emutls.c (__emutls_get_address): Avoid race condition between
1507         obj->loc.offset read and emutls_key initialization.
1509 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
1511         Adjust decimal point of signed accum mode to GCC default.
1513         PR target/54222
1514         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
1515         _divqq_helper.
1516         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
1517         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
1518         (__mulha3, __mulsa3)
1519         (__divqq3, __divha3, __divsa3): Adjust to new position of
1520         decimal point of signed accum types.
1522         (__mulusa3_round): New function.
1523         (__mulusa3): Use it.
1524         (__divqq_helper): New function.
1525         (__udivuqq3): Use it.
1527 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
1529         PR bootstrap/55370
1530         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
1532 2012-11-18  Teresa Johnson  <tejohnson@google.com>
1534         PR bootstrap/55051
1535         * libgcov.c (gcov_exit): Remove merged program summary
1536         comparison unless !GCOV_LOCKED.
1538 2012-11-15  Marcus Shawcroft <marcus.shawcroft@arm.com>
1540         * soft-fp: Updated from glibc upstream.
1542 2012-11-06  Ian Lance Taylor  <iant@google.com>
1544         * generic-morestack.c (__generic_morestack): Align the returned
1545         stack pointer to a 32 byte boundary.
1546         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
1547         increment the return address until we have decided that we don't
1548         have a varargs function.
1549         (__morestack) [32-bit]: Align stack correctly when calling C
1550         functions.
1551         (__morestack) [64-bit]: Likewise.
1553 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
1555         * configure: Regenerate.
1557 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
1559         PR target/55175
1560         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
1561         * config/i386/sfp-machine.h: Guard exception handling
1562         code with _SOFT_FLOAT.
1563         * config/i386/32/sfp-machine.h: Guard rounding handling
1564         code with _SOFT_FLOAT.
1565         * config/i386/64/sfp-machine.h: Ditto.
1567 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
1569         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
1570         as extra_parts.
1572 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
1574         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
1575         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
1576         when appropriate.  Correct structure element types.
1577         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
1578         -minline-all-stringops from compile flags.
1580 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
1582         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
1584 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
1586         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
1588 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1590         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
1591         tmake_file.
1593 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
1594             Jim MacArthur  <jim.macarthur@arm.com>
1595             Marcus Shawcroft  <marcus.shawcroft@arm.com>
1596             Nigel Stephens  <nigel.stephens@arm.com>
1597             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1598             Richard Earnshaw  <rearnsha@arm.com>
1599             Sofiane Naci  <sofiane.naci@arm.com>
1600             Stephen Thomas  <stephen.thomas@arm.com>
1601             Tejas Belagod  <tejas.belagod@arm.com>
1602             Yufeng Zhang  <yufeng.zhang@arm.com>
1604         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
1605         * config/aarch64/crti.S: New file.
1606         * config/aarch64/crtn.S: New file.
1607         * config/aarch64/linux-unwind.h: New file.
1608         * config/aarch64/sfp-machine.h: New file.
1609         * config/aarch64/sync-cache.c: New file.
1610         * config/aarch64/t-aarch64: New file.
1611         * config/aarch64/t-softfp: New file.
1613 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
1615         * config/mmix/crti.S: Mark program and data addresses using PRELD.
1616         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
1617         no-longer-needed LDBU insns.
1619 2012-10-18  Sebastian Huber <sebastian.huber@embedded-brains.de>
1621         * config.host
1622         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
1623         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
1625 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1627         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
1629 2012-10-15  Matthias Klose  <doko@ubuntu.com>
1631         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
1633 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
1635         * configure: Regenerate.
1636         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
1638 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
1640         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1641         instructions for 64bit targets only.
1643 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
1645         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
1646         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
1647         * config/i386/32/sfp-machine.h: ... here.
1648         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1649         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
1650         New defines.
1652 2012-10-07  Matthias Klose  <doko@ubuntu.com>
1654         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
1655         as unused.
1656         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
1658 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
1660         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
1661         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
1662         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
1663         (ElfW): Likewise.
1665 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
1667         PR other/53889
1668         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
1669         Fix parameter names.
1671 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
1673         PR target/33135
1674         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
1675         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
1676         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
1678 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
1680         PR target/50457
1681         * config/sh/linux-atomic.S: Delete.
1682         * config/sh/linux-atomic.c: New.
1683         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
1684         linux-atomic.c.  Add cflags to disable warnings.
1686 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
1688         PR other/53889
1689         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
1690         function.
1691         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
1692         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
1693         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
1694         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
1695         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
1696         Likewise.
1697         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
1698         Likewise.
1699         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
1700         Likewise.
1701         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
1702         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
1704 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
1706         * config.host (hppa-*-openbsd*): New target.
1707         * config/pa/t-openbsd: New file.
1709 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
1711         PR target/54222
1712         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
1713         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
1714         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
1715         (__divsa3): Use __negsi2 to negate r_quoL.
1716         * config/avr/lib1funcs.S (FALIAS): New macro.
1717         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
1718         (__negsi2): ...this new function.
1719         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
1720         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
1721         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
1722         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
1723         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
1724         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
1726 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
1728         PR target/54089
1729         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
1730         (lshrsi3): Reimplement as lshrsi3_r0.
1732 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
1734         PR target/46191
1735         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
1736         of libgcc.a.
1738 2012-09-07  Teresa Johnson  <tejohnson@google.com>
1740         PR gcov-profile/54487
1741         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
1742         differences.
1744 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
1746         PR target/54461
1747         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
1748         not configured --with-avrlibc=no.
1749         * config/avr/t-avrlibc: New file.
1750         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
1751         (DPBIT_FUNCS): Ditto.
1752         (TPBIT_FUNCS): Ditto.
1754 2012-09-04  Teresa Johnson  <tejohnson@google.com>
1756         * libgcov.c (struct gcov_summary_buffer): New structure.
1757         (gcov_histogram_insert): New function.
1758         (gcov_compute_histogram): Ditto.
1759         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
1760         histograms during summary merging.
1762 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
1764         * config.host (x86_64-*-openbsd*): New target.
1766 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
1768         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
1769         attribute.
1771 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
1773         PR target/54222
1774         * config/avr/t-avr (conv_X): Rename to func_X.
1776 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
1778         PR target/54222
1779         * config/avr/lib1funcs-fixed.S: New file.
1780         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
1781         after they are used.
1782         (neg2, neg4): New macros.
1783         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
1784         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
1785         (__umulhisi3): Speed up MUL variant if there is enough flash.
1786         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
1787         avr-modes.def.
1788         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
1789         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
1790         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
1791         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
1792         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
1793         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
1794         (LIB2FUNCS_EXCLUDE): Add supported functions.
1796 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
1798         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
1799         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
1800         libgcc-s-objects.
1801         * fixed-obj.mk: Only expand dependency if $o is not in
1802         LIB2FUNCS_EXCLUDE.
1804 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
1806         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
1808 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
1810         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
1811         depend on --enable-shared.
1812         ($(lib1asmfuncs-o)): Use %.vis files independent of
1813         --enable-shared.
1814         * static-object.mk ($(base)$(objext), $(base).vis)
1815         ($(base)_s$(objext)): Use same rules for visibility handling as in
1816         shared-object.mk.
1818 2012-08-21  Ian Lance Taylor  <iant@google.com>
1820         * config/i386/morestack.S (__morestack_non_split): Increase amount
1821         of space allocated for non-split code stack.
1823 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
1825         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
1826         even if inhibit_libc.
1828 2012-08-17  Julian Brown  <julian@codesourcery.com>
1830         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
1831         -fexceptions -fnon-call-exceptions if not defined.
1832         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
1833         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
1835 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
1837         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
1838         type.
1840 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
1842         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
1843         rs6000/t-slibgcc-aix.
1845 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
1847         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
1849 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
1851         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
1853 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
1855         PR driver/54171
1856         * Makefile.in (version): Replace top_srcdir with srcdir.
1858 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
1860         * Makefile.in (version): set to BASE-VER file from gcc directory.
1862 2012-08-01  Nick Clifton  <nickc@redhat.com>
1864         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
1865         Implements __clrsb for an HImode argument.
1867 2012-07-31  Nick Clifton  <nickc@redhat.com>
1869         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
1870         Implements __clrsb for an HImode argument.
1871         * config/stormy16/clrsbhi2.c: New file:
1872         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
1874 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
1876         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
1878 2012-07-19  Tristan Gingold  <gingold@adacore.com>
1879             Richard Henderson  <rth@redhat.com>
1881         * unwind-seh.c: New file.
1882         * unwind-generic.h: Include windows.h for SEH.
1883         (_Unwind_Exception): Use 6 private fields for SEH.
1884         (_GCC_specific_handler): Declare.
1885         * unwind-c.c (__gcc_personality_seh0): New function.
1886         Adjust for SEH.
1887         * config/i386/libgcc-cygming.ver: New file.
1888         * config/i386/t-seh-eh: New file.
1889         * config.host (x86_64-*-mingw*): Default to seh.
1891 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
1893         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
1895 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
1897         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
1898         __builtin_expect when checking for exceptions.
1899         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
1901 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
1903         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
1904         function declaration.
1905         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
1906         (FP_RND_MASK): New.
1907         * config/ia64/sfp-exceptions.c: New.
1908         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
1910 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
1912         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
1913         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
1914         * config/i386/64/sfp-machine: ... (delete here) ...
1915         * config/i386/sfp-machine.h: ... to here.
1916         (FP_EX_MASK): Remove.
1917         (FP_RND_MASK): New.
1918         (FP_INIT_ROUNDMODE): Declare asm as volatile.
1920 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
1922         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
1923         * config/i386/libgcc-sol2.ver: Ditto.
1924         * config/i386/libgcc-glibc.ver: Ditto.
1926 2012-06-11  Roland McGrath  <mcgrathr@google.com>
1928         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
1929         If __GLIBC__ is defined, refer to __pthread_key_create instead of
1930         pthread_cancel.
1932 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
1934         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
1935         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
1936         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
1937         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
1938         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
1939         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
1940         * config/i386/64/sfp-machine: ... (delete here) ...
1941         * config/i386/sfp-machine.h: ... to here.
1942         (FP_EX_MASK): New.
1943         (__sfp_handle_exceptions): New function declaration.
1944         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
1945         * config/i386/sfp-exceptions.c: New.
1946         * config/i386/t-softfp: New.
1947         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
1948         i386/t-softfp to tmake_file.
1950 2012-06-03  David S. Miller  <davem@davemloft.net>
1952         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
1953         change.
1955 2012-05-31  David S. Miller  <davem@davemloft.net>
1957         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
1958         multiply and divide instructions on 32-bit when V9.
1959         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
1961 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
1963         * config/arm/ieee754-df.S: Fix typos.
1964         * config/arm/ieee754-sf.S: Fix typos.
1965         * config/c6x/libunwind.S: Fix typos.
1966         * config/epiphany/udivsi3-float.c: Fix typos.
1967         * config/microblaze/muldi3_hard.S: Fix typos.
1968         * config/picochip/adddi3.S: Fix typos.
1969         * config/picochip/ashlsi3.S: Fix typos.
1970         * config/picochip/ashrsi3.S: Fix typos.
1971         * config/picochip/clzsi2.S: Fix typos.
1972         * config/picochip/cmpsi2.S: Fix typos.
1973         * config/picochip/divmod15.S: Fix typos.
1974         * config/picochip/divmodhi4.S: Fix typos.
1975         * config/picochip/divmodsi4.S: Fix typos.
1976         * config/picochip/longjmp.S: Fix typos.
1977         * config/picochip/lshrsi3.S: Fix typos.
1978         * config/picochip/parityhi2.S: Fix typos.
1979         * config/picochip/popcounthi2.S: Fix typos.
1980         * config/picochip/setjmp.S: Fix typos.
1981         * config/picochip/subdi3.S: Fix typos.
1982         * config/picochip/ucmpsi2.S: Fix typos.
1983         * config/picochip/udivmodhi4.S: Fix typos.
1984         * config/picochip/udivmodsi4.S: Fix typos.
1985         * config/spu/divv2df3.c: Fix typos.
1986         * config/spu/mfc_multi_tag_release.c: Fix typos.
1987         * config/spu/mfc_tag_release.c: Fix typos.
1988         * configure.ac: Fix typos.
1989         * configure: Regenerate.
1991 2012-05-25  Ian Lance Taylor  <iant@google.com>
1993         * config/i386/morestack.S (__morestack_non_split): Check whether
1994         caller is varargs and needs %bp to hold the stack frame on return.
1996 2012-05-25  Olivier Hainque  <hainque@adacore.com>
1998         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
1999         sequence in the non pic case on VxWorks.
2001 2012-05-24  Olivier Hainque  <hainque@adacore.com>
2003         * Makefile.in: Move dependency on install-unwind_h from
2004         "install-leaf" to "install".
2006 2012-05-24  Olivier Hainque  <hainque@adacore.com>
2008         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
2009         Use a separate command for stamp removals.
2011 2012-05-21  Andrew Pinski  <apinski@cavium.com>
2013         PR bootstrap/53183
2014         * configure.ac: Define the default includes to being none.
2015         * configure: Regenerate.
2017 2012-05-16  Olivier Hainque  <hainque@adacore.com>
2019         * Makefile.in (install-unwind_h): Rename into ...
2020         (install-unwind_h-forbuild): New target.
2021         (all): Use it instead of the former install-unwind_h.
2022         (install-unwind_h): Reinstate, copy to user install destination
2023         for include files, not to the internal gcc object directory one.
2024         (install-leaf): Depend on it.
2026 2012-05-15  Olivier Hainque  <hainque@adacore.com>
2028         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
2029         register numbers. LR_REGNO replaces R_LR.
2030         (ucontext_for): New, helper for ...
2031         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
2032         and 5.3 of ...
2033         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
2035 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2037         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
2038         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
2039         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
2040         i386/t-cpuinfo ...
2041         (i[34567]86-*-*, x86_64-*-*): ... here.
2043         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
2044         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
2046         * config/i386/i386-cpuinfo.c: Rename to ...
2047         * config/i386/cpuinfo.c: ... this.
2048         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
2050         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
2051         (libgcc_cv_init_priority): New test.
2052         * configure: Regenerate.
2053         * config.in: New file.
2054         * Makefile.in (clean): Rename config.h to auto-target.h.
2055         (config.h): Likewise.
2056         (stamp-h): Likewise.
2058         * config/i386/cpuinfo.c (auto-target.h): Include.
2059         (CONSTRUCTOR_PRIORITY): Define.
2060         (__cpu_indicator_init): Use it.
2062 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
2064         * longlong.h: Use a URL instead of an FSF postal address.
2065         Replace spaces with tab.
2067 2012-05-08  Teresa Johnson  <tejohnson@google.com>
2069         * libgcov.c (gcov_clear, __gcov_reset): New functions.
2070         (__gcov_dump): Ditto.
2071         (gcov_dump_complete): New global variable.
2072         (gcov_exit): Export hidden to enable use in L_gcov_dump.
2073         (__gcov_flush): Outline functionality now in gcov_clear.
2074         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
2076 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
2078         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
2079         (mips*-*-linux*): Include mips/t-tpbit when long double is
2080         16 bytes long.
2082 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
2084         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
2085         (get_available_features): New argument. Check for AVX2.
2086         (__cpu_indicator_init): Modify call to get_available_features.
2088 2012-04-25  Alan Modra  <amodra@gmail.com>
2090         * config/rs6000/crtsavevr.S: New file.
2091         * config/rs6000/crtrestvr.S: New file.
2092         * config/rs6000/t-savresfgpr: Build the above.
2093         * config/rs6000/t-netbsd: Likewise.
2095 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
2097         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
2099 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
2101         * libgcc/config/i386/i386-cpuinfo.c: New file.
2102         * libgcc/config/i386/t-cpuinfo: New file.
2103         * libgcc/config.host: Include t-cpuinfo.
2104         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
2106 2012-04-24  Chao-ying Fu  <fu@mips.com>
2108         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
2110 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
2112         struct siginfo vs. siginfo_t
2114         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
2115         siginfo_t instead of struct siginfo.
2116         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
2117         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
2118         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
2119         (ia64_handle_unwabi): Likewise.
2120         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
2121         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
2122         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
2123         (sh_fallback_frame_state): Likewise.
2124         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
2125         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
2127 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
2129         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
2130         system call number.
2132 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
2134         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
2135         if it hasn't been previously saved.
2137 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
2139         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
2140         only for glibc.
2142 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
2144         PR target/52737
2145         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
2146         instead of __AVR_HAVE_8BIT_SP__.
2148 2012-03-26  Tristan Gingold  <gingold@adacore.com>
2150         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
2151         (unw_table_entry): Use unw_word instead of unsigned long.
2152         (_Unwind_FindTableEntry): Likewise.
2153         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
2154         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
2155         (_Unwind_FindTableEntry): Likewise.
2156         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
2157         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
2158         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
2159         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
2160         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
2161         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
2162         (uw_init_context_1, uw_install_context): Likewise.
2163         (unw_word): Move to unwind-ia64.h
2165 2012-03-26  Tristan Gingold  <gingold@adacore.com>
2167         * config/vms/vms-ucrt0.c: Update copyright years.
2168         Add a sanity check.
2169         (___gcc_main_flags): Declare.
2170         (__main): Check flags to remap argv and exit code.
2171         * config.host (*-*-*vms*): Adjust extra_parts.
2172         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
2173         (crt0.o): Add.
2175 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
2177         * arm/lib1funcs.asm (ctzsi2): New function.
2178         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
2179         * arm/t-linux (LIB1ASMFUNCS): Likewise.
2180         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
2181         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
2182         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
2183         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
2185 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
2187         * config.host: Add bits to support powerpc64-*-freebsd*.
2188         * config/rs6000/freebsd-unwind.h: New file.
2189         * config/rs6000/t-freebsd64: New file.
2191 2012-03-20  Richard Guenther  <rguenther@suse.de>
2193         PR gcov-profile/52627
2194         * libgcov.c (init_mx): Fix mutex name.
2196 2012-03-16  Tristan Gingold  <gingold@adacore.com>
2198         * config/ia64/vms-unwind.h: Remove ulong (and replace
2199         it by unw_reg where used).  Define unw_reg with __int64.
2201 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2203         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2204         Solaris 8 handling.
2205         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
2206         Solaris 8 handling.
2207         (sparc_is_sighandler): Likewise.
2209 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
2211         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
2212         <= saved reg size.
2214 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2216         * config/arm/crtn.S: Fix typo.
2218 2012-03-13  Richard Guenther  <rguenther@suse.de>
2220         * libgcov.c: Remove stdio.h include and NULL un-define.
2222 2012-03-13  Richard Guenther  <rguenther@suse.de>
2224         PR target/52569
2225         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
2227 2012-03-13  Richard Guenther  <rguenther@suse.de>
2229         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
2231 2012-03-13  Richard Guenther  <rguenther@suse.de>
2233         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
2234         and __gthread_mutex_init_function definitions.
2236 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2238         * config.host (mips*-*-openbsd*): Remove.
2240 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2242         * config.host: Remove alpha*-dec-osf5.1* handling.
2243         * config/alpha/gthr-posix.c: Remove.
2244         * config/alpha/libgcc-osf5.ver: Remove.
2245         * config/alpha/osf5-unwind.h: Remove.
2246         * config/alpha/t-osf-pthread: Remove.
2247         * config/alpha/t-slibgcc-osf: Remove.
2248         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
2249         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
2250         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
2251         * mkmap-flat.awk: Remove osf_export handling.
2253 2012-03-12  Richard Guenther  <rguenther@suse.de>
2255         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
2256         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
2257         (__gthread_mutex_init_function): New function.
2258         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
2260         PR gcov/49484
2261         * libgcov.c: Include gthr.h.
2262         (__gcov_flush_mx): New global variable.
2263         (init_mx, init_mx_once): New functions.
2264         (__gcov_flush): Protect self with a mutex.
2265         (__gcov_fork): Re-initialize mutex after forking.
2266         * unwind-dw2-fde.c: Change condition under which to use
2267         __GTHREAD_MUTEX_INIT_FUNCTION.
2269 2012-03-12  Tristan Gingold  <gingold@adacore.com>
2271         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
2272         * config/ia64/t-vms: Likewise.
2274 2012-03-11  Michael Hope  <michael.hope@linaro.org>
2276         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
2277         for Thumb-2.
2279 2012-03-07  Walter Lee  <walt@tilera.com>
2281         * config/tilepro/atomic.c: Rename "atomic_" prefix to
2282         "arch_atomic_".
2283         (atomic_xor): Rename and move definition to
2284         config/tilepro/atomic.h.
2285         (atomic_nand): Ditto.
2286         * config/tilepro/atomic.h: Rename "atomic_" prefix to
2287         "arch_atomic_".
2288         (arch_atomic_xor): Move from config/tilepro/atomic.c.
2289         (arch_atomic_nand): Ditto.
2291 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
2293         PR target/52507
2294         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
2296 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
2298         PR target/52505
2299         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
2300         from RAM.
2302 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
2304         PR target/52461
2305         PR target/52508
2306         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
2307         if RAMPZ affects reading from RAM.
2308         (__tablejump_elpm__): Ditto.
2309         (.xload): Ditto.
2310         (__movmemx_hi): Ditto.
2311         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
2312         (__do_global_dtors): Ditto.
2313         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
2314         (__movmemx_hi): Ditto.
2316 2012-03-05  Richard Henderson  <rth@redhat.com>
2318         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
2319         [ARM] (count_trailing_zeros): Use the builtin.
2321 2012-03-01  Kai Tietz  <ktietz@redhat.com>
2323         * soft-fp: Imported from glibc upstream.
2325 2012-02-28  Kai Tietz  <ktietz@redhat.com>
2327         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
2328         for mingw-targets as attribute gcc_struct.
2330 2012-02-28  Ian Lance Taylor  <iant@google.com>
2332         * generic-morestack.c (__splitstack_releasecontext): Correct call
2333         to __morestack_release_segments.
2335 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2337         PR target/52390
2338         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
2339         for __linux__ when removing signals from __morestack_fullmask.
2341 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
2343         PR target/52261
2344         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
2346 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2348         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
2349         instead of HAVE_INITFINI_ARRAY.
2350         * config/ia64/crtend.S: Likewise.
2352 2012-02-20  Kai Tietz  <ktietz@redhat.com>
2354         PR libstdc++/52300
2355         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
2357         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
2358         to w32-unwind.h header.
2360 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
2362         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
2363         (mips*-*-linux*): Remove t-slibgcc-libgcc.
2364         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
2365         * config/mips/mips16.S (__mips16_rdhwr): Delete.
2367 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
2369         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
2371 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
2373         PR libitm/52220
2374         * config/darwin-crt-tm.c: Correct typo.
2376 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
2377             Patrick Marlier  <patrick.marlier@gmail.com>
2379         PR libitm/52220
2380         * config/darwin-crt-tm.c: Generate dummy functions.
2382 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
2383             Patrick Marlier  <patrick.marlier@gmail.com>
2385         PR libitm/52042
2386         * config/darwin-crt-tm.c (getTMCloneTable): New function.
2387         (__doTMRegistrations): Call it.
2388         (__doTMdeRegistrations): Likewise.
2390 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
2391             Anatoly Sokolov <aesok@post.ru>
2392             Eric Weddington <eric.weddington@atmel.com>
2394         PR target/52261
2395         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
2396         (__epilogue_restores__): Ditto.
2398 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
2400         PR target/51921
2401         PR target/52205
2402         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
2403         Solaris 11 and slightly reformat.
2404         (sparc_is_sighandler): Likewise.
2406 2012-02-14  Walter Lee  <walt@tilera.com>
2408         * config.host: Handle tilegx and tilepro.
2409         * config/tilegx/sfp-machine.h: New file.
2410         * config/tilegx/sfp-machine32.h: New file.
2411         * config/tilegx/sfp-machine64.h: New file.
2412         * config/tilegx/t-crtstuff: New file.
2413         * config/tilegx/t-softfp: New file.
2414         * config/tilegx/t-tilegx: New file.
2415         * config/tilepro/atomic.c: New file.
2416         * config/tilepro/atomic.h: New file.
2417         * config/tilepro/linux-unwind.h: New file.
2418         * config/tilepro/sfp-machine.h: New file.
2419         * config/tilepro/softdivide.c: New file.
2420         * config/tilepro/softmpy.S: New file.
2421         * config/tilepro/t-crtstuff: New file.
2422         * config/tilepro/t-tilepro: New file.
2424 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
2426         PR libstdc++/51296
2427         PR libstdc++/51906
2428         * gthr-posix.h: Allow static initializer macros to be disabled.
2429         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
2431 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
2433         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
2434         Add t-slibgcc-libgcc to tmake_file.
2435         * config/mips/libgcc-mips16.ver: Revert previous patch.
2436         * config/mips/mips16.S (__mips16_rdhwr): Hide.
2438 2012-02-02  Sumanth G <sumanth.gundapaneni@kpitcummins.com>
2439             Jayant R Sonar <jayant.sonar@kpitcummins.com>
2441         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
2442         * config/cr16/crti.S: New file.
2443         * config/cr16/crtlibid.S: New file.
2444         * config/cr16/crtn.S: New file.
2445         * config/cr16/lib1funcs.S: New file.
2446         * config/cr16/t-cr16: New file.
2447         * config/cr16/t-crtlibid: New file.
2448         * config/cr16/unwind-dw2.h: New file.
2449         * config/cr16/unwind-cr16.c: New file.
2450         * config/cr16/divmodhi3.c: New file.
2452 2012-01-25  Alan Modra  <amodra@gmail.com>
2454         * config/rs6000/t-linux64: Delete.  Move..
2455         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
2456         * config/rs6000/t-linux: ..and libgcc flags to here.
2458 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
2460         * config.host (i[34567]86-*-interix3*):
2461         Change triplet to i[34567]86-*-interix[3-9]*.
2462         * configure: Regenerate.
2464 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
2465             Richard Sandiford  <rdsandiford@googlemail.com>
2467         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
2468         * config/mips/mips16.S (__mips16_rdhwr): New function.
2469         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
2471 2012-01-11  Nathan Sidwell  <nathan@acm.org>
2473         * libgcov.c (__gcov_init): Ignore objects with no functions.
2475 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
2477         PR target/49868
2478         Extend __pgmx semantics to linearize memory.
2479         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
2480         * config/avr/lib1funcs.S (__xload_1): New function.
2481         (__movmemx_qi, __movmemx_hi): New functions.
2482         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
2483         semantics.
2485 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
2487         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
2488         purported sigacthandler address isn't null before dereferencing it.
2489         (sparc_is_sighandler): Likewise.
2491 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
2493         PR ada/41929
2494         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
2495         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
2496         (sparc_is_sighandler): Likewise.
2497         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
2499 2012-01-06  Tristan Gingold  <gingold@adacore.com>
2501         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
2502         compatibility thunks...
2503         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
2504         (crtbeginS.o, crtendS.o): ... and these to ...
2505         * config/ia64/t-ia64-elf: ... this new file.
2506         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
2507         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
2509 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2511         * configure: Regenerate.
2512         * config/s390/t-crtstuff: Remove -fPIC.
2514 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
2516         PR bootstrap/51006
2517         * enable-execute-stack-mprotect.c (getpagesize): Do not define
2518         for NetBSD.
2520 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
2522         PR target/51345
2523         * config/avr/lib1funcs.S: Remove FIXME comments.
2524         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
2526 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
2528         Implement light-weight DImode support.
2529         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
2530         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
2531         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
2532         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
2534 2011-12-30  Nathan Sidwell  <nathan@acm.org>
2536         * libgcov.c (gcov_crc32): Remove global var.
2537         (free_fn_data): New function.
2538         (buffer_fn_data): Pass in filename, more robust error recovery.
2539         (crc32_unsigned): New function.
2540         (gcov_exit): More robust detection of new program. More robust
2541         error recovery.
2542         (__gcov_init): Do not update program's crc here.
2544 2011-12-21  Tristan Gingold  <gingold@adacore.com>
2546         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
2548 2011-12-21  Ian Lance Taylor  <iant@google.com>
2550         * config/i386/morestack.S: Simplify CFI opcodes throughout.
2552 2011-12-20  Ian Lance Taylor  <iant@google.com>
2554         * config/i386/morestack.S (__morestack_non_split): If there is
2555         enough stack space already, don't split.  Ask for more stack space
2556         than we required.
2558 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
2560         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
2561         `sys/sdt.h'.
2562         (_Unwind_DebugHook): New function.
2563         (uw_restore_core_regs): New define.
2564         (unwind_phase2): Use uw_restore_core_regs instead of
2565         restore_core_regs.
2566         (unwind_phase2_forced): Likewise.
2567         (__gnu_Unwind_Resume): Likewise.
2569 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
2571         * config/alpha/linux-unwind.h: Update copyright years.
2572         (MD_FROB_UPDATE_CONTEXT): New define.
2573         (alpha_frob_update_context): New function.
2575 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
2577         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
2578         tmake_file rather replacing it.
2580 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
2582         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
2583         function is not used for PPC64.
2584         (save_world): Amend comments.  Update the VRsave mask to reflect the
2585         saved regs.
2586         (rest_world): Update comments, do not  clobber r10, do not use r8.
2587         (eh_rest_world_r10): Amend comments, do not use r8.
2588         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
2589         no longer used, move restore of CR and target address to the end of
2590         the routine.
2592 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
2594         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
2595         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
2597 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
2599         PR target/49313
2600         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
2601         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
2603 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
2605         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
2607 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
2609         PR target/49313
2610         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
2611         * config/avr/lib1funcs.S (__muldi3): New function.
2613 2011-12-06  Andrew Pinski  <apinski@cavium.com>
2615         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
2616         size of func_ptr.
2617         (__frame_dummy_init_array_entry): Likewise.
2619 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
2621         Forward-port from gcc-4_6-branch r181936 2011-12-02.
2623         PR target/51345
2624         PR target/51002
2625         * config/avr/lib1funcs.S (__prologue_saves__,
2626         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
2627         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
2629 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
2631         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
2633 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2635         PR other/51272
2636         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
2637         (_ITM_deregisterTMCloneTable): Likewise.
2638         (__register_frame_info): Fix unused warning.
2639         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
2640         pthread_default_stacksize_np): Likewise.
2641         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
2643 2011-11-29  DJ Delorie  <dj@redhat.com>
2645         * config.host (rl78-*-elf): New case.
2646         * config/rl78: New directory for the Renesas RL78.
2648 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
2650         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
2651         formatting.
2653 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2655         PR other/51022
2656         * config/rs6000/t-savresfgpr: New file.
2657         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
2658         $(srcdir)/config/rs6000/eabi.S.
2659         * config/rs6000/t-ppccomm-ldbl: Remove.
2660         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
2661         tmake_file.
2662         (powerpc-*-eabispe*): Likewise.
2663         (powerpc-*-eabi*): Likewise.
2664         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2665         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
2666         to tmake_file, remove rs6000/t-ppccomm-ldbl.
2667         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
2668         tmake_file.
2669         (powerpc-*-eabisim*): Likewise.
2670         (powerpc-*-elf*): Likewise.
2671         (powerpc-*-eabialtivec*): Likewise.
2672         (powerpc-xilinx-eabi*): Likewise.
2673         (powerpc-*-rtems*): Likewise.
2674         (powerpcle-*-elf*): Likewise.
2675         (powerpcle-*-eabisim*): Likewise.
2676         (powerpcle-*-eabi*): Likewise.
2678 2011-11-27  Ian Lance Taylor  <iant@google.com>
2680         * generic-morestack.c (__splitstack_find): Check for NULL old
2681         stack value.
2682         (__splitstack_resetcontext): New function.
2683         (__splitstack_releasecontext): New function.
2684         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
2686 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
2688         * config/darwin-crt-tm.c: Correct comments, use correct licence.
2690 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
2692         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
2694 2011-11-26  Richard Henderson  <rth@redhat.com>
2696         * config/m68k/linux-atomic.c: New file.
2697         * config/m68k/t-linux: New file.
2698         * config.host (m68k-uclinux, m68k-linux): Use it.
2700 2011-11-26  Richard Henderson  <rth@redhat.com>
2702         * crtstuff.c (__TMC_LIST__): Mark used not unused.
2703         (__TMC_END__): Only declare if hidden is available; in the definition,
2704         if hidden is unavailable add a null record.
2705         (deregister_tm_clones, register_tm_clones): New.
2706         (__do_global_dtors_aux, frame_dummy): Use them.
2707         (__do_global_dtors, __do_global_ctors_1): Likewise.
2709 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
2711         * config/darwin-crt-tm.c: New file.
2712         * config.host (darwin): Build crttms.o crttme.o to provide
2713         startup and shutdown for tm clones.
2714         * config/t-darwin (crttms.o): New build rule.
2715         (crttme.o): Likewise.
2717 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
2719         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
2720         et al.
2722 2011-11-21  Richard Henderson  <rth@redhat.com>
2724         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
2725         (__TMC_LIST__, __TMC_END__): New.
2726         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
2727         (__do_global_dtors): Likewise.
2728         (frame_dummy): Call _ITM_registerTMCloneTable.
2729         (__do_global_ctors_1): Likewise.
2731 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2733         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
2734         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2735         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
2736         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
2737         * config/i386/t-darwin64: Remove.
2738         * config/sh/t-netbsd (LIB2ADD): Remove.
2740 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
2742         PR target/49313
2743         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
2744         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
2745         * config/avr/lib1funcs.S (wmov): New assembler macro.
2746         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
2747         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
2748         (__udivmod64): New function.
2749         (__negdi2): New function.
2751 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
2753         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
2754         *-*-freebsd*aout*): Remove.
2756 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
2758         * static-object.mk (c_flags-$o): Save c_flags.
2759         ($(base)$(objext)): Use it.
2761 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
2763         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
2765 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
2767         PR target/49868
2768         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
2769         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
2770         New functions.
2772 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
2774         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
2775         functions.
2776         (aeabi_uidivmod): Likewise.
2777         (umodsi3): Likewise.
2778         (divsi3): Likewise.
2779         (aeabi_idivmod): Likewise.
2780         (modsi3): Likewise.
2782 2011-11-16  Tristan Gingold  <gingold@adacore.com>
2784         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
2786 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
2788         PR target/49868
2789         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
2790         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
2792 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2794         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
2795         tmake_file list.
2796         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
2797         * config/pa/t-stublib64: Delete.
2799 2011-11-12  Richard Henderson  <rth@redhat.com>
2801         * config/rs6000/linux-unwind.h (frob_update_context): Properly
2802         cast the pointer argument to _Unwind_SetGRPtr.
2804 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2806         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
2808 2011-11-09  Ian Lance Taylor  <iant@google.com>
2810         * generic-morestack.c: Include <string.h>.
2811         (uintptr_type): Define.
2812         (struct initial_sp): Add dont_block_signals field.  Reduce size of
2813         extra array by 1.
2814         (allocate_segment): Set prev field to NULL.  Don't set
2815         __morestack_current_segment or __morestack_segments.
2816         (__generic_morestack): Update current->prev and *pp after calling
2817         allocate_segment.
2818         (__morestack_block_signals): Don't do anything if
2819         dont_block_signals is set.
2820         (__morestack_unblock_signals): Likewise.
2821         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
2822         uintptr_type.
2823         (__splitstack_block_signals): New function.
2824         (enum __splitstack_content_offsets): Define.
2825         (__splitstack_getcontext, __splitstack_setcontext): New functions.
2826         (__splitstack_makecontext): New function.
2827         (__splitstack_block_signals_context): New function.
2828         (__splitstack_find_context): New function.
2829         * config/i386/morestack.S (__morestack_get_guard): New function.
2830         (__morestack_set_guard, __morestack_make_guard): New functions.
2831         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
2833 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2835         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
2836         (i[34567]86-*-mingw*): ... here.
2837         (x86_64-*-mingw*): ... here.
2839 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2841         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
2843 2011-11-07  Nathan Sidwell  <nathan@acm.org>
2845         * libgcov.c (struct gcov_fn_buffer): New struct.
2846         (buffer_fn_data): New helper.
2847         (gcov_exit): Rework for new gcov data structures.
2849 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
2851         PR target/49313
2852         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
2854 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2856         * config.host (tmake_file): Correct comment.
2857         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
2858         t-libgcc-pic.
2859         (bfin*-uclinux*): Likewise.
2860         (bfin*-linux-uclibc*): Likewise.
2861         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
2863         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
2864         assigning.
2865         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2866         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
2867         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2868         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
2869         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2870         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
2871         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
2872         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2873         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
2874         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
2875         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
2876         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
2877         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
2879         * config/bfin/t-elf: Remove.
2880         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
2882 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2884         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
2885         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
2886         (lm32-*-elf*, lm32-*-rtems*): Split into ...
2887         (lm32-*-elf*): ... this.
2888         (lm32-*-rtems*): ... and this.
2889         Add to tmake_file.
2890         (m32r-*-rtems*): Add to tmake_file.
2891         (moxie-*-rtems*): Likewise.
2892         (sparc-*-rtems*): Likewise.
2893         Remove t-rtems from tmake_file.
2894         (sparc64-*-rtems*): Likewise.
2895         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
2896         instead.
2898 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2900         PR bootstrap/50982
2901         * config/gthr-posix.h: Move ...
2902         * gthr-posix.h: ... here.
2903         * config/gthr-lynx.h: Reflect this.
2904         * config/gthr-vxworks.h: Likewise.
2905         * config/rs6000/gthr-aix.h: Likewise.
2906         * configure.ac (target_thread_file): Likewise.
2907         * configure: Regenerate.
2909 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2911         * config.host (arm*-*-rtemseabi*): New target.
2913 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2915         PR other/50991
2916         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
2917         extra-parts.
2919 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
2921         * config.host (epiphany-*-elf*): New configuration.
2922         * config/epiphany: New Directory.
2924 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
2926         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
2927         * config/avr/t-rtems: New.
2928         Filter out _exit from LIB1ASMFUNCS.
2930 2011-11-04  David S. Miller  <davem@davemloft.net>
2932         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
2933         * configure: Rebuild.
2935 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2937         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
2938         variable.
2940 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
2942         PR target/50931
2943         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
2944         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
2946 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
2948         PR target/50989
2949         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
2951 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2953         * config/c6x/t-elf (LIB2ADDEH): Set.
2954         * config/c6x/t-c6x-elf: Remove.
2956 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2958         * config/i386/sol2-ci.S: Rename to ...
2959         * config/i386/crti.S: ... this.
2960         * config/i386/sol2-cn.S: Rename to ...
2961         * config/i386/crtn.S: ... this.
2962         * config/sparc/sol2-ci.S: Rename to ...
2963         * config/sparc/crti.S: ... this.
2964         * config/sparc/sol2-cn.S: Rename to ...
2965         * config/sparc/crtn.S: ... this.
2966         * config/t-sol2 (CUSTOM_CRTIN): Remove.
2967         (crti.o, crtn.o): Remove.
2969 2011-11-04  Tristan Gingold  <gingold@adacore.com>
2971         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
2973 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
2975         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
2977 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
2979         * config.host (crisv32-*-none, cris-*-none): Remove.
2980         (crisv32-*-elf): Append to tmake_file, don't just set it.
2981         (cris-*-elf): Add missing t-fdpbit to tmake_file.
2983 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2985         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
2986         (ecrtn$(objext)): Likewise.
2987         (ncrti$(objext)): Likewise.
2988         (ncrtn$(objext)): Likewise.
2990 2011-11-03  Andreas Schwab  <schwab@redhat.com>
2992         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
2994 2011-11-02  David S. Miller  <davem@davemloft.net>
2996         * configure.ac: Set host_address on sparc too.
2997         * configure: Regenerate.
2998         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
2999         based upon host_address.
3000         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
3002 2011-11-02  Jason Merrill  <jason@redhat.com>
3004         * config/rs6000/t-ppccomm: Add missing \.
3006 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3008         * gthr-single.h, gthr.h: New files.
3009         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
3010         config/gthr-vxworks.h, config/i386/gthr-win32.h,
3011         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
3012         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
3013         * config/i386/gthr-win32.c: Include "gthr-win32.h".
3014         * configure.ac (thread_header): New variable.
3015         Set it depending on target_thread_file.
3016         (gthr-default.h): Link from $thread_header.
3017         * configure: Regenerate.
3018         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
3020 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3022         * configure.ac (tm_file_): New variable.
3023         Determine from tm_file.
3024         (tm_file, tm_defines): Substitute.
3025         * configure: Regenerate.
3026         * mkheader.sh: New file.
3027         * Makefile.in (clean): Remove libgcc_tm.h.
3028         ($(objects)): Depend on libgcc_tm.h.
3029         (libgcc_tm_defines, libgcc_tm_file): New variables.
3030         (libgcc_tm.h, libgcc_tm.stamp): New targets.
3031         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
3032         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
3033         ($(extra-parts)): Depend on libgcc_tm.h.
3034         * config.host (tm_defines, tm_file): New variable.
3035         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
3036         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
3037         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
3038         (avr-*-rtems*): Likewise.
3039         (avr-*-*): Likewise.
3040         (frv-*-elf): Likewise.
3041         (frv-*-*linux*): Likewise.
3042         (h8300-*-rtems*): Likewise.
3043         (h8300-*-elf*): Likewise.
3044         (i[34567]86-*-darwin*): Likewise.
3045         (x86_64-*-darwin*): Likewise.
3046         (rx-*-elf): Likewise.
3047         (tic6x-*-uclinux): Likewise.
3048         (tic6x-*-elf): Likewise.
3049         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
3050         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
3051         * config/i386/cygming-crtbegin.c: Likewise.
3052         * config/i386/cygming-crtend.c: Likewise.
3053         * config/ia64/fde-vms.c: Likewise.
3054         * config/ia64/unwind-ia64.c: Likewise.
3055         * config/libbid/bid_gcc_intrinsics.h: Likewise.
3056         * config/rs6000/darwin-fallback.c: Likewise.
3057         * config/stormy16/lib2funcs.c: Likewise.
3058         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
3059         * crtstuff.c: Likewise.
3060         * dfp-bit.h: Likewise.
3061         * emutls.c: Likewise.
3062         * fixed-bit.c: Likewise.
3063         * fp-bit.c: Likewise.
3064         * generic-morestack-thread.c: Likewise.
3065         * generic-morestack.c: Likewise.
3066         * libgcc2.c: Likewise.
3067         * libgcov.c: Likewise.
3068         * unwind-dw2-fde-dip.c: Likewise.
3069         * unwind-dw2-fde.c: Likewise.
3070         * unwind-dw2.c: Likewise.
3071         * unwind-sjlj.c: Likewise.
3073 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3075         * configure.ac: Include ../config/picflag.m4.
3076         (GCC_PICFLAG): Call it.
3077         Substitute.
3078         * configure: Regenerate.
3079         * Makefile.in (gcc_srcdir): Remove.
3080         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
3081         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
3082         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
3083         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
3084         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
3085         Use $<.
3086         Remove comment.
3087         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
3088         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
3089         to refer to libgcc2.c.
3090         Use $<.
3091         * config/darwin-64.c: New file.
3092         * config/darwin-crt3.c: Remove comment.
3093         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
3094         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
3095         config/udivmodsi4.c: New files.
3096         * config/memcmp.c, config/memcpy.c, config/memmove.c,
3097         config/memset.c: New files.
3098         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
3099         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
3100         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
3101         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
3102         * config/t-openbsd-thread: New file.
3103         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
3104         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
3105         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
3106         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
3107         qrnnd.S.
3108         Adapt filename.
3109         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
3110         to refer to gthr-posix.c.
3111         * config/alpha/t-vms (LIB2ADD): Set.
3112         * config/alpha/vms-gcc_shell_handler.c: New file.
3113         * config/arm/bpabi.c, config/arm/fp16.c,
3114         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
3115         config/arm/unaligned-funcs.c: New files.
3116         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
3117         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
3118         * config/arm/t-linux: Likewise.
3119         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
3120         * config/arm/t-netbsd: New file.
3121         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
3122         * config/arm/t-symbian (LIB2ADD_ST): Set.
3123         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
3124         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3125         * config/bfin/t-elf: New file.
3126         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
3127         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
3128         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
3129         config/c6x/ltf.c: New files.
3130         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
3131         (HOST_LIBGCC2_CFLAGS): Set.
3132         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
3133         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3134         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
3135         New files.
3136         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
3137         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
3138         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
3139         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
3140         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
3141         files.
3142         * config/frv/t-frv (LIB2ADD): Set.
3143         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3144         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
3145         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
3146         config/h8300/popcounthi2.c: New files.
3147         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
3148         * config/i386/gthr-win32.c: New file.
3149         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
3150         * config/i386/t-cygwin: Likewise.
3151         * config/i386/t-darwin, config/i386/t-darwin64,
3152         config/i386/t-gthr-win32, config/i386/t-interix: New files.
3153         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
3154         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3155         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3156         * config/ia64/quadlib.c: New file.
3157         * config/ia64/t-hpux (LIB2ADD): Set.
3158         * config/ia64/t-ia64: Add comment.
3159         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
3160         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3161         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
3162         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
3163         * config/m32c/t-m32c (LIB2ADD): Set.
3164         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
3165         * config/m32r/t-m32r: Likewise.
3166         * config/m68k/fpgnulib.c: New file.
3167         * config/m68k/t-floatlib (LIB2ADD): Set.
3168         (xfgnulib.c): New target.
3169         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
3170         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
3171         * config/mep/t-mep (LIB2ADD): Set.
3172         * config/microblaze/divsi3.asm: Rename to divsi3.S.
3173         * config/microblaze/moddi3.asm: Rename to moddi3.S.
3174         * config/microblaze/modsi3.asm: Rename to modsi3.S.
3175         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
3176         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
3177         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
3178         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
3179         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
3180         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
3181         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
3182         New files.
3183         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
3184         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
3185         * config/pa/fptr.c, config/pa/lib2funcs.S,
3186         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
3187         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
3188         (LIB2ADD, LIB2ADD_ST): Set.
3189         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
3190         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
3191         Set.
3192         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
3193         * config/pdp11/t-pdp11: New file.
3194         * config/picochip/libgccExtras/adddi3.S,
3195         config/picochip/libgccExtras/ashlsi3.S,
3196         config/picochip/libgccExtras/ashrsi3.S,
3197         config/picochip/libgccExtras/clzsi2.S,
3198         config/picochip/libgccExtras/cmpsi2.S,
3199         config/picochip/libgccExtras/divmod15.S,
3200         config/picochip/libgccExtras/divmodhi4.S,
3201         config/picochip/libgccExtras/divmodsi4.S,
3202         config/picochip/libgccExtras/lshrsi3.S,
3203         config/picochip/libgccExtras/parityhi2.S,
3204         config/picochip/libgccExtras/popcounthi2.S,
3205         config/picochip/libgccExtras/subdi3.S,
3206         config/picochip/libgccExtras/ucmpsi2.S,
3207         config/picochip/libgccExtras/udivmodhi4.S,
3208         config/picochip/libgccExtras/udivmodsi4.S: New files.
3209         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
3210         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
3211         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
3212         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
3213         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
3214         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
3215         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
3216         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
3217         files.
3218         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
3219         (HOST_LIBGCC2_CFLAGS): Set.
3220         * config/rs6000/t-darwin64: New file.
3221         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
3222         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
3223         * config/rs6000/t-ppccomm (LIB2ADD): Add
3224         $(srcdir)/config/rs6000/tramp.S.
3225         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
3226         Add  $(srcdir)/config/rs6000/eabi.S.
3227         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
3228         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
3229         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
3230         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
3231         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
3232         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
3233         * config/rs6000/tramp.S: New file.
3234         * config/s390/t-tpf: Remove.
3235         * config/sh/linux-atomic.S: New file.
3236         * config/sh/t-linux (LIB2ADD): Set.
3237         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
3238         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
3239         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
3240         to unwind-dw2.c.
3241         (HOST_LIBGCC2_CFLAGS): Set.
3242         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3243         * config/spu/divmodti4.c, config/spu/divv2df3.c,
3244         config/spu/float_disf.c, config/spu/float_unsdidf.c,
3245         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
3246         config/spu/mfc_multi_tag_release.c,
3247         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
3248         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
3249         config/spu/multi3.c: New files.
3250         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
3251         (HOST_LIBGCC2_CFLAGS): Set.
3252         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
3253         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
3254         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
3255         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
3256         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
3257         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
3258         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
3259         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
3260         config/stormy16/umodsi3.c: New files.
3261         * config/xtensa/lib2funcs.S: New file.
3262         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
3263         * config/xtensa/t-xtensa (LIB2ADD): Set.
3264         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
3265         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
3266         Add t-freebsd-thread to tmake_file for posix threads.
3267         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
3268         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
3269         (*-*-lynxos*): Likewise.
3270         (*-*-netbsd*): Likewise.
3271         (*-*-openbsd*): Likewise.
3272         Add t-openbsd-thread to tmake_file for posix threads.
3273         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
3274         (*-*-vxworks*): Set tmake_file.
3275         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
3276         (alpha*-*-freebsd*): Likewise.
3277         (alpha*-*-netbsd*): Likewise.
3278         (alpha*-*-openbsd*): Likewise.
3279         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
3280         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
3281         (alpha*-dec-*vms*): Likewise.
3282         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
3283         (bfin*-elf*): Add bfin/t-elf to tmake_file.
3284         (bfin*-uclinux*): Likewise.
3285         (bfin*-linux-uclibc*): Likewise.
3286         (crisv32-*-elf): Add cris/t-cris to tmake_file.
3287         (crisv32-*-none): Likewise.
3288         (cris-*-elf): Likewise.
3289         (cris-*-none): Likewise.
3290         (cris-*-linux*, crisv32-*-linux*): Likewise.
3291         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
3292         tmake_file.
3293         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
3294         tmake_file.
3295         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
3296         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
3297         (x86_64-*-elf*): Likewise.
3298         (i[34567]86-*-nto-qnx*): Likewise.
3299         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
3300         win32 threads.
3301         (x86_64-*-mingw*): Likewise.
3302         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
3303         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
3304         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
3305         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
3306         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
3307         tmake_file.
3308         (mipsisa64sr71k-*-elf*): Likewise.
3309         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
3310         (mips-*-elf*, mipsel-*-elf*): Likewise.
3311         (mips64-*-elf*, mips64el-*-elf*): Likewise.
3312         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
3313         (mips*-*-rtems*): Likewise.
3314         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
3315         to tmake_file.
3316         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
3317         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
3318         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
3319         (spu-*-elf*): Likewise.
3320         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
3322 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3324         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
3325         $(srcdir) to refer to $(LIB1ASMSRC).
3326         Use $<.
3327         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
3328         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
3329         config/arm/lib1funcs.S: New files.
3330         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
3331         * config/arm/t-arm: New file.
3332         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
3333         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
3334         config/arm/t-strongarm-elf: New files.
3335         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
3336         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
3337         * config/avr/lib1funcs.S: New file.
3338         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3339         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
3340         * config/c6x/lib1funcs.S: New file.
3341         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3342         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
3343         * config/frv/lib1funcs.S: New file.
3344         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3345         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
3346         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
3347         * config/ia64/__divxf3.asm: Rename to ...
3348         * config/ia64/__divxf3.S: ... this.
3349         Adapt lib1funcs.asm filename.
3350         * config/ia64/_fixtfdi.asm: Rename to ...
3351         * config/ia64/_fixtfdi.S: ... this.
3352         Adapt lib1funcs.asm filename.
3353         * config/ia64/_fixunstfdi.asm: Rename to ...
3354         * config/ia64/_fixunstfdi.S: ... this.
3355         Adapt lib1funcs.asm filename.
3356         * config/ia64/_floatditf.asm: Rename to ...
3357         * config/ia64/_floatditf.S: ... this.
3358         Adapt lib1funcs.asm filename.
3359         * config/ia64/lib1funcs.S: New file.
3360         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
3361         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3362         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
3363         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
3364         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
3365         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
3366         * config/mep/lib1funcs.S: New file.
3367         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3368         * config/mips/mips16.S: New file.
3369         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3370         * config/pa/milli64.S: New file.
3371         * config/pa/t-linux, config/pa/t-linux64: New files.
3372         * config/picochip/lib1funcs.S: New file.
3373         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3374         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
3375         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
3376         * config/sh/t-netbsd: New file.
3377         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
3378         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
3379         * config/sh/t-sh64: New file.
3380         * config/sparc/lb1spc.S: New file.
3381         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
3382         filename.
3383         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
3384         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
3385         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
3386         config/xtensa/lib1funcs.S: New files.
3387         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3388         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
3389         tmake_file.
3390         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
3391         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
3392         (arm*-*-linux*): Likewise.
3393         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
3394         arm*-*-linux-*eabi, add arm/t-linux otherwise.
3395         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
3396         (arm*-*-ecos-elf): Likewise.
3397         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
3398         (arm*-*-rtems*): Likewise.
3399         (arm*-*-elf): Likewise.
3400         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
3401         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
3402         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
3403         (bfin*-uclinux*): Likewise.
3404         (bfin*-linux-uclibc*): Likewise.
3405         (bfin*-rtems*): Likewise.
3406         (bfin*-*): Likewise.
3407         (fido-*-elf): Merge into m68k-*-elf*.
3408         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
3409         (frv-*-*linux*): Add frv/t-frv to tmake_file.
3410         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
3411         (h8300-*-elf*): Likewise.
3412         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
3413         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
3414         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
3415         (i[34567]86-*-mingw*): Likewise.
3416         (x86_64-*-mingw*): Likewise.
3417         (i[34567]86-*-interix3*): Likewise.
3418         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
3419         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
3420         (m68k-*-elf*): Also handle fido-*-elf.
3421         Add m68k/t-floatlib to tmake_file.
3422         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
3423         (m68k-*-linux*): Likewise.
3424         (m68k-*-rtems*): Likewise.
3425         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
3426         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
3427         sh64*-*-*.
3428         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
3429         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
3430         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
3431         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
3432         sh/t-netbsd to tmake_file.
3433         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
3434         (sh-*-rtems*): Add sh/t-sh to tmake_file.
3435         (sh-wrs-vxworks): Likewise.
3436         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
3437         *-leon[3-9]*.
3438         (v850*-*-*): Add v850/t-v850 to tmake_file.
3439         (vax-*-linux*): Add vax/t-linux to tmake_file.
3440         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
3442 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3444         * crtstuff.c: New file.
3445         * Makefile.in (CRTSTUFF_CFLAGS): Define.
3446         (CRTSTUFF_T_CFLAGS): Define.
3447         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
3448         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
3449         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
3450         crtstuff.c.
3451         Use $<.
3452         (crtbeginT.o): Use $(objext).
3453         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
3454         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
3455         (gcc-extra-parts): Remove.
3456         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
3457         Set extra_parts.
3458         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3459         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
3460         Add t-crtstuff-pic to tmake_file.
3461         (*-*-lynxos*): New case.
3462         Set tmake_file, extra_parts.
3463         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
3464         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
3465         *-*-netbsdelf[2-9]*.
3466         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
3467         (*-*-rtems*): Set extra_parts.
3468         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
3469         (*-*-uclinux*): New case.
3470         Set extra_parts.
3471         (*-*-vms*): New case.
3472         Set tmake_file, extra_parts.
3473         (*-*-elf): Set extra_parts.
3474         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
3475         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
3476         vms/t-vms64.
3477         Set extra_parts.
3478         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
3479         Set extra_parts.
3480         (arm*-*-freebsd*): Add t-crtin to tmake_file.
3481         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
3482         (arm-wrs-vxworks): Append to tmake_file.
3483         Set extra_parts.
3484         (arm*-*-uclinux*): Set extra_parts.
3485         (arm*-*-ecos-elf): Likewise.
3486         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
3487         arm*-*-eabi*.
3488         (arm*-*-rtems*): Set extra_parts.
3489         (arm*-*-elf): Likewise.
3490         (avr-*-rtems*): Clear extra_parts.
3491         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
3492         Set extra_parts.
3493         (bfin*-uclinux*): Likewise.
3494         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
3495         (bfin*-rtems*): Append to tmake_file.
3496         Set extra_parts.
3497         (bfin*-*): Likewise.
3498         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
3499         (crisv32-*-elf): ... this.
3500         (crisv32-*-none): ... this.
3501         (cris-*-elf, cris-*-none): New cases.
3502         Add cris/t-elfmulti to tmake_file.
3503         (fr30-*-elf): Append to tmake_file.
3504         Set extra_parts.
3505         (frv-*-elf): Append to tmake_file, add frv/t-frv.
3506         Set extra_parts.
3507         (h8300-*-rtems*): Append to tmake_file.
3508         Set extra_parts.
3509         (h8300-*-elf*): Likewise.
3510         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
3511         Set extra_parts.
3512         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
3513         Set extra_parts.
3514         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
3515         (x86_64-*-elf*): Likewise.
3516         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
3517         (x86_64-*-freebsd*): Likewise.
3518         (x86_64-*-netbsd*): Likewise.
3519         (i[34567]86-*-linux*): Likewise.
3520         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3521         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3522         (x86_64-*-linux*): Likewise.
3523         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3524         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
3525         tmake_file.
3526         Set extra_parts.
3527         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
3528         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
3529         Append to extra_parts, remove crtbegin.o, crtend.o.
3530         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
3531         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
3532         crtend.o, crtbeginS.o, crtendS.o.
3533         (ia64*-*-linux*): Comment extra_parts.
3534         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
3535         Set extra_parts.
3536         (iq2000*-*-elf*): Clear extra_parts.
3537         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
3538         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
3539         (m32r-*-elf*, m32r-*-rtems*): Split off ...
3540         (m32r-*-rtems*): ... this.
3541         Add m32r/t-m32r to tmake_file.
3542         (m68k-*-elf*): Add t-crtin to tmake_file.
3543         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
3544         (mcore-*-elf): Likewise.
3545         (microblaze*-*-*): Set extra_parts.
3546         (mips*-sde-elf*): New case.
3547         Set tmake_file, extra_parts.
3548         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
3549         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
3550         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
3551         tmake_file.
3552         Set extra_parts.
3553         (mipsisa64sr71k-*-elf*): Likewise.
3554         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
3555         (mips-*-elf*, mipsel-*-elf*): Likewise.
3556         (mips64-*-elf*, mips64el-*-elf*): Likewise.
3557         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
3558         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
3559         (mips*-*-rtems*): Likewise.
3560         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
3561         (moxie-*-*): Split into ...
3562         (moxie-*-elf, moxie-*-uclinux*): ... this.
3563         Add to extra_parts, remove crtbegin.o, crtend.o.
3564         (moxie-*-rtems*): New case.
3565         Set tmake_file.
3566         Clear extra_parts.
3567         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
3568         Set extra_parts.
3569         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
3570         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
3571         tmake_file.
3572         Set extra_parts.
3573         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
3574         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
3575         Set extra_parts.
3576         (powerpc-*-eabisim*): Likewise.
3577         (powerpc-*-elf*): Likewise.
3578         (powerpc-*-eabialtivec*): Likewise.
3579         (powerpc-xilinx-eabi*): Likewise.
3580         (powerpc-*-eabi*): Likewise.
3581         (powerpc-*-rtems*): Likewise.
3582         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
3583         tmake_file.
3584         Set extra_parts.
3585         (powerpc-*-lynxos*): Add to tmake_file.
3586         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
3587         rs6000/t-crtstuff, t-crtstuff-pic.
3588         Set extra_parts.
3589         (powerpcle-*-eabisim*): Likewise.
3590         (powerpcle-*-eabi*): Likewise.
3591         (rx-*-elf): Remove extra_parts.
3592         (s390x-ibm-tpf*): Set extra_parts.
3593         (score-*-elf): Set extra_parts.
3594         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3595         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3596         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3597         (sh64l*-*-netbsd*): Split into ...
3598         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
3599         Add t-crtstuff-pic to tmake_file.
3600         Set extra_parts.
3601         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
3602         Set extra_parts.
3603         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
3604         (sparc-*-elf*): Remove t-crtin from tmake_file.
3605         Add to extra_parts, remove crtbegin.o, crtend.o.
3606         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
3607         (sparc64-*-linux*): Likewise.
3608         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
3609         Add to extra_parts, remove crtbegin.o, crtend.o.
3610         (sparc64-*-elf*): Remove t-crtin from tmake_file.
3611         Add to extra_parts, remove crtbegin.o, crtend.o.
3612         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
3613         Add to extra_parts, remove crtbegin.o, crtend.o.
3614         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
3615         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
3616         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
3617         Set extra_parts.
3618         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
3619         Set extra_parts.
3620         (tic6x-*-*): Change to ...
3621         (tic6x-*-elf): ... this.
3622         Set extra_parts.
3623         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
3624         Set extra_parts.
3625         (am33_2.0-*-linux*): Add comment.
3626         (mep*-*-*): Add mep/t-mep to tmake_file.
3627         Set extra_parts.
3628         * config/alpha/t-vms: New file.
3629         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
3630         * config/arm/crti.S, config/arm/crtn.S: New files.
3631         * config/bfin/crti.S, config/bfin/crtn.S: New files.
3632         * config/bfin/crtlibid.S: New file.
3633         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
3634         * config/c6x/crti.S, config/c6x/crtn.S: New files.
3635         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
3636         (crti.o, crtin.o): New rules.
3637         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
3638         * config/c6x/t-uclinux: New file.
3639         * config/cris/t-elfmulti: New file.
3640         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
3641         * config/fr30/crti.S, config/fr30/crtn.S: New files.
3642         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
3643         * config/frv/t-frv: New file.
3644         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
3645         * config/h8300/crti.S, config/h8300/crtn.S: New files.
3646         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
3647         New files.
3648         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
3649         refer to cygming-crtbegin.c, cygming-crtend.c.
3650         Use $<.
3651         * config/i386/t-nto: New file.
3652         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
3653         * config/ia64/crti.S, config/ia64/crtn.S: New files.
3654         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
3655         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
3656         Use .S extension.
3657         Use $<.
3658         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
3659         (crtinitS.o): New rule.
3660         * config/ia64/vms-crtinit.S: New file.
3661         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
3662         * config/m32r/initfini.c: New file.
3663         * config/m32r/t-linux, config/m32r/t-m32r: New files.
3664         * config/m68k/crti.S, config/m68k/crtn.S: New files.
3665         * config/mcore/crti.S, config/mcore/crtn.S: New files.
3666         * config/mep/t-mep: New file.
3667         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
3668         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
3669         * config/mips/crti.S, config/mips/crtn.S: New files.
3670         * config/mips/t-crtstuff: New file.
3671         * config/mmix/crti.S, config/mmix/crtn.S: New files.
3672         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
3673         (CUSTOM_CRTIN): Set.
3674         ($(T)crti.o, $(T)crtn.o): Remove $(T),
3675         dependencies.
3676         Use $(srcdir) to refer to crti.S, crtn.S.
3677         Use .S extension, $<.
3678         * config/moxie/crti.asm: Rename to ...
3679         * config/moxie/crti.S: ... this.
3680         * config/moxie/crtn.asm: Rename to ...
3681         * config/moxie/crtn.S: ... this.
3682         * config/moxie/t-moxie: Remove.
3683         * config/pa/stublib.c: New file.
3684         * config/pa/t-stublib, config/pa/t-stublib64: New files.
3685         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
3686         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
3687         * config/rs6000/t-crtstuff: New file.
3688         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
3689         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
3690         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
3691         Make output file explicit.
3692         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
3693         Make output file explicit.
3694         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
3695         Make output file explicit.
3696         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
3697         Make output file explicit.
3698         * config/score/crti.S, config/score/crtn.S: New files.
3699         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
3700         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
3701         files.
3702         * config/sh/t-sh, config/sh/t-superh: New files.
3703         * config/sparc/t-linux64: New file.
3704         * config/spu/cache.S, config/spu/cachemgr.c: New files.
3705         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
3706         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
3707         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
3708         * config/t-crtin: Remove.
3709         * config/t-crtstuff-pic: New file.
3710         * config/t-sol2 (CUSTOM_CRTIN): Set.
3711         (crti.o, crtn.o): New rules.
3712         * config/vms/t-vms: New file.
3713         * config/vms/vms-ucrt0.c: New file.
3714         * config/xtensa/t-elf: New file.
3716 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3718         * Makefile.in (SHLIB_NM_FLAGS): Set.
3719         * mkmap-flat.awk, mkmap-symver.awk: New files.
3720         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
3721         exceptions.
3722         * configure: Regenerate.
3723         * config/libgcc-glibc.ver: New file.
3724         * config/libgcc-libsystem.ver: New file.
3725         * config/t-libunwind (SHLIB_LC): Set.
3726         * config/t-linux: New file.
3727         * config/t-slibgcc (INSTALL_SHLIB): New.
3728         (SHLIB_INSTALL): Use it.
3729         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
3730         to mkmap-symver.awk.
3731         (SHLIB_MAPFILES): Don't append, adapt pathname.
3732         (SHLIB_VERPFX): Set.
3733         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
3734         to mkmap-symver.awk.
3735         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
3736         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
3737         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
3738         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
3739         to mkmap-flat.awk.
3740         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
3741         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
3742         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
3743         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
3744         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
3745         * config/i386/libgcc-darwin.10.4.ver,
3746         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
3747         New files.
3748         * config/i386/t-darwin: Remove.
3749         * config/i386/t-darwin64: Likewise.
3750         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
3751         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
3752         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
3753         * config/i386/t-linux: New file.
3754         * config/i386/t-mingw32: New file.
3755         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
3756         * config/ia64/t-glibc: Rename to ...
3757         * config/ia64/t-linux: ... this.
3758         (SHLIB_MAPFILES): Set.
3759         * config/ia64/t-glibc-libunwind: Rename to ...
3760         * config/ia64/t-linux-libunwind: ... this.
3761         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
3762         * config/ia64/t-slibgcc-hpux: New file.
3763         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
3764         * config/m68k/t-slibgcc-elf-ver: New file.
3765         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
3766         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
3767         to mkmap-flat.awk.
3768         * config/pa/t-slibgcc-hpux: New file.
3769         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
3770         files.
3771         * config/rs6000/libgcc-darwin.10.4.ver,
3772         config/rs6000/libgcc-darwin.10.5.ver: New files.
3773         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
3774         config/rs6000/libgcc-glibc.ver.
3775         * config/rs6000/libgcc-ppc64.ver: Rename to
3776         config/rs6000/libgcc-ibm-ldouble.ver.
3777         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
3778         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
3779         * config/rs6000/t-ldbl128: Rename to ...
3780         * config/rs6000/t-linux: ... this.
3781         (SHLIB_MAPFILES): Adapt filename.
3782         * config/rs6000/t-slibgcc-aix: New file.
3783         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
3784         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
3785         libgcc-excl.ver, libgcc-glibc.ver.
3786         (SHLIB_LINK, SHLIB_INSTALL): Remove.
3787         * config/sparc/libgcc-glibc.ver: New file.
3788         * config/sparc/t-linux: New file.
3789         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
3790         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
3791         t-slibgcc-elf-ver to tmake_file.
3792         Add t-slibgcc-nolc-override to tmake_file for posix threads on
3793         *-*-freebsd[34].
3794         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3795         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
3796         t-slibgcc-elf-ver, t-linux to tmake_file.
3797         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
3798         tmake_file.
3799         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
3800         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
3801         (alpha*-dec-*vms*): Likewise.
3802         (arm*-*-freebsd*): Append to tmake_file.
3803         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
3804         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
3805         arm*-*-linux-*eabi.
3806         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
3807         tmake_file for arm*-*-symbianelf*.
3808         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
3809         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
3810         cris/t-linux.
3811         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
3812         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
3813         pa/t-slibgcc-dwarf-ver to tmake_file.
3814         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
3815         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
3816         (hppa*64*-*-hpux11*): Likewise.
3817         (hppa[12]*-*-hpux11*): Likewise.
3818         (x86_64-*-darwin*): Don't override tmake_file, but only keep
3819         i386/t-crtpc, i386/t-crtfm.
3820         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
3821         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
3822         to tmake_file.
3823         Add i386/t-cygwin to tmake_file.
3824         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
3825         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
3826         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
3827         to tmake_file.
3828         Add i386/t-mingw32 to tmake_file.
3829         (x86_64-*-mingw*): Likewise.
3830         (ia64*-*-freebsd*): Append to tmake_file.
3831         (ia64*-*-linux*): Append to tmake_file.
3832         Replace ia64/t-glibc by ia64/t-linux.
3833         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
3834         system libunwind.
3835         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
3836         t-slibgcc-hpux to tmake_file.
3837         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
3838         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
3839         (m32rle-*-linux*): Likewise.
3840         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
3841         sjlj exceptions.
3842         (microblaze*-linux*): New case.
3843         Append to tmake_file, add t-slibgcc-nolc-override.
3844         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
3845         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3846         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
3847         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3848         rs6000/t-slibgcc-aix to tmake_file.
3849         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3850         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3851         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3852         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3853         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3854         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
3855         sh*-*-linux*.
3856         (sparc-*-linux*): Append to tmake_file for *-leon*.
3857         Add sparc/t-linux to tmake_file for non-Leon targets.
3858         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
3859         (tic6x-*-uclinux): New case.
3860         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
3861         (tic6x-*-*): Add c6x/t-elf to tmake_file.
3862         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
3863         (am33_2.0-*-linux*): Append to tmake_file.
3864         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3865         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
3866         x86_64-*-kfreebsd*-gnu.
3867         Add i386/t-linux to tmake_file.
3869 2011-10-28  Ian Lance Taylor  <iant@google.com>
3871         * config/i386/morestack.S: Correct CFI information to do proper
3872         returns throughout function.  In 32-bit mode, save %ebx so that it
3873         is restored on unwind.
3875 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
3877         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
3878         case where B3 isn't the return register.
3880         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
3881         logic for doubleword pops.
3883 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
3885         * config/rs6000/t-freebsd: Add wildcard.
3887 2011-10-21  Paul Brook  <paul@codesourcery.com>
3889         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
3891 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
3892             Eric Botcazou  <ebotcazou@adacore.com>
3894         PR target/50737
3895         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
3896         fs->signal_frame to 1.
3898 2011-10-07  Ian Lance Taylor  <iant@google.com>
3900         * generic-morestack-thread.c: #include <errno.h>.
3902 2011-10-07  Ian Lance Taylor  <iant@google.com>
3904         PR target/46093
3905         * generic-morestack.c (__generic_morestack): Make sure the segment
3906         is large enough for both the stack frame and the copied
3907         parameters.
3909 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3911         PR bootstrap/49804
3912         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
3913         extra_parts.
3915 2011-09-28  Nick Clifton  <nickc@redhat.com>
3917         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
3918         64-bit doubles are not enabled.
3919         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
3920         and floatunsisf functions.
3922 2011-09-13  Paul Brook  <paul@codesourcery.com>
3924         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
3925         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
3926         * unwind-arm-common.inc: New file.
3927         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
3928         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
3929         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
3930         * config/c6x/libunwind.S: New file.
3931         * config/c6x/pr-support.c: New file.
3932         * config/c6x/unwind-c6x.c: New file.
3933         * config/c6x/unwind-c6x.h: New file.
3934         * config/c6x/t-c6x-elf: New file.
3936 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
3938         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
3939         (ASM_DIVZERO): Ditto.
3940         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
3942 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
3944         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
3946 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
3948         PR target/50090
3949         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
3950         instead of an assembly one.
3952 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
3954         PR bootstrap/50047
3955         * Makefile.in (install-unwind_h): Create
3956         $(gcc_objdir)/include/unwind.h atomically.
3958 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3960         * Makefile.in (install-unwind_h): Remove destination file first.
3962 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3964         * sync.c: New file.
3965         * config/mips/t-mips16: New file.
3966         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
3967         (mips*-*-linux*): Likewise.
3968         (mips*-sde-elf*): Likewise.
3969         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
3970         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
3971         Add mips/t-mips16 to tmake_file.
3972         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
3973         (mips-*-elf*): Likewise.
3974         (mips64-*-elf*): Likewise.
3975         (mips64orion-*-elf*): Likewise.
3976         (mips*-*-rtems*): Likewise.
3977         (mipstx39-*-elf*): Likewise.
3978         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
3979         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
3980         LIBGCC_SYNC_CFLAGS.
3981         Use $(srcdir) to refer to sync.c.
3982         Use $<.
3983         ($(libgcc-sync-funcs-o)): Likewise.
3984         ($(libgcc-sync-size-funcs-s-o)): Likewise.
3985         ($(libgcc-sync-funcs-s-o)): Likewise.
3987 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
3989         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
3990         t-libunwind.
3992 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
3994         PR other/48007
3995         * config/i386/value-unwind.h: New.
3997 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
3999         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
4000         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
4001         Add to tmake_file rather than overriding it.
4003 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4005         * config/t-softfp: Remove.
4006         * soft-fp: Moved from ../gcc/config.
4007         * soft-fp/README: Remove t-softfp reference.
4008         * soft-fp/t-softfp: Move to config/t-softfp.
4009         (softfp_machine_header): Remove.
4010         (softfp_file_list): Remove config subdir.
4011         (soft-fp-objects): New variable.
4012         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
4013         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
4014         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
4015         * config/t-softfp-excl: New file.
4016         * config/t-softfp-sfdf: New file.
4017         * config/t-softfp-tf: New file.
4018         * config/no-sfp-machine.h: New file.
4019         * config/arm/sfp-machine.h: New file.
4020         * config/arm/t-softfp: New file.
4021         * config/c6x/sfp-machine.h: New file.
4022         * config/i386/32/t-fprules-softfp: Rename to ...
4023         * config/i386/32/t-softfp: ... this.
4024         (tifunctions, LIB2ADD): Remove.
4025         (softfp_int_modes): Override.
4026         * config/i386/64/t-softfp-compat (tf-functions): Remove config
4027         subdir.
4028         * config/i386/64/eqtf2.c: Likewise.
4029         * config/i386/64/getf2.c: Likewise.
4030         * config/i386/64/letf2.c: Likewise.
4031         * config/ia64/sft-machine.h: New file.
4032         * config/ia64/t-fprules-softfp: Rename to ...
4033         * config/ia64/t-softfp: ... this.
4034         * config/lm32/sfp-machine.h: New file.
4035         * config/moxie/t-moxie-softfp: Remove.
4036         * config/rs6000/ibm-ldouble-format: New file.
4037         * config/rs6000/ibm-ldouble.c: New file.
4038         * config/rs6000/libgcc-ppc-glibc.ver: New file
4039         * config/rs6000/libgcc-ppc64.ver: New file
4040         * config/rs6000/sfp-machine.h: New file.
4041         * config/rs6000/t-freebsd: New file.
4042         * config/rs6000/t-ibm-ldouble: New file.
4043         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
4044         libgcc-ppc-glibc.ver.
4045         * config/rs6000/t-linux64: New file.
4046         * config/rs6000/t-ppccomm (LIB2ADD): Add
4047         $(srcdir)/config/rs6000/ibm-ldouble.c.
4048         * config/rs6000/t-ppccomm-ldbl: New file.
4049         * config/score/sfp-machine.h: New file.
4050         * config.host (sfp_machine_header): Explain.
4051         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
4052         t-softfp to tmake_file.
4053         (arm*-*-uclinux*): Likewise.
4054         (arm*-*-ecos-elf): Likewise.
4055         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
4056         (arm*-*-rtems*): Likewise.
4057         (arm*-*-elf): Likewise.
4058         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
4059         in tmake_file.
4060         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
4061         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
4062         (lm32-*-uclinux*): Likewise.
4063         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
4064         t-softfp-excl, t-softfp.
4065         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
4066         (powerpc64-*-darwin*): Likewise.
4067         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
4068         to tmake_file.
4069         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
4070         tmake_file.
4071         (powerpc-*-eabisim*): Likewise.
4072         (powerpc-*-elf*): Likewise.
4073         (powerpc-*-eabialtivec*): Likewise.
4074         (powerpc-xilinx-eabi*): Likewise.
4075         (powerpc-*-rtems*): Likewise.
4076         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
4077         t-softfp-excl, t-softfp to tmake_file.
4078         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
4079         rs6000/t-ppccomm-ldbl to tmake_file.
4080         (powerpcle-*-elf*): Likewise.
4081         (powerpcle-*-eabisim*): Likewise.
4082         (powerpcle-*-eabi*): Likewise.
4083         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
4084         rs6000/t-ibm-ldouble to tmake_file.
4085         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4086         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4087         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
4088         (tic6x-*-*): Likewise.
4089         (i[34567]86-*-darwin*, x86_64-*-darwin*,
4090         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
4091         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
4092         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
4093         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
4094         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
4095         t-softfp to tmake_file.
4096         * configure.ac (sfp_machine_header): Provide default if unset.
4097         Substitute.
4098         Link sfp-machine.h to config/$sfp_machine_header.
4099         * configure: Regenerate.
4101 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4103         * Makefile.in (double_type_size, long_double_type_size): Set.
4104         Remove $(fpbit-in-libgcc) support.
4105         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
4106         (fpbit-src): New variable.
4107         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
4108         Compile with -DFLOAT $(FPBIT_CFLAGS).
4109         Use $<.
4110         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
4111         Compile with $(FPBIT_CFLAGS).
4112         Use $<.
4113         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
4114         Compile with -DFLOAT $(TPBIT_CFLAGS).
4115         Use $<.
4116         * configure.ac (double_type_size, long_double_type_size):
4117         Determine and substitute.
4118         * configure: Regenerate.
4119         * fp-bit.c, fp-bit.h: New files.
4120         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
4121         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
4122         * config/mips/t-mips: New file.
4123         * config/mips/t-sdemtk: New file.
4124         * config/rs6000/ppc64-fp.c: New file.
4125         * config/rs6000/t-darwin (LIB2ADD): Add
4126         $(srcdir)/config/rs6000/ppc64-fp.c.
4127         * config/rs6000/t-ppc64-fp: New file.
4128         * config/rx/rx-lib.h: New file.
4129         * config/rx/t-rx (FPBIT): Set to true.
4130         ($(gcc_objdir)/fp-bit.c): Remove.
4131         (DPBIT): Set to true only with -m64bit-doubles.
4132         ($(gcc_objdir)/dp-bit.c): Remove.
4133         * config/sparc/t-softfp: Remove.
4134         * config/spu/t-elf: New file.
4135         * config/t-fdpbit, config/t-fpbit: New files.
4136         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
4137         (mips*-*-*): Likewise.
4138         (arm-wrs-vxworks): Likewise.
4139         (arm*-*-freebsd*): Likewise.
4140         (avr-*-rtems*): Add t-fpbit to tmake_file.
4141         (avr-*-*): Likewise.
4142         (bfin*-elf*): Add t-fdpbit to tmake_file.
4143         (bfin*-uclinux*): Likewise.
4144         (bfin*-linux-uclibc*): Likewise.
4145         (bfin*-rtems*): New case.
4146         Add t-fdpbit to tmake_file.
4147         (bfin*-*): Add t-fdpbit to tmake_file.
4148         (crisv32-*-elf): Likewise.
4149         (cris-*-linux*): Likewise.
4150         (fr30-*-elf): Likewise.
4151         (frv-*-elf, frv-*-*linux*): Likewise.
4152         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
4153         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
4154         (m32r-*-elf*): Likewise.
4155         (m32rle-*-elf*): Likewise.
4156         (m32r-*-linux*): Likewise.
4157         (m32rle-*-linux*): Likewise.
4158         (mcore-*-elf): Add t-fdpbit to tmake_file.
4159         (microblaze*-*-*): Likewise.
4160         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
4161         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
4162         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
4163         Fix typo.
4164         Add mips/t-tpbit to tmake-file.
4165         (mips*-*-linux*): Fix typo.
4166         (mips*-sde-elf*): New case
4167         Add mips/t-sdemtk unless using newlib.
4168         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
4169         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
4170         (mn10300-*-*): Likewise.
4171         (pdp11-*-*): Likewise.
4172         (picochip-*-*): Add t-fpbit to tmake_file.
4173         (powerpc-*-eabisimaltivec*): Likewise.
4174         (powerpc-*-eabisim*): Likewise.
4175         (powerpc-*-elf*): Likewise.
4176         (powerpc-*-eabialtivec*): Likewise.
4177         (powerpc-xilinx-eabi*): New case.
4178         Add t-fdpbit to tmake_file.
4179         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
4180         (powerpc-*-rtems*): Likewise.
4181         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
4182         tmake_file.
4183         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
4184         tmake_file.
4185         (powerpc-*-lynxos*): Likewise.
4186         (powerpcle-*-elf*): Likewise.
4187         (powerpcle-*-eabisim*): Likewise.
4188         (powerpcle-*-eabi*): Likewise.
4189         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
4190         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
4191         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4192         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4193         (rx-*-elf): Add t-fdpbit to tmake_file.
4194         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
4195         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
4196         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
4197         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
4198         sh*-*-netbsd*.
4199         (sh-*-rtems*): Add t-fdpbit to tmake_file.
4200         (sh-wrs-vxworks): Likewise.
4201         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
4202         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
4203         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
4204         (sparc64-*-rtems*): ... new case.
4205         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
4206         (spu-*-elf*): Likewise.
4207         Add spu/t-elf to tmake_file.
4208         (v850*-*-*): Add t-fdpbit to tmake_file.
4209         (xstormy16-*-elf): Likewise.
4210         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
4211         (mep*-*-*): Likewise.
4213 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4215         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
4216         variables.
4217         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
4218         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
4219         (install-unwind_h): New target.
4220         (all): Depend on it.
4221         * config.host (unwind_header): New variable.
4222         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
4223         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
4224         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
4225         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
4226         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
4227         Set unwind_header.
4228         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
4229         Set unwind_header.
4230         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
4231         arm*-*-eabi*.
4232         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
4233         Set unwind_header.
4234         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
4235         (ia64*-*-freebsd*): Likewise.
4236         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
4237         tmake_file.
4238         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
4239         $with_system_libunwind.
4240         (ia64*-*-hpux*): Set tmake_file.
4241         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
4242         (picochip-*-*): Set tmake_file.
4243         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
4244         md_unwind_header.
4245         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4246         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4247         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
4248         (xtensa*-*-elf*): Set tmake_file.
4249         (xtensa*-*-linux*): Likewise.
4250         * configure.ac: Include ../config/unwind_ipinfo.m4.
4251         Call GCC_CHECK_UNWIND_GETIPINFO.
4252         Link unwind.h to $unwind_header.
4253         * configure: Regenerate.
4254         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
4255         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
4256         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
4257         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
4258         * config/unwind-dw2-fde-darwin.c: New file.
4259         * config/arm/libunwind.S, config/arm/pr-support.c,
4260         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
4261         config/arm/unwind-arm.h,: New files.
4262         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
4263         config/ia64/t-eh-ia64, config/ia64/t-glibc,
4264         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
4265         config/ia64/t-vms, config/ia64/unwind-ia64.c,
4266         config/ia64/unwind-ia64.h: New files.
4267         * config/picochip/t-picochip: New file.
4268         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
4269         files.
4270         * config/rs6000/t-darwin (LIB2ADDEH): Set.
4271         * config/s390/t-tpf (LIB2ADDEH): Remove.
4272         * config/t-darwin (LIB2ADDEH): Set.
4273         * config/t-eh-dw2-dip: New file.
4274         * config/t-libunwind, config/t-libunwind-elf: New files.
4275         * config/t-sol2 (LIB2ADDEH): Remove.
4276         * config/xtensa/t-xtensa: New file.
4278 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
4280         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
4281         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
4282         long long to check rt_sigreturn syscall.
4284 2011-08-02  Alan Modra  <amodra@gmail.com>
4286         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
4287         Restore for indirect call bcrtl from correct stack slot, and only
4288         if cfa+40 isn't valid.
4290 2011-08-01  Julian Brown  <julian@codesourcery.com>
4292         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
4293         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
4294         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
4296 2011-08-01  Julian Brown  <julian@codesourcery.com>
4298         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
4299         (libgcc-std.ver.in): Use above.
4300         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
4301         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
4302         throughout file.
4303         * config/t-fixedpoint-gnu-prefix: New file.
4304         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
4305         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
4306         instead of __PFX__.
4308 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
4310         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
4311         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
4312         for x86-64.  Properly check __x86_64__ and __LP64__.
4314 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
4316         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
4317         version.
4318         (_FP_WS_TYPE): Likewise.
4319         (_FP_I_TYPE): Likewise.
4321 2011-07-28  Alan Modra  <amodra@gmail.com>
4323         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
4324         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
4325         in a plt call stub.  Do restore r2 if stopped on bctrl.
4327 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4329         * config.host (i[3456x]86-*-netware*): Remove.
4330         * config/i386/netware-crt0.c, config/i386/t-nwld,
4331         config/i386/t-slibgcc-nwld: Remove.
4333 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
4335         * config.host: Handle tic6x-*-*.
4336         * config/c6x/c6x-abi.h: New file.
4338 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4340         * config/i386/crtprec.c: New file.
4341         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
4342         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
4343         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
4344         (x86_64-*-darwin*): Likewise.
4345         (i[34567]86-*-solaris2*: Likewise.
4347 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4349         * config/alpha/crtfastmath.c: New file.
4350         * config/i386/crtfastmath.c: New file.
4351         * config/ia64/crtfastmath.c: New file.
4352         * config/mips/crtfastmath.c: New file.
4353         * config/sparc/crtfastmath.c: New file.
4355         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
4356         crtfastmath.c.
4357         Add -frandom-seed=gcc-crtfastmath.
4358         * config/alpha/t-crtfm: Remove.
4359         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
4360         * config/ia64/t-ia64 (crtfastmath.o): Remove.
4362         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
4363         (alpha*-dec-osf5.1*): Likewise.
4364         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
4365         Add crtfastmath.o to extra_parts.
4366         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
4367         Add crtfastmath.o to extra_parts.
4368         (x86_64-*-darwin*): Likewise.
4369         (x86_64-*-mingw*): Likewise.
4370         (ia64*-*-elf*): Add t-crtfm to tmake_file.
4371         (ia64*-*-freebsd*): Likewise.
4372         (ia64*-*-linux*): Likewise.
4373         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
4374         Add crtfastmath.o to extra_parts.
4376 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4378         * config/darwin-crt3.o: New file.
4379         * config/rs6000/darwin-crt2.c: New file.
4380         * config/t-darwin: New file.
4381         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
4382         (crt2.o): New rule.
4383         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
4384         (powerpc-*-darwin*): Add crt2.o to extra_parts.
4385         (powerpc64-*-darwin*): Likewise.
4387 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4389         * config/i386/netware-crt0.c: New file.
4390         * config/i386/t-nwld: Rename to ...
4391         * config/i386/t-slibgcc-nwld: ... this.
4392         * config/i386/t-nwld: New file.
4393         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
4394         tmake_file.
4395         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
4396         extra_parts.
4398 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4400         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
4401         i386/t-crtstuff.
4402         * configure: Regenerate.
4404 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4406         * dfp-bit.c, dfp-bit.h: New files.
4407         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
4408         variables.
4409         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
4410         ($(d64pbit-o)): Likewise.
4411         ($(d128pbit-o)): Likewise.
4412         * config/t-dfprules: New file.
4413         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
4414         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
4415         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
4416         (x86_64-*-linux*): Likewise.
4417         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
4418         (i[34567]86-*-cygwin*): Likewise.
4419         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
4420         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
4422 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4424         * Makfile.in (LIBGCOV): New variable.
4425         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
4426         * libgcov.c: New file.
4428 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4430         * fixed-bit.c, fixed-bit.h: New files.
4431         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
4432         refer to fixed-bit.c.
4434 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
4436         * config.host (*local*): Remove.
4438 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4440         PR target/39150
4441         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
4442         like i?86-*-solaris2.1[0-9]*.
4443         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
4444         * configure.ac (i?86-*-solaris2*): Likewise.
4445         * configure: Regenerate.
4447 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
4449         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
4450         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
4451         md_unwind_header by splitting out of...
4452         (i[34567]86-*-linux*): ... this.
4453         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
4454         Remove md_unwind_header by splitting out of...
4455         (x86_64-*-linux*): ... this.
4457 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
4459         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
4461 2011-06-28  Nick Clifton  <nickc@redhat.com>
4463         * config.host: Recognize all V850 variants.
4465 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
4467         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
4469 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4471         * shared-object.mk (c_flags-$o): Save c_flags.
4472         ($(base)$(objext)): Use it.
4473         ($(base)_s$(objext)): Likewise.
4475 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
4477         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
4478         * libgcc-std.ver.in (GCC_4.7.0): New section.
4480 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
4482         PR target/49313
4483         PR target/29524
4484         * config/avr/t-avr: Fix line endings.
4485         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
4486         _parityXX2.
4488 2011-06-14  Olivier Hainque  <hainque@adacore.com>
4489             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4491         * config/mips/irix6-unwind.h: New file.
4492         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
4494 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
4496         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
4497         (sparc64_fallback_frame_state): Use it.
4498         (sparc64_frob_update_context): Further adjust context.
4499         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
4500         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
4501         * config/sparc/sol2-cn.S: Likewise.
4503 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4505         * enable-execute-stack-empty.c: New file.
4506         * enable-execute-stack-mprotect.c: New file.
4507         * config/i386/enable-execute-stack-mingw32.c: New file.
4508         * config.host (enable_execute_stack): New variable.
4509         Select appropriate variants.
4510         * configure.ac: Link enable-execute-stack.c to
4511         $enable_execute_stack.
4512         * configure: Regenerate.
4513         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
4514         (lib2funcs): Remove _enable_execute_stack.
4516 2011-06-09  David S. Miller  <davem@davemloft.net>
4517             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4519         * config.host (sparc-*-linux*): Correct md_unwind_header
4520         filename.
4521         (s390x-ibm-tpf*): Fix typo.
4523 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4525         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
4526         Add crtfastmath.o to extra_parts.
4527         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
4528         mips/t-crtfm.
4529         * config/mips/t-crtfm: Remove.
4531 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4533         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
4535 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
4537         * config.host (sh*-*-linux*): Fix typo.
4539 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4541         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
4542         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
4543         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
4544         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
4545         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
4546         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
4547         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
4548         Wrap in !__MINGW64__.
4549         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
4550         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
4551         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
4552         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
4553         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
4554         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
4555         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
4556         Wrap in !__LP64__.
4557         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
4558         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
4559         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
4560         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
4561         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
4562         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
4563         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
4564         * config/no-unwind.h: New file.
4565         * config.host (md_unwind_header): Document.
4566         Define.
4567         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
4568         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
4569         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
4570         hppa[12]*-*-hpux11*): Set md_unwind_header.
4571         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
4572         Set md_unwind_header.
4573         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
4574         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
4575         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
4576         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
4577         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
4578         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
4579         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
4580         md_unwind_header.
4581         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
4582         * configure: Regenerate.
4584 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4586         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
4587         Set tmake_file, extra_parts.
4588         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
4589         Remove O32 support.
4590         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
4591         Remove O32 support.
4592         * config/mips/t-irix6: New file.
4593         * config/mips/t-slibgcc-irix: New file.
4595 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4597         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
4598         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
4600 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4602         * configure.ac (target_thread_file): Determine thread model.
4603         * configure: Regenerate.
4604         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
4605         * config/alpha/t-alpha: New file.
4606         * config/alpha/t-crtfm: Use $<.
4607         * config/alpha/t-ieee: New file.
4608         * config/alpha/t-osf-pthread: New file.
4609         * config/alpha/t-slibgcc-osf: New file.
4610         * config/alpha/libgcc-osf5.ver: New file.
4612 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4614         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
4615         tmake_file.
4616         Add crtfastmath.o to extra_parts.
4618 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4620         * config/gmon-sol2.c: Reindent.
4621         Cleanup comments.
4622         Remove, correct casts.
4623         Use STDERR_FILENO, NULL.
4624         (BASEADDRESS): Remove.
4625         (minbrk): Remove.
4626         (errno, sbrk): Remove declarations.
4627         (monstartup) [hp300]: Remove.
4628         (mcount): Remove.
4630 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4632         * Makefile.in (cpu_type): Define.
4633         * config.host (i[34567]86-*-rtems*): Handle it.
4634         (i[34567]86-*-solaris2*): Move body ...
4635         (*-*-solaris2*): ... here.
4636         New case, generalize.
4637         (sparc-*-elf*): Handle it.
4638         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
4639         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
4640         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
4641         Fold into ...
4642         (sparc*-*-solaris2*): ... this.
4643         New case.
4644         (sparc64-*-elf*): Handle it.
4645         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
4646         Merge ../gcc/config/i386/gmon-sol2.c.
4647         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
4648         Use C comments.
4649         Merge ../gcc/config/i386/sol2-gc1.asm.
4650         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
4651         Use C comments.
4652         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
4653         Use C comments.
4654         * config/i386/t-crtfm (crtfastmath.o): Use $<.
4655         * config/i386/t-crtstuff: New file.
4656         * config/i386/t-softfp: New file.
4657         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
4658         $(T)crti.o, $(T)crtn.o): Remove.
4659         (gcrt1.o): New rule.
4660         (TARGET_LIBGCC2_CFLAGS): Remove.
4661         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
4662         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
4663         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
4664         * config/sparc/t-sol2: New file.
4665         * config/sparc/t-crtfm: Move to ...
4666         * config/t-crtfm: ... this.
4667         Use $(cpu_type), $<.
4668         * config/t-crtin: New file.
4669         * config/sparc/t-softfp: New file.
4670         * config/sparc/t-softmul: New file.
4671         * config/t-rtems: New file.
4672         * config/t-slibgcc: New file.
4673         * config/t-slibgcc-elf-ver: New file.
4674         * config/t-slibgcc-gld: New file.
4675         * config/t-slibgcc-sld: New file.
4676         * config/t-sol2: New file.
4677         * configure.ac: Include ../config/lib-ld.m4.
4678         Call AC_LIB_PROG_LD_GNU.
4679         Substitute cpu_type.
4680         * configure: Regenerate.
4682 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
4684         PR bootstrap/49173
4685         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
4686         libgcc-std.ver in the build directory.
4687         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
4688         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
4690 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
4692         * libgcc-std.ver.in: New file.
4693         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
4694         variables.
4695         (libgcc-std.ver): New rule.
4696         * config/t-gnu-prefix: New file.
4698 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4700         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
4702 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
4704         * config/i386/darwin-lib.h: New file.
4706 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
4708         * config/arm/symbian-lib.h: New.
4710 2011-05-04  Chris Demetriou  <cgd@google.com>
4712         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
4713         (__x86.get_pc_thunk.bx): ...this.
4714         (__morestack): Adjust for rename, remove undef of __i686.
4716 2011-05-03  Chris Demetriou  <cgd@google.com>
4718         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
4720 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
4722         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
4723         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
4724         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
4725         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
4726         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
4727         Remove cases.
4729 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
4731         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
4732         Adjust copyright year.
4734 2011-03-07  Ian Lance Taylor  <iant@google.com>
4736         * generic-morestack.c (__splitstack_find): Adjust returned stack
4737         pointer to include all registers pushed by __morestack.
4739 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
4741         PR target/40125
4742         * configure.ac: Call ACX_NONCANONICAL_TARGET.
4743         (toolexecdir): Calculate and AC_SUBST.
4744         (toolexeclibdir): Likewise.
4745         * Makefile.in (target_noncanonical): Import.
4746         (toolexecdir): Likewise.
4747         (toolexeclibdir): Likewise.
4748         * configure: Regenerate.
4750 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
4752         PR target/46040
4753         * config/arm/bpabi.h: Rename to...
4754         * config/arm/bpabi-lib.h: ...this.
4756 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4758         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
4759         appropriate.
4760         * configure: Regenerate.
4762 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
4764         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
4765         __FLOAT_WORD_ORDER__.
4766         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
4767         Delete.
4769 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4771         PR other/46202
4772         * Makefile.in (install-strip): New phony target.
4774 2010-11-07  Ian Lance Taylor  <iant@google.com>
4776         PR target/46089
4777         * config/i386/morestack.S (__morestack_large_model): New
4778         function.
4780 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
4782         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
4783         Delete.
4784         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
4786 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
4788         * config/arm/bpabi.h: New file.
4789         * config/frv/frv-abi.h: New file.
4791 2010-10-01  Ian Lance Taylor  <iant@google.com>
4793         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
4794         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
4796 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
4798         PR target/45858
4799         * config.host: Add the missing `$'.
4801 2010-09-30  Michael Eager  <eager@eagercon.com>
4803         * config.host: Add microblaze*-*-*.
4804         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
4805         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
4806         udivsi3.asm,umodsi3.asm}:  New.
4808 2010-09-28  Ian Lance Taylor  <iant@google.com>
4810         * configure.ac: Adjust CFI test to test assembler directly rather
4811         than checking gcc preprocessor macro.
4812         * configure: Rebuild.
4814 2010-09-27  Ian Lance Taylor  <iant@google.com>
4816         * configure.ac: Test whether assembler supports CFI directives.
4817         * config.host: Only add t-stack and i386/t-stack-i386 to
4818         tmake_file if libgcc_cv_cfi is "yes".
4819         * configure: Rebuild.
4821 2010-09-27  Ian Lance Taylor  <iant@google.com>
4823         * generic-morestack.h: New file.
4824         * generic-morestack.c: New file.
4825         * generic-morestack-thread.c: New file.
4826         * config/i386/morestack.S: New file.
4827         * config/t-stack: New file.
4828         * config/i386/t-stack-i386: New file.
4829         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
4830         i386/t-stack-i386 to tmake_file.
4832 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
4834         * Makefile.in (libgcc-extra-parts):  Check for static archives and
4835         invoke ranlib after installing them.
4836         (gcc-extra-parts): Likewise.
4837         (install-leaf): Likewise.
4839 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
4841         * configure: Regenerated.
4843 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
4845         * configure: Regenerated.
4847 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
4848             Andrew Pinski  <pinskia@gmail.com>
4850         PR target/40959
4851         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
4853 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4855         PR target/45524
4856         * configure: Regenerated.
4858 2010-09-06  Andreas Schwab  <schwab@redhat.com>
4860         * configure: Regenerate.
4862 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
4864         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
4865         64bit targets.
4866         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
4867         for 64bit targets.
4869 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
4870             Iain Sandoe  <iains@gcc.gnu.org>
4872         PR target/45476
4873         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
4874         LIB2FUNCS_EXCLUDE functions.
4876 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4878         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
4879         Include dfp.m4.
4880         * configure: Regenerate.
4882 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
4884         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
4885         i386/t-freebsd to tmake_file.
4886         * config/i386/t-freebsd: New file.
4887         * config/i386/libgcc-bsd.ver: New file.
4889 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
4891         * config.host (powerpc*-eabispe*): Set tmake_file.
4892         (powerpc*-eabi*): Likewise.
4893         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
4894         crtbeginS, crtendS, crtbeginT.
4896 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
4898         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
4899         to tmake_file.  Add crtfastmath.o to extra_parts.
4900         * config/mips/t-crtfm: New.
4902 2010-05-19  Joel Sherrill <joel.sherrill@oarcorp.com>
4904         * config.host (sparc64-*-rtems*): New target.
4906 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4908         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
4909         assembler syntax.
4911 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
4913         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
4915 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4917         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
4918         alpha-dec-osf5.0* support.
4920 2010-04-01  Ralf Corsépius <ralf.corsepius@rtems.org>
4922         * config.host: Add lm32-*-rtems*.
4924 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4925             Uros Bizjak <ubizjak@gmail.com>
4927         PR target/39048
4928         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
4929         like other remaining 32-bit x86 OSes.
4930         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
4931         assembler syntax.
4932         * config/i386/libgcc-sol2.ver: New file.
4933         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
4935 2010-03-30  Jack Howarth <howarth@bromo.med.uc.edu>
4937         PR c/43553
4938         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
4939         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
4940         is used and substitute set_use_emutls.
4941         * configure: Regenerated.
4943 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
4945         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
4947 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4949         PR target/38085
4950         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
4951         MULTILIB_CFLAGS.
4952         ($(T)gcrt1.o): Likewise.
4953         ($(T)crt1.o): Likewise.
4954         ($(T)crti.o): Likewise.
4955         ($(T)crtn.o): Likewise.
4957 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4959         PR other/42980
4960         * Makefile.in (install): Use $(MAKE) string in rule, for
4961         parallel make.
4963 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
4965         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
4966         * config/mmix/t-mmix: New file.
4967         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
4969 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
4971         PR java/41991
4972         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
4973         SHLIB_MAPFILES.
4975 2010-01-04  Anthony Green  <green@moxielogic.com>
4977         * config/moxie/crti.asm, config/moxie/crtn.asm,
4978         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
4979         config/moxie/t-moxie: New files.
4980         * config.host: Add t-moxie-softfp reference.
4982 2009-11-18  Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
4984         PR other/39888
4985         * config/t-slibgcc-darwin: Fix embedded rpaths for
4986         --enable-version-specific-runtime-libs, build extension stub
4987         libs exposing features available from current libgcc_s.
4989 2009-11-11  Jon Beniston <jon@beniston.com>
4991         * config.host: Add lm32 targets.
4992         * config/lm32: New directory.
4993         * config/lm32/libgcc_lm32.h: New file.
4994         * config/lm32/_mulsi3.c: New file.
4995         * config/lm32/_udivmodsi4.c: New file.
4996         * config/lm32/_divsi3.c: New file.
4997         * config/lm32/_modsi3.c: New file.
4998         * config/lm32/_udivsi3.c: New file.
4999         * config/lm32/_umodsi3.c: New file.
5000         * config/lm32/_lshrsi3.S: New file.
5001         * config/lm32/_ashrsi3.S: New file.
5002         * config/lm32/_ashlsi3.S: New file.
5003         * config/lm32/crti.S: New file.
5004         * config/lm32/crtn.S: New file.
5005         * config/lm32/t-lm32: New file.
5006         * config/lm32/t-elf: New file.
5007         * config/lm32/t-uclinux: New file.
5009 2009-10-26  Nick Clifton  <nickc@redhat.com>
5011         * config.host: Add support for RX target.
5012         * config/rx: New directory.
5013         * config/rx/rx-abi-functions.c: New file. Supplementary
5014         functions for libgcc to support the RX ABI.
5015         * config/rx/rx-abi.h: New file.  Supplementary header file for
5016         libgcc RX ABI functions.
5017         * config/rx/t-rx: New file: Makefile fragment for building
5018         libgcc for the RX.
5020 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
5022         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
5023         constraint of y0 to "g".
5025 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5027         * config.host: Include the s390 makefile fragments.
5028         * config/s390/32/_fixdfdi.c: New file.
5029         * config/s390/32/_fixsfdi.c: New file.
5030         * config/s390/32/_fixtfdi.c: New file.
5031         * config/s390/32/_fixunsdfdi.c: New file.
5032         * config/s390/32/_fixunssfdi.c: New file.
5033         * config/s390/32/_fixunstfdi.c: New file.
5034         * config/s390/32/t-floattodi: New file.
5035         * config/s390/libgcc-glibc.ver: New file.
5036         * config/s390/t-crtstuff: New file.
5037         * config/s390/t-linux: New file.
5038         * config/s390/t-tpf: New file.
5040 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5042         * configure.ac (AC_PREREQ): Bump to 2.64.
5044 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
5046         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
5048 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5050         * configure: Regenerate.
5052 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
5054         * config.host (ia64-hp-*vms*): New target.
5055         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
5056         with ia64-hp-*vms*.
5058 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5060         * configure.ac: Add snippet for maintainer-mode.
5061         * configure: Regenerate.
5062         * Makefile.in (AUTOCONF, configure_deps): New variables.
5063         ($(srcdir)/configure)): New rule, active only with maintainer
5064         mode turned on.
5066 2009-06-23  DJ Delorie  <dj@redhat.com>
5068         Add MeP port.
5069         * config.host: Add mep support.
5071 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
5073         * config.host: Add i386/${host_address}/t-fprules-softfp and
5074         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
5076         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
5077         for mingw targets.
5078         * config/i386/64/_multc3.c: Likewise.
5079         * config/i386/64/_powitf2.c: Likewise.
5080         * config/i386/64/eqtf2.c: Likewise.
5081         * config/i386/64/getf2.c: Likewise.
5082         * config/i386/64/letf2.c: Likewise.
5083         * config/i386/64/letf2.c: Likewise.
5084         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
5085         unsigned long long for x64 mingw targets.
5086         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
5087         (_FP_I_TYPE): Define as long long for x64 mingw target.
5089 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
5091         * config.host (vax-*-linux*): New.
5093 2009-05-31  Anthony Green  <green@moxielogic.com>
5095         * config.host: Add moxie support.
5096         * config/moxie/t-moxie: New file.
5098 2009-05-29  David Billinghurst <billingd@gcc.gnu.org>
5100         * config.host: Add i386/${host_address}/t-fprules-softfp and
5101         t-softfp to tmake_file for i[34567]86-*-cygwin*.
5103 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
5105         * config.host: Add i386/${host_address}/t-fprules-softfp to
5106         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
5108 2009-04-09  Nick Clifton  <nickc@redhat.com>
5110         * config/ia64/tf-signs.c: Change copyright header to refer to
5111         version 3 of the GNU General Public License with version 3.1
5112         of the GCC Runtime Library Exception and to point readers at
5113         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
5114         web page.
5115         * config/i386/32/tf-signs.c: Likewise.
5116         * config/libbid/_addsub_dd.c: Likewise.
5117         * config/libbid/_addsub_sd.c: Likewise.
5118         * config/libbid/_addsub_td.c: Likewise.
5119         * config/libbid/_dd_to_df.c: Likewise.
5120         * config/libbid/_dd_to_di.c: Likewise.
5121         * config/libbid/_dd_to_sd.c: Likewise.
5122         * config/libbid/_dd_to_sf.c: Likewise.
5123         * config/libbid/_dd_to_si.c: Likewise.
5124         * config/libbid/_dd_to_td.c: Likewise.
5125         * config/libbid/_dd_to_tf.c: Likewise.
5126         * config/libbid/_dd_to_udi.c: Likewise.
5127         * config/libbid/_dd_to_usi.c: Likewise.
5128         * config/libbid/_dd_to_xf.c: Likewise.
5129         * config/libbid/_df_to_dd.c: Likewise.
5130         * config/libbid/_df_to_sd.c: Likewise.
5131         * config/libbid/_df_to_td.c: Likewise.
5132         * config/libbid/_di_to_dd.c: Likewise.
5133         * config/libbid/_di_to_sd.c: Likewise.
5134         * config/libbid/_di_to_td.c: Likewise.
5135         * config/libbid/_div_dd.c: Likewise.
5136         * config/libbid/_div_sd.c: Likewise.
5137         * config/libbid/_div_td.c: Likewise.
5138         * config/libbid/_eq_dd.c: Likewise.
5139         * config/libbid/_eq_sd.c: Likewise.
5140         * config/libbid/_eq_td.c: Likewise.
5141         * config/libbid/_ge_dd.c: Likewise.
5142         * config/libbid/_ge_sd.c: Likewise.
5143         * config/libbid/_ge_td.c: Likewise.
5144         * config/libbid/_gt_dd.c: Likewise.
5145         * config/libbid/_gt_sd.c: Likewise.
5146         * config/libbid/_gt_td.c: Likewise.
5147         * config/libbid/_isinfd128.c: Likewise.
5148         * config/libbid/_isinfd32.c: Likewise.
5149         * config/libbid/_isinfd64.c: Likewise.
5150         * config/libbid/_le_dd.c: Likewise.
5151         * config/libbid/_le_sd.c: Likewise.
5152         * config/libbid/_le_td.c: Likewise.
5153         * config/libbid/_lt_dd.c: Likewise.
5154         * config/libbid/_lt_sd.c: Likewise.
5155         * config/libbid/_lt_td.c: Likewise.
5156         * config/libbid/_mul_dd.c: Likewise.
5157         * config/libbid/_mul_sd.c: Likewise.
5158         * config/libbid/_mul_td.c: Likewise.
5159         * config/libbid/_ne_dd.c: Likewise.
5160         * config/libbid/_ne_sd.c: Likewise.
5161         * config/libbid/_ne_td.c: Likewise.
5162         * config/libbid/_sd_to_dd.c: Likewise.
5163         * config/libbid/_sd_to_df.c: Likewise.
5164         * config/libbid/_sd_to_di.c: Likewise.
5165         * config/libbid/_sd_to_sf.c: Likewise.
5166         * config/libbid/_sd_to_si.c: Likewise.
5167         * config/libbid/_sd_to_td.c: Likewise.
5168         * config/libbid/_sd_to_tf.c: Likewise.
5169         * config/libbid/_sd_to_udi.c: Likewise.
5170         * config/libbid/_sd_to_usi.c: Likewise.
5171         * config/libbid/_sd_to_xf.c: Likewise.
5172         * config/libbid/_sf_to_dd.c: Likewise.
5173         * config/libbid/_sf_to_sd.c: Likewise.
5174         * config/libbid/_sf_to_td.c: Likewise.
5175         * config/libbid/_si_to_dd.c: Likewise.
5176         * config/libbid/_si_to_sd.c: Likewise.
5177         * config/libbid/_si_to_td.c: Likewise.
5178         * config/libbid/_td_to_dd.c: Likewise.
5179         * config/libbid/_td_to_df.c: Likewise.
5180         * config/libbid/_td_to_di.c: Likewise.
5181         * config/libbid/_td_to_sd.c: Likewise.
5182         * config/libbid/_td_to_sf.c: Likewise.
5183         * config/libbid/_td_to_si.c: Likewise.
5184         * config/libbid/_td_to_tf.c: Likewise.
5185         * config/libbid/_td_to_udi.c: Likewise.
5186         * config/libbid/_td_to_usi.c: Likewise.
5187         * config/libbid/_td_to_xf.c: Likewise.
5188         * config/libbid/_tf_to_dd.c: Likewise.
5189         * config/libbid/_tf_to_sd.c: Likewise.
5190         * config/libbid/_tf_to_td.c: Likewise.
5191         * config/libbid/_udi_to_dd.c: Likewise.
5192         * config/libbid/_udi_to_sd.c: Likewise.
5193         * config/libbid/_udi_to_td.c: Likewise.
5194         * config/libbid/_unord_dd.c: Likewise.
5195         * config/libbid/_unord_sd.c: Likewise.
5196         * config/libbid/_unord_td.c: Likewise.
5197         * config/libbid/_usi_to_dd.c: Likewise.
5198         * config/libbid/_usi_to_sd.c: Likewise.
5199         * config/libbid/_usi_to_td.c: Likewise.
5200         * config/libbid/_xf_to_dd.c: Likewise.
5201         * config/libbid/_xf_to_sd.c: Likewise.
5202         * config/libbid/_xf_to_td.c: Likewise.
5203         * config/libbid/bid128.c: Likewise.
5204         * config/libbid/bid128_2_str.h: Likewise.
5205         * config/libbid/bid128_2_str_macros.h: Likewise.
5206         * config/libbid/bid128_2_str_tables.c: Likewise.
5207         * config/libbid/bid128_add.c: Likewise.
5208         * config/libbid/bid128_compare.c: Likewise.
5209         * config/libbid/bid128_div.c: Likewise.
5210         * config/libbid/bid128_fma.c: Likewise.
5211         * config/libbid/bid128_logb.c: Likewise.
5212         * config/libbid/bid128_minmax.c: Likewise.
5213         * config/libbid/bid128_mul.c: Likewise.
5214         * config/libbid/bid128_next.c: Likewise.
5215         * config/libbid/bid128_noncomp.c: Likewise.
5216         * config/libbid/bid128_quantize.c: Likewise.
5217         * config/libbid/bid128_rem.c: Likewise.
5218         * config/libbid/bid128_round_integral.c: Likewise.
5219         * config/libbid/bid128_scalb.c: Likewise.
5220         * config/libbid/bid128_sqrt.c: Likewise.
5221         * config/libbid/bid128_string.c: Likewise.
5222         * config/libbid/bid128_to_int16.c: Likewise.
5223         * config/libbid/bid128_to_int32.c: Likewise.
5224         * config/libbid/bid128_to_int64.c: Likewise.
5225         * config/libbid/bid128_to_int8.c: Likewise.
5226         * config/libbid/bid128_to_uint16.c: Likewise.
5227         * config/libbid/bid128_to_uint32.c: Likewise.
5228         * config/libbid/bid128_to_uint64.c: Likewise.
5229         * config/libbid/bid128_to_uint8.c: Likewise.
5230         * config/libbid/bid32_to_bid128.c: Likewise.
5231         * config/libbid/bid32_to_bid64.c: Likewise.
5232         * config/libbid/bid64_add.c: Likewise.
5233         * config/libbid/bid64_compare.c: Likewise.
5234         * config/libbid/bid64_div.c: Likewise.
5235         * config/libbid/bid64_fma.c: Likewise.
5236         * config/libbid/bid64_logb.c: Likewise.
5237         * config/libbid/bid64_minmax.c: Likewise.
5238         * config/libbid/bid64_mul.c: Likewise.
5239         * config/libbid/bid64_next.c: Likewise.
5240         * config/libbid/bid64_noncomp.c: Likewise.
5241         * config/libbid/bid64_quantize.c: Likewise.
5242         * config/libbid/bid64_rem.c: Likewise.
5243         * config/libbid/bid64_round_integral.c: Likewise.
5244         * config/libbid/bid64_scalb.c: Likewise.
5245         * config/libbid/bid64_sqrt.c: Likewise.
5246         * config/libbid/bid64_string.c: Likewise.
5247         * config/libbid/bid64_to_bid128.c: Likewise.
5248         * config/libbid/bid64_to_int16.c: Likewise.
5249         * config/libbid/bid64_to_int32.c: Likewise.
5250         * config/libbid/bid64_to_int64.c: Likewise.
5251         * config/libbid/bid64_to_int8.c: Likewise.
5252         * config/libbid/bid64_to_uint16.c: Likewise.
5253         * config/libbid/bid64_to_uint32.c: Likewise.
5254         * config/libbid/bid64_to_uint64.c: Likewise.
5255         * config/libbid/bid64_to_uint8.c: Likewise.
5256         * config/libbid/bid_b2d.h: Likewise.
5257         * config/libbid/bid_binarydecimal.c: Likewise.
5258         * config/libbid/bid_conf.h: Likewise.
5259         * config/libbid/bid_convert_data.c: Likewise.
5260         * config/libbid/bid_decimal_data.c: Likewise.
5261         * config/libbid/bid_decimal_globals.c: Likewise.
5262         * config/libbid/bid_div_macros.h: Likewise.
5263         * config/libbid/bid_dpd.c: Likewise.
5264         * config/libbid/bid_flag_operations.c: Likewise.
5265         * config/libbid/bid_from_int.c: Likewise.
5266         * config/libbid/bid_functions.h: Likewise.
5267         * config/libbid/bid_gcc_intrinsics.h: Likewise.
5268         * config/libbid/bid_inline_add.h: Likewise.
5269         * config/libbid/bid_internal.h: Likewise.
5270         * config/libbid/bid_round.c: Likewise.
5271         * config/libbid/bid_sqrt_macros.h: Likewise.
5273 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
5275         * Makefile.in: Change copyright header to refer to version
5276         3 of the GNU General Public License and to point readers at the
5277         COPYING3 file and the FSF's license web page.
5278         * config.host: Likewise.
5280 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
5282         * config.host: Reorder and merge to match config.gcc change.
5284 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
5286         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
5288 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
5290         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
5291         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
5292         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
5293         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
5295 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
5297         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
5298         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
5300 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
5302         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
5303         ia64/t-softfp-compat to tmake_file.
5305         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
5307         * config/ia64/__divxf3.asm: New.
5308         * config/ia64/_fixtfdi.asm: Likewise.
5309         * config/ia64/_fixunstfdi.asm: Likewise.
5310         * config/ia64/_floatditf.asm: Likewise.
5311         * config/ia64/t-fprules-softfp: Likewise.
5312         * config/ia64/t-softfp-compat: Likewise.
5313         * config/ia64/tf-signs.c: Likewise.
5315 2009-01-18  Ben Elliston  <bje@au.ibm.com>
5317         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
5319 2009-01-16  Ben Elliston  <bje@au.ibm.com>
5321         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
5322         to tmake_file.
5324 2009-01-13  Ben Elliston  <bje@au.ibm.com>
5326         * config/t-softfp: New file.
5327         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
5328         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
5330 2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>
5332         * config.host: Add m32r*-*-rtems*.
5334 2008-12-01  Joel Sherrill <joel.sherrill@oarcorp.com>
5336         * config.host: Add m32c*-*-rtems*.
5338 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5340         PR bootstrap/33100
5341         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
5342         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
5343         * configure: Regenerate.
5344         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
5345         tmake_file here from gcc/config.gcc.
5346         Move extra_parts here from gcc/config.gcc.
5347         * config/i386/t-sol2: Move here from gcc/config/i386.
5348         Use gcc_srcdir instead of srcdir.
5350 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
5352         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
5353         case.
5355 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
5357         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
5359 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
5361         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
5363 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
5365         Add picoChip port.
5366         * config.host: Add picochip-*-*.
5368 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
5370         * config.host: Match more processor names for Xtensa.
5372 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
5374         * config/i386/64/t-softfp-compat: Update comments.
5376 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
5378         * config/i386/64/_divtc3-compat.c: Moved to ...
5379         * config/i386/64/_divtc3.c: Here.
5381         * config/i386/64/_multc3-compat.c: Moved to ...
5382         * config/i386/64/_multc3.c: Here.
5384         * config/i386/64/_powitf2-compat.c: Moved to ...
5385         * config/i386/64/_powitf2.c: Here.
5387         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
5388         .c suffix instead of -compat.c.
5390 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
5392         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
5393         (_FP_MUL_MEAT_D): Ditto.
5394         (_FP_DIV_MEAT_S): Ditto.
5395         (_FP_DIV_MEAT_D): Ditto.
5397 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
5399         * Makefile.in: Add support for __sync_* libgcc functions.
5401 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
5403         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
5405 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5407         PR boostrap/36702
5408         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
5409         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
5411         * config/i386/64/t-fprules-softfp: Moved to ...
5412         * config/i386/64/t-softfp-compat: This.  New.
5414 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
5416         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
5417         Initialize f with 0.0.
5419 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5421         PR target/36669
5422         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
5424         * config/i386/64/_divtc3-compat.c: New.
5425         * config/i386/64/_multc3-compat.c: Likewise.
5426         * config/i386/64/_powitf2-compat.c: Likewise.
5427         * config/i386/64/eqtf2.c: Likewise.
5428         * config/i386/64/getf2.c: Likewise.
5429         * config/i386/64/letf2.c: Likewise.
5430         * config/i386/64/t-fprules-softfp: Likewise.
5432 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5434         * config.host: Add i386/${host_address}/t-fprules-softfp to
5435         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
5436         i[34567]86-*-linux*, x86_64-*-linux*.
5438         * configure.ac: Set host_address to 64 or 32 for x86.
5439         * configure: Regenerated.
5441         * Makefile.in (config.status): Also depend on
5442         $(srcdir)/config.host.
5444         * config/i386/32/t-fprules-softfp: New.
5445         * config/i386/32/tf-signs.c: Likewise.
5447         * config/i386/64/sfp-machine.h: New. Moved from gcc.
5449 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5450             Uros Bizjak  <ubizjak@gmail.com>
5452         * config/i386/32/sfp-machine.h: New.
5454 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
5456         * config/rs6000/t-ppccomm: Remove rules that conflict with
5457         auto-generated rules.
5459 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5461         * configure.ac: sinclude override.m4.
5462         * configure: Regenerate.
5464 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
5466         * configure: Regenerate.
5468 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
5470         * Makefile.in (DECNUMINC): Remove
5471         -I$(MULTIBUILDTOP)../../libdecnumber.
5472         * gstdint.h: New.
5474 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
5476         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
5477         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
5478         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
5479         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
5480         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
5481         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
5482         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
5483         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
5484         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
5485         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
5486         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
5487         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
5488         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
5489         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
5491 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
5493         * config.host (sh2[lbe]*-*-linux*): Allow target.
5495 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
5497         * config/rs6000/t-ppccomm: Add build rules for new files.
5498         (LIB2ADD_ST): New variable.
5500 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
5502         PR target/34210
5503         PR target/35508
5504         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
5505         * config/t-avr: New file. Build 16bit libgcc functions.
5507 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
5509         PR target/35401
5510         * config/t-slibgcc-darwin: Make install-leaf dependent on
5511         install-darwin-libgcc-stubs instead of install.
5513 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
5515         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
5516         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
5517         sh-*-rtemscoff*): Remove cases.
5519 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
5521         * Makefile.in (all): Use install-leaf rather than install.
5522         (install): Split most of the rule into...
5523         (install-leaf): ...this new one.
5525 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
5526             Paolo Bonzini  <bonzini@gnu.org>
5528         PR target/30572
5529         * Makefile.in: Use @shlib_slibdir@ substitution to get
5530         correct install name on darwin.
5531         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
5533 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
5535         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
5536         cris-*-elf and cris-*-none.
5537         (crisv32-*-linux*): Similar, as cris-*-linux*.
5539 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
5541         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
5543 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
5545         PR regression/33926
5546         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
5547         * configure: Regenerated.
5549 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
5551         * Makefile.in (dfp-filenames): Replace decimal_globals,
5552         decimal_data, binarydecimal and convert_data with
5553         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
5554         and bid_convert_data, respectively.
5556 2007-09-17  Chao-ying Fu  <fu@mips.com>
5557             Nigel Stephens  <nigel@mips.com>
5559         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
5560         * Makefile.in (fixed_point): Define.
5561         Check if fixed_point is yes to build support functions.
5562         * configure.ac: Check for fixed_point support.
5563         * configure: Regenerated.
5564         * gen-fixed.sh: New file to generate lists of fixed-point labels,
5565         funcs, modes, from, to.
5567 2007-09-11  Janis Johnson  <janis187@us.ibm.com
5569         * Makefile.in (dfp-filenames): Add bid128_noncomp.
5571 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
5573         * Makefile.in (dfp-filenames): Remove decUtility, add
5574         decDouble, decPacked, decQuad, decSingle.
5576 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
5578         * config.host : Add x86_64-elf target.
5580 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
5582         * configure.ac (set_have_cc_tls): Add a missing =.
5583         * configure: Regenerated.
5585 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
5587         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
5588         and x86_64-*-linux*.
5590         * config/t-tls: New file.
5592         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
5594         * configure.ac: Include ../config/enable.m4 and
5595         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
5596         supports TLS and substitute set_have_cc_tls.
5597         * configure: Regenerated.
5599 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
5601         * Makefile.in: Use libbid for DFP when BID is enabled.
5603 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
5605         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
5606         extra_parts. Add config/i386/t-cygming to tmake_file.
5607         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
5609 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
5610             Danny Smith  <dannysmith@users.sourceforge.net>
5612         PR target/29498
5613         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
5614         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
5615         * config/i386/t-crtfm: Compile crtfastmath.o with
5616         -minline-all-stringops.
5618 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
5620         * config.host (sparc-wrs-vxworks): New target.
5622 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
5624         * config.host: Recognize fido.
5626 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
5628         * configure: Check host, not target, for decimal float support.
5630 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
5632         * config/i386/t-crtpc: New file.
5633         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5634         (x86_64-*-linux*): Ditto.
5636 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
5638         * config.host (x86_64-*-mingw*): New target.
5640 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
5641             H.J. Lu  <hongjiu.lu@intel.com>
5643         * Makefile.in (enable_decimal_float): New.
5644         (DECNUMINC): Add
5645         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
5646         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
5647         (decbits-filenames): This.
5648         (decbits-objects): New.
5649         (libgcc-objects): Add $(decbits-objects).
5651         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
5652         Substitute enable_decimal_float.
5653         * configure: Regenerated.
5655 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
5657         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
5659 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
5661         * Makefile.in (install-info): New dummy target.
5663 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
5665         * config.host (bfin*-linux-uclibc*): Set extra_parts.
5667 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
5669         * Makefile.in: Add install-html and install-pdf dummy
5670         targets.
5672 2007-02-05  Roger Sayle  <roger@eyesopen.com>
5673             Daniel Jacobowitz  <dan@codesourcery.com>
5675         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
5676         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
5677         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
5679 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
5681         * Makefile.in (dec-filenames): Add decExcept.
5683 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
5685         PR bootstrap/30469
5686         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
5687         -fprofile-use.
5689 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
5691         * configure.ac: Add --enable-version-specific-runtime-libs.
5692         Correct $slibdir default.
5693         * configure: Regenerated.
5695 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
5697         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
5699 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
5701         PR target/30519
5702         * config.host (alpha*-*-linux*): Set extra_parts.
5704 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
5706         * config/sh/t-linux: New.
5707         * config.host (sh*-*-linux*): Set tmake_file.
5709 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
5711         * Makefile.in (install): Handle multilibs.
5713 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
5715         * Makefile.in: Added .PHONY entry for documentation targets.
5717 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
5719         * Makefile.in: Add empty info, html, dvi, pdf targets.
5721 2007-01-04  Mike Stump  <mrs@apple.com>
5723         * Makefile.in (MAKEINFO): Remove.
5724         (PERL): Likewise.
5726 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
5728         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
5729         * configure: Regenerate.
5730         * Makefile.in (host_subdir): Substitute it.
5731         (gcc_objdir): Use it.
5733 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
5735         * config.host (ia64*-*-linux*): Set tmake_file.
5737 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
5739         * Makefile.in (version): Define.
5741 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
5742             Paolo Bonzini  <bonzini@gnu.org>
5744         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
5745         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
5746         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
5747         config/sparc/t-crtfm, config/t-slibgcc-darwin,
5748         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
5749         shared-object.mk, siditi-object.mk, static-object.mk: New files.
5750         * configure: Generated.