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