Merge branches/gcc-4_9-branch rev 225109.
[official-gcc.git] / gcc-4_9-branch / libgcc / ChangeLog
blob35c2001f925b03885a9510683e4f7f3edc3d8c10
1 2015-06-26  Release Manager
3         * GCC 4.9.3 released.
5 2015-02-26  Matthew Fortune  <matthew.fortune@imgtec.com>
7         Backported from mainline r213870
9         * config/mips/mips16.S: Do not build for soft-float.
11 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
13         Backported from mainline
14         2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
16         * config/arm/bpabi.S (test_div_by_zero): Make label names
17         consistent between thumb2 and arm mode cases.  Separate the
18         signed comparison on the high word of the numerator from the
19         unsigned comparison on the low word.
20         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
21         signed comparison.
23 2015-02-01  H.J. Lu  <hongjiu.lu@intel.com>
25         Backported from mainline
26         2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
28         * config/i386/cpuinfo.c (processor_subtypes): Add
29         INTEL_COREI7_BROADWELL.
30         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
31         model numbers.
33 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
35         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
36         oldval and newval to const void *.  Fix typo.
37         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
38         (FETCH_AND_OP_WORD): Likewise.
39         (OP_AND_FETCH_WORD): Likewise.
40         (COMPARE_AND_SWAP_2): Likewise.
41         (__sync_val_compare_and_swap_4): Likewise.
42         (__sync_lock_test_and_set_4): Likewise.
43         (SYNC_LOCK_RELEASE_2): Likewise.
44         Remove support for long long atomic operations.
46 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
48         Backport from mainline
49         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
50         Update rt_sigframe format and address for current Nios II
51         Linux conventions.
53 2014-12-09  John David Anglin  <danglin@gcc.gnu.org>
55         Backport from mainline
56         2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
58         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
59         instead.
61         2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
62                     John David Anglin  <danglin@gcc.gnu.org>
64         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
65         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
66         (OP_AND_FETCH_2): Likewise.
67         (COMPARE_AND_SWAP_2): Likewise.
68         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
69         (SYNC_LOCK_RELEASE_2): Likewise.
70         (SUBWORD_SYNC_OP): Remove.
71         (SUBWORD_VAL_CAS): Likewise.
72         (SUBWORD_BOOL_CAS): Likewise.
73         (FETCH_AND_OP_WORD): Update.
74         Consistently use signed types.
76 2014-12-09  Oleg Endo  <olegendo@gcc.gnu.org>
78         Backport from mainline
79         2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
81         PR target/55351
82         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
83         whether it's defined.
85 2014-10-30  Release Manager
87         * GCC 4.9.2 released.
89 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
91         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
92         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
93         memory read accesses are ok.
95 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
97         PR target/63223
98         * config/avr/lib1funcs.S (__do_global_dtors): Reverse execution
99         order to first...last.
101 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
103         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
104         bits not set bits as indicating trapping exceptions.
106 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
108         Backport from 2014-09-11 trunk r215152.
110         PR target/63223
111         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
112         and R24 as needed.  Make work for all devices and .text locations.
113         (__do_global_ctors, __do_global_dtors): Use word addresses.
114         (__tablejump__, __tablejump_elpm__): Remove functions.
115         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
116         Add _tablejump2.
117         (XICALL, XIJMP): New macros.
119 2014-08-04  Rohit  <rohitarulraj@freescale.com>
121         PR target/60102
122         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
123         based on change in SPE high register numbers and 3 HTM registers.
125 2014-07-16  Release Manager
127         * GCC 4.9.1 released.
129 2014-05-27  Georg-Johann Lay  <avr@gjlay.de>
131         Backport from 2014-05-27 mainline r210322.
133         PR libgcc/61152
134         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
136 2014-05-22  Nick Clifton  <nickc@redhat.com>
138         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
139         -mhwmult=none.
141 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
143         Backport from mainline
144         2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
146         PR libgcc/60166
147         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
148         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
150 2014-05-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
152         Backport from mainline
153         2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
155         PR libgcc/61097
156         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
157         if --enable-shared.
159 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
161         Work around for current cygwin32 build problems.
162         * config/i386/cygming-crtbegin.c (__register_frame_info,
163         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
164         functions only for 64-bit systems.
166 2014-04-22  Release Manager
168         * GCC 4.9.0 released.
170 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
172         * config.host: Append t-floattodi to tmake_file depending on
173         host_address.
175 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
177         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
179 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
181         PR libgcc/60472
182         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
183         variable to avoid array subscript is above array bounds warnings.
184         Use __builtin_expect when checking *jcr_list for NULL.
186 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
188         PR libgcc/59339
189         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
190         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
191         vtv_*.o to extra_parts if enable_vtable_verify.
193 2014-03-06  Nick Clifton  <nickc@redhat.com>
195         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
196         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
198 2014-02-28  Joey Ye  <joey.ye@arm.com>
200         PR libgcc/60166
201         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
202         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
203         Set to zero.
205 2014-02-24  Walter Lee  <walt@tilera.com>
207         * config.host: Support "tilegx*" and "tilepro*" triplets.
208         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
209         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
211 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
212             Chung-Lin Tang  <cltang@codesourcery.com>
214         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
215         * config/nios2/crti.S: Remove .file directive.
216         * config/nios2/crtn.S: Likewise.
218 2014-02-18  Kai Tietz  <ktietz@redhat.com>
219         Jonathan Schleifer  <js@webkeks.org>
221         PR objc/56870
222         * unwind-seh.c (_GCC_specific_handler): Pass proper
223         value to unwind-handler.
225 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
227         * soft-fp/adddf3.c: Update from glibc.
228         * soft-fp/addsf3.c: Likewise.
229         * soft-fp/addtf3.c: Likewise.
230         * soft-fp/divdf3.c: Likewise.
231         * soft-fp/divsf3.c: Likewise.
232         * soft-fp/divtf3.c: Likewise.
233         * soft-fp/double.h: Likewise.
234         * soft-fp/eqdf2.c: Likewise.
235         * soft-fp/eqsf2.c: Likewise.
236         * soft-fp/eqtf2.c: Likewise.
237         * soft-fp/extenddftf2.c: Likewise.
238         * soft-fp/extended.h: Likewise.
239         * soft-fp/extendsfdf2.c: Likewise.
240         * soft-fp/extendsftf2.c: Likewise.
241         * soft-fp/extendxftf2.c: Likewise.
242         * soft-fp/fixdfdi.c: Likewise.
243         * soft-fp/fixdfsi.c: Likewise.
244         * soft-fp/fixdfti.c: Likewise.
245         * soft-fp/fixsfdi.c: Likewise.
246         * soft-fp/fixsfsi.c: Likewise.
247         * soft-fp/fixsfti.c: Likewise.
248         * soft-fp/fixtfdi.c: Likewise.
249         * soft-fp/fixtfsi.c: Likewise.
250         * soft-fp/fixtfti.c: Likewise.
251         * soft-fp/fixunsdfdi.c: Likewise.
252         * soft-fp/fixunsdfsi.c: Likewise.
253         * soft-fp/fixunsdfti.c: Likewise.
254         * soft-fp/fixunssfdi.c: Likewise.
255         * soft-fp/fixunssfsi.c: Likewise.
256         * soft-fp/fixunssfti.c: Likewise.
257         * soft-fp/fixunstfdi.c: Likewise.
258         * soft-fp/fixunstfsi.c: Likewise.
259         * soft-fp/fixunstfti.c: Likewise.
260         * soft-fp/floatdidf.c: Likewise.
261         * soft-fp/floatdisf.c: Likewise.
262         * soft-fp/floatditf.c: Likewise.
263         * soft-fp/floatsidf.c: Likewise.
264         * soft-fp/floatsisf.c: Likewise.
265         * soft-fp/floatsitf.c: Likewise.
266         * soft-fp/floattidf.c: Likewise.
267         * soft-fp/floattisf.c: Likewise.
268         * soft-fp/floattitf.c: Likewise.
269         * soft-fp/floatundidf.c: Likewise.
270         * soft-fp/floatundisf.c: Likewise.
271         * soft-fp/floatunditf.c: Likewise.
272         * soft-fp/floatunsidf.c: Likewise.
273         * soft-fp/floatunsisf.c: Likewise.
274         * soft-fp/floatunsitf.c: Likewise.
275         * soft-fp/floatuntidf.c: Likewise.
276         * soft-fp/floatuntisf.c: Likewise.
277         * soft-fp/floatuntitf.c: Likewise.
278         * soft-fp/gedf2.c: Likewise.
279         * soft-fp/gesf2.c: Likewise.
280         * soft-fp/getf2.c: Likewise.
281         * soft-fp/ledf2.c: Likewise.
282         * soft-fp/lesf2.c: Likewise.
283         * soft-fp/letf2.c: Likewise.
284         * soft-fp/muldf3.c: Likewise.
285         * soft-fp/mulsf3.c: Likewise.
286         * soft-fp/multf3.c: Likewise.
287         * soft-fp/negdf2.c: Likewise.
288         * soft-fp/negsf2.c: Likewise.
289         * soft-fp/negtf2.c: Likewise.
290         * soft-fp/op-1.h: Likewise.
291         * soft-fp/op-2.h: Likewise.
292         * soft-fp/op-4.h: Likewise.
293         * soft-fp/op-8.h: Likewise.
294         * soft-fp/op-common.h: Likewise.
295         * soft-fp/quad.h: Likewise.
296         * soft-fp/single.h: Likewise.
297         * soft-fp/soft-fp.h: Likewise.
298         * soft-fp/subdf3.c: Likewise.
299         * soft-fp/subsf3.c: Likewise.
300         * soft-fp/subtf3.c: Likewise.
301         * soft-fp/truncdfsf2.c: Likewise.
302         * soft-fp/trunctfdf2.c: Likewise.
303         * soft-fp/trunctfsf2.c: Likewise.
304         * soft-fp/trunctfxf2.c: Likewise.
305         * soft-fp/unorddf2.c: Likewise.
306         * soft-fp/unordsf2.c: Likewise.
307         * soft-fp/unordtf2.c: Likewise.
308         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
309         macro.
310         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
311         Likewise.
312         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
313         Likewise.
314         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
315         Likewise.
316         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
317         Likewise.
318         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
319         Likewise.
320         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
321         Likewise.
322         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
323         Likewise.
324         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
325         Likewise.
326         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
327         Likewise.
328         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
329         Likewise.
330         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
331         Likewise.
332         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
333         Likewise.
334         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
335         Likewise.
336         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
337         Likewise.
338         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
339         Likewise.
341 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
343         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
344         cannot be represented.
345         * config/s390/32/_fixsfdi.c: Likewise.
346         * config/s390/32/_fixtfdi.c: Likewise.
347         * config/s390/32/_fixunsdfdi.c: Likewise.
348         * config/s390/32/_fixunssfdi.c: Likewise.
349         * config/s390/32/_fixunstfdi.c: Likewise.
351 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
353         * configure.ac (libgcc_cv_mips_hard_float): New.
354         * configure: Regenerate.
355         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
356         t-softfp-sfdf for hard-float targets.
357         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
358         (softfp_float_modes, softfp_int_modes, softfp_extensions)
359         (softfp_truncations, softfp_exclude_libgcc2): New.
360         * config/t-hardfp: New file.
361         * config/t-hardfp-sfdf: Likewise.
362         * config/hardfp.c: Likewise.
364 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
366         * config.host: Include t-floattodi also for s390x.
367         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
368         * config/s390/32/_fixsfdi.c: Likewise.
369         * config/s390/32/_fixtfdi.c: Likewise.
370         * config/s390/32/_fixunsdfdi.c: Likewise.
371         * config/s390/32/_fixunssfdi.c: Likewise.
372         * config/s390/32/_fixunstfdi.c: Likewise.
374 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
376         PR target/59788
377         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
378         (install-libgcc-unwind-map-forbuild): New target.
379         (all): Depend on install-libgcc-unwind-map-forbuild.
380         (install-libgcc-unwind-map): New target.
381         (install): Depend on install-libgcc-unwind-map.
383 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
385         * config/nios2/crti.S (_init): Initialize GOT pointer from
386         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
388 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
390         * configure.ac: Check __mips64 when setting host_address.
391         * configure: Regenerate.
392         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
393         mips/t-mips64 and t-softfp.
394         (mips*-*-linux*): Don't add mips/t-tpbit.
395         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
396         (DPBIT, DPBIT_CFLAGS): Delete.
397         * config/mips/sfp-machine.h: New file.
398         * config/mips/t-mips64: Likewise.
399         * config/mips/t-softfp-tf: Likewise.
400         * config/mips/t-tpbit: Delete.
402 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
404         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
405         as long long.
407 2014-01-25  Walter Lee  <walt@tilera.com>
409         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
410         config.h or system.h.
411         (bool) Define.
413 2014-01-25  Walter Lee  <walt@tilera.com>
415         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
416         (post_atomic_barrier): Ditto.
417         (__fetch_and_do): New macro.
418         (__atomic_fetch_and_do): Use __fetch_and_do.
419         (__sync_fetch_and_do): New macro.
420         (__sync_fetch_and_add_4): New function.
421         (__sync_fetch_and_sub_4): New function.
422         (__sync_fetch_and_or_4): New function.
423         (__sync_fetch_and_and_4): New function.
424         (__sync_fetch_and_xor_4): New function.
425         (__sync_fetch_and_nand_4): New function.
426         (__sync_fetch_and_add_8): New function.
427         (__sync_fetch_and_sub_8): New function.
428         (__sync_fetch_and_or_8): New function.
429         (__sync_fetch_and_and_8): New function.
430         (__sync_fetch_and_xor_8): New function.
431         (__sync_fetch_and_nand_8): New function.
432         (__do_and_fetch): New macro.
433         (__atomic_do_and_fetch): Use __do_and_fetch.
434         (__sync_do_and_fetch): New macro.
435         (__sync_add_and_fetch_4): New function.
436         (__sync_sub_and_fetch_4): New function.
437         (__sync_or_and_fetch_4): New function.
438         (__sync_and_and_fetch_4): New function.
439         (__sync_xor_and_fetch_4): New function.
440         (__sync_nand_and_fetch_4): New function.
441         (__sync_add_and_fetch_8): New function.
442         (__sync_sub_and_fetch_8): New function.
443         (__sync_or_and_fetch_8): New function.
444         (__sync_and_and_fetch_8): New function.
445         (__sync_xor_and_fetch_8): New function.
446         (__sync_nand_and_fetch_8): New function.
447         (__sync_exchange_methods): New macro.
448         (__sync_val_compare_and_swap_4): New function.
449         (__sync_bool_compare_and_swap_4): New function.
450         (__sync_lock_test_and_test_4): New function.
451         (__sync_val_compare_and_swap_8): New function.
452         (__sync_bool_compare_and_swap_8): New function.
453         (__sync_lock_test_and_test_8): New function.
454         (__subword_cmpxchg_body): New macro.
455         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
456         (__atomic_compare_exchange_2): Ditto.
457         (__sync_subword_cmpxchg): New macro.
458         (__sync_val_compare_and_swap_1): New function.
459         (__sync_bool_compare_and_swap_1): New function.
460         (__sync_val_compare_and_swap_2): New function.
461         (__sync_bool_compare_and_swap_2): New function.
462         (__atomic_subword): Rename to ...
463         (__subword): ... New name.
464         (__atomic_subword_fetch): Use __subword.
465         (__sync_subword_fetch): New macro.
466         (__sync_fetch_and_add_1): New function.
467         (__sync_fetch_and_sub_1): New function.
468         (__sync_fetch_and_or_1): New function.
469         (__sync_fetch_and_and_1): New function.
470         (__sync_fetch_and_xor_1): New function.
471         (__sync_fetch_and_nand_1): New function.
472         (__sync_fetch_and_add_2): New function.
473         (__sync_fetch_and_sub_2): New function.
474         (__sync_fetch_and_or_2): New function.
475         (__sync_fetch_and_and_2): New function.
476         (__sync_fetch_and_xor_2): New function.
477         (__sync_fetch_and_nand_2): New function.
478         (__sync_add_and_fetch_1): New function.
479         (__sync_sub_and_fetch_1): New function.
480         (__sync_or_and_fetch_1): New function.
481         (__sync_and_and_fetch_1): New function.
482         (__sync_xor_and_fetch_1): New function.
483         (__sync_nand_and_fetch_1): New function.
484         (__sync_add_and_fetch_2): New function.
485         (__sync_sub_and_fetch_2): New function.
486         (__sync_or_and_fetch_2): New function.
487         (__sync_and_and_fetch_2): New function.
488         (__sync_xor_and_fetch_2): New function.
489         (__sync_nand_and_fetch_2): New function.
490         (__atomic_subword_lock): Use __subword.
491         (__sync_subword_lock): New macro.
492         (__sync_lock_test_and_set_1): New function.
493         (__sync_lock_test_and_set_2): New function.
495 2014-01-25  Walter Lee  <walt@tilera.com>
497         * config/tilepro/atomic.c (BIT_OFFSET): Define.
498         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
499         (__atomic_subword): Ditto.
501 2014-01-25  Walter Lee  <walt@tilera.com>
503         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
504         a prefix op argument.
505         (__atomic_nand_fetch_4): Add prefix op.
506         (__atomic_nand_fetch_8): Ditto.
508 2014-01-21  Baruch Siach <barch@tkos.co.il>
510         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
512 2014-01-09  Rong Xu  <xur@google.com>
514         * libgcov-driver.c (this_prg): make it local to save
515         bss space.
516         (gcov_exit_compute_summary): Ditto.
517         (gcov_exit_merge_gcda): Ditto.
518         (gcov_exit_merge_summary): Ditto.
519         (gcov_exit_dump_gcov): Ditto.
521 2014-01-08  Rong Xu  <xur@google.com> 
523         * libgcov-driver.c: Use libgcov.h.
524         (buffer_fn_data): Use xmalloc instead of malloc.
525         (gcov_exit_merge_gcda): Ditto.
526         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
527         * libgcov.h: New common header files for libgcov-*.h.
528         * libgcov-interface.c: Use libgcov.h
529         * libgcov-merge.c: Ditto.
530         * libgcov-profiler.c: Ditto.
531         * Makefile.in: Add dependence to libgcov.h
533 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
535         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
536         case of small numerator and finite nonzero result.
538 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
540         Update copyright years
542 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
544         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
545         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
546         config/arc/dp-hack.h, config/arc/fp-hack.h,
547         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
548         config/arc/ieee-754/arc600-dsp/divdf3.S,
549         config/arc/ieee-754/arc600-dsp/divsf3.S,
550         config/arc/ieee-754/arc600-dsp/muldf3.S,
551         config/arc/ieee-754/arc600-dsp/mulsf3.S,
552         config/arc/ieee-754/arc600-mul64/divdf3.S,
553         config/arc/ieee-754/arc600-mul64/divsf3.S,
554         config/arc/ieee-754/arc600-mul64/muldf3.S,
555         config/arc/ieee-754/arc600-mul64/mulsf3.S,
556         config/arc/ieee-754/arc600/divsf3.S,
557         config/arc/ieee-754/arc600/mulsf3.S,
558         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
559         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
560         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
561         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
562         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
563         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
564         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
565         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
566         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
567         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
568         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
569         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
570         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
571         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
572         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
573         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
574         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
575         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
576         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
577         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
578         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
579         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
580         vtv_start_preinit.c: Use the standard form for the copyright notice.
582 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
583             Chung-Lin Tang  <cltang@codesourcery.com>
584             Based on patches from Altera Corporation
586         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
587         * config/nios2/lib2-nios2.h: New file.
588         * config/nios2/lib2-divmod-hi.c: New file.
589         * config/nios2/linux-unwind.h: New file.
590         * config/nios2/lib2-divmod.c: New file.
591         * config/nios2/linux-atomic.c: New file.
592         * config/nios2/t-nios2: New file.
593         * config/nios2/crti.asm: New file.
594         * config/nios2/t-linux: New file.
595         * config/nios2/lib2-divtable.c: New file.
596         * config/nios2/lib2-mul.c: New file.
597         * config/nios2/tramp.c: New file.
598         * config/nios2/crtn.asm: New file.
600 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
602         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
603         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
604         from cpuid.h to check vendor signatures.
606 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
608         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
609         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
610         (get_amd_cpu): Likewise.
612 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
614         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
615         Haswell.
617 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
618             H.J. Lu  <hongjiu.lu@intel.com>
620         PR target/59422
621         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
622         and AMD_JAGUAR.
623         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
624         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
625         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
626         FEATURE_XOP and FEATURE_FMA.
627         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
628         AMDFAM15H_BDVER3.
629         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
630         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
631         FEATURE_FMA4 and FEATURE_XOP.
633 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
635         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
636         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
637         (get_intel_cpu): Updated.
639 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
641         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
643 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
645         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
646         instructions when __SSE_MATH__ is defined.
648 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
650         * config.host (microblaze-*-rtems*): New.
652 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
654         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
655         architectures that do not have hardware divide instruction.
656         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
658 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
660         * longlong.h: Delete (moved to include/).
662 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
664         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
665         of normal number and qNaN to not raise an inexact exception.
667 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
669         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
671 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
673         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
674         for correct opcodes on BE.
676 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
678         * soft-fp/op-4.h: Update from glibc.
680 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
682         * libgcc2.c (__udivmoddi4): Define new implementation when
683         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
684         divide instructions.
686 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
688         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
690 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
692         * config/t-softfp (soft-fp-objects-base): New variable.
693         (soft-fp-objects): Use it.
695 2013-11-23  David Edelson  <dje.gcc@gmail.com>
696             Andrew Dixie  <andrewd@gentrack.com>
698         PR target/33704
699         * config/rs6000/aixinitfini.c: New file.
700         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
701         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
702         symbols.
704 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
706         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
708 2013-11-18  Jan Hubicka  <jh@suse.cz>
710         * libgcov-driver.c (run_accounted): Make global level static.
711         (gcov_exit_merge_summary): Silence warning; do not clear
712         run_accounted here.
713         (gcov_exit): Clear it here.
715         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
716         run_accounted.
718         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
719         (all_prg, crc32): Remove static vars.
720         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
721         all_prg.
722         (gcov_exit_merge_gcda): Add crc32 parameter.
723         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
724         do not account run if it was already accounted.
725         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
726         (gcov_exit): Initialize all_prg; update.
728 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
730         * configure: Regenerate.
732 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
733             Alan Modra  <amodra@gmail.com>
735         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
736         (frob_update_context): Use it.
738 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
739             Alan Modra  <amodra@gmail.com>
741         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
742         (trampoline_initial): Provide ELFv2 variant.
743         (__trampoline_setup): Likewise.
745         * config/rs6000/linux-unwind.h (frob_update_context): Do not
746         check for AIX indirect function call sequence if _CALL_ELF == 2.
748 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
749             Alan Modra  <amodra@gmail.com>
751         * config/rs6000/linux-unwind.h (get_regs): Do not support
752         old kernel versions if _CALL_ELF == 2.
753         (frob_update_context): Do not support PLT stub variants only
754         generated by old linkers if _CALL_ELF == 2.
756 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
757             Alan Modra  <amodra@gmail.com>
759         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
760         location of CR save area for 64-bit little-endian systems.
762 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
764         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
765         in tmake_file.
766         * config/arm/t-vxworks: Delete.
768 2013-11-10  Kai Tietz  <ktietz@redhat.com>
770         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
771         Increment load-count on use of LIBGCC_SONAME DLL.
772         (hmod_libgcc): New static variable to hold handle of
773         LIBGCC_SONAME DLL.
774         (__gcc_deregister_frame): Decrement load-count of
775         LIBGCC_SONAME DLL.
777 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
779         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
780         availability.
781         * configure: Regenerate
783 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
785         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
786         FP_EX_DENORM.  Store result to volatile location after SSE division
787         to close interrupt window.  Remove unneeded fwait after x87
788         division since interrupt window will be closed by emitted fstp.
789         Rewrite FP_EX_INEXACT handling.
791 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
793         * soft-fp/README: Update.
794         * soft-fp/adddf3.c: Update from glibc.
795         * soft-fp/addsf3.c: Likewise.
796         * soft-fp/addtf3.c: Likewise.
797         * soft-fp/divdf3.c: Likewise.
798         * soft-fp/divsf3.c: Likewise.
799         * soft-fp/divtf3.c: Likewise.
800         * soft-fp/double.h: Likewise.
801         * soft-fp/eqdf2.c: Likewise.
802         * soft-fp/eqsf2.c: Likewise.
803         * soft-fp/eqtf2.c: Likewise.
804         * soft-fp/extenddftf2.c: Likewise.
805         * soft-fp/extended.h: Likewise.
806         * soft-fp/extendsfdf2.c: Likewise.
807         * soft-fp/extendsftf2.c: Likewise.
808         * soft-fp/extendxftf2.c: Likewise.
809         * soft-fp/fixdfdi.c: Likewise.
810         * soft-fp/fixdfsi.c: Likewise.
811         * soft-fp/fixdfti.c: Likewise.
812         * soft-fp/fixsfdi.c: Likewise.
813         * soft-fp/fixsfsi.c: Likewise.
814         * soft-fp/fixsfti.c: Likewise.
815         * soft-fp/fixtfdi.c: Likewise.
816         * soft-fp/fixtfsi.c: Likewise.
817         * soft-fp/fixtfti.c: Likewise.
818         * soft-fp/fixunsdfdi.c: Likewise.
819         * soft-fp/fixunsdfsi.c: Likewise.
820         * soft-fp/fixunsdfti.c: Likewise.
821         * soft-fp/fixunssfdi.c: Likewise.
822         * soft-fp/fixunssfsi.c: Likewise.
823         * soft-fp/fixunssfti.c: Likewise.
824         * soft-fp/fixunstfdi.c: Likewise.
825         * soft-fp/fixunstfsi.c: Likewise.
826         * soft-fp/fixunstfti.c: Likewise.
827         * soft-fp/floatdidf.c: Likewise.
828         * soft-fp/floatdisf.c: Likewise.
829         * soft-fp/floatditf.c: Likewise.
830         * soft-fp/floatsidf.c: Likewise.
831         * soft-fp/floatsisf.c: Likewise.
832         * soft-fp/floatsitf.c: Likewise.
833         * soft-fp/floattidf.c: Likewise.
834         * soft-fp/floattisf.c: Likewise.
835         * soft-fp/floattitf.c: Likewise.
836         * soft-fp/floatundidf.c: Likewise.
837         * soft-fp/floatundisf.c: Likewise.
838         * soft-fp/floatunditf.c: Likewise.
839         * soft-fp/floatunsidf.c: Likewise.
840         * soft-fp/floatunsisf.c: Likewise.
841         * soft-fp/floatunsitf.c: Likewise.
842         * soft-fp/floatuntidf.c: Likewise.
843         * soft-fp/floatuntisf.c: Likewise.
844         * soft-fp/floatuntitf.c: Likewise.
845         * soft-fp/gedf2.c: Likewise.
846         * soft-fp/gesf2.c: Likewise.
847         * soft-fp/getf2.c: Likewise.
848         * soft-fp/ledf2.c: Likewise.
849         * soft-fp/lesf2.c: Likewise.
850         * soft-fp/letf2.c: Likewise.
851         * soft-fp/muldf3.c: Likewise.
852         * soft-fp/mulsf3.c: Likewise.
853         * soft-fp/multf3.c: Likewise.
854         * soft-fp/negdf2.c: Likewise.
855         * soft-fp/negsf2.c: Likewise.
856         * soft-fp/negtf2.c: Likewise.
857         * soft-fp/op-1.h: Likewise.
858         * soft-fp/op-2.h: Likewise.
859         * soft-fp/op-4.h: Likewise.
860         * soft-fp/op-8.h: Likewise.
861         * soft-fp/op-common.h: Likewise.
862         * soft-fp/quad.h: Likewise.
863         * soft-fp/single.h: Likewise.
864         * soft-fp/soft-fp.h: Likewise.
865         * soft-fp/subdf3.c: Likewise.
866         * soft-fp/subsf3.c: Likewise.
867         * soft-fp/subtf3.c: Likewise.
868         * soft-fp/truncdfsf2.c: Likewise.
869         * soft-fp/trunctfdf2.c: Likewise.
870         * soft-fp/trunctfsf2.c: Likewise.
871         * soft-fp/trunctfxf2.c: Likewise.
872         * soft-fp/unorddf2.c: Likewise.
873         * soft-fp/unordsf2.c: Likewise.
874         * soft-fp/unordtf2.c: Likewise.
876 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
878         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
879         (_FP_MUL_MEAT_D): Ditto.
880         (_FP_DIV_MEAT_S): Ditto.
881         (_FP_DIV_MEAT_D): Ditto.
882         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
883         t-softfp-sfdf and t-softfp to tmake_file.
885 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
887         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
888         * config/i386/crtprec.c: Ditto.
890 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
891             Shiva Chen  <shiva0217@gmail.com>
893         * config.host (nds32*-elf*): Add nds32 target.
894         * config/nds32 : New directory and files.
896 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
898         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
899         * config.host (cpu_type) <Setting default>: Add entry for
900         crisv32-*-*.
901         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
902         <crisv32-*-linux*>: Adjust.
903         * longlong.h: Wrap the whole CRIS section in a single
904         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
905         and sub_ddmmss.
906         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
907         defined.
908         [__CRIS__] (__umulsidi3): Define.
909         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
910         * config/cris/sfp-machine.h: New file.
911         * config/cris/umulsidi3.S: New file.
912         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
913         * config/cris/arit.c (SIGNMULT): New macro.
914         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
915         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
916         saving 3 out of originally 33 cycles from the fastest
917         path, 3 out of 54 from the medium path and one from the longest
918         path.  Improve comments.
920 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
922         * sync.c: Remove static aliases and define each function directly
923         under its real name.
925 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
927         * config.host (hppa*64*-*-linux*): Define extra_parts.
928         (hppa*-*-linux*): Likewise.
930 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
932         * config/arc/crtgend.S: Add 2013 to Copyright years.
933         * config/arc/gmon/atomic.h: Likewise.
934         * config/arc/gmon/auxreg.h: Likewise.
935         * config/arc/gmon/sys/gmon_out.h: Likewise.
936         * config/arc/gmon/sys/gmon.h: Likewise.
937         * config/arc/gmon/prof-freq.c: Likewise.
938         * config/arc/gmon/mcount.c: Likewise.
939         * config/arc/gmon/prof-freq-stub.S: Likewise.
940         * config/arc/gmon/gmon.c: Likewise.
941         * config/arc/gmon/machine-gmon.h: Likewise.
942         * config/arc/gmon/profil.S: Likewise.
943         * config/arc/gmon/dcache_linesz.S: Likewise.
944         * config/arc/crtg.S: Likewise.
945         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
946         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
947         * config/arc/ieee-754/adddf3.S: Likewise.
948         * config/arc/ieee-754/truncdfsf2.S: Likewise.
949         * config/arc/ieee-754/fixsfsi.S: Likewise.
950         * config/arc/ieee-754/gtsf2.S: Likewise.
951         * config/arc/ieee-754/floatsisf.S: Likewise.
952         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
953         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
954         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
955         * config/arc/ieee-754/fixdfsi.S: Likewise.
956         * config/arc/ieee-754/addsf3.S: Likewise.
957         * config/arc/ieee-754/gesf2.S: Likewise.
958         * config/arc/ieee-754/floatsidf.S: Likewise.
959         * config/arc/ieee-754/extendsfdf2.S: Likewise.
960         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
961         * config/arc/ieee-754/gtdf2.S: Likewise.
962         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
963         * config/arc/ieee-754/uneqdf2.S: Likewise.
964         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
965         * config/arc/ieee-754/uneqsf2.S: Likewise.
966         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
967         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
968         * config/arc/ieee-754/eqdf2.S: Likewise.
969         * config/arc/ieee-754/ordsf2.S: Likewise.
970         * config/arc/ieee-754/divsf3.S: Likewise.
971         * config/arc/ieee-754/divdf3.S: Likewise.
972         * config/arc/ieee-754/floatunsidf.S: Likewise.
973         * config/arc/ieee-754/orddf2.S: Likewise.
974         * config/arc/ieee-754/eqsf2.S: Likewise.
975         * config/arc/ieee-754/gedf2.S: Likewise.
976         * config/arc/crtn.S: Likewise.
977         * config/arc/crti.S: Likewise.
978         * config/arc/t-arc700-uClibc: Likewise.
979         * config/arc/asm.h: Likewise.
980         * config/arc/libgcc-excl.ver: Likewise.
981         * config/arc/t-arc-newlib: Likewise.
982         * config/arc/divtab-arc700.c: Likewise.
983         * config/arc/initfini.c: Likewise.
984         * config/arc/fp-hack.h: Likewise.
986 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
987             Diego Novillo  <dnovillo@google.com>
989         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
990         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
991         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
992         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
994 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
995             Brendan Kehoe  <brendan@zen.org>
996             Simon Cook  <simon.cook@embecosm.com>
998         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
999         * config/arc: New directory.
1000         * longlong.h [__arc__] (umul_ppmm): Remove.
1001         [__arc__] (__umulsidi3): Define.
1002         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
1003         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
1005 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
1007         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
1008         CreateSemaphoreA.
1009         * config/i386/gthr-win32.h: Likewise.
1011 2013-09-16  DJ Delorie  <dj@redhat.com>
1013         * config/rl78/vregs.h: Add G10 register definitions.
1014         * config/rl78/lib2mul.c: Enable for RL78/G10.
1015         * config/rl78/lib2div.c: Likewise.
1016         * config/rl78/lshrsi3.S: Use vregs.h.
1017         * config/rl78/cmpsi2.S: Likewise.
1018         * config/rl78/trampoline.S: Likewise.
1019         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
1021 2013-09-14  DJ Delorie  <dj@redhat.com>
1022             Nick Clifton  <nickc@redhat.com>
1024         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
1025         * config/rl78/vregs.h: New.
1026         * config/rl78/signbit.S: New file.  Implements signbit function.
1027         * config/rl78/divmodsi.S: New.
1028         * config/rl78/divmodhi.S: New.
1029         * config/rl78/divmodqi.S: New.
1030         * config/rl78/t-rl78: Build them here...
1031         * config/rl78/lib2div.c: ...but not here.
1033 2013-09-12  DJ Delorie  <dj@redhat.com>
1035         * config.host (msp*-*-elf): New.
1036         * config/msp430/: New port.
1038 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
1040         PR gcov-profile/58127
1041         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
1042         __thread var for emulated TLS.
1043         (__gcov_indirect_call_counters): Likewise.
1045 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
1046             Catherine Moore  <clm@codesourcery.com>
1047             Richard Sandiford <rdsandiford@googlemail.com>
1049         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
1050         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
1051         (CALL_STUB_NO_RET): Likewise.
1052         (CALL_STUB_RET): Likewise.
1053         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
1054         __mips16_ret call/return stub symbols.
1055         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
1056         to tmake_file.
1058 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
1060         * config.host <mips*-*-linux*>: Remove a stray comment.
1062 2013-08-10  Jan Hubicka  <jh@suse.cz>
1064         Work around binutils PR14342
1065         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
1066         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
1067         (L_gcov_indirect_call_profiler_v2): New.
1069 2013-08-06  Jan Hubicka  <jh@suse.cz>
1071         * libgcov.c (__gcov_indirect_call_callee,
1072         __gcov_indirect_call_counters): New global vars.
1073         (__gcov_indirect_call_profiler): replace by ...
1074         (__gcov_indirect_call_profiler_v2) ... this one.
1076 2013-08-06  Caroline Tice  <cmtice@google.com>
1078         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
1079         vtv_start_preinit.o and vtv_end_preinit.o.
1080         * configure.ac: Add code to check/set enable_vtable_verify.
1081         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
1082         true.
1083         * vtv_start_preinit.c: New file.
1084         * vtv_end_preinit.c: New file.
1085         * vtv_start.c: New file.
1086         * vtv_end.c: New file.
1087         * configure: Regenerated.
1089 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
1091         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
1092         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
1093         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
1094         GPL-3.0-with-GCC-exception.
1096 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
1098         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
1099         ISA and up.
1101 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1103         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
1104         mapping for FPRs when creating the fallback framestate.
1106 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
1108         PR target/57516
1109         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
1110         (__round_s2_const, __round_u2_const)
1111         (__round_s4_const, __round_u4_const, __round_x8):
1112         Saturate result if addition result cannot be represented.
1114 2013-07-15  Matthias Klose  <doko@ubuntu.com>
1116         * libgcc2.c: Don't include <limits.h>.
1118 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
1120         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
1122 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
1124         PR target/29776
1125         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
1127 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
1129         PR middle-end/36041
1130         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
1131         Define.
1132         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
1133         instead of table lookups.
1134         (__popcountDI2): Likewise.
1136 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
1138         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
1139         correctly.
1141 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
1143         PR other/53317
1144         * soft-fp/adddf3.c: Update from glibc.
1145         * soft-fp/addsf3.c: Likewise.
1146         * soft-fp/addtf3.c: Likewise.
1147         * soft-fp/divdf3.c: Likewise.
1148         * soft-fp/divsf3.c: Likewise.
1149         * soft-fp/divtf3.c: Likewise.
1150         * soft-fp/double.h: Likewise.
1151         * soft-fp/eqdf2.c: Likewise.
1152         * soft-fp/eqsf2.c: Likewise.
1153         * soft-fp/eqtf2.c: Likewise.
1154         * soft-fp/extenddftf2.c: Likewise.
1155         * soft-fp/extended.h: Likewise.
1156         * soft-fp/extendsfdf2.c: Likewise.
1157         * soft-fp/extendsftf2.c: Likewise.
1158         * soft-fp/fixdfdi.c: Likewise.
1159         * soft-fp/fixdfsi.c: Likewise.
1160         * soft-fp/fixsfdi.c: Likewise.
1161         * soft-fp/fixsfsi.c: Likewise.
1162         * soft-fp/fixtfdi.c: Likewise.
1163         * soft-fp/fixtfsi.c: Likewise.
1164         * soft-fp/fixunsdfdi.c: Likewise.
1165         * soft-fp/fixunsdfsi.c: Likewise.
1166         * soft-fp/fixunssfdi.c: Likewise.
1167         * soft-fp/fixunssfsi.c: Likewise.
1168         * soft-fp/fixunstfdi.c: Likewise.
1169         * soft-fp/fixunstfsi.c: Likewise.
1170         * soft-fp/floatdidf.c: Likewise.
1171         * soft-fp/floatdisf.c: Likewise.
1172         * soft-fp/floatditf.c: Likewise.
1173         * soft-fp/floatsidf.c: Likewise.
1174         * soft-fp/floatsisf.c: Likewise.
1175         * soft-fp/floatsitf.c: Likewise.
1176         * soft-fp/floatundidf.c: Likewise.
1177         * soft-fp/floatundisf.c: Likewise.
1178         * soft-fp/floatunditf.c: Likewise.
1179         * soft-fp/floatunsidf.c: Likewise.
1180         * soft-fp/floatunsisf.c: Likewise.
1181         * soft-fp/floatunsitf.c: Likewise.
1182         * soft-fp/gedf2.c: Likewise.
1183         * soft-fp/gesf2.c: Likewise.
1184         * soft-fp/getf2.c: Likewise.
1185         * soft-fp/ledf2.c: Likewise.
1186         * soft-fp/lesf2.c: Likewise.
1187         * soft-fp/letf2.c: Likewise.
1188         * soft-fp/muldf3.c: Likewise.
1189         * soft-fp/mulsf3.c: Likewise.
1190         * soft-fp/multf3.c: Likewise.
1191         * soft-fp/negdf2.c: Likewise.
1192         * soft-fp/negsf2.c: Likewise.
1193         * soft-fp/negtf2.c: Likewise.
1194         * soft-fp/op-1.h: Likewise.
1195         * soft-fp/op-2.h: Likewise.
1196         * soft-fp/op-4.h: Likewise.
1197         * soft-fp/op-8.h: Likewise.
1198         * soft-fp/op-common.h: Likewise.
1199         * soft-fp/quad.h: Likewise.
1200         * soft-fp/single.h: Likewise.
1201         * soft-fp/soft-fp.h: Likewise.
1202         * soft-fp/subdf3.c: Likewise.
1203         * soft-fp/subsf3.c: Likewise.
1204         * soft-fp/subtf3.c: Likewise.
1205         * soft-fp/truncdfsf2.c: Likewise.
1206         * soft-fp/trunctfdf2.c: Likewise.
1207         * soft-fp/trunctfsf2.c: Likewise.
1208         * soft-fp/unorddf2.c: Likewise.
1209         * soft-fp/unordsf2.c: Likewise.
1210         * soft-fp/unordtf2.c: Likewise.
1211         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
1212         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1213         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1214         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1215         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1216         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1217         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1218         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1219         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1220         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
1221         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
1222         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1224 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
1226         * config/mips/lib2funcs.c: New file.
1227         * config/mips/t-mips (LIB2ADD_ST): Add it.
1229 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
1231         PR target/6526
1232         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
1233         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
1235 2013-06-08  Walter Lee  <walt@tilera.com>
1237         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
1238         Replace int64_t with long long.  Add __extension__ where
1239         appropriate.
1240         * config/tilepro/atomic.c: Include config.h.
1242 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
1244         * config.host (arm-wrs-vxworks): Configure with other soft float.
1246 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
1248         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
1249         (mips64r5900el-*-elf*): New configurations.
1251 2013-06-04  Alan Modra  <amodra@gmail.com>
1253         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
1255 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
1257         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
1259 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
1261         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
1262         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
1263         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
1265 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
1267         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
1268         (powerpc-wrs-vxworks): Likewise.
1270 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
1272         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
1273         signal frames as well.
1274         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
1275         STACK_BIAS to the CFA offset.
1277 2013-05-17  Richard Henderson  <rth@redhat.com>
1279         PR target/49146
1280         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
1281         (execute_cfa_program): Use it when storing to fs->regs.
1283 2013-05-08  Kai Tietz  <ktietz@redhat.com>
1285         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
1286         (__deregister_frame_info): Likewise.
1288 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
1290         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
1291         NaN's payload.
1293         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
1295 2013-04-25  Alan Modra  <amodra@gmail.com>
1297         * config.host: Match little-endian powerpc-linux.
1299 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
1301         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
1302         as 'unsigned long long' instead of 'unsigned long'.
1303         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
1304         'signed long'.
1306 2013-04-10  Julian Brown  <julian@codesourcery.com>
1308         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
1309         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
1310         unsigned char/unsigned short.
1311         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
1313 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1315         PR other/55274
1316         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
1318 2013-04-04  Meador Inge  <meadori@codesourcery.com>
1320         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
1321         computing the location of the link register.
1322         (aeabi_uldivmod): Ditto.
1324 2013-03-27  Kai Tietz  <ktietz@redhat.com>
1326         * config.host: Add support for cygwin x64 target.
1327         * configure: Regenerated.
1329 2013-03-26  Walter Lee  <walt@tilera.com>
1331         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
1332         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
1334 2013-03-25  Kai Tietz  <ktietz@redhat.com>
1336         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
1338 2013-03-20  Robert Mason  <rbmj@verizon.net>
1340         * config/vxlib-tls.c (__gthread_get_tsd_data,)
1341         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
1342         (__gthread_leave_tsd_dtor_context): Add prototypes.
1343         (tls_delete_hook): Update.
1345 2013-03-20  Catherine Moore  <clm@codesourcery.com>
1346             Joseph Myers  <joseph@codesourcery.com>
1347             Chao-ying Fu  <fu@mips.com>
1349         * config/mips/mips16.S:  Don't build for microMIPS.
1350         * config/mips/linux-unwind.h: Handle microMIPS frame.
1351         * config/mips/crtn.S (fini, init): New labels.
1353 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
1355         PR tree-optimization/53265
1356         * unwind-dw2.c (execute_cfa_program): Avoid
1357         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
1358         on targets with DWARF_FRAME_REGISTERS < 32.
1360 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
1362         PR target/49880
1363         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
1364         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
1366 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
1368         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
1369         sandybridge processors.
1371 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
1373         PR target/56529
1374         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
1375         inclusion list.
1377 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
1379         * config/microblaze/crti.S: Setup stack protection at entry
1381 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
1383         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
1384         (__rotldi3): Shift bytewise if applicable.
1386 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
1388         * config/aarch64/sync-cache.c
1389         (__aarch64_sync_cache_range): Silence warnings.
1391 2013-02-25  Catherine Moore  <clm@codesourcery.com>
1393         Revert:
1394         2013-02-24  Catherine Moore  <clm@codesourcery.com>
1395             Joseph Myers  <joseph@codesourcery.com>
1396             Chao-ying Fu  <fu@mips.com>
1398         * config/mips/mips16.S:  Don't build for microMIPS.
1399         * config/mips/linux-unwind.h: Handle microMIPS frame.
1400         * config/mips/crtn.S (fini, init): New labels.
1402 2013-02-24  Catherine Moore  <clm@codesourcery.com>
1403             Joseph Myers  <joseph@codesourcery.com>
1404             Chao-ying Fu  <fu@mips.com>
1406         * config/mips/mips16.S:  Don't build for microMIPS.
1407         * config/mips/linux-unwind.h: Handle microMIPS frame.
1408         * config/mips/crtn.S (fini, init): New labels.
1410 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
1411         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000 
1412         as dividend.
1414 2013-02-16  Alan Modra  <amodra@gmail.com>
1416         PR target/55431
1417         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
1418         (ppc_fallback_frame_state): Always set up save locations for fp
1419         and altivec.  Don't bother with non-callee-saved regs, r0-r13
1420         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
1422 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
1424         PR target/54222
1425         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
1426         _ssmulHA, _ssmulSA.
1427         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
1428         _ssmulha3, _usmulusa3, _ssmulsa3.
1429         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
1430         (__muldi3): XCALL __muldi3_6 instead of rcall.
1431         (__umulsidi3, __mulsidi3): New functions.
1432         (do_prologue_saves, do_epilogue_restores): New .macros.
1433         (__divdi3_moddi3): Use them.
1434         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
1435         (__usmulusa3, __ssmulsa3): New functions.
1437 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
1438             Jack Howarth  <howarth@bromo.med.uc.edu>
1439             Patrick Marlier  <patrick.marlier@gmail.com>
1441         PR libitm/55693
1442         * config/darwin-crt-tm.c: Remove dummy functions hack.
1444 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
1446         PR target/54222
1447         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
1448         * config/avr/lib2-object.mk: New iterator to build objects from it.
1449         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
1450         lib2funcs.c.
1451         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
1452         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
1453         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
1454         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
1455         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
1456         * config/avr/lib1funcs-fixed.S: Implement them.
1458 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
1460         Update copyright years.
1462 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
1464         PR target/54601
1465         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
1466         Add crtcxa to extra_parts.
1467         * config/rs6000/exit.h: New file.
1468         * config/rs6000/cxa_atexit.c: New file.
1469         * config/rs6000/cxa_finalize.c: New file.
1470         * config/rs6000/crtcxa.c: New file.
1471         * config/rs6000/t-aix-cxa: New file.
1472         * config/rs6000/libgcc-aix-cxa.ver: New file.
1474 2013-01-31  Nick Clifton  <nickc@redhat.com>
1476         * config/v850/lib1funcs.S: Add support for e3v5 architecture
1477         variant.
1479 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
1481         PR target/54222
1482         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
1483         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
1484         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
1485         _divQQ,  _divHQ,  _divHA,  _divSA,
1486         _divUQQ, _divUHQ, _divUHA, _divUSA.
1488 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
1490         * config.host(microblaze*-linux*): tmake_file: Remove
1491         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
1492         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
1493         to exclude functions from being built with libgcc.c and use
1494         the microblaze assembly.
1496 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
1498         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
1499         extra_parts.
1501 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
1503         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
1504         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
1505         __UINTPTR_TYPE__; also cast 'base' to the same type before the
1506         alignment operation.
1508 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
1510         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
1511         loop start address for cache clearing.
1513 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
1515         * config/avr/lib1funcs.S: Remove trailing blanks.
1516         * config/avr/lib1funcs-fixed.S: Ditto.
1518 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
1520         * config/avr/avr-lib.h: Add GPL copyright notice.
1522 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
1524         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
1525         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
1526         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
1527         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
1529 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
1531         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
1532         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
1534 2013-01-04  Nick Clifton  <nickc@redhat.com>
1536         * config/v850/lib1funcs.S: Only provide CALLT support functions if
1537         the CALLT instruction is supported.
1539 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
1541         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
1542         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
1544 2012-12-13  John Tytgat  <John@bass-software.com>
1546         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
1547         is 25.
1549 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
1551         PR libgcc/55451
1552         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
1553         undefined signed overflows.
1555 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
1557         PR target/55344
1558         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
1560 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
1562         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
1563         (FP_TRAPPING_EXCEPTIONS): Define.
1564         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
1565         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
1567 2012-12-04  Richard Henderson  <rth@redhat.com>
1569         PR bootstrap/55571
1570         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
1572 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
1574         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
1575         (FP_EX_SHIFT): Define.
1576         (FP_TRAPPING_EXCEPTIONS): Define.
1578 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
1580         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
1581         (FP_ROUNDMODE): Use FP_RND_MASK.
1582         * config/aarch64/sfp-exceptions.c: New.
1583         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1584         Use __sfp_handle_exceptions.
1586 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
1588         * config.host: (arm*-*-freebsd*): Remove.
1589         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
1590         (arm*-*-elf*): Remove.
1591         (arm*-*-wince-pe*): Remove.
1592         * arm/unwind-arm.c (struct fpa_reg): Delete.
1593         (struct fpa_regs): Delete.
1594         (phase1_vrs): Remove fpa element.
1595         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
1596         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
1597         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
1598         * ieee754-sf.S (floatundisf): Remove FPA support.
1599         (floatdisf): Likewise.
1600         * ieee75f-df.S (floatundidf): Likewise.
1601         (floatdidf): Likewise.
1603 2012-11-29  Kai Tietz  <ktietz@redhat.com>
1605         PR target/55445
1606         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
1607         * unwind-generic.h: Likewise.
1608         * unwind-seh.c: Likewise.
1610 2012-11-28  Richard Henderson  <rth@redhat.com>
1612         PR libgcc/48076
1613         * emutls.c (__emutls_get_address): Avoid race condition between
1614         obj->loc.offset read and emutls_key initialization.
1616 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
1618         Adjust decimal point of signed accum mode to GCC default.
1620         PR target/54222
1621         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
1622         _divqq_helper.
1623         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
1624         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
1625         (__mulha3, __mulsa3)
1626         (__divqq3, __divha3, __divsa3): Adjust to new position of
1627         decimal point of signed accum types.
1629         (__mulusa3_round): New function.
1630         (__mulusa3): Use it.
1631         (__divqq_helper): New function.
1632         (__udivuqq3): Use it.
1634 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
1636         PR bootstrap/55370
1637         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
1639 2012-11-18  Teresa Johnson  <tejohnson@google.com>
1641         PR bootstrap/55051
1642         * libgcov.c (gcov_exit): Remove merged program summary
1643         comparison unless !GCOV_LOCKED.
1645 2012-11-15  Marcus Shawcroft <marcus.shawcroft@arm.com>
1647         * soft-fp: Updated from glibc upstream.
1649 2012-11-06  Ian Lance Taylor  <iant@google.com>
1651         * generic-morestack.c (__generic_morestack): Align the returned
1652         stack pointer to a 32 byte boundary.
1653         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
1654         increment the return address until we have decided that we don't
1655         have a varargs function.
1656         (__morestack) [32-bit]: Align stack correctly when calling C
1657         functions.
1658         (__morestack) [64-bit]: Likewise.
1660 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
1662         * configure: Regenerate.
1664 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
1666         PR target/55175
1667         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
1668         * config/i386/sfp-machine.h: Guard exception handling
1669         code with _SOFT_FLOAT.
1670         * config/i386/32/sfp-machine.h: Guard rounding handling
1671         code with _SOFT_FLOAT.
1672         * config/i386/64/sfp-machine.h: Ditto.
1674 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
1676         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
1677         as extra_parts.
1679 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
1681         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
1682         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
1683         when appropriate.  Correct structure element types.
1684         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
1685         -minline-all-stringops from compile flags.
1687 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
1689         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
1691 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
1693         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
1695 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1697         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
1698         tmake_file.
1700 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
1701             Jim MacArthur  <jim.macarthur@arm.com>
1702             Marcus Shawcroft  <marcus.shawcroft@arm.com>
1703             Nigel Stephens  <nigel.stephens@arm.com>
1704             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1705             Richard Earnshaw  <rearnsha@arm.com>
1706             Sofiane Naci  <sofiane.naci@arm.com>
1707             Stephen Thomas  <stephen.thomas@arm.com>
1708             Tejas Belagod  <tejas.belagod@arm.com>
1709             Yufeng Zhang  <yufeng.zhang@arm.com>
1711         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
1712         * config/aarch64/crti.S: New file.
1713         * config/aarch64/crtn.S: New file.
1714         * config/aarch64/linux-unwind.h: New file.
1715         * config/aarch64/sfp-machine.h: New file.
1716         * config/aarch64/sync-cache.c: New file.
1717         * config/aarch64/t-aarch64: New file.
1718         * config/aarch64/t-softfp: New file.
1720 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
1722         * config/mmix/crti.S: Mark program and data addresses using PRELD.
1723         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
1724         no-longer-needed LDBU insns.
1726 2012-10-18  Sebastian Huber <sebastian.huber@embedded-brains.de>
1728         * config.host
1729         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
1730         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
1732 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1734         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
1736 2012-10-15  Matthias Klose  <doko@ubuntu.com>
1738         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
1740 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
1742         * configure: Regenerate.
1743         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
1745 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
1747         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1748         instructions for 64bit targets only.
1750 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
1752         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
1753         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
1754         * config/i386/32/sfp-machine.h: ... here.
1755         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1756         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
1757         New defines.
1759 2012-10-07  Matthias Klose  <doko@ubuntu.com>
1761         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
1762         as unused.
1763         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
1765 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
1767         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
1768         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
1769         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
1770         (ElfW): Likewise.
1772 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
1774         PR other/53889
1775         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
1776         Fix parameter names.
1778 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
1780         PR target/33135
1781         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
1782         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
1783         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
1785 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
1787         PR target/50457
1788         * config/sh/linux-atomic.S: Delete.
1789         * config/sh/linux-atomic.c: New.
1790         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
1791         linux-atomic.c.  Add cflags to disable warnings.
1793 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
1795         PR other/53889
1796         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
1797         function.
1798         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
1799         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
1800         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
1801         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
1802         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
1803         Likewise.
1804         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
1805         Likewise.
1806         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
1807         Likewise.
1808         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
1809         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
1811 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
1813         * config.host (hppa-*-openbsd*): New target.
1814         * config/pa/t-openbsd: New file.
1816 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
1818         PR target/54222
1819         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
1820         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
1821         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
1822         (__divsa3): Use __negsi2 to negate r_quoL.
1823         * config/avr/lib1funcs.S (FALIAS): New macro.
1824         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
1825         (__negsi2): ...this new function.
1826         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
1827         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
1828         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
1829         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
1830         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
1831         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
1833 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
1835         PR target/54089
1836         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
1837         (lshrsi3): Reimplement as lshrsi3_r0.
1839 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
1841         PR target/46191
1842         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
1843         of libgcc.a.
1845 2012-09-07  Teresa Johnson  <tejohnson@google.com>
1847         PR gcov-profile/54487
1848         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
1849         differences.
1851 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
1853         PR target/54461
1854         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
1855         not configured --with-avrlibc=no.
1856         * config/avr/t-avrlibc: New file.
1857         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
1858         (DPBIT_FUNCS): Ditto.
1859         (TPBIT_FUNCS): Ditto.
1861 2012-09-04  Teresa Johnson  <tejohnson@google.com>
1863         * libgcov.c (struct gcov_summary_buffer): New structure.
1864         (gcov_histogram_insert): New function.
1865         (gcov_compute_histogram): Ditto.
1866         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
1867         histograms during summary merging.
1869 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
1871         * config.host (x86_64-*-openbsd*): New target.
1873 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
1875         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
1876         attribute.
1878 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
1880         PR target/54222
1881         * config/avr/t-avr (conv_X): Rename to func_X.
1883 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
1885         PR target/54222
1886         * config/avr/lib1funcs-fixed.S: New file.
1887         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
1888         after they are used.
1889         (neg2, neg4): New macros.
1890         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
1891         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
1892         (__umulhisi3): Speed up MUL variant if there is enough flash.
1893         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
1894         avr-modes.def.
1895         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
1896         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
1897         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
1898         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
1899         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
1900         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
1901         (LIB2FUNCS_EXCLUDE): Add supported functions.
1903 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
1905         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
1906         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
1907         libgcc-s-objects.
1908         * fixed-obj.mk: Only expand dependency if $o is not in
1909         LIB2FUNCS_EXCLUDE.
1911 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
1913         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
1915 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
1917         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
1918         depend on --enable-shared.
1919         ($(lib1asmfuncs-o)): Use %.vis files independent of
1920         --enable-shared.
1921         * static-object.mk ($(base)$(objext), $(base).vis)
1922         ($(base)_s$(objext)): Use same rules for visibility handling as in
1923         shared-object.mk.
1925 2012-08-21  Ian Lance Taylor  <iant@google.com>
1927         * config/i386/morestack.S (__morestack_non_split): Increase amount
1928         of space allocated for non-split code stack.
1930 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
1932         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
1933         even if inhibit_libc.
1935 2012-08-17  Julian Brown  <julian@codesourcery.com>
1937         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
1938         -fexceptions -fnon-call-exceptions if not defined.
1939         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
1940         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
1942 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
1944         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
1945         type.
1947 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
1949         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
1950         rs6000/t-slibgcc-aix.
1952 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
1954         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
1956 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
1958         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
1960 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
1962         PR driver/54171
1963         * Makefile.in (version): Replace top_srcdir with srcdir.
1965 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
1967         * Makefile.in (version): set to BASE-VER file from gcc directory.
1969 2012-08-01  Nick Clifton  <nickc@redhat.com>
1971         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
1972         Implements __clrsb for an HImode argument.
1974 2012-07-31  Nick Clifton  <nickc@redhat.com>
1976         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
1977         Implements __clrsb for an HImode argument.
1978         * config/stormy16/clrsbhi2.c: New file:
1979         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
1981 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
1983         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
1985 2012-07-19  Tristan Gingold  <gingold@adacore.com>
1986             Richard Henderson  <rth@redhat.com>
1988         * unwind-seh.c: New file.
1989         * unwind-generic.h: Include windows.h for SEH.
1990         (_Unwind_Exception): Use 6 private fields for SEH.
1991         (_GCC_specific_handler): Declare.
1992         * unwind-c.c (__gcc_personality_seh0): New function.
1993         Adjust for SEH.
1994         * config/i386/libgcc-cygming.ver: New file.
1995         * config/i386/t-seh-eh: New file.
1996         * config.host (x86_64-*-mingw*): Default to seh.
1998 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
2000         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
2002 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
2004         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
2005         __builtin_expect when checking for exceptions.
2006         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
2008 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
2010         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
2011         function declaration.
2012         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
2013         (FP_RND_MASK): New.
2014         * config/ia64/sfp-exceptions.c: New.
2015         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
2017 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
2019         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
2020         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
2021         * config/i386/64/sfp-machine: ... (delete here) ...
2022         * config/i386/sfp-machine.h: ... to here.
2023         (FP_EX_MASK): Remove.
2024         (FP_RND_MASK): New.
2025         (FP_INIT_ROUNDMODE): Declare asm as volatile.
2027 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
2029         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
2030         * config/i386/libgcc-sol2.ver: Ditto.
2031         * config/i386/libgcc-glibc.ver: Ditto.
2033 2012-06-11  Roland McGrath  <mcgrathr@google.com>
2035         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
2036         If __GLIBC__ is defined, refer to __pthread_key_create instead of
2037         pthread_cancel.
2039 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
2041         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
2042         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
2043         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
2044         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
2045         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
2046         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
2047         * config/i386/64/sfp-machine: ... (delete here) ...
2048         * config/i386/sfp-machine.h: ... to here.
2049         (FP_EX_MASK): New.
2050         (__sfp_handle_exceptions): New function declaration.
2051         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
2052         * config/i386/sfp-exceptions.c: New.
2053         * config/i386/t-softfp: New.
2054         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
2055         i386/t-softfp to tmake_file.
2057 2012-06-03  David S. Miller  <davem@davemloft.net>
2059         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
2060         change.
2062 2012-05-31  David S. Miller  <davem@davemloft.net>
2064         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
2065         multiply and divide instructions on 32-bit when V9.
2066         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
2068 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
2070         * config/arm/ieee754-df.S: Fix typos.
2071         * config/arm/ieee754-sf.S: Fix typos.
2072         * config/c6x/libunwind.S: Fix typos.
2073         * config/epiphany/udivsi3-float.c: Fix typos.
2074         * config/microblaze/muldi3_hard.S: Fix typos.
2075         * config/picochip/adddi3.S: Fix typos.
2076         * config/picochip/ashlsi3.S: Fix typos.
2077         * config/picochip/ashrsi3.S: Fix typos.
2078         * config/picochip/clzsi2.S: Fix typos.
2079         * config/picochip/cmpsi2.S: Fix typos.
2080         * config/picochip/divmod15.S: Fix typos.
2081         * config/picochip/divmodhi4.S: Fix typos.
2082         * config/picochip/divmodsi4.S: Fix typos.
2083         * config/picochip/longjmp.S: Fix typos.
2084         * config/picochip/lshrsi3.S: Fix typos.
2085         * config/picochip/parityhi2.S: Fix typos.
2086         * config/picochip/popcounthi2.S: Fix typos.
2087         * config/picochip/setjmp.S: Fix typos.
2088         * config/picochip/subdi3.S: Fix typos.
2089         * config/picochip/ucmpsi2.S: Fix typos.
2090         * config/picochip/udivmodhi4.S: Fix typos.
2091         * config/picochip/udivmodsi4.S: Fix typos.
2092         * config/spu/divv2df3.c: Fix typos.
2093         * config/spu/mfc_multi_tag_release.c: Fix typos.
2094         * config/spu/mfc_tag_release.c: Fix typos.
2095         * configure.ac: Fix typos.
2096         * configure: Regenerate.
2098 2012-05-25  Ian Lance Taylor  <iant@google.com>
2100         * config/i386/morestack.S (__morestack_non_split): Check whether
2101         caller is varargs and needs %bp to hold the stack frame on return.
2103 2012-05-25  Olivier Hainque  <hainque@adacore.com>
2105         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
2106         sequence in the non pic case on VxWorks.
2108 2012-05-24  Olivier Hainque  <hainque@adacore.com>
2110         * Makefile.in: Move dependency on install-unwind_h from
2111         "install-leaf" to "install".
2113 2012-05-24  Olivier Hainque  <hainque@adacore.com>
2115         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
2116         Use a separate command for stamp removals.
2118 2012-05-21  Andrew Pinski  <apinski@cavium.com>
2120         PR bootstrap/53183
2121         * configure.ac: Define the default includes to being none.
2122         * configure: Regenerate.
2124 2012-05-16  Olivier Hainque  <hainque@adacore.com>
2126         * Makefile.in (install-unwind_h): Rename into ...
2127         (install-unwind_h-forbuild): New target.
2128         (all): Use it instead of the former install-unwind_h.
2129         (install-unwind_h): Reinstate, copy to user install destination
2130         for include files, not to the internal gcc object directory one.
2131         (install-leaf): Depend on it.
2133 2012-05-15  Olivier Hainque  <hainque@adacore.com>
2135         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
2136         register numbers. LR_REGNO replaces R_LR.
2137         (ucontext_for): New, helper for ...
2138         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
2139         and 5.3 of ...
2140         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
2142 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2144         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
2145         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
2146         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
2147         i386/t-cpuinfo ...
2148         (i[34567]86-*-*, x86_64-*-*): ... here.
2150         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
2151         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
2153         * config/i386/i386-cpuinfo.c: Rename to ...
2154         * config/i386/cpuinfo.c: ... this.
2155         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
2157         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
2158         (libgcc_cv_init_priority): New test.
2159         * configure: Regenerate.
2160         * config.in: New file.
2161         * Makefile.in (clean): Rename config.h to auto-target.h.
2162         (config.h): Likewise.
2163         (stamp-h): Likewise.
2165         * config/i386/cpuinfo.c (auto-target.h): Include.
2166         (CONSTRUCTOR_PRIORITY): Define.
2167         (__cpu_indicator_init): Use it.
2169 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
2171         * longlong.h: Use a URL instead of an FSF postal address.
2172         Replace spaces with tab.
2174 2012-05-08  Teresa Johnson  <tejohnson@google.com>
2176         * libgcov.c (gcov_clear, __gcov_reset): New functions.
2177         (__gcov_dump): Ditto.
2178         (gcov_dump_complete): New global variable.
2179         (gcov_exit): Export hidden to enable use in L_gcov_dump.
2180         (__gcov_flush): Outline functionality now in gcov_clear.
2181         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
2183 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
2185         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
2186         (mips*-*-linux*): Include mips/t-tpbit when long double is
2187         16 bytes long.
2189 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
2191         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
2192         (get_available_features): New argument. Check for AVX2.
2193         (__cpu_indicator_init): Modify call to get_available_features.
2195 2012-04-25  Alan Modra  <amodra@gmail.com>
2197         * config/rs6000/crtsavevr.S: New file.
2198         * config/rs6000/crtrestvr.S: New file.
2199         * config/rs6000/t-savresfgpr: Build the above.
2200         * config/rs6000/t-netbsd: Likewise.
2202 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
2204         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
2206 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
2208         * libgcc/config/i386/i386-cpuinfo.c: New file.
2209         * libgcc/config/i386/t-cpuinfo: New file.
2210         * libgcc/config.host: Include t-cpuinfo.
2211         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
2213 2012-04-24  Chao-ying Fu  <fu@mips.com>
2215         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
2217 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
2219         struct siginfo vs. siginfo_t
2221         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
2222         siginfo_t instead of struct siginfo.
2223         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
2224         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
2225         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
2226         (ia64_handle_unwabi): Likewise.
2227         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
2228         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
2229         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
2230         (sh_fallback_frame_state): Likewise.
2231         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
2232         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
2234 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
2236         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
2237         system call number.
2239 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
2241         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
2242         if it hasn't been previously saved.
2244 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
2246         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
2247         only for glibc.
2249 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
2251         PR target/52737
2252         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
2253         instead of __AVR_HAVE_8BIT_SP__.
2255 2012-03-26  Tristan Gingold  <gingold@adacore.com>
2257         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
2258         (unw_table_entry): Use unw_word instead of unsigned long.
2259         (_Unwind_FindTableEntry): Likewise.
2260         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
2261         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
2262         (_Unwind_FindTableEntry): Likewise.
2263         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
2264         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
2265         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
2266         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
2267         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
2268         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
2269         (uw_init_context_1, uw_install_context): Likewise.
2270         (unw_word): Move to unwind-ia64.h
2272 2012-03-26  Tristan Gingold  <gingold@adacore.com>
2274         * config/vms/vms-ucrt0.c: Update copyright years.
2275         Add a sanity check.
2276         (___gcc_main_flags): Declare.
2277         (__main): Check flags to remap argv and exit code.
2278         * config.host (*-*-*vms*): Adjust extra_parts.
2279         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
2280         (crt0.o): Add.
2282 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
2284         * arm/lib1funcs.asm (ctzsi2): New function.
2285         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
2286         * arm/t-linux (LIB1ASMFUNCS): Likewise.
2287         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
2288         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
2289         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
2290         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
2292 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
2294         * config.host: Add bits to support powerpc64-*-freebsd*.
2295         * config/rs6000/freebsd-unwind.h: New file.
2296         * config/rs6000/t-freebsd64: New file.
2298 2012-03-20  Richard Guenther  <rguenther@suse.de>
2300         PR gcov-profile/52627
2301         * libgcov.c (init_mx): Fix mutex name.
2303 2012-03-16  Tristan Gingold  <gingold@adacore.com>
2305         * config/ia64/vms-unwind.h: Remove ulong (and replace
2306         it by unw_reg where used).  Define unw_reg with __int64.
2308 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2310         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2311         Solaris 8 handling.
2312         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
2313         Solaris 8 handling.
2314         (sparc_is_sighandler): Likewise.
2316 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
2318         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
2319         <= saved reg size.
2321 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2323         * config/arm/crtn.S: Fix typo.
2325 2012-03-13  Richard Guenther  <rguenther@suse.de>
2327         * libgcov.c: Remove stdio.h include and NULL un-define.
2329 2012-03-13  Richard Guenther  <rguenther@suse.de>
2331         PR target/52569
2332         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
2334 2012-03-13  Richard Guenther  <rguenther@suse.de>
2336         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
2338 2012-03-13  Richard Guenther  <rguenther@suse.de>
2340         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
2341         and __gthread_mutex_init_function definitions.
2343 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2345         * config.host (mips*-*-openbsd*): Remove.
2347 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2349         * config.host: Remove alpha*-dec-osf5.1* handling.
2350         * config/alpha/gthr-posix.c: Remove.
2351         * config/alpha/libgcc-osf5.ver: Remove.
2352         * config/alpha/osf5-unwind.h: Remove.
2353         * config/alpha/t-osf-pthread: Remove.
2354         * config/alpha/t-slibgcc-osf: Remove.
2355         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
2356         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
2357         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
2358         * mkmap-flat.awk: Remove osf_export handling.
2360 2012-03-12  Richard Guenther  <rguenther@suse.de>
2362         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
2363         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
2364         (__gthread_mutex_init_function): New function.
2365         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
2367         PR gcov/49484
2368         * libgcov.c: Include gthr.h.
2369         (__gcov_flush_mx): New global variable.
2370         (init_mx, init_mx_once): New functions.
2371         (__gcov_flush): Protect self with a mutex.
2372         (__gcov_fork): Re-initialize mutex after forking.
2373         * unwind-dw2-fde.c: Change condition under which to use
2374         __GTHREAD_MUTEX_INIT_FUNCTION.
2376 2012-03-12  Tristan Gingold  <gingold@adacore.com>
2378         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
2379         * config/ia64/t-vms: Likewise.
2381 2012-03-11  Michael Hope  <michael.hope@linaro.org>
2383         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
2384         for Thumb-2.
2386 2012-03-07  Walter Lee  <walt@tilera.com>
2388         * config/tilepro/atomic.c: Rename "atomic_" prefix to
2389         "arch_atomic_".
2390         (atomic_xor): Rename and move definition to
2391         config/tilepro/atomic.h.
2392         (atomic_nand): Ditto.
2393         * config/tilepro/atomic.h: Rename "atomic_" prefix to
2394         "arch_atomic_".
2395         (arch_atomic_xor): Move from config/tilepro/atomic.c.
2396         (arch_atomic_nand): Ditto.
2398 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
2400         PR target/52507
2401         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
2403 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
2405         PR target/52505
2406         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
2407         from RAM.
2409 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
2411         PR target/52461
2412         PR target/52508
2413         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
2414         if RAMPZ affects reading from RAM.
2415         (__tablejump_elpm__): Ditto.
2416         (.xload): Ditto.
2417         (__movmemx_hi): Ditto.
2418         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
2419         (__do_global_dtors): Ditto.
2420         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
2421         (__movmemx_hi): Ditto.
2423 2012-03-05  Richard Henderson  <rth@redhat.com>
2425         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
2426         [ARM] (count_trailing_zeros): Use the builtin.
2428 2012-03-01  Kai Tietz  <ktietz@redhat.com>
2430         * soft-fp: Imported from glibc upstream.
2432 2012-02-28  Kai Tietz  <ktietz@redhat.com>
2434         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
2435         for mingw-targets as attribute gcc_struct.
2437 2012-02-28  Ian Lance Taylor  <iant@google.com>
2439         * generic-morestack.c (__splitstack_releasecontext): Correct call
2440         to __morestack_release_segments.
2442 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2444         PR target/52390
2445         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
2446         for __linux__ when removing signals from __morestack_fullmask.
2448 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
2450         PR target/52261
2451         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
2453 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2455         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
2456         instead of HAVE_INITFINI_ARRAY.
2457         * config/ia64/crtend.S: Likewise.
2459 2012-02-20  Kai Tietz  <ktietz@redhat.com>
2461         PR libstdc++/52300
2462         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
2464         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
2465         to w32-unwind.h header.
2467 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
2469         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
2470         (mips*-*-linux*): Remove t-slibgcc-libgcc.
2471         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
2472         * config/mips/mips16.S (__mips16_rdhwr): Delete.
2474 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
2476         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
2478 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
2480         PR libitm/52220
2481         * config/darwin-crt-tm.c: Correct typo.
2483 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
2484             Patrick Marlier  <patrick.marlier@gmail.com>
2486         PR libitm/52220
2487         * config/darwin-crt-tm.c: Generate dummy functions.
2489 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
2490             Patrick Marlier  <patrick.marlier@gmail.com>
2492         PR libitm/52042
2493         * config/darwin-crt-tm.c (getTMCloneTable): New function.
2494         (__doTMRegistrations): Call it.
2495         (__doTMdeRegistrations): Likewise.
2497 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
2498             Anatoly Sokolov <aesok@post.ru>
2499             Eric Weddington <eric.weddington@atmel.com>
2501         PR target/52261
2502         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
2503         (__epilogue_restores__): Ditto.
2505 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
2507         PR target/51921
2508         PR target/52205
2509         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
2510         Solaris 11 and slightly reformat.
2511         (sparc_is_sighandler): Likewise.
2513 2012-02-14  Walter Lee  <walt@tilera.com>
2515         * config.host: Handle tilegx and tilepro.
2516         * config/tilegx/sfp-machine.h: New file.
2517         * config/tilegx/sfp-machine32.h: New file.
2518         * config/tilegx/sfp-machine64.h: New file.
2519         * config/tilegx/t-crtstuff: New file.
2520         * config/tilegx/t-softfp: New file.
2521         * config/tilegx/t-tilegx: New file.
2522         * config/tilepro/atomic.c: New file.
2523         * config/tilepro/atomic.h: New file.
2524         * config/tilepro/linux-unwind.h: New file.
2525         * config/tilepro/sfp-machine.h: New file.
2526         * config/tilepro/softdivide.c: New file.
2527         * config/tilepro/softmpy.S: New file.
2528         * config/tilepro/t-crtstuff: New file.
2529         * config/tilepro/t-tilepro: New file.
2531 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
2533         PR libstdc++/51296
2534         PR libstdc++/51906
2535         * gthr-posix.h: Allow static initializer macros to be disabled.
2536         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
2538 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
2540         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
2541         Add t-slibgcc-libgcc to tmake_file.
2542         * config/mips/libgcc-mips16.ver: Revert previous patch.
2543         * config/mips/mips16.S (__mips16_rdhwr): Hide.
2545 2012-02-02  Sumanth G <sumanth.gundapaneni@kpitcummins.com>
2546             Jayant R Sonar <jayant.sonar@kpitcummins.com>
2548         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
2549         * config/cr16/crti.S: New file.
2550         * config/cr16/crtlibid.S: New file.
2551         * config/cr16/crtn.S: New file.
2552         * config/cr16/lib1funcs.S: New file.
2553         * config/cr16/t-cr16: New file.
2554         * config/cr16/t-crtlibid: New file.
2555         * config/cr16/unwind-dw2.h: New file.
2556         * config/cr16/unwind-cr16.c: New file.
2557         * config/cr16/divmodhi3.c: New file.
2559 2012-01-25  Alan Modra  <amodra@gmail.com>
2561         * config/rs6000/t-linux64: Delete.  Move..
2562         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
2563         * config/rs6000/t-linux: ..and libgcc flags to here.
2565 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
2567         * config.host (i[34567]86-*-interix3*):
2568         Change triplet to i[34567]86-*-interix[3-9]*.
2569         * configure: Regenerate.
2571 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
2572             Richard Sandiford  <rdsandiford@googlemail.com>
2574         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
2575         * config/mips/mips16.S (__mips16_rdhwr): New function.
2576         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
2578 2012-01-11  Nathan Sidwell  <nathan@acm.org>
2580         * libgcov.c (__gcov_init): Ignore objects with no functions.
2582 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
2584         PR target/49868
2585         Extend __pgmx semantics to linearize memory.
2586         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
2587         * config/avr/lib1funcs.S (__xload_1): New function.
2588         (__movmemx_qi, __movmemx_hi): New functions.
2589         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
2590         semantics.
2592 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
2594         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
2595         purported sigacthandler address isn't null before dereferencing it.
2596         (sparc_is_sighandler): Likewise.
2598 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
2600         PR ada/41929
2601         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
2602         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
2603         (sparc_is_sighandler): Likewise.
2604         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
2606 2012-01-06  Tristan Gingold  <gingold@adacore.com>
2608         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
2609         compatibility thunks...
2610         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
2611         (crtbeginS.o, crtendS.o): ... and these to ...
2612         * config/ia64/t-ia64-elf: ... this new file.
2613         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
2614         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
2616 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2618         * configure: Regenerate.
2619         * config/s390/t-crtstuff: Remove -fPIC.
2621 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
2623         PR bootstrap/51006
2624         * enable-execute-stack-mprotect.c (getpagesize): Do not define
2625         for NetBSD.
2627 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
2629         PR target/51345
2630         * config/avr/lib1funcs.S: Remove FIXME comments.
2631         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
2633 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
2635         Implement light-weight DImode support.
2636         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
2637         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
2638         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
2639         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
2641 2011-12-30  Nathan Sidwell  <nathan@acm.org>
2643         * libgcov.c (gcov_crc32): Remove global var.
2644         (free_fn_data): New function.
2645         (buffer_fn_data): Pass in filename, more robust error recovery.
2646         (crc32_unsigned): New function.
2647         (gcov_exit): More robust detection of new program. More robust
2648         error recovery.
2649         (__gcov_init): Do not update program's crc here.
2651 2011-12-21  Tristan Gingold  <gingold@adacore.com>
2653         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
2655 2011-12-21  Ian Lance Taylor  <iant@google.com>
2657         * config/i386/morestack.S: Simplify CFI opcodes throughout.
2659 2011-12-20  Ian Lance Taylor  <iant@google.com>
2661         * config/i386/morestack.S (__morestack_non_split): If there is
2662         enough stack space already, don't split.  Ask for more stack space
2663         than we required.
2665 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
2667         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
2668         `sys/sdt.h'.
2669         (_Unwind_DebugHook): New function.
2670         (uw_restore_core_regs): New define.
2671         (unwind_phase2): Use uw_restore_core_regs instead of
2672         restore_core_regs.
2673         (unwind_phase2_forced): Likewise.
2674         (__gnu_Unwind_Resume): Likewise.
2676 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
2678         * config/alpha/linux-unwind.h: Update copyright years.
2679         (MD_FROB_UPDATE_CONTEXT): New define.
2680         (alpha_frob_update_context): New function.
2682 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
2684         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
2685         tmake_file rather replacing it.
2687 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
2689         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
2690         function is not used for PPC64.
2691         (save_world): Amend comments.  Update the VRsave mask to reflect the
2692         saved regs.
2693         (rest_world): Update comments, do not  clobber r10, do not use r8.
2694         (eh_rest_world_r10): Amend comments, do not use r8.
2695         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
2696         no longer used, move restore of CR and target address to the end of
2697         the routine.
2699 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
2701         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
2702         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
2704 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
2706         PR target/49313
2707         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
2708         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
2710 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
2712         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
2714 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
2716         PR target/49313
2717         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
2718         * config/avr/lib1funcs.S (__muldi3): New function.
2720 2011-12-06  Andrew Pinski  <apinski@cavium.com>
2722         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
2723         size of func_ptr.
2724         (__frame_dummy_init_array_entry): Likewise.
2726 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
2728         Forward-port from gcc-4_6-branch r181936 2011-12-02.
2730         PR target/51345
2731         PR target/51002
2732         * config/avr/lib1funcs.S (__prologue_saves__,
2733         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
2734         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
2736 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
2738         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
2740 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2742         PR other/51272
2743         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
2744         (_ITM_deregisterTMCloneTable): Likewise.
2745         (__register_frame_info): Fix unused warning.
2746         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
2747         pthread_default_stacksize_np): Likewise.
2748         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
2750 2011-11-29  DJ Delorie  <dj@redhat.com>
2752         * config.host (rl78-*-elf): New case.
2753         * config/rl78: New directory for the Renesas RL78.
2755 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
2757         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
2758         formatting.
2760 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2762         PR other/51022
2763         * config/rs6000/t-savresfgpr: New file.
2764         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
2765         $(srcdir)/config/rs6000/eabi.S.
2766         * config/rs6000/t-ppccomm-ldbl: Remove.
2767         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
2768         tmake_file.
2769         (powerpc-*-eabispe*): Likewise.
2770         (powerpc-*-eabi*): Likewise.
2771         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2772         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
2773         to tmake_file, remove rs6000/t-ppccomm-ldbl.
2774         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
2775         tmake_file.
2776         (powerpc-*-eabisim*): Likewise.
2777         (powerpc-*-elf*): Likewise.
2778         (powerpc-*-eabialtivec*): Likewise.
2779         (powerpc-xilinx-eabi*): Likewise.
2780         (powerpc-*-rtems*): Likewise.
2781         (powerpcle-*-elf*): Likewise.
2782         (powerpcle-*-eabisim*): Likewise.
2783         (powerpcle-*-eabi*): Likewise.
2785 2011-11-27  Ian Lance Taylor  <iant@google.com>
2787         * generic-morestack.c (__splitstack_find): Check for NULL old
2788         stack value.
2789         (__splitstack_resetcontext): New function.
2790         (__splitstack_releasecontext): New function.
2791         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
2793 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
2795         * config/darwin-crt-tm.c: Correct comments, use correct licence.
2797 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
2799         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
2801 2011-11-26  Richard Henderson  <rth@redhat.com>
2803         * config/m68k/linux-atomic.c: New file.
2804         * config/m68k/t-linux: New file.
2805         * config.host (m68k-uclinux, m68k-linux): Use it.
2807 2011-11-26  Richard Henderson  <rth@redhat.com>
2809         * crtstuff.c (__TMC_LIST__): Mark used not unused.
2810         (__TMC_END__): Only declare if hidden is available; in the definition,
2811         if hidden is unavailable add a null record.
2812         (deregister_tm_clones, register_tm_clones): New.
2813         (__do_global_dtors_aux, frame_dummy): Use them.
2814         (__do_global_dtors, __do_global_ctors_1): Likewise.
2816 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
2818         * config/darwin-crt-tm.c: New file.
2819         * config.host (darwin): Build crttms.o crttme.o to provide
2820         startup and shutdown for tm clones.
2821         * config/t-darwin (crttms.o): New build rule.
2822         (crttme.o): Likewise.
2824 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
2826         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
2827         et al.
2829 2011-11-21  Richard Henderson  <rth@redhat.com>
2831         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
2832         (__TMC_LIST__, __TMC_END__): New.
2833         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
2834         (__do_global_dtors): Likewise.
2835         (frame_dummy): Call _ITM_registerTMCloneTable.
2836         (__do_global_ctors_1): Likewise.
2838 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2840         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
2841         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2842         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
2843         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
2844         * config/i386/t-darwin64: Remove.
2845         * config/sh/t-netbsd (LIB2ADD): Remove.
2847 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
2849         PR target/49313
2850         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
2851         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
2852         * config/avr/lib1funcs.S (wmov): New assembler macro.
2853         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
2854         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
2855         (__udivmod64): New function.
2856         (__negdi2): New function.
2858 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
2860         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
2861         *-*-freebsd*aout*): Remove.
2863 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
2865         * static-object.mk (c_flags-$o): Save c_flags.
2866         ($(base)$(objext)): Use it.
2868 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
2870         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
2872 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
2874         PR target/49868
2875         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
2876         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
2877         New functions.
2879 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
2881         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
2882         functions.
2883         (aeabi_uidivmod): Likewise.
2884         (umodsi3): Likewise.
2885         (divsi3): Likewise.
2886         (aeabi_idivmod): Likewise.
2887         (modsi3): Likewise.
2889 2011-11-16  Tristan Gingold  <gingold@adacore.com>
2891         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
2893 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
2895         PR target/49868
2896         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
2897         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
2899 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2901         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
2902         tmake_file list.
2903         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
2904         * config/pa/t-stublib64: Delete.
2906 2011-11-12  Richard Henderson  <rth@redhat.com>
2908         * config/rs6000/linux-unwind.h (frob_update_context): Properly
2909         cast the pointer argument to _Unwind_SetGRPtr.
2911 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2913         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
2915 2011-11-09  Ian Lance Taylor  <iant@google.com>
2917         * generic-morestack.c: Include <string.h>.
2918         (uintptr_type): Define.
2919         (struct initial_sp): Add dont_block_signals field.  Reduce size of
2920         extra array by 1.
2921         (allocate_segment): Set prev field to NULL.  Don't set
2922         __morestack_current_segment or __morestack_segments.
2923         (__generic_morestack): Update current->prev and *pp after calling
2924         allocate_segment.
2925         (__morestack_block_signals): Don't do anything if
2926         dont_block_signals is set.
2927         (__morestack_unblock_signals): Likewise.
2928         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
2929         uintptr_type.
2930         (__splitstack_block_signals): New function.
2931         (enum __splitstack_content_offsets): Define.
2932         (__splitstack_getcontext, __splitstack_setcontext): New functions.
2933         (__splitstack_makecontext): New function.
2934         (__splitstack_block_signals_context): New function.
2935         (__splitstack_find_context): New function.
2936         * config/i386/morestack.S (__morestack_get_guard): New function.
2937         (__morestack_set_guard, __morestack_make_guard): New functions.
2938         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
2940 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2942         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
2943         (i[34567]86-*-mingw*): ... here.
2944         (x86_64-*-mingw*): ... here.
2946 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2948         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
2950 2011-11-07  Nathan Sidwell  <nathan@acm.org>
2952         * libgcov.c (struct gcov_fn_buffer): New struct.
2953         (buffer_fn_data): New helper.
2954         (gcov_exit): Rework for new gcov data structures.
2956 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
2958         PR target/49313
2959         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
2961 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2963         * config.host (tmake_file): Correct comment.
2964         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
2965         t-libgcc-pic.
2966         (bfin*-uclinux*): Likewise.
2967         (bfin*-linux-uclibc*): Likewise.
2968         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
2970         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
2971         assigning.
2972         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2973         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
2974         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2975         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
2976         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2977         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
2978         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
2979         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2980         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
2981         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
2982         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
2983         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
2984         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
2986         * config/bfin/t-elf: Remove.
2987         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
2989 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2991         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
2992         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
2993         (lm32-*-elf*, lm32-*-rtems*): Split into ...
2994         (lm32-*-elf*): ... this.
2995         (lm32-*-rtems*): ... and this.
2996         Add to tmake_file.
2997         (m32r-*-rtems*): Add to tmake_file.
2998         (moxie-*-rtems*): Likewise.
2999         (sparc-*-rtems*): Likewise.
3000         Remove t-rtems from tmake_file.
3001         (sparc64-*-rtems*): Likewise.
3002         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
3003         instead.
3005 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3007         PR bootstrap/50982
3008         * config/gthr-posix.h: Move ...
3009         * gthr-posix.h: ... here.
3010         * config/gthr-lynx.h: Reflect this.
3011         * config/gthr-vxworks.h: Likewise.
3012         * config/rs6000/gthr-aix.h: Likewise.
3013         * configure.ac (target_thread_file): Likewise.
3014         * configure: Regenerate.
3016 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3018         * config.host (arm*-*-rtemseabi*): New target.
3020 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3022         PR other/50991
3023         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
3024         extra-parts.
3026 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
3028         * config.host (epiphany-*-elf*): New configuration.
3029         * config/epiphany: New Directory.
3031 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
3033         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
3034         * config/avr/t-rtems: New.
3035         Filter out _exit from LIB1ASMFUNCS.
3037 2011-11-04  David S. Miller  <davem@davemloft.net>
3039         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
3040         * configure: Rebuild.
3042 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3044         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
3045         variable.
3047 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
3049         PR target/50931
3050         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
3051         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
3053 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
3055         PR target/50989
3056         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
3058 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3060         * config/c6x/t-elf (LIB2ADDEH): Set.
3061         * config/c6x/t-c6x-elf: Remove.
3063 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3065         * config/i386/sol2-ci.S: Rename to ...
3066         * config/i386/crti.S: ... this.
3067         * config/i386/sol2-cn.S: Rename to ...
3068         * config/i386/crtn.S: ... this.
3069         * config/sparc/sol2-ci.S: Rename to ...
3070         * config/sparc/crti.S: ... this.
3071         * config/sparc/sol2-cn.S: Rename to ...
3072         * config/sparc/crtn.S: ... this.
3073         * config/t-sol2 (CUSTOM_CRTIN): Remove.
3074         (crti.o, crtn.o): Remove.
3076 2011-11-04  Tristan Gingold  <gingold@adacore.com>
3078         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
3080 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
3082         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
3084 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
3086         * config.host (crisv32-*-none, cris-*-none): Remove.
3087         (crisv32-*-elf): Append to tmake_file, don't just set it.
3088         (cris-*-elf): Add missing t-fdpbit to tmake_file.
3090 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3092         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
3093         (ecrtn$(objext)): Likewise.
3094         (ncrti$(objext)): Likewise.
3095         (ncrtn$(objext)): Likewise.
3097 2011-11-03  Andreas Schwab  <schwab@redhat.com>
3099         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
3101 2011-11-02  David S. Miller  <davem@davemloft.net>
3103         * configure.ac: Set host_address on sparc too.
3104         * configure: Regenerate.
3105         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
3106         based upon host_address.
3107         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
3109 2011-11-02  Jason Merrill  <jason@redhat.com>
3111         * config/rs6000/t-ppccomm: Add missing \.
3113 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3115         * gthr-single.h, gthr.h: New files.
3116         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
3117         config/gthr-vxworks.h, config/i386/gthr-win32.h,
3118         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
3119         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
3120         * config/i386/gthr-win32.c: Include "gthr-win32.h".
3121         * configure.ac (thread_header): New variable.
3122         Set it depending on target_thread_file.
3123         (gthr-default.h): Link from $thread_header.
3124         * configure: Regenerate.
3125         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
3127 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3129         * configure.ac (tm_file_): New variable.
3130         Determine from tm_file.
3131         (tm_file, tm_defines): Substitute.
3132         * configure: Regenerate.
3133         * mkheader.sh: New file.
3134         * Makefile.in (clean): Remove libgcc_tm.h.
3135         ($(objects)): Depend on libgcc_tm.h.
3136         (libgcc_tm_defines, libgcc_tm_file): New variables.
3137         (libgcc_tm.h, libgcc_tm.stamp): New targets.
3138         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
3139         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
3140         ($(extra-parts)): Depend on libgcc_tm.h.
3141         * config.host (tm_defines, tm_file): New variable.
3142         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
3143         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
3144         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
3145         (avr-*-rtems*): Likewise.
3146         (avr-*-*): Likewise.
3147         (frv-*-elf): Likewise.
3148         (frv-*-*linux*): Likewise.
3149         (h8300-*-rtems*): Likewise.
3150         (h8300-*-elf*): Likewise.
3151         (i[34567]86-*-darwin*): Likewise.
3152         (x86_64-*-darwin*): Likewise.
3153         (rx-*-elf): Likewise.
3154         (tic6x-*-uclinux): Likewise.
3155         (tic6x-*-elf): Likewise.
3156         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
3157         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
3158         * config/i386/cygming-crtbegin.c: Likewise.
3159         * config/i386/cygming-crtend.c: Likewise.
3160         * config/ia64/fde-vms.c: Likewise.
3161         * config/ia64/unwind-ia64.c: Likewise.
3162         * config/libbid/bid_gcc_intrinsics.h: Likewise.
3163         * config/rs6000/darwin-fallback.c: Likewise.
3164         * config/stormy16/lib2funcs.c: Likewise.
3165         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
3166         * crtstuff.c: Likewise.
3167         * dfp-bit.h: Likewise.
3168         * emutls.c: Likewise.
3169         * fixed-bit.c: Likewise.
3170         * fp-bit.c: Likewise.
3171         * generic-morestack-thread.c: Likewise.
3172         * generic-morestack.c: Likewise.
3173         * libgcc2.c: Likewise.
3174         * libgcov.c: Likewise.
3175         * unwind-dw2-fde-dip.c: Likewise.
3176         * unwind-dw2-fde.c: Likewise.
3177         * unwind-dw2.c: Likewise.
3178         * unwind-sjlj.c: Likewise.
3180 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3182         * configure.ac: Include ../config/picflag.m4.
3183         (GCC_PICFLAG): Call it.
3184         Substitute.
3185         * configure: Regenerate.
3186         * Makefile.in (gcc_srcdir): Remove.
3187         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
3188         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
3189         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
3190         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
3191         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
3192         Use $<.
3193         Remove comment.
3194         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
3195         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
3196         to refer to libgcc2.c.
3197         Use $<.
3198         * config/darwin-64.c: New file.
3199         * config/darwin-crt3.c: Remove comment.
3200         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
3201         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
3202         config/udivmodsi4.c: New files.
3203         * config/memcmp.c, config/memcpy.c, config/memmove.c,
3204         config/memset.c: New files.
3205         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
3206         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
3207         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
3208         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
3209         * config/t-openbsd-thread: New file.
3210         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
3211         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
3212         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
3213         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
3214         qrnnd.S.
3215         Adapt filename.
3216         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
3217         to refer to gthr-posix.c.
3218         * config/alpha/t-vms (LIB2ADD): Set.
3219         * config/alpha/vms-gcc_shell_handler.c: New file.
3220         * config/arm/bpabi.c, config/arm/fp16.c,
3221         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
3222         config/arm/unaligned-funcs.c: New files.
3223         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
3224         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
3225         * config/arm/t-linux: Likewise.
3226         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
3227         * config/arm/t-netbsd: New file.
3228         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
3229         * config/arm/t-symbian (LIB2ADD_ST): Set.
3230         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
3231         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3232         * config/bfin/t-elf: New file.
3233         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
3234         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
3235         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
3236         config/c6x/ltf.c: New files.
3237         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
3238         (HOST_LIBGCC2_CFLAGS): Set.
3239         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
3240         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3241         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
3242         New files.
3243         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
3244         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
3245         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
3246         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
3247         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
3248         files.
3249         * config/frv/t-frv (LIB2ADD): Set.
3250         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3251         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
3252         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
3253         config/h8300/popcounthi2.c: New files.
3254         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
3255         * config/i386/gthr-win32.c: New file.
3256         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
3257         * config/i386/t-cygwin: Likewise.
3258         * config/i386/t-darwin, config/i386/t-darwin64,
3259         config/i386/t-gthr-win32, config/i386/t-interix: New files.
3260         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
3261         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3262         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3263         * config/ia64/quadlib.c: New file.
3264         * config/ia64/t-hpux (LIB2ADD): Set.
3265         * config/ia64/t-ia64: Add comment.
3266         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
3267         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3268         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
3269         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
3270         * config/m32c/t-m32c (LIB2ADD): Set.
3271         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
3272         * config/m32r/t-m32r: Likewise.
3273         * config/m68k/fpgnulib.c: New file.
3274         * config/m68k/t-floatlib (LIB2ADD): Set.
3275         (xfgnulib.c): New target.
3276         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
3277         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
3278         * config/mep/t-mep (LIB2ADD): Set.
3279         * config/microblaze/divsi3.asm: Rename to divsi3.S.
3280         * config/microblaze/moddi3.asm: Rename to moddi3.S.
3281         * config/microblaze/modsi3.asm: Rename to modsi3.S.
3282         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
3283         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
3284         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
3285         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
3286         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
3287         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
3288         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
3289         New files.
3290         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
3291         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
3292         * config/pa/fptr.c, config/pa/lib2funcs.S,
3293         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
3294         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
3295         (LIB2ADD, LIB2ADD_ST): Set.
3296         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
3297         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
3298         Set.
3299         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
3300         * config/pdp11/t-pdp11: New file.
3301         * config/picochip/libgccExtras/adddi3.S,
3302         config/picochip/libgccExtras/ashlsi3.S,
3303         config/picochip/libgccExtras/ashrsi3.S,
3304         config/picochip/libgccExtras/clzsi2.S,
3305         config/picochip/libgccExtras/cmpsi2.S,
3306         config/picochip/libgccExtras/divmod15.S,
3307         config/picochip/libgccExtras/divmodhi4.S,
3308         config/picochip/libgccExtras/divmodsi4.S,
3309         config/picochip/libgccExtras/lshrsi3.S,
3310         config/picochip/libgccExtras/parityhi2.S,
3311         config/picochip/libgccExtras/popcounthi2.S,
3312         config/picochip/libgccExtras/subdi3.S,
3313         config/picochip/libgccExtras/ucmpsi2.S,
3314         config/picochip/libgccExtras/udivmodhi4.S,
3315         config/picochip/libgccExtras/udivmodsi4.S: New files.
3316         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
3317         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
3318         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
3319         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
3320         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
3321         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
3322         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
3323         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
3324         files.
3325         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
3326         (HOST_LIBGCC2_CFLAGS): Set.
3327         * config/rs6000/t-darwin64: New file.
3328         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
3329         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
3330         * config/rs6000/t-ppccomm (LIB2ADD): Add
3331         $(srcdir)/config/rs6000/tramp.S.
3332         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
3333         Add  $(srcdir)/config/rs6000/eabi.S.
3334         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
3335         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
3336         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
3337         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
3338         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
3339         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
3340         * config/rs6000/tramp.S: New file.
3341         * config/s390/t-tpf: Remove.
3342         * config/sh/linux-atomic.S: New file.
3343         * config/sh/t-linux (LIB2ADD): Set.
3344         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
3345         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
3346         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
3347         to unwind-dw2.c.
3348         (HOST_LIBGCC2_CFLAGS): Set.
3349         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3350         * config/spu/divmodti4.c, config/spu/divv2df3.c,
3351         config/spu/float_disf.c, config/spu/float_unsdidf.c,
3352         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
3353         config/spu/mfc_multi_tag_release.c,
3354         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
3355         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
3356         config/spu/multi3.c: New files.
3357         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
3358         (HOST_LIBGCC2_CFLAGS): Set.
3359         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
3360         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
3361         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
3362         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
3363         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
3364         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
3365         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
3366         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
3367         config/stormy16/umodsi3.c: New files.
3368         * config/xtensa/lib2funcs.S: New file.
3369         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
3370         * config/xtensa/t-xtensa (LIB2ADD): Set.
3371         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
3372         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
3373         Add t-freebsd-thread to tmake_file for posix threads.
3374         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
3375         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
3376         (*-*-lynxos*): Likewise.
3377         (*-*-netbsd*): Likewise.
3378         (*-*-openbsd*): Likewise.
3379         Add t-openbsd-thread to tmake_file for posix threads.
3380         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
3381         (*-*-vxworks*): Set tmake_file.
3382         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
3383         (alpha*-*-freebsd*): Likewise.
3384         (alpha*-*-netbsd*): Likewise.
3385         (alpha*-*-openbsd*): Likewise.
3386         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
3387         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
3388         (alpha*-dec-*vms*): Likewise.
3389         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
3390         (bfin*-elf*): Add bfin/t-elf to tmake_file.
3391         (bfin*-uclinux*): Likewise.
3392         (bfin*-linux-uclibc*): Likewise.
3393         (crisv32-*-elf): Add cris/t-cris to tmake_file.
3394         (crisv32-*-none): Likewise.
3395         (cris-*-elf): Likewise.
3396         (cris-*-none): Likewise.
3397         (cris-*-linux*, crisv32-*-linux*): Likewise.
3398         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
3399         tmake_file.
3400         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
3401         tmake_file.
3402         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
3403         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
3404         (x86_64-*-elf*): Likewise.
3405         (i[34567]86-*-nto-qnx*): Likewise.
3406         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
3407         win32 threads.
3408         (x86_64-*-mingw*): Likewise.
3409         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
3410         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
3411         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
3412         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
3413         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
3414         tmake_file.
3415         (mipsisa64sr71k-*-elf*): Likewise.
3416         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
3417         (mips-*-elf*, mipsel-*-elf*): Likewise.
3418         (mips64-*-elf*, mips64el-*-elf*): Likewise.
3419         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
3420         (mips*-*-rtems*): Likewise.
3421         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
3422         to tmake_file.
3423         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
3424         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
3425         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
3426         (spu-*-elf*): Likewise.
3427         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
3429 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3431         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
3432         $(srcdir) to refer to $(LIB1ASMSRC).
3433         Use $<.
3434         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
3435         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
3436         config/arm/lib1funcs.S: New files.
3437         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
3438         * config/arm/t-arm: New file.
3439         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
3440         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
3441         config/arm/t-strongarm-elf: New files.
3442         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
3443         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
3444         * config/avr/lib1funcs.S: New file.
3445         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3446         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
3447         * config/c6x/lib1funcs.S: New file.
3448         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3449         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
3450         * config/frv/lib1funcs.S: New file.
3451         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3452         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
3453         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
3454         * config/ia64/__divxf3.asm: Rename to ...
3455         * config/ia64/__divxf3.S: ... this.
3456         Adapt lib1funcs.asm filename.
3457         * config/ia64/_fixtfdi.asm: Rename to ...
3458         * config/ia64/_fixtfdi.S: ... this.
3459         Adapt lib1funcs.asm filename.
3460         * config/ia64/_fixunstfdi.asm: Rename to ...
3461         * config/ia64/_fixunstfdi.S: ... this.
3462         Adapt lib1funcs.asm filename.
3463         * config/ia64/_floatditf.asm: Rename to ...
3464         * config/ia64/_floatditf.S: ... this.
3465         Adapt lib1funcs.asm filename.
3466         * config/ia64/lib1funcs.S: New file.
3467         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
3468         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3469         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
3470         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
3471         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
3472         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
3473         * config/mep/lib1funcs.S: New file.
3474         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3475         * config/mips/mips16.S: New file.
3476         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3477         * config/pa/milli64.S: New file.
3478         * config/pa/t-linux, config/pa/t-linux64: New files.
3479         * config/picochip/lib1funcs.S: New file.
3480         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3481         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
3482         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
3483         * config/sh/t-netbsd: New file.
3484         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
3485         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
3486         * config/sh/t-sh64: New file.
3487         * config/sparc/lb1spc.S: New file.
3488         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
3489         filename.
3490         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
3491         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
3492         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
3493         config/xtensa/lib1funcs.S: New files.
3494         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3495         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
3496         tmake_file.
3497         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
3498         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
3499         (arm*-*-linux*): Likewise.
3500         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
3501         arm*-*-linux-*eabi, add arm/t-linux otherwise.
3502         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
3503         (arm*-*-ecos-elf): Likewise.
3504         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
3505         (arm*-*-rtems*): Likewise.
3506         (arm*-*-elf): Likewise.
3507         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
3508         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
3509         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
3510         (bfin*-uclinux*): Likewise.
3511         (bfin*-linux-uclibc*): Likewise.
3512         (bfin*-rtems*): Likewise.
3513         (bfin*-*): Likewise.
3514         (fido-*-elf): Merge into m68k-*-elf*.
3515         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
3516         (frv-*-*linux*): Add frv/t-frv to tmake_file.
3517         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
3518         (h8300-*-elf*): Likewise.
3519         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
3520         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
3521         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
3522         (i[34567]86-*-mingw*): Likewise.
3523         (x86_64-*-mingw*): Likewise.
3524         (i[34567]86-*-interix3*): Likewise.
3525         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
3526         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
3527         (m68k-*-elf*): Also handle fido-*-elf.
3528         Add m68k/t-floatlib to tmake_file.
3529         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
3530         (m68k-*-linux*): Likewise.
3531         (m68k-*-rtems*): Likewise.
3532         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
3533         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
3534         sh64*-*-*.
3535         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
3536         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
3537         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
3538         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
3539         sh/t-netbsd to tmake_file.
3540         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
3541         (sh-*-rtems*): Add sh/t-sh to tmake_file.
3542         (sh-wrs-vxworks): Likewise.
3543         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
3544         *-leon[3-9]*.
3545         (v850*-*-*): Add v850/t-v850 to tmake_file.
3546         (vax-*-linux*): Add vax/t-linux to tmake_file.
3547         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
3549 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3551         * crtstuff.c: New file.
3552         * Makefile.in (CRTSTUFF_CFLAGS): Define.
3553         (CRTSTUFF_T_CFLAGS): Define.
3554         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
3555         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
3556         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
3557         crtstuff.c.
3558         Use $<.
3559         (crtbeginT.o): Use $(objext).
3560         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
3561         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
3562         (gcc-extra-parts): Remove.
3563         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
3564         Set extra_parts.
3565         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3566         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
3567         Add t-crtstuff-pic to tmake_file.
3568         (*-*-lynxos*): New case.
3569         Set tmake_file, extra_parts.
3570         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
3571         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
3572         *-*-netbsdelf[2-9]*.
3573         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
3574         (*-*-rtems*): Set extra_parts.
3575         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
3576         (*-*-uclinux*): New case.
3577         Set extra_parts.
3578         (*-*-vms*): New case.
3579         Set tmake_file, extra_parts.
3580         (*-*-elf): Set extra_parts.
3581         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
3582         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
3583         vms/t-vms64.
3584         Set extra_parts.
3585         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
3586         Set extra_parts.
3587         (arm*-*-freebsd*): Add t-crtin to tmake_file.
3588         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
3589         (arm-wrs-vxworks): Append to tmake_file.
3590         Set extra_parts.
3591         (arm*-*-uclinux*): Set extra_parts.
3592         (arm*-*-ecos-elf): Likewise.
3593         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
3594         arm*-*-eabi*.
3595         (arm*-*-rtems*): Set extra_parts.
3596         (arm*-*-elf): Likewise.
3597         (avr-*-rtems*): Clear extra_parts.
3598         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
3599         Set extra_parts.
3600         (bfin*-uclinux*): Likewise.
3601         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
3602         (bfin*-rtems*): Append to tmake_file.
3603         Set extra_parts.
3604         (bfin*-*): Likewise.
3605         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
3606         (crisv32-*-elf): ... this.
3607         (crisv32-*-none): ... this.
3608         (cris-*-elf, cris-*-none): New cases.
3609         Add cris/t-elfmulti to tmake_file.
3610         (fr30-*-elf): Append to tmake_file.
3611         Set extra_parts.
3612         (frv-*-elf): Append to tmake_file, add frv/t-frv.
3613         Set extra_parts.
3614         (h8300-*-rtems*): Append to tmake_file.
3615         Set extra_parts.
3616         (h8300-*-elf*): Likewise.
3617         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
3618         Set extra_parts.
3619         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
3620         Set extra_parts.
3621         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
3622         (x86_64-*-elf*): Likewise.
3623         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
3624         (x86_64-*-freebsd*): Likewise.
3625         (x86_64-*-netbsd*): Likewise.
3626         (i[34567]86-*-linux*): Likewise.
3627         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3628         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3629         (x86_64-*-linux*): Likewise.
3630         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3631         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
3632         tmake_file.
3633         Set extra_parts.
3634         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
3635         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
3636         Append to extra_parts, remove crtbegin.o, crtend.o.
3637         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
3638         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
3639         crtend.o, crtbeginS.o, crtendS.o.
3640         (ia64*-*-linux*): Comment extra_parts.
3641         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
3642         Set extra_parts.
3643         (iq2000*-*-elf*): Clear extra_parts.
3644         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
3645         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
3646         (m32r-*-elf*, m32r-*-rtems*): Split off ...
3647         (m32r-*-rtems*): ... this.
3648         Add m32r/t-m32r to tmake_file.
3649         (m68k-*-elf*): Add t-crtin to tmake_file.
3650         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
3651         (mcore-*-elf): Likewise.
3652         (microblaze*-*-*): Set extra_parts.
3653         (mips*-sde-elf*): New case.
3654         Set tmake_file, extra_parts.
3655         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
3656         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
3657         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
3658         tmake_file.
3659         Set extra_parts.
3660         (mipsisa64sr71k-*-elf*): Likewise.
3661         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
3662         (mips-*-elf*, mipsel-*-elf*): Likewise.
3663         (mips64-*-elf*, mips64el-*-elf*): Likewise.
3664         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
3665         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
3666         (mips*-*-rtems*): Likewise.
3667         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
3668         (moxie-*-*): Split into ...
3669         (moxie-*-elf, moxie-*-uclinux*): ... this.
3670         Add to extra_parts, remove crtbegin.o, crtend.o.
3671         (moxie-*-rtems*): New case.
3672         Set tmake_file.
3673         Clear extra_parts.
3674         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
3675         Set extra_parts.
3676         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
3677         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
3678         tmake_file.
3679         Set extra_parts.
3680         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
3681         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
3682         Set extra_parts.
3683         (powerpc-*-eabisim*): Likewise.
3684         (powerpc-*-elf*): Likewise.
3685         (powerpc-*-eabialtivec*): Likewise.
3686         (powerpc-xilinx-eabi*): Likewise.
3687         (powerpc-*-eabi*): Likewise.
3688         (powerpc-*-rtems*): Likewise.
3689         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
3690         tmake_file.
3691         Set extra_parts.
3692         (powerpc-*-lynxos*): Add to tmake_file.
3693         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
3694         rs6000/t-crtstuff, t-crtstuff-pic.
3695         Set extra_parts.
3696         (powerpcle-*-eabisim*): Likewise.
3697         (powerpcle-*-eabi*): Likewise.
3698         (rx-*-elf): Remove extra_parts.
3699         (s390x-ibm-tpf*): Set extra_parts.
3700         (score-*-elf): Set extra_parts.
3701         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3702         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3703         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3704         (sh64l*-*-netbsd*): Split into ...
3705         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
3706         Add t-crtstuff-pic to tmake_file.
3707         Set extra_parts.
3708         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
3709         Set extra_parts.
3710         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
3711         (sparc-*-elf*): Remove t-crtin from tmake_file.
3712         Add to extra_parts, remove crtbegin.o, crtend.o.
3713         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
3714         (sparc64-*-linux*): Likewise.
3715         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
3716         Add to extra_parts, remove crtbegin.o, crtend.o.
3717         (sparc64-*-elf*): Remove t-crtin from tmake_file.
3718         Add to extra_parts, remove crtbegin.o, crtend.o.
3719         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
3720         Add to extra_parts, remove crtbegin.o, crtend.o.
3721         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
3722         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
3723         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
3724         Set extra_parts.
3725         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
3726         Set extra_parts.
3727         (tic6x-*-*): Change to ...
3728         (tic6x-*-elf): ... this.
3729         Set extra_parts.
3730         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
3731         Set extra_parts.
3732         (am33_2.0-*-linux*): Add comment.
3733         (mep*-*-*): Add mep/t-mep to tmake_file.
3734         Set extra_parts.
3735         * config/alpha/t-vms: New file.
3736         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
3737         * config/arm/crti.S, config/arm/crtn.S: New files.
3738         * config/bfin/crti.S, config/bfin/crtn.S: New files.
3739         * config/bfin/crtlibid.S: New file.
3740         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
3741         * config/c6x/crti.S, config/c6x/crtn.S: New files.
3742         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
3743         (crti.o, crtin.o): New rules.
3744         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
3745         * config/c6x/t-uclinux: New file.
3746         * config/cris/t-elfmulti: New file.
3747         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
3748         * config/fr30/crti.S, config/fr30/crtn.S: New files.
3749         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
3750         * config/frv/t-frv: New file.
3751         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
3752         * config/h8300/crti.S, config/h8300/crtn.S: New files.
3753         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
3754         New files.
3755         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
3756         refer to cygming-crtbegin.c, cygming-crtend.c.
3757         Use $<.
3758         * config/i386/t-nto: New file.
3759         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
3760         * config/ia64/crti.S, config/ia64/crtn.S: New files.
3761         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
3762         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
3763         Use .S extension.
3764         Use $<.
3765         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
3766         (crtinitS.o): New rule.
3767         * config/ia64/vms-crtinit.S: New file.
3768         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
3769         * config/m32r/initfini.c: New file.
3770         * config/m32r/t-linux, config/m32r/t-m32r: New files.
3771         * config/m68k/crti.S, config/m68k/crtn.S: New files.
3772         * config/mcore/crti.S, config/mcore/crtn.S: New files.
3773         * config/mep/t-mep: New file.
3774         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
3775         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
3776         * config/mips/crti.S, config/mips/crtn.S: New files.
3777         * config/mips/t-crtstuff: New file.
3778         * config/mmix/crti.S, config/mmix/crtn.S: New files.
3779         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
3780         (CUSTOM_CRTIN): Set.
3781         ($(T)crti.o, $(T)crtn.o): Remove $(T),
3782         dependencies.
3783         Use $(srcdir) to refer to crti.S, crtn.S.
3784         Use .S extension, $<.
3785         * config/moxie/crti.asm: Rename to ...
3786         * config/moxie/crti.S: ... this.
3787         * config/moxie/crtn.asm: Rename to ...
3788         * config/moxie/crtn.S: ... this.
3789         * config/moxie/t-moxie: Remove.
3790         * config/pa/stublib.c: New file.
3791         * config/pa/t-stublib, config/pa/t-stublib64: New files.
3792         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
3793         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
3794         * config/rs6000/t-crtstuff: New file.
3795         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
3796         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
3797         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
3798         Make output file explicit.
3799         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
3800         Make output file explicit.
3801         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
3802         Make output file explicit.
3803         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
3804         Make output file explicit.
3805         * config/score/crti.S, config/score/crtn.S: New files.
3806         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
3807         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
3808         files.
3809         * config/sh/t-sh, config/sh/t-superh: New files.
3810         * config/sparc/t-linux64: New file.
3811         * config/spu/cache.S, config/spu/cachemgr.c: New files.
3812         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
3813         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
3814         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
3815         * config/t-crtin: Remove.
3816         * config/t-crtstuff-pic: New file.
3817         * config/t-sol2 (CUSTOM_CRTIN): Set.
3818         (crti.o, crtn.o): New rules.
3819         * config/vms/t-vms: New file.
3820         * config/vms/vms-ucrt0.c: New file.
3821         * config/xtensa/t-elf: New file.
3823 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3825         * Makefile.in (SHLIB_NM_FLAGS): Set.
3826         * mkmap-flat.awk, mkmap-symver.awk: New files.
3827         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
3828         exceptions.
3829         * configure: Regenerate.
3830         * config/libgcc-glibc.ver: New file.
3831         * config/libgcc-libsystem.ver: New file.
3832         * config/t-libunwind (SHLIB_LC): Set.
3833         * config/t-linux: New file.
3834         * config/t-slibgcc (INSTALL_SHLIB): New.
3835         (SHLIB_INSTALL): Use it.
3836         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
3837         to mkmap-symver.awk.
3838         (SHLIB_MAPFILES): Don't append, adapt pathname.
3839         (SHLIB_VERPFX): Set.
3840         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
3841         to mkmap-symver.awk.
3842         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
3843         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
3844         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
3845         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
3846         to mkmap-flat.awk.
3847         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
3848         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
3849         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
3850         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
3851         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
3852         * config/i386/libgcc-darwin.10.4.ver,
3853         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
3854         New files.
3855         * config/i386/t-darwin: Remove.
3856         * config/i386/t-darwin64: Likewise.
3857         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
3858         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
3859         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
3860         * config/i386/t-linux: New file.
3861         * config/i386/t-mingw32: New file.
3862         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
3863         * config/ia64/t-glibc: Rename to ...
3864         * config/ia64/t-linux: ... this.
3865         (SHLIB_MAPFILES): Set.
3866         * config/ia64/t-glibc-libunwind: Rename to ...
3867         * config/ia64/t-linux-libunwind: ... this.
3868         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
3869         * config/ia64/t-slibgcc-hpux: New file.
3870         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
3871         * config/m68k/t-slibgcc-elf-ver: New file.
3872         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
3873         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
3874         to mkmap-flat.awk.
3875         * config/pa/t-slibgcc-hpux: New file.
3876         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
3877         files.
3878         * config/rs6000/libgcc-darwin.10.4.ver,
3879         config/rs6000/libgcc-darwin.10.5.ver: New files.
3880         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
3881         config/rs6000/libgcc-glibc.ver.
3882         * config/rs6000/libgcc-ppc64.ver: Rename to
3883         config/rs6000/libgcc-ibm-ldouble.ver.
3884         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
3885         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
3886         * config/rs6000/t-ldbl128: Rename to ...
3887         * config/rs6000/t-linux: ... this.
3888         (SHLIB_MAPFILES): Adapt filename.
3889         * config/rs6000/t-slibgcc-aix: New file.
3890         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
3891         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
3892         libgcc-excl.ver, libgcc-glibc.ver.
3893         (SHLIB_LINK, SHLIB_INSTALL): Remove.
3894         * config/sparc/libgcc-glibc.ver: New file.
3895         * config/sparc/t-linux: New file.
3896         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
3897         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
3898         t-slibgcc-elf-ver to tmake_file.
3899         Add t-slibgcc-nolc-override to tmake_file for posix threads on
3900         *-*-freebsd[34].
3901         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3902         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
3903         t-slibgcc-elf-ver, t-linux to tmake_file.
3904         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
3905         tmake_file.
3906         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
3907         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
3908         (alpha*-dec-*vms*): Likewise.
3909         (arm*-*-freebsd*): Append to tmake_file.
3910         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
3911         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
3912         arm*-*-linux-*eabi.
3913         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
3914         tmake_file for arm*-*-symbianelf*.
3915         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
3916         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
3917         cris/t-linux.
3918         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
3919         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
3920         pa/t-slibgcc-dwarf-ver to tmake_file.
3921         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
3922         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
3923         (hppa*64*-*-hpux11*): Likewise.
3924         (hppa[12]*-*-hpux11*): Likewise.
3925         (x86_64-*-darwin*): Don't override tmake_file, but only keep
3926         i386/t-crtpc, i386/t-crtfm.
3927         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
3928         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
3929         to tmake_file.
3930         Add i386/t-cygwin to tmake_file.
3931         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
3932         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
3933         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
3934         to tmake_file.
3935         Add i386/t-mingw32 to tmake_file.
3936         (x86_64-*-mingw*): Likewise.
3937         (ia64*-*-freebsd*): Append to tmake_file.
3938         (ia64*-*-linux*): Append to tmake_file.
3939         Replace ia64/t-glibc by ia64/t-linux.
3940         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
3941         system libunwind.
3942         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
3943         t-slibgcc-hpux to tmake_file.
3944         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
3945         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
3946         (m32rle-*-linux*): Likewise.
3947         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
3948         sjlj exceptions.
3949         (microblaze*-linux*): New case.
3950         Append to tmake_file, add t-slibgcc-nolc-override.
3951         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
3952         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3953         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
3954         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3955         rs6000/t-slibgcc-aix to tmake_file.
3956         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3957         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3958         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3959         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3960         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3961         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
3962         sh*-*-linux*.
3963         (sparc-*-linux*): Append to tmake_file for *-leon*.
3964         Add sparc/t-linux to tmake_file for non-Leon targets.
3965         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
3966         (tic6x-*-uclinux): New case.
3967         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
3968         (tic6x-*-*): Add c6x/t-elf to tmake_file.
3969         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
3970         (am33_2.0-*-linux*): Append to tmake_file.
3971         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3972         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
3973         x86_64-*-kfreebsd*-gnu.
3974         Add i386/t-linux to tmake_file.
3976 2011-10-28  Ian Lance Taylor  <iant@google.com>
3978         * config/i386/morestack.S: Correct CFI information to do proper
3979         returns throughout function.  In 32-bit mode, save %ebx so that it
3980         is restored on unwind.
3982 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
3984         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
3985         case where B3 isn't the return register.
3987         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
3988         logic for doubleword pops.
3990 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
3992         * config/rs6000/t-freebsd: Add wildcard.
3994 2011-10-21  Paul Brook  <paul@codesourcery.com>
3996         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
3998 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
3999             Eric Botcazou  <ebotcazou@adacore.com>
4001         PR target/50737
4002         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
4003         fs->signal_frame to 1.
4005 2011-10-07  Ian Lance Taylor  <iant@google.com>
4007         * generic-morestack-thread.c: #include <errno.h>.
4009 2011-10-07  Ian Lance Taylor  <iant@google.com>
4011         PR target/46093
4012         * generic-morestack.c (__generic_morestack): Make sure the segment
4013         is large enough for both the stack frame and the copied
4014         parameters.
4016 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4018         PR bootstrap/49804
4019         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
4020         extra_parts.
4022 2011-09-28  Nick Clifton  <nickc@redhat.com>
4024         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
4025         64-bit doubles are not enabled.
4026         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
4027         and floatunsisf functions.
4029 2011-09-13  Paul Brook  <paul@codesourcery.com>
4031         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
4032         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
4033         * unwind-arm-common.inc: New file.
4034         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
4035         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
4036         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
4037         * config/c6x/libunwind.S: New file.
4038         * config/c6x/pr-support.c: New file.
4039         * config/c6x/unwind-c6x.c: New file.
4040         * config/c6x/unwind-c6x.h: New file.
4041         * config/c6x/t-c6x-elf: New file.
4043 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
4045         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
4046         (ASM_DIVZERO): Ditto.
4047         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
4049 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
4051         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
4053 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
4055         PR target/50090
4056         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
4057         instead of an assembly one.
4059 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
4061         PR bootstrap/50047
4062         * Makefile.in (install-unwind_h): Create
4063         $(gcc_objdir)/include/unwind.h atomically.
4065 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4067         * Makefile.in (install-unwind_h): Remove destination file first.
4069 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4071         * sync.c: New file.
4072         * config/mips/t-mips16: New file.
4073         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
4074         (mips*-*-linux*): Likewise.
4075         (mips*-sde-elf*): Likewise.
4076         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
4077         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
4078         Add mips/t-mips16 to tmake_file.
4079         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
4080         (mips-*-elf*): Likewise.
4081         (mips64-*-elf*): Likewise.
4082         (mips64orion-*-elf*): Likewise.
4083         (mips*-*-rtems*): Likewise.
4084         (mipstx39-*-elf*): Likewise.
4085         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
4086         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
4087         LIBGCC_SYNC_CFLAGS.
4088         Use $(srcdir) to refer to sync.c.
4089         Use $<.
4090         ($(libgcc-sync-funcs-o)): Likewise.
4091         ($(libgcc-sync-size-funcs-s-o)): Likewise.
4092         ($(libgcc-sync-funcs-s-o)): Likewise.
4094 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
4096         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
4097         t-libunwind.
4099 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
4101         PR other/48007
4102         * config/i386/value-unwind.h: New.
4104 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
4106         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
4107         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
4108         Add to tmake_file rather than overriding it.
4110 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4112         * config/t-softfp: Remove.
4113         * soft-fp: Moved from ../gcc/config.
4114         * soft-fp/README: Remove t-softfp reference.
4115         * soft-fp/t-softfp: Move to config/t-softfp.
4116         (softfp_machine_header): Remove.
4117         (softfp_file_list): Remove config subdir.
4118         (soft-fp-objects): New variable.
4119         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
4120         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
4121         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
4122         * config/t-softfp-excl: New file.
4123         * config/t-softfp-sfdf: New file.
4124         * config/t-softfp-tf: New file.
4125         * config/no-sfp-machine.h: New file.
4126         * config/arm/sfp-machine.h: New file.
4127         * config/arm/t-softfp: New file.
4128         * config/c6x/sfp-machine.h: New file.
4129         * config/i386/32/t-fprules-softfp: Rename to ...
4130         * config/i386/32/t-softfp: ... this.
4131         (tifunctions, LIB2ADD): Remove.
4132         (softfp_int_modes): Override.
4133         * config/i386/64/t-softfp-compat (tf-functions): Remove config
4134         subdir.
4135         * config/i386/64/eqtf2.c: Likewise.
4136         * config/i386/64/getf2.c: Likewise.
4137         * config/i386/64/letf2.c: Likewise.
4138         * config/ia64/sft-machine.h: New file.
4139         * config/ia64/t-fprules-softfp: Rename to ...
4140         * config/ia64/t-softfp: ... this.
4141         * config/lm32/sfp-machine.h: New file.
4142         * config/moxie/t-moxie-softfp: Remove.
4143         * config/rs6000/ibm-ldouble-format: New file.
4144         * config/rs6000/ibm-ldouble.c: New file.
4145         * config/rs6000/libgcc-ppc-glibc.ver: New file
4146         * config/rs6000/libgcc-ppc64.ver: New file
4147         * config/rs6000/sfp-machine.h: New file.
4148         * config/rs6000/t-freebsd: New file.
4149         * config/rs6000/t-ibm-ldouble: New file.
4150         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
4151         libgcc-ppc-glibc.ver.
4152         * config/rs6000/t-linux64: New file.
4153         * config/rs6000/t-ppccomm (LIB2ADD): Add
4154         $(srcdir)/config/rs6000/ibm-ldouble.c.
4155         * config/rs6000/t-ppccomm-ldbl: New file.
4156         * config/score/sfp-machine.h: New file.
4157         * config.host (sfp_machine_header): Explain.
4158         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
4159         t-softfp to tmake_file.
4160         (arm*-*-uclinux*): Likewise.
4161         (arm*-*-ecos-elf): Likewise.
4162         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
4163         (arm*-*-rtems*): Likewise.
4164         (arm*-*-elf): Likewise.
4165         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
4166         in tmake_file.
4167         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
4168         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
4169         (lm32-*-uclinux*): Likewise.
4170         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
4171         t-softfp-excl, t-softfp.
4172         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
4173         (powerpc64-*-darwin*): Likewise.
4174         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
4175         to tmake_file.
4176         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
4177         tmake_file.
4178         (powerpc-*-eabisim*): Likewise.
4179         (powerpc-*-elf*): Likewise.
4180         (powerpc-*-eabialtivec*): Likewise.
4181         (powerpc-xilinx-eabi*): Likewise.
4182         (powerpc-*-rtems*): Likewise.
4183         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
4184         t-softfp-excl, t-softfp to tmake_file.
4185         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
4186         rs6000/t-ppccomm-ldbl to tmake_file.
4187         (powerpcle-*-elf*): Likewise.
4188         (powerpcle-*-eabisim*): Likewise.
4189         (powerpcle-*-eabi*): Likewise.
4190         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
4191         rs6000/t-ibm-ldouble to tmake_file.
4192         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4193         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4194         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
4195         (tic6x-*-*): Likewise.
4196         (i[34567]86-*-darwin*, x86_64-*-darwin*,
4197         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
4198         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
4199         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
4200         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
4201         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
4202         t-softfp to tmake_file.
4203         * configure.ac (sfp_machine_header): Provide default if unset.
4204         Substitute.
4205         Link sfp-machine.h to config/$sfp_machine_header.
4206         * configure: Regenerate.
4208 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4210         * Makefile.in (double_type_size, long_double_type_size): Set.
4211         Remove $(fpbit-in-libgcc) support.
4212         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
4213         (fpbit-src): New variable.
4214         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
4215         Compile with -DFLOAT $(FPBIT_CFLAGS).
4216         Use $<.
4217         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
4218         Compile with $(FPBIT_CFLAGS).
4219         Use $<.
4220         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
4221         Compile with -DFLOAT $(TPBIT_CFLAGS).
4222         Use $<.
4223         * configure.ac (double_type_size, long_double_type_size):
4224         Determine and substitute.
4225         * configure: Regenerate.
4226         * fp-bit.c, fp-bit.h: New files.
4227         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
4228         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
4229         * config/mips/t-mips: New file.
4230         * config/mips/t-sdemtk: New file.
4231         * config/rs6000/ppc64-fp.c: New file.
4232         * config/rs6000/t-darwin (LIB2ADD): Add
4233         $(srcdir)/config/rs6000/ppc64-fp.c.
4234         * config/rs6000/t-ppc64-fp: New file.
4235         * config/rx/rx-lib.h: New file.
4236         * config/rx/t-rx (FPBIT): Set to true.
4237         ($(gcc_objdir)/fp-bit.c): Remove.
4238         (DPBIT): Set to true only with -m64bit-doubles.
4239         ($(gcc_objdir)/dp-bit.c): Remove.
4240         * config/sparc/t-softfp: Remove.
4241         * config/spu/t-elf: New file.
4242         * config/t-fdpbit, config/t-fpbit: New files.
4243         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
4244         (mips*-*-*): Likewise.
4245         (arm-wrs-vxworks): Likewise.
4246         (arm*-*-freebsd*): Likewise.
4247         (avr-*-rtems*): Add t-fpbit to tmake_file.
4248         (avr-*-*): Likewise.
4249         (bfin*-elf*): Add t-fdpbit to tmake_file.
4250         (bfin*-uclinux*): Likewise.
4251         (bfin*-linux-uclibc*): Likewise.
4252         (bfin*-rtems*): New case.
4253         Add t-fdpbit to tmake_file.
4254         (bfin*-*): Add t-fdpbit to tmake_file.
4255         (crisv32-*-elf): Likewise.
4256         (cris-*-linux*): Likewise.
4257         (fr30-*-elf): Likewise.
4258         (frv-*-elf, frv-*-*linux*): Likewise.
4259         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
4260         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
4261         (m32r-*-elf*): Likewise.
4262         (m32rle-*-elf*): Likewise.
4263         (m32r-*-linux*): Likewise.
4264         (m32rle-*-linux*): Likewise.
4265         (mcore-*-elf): Add t-fdpbit to tmake_file.
4266         (microblaze*-*-*): Likewise.
4267         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
4268         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
4269         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
4270         Fix typo.
4271         Add mips/t-tpbit to tmake-file.
4272         (mips*-*-linux*): Fix typo.
4273         (mips*-sde-elf*): New case
4274         Add mips/t-sdemtk unless using newlib.
4275         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
4276         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
4277         (mn10300-*-*): Likewise.
4278         (pdp11-*-*): Likewise.
4279         (picochip-*-*): Add t-fpbit to tmake_file.
4280         (powerpc-*-eabisimaltivec*): Likewise.
4281         (powerpc-*-eabisim*): Likewise.
4282         (powerpc-*-elf*): Likewise.
4283         (powerpc-*-eabialtivec*): Likewise.
4284         (powerpc-xilinx-eabi*): New case.
4285         Add t-fdpbit to tmake_file.
4286         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
4287         (powerpc-*-rtems*): Likewise.
4288         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
4289         tmake_file.
4290         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
4291         tmake_file.
4292         (powerpc-*-lynxos*): Likewise.
4293         (powerpcle-*-elf*): Likewise.
4294         (powerpcle-*-eabisim*): Likewise.
4295         (powerpcle-*-eabi*): Likewise.
4296         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
4297         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
4298         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4299         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4300         (rx-*-elf): Add t-fdpbit to tmake_file.
4301         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
4302         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
4303         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
4304         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
4305         sh*-*-netbsd*.
4306         (sh-*-rtems*): Add t-fdpbit to tmake_file.
4307         (sh-wrs-vxworks): Likewise.
4308         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
4309         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
4310         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
4311         (sparc64-*-rtems*): ... new case.
4312         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
4313         (spu-*-elf*): Likewise.
4314         Add spu/t-elf to tmake_file.
4315         (v850*-*-*): Add t-fdpbit to tmake_file.
4316         (xstormy16-*-elf): Likewise.
4317         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
4318         (mep*-*-*): Likewise.
4320 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4322         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
4323         variables.
4324         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
4325         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
4326         (install-unwind_h): New target.
4327         (all): Depend on it.
4328         * config.host (unwind_header): New variable.
4329         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
4330         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
4331         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
4332         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
4333         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
4334         Set unwind_header.
4335         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
4336         Set unwind_header.
4337         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
4338         arm*-*-eabi*.
4339         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
4340         Set unwind_header.
4341         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
4342         (ia64*-*-freebsd*): Likewise.
4343         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
4344         tmake_file.
4345         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
4346         $with_system_libunwind.
4347         (ia64*-*-hpux*): Set tmake_file.
4348         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
4349         (picochip-*-*): Set tmake_file.
4350         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
4351         md_unwind_header.
4352         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4353         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4354         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
4355         (xtensa*-*-elf*): Set tmake_file.
4356         (xtensa*-*-linux*): Likewise.
4357         * configure.ac: Include ../config/unwind_ipinfo.m4.
4358         Call GCC_CHECK_UNWIND_GETIPINFO.
4359         Link unwind.h to $unwind_header.
4360         * configure: Regenerate.
4361         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
4362         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
4363         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
4364         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
4365         * config/unwind-dw2-fde-darwin.c: New file.
4366         * config/arm/libunwind.S, config/arm/pr-support.c,
4367         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
4368         config/arm/unwind-arm.h,: New files.
4369         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
4370         config/ia64/t-eh-ia64, config/ia64/t-glibc,
4371         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
4372         config/ia64/t-vms, config/ia64/unwind-ia64.c,
4373         config/ia64/unwind-ia64.h: New files.
4374         * config/picochip/t-picochip: New file.
4375         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
4376         files.
4377         * config/rs6000/t-darwin (LIB2ADDEH): Set.
4378         * config/s390/t-tpf (LIB2ADDEH): Remove.
4379         * config/t-darwin (LIB2ADDEH): Set.
4380         * config/t-eh-dw2-dip: New file.
4381         * config/t-libunwind, config/t-libunwind-elf: New files.
4382         * config/t-sol2 (LIB2ADDEH): Remove.
4383         * config/xtensa/t-xtensa: New file.
4385 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
4387         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
4388         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
4389         long long to check rt_sigreturn syscall.
4391 2011-08-02  Alan Modra  <amodra@gmail.com>
4393         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
4394         Restore for indirect call bcrtl from correct stack slot, and only
4395         if cfa+40 isn't valid.
4397 2011-08-01  Julian Brown  <julian@codesourcery.com>
4399         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
4400         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
4401         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
4403 2011-08-01  Julian Brown  <julian@codesourcery.com>
4405         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
4406         (libgcc-std.ver.in): Use above.
4407         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
4408         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
4409         throughout file.
4410         * config/t-fixedpoint-gnu-prefix: New file.
4411         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
4412         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
4413         instead of __PFX__.
4415 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
4417         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
4418         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
4419         for x86-64.  Properly check __x86_64__ and __LP64__.
4421 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
4423         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
4424         version.
4425         (_FP_WS_TYPE): Likewise.
4426         (_FP_I_TYPE): Likewise.
4428 2011-07-28  Alan Modra  <amodra@gmail.com>
4430         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
4431         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
4432         in a plt call stub.  Do restore r2 if stopped on bctrl.
4434 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4436         * config.host (i[3456x]86-*-netware*): Remove.
4437         * config/i386/netware-crt0.c, config/i386/t-nwld,
4438         config/i386/t-slibgcc-nwld: Remove.
4440 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
4442         * config.host: Handle tic6x-*-*.
4443         * config/c6x/c6x-abi.h: New file.
4445 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4447         * config/i386/crtprec.c: New file.
4448         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
4449         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
4450         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
4451         (x86_64-*-darwin*): Likewise.
4452         (i[34567]86-*-solaris2*: Likewise.
4454 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4456         * config/alpha/crtfastmath.c: New file.
4457         * config/i386/crtfastmath.c: New file.
4458         * config/ia64/crtfastmath.c: New file.
4459         * config/mips/crtfastmath.c: New file.
4460         * config/sparc/crtfastmath.c: New file.
4462         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
4463         crtfastmath.c.
4464         Add -frandom-seed=gcc-crtfastmath.
4465         * config/alpha/t-crtfm: Remove.
4466         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
4467         * config/ia64/t-ia64 (crtfastmath.o): Remove.
4469         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
4470         (alpha*-dec-osf5.1*): Likewise.
4471         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
4472         Add crtfastmath.o to extra_parts.
4473         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
4474         Add crtfastmath.o to extra_parts.
4475         (x86_64-*-darwin*): Likewise.
4476         (x86_64-*-mingw*): Likewise.
4477         (ia64*-*-elf*): Add t-crtfm to tmake_file.
4478         (ia64*-*-freebsd*): Likewise.
4479         (ia64*-*-linux*): Likewise.
4480         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
4481         Add crtfastmath.o to extra_parts.
4483 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4485         * config/darwin-crt3.o: New file.
4486         * config/rs6000/darwin-crt2.c: New file.
4487         * config/t-darwin: New file.
4488         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
4489         (crt2.o): New rule.
4490         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
4491         (powerpc-*-darwin*): Add crt2.o to extra_parts.
4492         (powerpc64-*-darwin*): Likewise.
4494 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4496         * config/i386/netware-crt0.c: New file.
4497         * config/i386/t-nwld: Rename to ...
4498         * config/i386/t-slibgcc-nwld: ... this.
4499         * config/i386/t-nwld: New file.
4500         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
4501         tmake_file.
4502         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
4503         extra_parts.
4505 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4507         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
4508         i386/t-crtstuff.
4509         * configure: Regenerate.
4511 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4513         * dfp-bit.c, dfp-bit.h: New files.
4514         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
4515         variables.
4516         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
4517         ($(d64pbit-o)): Likewise.
4518         ($(d128pbit-o)): Likewise.
4519         * config/t-dfprules: New file.
4520         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
4521         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
4522         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
4523         (x86_64-*-linux*): Likewise.
4524         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
4525         (i[34567]86-*-cygwin*): Likewise.
4526         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
4527         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
4529 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4531         * Makfile.in (LIBGCOV): New variable.
4532         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
4533         * libgcov.c: New file.
4535 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4537         * fixed-bit.c, fixed-bit.h: New files.
4538         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
4539         refer to fixed-bit.c.
4541 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
4543         * config.host (*local*): Remove.
4545 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4547         PR target/39150
4548         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
4549         like i?86-*-solaris2.1[0-9]*.
4550         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
4551         * configure.ac (i?86-*-solaris2*): Likewise.
4552         * configure: Regenerate.
4554 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
4556         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
4557         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
4558         md_unwind_header by splitting out of...
4559         (i[34567]86-*-linux*): ... this.
4560         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
4561         Remove md_unwind_header by splitting out of...
4562         (x86_64-*-linux*): ... this.
4564 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
4566         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
4568 2011-06-28  Nick Clifton  <nickc@redhat.com>
4570         * config.host: Recognize all V850 variants.
4572 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
4574         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
4576 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4578         * shared-object.mk (c_flags-$o): Save c_flags.
4579         ($(base)$(objext)): Use it.
4580         ($(base)_s$(objext)): Likewise.
4582 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
4584         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
4585         * libgcc-std.ver.in (GCC_4.7.0): New section.
4587 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
4589         PR target/49313
4590         PR target/29524
4591         * config/avr/t-avr: Fix line endings.
4592         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
4593         _parityXX2.
4595 2011-06-14  Olivier Hainque  <hainque@adacore.com>
4596             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4598         * config/mips/irix6-unwind.h: New file.
4599         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
4601 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
4603         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
4604         (sparc64_fallback_frame_state): Use it.
4605         (sparc64_frob_update_context): Further adjust context.
4606         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
4607         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
4608         * config/sparc/sol2-cn.S: Likewise.
4610 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4612         * enable-execute-stack-empty.c: New file.
4613         * enable-execute-stack-mprotect.c: New file.
4614         * config/i386/enable-execute-stack-mingw32.c: New file.
4615         * config.host (enable_execute_stack): New variable.
4616         Select appropriate variants.
4617         * configure.ac: Link enable-execute-stack.c to
4618         $enable_execute_stack.
4619         * configure: Regenerate.
4620         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
4621         (lib2funcs): Remove _enable_execute_stack.
4623 2011-06-09  David S. Miller  <davem@davemloft.net>
4624             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4626         * config.host (sparc-*-linux*): Correct md_unwind_header
4627         filename.
4628         (s390x-ibm-tpf*): Fix typo.
4630 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4632         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
4633         Add crtfastmath.o to extra_parts.
4634         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
4635         mips/t-crtfm.
4636         * config/mips/t-crtfm: Remove.
4638 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4640         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
4642 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
4644         * config.host (sh*-*-linux*): Fix typo.
4646 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4648         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
4649         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
4650         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
4651         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
4652         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
4653         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
4654         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
4655         Wrap in !__MINGW64__.
4656         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
4657         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
4658         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
4659         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
4660         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
4661         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
4662         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
4663         Wrap in !__LP64__.
4664         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
4665         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
4666         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
4667         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
4668         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
4669         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
4670         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
4671         * config/no-unwind.h: New file.
4672         * config.host (md_unwind_header): Document.
4673         Define.
4674         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
4675         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
4676         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
4677         hppa[12]*-*-hpux11*): Set md_unwind_header.
4678         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
4679         Set md_unwind_header.
4680         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
4681         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
4682         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
4683         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
4684         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
4685         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
4686         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
4687         md_unwind_header.
4688         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
4689         * configure: Regenerate.
4691 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4693         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
4694         Set tmake_file, extra_parts.
4695         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
4696         Remove O32 support.
4697         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
4698         Remove O32 support.
4699         * config/mips/t-irix6: New file.
4700         * config/mips/t-slibgcc-irix: New file.
4702 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4704         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
4705         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
4707 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4709         * configure.ac (target_thread_file): Determine thread model.
4710         * configure: Regenerate.
4711         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
4712         * config/alpha/t-alpha: New file.
4713         * config/alpha/t-crtfm: Use $<.
4714         * config/alpha/t-ieee: New file.
4715         * config/alpha/t-osf-pthread: New file.
4716         * config/alpha/t-slibgcc-osf: New file.
4717         * config/alpha/libgcc-osf5.ver: New file.
4719 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4721         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
4722         tmake_file.
4723         Add crtfastmath.o to extra_parts.
4725 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4727         * config/gmon-sol2.c: Reindent.
4728         Cleanup comments.
4729         Remove, correct casts.
4730         Use STDERR_FILENO, NULL.
4731         (BASEADDRESS): Remove.
4732         (minbrk): Remove.
4733         (errno, sbrk): Remove declarations.
4734         (monstartup) [hp300]: Remove.
4735         (mcount): Remove.
4737 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4739         * Makefile.in (cpu_type): Define.
4740         * config.host (i[34567]86-*-rtems*): Handle it.
4741         (i[34567]86-*-solaris2*): Move body ...
4742         (*-*-solaris2*): ... here.
4743         New case, generalize.
4744         (sparc-*-elf*): Handle it.
4745         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
4746         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
4747         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
4748         Fold into ...
4749         (sparc*-*-solaris2*): ... this.
4750         New case.
4751         (sparc64-*-elf*): Handle it.
4752         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
4753         Merge ../gcc/config/i386/gmon-sol2.c.
4754         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
4755         Use C comments.
4756         Merge ../gcc/config/i386/sol2-gc1.asm.
4757         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
4758         Use C comments.
4759         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
4760         Use C comments.
4761         * config/i386/t-crtfm (crtfastmath.o): Use $<.
4762         * config/i386/t-crtstuff: New file.
4763         * config/i386/t-softfp: New file.
4764         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
4765         $(T)crti.o, $(T)crtn.o): Remove.
4766         (gcrt1.o): New rule.
4767         (TARGET_LIBGCC2_CFLAGS): Remove.
4768         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
4769         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
4770         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
4771         * config/sparc/t-sol2: New file.
4772         * config/sparc/t-crtfm: Move to ...
4773         * config/t-crtfm: ... this.
4774         Use $(cpu_type), $<.
4775         * config/t-crtin: New file.
4776         * config/sparc/t-softfp: New file.
4777         * config/sparc/t-softmul: New file.
4778         * config/t-rtems: New file.
4779         * config/t-slibgcc: New file.
4780         * config/t-slibgcc-elf-ver: New file.
4781         * config/t-slibgcc-gld: New file.
4782         * config/t-slibgcc-sld: New file.
4783         * config/t-sol2: New file.
4784         * configure.ac: Include ../config/lib-ld.m4.
4785         Call AC_LIB_PROG_LD_GNU.
4786         Substitute cpu_type.
4787         * configure: Regenerate.
4789 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
4791         PR bootstrap/49173
4792         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
4793         libgcc-std.ver in the build directory.
4794         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
4795         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
4797 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
4799         * libgcc-std.ver.in: New file.
4800         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
4801         variables.
4802         (libgcc-std.ver): New rule.
4803         * config/t-gnu-prefix: New file.
4805 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4807         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
4809 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
4811         * config/i386/darwin-lib.h: New file.
4813 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
4815         * config/arm/symbian-lib.h: New.
4817 2011-05-04  Chris Demetriou  <cgd@google.com>
4819         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
4820         (__x86.get_pc_thunk.bx): ...this.
4821         (__morestack): Adjust for rename, remove undef of __i686.
4823 2011-05-03  Chris Demetriou  <cgd@google.com>
4825         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
4827 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
4829         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
4830         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
4831         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
4832         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
4833         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
4834         Remove cases.
4836 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
4838         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
4839         Adjust copyright year.
4841 2011-03-07  Ian Lance Taylor  <iant@google.com>
4843         * generic-morestack.c (__splitstack_find): Adjust returned stack
4844         pointer to include all registers pushed by __morestack.
4846 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
4848         PR target/40125
4849         * configure.ac: Call ACX_NONCANONICAL_TARGET.
4850         (toolexecdir): Calculate and AC_SUBST.
4851         (toolexeclibdir): Likewise.
4852         * Makefile.in (target_noncanonical): Import.
4853         (toolexecdir): Likewise.
4854         (toolexeclibdir): Likewise.
4855         * configure: Regenerate.
4857 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
4859         PR target/46040
4860         * config/arm/bpabi.h: Rename to...
4861         * config/arm/bpabi-lib.h: ...this.
4863 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4865         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
4866         appropriate.
4867         * configure: Regenerate.
4869 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
4871         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
4872         __FLOAT_WORD_ORDER__.
4873         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
4874         Delete.
4876 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4878         PR other/46202
4879         * Makefile.in (install-strip): New phony target.
4881 2010-11-07  Ian Lance Taylor  <iant@google.com>
4883         PR target/46089
4884         * config/i386/morestack.S (__morestack_large_model): New
4885         function.
4887 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
4889         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
4890         Delete.
4891         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
4893 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
4895         * config/arm/bpabi.h: New file.
4896         * config/frv/frv-abi.h: New file.
4898 2010-10-01  Ian Lance Taylor  <iant@google.com>
4900         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
4901         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
4903 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
4905         PR target/45858
4906         * config.host: Add the missing `$'.
4908 2010-09-30  Michael Eager  <eager@eagercon.com>
4910         * config.host: Add microblaze*-*-*.
4911         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
4912         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
4913         udivsi3.asm,umodsi3.asm}:  New.
4915 2010-09-28  Ian Lance Taylor  <iant@google.com>
4917         * configure.ac: Adjust CFI test to test assembler directly rather
4918         than checking gcc preprocessor macro.
4919         * configure: Rebuild.
4921 2010-09-27  Ian Lance Taylor  <iant@google.com>
4923         * configure.ac: Test whether assembler supports CFI directives.
4924         * config.host: Only add t-stack and i386/t-stack-i386 to
4925         tmake_file if libgcc_cv_cfi is "yes".
4926         * configure: Rebuild.
4928 2010-09-27  Ian Lance Taylor  <iant@google.com>
4930         * generic-morestack.h: New file.
4931         * generic-morestack.c: New file.
4932         * generic-morestack-thread.c: New file.
4933         * config/i386/morestack.S: New file.
4934         * config/t-stack: New file.
4935         * config/i386/t-stack-i386: New file.
4936         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
4937         i386/t-stack-i386 to tmake_file.
4939 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
4941         * Makefile.in (libgcc-extra-parts):  Check for static archives and
4942         invoke ranlib after installing them.
4943         (gcc-extra-parts): Likewise.
4944         (install-leaf): Likewise.
4946 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
4948         * configure: Regenerated.
4950 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
4952         * configure: Regenerated.
4954 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
4955             Andrew Pinski  <pinskia@gmail.com>
4957         PR target/40959
4958         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
4960 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4962         PR target/45524
4963         * configure: Regenerated.
4965 2010-09-06  Andreas Schwab  <schwab@redhat.com>
4967         * configure: Regenerate.
4969 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
4971         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
4972         64bit targets.
4973         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
4974         for 64bit targets.
4976 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
4977             Iain Sandoe  <iains@gcc.gnu.org>
4979         PR target/45476
4980         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
4981         LIB2FUNCS_EXCLUDE functions.
4983 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4985         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
4986         Include dfp.m4.
4987         * configure: Regenerate.
4989 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
4991         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
4992         i386/t-freebsd to tmake_file.
4993         * config/i386/t-freebsd: New file.
4994         * config/i386/libgcc-bsd.ver: New file.
4996 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
4998         * config.host (powerpc*-eabispe*): Set tmake_file.
4999         (powerpc*-eabi*): Likewise.
5000         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
5001         crtbeginS, crtendS, crtbeginT.
5003 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
5005         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
5006         to tmake_file.  Add crtfastmath.o to extra_parts.
5007         * config/mips/t-crtfm: New.
5009 2010-05-19  Joel Sherrill <joel.sherrill@oarcorp.com>
5011         * config.host (sparc64-*-rtems*): New target.
5013 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5015         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
5016         assembler syntax.
5018 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
5020         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
5022 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5024         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
5025         alpha-dec-osf5.0* support.
5027 2010-04-01  Ralf Corsépius <ralf.corsepius@rtems.org>
5029         * config.host: Add lm32-*-rtems*.
5031 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5032             Uros Bizjak <ubizjak@gmail.com>
5034         PR target/39048
5035         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
5036         like other remaining 32-bit x86 OSes.
5037         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
5038         assembler syntax.
5039         * config/i386/libgcc-sol2.ver: New file.
5040         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
5042 2010-03-30  Jack Howarth <howarth@bromo.med.uc.edu>
5044         PR c/43553
5045         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
5046         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
5047         is used and substitute set_use_emutls.
5048         * configure: Regenerated.
5050 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
5052         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
5054 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5056         PR target/38085
5057         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
5058         MULTILIB_CFLAGS.
5059         ($(T)gcrt1.o): Likewise.
5060         ($(T)crt1.o): Likewise.
5061         ($(T)crti.o): Likewise.
5062         ($(T)crtn.o): Likewise.
5064 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5066         PR other/42980
5067         * Makefile.in (install): Use $(MAKE) string in rule, for
5068         parallel make.
5070 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
5072         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
5073         * config/mmix/t-mmix: New file.
5074         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
5076 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
5078         PR java/41991
5079         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
5080         SHLIB_MAPFILES.
5082 2010-01-04  Anthony Green  <green@moxielogic.com>
5084         * config/moxie/crti.asm, config/moxie/crtn.asm,
5085         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
5086         config/moxie/t-moxie: New files.
5087         * config.host: Add t-moxie-softfp reference.
5089 2009-11-18  Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
5091         PR other/39888
5092         * config/t-slibgcc-darwin: Fix embedded rpaths for
5093         --enable-version-specific-runtime-libs, build extension stub
5094         libs exposing features available from current libgcc_s.
5096 2009-11-11  Jon Beniston <jon@beniston.com>
5098         * config.host: Add lm32 targets.
5099         * config/lm32: New directory.
5100         * config/lm32/libgcc_lm32.h: New file.
5101         * config/lm32/_mulsi3.c: New file.
5102         * config/lm32/_udivmodsi4.c: New file.
5103         * config/lm32/_divsi3.c: New file.
5104         * config/lm32/_modsi3.c: New file.
5105         * config/lm32/_udivsi3.c: New file.
5106         * config/lm32/_umodsi3.c: New file.
5107         * config/lm32/_lshrsi3.S: New file.
5108         * config/lm32/_ashrsi3.S: New file.
5109         * config/lm32/_ashlsi3.S: New file.
5110         * config/lm32/crti.S: New file.
5111         * config/lm32/crtn.S: New file.
5112         * config/lm32/t-lm32: New file.
5113         * config/lm32/t-elf: New file.
5114         * config/lm32/t-uclinux: New file.
5116 2009-10-26  Nick Clifton  <nickc@redhat.com>
5118         * config.host: Add support for RX target.
5119         * config/rx: New directory.
5120         * config/rx/rx-abi-functions.c: New file. Supplementary
5121         functions for libgcc to support the RX ABI.
5122         * config/rx/rx-abi.h: New file.  Supplementary header file for
5123         libgcc RX ABI functions.
5124         * config/rx/t-rx: New file: Makefile fragment for building
5125         libgcc for the RX.
5127 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
5129         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
5130         constraint of y0 to "g".
5132 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5134         * config.host: Include the s390 makefile fragments.
5135         * config/s390/32/_fixdfdi.c: New file.
5136         * config/s390/32/_fixsfdi.c: New file.
5137         * config/s390/32/_fixtfdi.c: New file.
5138         * config/s390/32/_fixunsdfdi.c: New file.
5139         * config/s390/32/_fixunssfdi.c: New file.
5140         * config/s390/32/_fixunstfdi.c: New file.
5141         * config/s390/32/t-floattodi: New file.
5142         * config/s390/libgcc-glibc.ver: New file.
5143         * config/s390/t-crtstuff: New file.
5144         * config/s390/t-linux: New file.
5145         * config/s390/t-tpf: New file.
5147 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5149         * configure.ac (AC_PREREQ): Bump to 2.64.
5151 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
5153         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
5155 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5157         * configure: Regenerate.
5159 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
5161         * config.host (ia64-hp-*vms*): New target.
5162         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
5163         with ia64-hp-*vms*.
5165 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5167         * configure.ac: Add snippet for maintainer-mode.
5168         * configure: Regenerate.
5169         * Makefile.in (AUTOCONF, configure_deps): New variables.
5170         ($(srcdir)/configure)): New rule, active only with maintainer
5171         mode turned on.
5173 2009-06-23  DJ Delorie  <dj@redhat.com>
5175         Add MeP port.
5176         * config.host: Add mep support.
5178 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
5180         * config.host: Add i386/${host_address}/t-fprules-softfp and
5181         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
5183         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
5184         for mingw targets.
5185         * config/i386/64/_multc3.c: Likewise.
5186         * config/i386/64/_powitf2.c: Likewise.
5187         * config/i386/64/eqtf2.c: Likewise.
5188         * config/i386/64/getf2.c: Likewise.
5189         * config/i386/64/letf2.c: Likewise.
5190         * config/i386/64/letf2.c: Likewise.
5191         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
5192         unsigned long long for x64 mingw targets.
5193         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
5194         (_FP_I_TYPE): Define as long long for x64 mingw target.
5196 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
5198         * config.host (vax-*-linux*): New.
5200 2009-05-31  Anthony Green  <green@moxielogic.com>
5202         * config.host: Add moxie support.
5203         * config/moxie/t-moxie: New file.
5205 2009-05-29  David Billinghurst <billingd@gcc.gnu.org>
5207         * config.host: Add i386/${host_address}/t-fprules-softfp and
5208         t-softfp to tmake_file for i[34567]86-*-cygwin*.
5210 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
5212         * config.host: Add i386/${host_address}/t-fprules-softfp to
5213         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
5215 2009-04-09  Nick Clifton  <nickc@redhat.com>
5217         * config/ia64/tf-signs.c: Change copyright header to refer to
5218         version 3 of the GNU General Public License with version 3.1
5219         of the GCC Runtime Library Exception and to point readers at
5220         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
5221         web page.
5222         * config/i386/32/tf-signs.c: Likewise.
5223         * config/libbid/_addsub_dd.c: Likewise.
5224         * config/libbid/_addsub_sd.c: Likewise.
5225         * config/libbid/_addsub_td.c: Likewise.
5226         * config/libbid/_dd_to_df.c: Likewise.
5227         * config/libbid/_dd_to_di.c: Likewise.
5228         * config/libbid/_dd_to_sd.c: Likewise.
5229         * config/libbid/_dd_to_sf.c: Likewise.
5230         * config/libbid/_dd_to_si.c: Likewise.
5231         * config/libbid/_dd_to_td.c: Likewise.
5232         * config/libbid/_dd_to_tf.c: Likewise.
5233         * config/libbid/_dd_to_udi.c: Likewise.
5234         * config/libbid/_dd_to_usi.c: Likewise.
5235         * config/libbid/_dd_to_xf.c: Likewise.
5236         * config/libbid/_df_to_dd.c: Likewise.
5237         * config/libbid/_df_to_sd.c: Likewise.
5238         * config/libbid/_df_to_td.c: Likewise.
5239         * config/libbid/_di_to_dd.c: Likewise.
5240         * config/libbid/_di_to_sd.c: Likewise.
5241         * config/libbid/_di_to_td.c: Likewise.
5242         * config/libbid/_div_dd.c: Likewise.
5243         * config/libbid/_div_sd.c: Likewise.
5244         * config/libbid/_div_td.c: Likewise.
5245         * config/libbid/_eq_dd.c: Likewise.
5246         * config/libbid/_eq_sd.c: Likewise.
5247         * config/libbid/_eq_td.c: Likewise.
5248         * config/libbid/_ge_dd.c: Likewise.
5249         * config/libbid/_ge_sd.c: Likewise.
5250         * config/libbid/_ge_td.c: Likewise.
5251         * config/libbid/_gt_dd.c: Likewise.
5252         * config/libbid/_gt_sd.c: Likewise.
5253         * config/libbid/_gt_td.c: Likewise.
5254         * config/libbid/_isinfd128.c: Likewise.
5255         * config/libbid/_isinfd32.c: Likewise.
5256         * config/libbid/_isinfd64.c: Likewise.
5257         * config/libbid/_le_dd.c: Likewise.
5258         * config/libbid/_le_sd.c: Likewise.
5259         * config/libbid/_le_td.c: Likewise.
5260         * config/libbid/_lt_dd.c: Likewise.
5261         * config/libbid/_lt_sd.c: Likewise.
5262         * config/libbid/_lt_td.c: Likewise.
5263         * config/libbid/_mul_dd.c: Likewise.
5264         * config/libbid/_mul_sd.c: Likewise.
5265         * config/libbid/_mul_td.c: Likewise.
5266         * config/libbid/_ne_dd.c: Likewise.
5267         * config/libbid/_ne_sd.c: Likewise.
5268         * config/libbid/_ne_td.c: Likewise.
5269         * config/libbid/_sd_to_dd.c: Likewise.
5270         * config/libbid/_sd_to_df.c: Likewise.
5271         * config/libbid/_sd_to_di.c: Likewise.
5272         * config/libbid/_sd_to_sf.c: Likewise.
5273         * config/libbid/_sd_to_si.c: Likewise.
5274         * config/libbid/_sd_to_td.c: Likewise.
5275         * config/libbid/_sd_to_tf.c: Likewise.
5276         * config/libbid/_sd_to_udi.c: Likewise.
5277         * config/libbid/_sd_to_usi.c: Likewise.
5278         * config/libbid/_sd_to_xf.c: Likewise.
5279         * config/libbid/_sf_to_dd.c: Likewise.
5280         * config/libbid/_sf_to_sd.c: Likewise.
5281         * config/libbid/_sf_to_td.c: Likewise.
5282         * config/libbid/_si_to_dd.c: Likewise.
5283         * config/libbid/_si_to_sd.c: Likewise.
5284         * config/libbid/_si_to_td.c: Likewise.
5285         * config/libbid/_td_to_dd.c: Likewise.
5286         * config/libbid/_td_to_df.c: Likewise.
5287         * config/libbid/_td_to_di.c: Likewise.
5288         * config/libbid/_td_to_sd.c: Likewise.
5289         * config/libbid/_td_to_sf.c: Likewise.
5290         * config/libbid/_td_to_si.c: Likewise.
5291         * config/libbid/_td_to_tf.c: Likewise.
5292         * config/libbid/_td_to_udi.c: Likewise.
5293         * config/libbid/_td_to_usi.c: Likewise.
5294         * config/libbid/_td_to_xf.c: Likewise.
5295         * config/libbid/_tf_to_dd.c: Likewise.
5296         * config/libbid/_tf_to_sd.c: Likewise.
5297         * config/libbid/_tf_to_td.c: Likewise.
5298         * config/libbid/_udi_to_dd.c: Likewise.
5299         * config/libbid/_udi_to_sd.c: Likewise.
5300         * config/libbid/_udi_to_td.c: Likewise.
5301         * config/libbid/_unord_dd.c: Likewise.
5302         * config/libbid/_unord_sd.c: Likewise.
5303         * config/libbid/_unord_td.c: Likewise.
5304         * config/libbid/_usi_to_dd.c: Likewise.
5305         * config/libbid/_usi_to_sd.c: Likewise.
5306         * config/libbid/_usi_to_td.c: Likewise.
5307         * config/libbid/_xf_to_dd.c: Likewise.
5308         * config/libbid/_xf_to_sd.c: Likewise.
5309         * config/libbid/_xf_to_td.c: Likewise.
5310         * config/libbid/bid128.c: Likewise.
5311         * config/libbid/bid128_2_str.h: Likewise.
5312         * config/libbid/bid128_2_str_macros.h: Likewise.
5313         * config/libbid/bid128_2_str_tables.c: Likewise.
5314         * config/libbid/bid128_add.c: Likewise.
5315         * config/libbid/bid128_compare.c: Likewise.
5316         * config/libbid/bid128_div.c: Likewise.
5317         * config/libbid/bid128_fma.c: Likewise.
5318         * config/libbid/bid128_logb.c: Likewise.
5319         * config/libbid/bid128_minmax.c: Likewise.
5320         * config/libbid/bid128_mul.c: Likewise.
5321         * config/libbid/bid128_next.c: Likewise.
5322         * config/libbid/bid128_noncomp.c: Likewise.
5323         * config/libbid/bid128_quantize.c: Likewise.
5324         * config/libbid/bid128_rem.c: Likewise.
5325         * config/libbid/bid128_round_integral.c: Likewise.
5326         * config/libbid/bid128_scalb.c: Likewise.
5327         * config/libbid/bid128_sqrt.c: Likewise.
5328         * config/libbid/bid128_string.c: Likewise.
5329         * config/libbid/bid128_to_int16.c: Likewise.
5330         * config/libbid/bid128_to_int32.c: Likewise.
5331         * config/libbid/bid128_to_int64.c: Likewise.
5332         * config/libbid/bid128_to_int8.c: Likewise.
5333         * config/libbid/bid128_to_uint16.c: Likewise.
5334         * config/libbid/bid128_to_uint32.c: Likewise.
5335         * config/libbid/bid128_to_uint64.c: Likewise.
5336         * config/libbid/bid128_to_uint8.c: Likewise.
5337         * config/libbid/bid32_to_bid128.c: Likewise.
5338         * config/libbid/bid32_to_bid64.c: Likewise.
5339         * config/libbid/bid64_add.c: Likewise.
5340         * config/libbid/bid64_compare.c: Likewise.
5341         * config/libbid/bid64_div.c: Likewise.
5342         * config/libbid/bid64_fma.c: Likewise.
5343         * config/libbid/bid64_logb.c: Likewise.
5344         * config/libbid/bid64_minmax.c: Likewise.
5345         * config/libbid/bid64_mul.c: Likewise.
5346         * config/libbid/bid64_next.c: Likewise.
5347         * config/libbid/bid64_noncomp.c: Likewise.
5348         * config/libbid/bid64_quantize.c: Likewise.
5349         * config/libbid/bid64_rem.c: Likewise.
5350         * config/libbid/bid64_round_integral.c: Likewise.
5351         * config/libbid/bid64_scalb.c: Likewise.
5352         * config/libbid/bid64_sqrt.c: Likewise.
5353         * config/libbid/bid64_string.c: Likewise.
5354         * config/libbid/bid64_to_bid128.c: Likewise.
5355         * config/libbid/bid64_to_int16.c: Likewise.
5356         * config/libbid/bid64_to_int32.c: Likewise.
5357         * config/libbid/bid64_to_int64.c: Likewise.
5358         * config/libbid/bid64_to_int8.c: Likewise.
5359         * config/libbid/bid64_to_uint16.c: Likewise.
5360         * config/libbid/bid64_to_uint32.c: Likewise.
5361         * config/libbid/bid64_to_uint64.c: Likewise.
5362         * config/libbid/bid64_to_uint8.c: Likewise.
5363         * config/libbid/bid_b2d.h: Likewise.
5364         * config/libbid/bid_binarydecimal.c: Likewise.
5365         * config/libbid/bid_conf.h: Likewise.
5366         * config/libbid/bid_convert_data.c: Likewise.
5367         * config/libbid/bid_decimal_data.c: Likewise.
5368         * config/libbid/bid_decimal_globals.c: Likewise.
5369         * config/libbid/bid_div_macros.h: Likewise.
5370         * config/libbid/bid_dpd.c: Likewise.
5371         * config/libbid/bid_flag_operations.c: Likewise.
5372         * config/libbid/bid_from_int.c: Likewise.
5373         * config/libbid/bid_functions.h: Likewise.
5374         * config/libbid/bid_gcc_intrinsics.h: Likewise.
5375         * config/libbid/bid_inline_add.h: Likewise.
5376         * config/libbid/bid_internal.h: Likewise.
5377         * config/libbid/bid_round.c: Likewise.
5378         * config/libbid/bid_sqrt_macros.h: Likewise.
5380 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
5382         * Makefile.in: Change copyright header to refer to version
5383         3 of the GNU General Public License and to point readers at the
5384         COPYING3 file and the FSF's license web page.
5385         * config.host: Likewise.
5387 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
5389         * config.host: Reorder and merge to match config.gcc change.
5391 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
5393         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
5395 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
5397         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
5398         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
5399         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
5400         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
5402 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
5404         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
5405         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
5407 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
5409         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
5410         ia64/t-softfp-compat to tmake_file.
5412         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
5414         * config/ia64/__divxf3.asm: New.
5415         * config/ia64/_fixtfdi.asm: Likewise.
5416         * config/ia64/_fixunstfdi.asm: Likewise.
5417         * config/ia64/_floatditf.asm: Likewise.
5418         * config/ia64/t-fprules-softfp: Likewise.
5419         * config/ia64/t-softfp-compat: Likewise.
5420         * config/ia64/tf-signs.c: Likewise.
5422 2009-01-18  Ben Elliston  <bje@au.ibm.com>
5424         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
5426 2009-01-16  Ben Elliston  <bje@au.ibm.com>
5428         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
5429         to tmake_file.
5431 2009-01-13  Ben Elliston  <bje@au.ibm.com>
5433         * config/t-softfp: New file.
5434         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
5435         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
5437 2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>
5439         * config.host: Add m32r*-*-rtems*.
5441 2008-12-01  Joel Sherrill <joel.sherrill@oarcorp.com>
5443         * config.host: Add m32c*-*-rtems*.
5445 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5447         PR bootstrap/33100
5448         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
5449         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
5450         * configure: Regenerate.
5451         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
5452         tmake_file here from gcc/config.gcc.
5453         Move extra_parts here from gcc/config.gcc.
5454         * config/i386/t-sol2: Move here from gcc/config/i386.
5455         Use gcc_srcdir instead of srcdir.
5457 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
5459         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
5460         case.
5462 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
5464         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
5466 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
5468         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
5470 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
5472         Add picoChip port.
5473         * config.host: Add picochip-*-*.
5475 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
5477         * config.host: Match more processor names for Xtensa.
5479 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
5481         * config/i386/64/t-softfp-compat: Update comments.
5483 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
5485         * config/i386/64/_divtc3-compat.c: Moved to ...
5486         * config/i386/64/_divtc3.c: Here.
5488         * config/i386/64/_multc3-compat.c: Moved to ...
5489         * config/i386/64/_multc3.c: Here.
5491         * config/i386/64/_powitf2-compat.c: Moved to ...
5492         * config/i386/64/_powitf2.c: Here.
5494         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
5495         .c suffix instead of -compat.c.
5497 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
5499         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
5500         (_FP_MUL_MEAT_D): Ditto.
5501         (_FP_DIV_MEAT_S): Ditto.
5502         (_FP_DIV_MEAT_D): Ditto.
5504 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
5506         * Makefile.in: Add support for __sync_* libgcc functions.
5508 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
5510         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
5512 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5514         PR boostrap/36702
5515         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
5516         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
5518         * config/i386/64/t-fprules-softfp: Moved to ...
5519         * config/i386/64/t-softfp-compat: This.  New.
5521 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
5523         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
5524         Initialize f with 0.0.
5526 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5528         PR target/36669
5529         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
5531         * config/i386/64/_divtc3-compat.c: New.
5532         * config/i386/64/_multc3-compat.c: Likewise.
5533         * config/i386/64/_powitf2-compat.c: Likewise.
5534         * config/i386/64/eqtf2.c: Likewise.
5535         * config/i386/64/getf2.c: Likewise.
5536         * config/i386/64/letf2.c: Likewise.
5537         * config/i386/64/t-fprules-softfp: Likewise.
5539 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5541         * config.host: Add i386/${host_address}/t-fprules-softfp to
5542         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
5543         i[34567]86-*-linux*, x86_64-*-linux*.
5545         * configure.ac: Set host_address to 64 or 32 for x86.
5546         * configure: Regenerated.
5548         * Makefile.in (config.status): Also depend on
5549         $(srcdir)/config.host.
5551         * config/i386/32/t-fprules-softfp: New.
5552         * config/i386/32/tf-signs.c: Likewise.
5554         * config/i386/64/sfp-machine.h: New. Moved from gcc.
5556 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5557             Uros Bizjak  <ubizjak@gmail.com>
5559         * config/i386/32/sfp-machine.h: New.
5561 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
5563         * config/rs6000/t-ppccomm: Remove rules that conflict with
5564         auto-generated rules.
5566 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5568         * configure.ac: sinclude override.m4.
5569         * configure: Regenerate.
5571 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
5573         * configure: Regenerate.
5575 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
5577         * Makefile.in (DECNUMINC): Remove
5578         -I$(MULTIBUILDTOP)../../libdecnumber.
5579         * gstdint.h: New.
5581 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
5583         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
5584         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
5585         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
5586         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
5587         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
5588         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
5589         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
5590         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
5591         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
5592         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
5593         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
5594         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
5595         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
5596         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
5598 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
5600         * config.host (sh2[lbe]*-*-linux*): Allow target.
5602 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
5604         * config/rs6000/t-ppccomm: Add build rules for new files.
5605         (LIB2ADD_ST): New variable.
5607 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
5609         PR target/34210
5610         PR target/35508
5611         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
5612         * config/t-avr: New file. Build 16bit libgcc functions.
5614 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
5616         PR target/35401
5617         * config/t-slibgcc-darwin: Make install-leaf dependent on
5618         install-darwin-libgcc-stubs instead of install.
5620 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
5622         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
5623         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
5624         sh-*-rtemscoff*): Remove cases.
5626 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
5628         * Makefile.in (all): Use install-leaf rather than install.
5629         (install): Split most of the rule into...
5630         (install-leaf): ...this new one.
5632 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
5633             Paolo Bonzini  <bonzini@gnu.org>
5635         PR target/30572
5636         * Makefile.in: Use @shlib_slibdir@ substitution to get
5637         correct install name on darwin.
5638         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
5640 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
5642         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
5643         cris-*-elf and cris-*-none.
5644         (crisv32-*-linux*): Similar, as cris-*-linux*.
5646 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
5648         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
5650 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
5652         PR regression/33926
5653         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
5654         * configure: Regenerated.
5656 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
5658         * Makefile.in (dfp-filenames): Replace decimal_globals,
5659         decimal_data, binarydecimal and convert_data with
5660         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
5661         and bid_convert_data, respectively.
5663 2007-09-17  Chao-ying Fu  <fu@mips.com>
5664             Nigel Stephens  <nigel@mips.com>
5666         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
5667         * Makefile.in (fixed_point): Define.
5668         Check if fixed_point is yes to build support functions.
5669         * configure.ac: Check for fixed_point support.
5670         * configure: Regenerated.
5671         * gen-fixed.sh: New file to generate lists of fixed-point labels,
5672         funcs, modes, from, to.
5674 2007-09-11  Janis Johnson  <janis187@us.ibm.com
5676         * Makefile.in (dfp-filenames): Add bid128_noncomp.
5678 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
5680         * Makefile.in (dfp-filenames): Remove decUtility, add
5681         decDouble, decPacked, decQuad, decSingle.
5683 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
5685         * config.host : Add x86_64-elf target.
5687 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
5689         * configure.ac (set_have_cc_tls): Add a missing =.
5690         * configure: Regenerated.
5692 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
5694         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
5695         and x86_64-*-linux*.
5697         * config/t-tls: New file.
5699         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
5701         * configure.ac: Include ../config/enable.m4 and
5702         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
5703         supports TLS and substitute set_have_cc_tls.
5704         * configure: Regenerated.
5706 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
5708         * Makefile.in: Use libbid for DFP when BID is enabled.
5710 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
5712         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
5713         extra_parts. Add config/i386/t-cygming to tmake_file.
5714         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
5716 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
5717             Danny Smith  <dannysmith@users.sourceforge.net>
5719         PR target/29498
5720         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
5721         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
5722         * config/i386/t-crtfm: Compile crtfastmath.o with
5723         -minline-all-stringops.
5725 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
5727         * config.host (sparc-wrs-vxworks): New target.
5729 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
5731         * config.host: Recognize fido.
5733 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
5735         * configure: Check host, not target, for decimal float support.
5737 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
5739         * config/i386/t-crtpc: New file.
5740         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5741         (x86_64-*-linux*): Ditto.
5743 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
5745         * config.host (x86_64-*-mingw*): New target.
5747 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
5748             H.J. Lu  <hongjiu.lu@intel.com>
5750         * Makefile.in (enable_decimal_float): New.
5751         (DECNUMINC): Add
5752         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
5753         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
5754         (decbits-filenames): This.
5755         (decbits-objects): New.
5756         (libgcc-objects): Add $(decbits-objects).
5758         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
5759         Substitute enable_decimal_float.
5760         * configure: Regenerated.
5762 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
5764         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
5766 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
5768         * Makefile.in (install-info): New dummy target.
5770 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
5772         * config.host (bfin*-linux-uclibc*): Set extra_parts.
5774 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
5776         * Makefile.in: Add install-html and install-pdf dummy
5777         targets.
5779 2007-02-05  Roger Sayle  <roger@eyesopen.com>
5780             Daniel Jacobowitz  <dan@codesourcery.com>
5782         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
5783         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
5784         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
5786 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
5788         * Makefile.in (dec-filenames): Add decExcept.
5790 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
5792         PR bootstrap/30469
5793         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
5794         -fprofile-use.
5796 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
5798         * configure.ac: Add --enable-version-specific-runtime-libs.
5799         Correct $slibdir default.
5800         * configure: Regenerated.
5802 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
5804         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
5806 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
5808         PR target/30519
5809         * config.host (alpha*-*-linux*): Set extra_parts.
5811 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
5813         * config/sh/t-linux: New.
5814         * config.host (sh*-*-linux*): Set tmake_file.
5816 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
5818         * Makefile.in (install): Handle multilibs.
5820 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
5822         * Makefile.in: Added .PHONY entry for documentation targets.
5824 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
5826         * Makefile.in: Add empty info, html, dvi, pdf targets.
5828 2007-01-04  Mike Stump  <mrs@apple.com>
5830         * Makefile.in (MAKEINFO): Remove.
5831         (PERL): Likewise.
5833 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
5835         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
5836         * configure: Regenerate.
5837         * Makefile.in (host_subdir): Substitute it.
5838         (gcc_objdir): Use it.
5840 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
5842         * config.host (ia64*-*-linux*): Set tmake_file.
5844 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
5846         * Makefile.in (version): Define.
5848 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
5849             Paolo Bonzini  <bonzini@gnu.org>
5851         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
5852         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
5853         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
5854         config/sparc/t-crtfm, config/t-slibgcc-darwin,
5855         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
5856         shared-object.mk, siditi-object.mk, static-object.mk: New files.
5857         * configure: Generated.