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