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