* go-gcc.cc (Gcc_backend::global_variable_set_init): Rename
[official-gcc.git] / libgcc / ChangeLog
blobf74aeb43a955a36fe302933b5517348a3375d5e3
1 2014-07-24  DJ Delorie  <dj@redhat.com>
3         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
4         (__gcc_deregister_frame): Move logic to detect deregister function to...
5         (__gcc_register_frame): here, so it's consistent with the register logic.
7 2014-07-23  Nathan Sidwell  <nathan@acm.org>
9         * libgcov-driver.c (set_gcov_list): Remove.
10         (gcov_list): Make non-static in GCOV_TOOL.
11         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
13 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
15         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
16         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
17         Don't use SYNC_LOCK_RELEASE for int type.
19 2014-07-14  Richard Biener  <rguenther@suse.de>
21         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
23 2014-07-11  Rong Xu  <xur@google.com>
25         * libgcov-util.c (gcov_max_filename): Fix declartion.
27 2014-07-10  Rong Xu  <xur@google.com>
29         Add gcov-tool: an offline gcda profile processing tool
30         Support.
31         * libgcov-driver.c (gcov_max_filename): Make available
32         to gcov-tool.
33         * libgcov-merge.c (__gcov_merge_add): Replace
34         gcov_read_counter() with a Macro.
35         (__gcov_merge_ior): Ditto.
36         (__gcov_merge_time_profile): Ditto.
37         (__gcov_merge_single): Ditto.
38         (__gcov_merge_delta): Ditto.
39         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
40         in the utility functions.
41         (set_fn_ctrs): Utility function for reading gcda files to in-memory
42         gcov_list object link lists.
43         (tag_function): Ditto.
44         (tag_blocks): Ditto.
45         (tag_arcs): Ditto.
46         (tag_lines): Ditto.
47         (tag_counters): Ditto.
48         (tag_summary): Ditto.
49         (read_gcda_finalize): Ditto.
50         (read_gcda_file): Ditto.
51         (ftw_read_file): Ditto.
52         (read_profile_dir_init): Ditto.
53         (gcov_read_profile_dir): Ditto.
54         (gcov_read_counter_mem): Ditto.
55         (gcov_get_merge_weight): Ditto.
56         (merge_wrapper): A wrapper function that calls merging handler.
57         (gcov_merge): Merge two gcov_info objects with weights.
58         (find_match_gcov_info): Find the matched gcov_info in the list.
59         (gcov_profile_merge): Merge two gcov_info object lists.
60         (__gcov_add_counter_op): Process edge profile counter values.
61         (__gcov_ior_counter_op): Process IOR profile counter values.
62         (__gcov_delta_counter_op): Process delta profile counter values.
63         (__gcov_single_counter_op): Process single  profile counter values.
64         (fp_scale): Callback function for float-point scaling.
65         (int_scale): Callback function for integer fraction scaling. 
66         (gcov_profile_scale): Scaling profile counters.
67         (gcov_profile_normalize): Normalize profile counters.
68         * libgcov.h: Add headers and functions for gcov-tool use.
69         (gcov_get_counter): New.
70         (gcov_get_counter_target): Ditto.
71         (struct gcov_info): Make the functions field mutable in gcov-tool
72         compilation.
74 2014-06-23  Kai Tietz  <ktietz@redhat.com>
76         PR libgcc/61585
77         * unwind-seh.c (_Unwind_GetGR): Check for proper
78         index range.
79         (_Unwind_SetGR): Likewise.
81 2014-05-22  Nick Clifton  <nickc@redhat.com>
83         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
84         -mhwmult=none.
86 2014-05-22  Teresa Johnson  <tejohnson@google.com>
88         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
89         include.
91 2014-05-20  John Marino  <gnugcc@marino.st>
93         * config.host (*-*-dragonfly*): New target.
94         * crtstuff.c: Make dl_iterate_support generic on *bsd.
95         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
96         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
97         * config/i386/dragonfly-unwind.h: New.
99 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
101         PR libgcc/60166
102         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
103         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
105 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
107         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
108         implementation.
110 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
112         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
114 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
116         PR libgcc/61097
117         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
118         if --enable-shared.
120 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
122         Work around for current cygwin32 build problems.
123         * config/i386/cygming-crtbegin.c (__register_frame_info,
124         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
125         functions only for 64-bit systems.
127 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
129         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
130         (sigill_caught, sigill_hdlr): Remove.
132 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
134         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
135         check.
136         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
137         Solaris 9 single-threaded support.
138         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
139         Solaris 9 single-threaded support.  Add call_user_handler code
140         sequences.
141         (sparc_is_sighandler): Likewise.
143 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
145         * config.host: Append t-floattodi to tmake_file depending on
146         host_address.
148 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
150         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
152 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
154         PR libgcc/60472
155         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
156         variable to avoid array subscript is above array bounds warnings.
157         Use __builtin_expect when checking *jcr_list for NULL.
159 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
161         PR libgcc/59339
162         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
163         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
164         vtv_*.o to extra_parts if enable_vtable_verify.
166 2014-03-06  Nick Clifton  <nickc@redhat.com>
168         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
169         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
171 2014-02-28  Joey Ye  <joey.ye@arm.com>
173         PR libgcc/60166
174         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
175         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
176         Set to zero.
178 2014-02-24  Walter Lee  <walt@tilera.com>
180         * config.host: Support "tilegx*" and "tilepro*" triplets.
181         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
182         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
184 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
185             Chung-Lin Tang  <cltang@codesourcery.com>
187         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
188         * config/nios2/crti.S: Remove .file directive.
189         * config/nios2/crtn.S: Likewise.
191 2014-02-18  Kai Tietz  <ktietz@redhat.com>
192         Jonathan Schleifer  <js@webkeks.org>
194         PR objc/56870
195         * unwind-seh.c (_GCC_specific_handler): Pass proper
196         value to unwind-handler.
198 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
200         * soft-fp/adddf3.c: Update from glibc.
201         * soft-fp/addsf3.c: Likewise.
202         * soft-fp/addtf3.c: Likewise.
203         * soft-fp/divdf3.c: Likewise.
204         * soft-fp/divsf3.c: Likewise.
205         * soft-fp/divtf3.c: Likewise.
206         * soft-fp/double.h: Likewise.
207         * soft-fp/eqdf2.c: Likewise.
208         * soft-fp/eqsf2.c: Likewise.
209         * soft-fp/eqtf2.c: Likewise.
210         * soft-fp/extenddftf2.c: Likewise.
211         * soft-fp/extended.h: Likewise.
212         * soft-fp/extendsfdf2.c: Likewise.
213         * soft-fp/extendsftf2.c: Likewise.
214         * soft-fp/extendxftf2.c: Likewise.
215         * soft-fp/fixdfdi.c: Likewise.
216         * soft-fp/fixdfsi.c: Likewise.
217         * soft-fp/fixdfti.c: Likewise.
218         * soft-fp/fixsfdi.c: Likewise.
219         * soft-fp/fixsfsi.c: Likewise.
220         * soft-fp/fixsfti.c: Likewise.
221         * soft-fp/fixtfdi.c: Likewise.
222         * soft-fp/fixtfsi.c: Likewise.
223         * soft-fp/fixtfti.c: Likewise.
224         * soft-fp/fixunsdfdi.c: Likewise.
225         * soft-fp/fixunsdfsi.c: Likewise.
226         * soft-fp/fixunsdfti.c: Likewise.
227         * soft-fp/fixunssfdi.c: Likewise.
228         * soft-fp/fixunssfsi.c: Likewise.
229         * soft-fp/fixunssfti.c: Likewise.
230         * soft-fp/fixunstfdi.c: Likewise.
231         * soft-fp/fixunstfsi.c: Likewise.
232         * soft-fp/fixunstfti.c: Likewise.
233         * soft-fp/floatdidf.c: Likewise.
234         * soft-fp/floatdisf.c: Likewise.
235         * soft-fp/floatditf.c: Likewise.
236         * soft-fp/floatsidf.c: Likewise.
237         * soft-fp/floatsisf.c: Likewise.
238         * soft-fp/floatsitf.c: Likewise.
239         * soft-fp/floattidf.c: Likewise.
240         * soft-fp/floattisf.c: Likewise.
241         * soft-fp/floattitf.c: Likewise.
242         * soft-fp/floatundidf.c: Likewise.
243         * soft-fp/floatundisf.c: Likewise.
244         * soft-fp/floatunditf.c: Likewise.
245         * soft-fp/floatunsidf.c: Likewise.
246         * soft-fp/floatunsisf.c: Likewise.
247         * soft-fp/floatunsitf.c: Likewise.
248         * soft-fp/floatuntidf.c: Likewise.
249         * soft-fp/floatuntisf.c: Likewise.
250         * soft-fp/floatuntitf.c: Likewise.
251         * soft-fp/gedf2.c: Likewise.
252         * soft-fp/gesf2.c: Likewise.
253         * soft-fp/getf2.c: Likewise.
254         * soft-fp/ledf2.c: Likewise.
255         * soft-fp/lesf2.c: Likewise.
256         * soft-fp/letf2.c: Likewise.
257         * soft-fp/muldf3.c: Likewise.
258         * soft-fp/mulsf3.c: Likewise.
259         * soft-fp/multf3.c: Likewise.
260         * soft-fp/negdf2.c: Likewise.
261         * soft-fp/negsf2.c: Likewise.
262         * soft-fp/negtf2.c: Likewise.
263         * soft-fp/op-1.h: Likewise.
264         * soft-fp/op-2.h: Likewise.
265         * soft-fp/op-4.h: Likewise.
266         * soft-fp/op-8.h: Likewise.
267         * soft-fp/op-common.h: Likewise.
268         * soft-fp/quad.h: Likewise.
269         * soft-fp/single.h: Likewise.
270         * soft-fp/soft-fp.h: Likewise.
271         * soft-fp/subdf3.c: Likewise.
272         * soft-fp/subsf3.c: Likewise.
273         * soft-fp/subtf3.c: Likewise.
274         * soft-fp/truncdfsf2.c: Likewise.
275         * soft-fp/trunctfdf2.c: Likewise.
276         * soft-fp/trunctfsf2.c: Likewise.
277         * soft-fp/trunctfxf2.c: Likewise.
278         * soft-fp/unorddf2.c: Likewise.
279         * soft-fp/unordsf2.c: Likewise.
280         * soft-fp/unordtf2.c: Likewise.
281         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
282         macro.
283         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
284         Likewise.
285         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
286         Likewise.
287         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
288         Likewise.
289         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
290         Likewise.
291         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
292         Likewise.
293         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
294         Likewise.
295         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
296         Likewise.
297         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
298         Likewise.
299         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
300         Likewise.
301         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
302         Likewise.
303         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
304         Likewise.
305         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
306         Likewise.
307         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
308         Likewise.
309         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
310         Likewise.
311         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
312         Likewise.
314 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
316         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
317         cannot be represented.
318         * config/s390/32/_fixsfdi.c: Likewise.
319         * config/s390/32/_fixtfdi.c: Likewise.
320         * config/s390/32/_fixunsdfdi.c: Likewise.
321         * config/s390/32/_fixunssfdi.c: Likewise.
322         * config/s390/32/_fixunstfdi.c: Likewise.
324 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
326         * configure.ac (libgcc_cv_mips_hard_float): New.
327         * configure: Regenerate.
328         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
329         t-softfp-sfdf for hard-float targets.
330         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
331         (softfp_float_modes, softfp_int_modes, softfp_extensions)
332         (softfp_truncations, softfp_exclude_libgcc2): New.
333         * config/t-hardfp: New file.
334         * config/t-hardfp-sfdf: Likewise.
335         * config/hardfp.c: Likewise.
337 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
339         * config.host: Include t-floattodi also for s390x.
340         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
341         * config/s390/32/_fixsfdi.c: Likewise.
342         * config/s390/32/_fixtfdi.c: Likewise.
343         * config/s390/32/_fixunsdfdi.c: Likewise.
344         * config/s390/32/_fixunssfdi.c: Likewise.
345         * config/s390/32/_fixunstfdi.c: Likewise.
347 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
349         PR target/59788
350         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
351         (install-libgcc-unwind-map-forbuild): New target.
352         (all): Depend on install-libgcc-unwind-map-forbuild.
353         (install-libgcc-unwind-map): New target.
354         (install): Depend on install-libgcc-unwind-map.
356 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
358         * config/nios2/crti.S (_init): Initialize GOT pointer from
359         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
361 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
363         * configure.ac: Check __mips64 when setting host_address.
364         * configure: Regenerate.
365         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
366         mips/t-mips64 and t-softfp.
367         (mips*-*-linux*): Don't add mips/t-tpbit.
368         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
369         (DPBIT, DPBIT_CFLAGS): Delete.
370         * config/mips/sfp-machine.h: New file.
371         * config/mips/t-mips64: Likewise.
372         * config/mips/t-softfp-tf: Likewise.
373         * config/mips/t-tpbit: Delete.
375 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
377         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
378         as long long.
380 2014-01-25  Walter Lee  <walt@tilera.com>
382         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
383         config.h or system.h.
384         (bool) Define.
386 2014-01-25  Walter Lee  <walt@tilera.com>
388         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
389         (post_atomic_barrier): Ditto.
390         (__fetch_and_do): New macro.
391         (__atomic_fetch_and_do): Use __fetch_and_do.
392         (__sync_fetch_and_do): New macro.
393         (__sync_fetch_and_add_4): New function.
394         (__sync_fetch_and_sub_4): New function.
395         (__sync_fetch_and_or_4): New function.
396         (__sync_fetch_and_and_4): New function.
397         (__sync_fetch_and_xor_4): New function.
398         (__sync_fetch_and_nand_4): New function.
399         (__sync_fetch_and_add_8): New function.
400         (__sync_fetch_and_sub_8): New function.
401         (__sync_fetch_and_or_8): New function.
402         (__sync_fetch_and_and_8): New function.
403         (__sync_fetch_and_xor_8): New function.
404         (__sync_fetch_and_nand_8): New function.
405         (__do_and_fetch): New macro.
406         (__atomic_do_and_fetch): Use __do_and_fetch.
407         (__sync_do_and_fetch): New macro.
408         (__sync_add_and_fetch_4): New function.
409         (__sync_sub_and_fetch_4): New function.
410         (__sync_or_and_fetch_4): New function.
411         (__sync_and_and_fetch_4): New function.
412         (__sync_xor_and_fetch_4): New function.
413         (__sync_nand_and_fetch_4): New function.
414         (__sync_add_and_fetch_8): New function.
415         (__sync_sub_and_fetch_8): New function.
416         (__sync_or_and_fetch_8): New function.
417         (__sync_and_and_fetch_8): New function.
418         (__sync_xor_and_fetch_8): New function.
419         (__sync_nand_and_fetch_8): New function.
420         (__sync_exchange_methods): New macro.
421         (__sync_val_compare_and_swap_4): New function.
422         (__sync_bool_compare_and_swap_4): New function.
423         (__sync_lock_test_and_test_4): New function.
424         (__sync_val_compare_and_swap_8): New function.
425         (__sync_bool_compare_and_swap_8): New function.
426         (__sync_lock_test_and_test_8): New function.
427         (__subword_cmpxchg_body): New macro.
428         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
429         (__atomic_compare_exchange_2): Ditto.
430         (__sync_subword_cmpxchg): New macro.
431         (__sync_val_compare_and_swap_1): New function.
432         (__sync_bool_compare_and_swap_1): New function.
433         (__sync_val_compare_and_swap_2): New function.
434         (__sync_bool_compare_and_swap_2): New function.
435         (__atomic_subword): Rename to ...
436         (__subword): ... New name.
437         (__atomic_subword_fetch): Use __subword.
438         (__sync_subword_fetch): New macro.
439         (__sync_fetch_and_add_1): New function.
440         (__sync_fetch_and_sub_1): New function.
441         (__sync_fetch_and_or_1): New function.
442         (__sync_fetch_and_and_1): New function.
443         (__sync_fetch_and_xor_1): New function.
444         (__sync_fetch_and_nand_1): New function.
445         (__sync_fetch_and_add_2): New function.
446         (__sync_fetch_and_sub_2): New function.
447         (__sync_fetch_and_or_2): New function.
448         (__sync_fetch_and_and_2): New function.
449         (__sync_fetch_and_xor_2): New function.
450         (__sync_fetch_and_nand_2): New function.
451         (__sync_add_and_fetch_1): New function.
452         (__sync_sub_and_fetch_1): New function.
453         (__sync_or_and_fetch_1): New function.
454         (__sync_and_and_fetch_1): New function.
455         (__sync_xor_and_fetch_1): New function.
456         (__sync_nand_and_fetch_1): New function.
457         (__sync_add_and_fetch_2): New function.
458         (__sync_sub_and_fetch_2): New function.
459         (__sync_or_and_fetch_2): New function.
460         (__sync_and_and_fetch_2): New function.
461         (__sync_xor_and_fetch_2): New function.
462         (__sync_nand_and_fetch_2): New function.
463         (__atomic_subword_lock): Use __subword.
464         (__sync_subword_lock): New macro.
465         (__sync_lock_test_and_set_1): New function.
466         (__sync_lock_test_and_set_2): New function.
468 2014-01-25  Walter Lee  <walt@tilera.com>
470         * config/tilepro/atomic.c (BIT_OFFSET): Define.
471         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
472         (__atomic_subword): Ditto.
474 2014-01-25  Walter Lee  <walt@tilera.com>
476         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
477         a prefix op argument.
478         (__atomic_nand_fetch_4): Add prefix op.
479         (__atomic_nand_fetch_8): Ditto.
481 2014-01-21  Baruch Siach <barch@tkos.co.il>
483         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
485 2014-01-09  Rong Xu  <xur@google.com>
487         * libgcov-driver.c (this_prg): make it local to save
488         bss space.
489         (gcov_exit_compute_summary): Ditto.
490         (gcov_exit_merge_gcda): Ditto.
491         (gcov_exit_merge_summary): Ditto.
492         (gcov_exit_dump_gcov): Ditto.
494 2014-01-08  Rong Xu  <xur@google.com> 
496         * libgcov-driver.c: Use libgcov.h.
497         (buffer_fn_data): Use xmalloc instead of malloc.
498         (gcov_exit_merge_gcda): Ditto.
499         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
500         * libgcov.h: New common header files for libgcov-*.h.
501         * libgcov-interface.c: Use libgcov.h
502         * libgcov-merge.c: Ditto.
503         * libgcov-profiler.c: Ditto.
504         * Makefile.in: Add dependence to libgcov.h
506 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
508         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
509         case of small numerator and finite nonzero result.
511 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
513         Update copyright years
515 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
517         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
518         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
519         config/arc/dp-hack.h, config/arc/fp-hack.h,
520         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
521         config/arc/ieee-754/arc600-dsp/divdf3.S,
522         config/arc/ieee-754/arc600-dsp/divsf3.S,
523         config/arc/ieee-754/arc600-dsp/muldf3.S,
524         config/arc/ieee-754/arc600-dsp/mulsf3.S,
525         config/arc/ieee-754/arc600-mul64/divdf3.S,
526         config/arc/ieee-754/arc600-mul64/divsf3.S,
527         config/arc/ieee-754/arc600-mul64/muldf3.S,
528         config/arc/ieee-754/arc600-mul64/mulsf3.S,
529         config/arc/ieee-754/arc600/divsf3.S,
530         config/arc/ieee-754/arc600/mulsf3.S,
531         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
532         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
533         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
534         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
535         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
536         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
537         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
538         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
539         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
540         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
541         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
542         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
543         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
544         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
545         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
546         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
547         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
548         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
549         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
550         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
551         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
552         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
553         vtv_start_preinit.c: Use the standard form for the copyright notice.
555 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
556             Chung-Lin Tang  <cltang@codesourcery.com>
557             Based on patches from Altera Corporation
559         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
560         * config/nios2/lib2-nios2.h: New file.
561         * config/nios2/lib2-divmod-hi.c: New file.
562         * config/nios2/linux-unwind.h: New file.
563         * config/nios2/lib2-divmod.c: New file.
564         * config/nios2/linux-atomic.c: New file.
565         * config/nios2/t-nios2: New file.
566         * config/nios2/crti.asm: New file.
567         * config/nios2/t-linux: New file.
568         * config/nios2/lib2-divtable.c: New file.
569         * config/nios2/lib2-mul.c: New file.
570         * config/nios2/tramp.c: New file.
571         * config/nios2/crtn.asm: New file.
573 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
575         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
576         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
577         from cpuid.h to check vendor signatures.
579 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
581         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
582         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
583         (get_amd_cpu): Likewise.
585 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
587         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
588         Haswell.
590 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
591             H.J. Lu  <hongjiu.lu@intel.com>
593         PR target/59422
594         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
595         and AMD_JAGUAR.
596         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
597         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
598         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
599         FEATURE_XOP and FEATURE_FMA.
600         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
601         AMDFAM15H_BDVER3.
602         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
603         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
604         FEATURE_FMA4 and FEATURE_XOP.
606 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
608         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
609         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
610         (get_intel_cpu): Updated.
612 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
614         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
616 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
618         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
619         instructions when __SSE_MATH__ is defined.
621 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
623         * config.host (microblaze-*-rtems*): New.
625 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
627         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
628         architectures that do not have hardware divide instruction.
629         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
631 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
633         * longlong.h: Delete (moved to include/).
635 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
637         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
638         of normal number and qNaN to not raise an inexact exception.
640 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
642         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
644 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
646         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
647         for correct opcodes on BE.
649 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
651         * soft-fp/op-4.h: Update from glibc.
653 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
655         * libgcc2.c (__udivmoddi4): Define new implementation when
656         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
657         divide instructions.
659 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
661         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
663 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
665         * config/t-softfp (soft-fp-objects-base): New variable.
666         (soft-fp-objects): Use it.
668 2013-11-23  David Edelson  <dje.gcc@gmail.com>
669             Andrew Dixie  <andrewd@gentrack.com>
671         PR target/33704
672         * config/rs6000/aixinitfini.c: New file.
673         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
674         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
675         symbols.
677 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
679         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
681 2013-11-18  Jan Hubicka  <jh@suse.cz>
683         * libgcov-driver.c (run_accounted): Make global level static.
684         (gcov_exit_merge_summary): Silence warning; do not clear
685         run_accounted here.
686         (gcov_exit): Clear it here.
688         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
689         run_accounted.
691         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
692         (all_prg, crc32): Remove static vars.
693         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
694         all_prg.
695         (gcov_exit_merge_gcda): Add crc32 parameter.
696         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
697         do not account run if it was already accounted.
698         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
699         (gcov_exit): Initialize all_prg; update.
701 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
703         * configure: Regenerate.
705 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
706             Alan Modra  <amodra@gmail.com>
708         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
709         (frob_update_context): Use it.
711 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
712             Alan Modra  <amodra@gmail.com>
714         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
715         (trampoline_initial): Provide ELFv2 variant.
716         (__trampoline_setup): Likewise.
718         * config/rs6000/linux-unwind.h (frob_update_context): Do not
719         check for AIX indirect function call sequence if _CALL_ELF == 2.
721 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
722             Alan Modra  <amodra@gmail.com>
724         * config/rs6000/linux-unwind.h (get_regs): Do not support
725         old kernel versions if _CALL_ELF == 2.
726         (frob_update_context): Do not support PLT stub variants only
727         generated by old linkers if _CALL_ELF == 2.
729 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
730             Alan Modra  <amodra@gmail.com>
732         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
733         location of CR save area for 64-bit little-endian systems.
735 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
737         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
738         in tmake_file.
739         * config/arm/t-vxworks: Delete.
741 2013-11-10  Kai Tietz  <ktietz@redhat.com>
743         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
744         Increment load-count on use of LIBGCC_SONAME DLL.
745         (hmod_libgcc): New static variable to hold handle of
746         LIBGCC_SONAME DLL.
747         (__gcc_deregister_frame): Decrement load-count of
748         LIBGCC_SONAME DLL.
750 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
752         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
753         availability.
754         * configure: Regenerate
756 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
758         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
759         FP_EX_DENORM.  Store result to volatile location after SSE division
760         to close interrupt window.  Remove unneeded fwait after x87
761         division since interrupt window will be closed by emitted fstp.
762         Rewrite FP_EX_INEXACT handling.
764 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
766         * soft-fp/README: Update.
767         * soft-fp/adddf3.c: Update from glibc.
768         * soft-fp/addsf3.c: Likewise.
769         * soft-fp/addtf3.c: Likewise.
770         * soft-fp/divdf3.c: Likewise.
771         * soft-fp/divsf3.c: Likewise.
772         * soft-fp/divtf3.c: Likewise.
773         * soft-fp/double.h: Likewise.
774         * soft-fp/eqdf2.c: Likewise.
775         * soft-fp/eqsf2.c: Likewise.
776         * soft-fp/eqtf2.c: Likewise.
777         * soft-fp/extenddftf2.c: Likewise.
778         * soft-fp/extended.h: Likewise.
779         * soft-fp/extendsfdf2.c: Likewise.
780         * soft-fp/extendsftf2.c: Likewise.
781         * soft-fp/extendxftf2.c: Likewise.
782         * soft-fp/fixdfdi.c: Likewise.
783         * soft-fp/fixdfsi.c: Likewise.
784         * soft-fp/fixdfti.c: Likewise.
785         * soft-fp/fixsfdi.c: Likewise.
786         * soft-fp/fixsfsi.c: Likewise.
787         * soft-fp/fixsfti.c: Likewise.
788         * soft-fp/fixtfdi.c: Likewise.
789         * soft-fp/fixtfsi.c: Likewise.
790         * soft-fp/fixtfti.c: Likewise.
791         * soft-fp/fixunsdfdi.c: Likewise.
792         * soft-fp/fixunsdfsi.c: Likewise.
793         * soft-fp/fixunsdfti.c: Likewise.
794         * soft-fp/fixunssfdi.c: Likewise.
795         * soft-fp/fixunssfsi.c: Likewise.
796         * soft-fp/fixunssfti.c: Likewise.
797         * soft-fp/fixunstfdi.c: Likewise.
798         * soft-fp/fixunstfsi.c: Likewise.
799         * soft-fp/fixunstfti.c: Likewise.
800         * soft-fp/floatdidf.c: Likewise.
801         * soft-fp/floatdisf.c: Likewise.
802         * soft-fp/floatditf.c: Likewise.
803         * soft-fp/floatsidf.c: Likewise.
804         * soft-fp/floatsisf.c: Likewise.
805         * soft-fp/floatsitf.c: Likewise.
806         * soft-fp/floattidf.c: Likewise.
807         * soft-fp/floattisf.c: Likewise.
808         * soft-fp/floattitf.c: Likewise.
809         * soft-fp/floatundidf.c: Likewise.
810         * soft-fp/floatundisf.c: Likewise.
811         * soft-fp/floatunditf.c: Likewise.
812         * soft-fp/floatunsidf.c: Likewise.
813         * soft-fp/floatunsisf.c: Likewise.
814         * soft-fp/floatunsitf.c: Likewise.
815         * soft-fp/floatuntidf.c: Likewise.
816         * soft-fp/floatuntisf.c: Likewise.
817         * soft-fp/floatuntitf.c: Likewise.
818         * soft-fp/gedf2.c: Likewise.
819         * soft-fp/gesf2.c: Likewise.
820         * soft-fp/getf2.c: Likewise.
821         * soft-fp/ledf2.c: Likewise.
822         * soft-fp/lesf2.c: Likewise.
823         * soft-fp/letf2.c: Likewise.
824         * soft-fp/muldf3.c: Likewise.
825         * soft-fp/mulsf3.c: Likewise.
826         * soft-fp/multf3.c: Likewise.
827         * soft-fp/negdf2.c: Likewise.
828         * soft-fp/negsf2.c: Likewise.
829         * soft-fp/negtf2.c: Likewise.
830         * soft-fp/op-1.h: Likewise.
831         * soft-fp/op-2.h: Likewise.
832         * soft-fp/op-4.h: Likewise.
833         * soft-fp/op-8.h: Likewise.
834         * soft-fp/op-common.h: Likewise.
835         * soft-fp/quad.h: Likewise.
836         * soft-fp/single.h: Likewise.
837         * soft-fp/soft-fp.h: Likewise.
838         * soft-fp/subdf3.c: Likewise.
839         * soft-fp/subsf3.c: Likewise.
840         * soft-fp/subtf3.c: Likewise.
841         * soft-fp/truncdfsf2.c: Likewise.
842         * soft-fp/trunctfdf2.c: Likewise.
843         * soft-fp/trunctfsf2.c: Likewise.
844         * soft-fp/trunctfxf2.c: Likewise.
845         * soft-fp/unorddf2.c: Likewise.
846         * soft-fp/unordsf2.c: Likewise.
847         * soft-fp/unordtf2.c: Likewise.
849 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
851         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
852         (_FP_MUL_MEAT_D): Ditto.
853         (_FP_DIV_MEAT_S): Ditto.
854         (_FP_DIV_MEAT_D): Ditto.
855         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
856         t-softfp-sfdf and t-softfp to tmake_file.
858 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
860         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
861         * config/i386/crtprec.c: Ditto.
863 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
864             Shiva Chen  <shiva0217@gmail.com>
866         * config.host (nds32*-elf*): Add nds32 target.
867         * config/nds32 : New directory and files.
869 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
871         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
872         * config.host (cpu_type) <Setting default>: Add entry for
873         crisv32-*-*.
874         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
875         <crisv32-*-linux*>: Adjust.
876         * longlong.h: Wrap the whole CRIS section in a single
877         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
878         and sub_ddmmss.
879         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
880         defined.
881         [__CRIS__] (__umulsidi3): Define.
882         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
883         * config/cris/sfp-machine.h: New file.
884         * config/cris/umulsidi3.S: New file.
885         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
886         * config/cris/arit.c (SIGNMULT): New macro.
887         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
888         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
889         saving 3 out of originally 33 cycles from the fastest
890         path, 3 out of 54 from the medium path and one from the longest
891         path.  Improve comments.
893 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
895         * sync.c: Remove static aliases and define each function directly
896         under its real name.
898 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
900         * config.host (hppa*64*-*-linux*): Define extra_parts.
901         (hppa*-*-linux*): Likewise.
903 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
905         * config/arc/crtgend.S: Add 2013 to Copyright years.
906         * config/arc/gmon/atomic.h: Likewise.
907         * config/arc/gmon/auxreg.h: Likewise.
908         * config/arc/gmon/sys/gmon_out.h: Likewise.
909         * config/arc/gmon/sys/gmon.h: Likewise.
910         * config/arc/gmon/prof-freq.c: Likewise.
911         * config/arc/gmon/mcount.c: Likewise.
912         * config/arc/gmon/prof-freq-stub.S: Likewise.
913         * config/arc/gmon/gmon.c: Likewise.
914         * config/arc/gmon/machine-gmon.h: Likewise.
915         * config/arc/gmon/profil.S: Likewise.
916         * config/arc/gmon/dcache_linesz.S: Likewise.
917         * config/arc/crtg.S: Likewise.
918         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
919         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
920         * config/arc/ieee-754/adddf3.S: Likewise.
921         * config/arc/ieee-754/truncdfsf2.S: Likewise.
922         * config/arc/ieee-754/fixsfsi.S: Likewise.
923         * config/arc/ieee-754/gtsf2.S: Likewise.
924         * config/arc/ieee-754/floatsisf.S: Likewise.
925         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
926         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
927         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
928         * config/arc/ieee-754/fixdfsi.S: Likewise.
929         * config/arc/ieee-754/addsf3.S: Likewise.
930         * config/arc/ieee-754/gesf2.S: Likewise.
931         * config/arc/ieee-754/floatsidf.S: Likewise.
932         * config/arc/ieee-754/extendsfdf2.S: Likewise.
933         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
934         * config/arc/ieee-754/gtdf2.S: Likewise.
935         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
936         * config/arc/ieee-754/uneqdf2.S: Likewise.
937         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
938         * config/arc/ieee-754/uneqsf2.S: Likewise.
939         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
940         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
941         * config/arc/ieee-754/eqdf2.S: Likewise.
942         * config/arc/ieee-754/ordsf2.S: Likewise.
943         * config/arc/ieee-754/divsf3.S: Likewise.
944         * config/arc/ieee-754/divdf3.S: Likewise.
945         * config/arc/ieee-754/floatunsidf.S: Likewise.
946         * config/arc/ieee-754/orddf2.S: Likewise.
947         * config/arc/ieee-754/eqsf2.S: Likewise.
948         * config/arc/ieee-754/gedf2.S: Likewise.
949         * config/arc/crtn.S: Likewise.
950         * config/arc/crti.S: Likewise.
951         * config/arc/t-arc700-uClibc: Likewise.
952         * config/arc/asm.h: Likewise.
953         * config/arc/libgcc-excl.ver: Likewise.
954         * config/arc/t-arc-newlib: Likewise.
955         * config/arc/divtab-arc700.c: Likewise.
956         * config/arc/initfini.c: Likewise.
957         * config/arc/fp-hack.h: Likewise.
959 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
960             Diego Novillo  <dnovillo@google.com>
962         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
963         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
964         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
965         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
967 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
968             Brendan Kehoe  <brendan@zen.org>
969             Simon Cook  <simon.cook@embecosm.com>
971         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
972         * config/arc: New directory.
973         * longlong.h [__arc__] (umul_ppmm): Remove.
974         [__arc__] (__umulsidi3): Define.
975         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
976         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
978 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
980         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
981         CreateSemaphoreA.
982         * config/i386/gthr-win32.h: Likewise.
984 2013-09-16  DJ Delorie  <dj@redhat.com>
986         * config/rl78/vregs.h: Add G10 register definitions.
987         * config/rl78/lib2mul.c: Enable for RL78/G10.
988         * config/rl78/lib2div.c: Likewise.
989         * config/rl78/lshrsi3.S: Use vregs.h.
990         * config/rl78/cmpsi2.S: Likewise.
991         * config/rl78/trampoline.S: Likewise.
992         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
994 2013-09-14  DJ Delorie  <dj@redhat.com>
995             Nick Clifton  <nickc@redhat.com>
997         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
998         * config/rl78/vregs.h: New.
999         * config/rl78/signbit.S: New file.  Implements signbit function.
1000         * config/rl78/divmodsi.S: New.
1001         * config/rl78/divmodhi.S: New.
1002         * config/rl78/divmodqi.S: New.
1003         * config/rl78/t-rl78: Build them here...
1004         * config/rl78/lib2div.c: ...but not here.
1006 2013-09-12  DJ Delorie  <dj@redhat.com>
1008         * config.host (msp*-*-elf): New.
1009         * config/msp430/: New port.
1011 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
1013         PR gcov-profile/58127
1014         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
1015         __thread var for emulated TLS.
1016         (__gcov_indirect_call_counters): Likewise.
1018 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
1019             Catherine Moore  <clm@codesourcery.com>
1020             Richard Sandiford <rdsandiford@googlemail.com>
1022         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
1023         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
1024         (CALL_STUB_NO_RET): Likewise.
1025         (CALL_STUB_RET): Likewise.
1026         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
1027         __mips16_ret call/return stub symbols.
1028         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
1029         to tmake_file.
1031 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
1033         * config.host <mips*-*-linux*>: Remove a stray comment.
1035 2013-08-10  Jan Hubicka  <jh@suse.cz>
1037         Work around binutils PR14342
1038         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
1039         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
1040         (L_gcov_indirect_call_profiler_v2): New.
1042 2013-08-06  Jan Hubicka  <jh@suse.cz>
1044         * libgcov.c (__gcov_indirect_call_callee,
1045         __gcov_indirect_call_counters): New global vars.
1046         (__gcov_indirect_call_profiler): replace by ...
1047         (__gcov_indirect_call_profiler_v2) ... this one.
1049 2013-08-06  Caroline Tice  <cmtice@google.com>
1051         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
1052         vtv_start_preinit.o and vtv_end_preinit.o.
1053         * configure.ac: Add code to check/set enable_vtable_verify.
1054         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
1055         true.
1056         * vtv_start_preinit.c: New file.
1057         * vtv_end_preinit.c: New file.
1058         * vtv_start.c: New file.
1059         * vtv_end.c: New file.
1060         * configure: Regenerated.
1062 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
1064         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
1065         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
1066         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
1067         GPL-3.0-with-GCC-exception.
1069 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
1071         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
1072         ISA and up.
1074 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1076         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
1077         mapping for FPRs when creating the fallback framestate.
1079 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
1081         PR target/57516
1082         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
1083         (__round_s2_const, __round_u2_const)
1084         (__round_s4_const, __round_u4_const, __round_x8):
1085         Saturate result if addition result cannot be represented.
1087 2013-07-15  Matthias Klose  <doko@ubuntu.com>
1089         * libgcc2.c: Don't include <limits.h>.
1091 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
1093         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
1095 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
1097         PR target/29776
1098         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
1100 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
1102         PR middle-end/36041
1103         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
1104         Define.
1105         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
1106         instead of table lookups.
1107         (__popcountDI2): Likewise.
1109 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
1111         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
1112         correctly.
1114 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
1116         PR other/53317
1117         * soft-fp/adddf3.c: Update from glibc.
1118         * soft-fp/addsf3.c: Likewise.
1119         * soft-fp/addtf3.c: Likewise.
1120         * soft-fp/divdf3.c: Likewise.
1121         * soft-fp/divsf3.c: Likewise.
1122         * soft-fp/divtf3.c: Likewise.
1123         * soft-fp/double.h: Likewise.
1124         * soft-fp/eqdf2.c: Likewise.
1125         * soft-fp/eqsf2.c: Likewise.
1126         * soft-fp/eqtf2.c: Likewise.
1127         * soft-fp/extenddftf2.c: Likewise.
1128         * soft-fp/extended.h: Likewise.
1129         * soft-fp/extendsfdf2.c: Likewise.
1130         * soft-fp/extendsftf2.c: Likewise.
1131         * soft-fp/fixdfdi.c: Likewise.
1132         * soft-fp/fixdfsi.c: Likewise.
1133         * soft-fp/fixsfdi.c: Likewise.
1134         * soft-fp/fixsfsi.c: Likewise.
1135         * soft-fp/fixtfdi.c: Likewise.
1136         * soft-fp/fixtfsi.c: Likewise.
1137         * soft-fp/fixunsdfdi.c: Likewise.
1138         * soft-fp/fixunsdfsi.c: Likewise.
1139         * soft-fp/fixunssfdi.c: Likewise.
1140         * soft-fp/fixunssfsi.c: Likewise.
1141         * soft-fp/fixunstfdi.c: Likewise.
1142         * soft-fp/fixunstfsi.c: Likewise.
1143         * soft-fp/floatdidf.c: Likewise.
1144         * soft-fp/floatdisf.c: Likewise.
1145         * soft-fp/floatditf.c: Likewise.
1146         * soft-fp/floatsidf.c: Likewise.
1147         * soft-fp/floatsisf.c: Likewise.
1148         * soft-fp/floatsitf.c: Likewise.
1149         * soft-fp/floatundidf.c: Likewise.
1150         * soft-fp/floatundisf.c: Likewise.
1151         * soft-fp/floatunditf.c: Likewise.
1152         * soft-fp/floatunsidf.c: Likewise.
1153         * soft-fp/floatunsisf.c: Likewise.
1154         * soft-fp/floatunsitf.c: Likewise.
1155         * soft-fp/gedf2.c: Likewise.
1156         * soft-fp/gesf2.c: Likewise.
1157         * soft-fp/getf2.c: Likewise.
1158         * soft-fp/ledf2.c: Likewise.
1159         * soft-fp/lesf2.c: Likewise.
1160         * soft-fp/letf2.c: Likewise.
1161         * soft-fp/muldf3.c: Likewise.
1162         * soft-fp/mulsf3.c: Likewise.
1163         * soft-fp/multf3.c: Likewise.
1164         * soft-fp/negdf2.c: Likewise.
1165         * soft-fp/negsf2.c: Likewise.
1166         * soft-fp/negtf2.c: Likewise.
1167         * soft-fp/op-1.h: Likewise.
1168         * soft-fp/op-2.h: Likewise.
1169         * soft-fp/op-4.h: Likewise.
1170         * soft-fp/op-8.h: Likewise.
1171         * soft-fp/op-common.h: Likewise.
1172         * soft-fp/quad.h: Likewise.
1173         * soft-fp/single.h: Likewise.
1174         * soft-fp/soft-fp.h: Likewise.
1175         * soft-fp/subdf3.c: Likewise.
1176         * soft-fp/subsf3.c: Likewise.
1177         * soft-fp/subtf3.c: Likewise.
1178         * soft-fp/truncdfsf2.c: Likewise.
1179         * soft-fp/trunctfdf2.c: Likewise.
1180         * soft-fp/trunctfsf2.c: Likewise.
1181         * soft-fp/unorddf2.c: Likewise.
1182         * soft-fp/unordsf2.c: Likewise.
1183         * soft-fp/unordtf2.c: Likewise.
1184         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
1185         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1186         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1187         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1188         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1189         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1190         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1191         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1192         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1193         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
1194         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
1195         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1197 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
1199         * config/mips/lib2funcs.c: New file.
1200         * config/mips/t-mips (LIB2ADD_ST): Add it.
1202 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
1204         PR target/6526
1205         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
1206         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
1208 2013-06-08  Walter Lee  <walt@tilera.com>
1210         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
1211         Replace int64_t with long long.  Add __extension__ where
1212         appropriate.
1213         * config/tilepro/atomic.c: Include config.h.
1215 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
1217         * config.host (arm-wrs-vxworks): Configure with other soft float.
1219 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
1221         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
1222         (mips64r5900el-*-elf*): New configurations.
1224 2013-06-04  Alan Modra  <amodra@gmail.com>
1226         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
1228 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
1230         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
1232 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
1234         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
1235         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
1236         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
1238 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
1240         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
1241         (powerpc-wrs-vxworks): Likewise.
1243 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
1245         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
1246         signal frames as well.
1247         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
1248         STACK_BIAS to the CFA offset.
1250 2013-05-17  Richard Henderson  <rth@redhat.com>
1252         PR target/49146
1253         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
1254         (execute_cfa_program): Use it when storing to fs->regs.
1256 2013-05-08  Kai Tietz  <ktietz@redhat.com>
1258         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
1259         (__deregister_frame_info): Likewise.
1261 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
1263         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
1264         NaN's payload.
1266         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
1268 2013-04-25  Alan Modra  <amodra@gmail.com>
1270         * config.host: Match little-endian powerpc-linux.
1272 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
1274         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
1275         as 'unsigned long long' instead of 'unsigned long'.
1276         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
1277         'signed long'.
1279 2013-04-10  Julian Brown  <julian@codesourcery.com>
1281         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
1282         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
1283         unsigned char/unsigned short.
1284         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
1286 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1288         PR other/55274
1289         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
1291 2013-04-04  Meador Inge  <meadori@codesourcery.com>
1293         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
1294         computing the location of the link register.
1295         (aeabi_uldivmod): Ditto.
1297 2013-03-27  Kai Tietz  <ktietz@redhat.com>
1299         * config.host: Add support for cygwin x64 target.
1300         * configure: Regenerated.
1302 2013-03-26  Walter Lee  <walt@tilera.com>
1304         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
1305         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
1307 2013-03-25  Kai Tietz  <ktietz@redhat.com>
1309         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
1311 2013-03-20  Robert Mason  <rbmj@verizon.net>
1313         * config/vxlib-tls.c (__gthread_get_tsd_data,)
1314         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
1315         (__gthread_leave_tsd_dtor_context): Add prototypes.
1316         (tls_delete_hook): Update.
1318 2013-03-20  Catherine Moore  <clm@codesourcery.com>
1319             Joseph Myers  <joseph@codesourcery.com>
1320             Chao-ying Fu  <fu@mips.com>
1322         * config/mips/mips16.S:  Don't build for microMIPS.
1323         * config/mips/linux-unwind.h: Handle microMIPS frame.
1324         * config/mips/crtn.S (fini, init): New labels.
1326 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
1328         PR tree-optimization/53265
1329         * unwind-dw2.c (execute_cfa_program): Avoid
1330         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
1331         on targets with DWARF_FRAME_REGISTERS < 32.
1333 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
1335         PR target/49880
1336         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
1337         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
1339 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
1341         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
1342         sandybridge processors.
1344 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
1346         PR target/56529
1347         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
1348         inclusion list.
1350 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
1352         * config/microblaze/crti.S: Setup stack protection at entry
1354 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
1356         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
1357         (__rotldi3): Shift bytewise if applicable.
1359 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
1361         * config/aarch64/sync-cache.c
1362         (__aarch64_sync_cache_range): Silence warnings.
1364 2013-02-25  Catherine Moore  <clm@codesourcery.com>
1366         Revert:
1367         2013-02-24  Catherine Moore  <clm@codesourcery.com>
1368             Joseph Myers  <joseph@codesourcery.com>
1369             Chao-ying Fu  <fu@mips.com>
1371         * config/mips/mips16.S:  Don't build for microMIPS.
1372         * config/mips/linux-unwind.h: Handle microMIPS frame.
1373         * config/mips/crtn.S (fini, init): New labels.
1375 2013-02-24  Catherine Moore  <clm@codesourcery.com>
1376             Joseph Myers  <joseph@codesourcery.com>
1377             Chao-ying Fu  <fu@mips.com>
1379         * config/mips/mips16.S:  Don't build for microMIPS.
1380         * config/mips/linux-unwind.h: Handle microMIPS frame.
1381         * config/mips/crtn.S (fini, init): New labels.
1383 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
1384         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000 
1385         as dividend.
1387 2013-02-16  Alan Modra  <amodra@gmail.com>
1389         PR target/55431
1390         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
1391         (ppc_fallback_frame_state): Always set up save locations for fp
1392         and altivec.  Don't bother with non-callee-saved regs, r0-r13
1393         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
1395 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
1397         PR target/54222
1398         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
1399         _ssmulHA, _ssmulSA.
1400         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
1401         _ssmulha3, _usmulusa3, _ssmulsa3.
1402         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
1403         (__muldi3): XCALL __muldi3_6 instead of rcall.
1404         (__umulsidi3, __mulsidi3): New functions.
1405         (do_prologue_saves, do_epilogue_restores): New .macros.
1406         (__divdi3_moddi3): Use them.
1407         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
1408         (__usmulusa3, __ssmulsa3): New functions.
1410 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
1411             Jack Howarth  <howarth@bromo.med.uc.edu>
1412             Patrick Marlier  <patrick.marlier@gmail.com>
1414         PR libitm/55693
1415         * config/darwin-crt-tm.c: Remove dummy functions hack.
1417 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
1419         PR target/54222
1420         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
1421         * config/avr/lib2-object.mk: New iterator to build objects from it.
1422         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
1423         lib2funcs.c.
1424         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
1425         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
1426         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
1427         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
1428         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
1429         * config/avr/lib1funcs-fixed.S: Implement them.
1431 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
1433         Update copyright years.
1435 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
1437         PR target/54601
1438         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
1439         Add crtcxa to extra_parts.
1440         * config/rs6000/exit.h: New file.
1441         * config/rs6000/cxa_atexit.c: New file.
1442         * config/rs6000/cxa_finalize.c: New file.
1443         * config/rs6000/crtcxa.c: New file.
1444         * config/rs6000/t-aix-cxa: New file.
1445         * config/rs6000/libgcc-aix-cxa.ver: New file.
1447 2013-01-31  Nick Clifton  <nickc@redhat.com>
1449         * config/v850/lib1funcs.S: Add support for e3v5 architecture
1450         variant.
1452 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
1454         PR target/54222
1455         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
1456         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
1457         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
1458         _divQQ,  _divHQ,  _divHA,  _divSA,
1459         _divUQQ, _divUHQ, _divUHA, _divUSA.
1461 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
1463         * config.host(microblaze*-linux*): tmake_file: Remove
1464         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
1465         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
1466         to exclude functions from being built with libgcc.c and use
1467         the microblaze assembly.
1469 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
1471         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
1472         extra_parts.
1474 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
1476         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
1477         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
1478         __UINTPTR_TYPE__; also cast 'base' to the same type before the
1479         alignment operation.
1481 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
1483         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
1484         loop start address for cache clearing.
1486 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
1488         * config/avr/lib1funcs.S: Remove trailing blanks.
1489         * config/avr/lib1funcs-fixed.S: Ditto.
1491 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
1493         * config/avr/avr-lib.h: Add GPL copyright notice.
1495 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
1497         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
1498         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
1499         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
1500         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
1502 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
1504         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
1505         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
1507 2013-01-04  Nick Clifton  <nickc@redhat.com>
1509         * config/v850/lib1funcs.S: Only provide CALLT support functions if
1510         the CALLT instruction is supported.
1512 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
1514         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
1515         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
1517 2012-12-13  John Tytgat  <John@bass-software.com>
1519         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
1520         is 25.
1522 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
1524         PR libgcc/55451
1525         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
1526         undefined signed overflows.
1528 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
1530         PR target/55344
1531         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
1533 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
1535         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
1536         (FP_TRAPPING_EXCEPTIONS): Define.
1537         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
1538         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
1540 2012-12-04  Richard Henderson  <rth@redhat.com>
1542         PR bootstrap/55571
1543         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
1545 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
1547         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
1548         (FP_EX_SHIFT): Define.
1549         (FP_TRAPPING_EXCEPTIONS): Define.
1551 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
1553         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
1554         (FP_ROUNDMODE): Use FP_RND_MASK.
1555         * config/aarch64/sfp-exceptions.c: New.
1556         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1557         Use __sfp_handle_exceptions.
1559 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
1561         * config.host: (arm*-*-freebsd*): Remove.
1562         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
1563         (arm*-*-elf*): Remove.
1564         (arm*-*-wince-pe*): Remove.
1565         * arm/unwind-arm.c (struct fpa_reg): Delete.
1566         (struct fpa_regs): Delete.
1567         (phase1_vrs): Remove fpa element.
1568         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
1569         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
1570         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
1571         * ieee754-sf.S (floatundisf): Remove FPA support.
1572         (floatdisf): Likewise.
1573         * ieee75f-df.S (floatundidf): Likewise.
1574         (floatdidf): Likewise.
1576 2012-11-29  Kai Tietz  <ktietz@redhat.com>
1578         PR target/55445
1579         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
1580         * unwind-generic.h: Likewise.
1581         * unwind-seh.c: Likewise.
1583 2012-11-28  Richard Henderson  <rth@redhat.com>
1585         PR libgcc/48076
1586         * emutls.c (__emutls_get_address): Avoid race condition between
1587         obj->loc.offset read and emutls_key initialization.
1589 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
1591         Adjust decimal point of signed accum mode to GCC default.
1593         PR target/54222
1594         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
1595         _divqq_helper.
1596         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
1597         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
1598         (__mulha3, __mulsa3)
1599         (__divqq3, __divha3, __divsa3): Adjust to new position of
1600         decimal point of signed accum types.
1602         (__mulusa3_round): New function.
1603         (__mulusa3): Use it.
1604         (__divqq_helper): New function.
1605         (__udivuqq3): Use it.
1607 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
1609         PR bootstrap/55370
1610         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
1612 2012-11-18  Teresa Johnson  <tejohnson@google.com>
1614         PR bootstrap/55051
1615         * libgcov.c (gcov_exit): Remove merged program summary
1616         comparison unless !GCOV_LOCKED.
1618 2012-11-15  Marcus Shawcroft <marcus.shawcroft@arm.com>
1620         * soft-fp: Updated from glibc upstream.
1622 2012-11-06  Ian Lance Taylor  <iant@google.com>
1624         * generic-morestack.c (__generic_morestack): Align the returned
1625         stack pointer to a 32 byte boundary.
1626         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
1627         increment the return address until we have decided that we don't
1628         have a varargs function.
1629         (__morestack) [32-bit]: Align stack correctly when calling C
1630         functions.
1631         (__morestack) [64-bit]: Likewise.
1633 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
1635         * configure: Regenerate.
1637 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
1639         PR target/55175
1640         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
1641         * config/i386/sfp-machine.h: Guard exception handling
1642         code with _SOFT_FLOAT.
1643         * config/i386/32/sfp-machine.h: Guard rounding handling
1644         code with _SOFT_FLOAT.
1645         * config/i386/64/sfp-machine.h: Ditto.
1647 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
1649         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
1650         as extra_parts.
1652 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
1654         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
1655         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
1656         when appropriate.  Correct structure element types.
1657         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
1658         -minline-all-stringops from compile flags.
1660 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
1662         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
1664 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
1666         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
1668 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1670         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
1671         tmake_file.
1673 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
1674             Jim MacArthur  <jim.macarthur@arm.com>
1675             Marcus Shawcroft  <marcus.shawcroft@arm.com>
1676             Nigel Stephens  <nigel.stephens@arm.com>
1677             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1678             Richard Earnshaw  <rearnsha@arm.com>
1679             Sofiane Naci  <sofiane.naci@arm.com>
1680             Stephen Thomas  <stephen.thomas@arm.com>
1681             Tejas Belagod  <tejas.belagod@arm.com>
1682             Yufeng Zhang  <yufeng.zhang@arm.com>
1684         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
1685         * config/aarch64/crti.S: New file.
1686         * config/aarch64/crtn.S: New file.
1687         * config/aarch64/linux-unwind.h: New file.
1688         * config/aarch64/sfp-machine.h: New file.
1689         * config/aarch64/sync-cache.c: New file.
1690         * config/aarch64/t-aarch64: New file.
1691         * config/aarch64/t-softfp: New file.
1693 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
1695         * config/mmix/crti.S: Mark program and data addresses using PRELD.
1696         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
1697         no-longer-needed LDBU insns.
1699 2012-10-18  Sebastian Huber <sebastian.huber@embedded-brains.de>
1701         * config.host
1702         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
1703         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
1705 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1707         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
1709 2012-10-15  Matthias Klose  <doko@ubuntu.com>
1711         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
1713 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
1715         * configure: Regenerate.
1716         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
1718 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
1720         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1721         instructions for 64bit targets only.
1723 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
1725         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
1726         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
1727         * config/i386/32/sfp-machine.h: ... here.
1728         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1729         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
1730         New defines.
1732 2012-10-07  Matthias Klose  <doko@ubuntu.com>
1734         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
1735         as unused.
1736         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
1738 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
1740         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
1741         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
1742         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
1743         (ElfW): Likewise.
1745 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
1747         PR other/53889
1748         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
1749         Fix parameter names.
1751 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
1753         PR target/33135
1754         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
1755         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
1756         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
1758 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
1760         PR target/50457
1761         * config/sh/linux-atomic.S: Delete.
1762         * config/sh/linux-atomic.c: New.
1763         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
1764         linux-atomic.c.  Add cflags to disable warnings.
1766 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
1768         PR other/53889
1769         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
1770         function.
1771         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
1772         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
1773         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
1774         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
1775         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
1776         Likewise.
1777         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
1778         Likewise.
1779         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
1780         Likewise.
1781         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
1782         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
1784 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
1786         * config.host (hppa-*-openbsd*): New target.
1787         * config/pa/t-openbsd: New file.
1789 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
1791         PR target/54222
1792         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
1793         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
1794         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
1795         (__divsa3): Use __negsi2 to negate r_quoL.
1796         * config/avr/lib1funcs.S (FALIAS): New macro.
1797         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
1798         (__negsi2): ...this new function.
1799         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
1800         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
1801         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
1802         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
1803         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
1804         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
1806 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
1808         PR target/54089
1809         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
1810         (lshrsi3): Reimplement as lshrsi3_r0.
1812 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
1814         PR target/46191
1815         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
1816         of libgcc.a.
1818 2012-09-07  Teresa Johnson  <tejohnson@google.com>
1820         PR gcov-profile/54487
1821         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
1822         differences.
1824 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
1826         PR target/54461
1827         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
1828         not configured --with-avrlibc=no.
1829         * config/avr/t-avrlibc: New file.
1830         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
1831         (DPBIT_FUNCS): Ditto.
1832         (TPBIT_FUNCS): Ditto.
1834 2012-09-04  Teresa Johnson  <tejohnson@google.com>
1836         * libgcov.c (struct gcov_summary_buffer): New structure.
1837         (gcov_histogram_insert): New function.
1838         (gcov_compute_histogram): Ditto.
1839         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
1840         histograms during summary merging.
1842 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
1844         * config.host (x86_64-*-openbsd*): New target.
1846 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
1848         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
1849         attribute.
1851 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
1853         PR target/54222
1854         * config/avr/t-avr (conv_X): Rename to func_X.
1856 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
1858         PR target/54222
1859         * config/avr/lib1funcs-fixed.S: New file.
1860         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
1861         after they are used.
1862         (neg2, neg4): New macros.
1863         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
1864         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
1865         (__umulhisi3): Speed up MUL variant if there is enough flash.
1866         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
1867         avr-modes.def.
1868         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
1869         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
1870         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
1871         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
1872         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
1873         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
1874         (LIB2FUNCS_EXCLUDE): Add supported functions.
1876 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
1878         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
1879         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
1880         libgcc-s-objects.
1881         * fixed-obj.mk: Only expand dependency if $o is not in
1882         LIB2FUNCS_EXCLUDE.
1884 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
1886         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
1888 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
1890         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
1891         depend on --enable-shared.
1892         ($(lib1asmfuncs-o)): Use %.vis files independent of
1893         --enable-shared.
1894         * static-object.mk ($(base)$(objext), $(base).vis)
1895         ($(base)_s$(objext)): Use same rules for visibility handling as in
1896         shared-object.mk.
1898 2012-08-21  Ian Lance Taylor  <iant@google.com>
1900         * config/i386/morestack.S (__morestack_non_split): Increase amount
1901         of space allocated for non-split code stack.
1903 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
1905         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
1906         even if inhibit_libc.
1908 2012-08-17  Julian Brown  <julian@codesourcery.com>
1910         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
1911         -fexceptions -fnon-call-exceptions if not defined.
1912         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
1913         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
1915 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
1917         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
1918         type.
1920 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
1922         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
1923         rs6000/t-slibgcc-aix.
1925 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
1927         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
1929 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
1931         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
1933 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
1935         PR driver/54171
1936         * Makefile.in (version): Replace top_srcdir with srcdir.
1938 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
1940         * Makefile.in (version): set to BASE-VER file from gcc directory.
1942 2012-08-01  Nick Clifton  <nickc@redhat.com>
1944         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
1945         Implements __clrsb for an HImode argument.
1947 2012-07-31  Nick Clifton  <nickc@redhat.com>
1949         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
1950         Implements __clrsb for an HImode argument.
1951         * config/stormy16/clrsbhi2.c: New file:
1952         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
1954 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
1956         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
1958 2012-07-19  Tristan Gingold  <gingold@adacore.com>
1959             Richard Henderson  <rth@redhat.com>
1961         * unwind-seh.c: New file.
1962         * unwind-generic.h: Include windows.h for SEH.
1963         (_Unwind_Exception): Use 6 private fields for SEH.
1964         (_GCC_specific_handler): Declare.
1965         * unwind-c.c (__gcc_personality_seh0): New function.
1966         Adjust for SEH.
1967         * config/i386/libgcc-cygming.ver: New file.
1968         * config/i386/t-seh-eh: New file.
1969         * config.host (x86_64-*-mingw*): Default to seh.
1971 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
1973         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
1975 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
1977         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
1978         __builtin_expect when checking for exceptions.
1979         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
1981 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
1983         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
1984         function declaration.
1985         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
1986         (FP_RND_MASK): New.
1987         * config/ia64/sfp-exceptions.c: New.
1988         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
1990 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
1992         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
1993         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
1994         * config/i386/64/sfp-machine: ... (delete here) ...
1995         * config/i386/sfp-machine.h: ... to here.
1996         (FP_EX_MASK): Remove.
1997         (FP_RND_MASK): New.
1998         (FP_INIT_ROUNDMODE): Declare asm as volatile.
2000 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
2002         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
2003         * config/i386/libgcc-sol2.ver: Ditto.
2004         * config/i386/libgcc-glibc.ver: Ditto.
2006 2012-06-11  Roland McGrath  <mcgrathr@google.com>
2008         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
2009         If __GLIBC__ is defined, refer to __pthread_key_create instead of
2010         pthread_cancel.
2012 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
2014         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
2015         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
2016         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
2017         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
2018         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
2019         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
2020         * config/i386/64/sfp-machine: ... (delete here) ...
2021         * config/i386/sfp-machine.h: ... to here.
2022         (FP_EX_MASK): New.
2023         (__sfp_handle_exceptions): New function declaration.
2024         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
2025         * config/i386/sfp-exceptions.c: New.
2026         * config/i386/t-softfp: New.
2027         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
2028         i386/t-softfp to tmake_file.
2030 2012-06-03  David S. Miller  <davem@davemloft.net>
2032         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
2033         change.
2035 2012-05-31  David S. Miller  <davem@davemloft.net>
2037         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
2038         multiply and divide instructions on 32-bit when V9.
2039         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
2041 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
2043         * config/arm/ieee754-df.S: Fix typos.
2044         * config/arm/ieee754-sf.S: Fix typos.
2045         * config/c6x/libunwind.S: Fix typos.
2046         * config/epiphany/udivsi3-float.c: Fix typos.
2047         * config/microblaze/muldi3_hard.S: Fix typos.
2048         * config/picochip/adddi3.S: Fix typos.
2049         * config/picochip/ashlsi3.S: Fix typos.
2050         * config/picochip/ashrsi3.S: Fix typos.
2051         * config/picochip/clzsi2.S: Fix typos.
2052         * config/picochip/cmpsi2.S: Fix typos.
2053         * config/picochip/divmod15.S: Fix typos.
2054         * config/picochip/divmodhi4.S: Fix typos.
2055         * config/picochip/divmodsi4.S: Fix typos.
2056         * config/picochip/longjmp.S: Fix typos.
2057         * config/picochip/lshrsi3.S: Fix typos.
2058         * config/picochip/parityhi2.S: Fix typos.
2059         * config/picochip/popcounthi2.S: Fix typos.
2060         * config/picochip/setjmp.S: Fix typos.
2061         * config/picochip/subdi3.S: Fix typos.
2062         * config/picochip/ucmpsi2.S: Fix typos.
2063         * config/picochip/udivmodhi4.S: Fix typos.
2064         * config/picochip/udivmodsi4.S: Fix typos.
2065         * config/spu/divv2df3.c: Fix typos.
2066         * config/spu/mfc_multi_tag_release.c: Fix typos.
2067         * config/spu/mfc_tag_release.c: Fix typos.
2068         * configure.ac: Fix typos.
2069         * configure: Regenerate.
2071 2012-05-25  Ian Lance Taylor  <iant@google.com>
2073         * config/i386/morestack.S (__morestack_non_split): Check whether
2074         caller is varargs and needs %bp to hold the stack frame on return.
2076 2012-05-25  Olivier Hainque  <hainque@adacore.com>
2078         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
2079         sequence in the non pic case on VxWorks.
2081 2012-05-24  Olivier Hainque  <hainque@adacore.com>
2083         * Makefile.in: Move dependency on install-unwind_h from
2084         "install-leaf" to "install".
2086 2012-05-24  Olivier Hainque  <hainque@adacore.com>
2088         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
2089         Use a separate command for stamp removals.
2091 2012-05-21  Andrew Pinski  <apinski@cavium.com>
2093         PR bootstrap/53183
2094         * configure.ac: Define the default includes to being none.
2095         * configure: Regenerate.
2097 2012-05-16  Olivier Hainque  <hainque@adacore.com>
2099         * Makefile.in (install-unwind_h): Rename into ...
2100         (install-unwind_h-forbuild): New target.
2101         (all): Use it instead of the former install-unwind_h.
2102         (install-unwind_h): Reinstate, copy to user install destination
2103         for include files, not to the internal gcc object directory one.
2104         (install-leaf): Depend on it.
2106 2012-05-15  Olivier Hainque  <hainque@adacore.com>
2108         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
2109         register numbers. LR_REGNO replaces R_LR.
2110         (ucontext_for): New, helper for ...
2111         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
2112         and 5.3 of ...
2113         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
2115 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2117         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
2118         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
2119         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
2120         i386/t-cpuinfo ...
2121         (i[34567]86-*-*, x86_64-*-*): ... here.
2123         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
2124         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
2126         * config/i386/i386-cpuinfo.c: Rename to ...
2127         * config/i386/cpuinfo.c: ... this.
2128         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
2130         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
2131         (libgcc_cv_init_priority): New test.
2132         * configure: Regenerate.
2133         * config.in: New file.
2134         * Makefile.in (clean): Rename config.h to auto-target.h.
2135         (config.h): Likewise.
2136         (stamp-h): Likewise.
2138         * config/i386/cpuinfo.c (auto-target.h): Include.
2139         (CONSTRUCTOR_PRIORITY): Define.
2140         (__cpu_indicator_init): Use it.
2142 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
2144         * longlong.h: Use a URL instead of an FSF postal address.
2145         Replace spaces with tab.
2147 2012-05-08  Teresa Johnson  <tejohnson@google.com>
2149         * libgcov.c (gcov_clear, __gcov_reset): New functions.
2150         (__gcov_dump): Ditto.
2151         (gcov_dump_complete): New global variable.
2152         (gcov_exit): Export hidden to enable use in L_gcov_dump.
2153         (__gcov_flush): Outline functionality now in gcov_clear.
2154         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
2156 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
2158         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
2159         (mips*-*-linux*): Include mips/t-tpbit when long double is
2160         16 bytes long.
2162 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
2164         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
2165         (get_available_features): New argument. Check for AVX2.
2166         (__cpu_indicator_init): Modify call to get_available_features.
2168 2012-04-25  Alan Modra  <amodra@gmail.com>
2170         * config/rs6000/crtsavevr.S: New file.
2171         * config/rs6000/crtrestvr.S: New file.
2172         * config/rs6000/t-savresfgpr: Build the above.
2173         * config/rs6000/t-netbsd: Likewise.
2175 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
2177         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
2179 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
2181         * libgcc/config/i386/i386-cpuinfo.c: New file.
2182         * libgcc/config/i386/t-cpuinfo: New file.
2183         * libgcc/config.host: Include t-cpuinfo.
2184         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
2186 2012-04-24  Chao-ying Fu  <fu@mips.com>
2188         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
2190 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
2192         struct siginfo vs. siginfo_t
2194         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
2195         siginfo_t instead of struct siginfo.
2196         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
2197         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
2198         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
2199         (ia64_handle_unwabi): Likewise.
2200         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
2201         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
2202         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
2203         (sh_fallback_frame_state): Likewise.
2204         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
2205         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
2207 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
2209         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
2210         system call number.
2212 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
2214         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
2215         if it hasn't been previously saved.
2217 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
2219         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
2220         only for glibc.
2222 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
2224         PR target/52737
2225         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
2226         instead of __AVR_HAVE_8BIT_SP__.
2228 2012-03-26  Tristan Gingold  <gingold@adacore.com>
2230         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
2231         (unw_table_entry): Use unw_word instead of unsigned long.
2232         (_Unwind_FindTableEntry): Likewise.
2233         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
2234         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
2235         (_Unwind_FindTableEntry): Likewise.
2236         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
2237         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
2238         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
2239         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
2240         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
2241         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
2242         (uw_init_context_1, uw_install_context): Likewise.
2243         (unw_word): Move to unwind-ia64.h
2245 2012-03-26  Tristan Gingold  <gingold@adacore.com>
2247         * config/vms/vms-ucrt0.c: Update copyright years.
2248         Add a sanity check.
2249         (___gcc_main_flags): Declare.
2250         (__main): Check flags to remap argv and exit code.
2251         * config.host (*-*-*vms*): Adjust extra_parts.
2252         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
2253         (crt0.o): Add.
2255 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
2257         * arm/lib1funcs.asm (ctzsi2): New function.
2258         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
2259         * arm/t-linux (LIB1ASMFUNCS): Likewise.
2260         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
2261         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
2262         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
2263         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
2265 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
2267         * config.host: Add bits to support powerpc64-*-freebsd*.
2268         * config/rs6000/freebsd-unwind.h: New file.
2269         * config/rs6000/t-freebsd64: New file.
2271 2012-03-20  Richard Guenther  <rguenther@suse.de>
2273         PR gcov-profile/52627
2274         * libgcov.c (init_mx): Fix mutex name.
2276 2012-03-16  Tristan Gingold  <gingold@adacore.com>
2278         * config/ia64/vms-unwind.h: Remove ulong (and replace
2279         it by unw_reg where used).  Define unw_reg with __int64.
2281 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2283         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2284         Solaris 8 handling.
2285         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
2286         Solaris 8 handling.
2287         (sparc_is_sighandler): Likewise.
2289 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
2291         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
2292         <= saved reg size.
2294 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2296         * config/arm/crtn.S: Fix typo.
2298 2012-03-13  Richard Guenther  <rguenther@suse.de>
2300         * libgcov.c: Remove stdio.h include and NULL un-define.
2302 2012-03-13  Richard Guenther  <rguenther@suse.de>
2304         PR target/52569
2305         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
2307 2012-03-13  Richard Guenther  <rguenther@suse.de>
2309         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
2311 2012-03-13  Richard Guenther  <rguenther@suse.de>
2313         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
2314         and __gthread_mutex_init_function definitions.
2316 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2318         * config.host (mips*-*-openbsd*): Remove.
2320 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2322         * config.host: Remove alpha*-dec-osf5.1* handling.
2323         * config/alpha/gthr-posix.c: Remove.
2324         * config/alpha/libgcc-osf5.ver: Remove.
2325         * config/alpha/osf5-unwind.h: Remove.
2326         * config/alpha/t-osf-pthread: Remove.
2327         * config/alpha/t-slibgcc-osf: Remove.
2328         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
2329         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
2330         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
2331         * mkmap-flat.awk: Remove osf_export handling.
2333 2012-03-12  Richard Guenther  <rguenther@suse.de>
2335         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
2336         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
2337         (__gthread_mutex_init_function): New function.
2338         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
2340         PR gcov/49484
2341         * libgcov.c: Include gthr.h.
2342         (__gcov_flush_mx): New global variable.
2343         (init_mx, init_mx_once): New functions.
2344         (__gcov_flush): Protect self with a mutex.
2345         (__gcov_fork): Re-initialize mutex after forking.
2346         * unwind-dw2-fde.c: Change condition under which to use
2347         __GTHREAD_MUTEX_INIT_FUNCTION.
2349 2012-03-12  Tristan Gingold  <gingold@adacore.com>
2351         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
2352         * config/ia64/t-vms: Likewise.
2354 2012-03-11  Michael Hope  <michael.hope@linaro.org>
2356         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
2357         for Thumb-2.
2359 2012-03-07  Walter Lee  <walt@tilera.com>
2361         * config/tilepro/atomic.c: Rename "atomic_" prefix to
2362         "arch_atomic_".
2363         (atomic_xor): Rename and move definition to
2364         config/tilepro/atomic.h.
2365         (atomic_nand): Ditto.
2366         * config/tilepro/atomic.h: Rename "atomic_" prefix to
2367         "arch_atomic_".
2368         (arch_atomic_xor): Move from config/tilepro/atomic.c.
2369         (arch_atomic_nand): Ditto.
2371 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
2373         PR target/52507
2374         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
2376 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
2378         PR target/52505
2379         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
2380         from RAM.
2382 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
2384         PR target/52461
2385         PR target/52508
2386         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
2387         if RAMPZ affects reading from RAM.
2388         (__tablejump_elpm__): Ditto.
2389         (.xload): Ditto.
2390         (__movmemx_hi): Ditto.
2391         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
2392         (__do_global_dtors): Ditto.
2393         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
2394         (__movmemx_hi): Ditto.
2396 2012-03-05  Richard Henderson  <rth@redhat.com>
2398         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
2399         [ARM] (count_trailing_zeros): Use the builtin.
2401 2012-03-01  Kai Tietz  <ktietz@redhat.com>
2403         * soft-fp: Imported from glibc upstream.
2405 2012-02-28  Kai Tietz  <ktietz@redhat.com>
2407         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
2408         for mingw-targets as attribute gcc_struct.
2410 2012-02-28  Ian Lance Taylor  <iant@google.com>
2412         * generic-morestack.c (__splitstack_releasecontext): Correct call
2413         to __morestack_release_segments.
2415 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2417         PR target/52390
2418         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
2419         for __linux__ when removing signals from __morestack_fullmask.
2421 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
2423         PR target/52261
2424         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
2426 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2428         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
2429         instead of HAVE_INITFINI_ARRAY.
2430         * config/ia64/crtend.S: Likewise.
2432 2012-02-20  Kai Tietz  <ktietz@redhat.com>
2434         PR libstdc++/52300
2435         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
2437         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
2438         to w32-unwind.h header.
2440 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
2442         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
2443         (mips*-*-linux*): Remove t-slibgcc-libgcc.
2444         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
2445         * config/mips/mips16.S (__mips16_rdhwr): Delete.
2447 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
2449         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
2451 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
2453         PR libitm/52220
2454         * config/darwin-crt-tm.c: Correct typo.
2456 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
2457             Patrick Marlier  <patrick.marlier@gmail.com>
2459         PR libitm/52220
2460         * config/darwin-crt-tm.c: Generate dummy functions.
2462 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
2463             Patrick Marlier  <patrick.marlier@gmail.com>
2465         PR libitm/52042
2466         * config/darwin-crt-tm.c (getTMCloneTable): New function.
2467         (__doTMRegistrations): Call it.
2468         (__doTMdeRegistrations): Likewise.
2470 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
2471             Anatoly Sokolov <aesok@post.ru>
2472             Eric Weddington <eric.weddington@atmel.com>
2474         PR target/52261
2475         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
2476         (__epilogue_restores__): Ditto.
2478 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
2480         PR target/51921
2481         PR target/52205
2482         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
2483         Solaris 11 and slightly reformat.
2484         (sparc_is_sighandler): Likewise.
2486 2012-02-14  Walter Lee  <walt@tilera.com>
2488         * config.host: Handle tilegx and tilepro.
2489         * config/tilegx/sfp-machine.h: New file.
2490         * config/tilegx/sfp-machine32.h: New file.
2491         * config/tilegx/sfp-machine64.h: New file.
2492         * config/tilegx/t-crtstuff: New file.
2493         * config/tilegx/t-softfp: New file.
2494         * config/tilegx/t-tilegx: New file.
2495         * config/tilepro/atomic.c: New file.
2496         * config/tilepro/atomic.h: New file.
2497         * config/tilepro/linux-unwind.h: New file.
2498         * config/tilepro/sfp-machine.h: New file.
2499         * config/tilepro/softdivide.c: New file.
2500         * config/tilepro/softmpy.S: New file.
2501         * config/tilepro/t-crtstuff: New file.
2502         * config/tilepro/t-tilepro: New file.
2504 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
2506         PR libstdc++/51296
2507         PR libstdc++/51906
2508         * gthr-posix.h: Allow static initializer macros to be disabled.
2509         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
2511 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
2513         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
2514         Add t-slibgcc-libgcc to tmake_file.
2515         * config/mips/libgcc-mips16.ver: Revert previous patch.
2516         * config/mips/mips16.S (__mips16_rdhwr): Hide.
2518 2012-02-02  Sumanth G <sumanth.gundapaneni@kpitcummins.com>
2519             Jayant R Sonar <jayant.sonar@kpitcummins.com>
2521         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
2522         * config/cr16/crti.S: New file.
2523         * config/cr16/crtlibid.S: New file.
2524         * config/cr16/crtn.S: New file.
2525         * config/cr16/lib1funcs.S: New file.
2526         * config/cr16/t-cr16: New file.
2527         * config/cr16/t-crtlibid: New file.
2528         * config/cr16/unwind-dw2.h: New file.
2529         * config/cr16/unwind-cr16.c: New file.
2530         * config/cr16/divmodhi3.c: New file.
2532 2012-01-25  Alan Modra  <amodra@gmail.com>
2534         * config/rs6000/t-linux64: Delete.  Move..
2535         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
2536         * config/rs6000/t-linux: ..and libgcc flags to here.
2538 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
2540         * config.host (i[34567]86-*-interix3*):
2541         Change triplet to i[34567]86-*-interix[3-9]*.
2542         * configure: Regenerate.
2544 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
2545             Richard Sandiford  <rdsandiford@googlemail.com>
2547         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
2548         * config/mips/mips16.S (__mips16_rdhwr): New function.
2549         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
2551 2012-01-11  Nathan Sidwell  <nathan@acm.org>
2553         * libgcov.c (__gcov_init): Ignore objects with no functions.
2555 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
2557         PR target/49868
2558         Extend __pgmx semantics to linearize memory.
2559         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
2560         * config/avr/lib1funcs.S (__xload_1): New function.
2561         (__movmemx_qi, __movmemx_hi): New functions.
2562         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
2563         semantics.
2565 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
2567         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
2568         purported sigacthandler address isn't null before dereferencing it.
2569         (sparc_is_sighandler): Likewise.
2571 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
2573         PR ada/41929
2574         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
2575         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
2576         (sparc_is_sighandler): Likewise.
2577         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
2579 2012-01-06  Tristan Gingold  <gingold@adacore.com>
2581         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
2582         compatibility thunks...
2583         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
2584         (crtbeginS.o, crtendS.o): ... and these to ...
2585         * config/ia64/t-ia64-elf: ... this new file.
2586         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
2587         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
2589 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2591         * configure: Regenerate.
2592         * config/s390/t-crtstuff: Remove -fPIC.
2594 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
2596         PR bootstrap/51006
2597         * enable-execute-stack-mprotect.c (getpagesize): Do not define
2598         for NetBSD.
2600 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
2602         PR target/51345
2603         * config/avr/lib1funcs.S: Remove FIXME comments.
2604         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
2606 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
2608         Implement light-weight DImode support.
2609         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
2610         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
2611         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
2612         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
2614 2011-12-30  Nathan Sidwell  <nathan@acm.org>
2616         * libgcov.c (gcov_crc32): Remove global var.
2617         (free_fn_data): New function.
2618         (buffer_fn_data): Pass in filename, more robust error recovery.
2619         (crc32_unsigned): New function.
2620         (gcov_exit): More robust detection of new program. More robust
2621         error recovery.
2622         (__gcov_init): Do not update program's crc here.
2624 2011-12-21  Tristan Gingold  <gingold@adacore.com>
2626         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
2628 2011-12-21  Ian Lance Taylor  <iant@google.com>
2630         * config/i386/morestack.S: Simplify CFI opcodes throughout.
2632 2011-12-20  Ian Lance Taylor  <iant@google.com>
2634         * config/i386/morestack.S (__morestack_non_split): If there is
2635         enough stack space already, don't split.  Ask for more stack space
2636         than we required.
2638 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
2640         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
2641         `sys/sdt.h'.
2642         (_Unwind_DebugHook): New function.
2643         (uw_restore_core_regs): New define.
2644         (unwind_phase2): Use uw_restore_core_regs instead of
2645         restore_core_regs.
2646         (unwind_phase2_forced): Likewise.
2647         (__gnu_Unwind_Resume): Likewise.
2649 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
2651         * config/alpha/linux-unwind.h: Update copyright years.
2652         (MD_FROB_UPDATE_CONTEXT): New define.
2653         (alpha_frob_update_context): New function.
2655 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
2657         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
2658         tmake_file rather replacing it.
2660 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
2662         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
2663         function is not used for PPC64.
2664         (save_world): Amend comments.  Update the VRsave mask to reflect the
2665         saved regs.
2666         (rest_world): Update comments, do not  clobber r10, do not use r8.
2667         (eh_rest_world_r10): Amend comments, do not use r8.
2668         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
2669         no longer used, move restore of CR and target address to the end of
2670         the routine.
2672 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
2674         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
2675         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
2677 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
2679         PR target/49313
2680         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
2681         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
2683 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
2685         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
2687 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
2689         PR target/49313
2690         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
2691         * config/avr/lib1funcs.S (__muldi3): New function.
2693 2011-12-06  Andrew Pinski  <apinski@cavium.com>
2695         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
2696         size of func_ptr.
2697         (__frame_dummy_init_array_entry): Likewise.
2699 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
2701         Forward-port from gcc-4_6-branch r181936 2011-12-02.
2703         PR target/51345
2704         PR target/51002
2705         * config/avr/lib1funcs.S (__prologue_saves__,
2706         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
2707         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
2709 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
2711         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
2713 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2715         PR other/51272
2716         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
2717         (_ITM_deregisterTMCloneTable): Likewise.
2718         (__register_frame_info): Fix unused warning.
2719         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
2720         pthread_default_stacksize_np): Likewise.
2721         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
2723 2011-11-29  DJ Delorie  <dj@redhat.com>
2725         * config.host (rl78-*-elf): New case.
2726         * config/rl78: New directory for the Renesas RL78.
2728 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
2730         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
2731         formatting.
2733 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2735         PR other/51022
2736         * config/rs6000/t-savresfgpr: New file.
2737         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
2738         $(srcdir)/config/rs6000/eabi.S.
2739         * config/rs6000/t-ppccomm-ldbl: Remove.
2740         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
2741         tmake_file.
2742         (powerpc-*-eabispe*): Likewise.
2743         (powerpc-*-eabi*): Likewise.
2744         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2745         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
2746         to tmake_file, remove rs6000/t-ppccomm-ldbl.
2747         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
2748         tmake_file.
2749         (powerpc-*-eabisim*): Likewise.
2750         (powerpc-*-elf*): Likewise.
2751         (powerpc-*-eabialtivec*): Likewise.
2752         (powerpc-xilinx-eabi*): Likewise.
2753         (powerpc-*-rtems*): Likewise.
2754         (powerpcle-*-elf*): Likewise.
2755         (powerpcle-*-eabisim*): Likewise.
2756         (powerpcle-*-eabi*): Likewise.
2758 2011-11-27  Ian Lance Taylor  <iant@google.com>
2760         * generic-morestack.c (__splitstack_find): Check for NULL old
2761         stack value.
2762         (__splitstack_resetcontext): New function.
2763         (__splitstack_releasecontext): New function.
2764         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
2766 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
2768         * config/darwin-crt-tm.c: Correct comments, use correct licence.
2770 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
2772         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
2774 2011-11-26  Richard Henderson  <rth@redhat.com>
2776         * config/m68k/linux-atomic.c: New file.
2777         * config/m68k/t-linux: New file.
2778         * config.host (m68k-uclinux, m68k-linux): Use it.
2780 2011-11-26  Richard Henderson  <rth@redhat.com>
2782         * crtstuff.c (__TMC_LIST__): Mark used not unused.
2783         (__TMC_END__): Only declare if hidden is available; in the definition,
2784         if hidden is unavailable add a null record.
2785         (deregister_tm_clones, register_tm_clones): New.
2786         (__do_global_dtors_aux, frame_dummy): Use them.
2787         (__do_global_dtors, __do_global_ctors_1): Likewise.
2789 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
2791         * config/darwin-crt-tm.c: New file.
2792         * config.host (darwin): Build crttms.o crttme.o to provide
2793         startup and shutdown for tm clones.
2794         * config/t-darwin (crttms.o): New build rule.
2795         (crttme.o): Likewise.
2797 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
2799         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
2800         et al.
2802 2011-11-21  Richard Henderson  <rth@redhat.com>
2804         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
2805         (__TMC_LIST__, __TMC_END__): New.
2806         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
2807         (__do_global_dtors): Likewise.
2808         (frame_dummy): Call _ITM_registerTMCloneTable.
2809         (__do_global_ctors_1): Likewise.
2811 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2813         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
2814         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2815         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
2816         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
2817         * config/i386/t-darwin64: Remove.
2818         * config/sh/t-netbsd (LIB2ADD): Remove.
2820 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
2822         PR target/49313
2823         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
2824         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
2825         * config/avr/lib1funcs.S (wmov): New assembler macro.
2826         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
2827         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
2828         (__udivmod64): New function.
2829         (__negdi2): New function.
2831 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
2833         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
2834         *-*-freebsd*aout*): Remove.
2836 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
2838         * static-object.mk (c_flags-$o): Save c_flags.
2839         ($(base)$(objext)): Use it.
2841 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
2843         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
2845 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
2847         PR target/49868
2848         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
2849         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
2850         New functions.
2852 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
2854         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
2855         functions.
2856         (aeabi_uidivmod): Likewise.
2857         (umodsi3): Likewise.
2858         (divsi3): Likewise.
2859         (aeabi_idivmod): Likewise.
2860         (modsi3): Likewise.
2862 2011-11-16  Tristan Gingold  <gingold@adacore.com>
2864         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
2866 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
2868         PR target/49868
2869         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
2870         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
2872 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2874         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
2875         tmake_file list.
2876         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
2877         * config/pa/t-stublib64: Delete.
2879 2011-11-12  Richard Henderson  <rth@redhat.com>
2881         * config/rs6000/linux-unwind.h (frob_update_context): Properly
2882         cast the pointer argument to _Unwind_SetGRPtr.
2884 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2886         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
2888 2011-11-09  Ian Lance Taylor  <iant@google.com>
2890         * generic-morestack.c: Include <string.h>.
2891         (uintptr_type): Define.
2892         (struct initial_sp): Add dont_block_signals field.  Reduce size of
2893         extra array by 1.
2894         (allocate_segment): Set prev field to NULL.  Don't set
2895         __morestack_current_segment or __morestack_segments.
2896         (__generic_morestack): Update current->prev and *pp after calling
2897         allocate_segment.
2898         (__morestack_block_signals): Don't do anything if
2899         dont_block_signals is set.
2900         (__morestack_unblock_signals): Likewise.
2901         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
2902         uintptr_type.
2903         (__splitstack_block_signals): New function.
2904         (enum __splitstack_content_offsets): Define.
2905         (__splitstack_getcontext, __splitstack_setcontext): New functions.
2906         (__splitstack_makecontext): New function.
2907         (__splitstack_block_signals_context): New function.
2908         (__splitstack_find_context): New function.
2909         * config/i386/morestack.S (__morestack_get_guard): New function.
2910         (__morestack_set_guard, __morestack_make_guard): New functions.
2911         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
2913 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2915         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
2916         (i[34567]86-*-mingw*): ... here.
2917         (x86_64-*-mingw*): ... here.
2919 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2921         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
2923 2011-11-07  Nathan Sidwell  <nathan@acm.org>
2925         * libgcov.c (struct gcov_fn_buffer): New struct.
2926         (buffer_fn_data): New helper.
2927         (gcov_exit): Rework for new gcov data structures.
2929 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
2931         PR target/49313
2932         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
2934 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2936         * config.host (tmake_file): Correct comment.
2937         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
2938         t-libgcc-pic.
2939         (bfin*-uclinux*): Likewise.
2940         (bfin*-linux-uclibc*): Likewise.
2941         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
2943         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
2944         assigning.
2945         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2946         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
2947         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2948         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
2949         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2950         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
2951         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
2952         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2953         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
2954         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
2955         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
2956         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
2957         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
2959         * config/bfin/t-elf: Remove.
2960         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
2962 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2964         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
2965         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
2966         (lm32-*-elf*, lm32-*-rtems*): Split into ...
2967         (lm32-*-elf*): ... this.
2968         (lm32-*-rtems*): ... and this.
2969         Add to tmake_file.
2970         (m32r-*-rtems*): Add to tmake_file.
2971         (moxie-*-rtems*): Likewise.
2972         (sparc-*-rtems*): Likewise.
2973         Remove t-rtems from tmake_file.
2974         (sparc64-*-rtems*): Likewise.
2975         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
2976         instead.
2978 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2980         PR bootstrap/50982
2981         * config/gthr-posix.h: Move ...
2982         * gthr-posix.h: ... here.
2983         * config/gthr-lynx.h: Reflect this.
2984         * config/gthr-vxworks.h: Likewise.
2985         * config/rs6000/gthr-aix.h: Likewise.
2986         * configure.ac (target_thread_file): Likewise.
2987         * configure: Regenerate.
2989 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2991         * config.host (arm*-*-rtemseabi*): New target.
2993 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2995         PR other/50991
2996         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
2997         extra-parts.
2999 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
3001         * config.host (epiphany-*-elf*): New configuration.
3002         * config/epiphany: New Directory.
3004 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
3006         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
3007         * config/avr/t-rtems: New.
3008         Filter out _exit from LIB1ASMFUNCS.
3010 2011-11-04  David S. Miller  <davem@davemloft.net>
3012         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
3013         * configure: Rebuild.
3015 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3017         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
3018         variable.
3020 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
3022         PR target/50931
3023         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
3024         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
3026 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
3028         PR target/50989
3029         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
3031 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3033         * config/c6x/t-elf (LIB2ADDEH): Set.
3034         * config/c6x/t-c6x-elf: Remove.
3036 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3038         * config/i386/sol2-ci.S: Rename to ...
3039         * config/i386/crti.S: ... this.
3040         * config/i386/sol2-cn.S: Rename to ...
3041         * config/i386/crtn.S: ... this.
3042         * config/sparc/sol2-ci.S: Rename to ...
3043         * config/sparc/crti.S: ... this.
3044         * config/sparc/sol2-cn.S: Rename to ...
3045         * config/sparc/crtn.S: ... this.
3046         * config/t-sol2 (CUSTOM_CRTIN): Remove.
3047         (crti.o, crtn.o): Remove.
3049 2011-11-04  Tristan Gingold  <gingold@adacore.com>
3051         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
3053 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
3055         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
3057 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
3059         * config.host (crisv32-*-none, cris-*-none): Remove.
3060         (crisv32-*-elf): Append to tmake_file, don't just set it.
3061         (cris-*-elf): Add missing t-fdpbit to tmake_file.
3063 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3065         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
3066         (ecrtn$(objext)): Likewise.
3067         (ncrti$(objext)): Likewise.
3068         (ncrtn$(objext)): Likewise.
3070 2011-11-03  Andreas Schwab  <schwab@redhat.com>
3072         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
3074 2011-11-02  David S. Miller  <davem@davemloft.net>
3076         * configure.ac: Set host_address on sparc too.
3077         * configure: Regenerate.
3078         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
3079         based upon host_address.
3080         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
3082 2011-11-02  Jason Merrill  <jason@redhat.com>
3084         * config/rs6000/t-ppccomm: Add missing \.
3086 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3088         * gthr-single.h, gthr.h: New files.
3089         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
3090         config/gthr-vxworks.h, config/i386/gthr-win32.h,
3091         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
3092         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
3093         * config/i386/gthr-win32.c: Include "gthr-win32.h".
3094         * configure.ac (thread_header): New variable.
3095         Set it depending on target_thread_file.
3096         (gthr-default.h): Link from $thread_header.
3097         * configure: Regenerate.
3098         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
3100 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3102         * configure.ac (tm_file_): New variable.
3103         Determine from tm_file.
3104         (tm_file, tm_defines): Substitute.
3105         * configure: Regenerate.
3106         * mkheader.sh: New file.
3107         * Makefile.in (clean): Remove libgcc_tm.h.
3108         ($(objects)): Depend on libgcc_tm.h.
3109         (libgcc_tm_defines, libgcc_tm_file): New variables.
3110         (libgcc_tm.h, libgcc_tm.stamp): New targets.
3111         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
3112         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
3113         ($(extra-parts)): Depend on libgcc_tm.h.
3114         * config.host (tm_defines, tm_file): New variable.
3115         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
3116         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
3117         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
3118         (avr-*-rtems*): Likewise.
3119         (avr-*-*): Likewise.
3120         (frv-*-elf): Likewise.
3121         (frv-*-*linux*): Likewise.
3122         (h8300-*-rtems*): Likewise.
3123         (h8300-*-elf*): Likewise.
3124         (i[34567]86-*-darwin*): Likewise.
3125         (x86_64-*-darwin*): Likewise.
3126         (rx-*-elf): Likewise.
3127         (tic6x-*-uclinux): Likewise.
3128         (tic6x-*-elf): Likewise.
3129         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
3130         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
3131         * config/i386/cygming-crtbegin.c: Likewise.
3132         * config/i386/cygming-crtend.c: Likewise.
3133         * config/ia64/fde-vms.c: Likewise.
3134         * config/ia64/unwind-ia64.c: Likewise.
3135         * config/libbid/bid_gcc_intrinsics.h: Likewise.
3136         * config/rs6000/darwin-fallback.c: Likewise.
3137         * config/stormy16/lib2funcs.c: Likewise.
3138         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
3139         * crtstuff.c: Likewise.
3140         * dfp-bit.h: Likewise.
3141         * emutls.c: Likewise.
3142         * fixed-bit.c: Likewise.
3143         * fp-bit.c: Likewise.
3144         * generic-morestack-thread.c: Likewise.
3145         * generic-morestack.c: Likewise.
3146         * libgcc2.c: Likewise.
3147         * libgcov.c: Likewise.
3148         * unwind-dw2-fde-dip.c: Likewise.
3149         * unwind-dw2-fde.c: Likewise.
3150         * unwind-dw2.c: Likewise.
3151         * unwind-sjlj.c: Likewise.
3153 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3155         * configure.ac: Include ../config/picflag.m4.
3156         (GCC_PICFLAG): Call it.
3157         Substitute.
3158         * configure: Regenerate.
3159         * Makefile.in (gcc_srcdir): Remove.
3160         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
3161         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
3162         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
3163         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
3164         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
3165         Use $<.
3166         Remove comment.
3167         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
3168         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
3169         to refer to libgcc2.c.
3170         Use $<.
3171         * config/darwin-64.c: New file.
3172         * config/darwin-crt3.c: Remove comment.
3173         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
3174         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
3175         config/udivmodsi4.c: New files.
3176         * config/memcmp.c, config/memcpy.c, config/memmove.c,
3177         config/memset.c: New files.
3178         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
3179         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
3180         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
3181         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
3182         * config/t-openbsd-thread: New file.
3183         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
3184         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
3185         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
3186         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
3187         qrnnd.S.
3188         Adapt filename.
3189         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
3190         to refer to gthr-posix.c.
3191         * config/alpha/t-vms (LIB2ADD): Set.
3192         * config/alpha/vms-gcc_shell_handler.c: New file.
3193         * config/arm/bpabi.c, config/arm/fp16.c,
3194         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
3195         config/arm/unaligned-funcs.c: New files.
3196         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
3197         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
3198         * config/arm/t-linux: Likewise.
3199         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
3200         * config/arm/t-netbsd: New file.
3201         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
3202         * config/arm/t-symbian (LIB2ADD_ST): Set.
3203         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
3204         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3205         * config/bfin/t-elf: New file.
3206         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
3207         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
3208         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
3209         config/c6x/ltf.c: New files.
3210         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
3211         (HOST_LIBGCC2_CFLAGS): Set.
3212         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
3213         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3214         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
3215         New files.
3216         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
3217         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
3218         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
3219         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
3220         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
3221         files.
3222         * config/frv/t-frv (LIB2ADD): Set.
3223         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3224         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
3225         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
3226         config/h8300/popcounthi2.c: New files.
3227         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
3228         * config/i386/gthr-win32.c: New file.
3229         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
3230         * config/i386/t-cygwin: Likewise.
3231         * config/i386/t-darwin, config/i386/t-darwin64,
3232         config/i386/t-gthr-win32, config/i386/t-interix: New files.
3233         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
3234         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3235         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3236         * config/ia64/quadlib.c: New file.
3237         * config/ia64/t-hpux (LIB2ADD): Set.
3238         * config/ia64/t-ia64: Add comment.
3239         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
3240         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3241         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
3242         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
3243         * config/m32c/t-m32c (LIB2ADD): Set.
3244         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
3245         * config/m32r/t-m32r: Likewise.
3246         * config/m68k/fpgnulib.c: New file.
3247         * config/m68k/t-floatlib (LIB2ADD): Set.
3248         (xfgnulib.c): New target.
3249         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
3250         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
3251         * config/mep/t-mep (LIB2ADD): Set.
3252         * config/microblaze/divsi3.asm: Rename to divsi3.S.
3253         * config/microblaze/moddi3.asm: Rename to moddi3.S.
3254         * config/microblaze/modsi3.asm: Rename to modsi3.S.
3255         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
3256         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
3257         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
3258         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
3259         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
3260         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
3261         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
3262         New files.
3263         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
3264         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
3265         * config/pa/fptr.c, config/pa/lib2funcs.S,
3266         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
3267         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
3268         (LIB2ADD, LIB2ADD_ST): Set.
3269         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
3270         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
3271         Set.
3272         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
3273         * config/pdp11/t-pdp11: New file.
3274         * config/picochip/libgccExtras/adddi3.S,
3275         config/picochip/libgccExtras/ashlsi3.S,
3276         config/picochip/libgccExtras/ashrsi3.S,
3277         config/picochip/libgccExtras/clzsi2.S,
3278         config/picochip/libgccExtras/cmpsi2.S,
3279         config/picochip/libgccExtras/divmod15.S,
3280         config/picochip/libgccExtras/divmodhi4.S,
3281         config/picochip/libgccExtras/divmodsi4.S,
3282         config/picochip/libgccExtras/lshrsi3.S,
3283         config/picochip/libgccExtras/parityhi2.S,
3284         config/picochip/libgccExtras/popcounthi2.S,
3285         config/picochip/libgccExtras/subdi3.S,
3286         config/picochip/libgccExtras/ucmpsi2.S,
3287         config/picochip/libgccExtras/udivmodhi4.S,
3288         config/picochip/libgccExtras/udivmodsi4.S: New files.
3289         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
3290         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
3291         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
3292         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
3293         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
3294         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
3295         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
3296         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
3297         files.
3298         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
3299         (HOST_LIBGCC2_CFLAGS): Set.
3300         * config/rs6000/t-darwin64: New file.
3301         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
3302         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
3303         * config/rs6000/t-ppccomm (LIB2ADD): Add
3304         $(srcdir)/config/rs6000/tramp.S.
3305         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
3306         Add  $(srcdir)/config/rs6000/eabi.S.
3307         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
3308         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
3309         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
3310         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
3311         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
3312         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
3313         * config/rs6000/tramp.S: New file.
3314         * config/s390/t-tpf: Remove.
3315         * config/sh/linux-atomic.S: New file.
3316         * config/sh/t-linux (LIB2ADD): Set.
3317         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
3318         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
3319         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
3320         to unwind-dw2.c.
3321         (HOST_LIBGCC2_CFLAGS): Set.
3322         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3323         * config/spu/divmodti4.c, config/spu/divv2df3.c,
3324         config/spu/float_disf.c, config/spu/float_unsdidf.c,
3325         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
3326         config/spu/mfc_multi_tag_release.c,
3327         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
3328         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
3329         config/spu/multi3.c: New files.
3330         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
3331         (HOST_LIBGCC2_CFLAGS): Set.
3332         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
3333         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
3334         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
3335         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
3336         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
3337         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
3338         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
3339         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
3340         config/stormy16/umodsi3.c: New files.
3341         * config/xtensa/lib2funcs.S: New file.
3342         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
3343         * config/xtensa/t-xtensa (LIB2ADD): Set.
3344         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
3345         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
3346         Add t-freebsd-thread to tmake_file for posix threads.
3347         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
3348         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
3349         (*-*-lynxos*): Likewise.
3350         (*-*-netbsd*): Likewise.
3351         (*-*-openbsd*): Likewise.
3352         Add t-openbsd-thread to tmake_file for posix threads.
3353         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
3354         (*-*-vxworks*): Set tmake_file.
3355         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
3356         (alpha*-*-freebsd*): Likewise.
3357         (alpha*-*-netbsd*): Likewise.
3358         (alpha*-*-openbsd*): Likewise.
3359         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
3360         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
3361         (alpha*-dec-*vms*): Likewise.
3362         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
3363         (bfin*-elf*): Add bfin/t-elf to tmake_file.
3364         (bfin*-uclinux*): Likewise.
3365         (bfin*-linux-uclibc*): Likewise.
3366         (crisv32-*-elf): Add cris/t-cris to tmake_file.
3367         (crisv32-*-none): Likewise.
3368         (cris-*-elf): Likewise.
3369         (cris-*-none): Likewise.
3370         (cris-*-linux*, crisv32-*-linux*): Likewise.
3371         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
3372         tmake_file.
3373         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
3374         tmake_file.
3375         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
3376         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
3377         (x86_64-*-elf*): Likewise.
3378         (i[34567]86-*-nto-qnx*): Likewise.
3379         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
3380         win32 threads.
3381         (x86_64-*-mingw*): Likewise.
3382         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
3383         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
3384         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
3385         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
3386         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
3387         tmake_file.
3388         (mipsisa64sr71k-*-elf*): Likewise.
3389         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
3390         (mips-*-elf*, mipsel-*-elf*): Likewise.
3391         (mips64-*-elf*, mips64el-*-elf*): Likewise.
3392         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
3393         (mips*-*-rtems*): Likewise.
3394         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
3395         to tmake_file.
3396         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
3397         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
3398         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
3399         (spu-*-elf*): Likewise.
3400         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
3402 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3404         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
3405         $(srcdir) to refer to $(LIB1ASMSRC).
3406         Use $<.
3407         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
3408         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
3409         config/arm/lib1funcs.S: New files.
3410         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
3411         * config/arm/t-arm: New file.
3412         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
3413         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
3414         config/arm/t-strongarm-elf: New files.
3415         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
3416         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
3417         * config/avr/lib1funcs.S: New file.
3418         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3419         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
3420         * config/c6x/lib1funcs.S: New file.
3421         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3422         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
3423         * config/frv/lib1funcs.S: New file.
3424         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3425         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
3426         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
3427         * config/ia64/__divxf3.asm: Rename to ...
3428         * config/ia64/__divxf3.S: ... this.
3429         Adapt lib1funcs.asm filename.
3430         * config/ia64/_fixtfdi.asm: Rename to ...
3431         * config/ia64/_fixtfdi.S: ... this.
3432         Adapt lib1funcs.asm filename.
3433         * config/ia64/_fixunstfdi.asm: Rename to ...
3434         * config/ia64/_fixunstfdi.S: ... this.
3435         Adapt lib1funcs.asm filename.
3436         * config/ia64/_floatditf.asm: Rename to ...
3437         * config/ia64/_floatditf.S: ... this.
3438         Adapt lib1funcs.asm filename.
3439         * config/ia64/lib1funcs.S: New file.
3440         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
3441         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3442         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
3443         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
3444         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
3445         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
3446         * config/mep/lib1funcs.S: New file.
3447         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3448         * config/mips/mips16.S: New file.
3449         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3450         * config/pa/milli64.S: New file.
3451         * config/pa/t-linux, config/pa/t-linux64: New files.
3452         * config/picochip/lib1funcs.S: New file.
3453         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3454         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
3455         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
3456         * config/sh/t-netbsd: New file.
3457         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
3458         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
3459         * config/sh/t-sh64: New file.
3460         * config/sparc/lb1spc.S: New file.
3461         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
3462         filename.
3463         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
3464         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
3465         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
3466         config/xtensa/lib1funcs.S: New files.
3467         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3468         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
3469         tmake_file.
3470         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
3471         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
3472         (arm*-*-linux*): Likewise.
3473         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
3474         arm*-*-linux-*eabi, add arm/t-linux otherwise.
3475         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
3476         (arm*-*-ecos-elf): Likewise.
3477         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
3478         (arm*-*-rtems*): Likewise.
3479         (arm*-*-elf): Likewise.
3480         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
3481         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
3482         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
3483         (bfin*-uclinux*): Likewise.
3484         (bfin*-linux-uclibc*): Likewise.
3485         (bfin*-rtems*): Likewise.
3486         (bfin*-*): Likewise.
3487         (fido-*-elf): Merge into m68k-*-elf*.
3488         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
3489         (frv-*-*linux*): Add frv/t-frv to tmake_file.
3490         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
3491         (h8300-*-elf*): Likewise.
3492         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
3493         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
3494         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
3495         (i[34567]86-*-mingw*): Likewise.
3496         (x86_64-*-mingw*): Likewise.
3497         (i[34567]86-*-interix3*): Likewise.
3498         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
3499         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
3500         (m68k-*-elf*): Also handle fido-*-elf.
3501         Add m68k/t-floatlib to tmake_file.
3502         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
3503         (m68k-*-linux*): Likewise.
3504         (m68k-*-rtems*): Likewise.
3505         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
3506         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
3507         sh64*-*-*.
3508         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
3509         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
3510         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
3511         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
3512         sh/t-netbsd to tmake_file.
3513         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
3514         (sh-*-rtems*): Add sh/t-sh to tmake_file.
3515         (sh-wrs-vxworks): Likewise.
3516         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
3517         *-leon[3-9]*.
3518         (v850*-*-*): Add v850/t-v850 to tmake_file.
3519         (vax-*-linux*): Add vax/t-linux to tmake_file.
3520         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
3522 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3524         * crtstuff.c: New file.
3525         * Makefile.in (CRTSTUFF_CFLAGS): Define.
3526         (CRTSTUFF_T_CFLAGS): Define.
3527         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
3528         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
3529         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
3530         crtstuff.c.
3531         Use $<.
3532         (crtbeginT.o): Use $(objext).
3533         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
3534         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
3535         (gcc-extra-parts): Remove.
3536         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
3537         Set extra_parts.
3538         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3539         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
3540         Add t-crtstuff-pic to tmake_file.
3541         (*-*-lynxos*): New case.
3542         Set tmake_file, extra_parts.
3543         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
3544         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
3545         *-*-netbsdelf[2-9]*.
3546         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
3547         (*-*-rtems*): Set extra_parts.
3548         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
3549         (*-*-uclinux*): New case.
3550         Set extra_parts.
3551         (*-*-vms*): New case.
3552         Set tmake_file, extra_parts.
3553         (*-*-elf): Set extra_parts.
3554         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
3555         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
3556         vms/t-vms64.
3557         Set extra_parts.
3558         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
3559         Set extra_parts.
3560         (arm*-*-freebsd*): Add t-crtin to tmake_file.
3561         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
3562         (arm-wrs-vxworks): Append to tmake_file.
3563         Set extra_parts.
3564         (arm*-*-uclinux*): Set extra_parts.
3565         (arm*-*-ecos-elf): Likewise.
3566         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
3567         arm*-*-eabi*.
3568         (arm*-*-rtems*): Set extra_parts.
3569         (arm*-*-elf): Likewise.
3570         (avr-*-rtems*): Clear extra_parts.
3571         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
3572         Set extra_parts.
3573         (bfin*-uclinux*): Likewise.
3574         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
3575         (bfin*-rtems*): Append to tmake_file.
3576         Set extra_parts.
3577         (bfin*-*): Likewise.
3578         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
3579         (crisv32-*-elf): ... this.
3580         (crisv32-*-none): ... this.
3581         (cris-*-elf, cris-*-none): New cases.
3582         Add cris/t-elfmulti to tmake_file.
3583         (fr30-*-elf): Append to tmake_file.
3584         Set extra_parts.
3585         (frv-*-elf): Append to tmake_file, add frv/t-frv.
3586         Set extra_parts.
3587         (h8300-*-rtems*): Append to tmake_file.
3588         Set extra_parts.
3589         (h8300-*-elf*): Likewise.
3590         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
3591         Set extra_parts.
3592         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
3593         Set extra_parts.
3594         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
3595         (x86_64-*-elf*): Likewise.
3596         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
3597         (x86_64-*-freebsd*): Likewise.
3598         (x86_64-*-netbsd*): Likewise.
3599         (i[34567]86-*-linux*): Likewise.
3600         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3601         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3602         (x86_64-*-linux*): Likewise.
3603         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3604         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
3605         tmake_file.
3606         Set extra_parts.
3607         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
3608         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
3609         Append to extra_parts, remove crtbegin.o, crtend.o.
3610         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
3611         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
3612         crtend.o, crtbeginS.o, crtendS.o.
3613         (ia64*-*-linux*): Comment extra_parts.
3614         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
3615         Set extra_parts.
3616         (iq2000*-*-elf*): Clear extra_parts.
3617         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
3618         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
3619         (m32r-*-elf*, m32r-*-rtems*): Split off ...
3620         (m32r-*-rtems*): ... this.
3621         Add m32r/t-m32r to tmake_file.
3622         (m68k-*-elf*): Add t-crtin to tmake_file.
3623         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
3624         (mcore-*-elf): Likewise.
3625         (microblaze*-*-*): Set extra_parts.
3626         (mips*-sde-elf*): New case.
3627         Set tmake_file, extra_parts.
3628         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
3629         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
3630         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
3631         tmake_file.
3632         Set extra_parts.
3633         (mipsisa64sr71k-*-elf*): Likewise.
3634         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
3635         (mips-*-elf*, mipsel-*-elf*): Likewise.
3636         (mips64-*-elf*, mips64el-*-elf*): Likewise.
3637         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
3638         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
3639         (mips*-*-rtems*): Likewise.
3640         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
3641         (moxie-*-*): Split into ...
3642         (moxie-*-elf, moxie-*-uclinux*): ... this.
3643         Add to extra_parts, remove crtbegin.o, crtend.o.
3644         (moxie-*-rtems*): New case.
3645         Set tmake_file.
3646         Clear extra_parts.
3647         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
3648         Set extra_parts.
3649         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
3650         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
3651         tmake_file.
3652         Set extra_parts.
3653         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
3654         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
3655         Set extra_parts.
3656         (powerpc-*-eabisim*): Likewise.
3657         (powerpc-*-elf*): Likewise.
3658         (powerpc-*-eabialtivec*): Likewise.
3659         (powerpc-xilinx-eabi*): Likewise.
3660         (powerpc-*-eabi*): Likewise.
3661         (powerpc-*-rtems*): Likewise.
3662         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
3663         tmake_file.
3664         Set extra_parts.
3665         (powerpc-*-lynxos*): Add to tmake_file.
3666         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
3667         rs6000/t-crtstuff, t-crtstuff-pic.
3668         Set extra_parts.
3669         (powerpcle-*-eabisim*): Likewise.
3670         (powerpcle-*-eabi*): Likewise.
3671         (rx-*-elf): Remove extra_parts.
3672         (s390x-ibm-tpf*): Set extra_parts.
3673         (score-*-elf): Set extra_parts.
3674         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3675         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3676         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3677         (sh64l*-*-netbsd*): Split into ...
3678         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
3679         Add t-crtstuff-pic to tmake_file.
3680         Set extra_parts.
3681         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
3682         Set extra_parts.
3683         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
3684         (sparc-*-elf*): Remove t-crtin from tmake_file.
3685         Add to extra_parts, remove crtbegin.o, crtend.o.
3686         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
3687         (sparc64-*-linux*): Likewise.
3688         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
3689         Add to extra_parts, remove crtbegin.o, crtend.o.
3690         (sparc64-*-elf*): Remove t-crtin from tmake_file.
3691         Add to extra_parts, remove crtbegin.o, crtend.o.
3692         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
3693         Add to extra_parts, remove crtbegin.o, crtend.o.
3694         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
3695         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
3696         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
3697         Set extra_parts.
3698         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
3699         Set extra_parts.
3700         (tic6x-*-*): Change to ...
3701         (tic6x-*-elf): ... this.
3702         Set extra_parts.
3703         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
3704         Set extra_parts.
3705         (am33_2.0-*-linux*): Add comment.
3706         (mep*-*-*): Add mep/t-mep to tmake_file.
3707         Set extra_parts.
3708         * config/alpha/t-vms: New file.
3709         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
3710         * config/arm/crti.S, config/arm/crtn.S: New files.
3711         * config/bfin/crti.S, config/bfin/crtn.S: New files.
3712         * config/bfin/crtlibid.S: New file.
3713         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
3714         * config/c6x/crti.S, config/c6x/crtn.S: New files.
3715         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
3716         (crti.o, crtin.o): New rules.
3717         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
3718         * config/c6x/t-uclinux: New file.
3719         * config/cris/t-elfmulti: New file.
3720         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
3721         * config/fr30/crti.S, config/fr30/crtn.S: New files.
3722         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
3723         * config/frv/t-frv: New file.
3724         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
3725         * config/h8300/crti.S, config/h8300/crtn.S: New files.
3726         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
3727         New files.
3728         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
3729         refer to cygming-crtbegin.c, cygming-crtend.c.
3730         Use $<.
3731         * config/i386/t-nto: New file.
3732         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
3733         * config/ia64/crti.S, config/ia64/crtn.S: New files.
3734         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
3735         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
3736         Use .S extension.
3737         Use $<.
3738         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
3739         (crtinitS.o): New rule.
3740         * config/ia64/vms-crtinit.S: New file.
3741         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
3742         * config/m32r/initfini.c: New file.
3743         * config/m32r/t-linux, config/m32r/t-m32r: New files.
3744         * config/m68k/crti.S, config/m68k/crtn.S: New files.
3745         * config/mcore/crti.S, config/mcore/crtn.S: New files.
3746         * config/mep/t-mep: New file.
3747         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
3748         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
3749         * config/mips/crti.S, config/mips/crtn.S: New files.
3750         * config/mips/t-crtstuff: New file.
3751         * config/mmix/crti.S, config/mmix/crtn.S: New files.
3752         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
3753         (CUSTOM_CRTIN): Set.
3754         ($(T)crti.o, $(T)crtn.o): Remove $(T),
3755         dependencies.
3756         Use $(srcdir) to refer to crti.S, crtn.S.
3757         Use .S extension, $<.
3758         * config/moxie/crti.asm: Rename to ...
3759         * config/moxie/crti.S: ... this.
3760         * config/moxie/crtn.asm: Rename to ...
3761         * config/moxie/crtn.S: ... this.
3762         * config/moxie/t-moxie: Remove.
3763         * config/pa/stublib.c: New file.
3764         * config/pa/t-stublib, config/pa/t-stublib64: New files.
3765         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
3766         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
3767         * config/rs6000/t-crtstuff: New file.
3768         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
3769         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
3770         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
3771         Make output file explicit.
3772         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
3773         Make output file explicit.
3774         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
3775         Make output file explicit.
3776         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
3777         Make output file explicit.
3778         * config/score/crti.S, config/score/crtn.S: New files.
3779         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
3780         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
3781         files.
3782         * config/sh/t-sh, config/sh/t-superh: New files.
3783         * config/sparc/t-linux64: New file.
3784         * config/spu/cache.S, config/spu/cachemgr.c: New files.
3785         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
3786         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
3787         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
3788         * config/t-crtin: Remove.
3789         * config/t-crtstuff-pic: New file.
3790         * config/t-sol2 (CUSTOM_CRTIN): Set.
3791         (crti.o, crtn.o): New rules.
3792         * config/vms/t-vms: New file.
3793         * config/vms/vms-ucrt0.c: New file.
3794         * config/xtensa/t-elf: New file.
3796 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3798         * Makefile.in (SHLIB_NM_FLAGS): Set.
3799         * mkmap-flat.awk, mkmap-symver.awk: New files.
3800         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
3801         exceptions.
3802         * configure: Regenerate.
3803         * config/libgcc-glibc.ver: New file.
3804         * config/libgcc-libsystem.ver: New file.
3805         * config/t-libunwind (SHLIB_LC): Set.
3806         * config/t-linux: New file.
3807         * config/t-slibgcc (INSTALL_SHLIB): New.
3808         (SHLIB_INSTALL): Use it.
3809         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
3810         to mkmap-symver.awk.
3811         (SHLIB_MAPFILES): Don't append, adapt pathname.
3812         (SHLIB_VERPFX): Set.
3813         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
3814         to mkmap-symver.awk.
3815         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
3816         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
3817         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
3818         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
3819         to mkmap-flat.awk.
3820         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
3821         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
3822         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
3823         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
3824         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
3825         * config/i386/libgcc-darwin.10.4.ver,
3826         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
3827         New files.
3828         * config/i386/t-darwin: Remove.
3829         * config/i386/t-darwin64: Likewise.
3830         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
3831         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
3832         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
3833         * config/i386/t-linux: New file.
3834         * config/i386/t-mingw32: New file.
3835         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
3836         * config/ia64/t-glibc: Rename to ...
3837         * config/ia64/t-linux: ... this.
3838         (SHLIB_MAPFILES): Set.
3839         * config/ia64/t-glibc-libunwind: Rename to ...
3840         * config/ia64/t-linux-libunwind: ... this.
3841         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
3842         * config/ia64/t-slibgcc-hpux: New file.
3843         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
3844         * config/m68k/t-slibgcc-elf-ver: New file.
3845         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
3846         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
3847         to mkmap-flat.awk.
3848         * config/pa/t-slibgcc-hpux: New file.
3849         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
3850         files.
3851         * config/rs6000/libgcc-darwin.10.4.ver,
3852         config/rs6000/libgcc-darwin.10.5.ver: New files.
3853         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
3854         config/rs6000/libgcc-glibc.ver.
3855         * config/rs6000/libgcc-ppc64.ver: Rename to
3856         config/rs6000/libgcc-ibm-ldouble.ver.
3857         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
3858         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
3859         * config/rs6000/t-ldbl128: Rename to ...
3860         * config/rs6000/t-linux: ... this.
3861         (SHLIB_MAPFILES): Adapt filename.
3862         * config/rs6000/t-slibgcc-aix: New file.
3863         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
3864         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
3865         libgcc-excl.ver, libgcc-glibc.ver.
3866         (SHLIB_LINK, SHLIB_INSTALL): Remove.
3867         * config/sparc/libgcc-glibc.ver: New file.
3868         * config/sparc/t-linux: New file.
3869         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
3870         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
3871         t-slibgcc-elf-ver to tmake_file.
3872         Add t-slibgcc-nolc-override to tmake_file for posix threads on
3873         *-*-freebsd[34].
3874         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3875         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
3876         t-slibgcc-elf-ver, t-linux to tmake_file.
3877         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
3878         tmake_file.
3879         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
3880         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
3881         (alpha*-dec-*vms*): Likewise.
3882         (arm*-*-freebsd*): Append to tmake_file.
3883         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
3884         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
3885         arm*-*-linux-*eabi.
3886         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
3887         tmake_file for arm*-*-symbianelf*.
3888         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
3889         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
3890         cris/t-linux.
3891         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
3892         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
3893         pa/t-slibgcc-dwarf-ver to tmake_file.
3894         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
3895         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
3896         (hppa*64*-*-hpux11*): Likewise.
3897         (hppa[12]*-*-hpux11*): Likewise.
3898         (x86_64-*-darwin*): Don't override tmake_file, but only keep
3899         i386/t-crtpc, i386/t-crtfm.
3900         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
3901         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
3902         to tmake_file.
3903         Add i386/t-cygwin to tmake_file.
3904         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
3905         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
3906         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
3907         to tmake_file.
3908         Add i386/t-mingw32 to tmake_file.
3909         (x86_64-*-mingw*): Likewise.
3910         (ia64*-*-freebsd*): Append to tmake_file.
3911         (ia64*-*-linux*): Append to tmake_file.
3912         Replace ia64/t-glibc by ia64/t-linux.
3913         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
3914         system libunwind.
3915         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
3916         t-slibgcc-hpux to tmake_file.
3917         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
3918         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
3919         (m32rle-*-linux*): Likewise.
3920         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
3921         sjlj exceptions.
3922         (microblaze*-linux*): New case.
3923         Append to tmake_file, add t-slibgcc-nolc-override.
3924         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
3925         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3926         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
3927         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3928         rs6000/t-slibgcc-aix to tmake_file.
3929         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3930         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3931         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3932         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3933         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3934         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
3935         sh*-*-linux*.
3936         (sparc-*-linux*): Append to tmake_file for *-leon*.
3937         Add sparc/t-linux to tmake_file for non-Leon targets.
3938         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
3939         (tic6x-*-uclinux): New case.
3940         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
3941         (tic6x-*-*): Add c6x/t-elf to tmake_file.
3942         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
3943         (am33_2.0-*-linux*): Append to tmake_file.
3944         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3945         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
3946         x86_64-*-kfreebsd*-gnu.
3947         Add i386/t-linux to tmake_file.
3949 2011-10-28  Ian Lance Taylor  <iant@google.com>
3951         * config/i386/morestack.S: Correct CFI information to do proper
3952         returns throughout function.  In 32-bit mode, save %ebx so that it
3953         is restored on unwind.
3955 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
3957         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
3958         case where B3 isn't the return register.
3960         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
3961         logic for doubleword pops.
3963 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
3965         * config/rs6000/t-freebsd: Add wildcard.
3967 2011-10-21  Paul Brook  <paul@codesourcery.com>
3969         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
3971 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
3972             Eric Botcazou  <ebotcazou@adacore.com>
3974         PR target/50737
3975         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
3976         fs->signal_frame to 1.
3978 2011-10-07  Ian Lance Taylor  <iant@google.com>
3980         * generic-morestack-thread.c: #include <errno.h>.
3982 2011-10-07  Ian Lance Taylor  <iant@google.com>
3984         PR target/46093
3985         * generic-morestack.c (__generic_morestack): Make sure the segment
3986         is large enough for both the stack frame and the copied
3987         parameters.
3989 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3991         PR bootstrap/49804
3992         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
3993         extra_parts.
3995 2011-09-28  Nick Clifton  <nickc@redhat.com>
3997         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
3998         64-bit doubles are not enabled.
3999         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
4000         and floatunsisf functions.
4002 2011-09-13  Paul Brook  <paul@codesourcery.com>
4004         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
4005         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
4006         * unwind-arm-common.inc: New file.
4007         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
4008         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
4009         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
4010         * config/c6x/libunwind.S: New file.
4011         * config/c6x/pr-support.c: New file.
4012         * config/c6x/unwind-c6x.c: New file.
4013         * config/c6x/unwind-c6x.h: New file.
4014         * config/c6x/t-c6x-elf: New file.
4016 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
4018         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
4019         (ASM_DIVZERO): Ditto.
4020         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
4022 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
4024         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
4026 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
4028         PR target/50090
4029         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
4030         instead of an assembly one.
4032 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
4034         PR bootstrap/50047
4035         * Makefile.in (install-unwind_h): Create
4036         $(gcc_objdir)/include/unwind.h atomically.
4038 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4040         * Makefile.in (install-unwind_h): Remove destination file first.
4042 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4044         * sync.c: New file.
4045         * config/mips/t-mips16: New file.
4046         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
4047         (mips*-*-linux*): Likewise.
4048         (mips*-sde-elf*): Likewise.
4049         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
4050         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
4051         Add mips/t-mips16 to tmake_file.
4052         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
4053         (mips-*-elf*): Likewise.
4054         (mips64-*-elf*): Likewise.
4055         (mips64orion-*-elf*): Likewise.
4056         (mips*-*-rtems*): Likewise.
4057         (mipstx39-*-elf*): Likewise.
4058         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
4059         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
4060         LIBGCC_SYNC_CFLAGS.
4061         Use $(srcdir) to refer to sync.c.
4062         Use $<.
4063         ($(libgcc-sync-funcs-o)): Likewise.
4064         ($(libgcc-sync-size-funcs-s-o)): Likewise.
4065         ($(libgcc-sync-funcs-s-o)): Likewise.
4067 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
4069         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
4070         t-libunwind.
4072 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
4074         PR other/48007
4075         * config/i386/value-unwind.h: New.
4077 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
4079         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
4080         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
4081         Add to tmake_file rather than overriding it.
4083 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4085         * config/t-softfp: Remove.
4086         * soft-fp: Moved from ../gcc/config.
4087         * soft-fp/README: Remove t-softfp reference.
4088         * soft-fp/t-softfp: Move to config/t-softfp.
4089         (softfp_machine_header): Remove.
4090         (softfp_file_list): Remove config subdir.
4091         (soft-fp-objects): New variable.
4092         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
4093         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
4094         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
4095         * config/t-softfp-excl: New file.
4096         * config/t-softfp-sfdf: New file.
4097         * config/t-softfp-tf: New file.
4098         * config/no-sfp-machine.h: New file.
4099         * config/arm/sfp-machine.h: New file.
4100         * config/arm/t-softfp: New file.
4101         * config/c6x/sfp-machine.h: New file.
4102         * config/i386/32/t-fprules-softfp: Rename to ...
4103         * config/i386/32/t-softfp: ... this.
4104         (tifunctions, LIB2ADD): Remove.
4105         (softfp_int_modes): Override.
4106         * config/i386/64/t-softfp-compat (tf-functions): Remove config
4107         subdir.
4108         * config/i386/64/eqtf2.c: Likewise.
4109         * config/i386/64/getf2.c: Likewise.
4110         * config/i386/64/letf2.c: Likewise.
4111         * config/ia64/sft-machine.h: New file.
4112         * config/ia64/t-fprules-softfp: Rename to ...
4113         * config/ia64/t-softfp: ... this.
4114         * config/lm32/sfp-machine.h: New file.
4115         * config/moxie/t-moxie-softfp: Remove.
4116         * config/rs6000/ibm-ldouble-format: New file.
4117         * config/rs6000/ibm-ldouble.c: New file.
4118         * config/rs6000/libgcc-ppc-glibc.ver: New file
4119         * config/rs6000/libgcc-ppc64.ver: New file
4120         * config/rs6000/sfp-machine.h: New file.
4121         * config/rs6000/t-freebsd: New file.
4122         * config/rs6000/t-ibm-ldouble: New file.
4123         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
4124         libgcc-ppc-glibc.ver.
4125         * config/rs6000/t-linux64: New file.
4126         * config/rs6000/t-ppccomm (LIB2ADD): Add
4127         $(srcdir)/config/rs6000/ibm-ldouble.c.
4128         * config/rs6000/t-ppccomm-ldbl: New file.
4129         * config/score/sfp-machine.h: New file.
4130         * config.host (sfp_machine_header): Explain.
4131         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
4132         t-softfp to tmake_file.
4133         (arm*-*-uclinux*): Likewise.
4134         (arm*-*-ecos-elf): Likewise.
4135         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
4136         (arm*-*-rtems*): Likewise.
4137         (arm*-*-elf): Likewise.
4138         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
4139         in tmake_file.
4140         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
4141         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
4142         (lm32-*-uclinux*): Likewise.
4143         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
4144         t-softfp-excl, t-softfp.
4145         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
4146         (powerpc64-*-darwin*): Likewise.
4147         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
4148         to tmake_file.
4149         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
4150         tmake_file.
4151         (powerpc-*-eabisim*): Likewise.
4152         (powerpc-*-elf*): Likewise.
4153         (powerpc-*-eabialtivec*): Likewise.
4154         (powerpc-xilinx-eabi*): Likewise.
4155         (powerpc-*-rtems*): Likewise.
4156         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
4157         t-softfp-excl, t-softfp to tmake_file.
4158         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
4159         rs6000/t-ppccomm-ldbl to tmake_file.
4160         (powerpcle-*-elf*): Likewise.
4161         (powerpcle-*-eabisim*): Likewise.
4162         (powerpcle-*-eabi*): Likewise.
4163         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
4164         rs6000/t-ibm-ldouble to tmake_file.
4165         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4166         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4167         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
4168         (tic6x-*-*): Likewise.
4169         (i[34567]86-*-darwin*, x86_64-*-darwin*,
4170         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
4171         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
4172         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
4173         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
4174         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
4175         t-softfp to tmake_file.
4176         * configure.ac (sfp_machine_header): Provide default if unset.
4177         Substitute.
4178         Link sfp-machine.h to config/$sfp_machine_header.
4179         * configure: Regenerate.
4181 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4183         * Makefile.in (double_type_size, long_double_type_size): Set.
4184         Remove $(fpbit-in-libgcc) support.
4185         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
4186         (fpbit-src): New variable.
4187         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
4188         Compile with -DFLOAT $(FPBIT_CFLAGS).
4189         Use $<.
4190         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
4191         Compile with $(FPBIT_CFLAGS).
4192         Use $<.
4193         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
4194         Compile with -DFLOAT $(TPBIT_CFLAGS).
4195         Use $<.
4196         * configure.ac (double_type_size, long_double_type_size):
4197         Determine and substitute.
4198         * configure: Regenerate.
4199         * fp-bit.c, fp-bit.h: New files.
4200         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
4201         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
4202         * config/mips/t-mips: New file.
4203         * config/mips/t-sdemtk: New file.
4204         * config/rs6000/ppc64-fp.c: New file.
4205         * config/rs6000/t-darwin (LIB2ADD): Add
4206         $(srcdir)/config/rs6000/ppc64-fp.c.
4207         * config/rs6000/t-ppc64-fp: New file.
4208         * config/rx/rx-lib.h: New file.
4209         * config/rx/t-rx (FPBIT): Set to true.
4210         ($(gcc_objdir)/fp-bit.c): Remove.
4211         (DPBIT): Set to true only with -m64bit-doubles.
4212         ($(gcc_objdir)/dp-bit.c): Remove.
4213         * config/sparc/t-softfp: Remove.
4214         * config/spu/t-elf: New file.
4215         * config/t-fdpbit, config/t-fpbit: New files.
4216         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
4217         (mips*-*-*): Likewise.
4218         (arm-wrs-vxworks): Likewise.
4219         (arm*-*-freebsd*): Likewise.
4220         (avr-*-rtems*): Add t-fpbit to tmake_file.
4221         (avr-*-*): Likewise.
4222         (bfin*-elf*): Add t-fdpbit to tmake_file.
4223         (bfin*-uclinux*): Likewise.
4224         (bfin*-linux-uclibc*): Likewise.
4225         (bfin*-rtems*): New case.
4226         Add t-fdpbit to tmake_file.
4227         (bfin*-*): Add t-fdpbit to tmake_file.
4228         (crisv32-*-elf): Likewise.
4229         (cris-*-linux*): Likewise.
4230         (fr30-*-elf): Likewise.
4231         (frv-*-elf, frv-*-*linux*): Likewise.
4232         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
4233         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
4234         (m32r-*-elf*): Likewise.
4235         (m32rle-*-elf*): Likewise.
4236         (m32r-*-linux*): Likewise.
4237         (m32rle-*-linux*): Likewise.
4238         (mcore-*-elf): Add t-fdpbit to tmake_file.
4239         (microblaze*-*-*): Likewise.
4240         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
4241         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
4242         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
4243         Fix typo.
4244         Add mips/t-tpbit to tmake-file.
4245         (mips*-*-linux*): Fix typo.
4246         (mips*-sde-elf*): New case
4247         Add mips/t-sdemtk unless using newlib.
4248         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
4249         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
4250         (mn10300-*-*): Likewise.
4251         (pdp11-*-*): Likewise.
4252         (picochip-*-*): Add t-fpbit to tmake_file.
4253         (powerpc-*-eabisimaltivec*): Likewise.
4254         (powerpc-*-eabisim*): Likewise.
4255         (powerpc-*-elf*): Likewise.
4256         (powerpc-*-eabialtivec*): Likewise.
4257         (powerpc-xilinx-eabi*): New case.
4258         Add t-fdpbit to tmake_file.
4259         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
4260         (powerpc-*-rtems*): Likewise.
4261         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
4262         tmake_file.
4263         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
4264         tmake_file.
4265         (powerpc-*-lynxos*): Likewise.
4266         (powerpcle-*-elf*): Likewise.
4267         (powerpcle-*-eabisim*): Likewise.
4268         (powerpcle-*-eabi*): Likewise.
4269         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
4270         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
4271         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4272         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4273         (rx-*-elf): Add t-fdpbit to tmake_file.
4274         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
4275         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
4276         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
4277         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
4278         sh*-*-netbsd*.
4279         (sh-*-rtems*): Add t-fdpbit to tmake_file.
4280         (sh-wrs-vxworks): Likewise.
4281         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
4282         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
4283         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
4284         (sparc64-*-rtems*): ... new case.
4285         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
4286         (spu-*-elf*): Likewise.
4287         Add spu/t-elf to tmake_file.
4288         (v850*-*-*): Add t-fdpbit to tmake_file.
4289         (xstormy16-*-elf): Likewise.
4290         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
4291         (mep*-*-*): Likewise.
4293 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4295         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
4296         variables.
4297         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
4298         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
4299         (install-unwind_h): New target.
4300         (all): Depend on it.
4301         * config.host (unwind_header): New variable.
4302         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
4303         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
4304         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
4305         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
4306         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
4307         Set unwind_header.
4308         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
4309         Set unwind_header.
4310         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
4311         arm*-*-eabi*.
4312         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
4313         Set unwind_header.
4314         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
4315         (ia64*-*-freebsd*): Likewise.
4316         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
4317         tmake_file.
4318         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
4319         $with_system_libunwind.
4320         (ia64*-*-hpux*): Set tmake_file.
4321         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
4322         (picochip-*-*): Set tmake_file.
4323         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
4324         md_unwind_header.
4325         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4326         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4327         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
4328         (xtensa*-*-elf*): Set tmake_file.
4329         (xtensa*-*-linux*): Likewise.
4330         * configure.ac: Include ../config/unwind_ipinfo.m4.
4331         Call GCC_CHECK_UNWIND_GETIPINFO.
4332         Link unwind.h to $unwind_header.
4333         * configure: Regenerate.
4334         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
4335         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
4336         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
4337         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
4338         * config/unwind-dw2-fde-darwin.c: New file.
4339         * config/arm/libunwind.S, config/arm/pr-support.c,
4340         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
4341         config/arm/unwind-arm.h,: New files.
4342         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
4343         config/ia64/t-eh-ia64, config/ia64/t-glibc,
4344         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
4345         config/ia64/t-vms, config/ia64/unwind-ia64.c,
4346         config/ia64/unwind-ia64.h: New files.
4347         * config/picochip/t-picochip: New file.
4348         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
4349         files.
4350         * config/rs6000/t-darwin (LIB2ADDEH): Set.
4351         * config/s390/t-tpf (LIB2ADDEH): Remove.
4352         * config/t-darwin (LIB2ADDEH): Set.
4353         * config/t-eh-dw2-dip: New file.
4354         * config/t-libunwind, config/t-libunwind-elf: New files.
4355         * config/t-sol2 (LIB2ADDEH): Remove.
4356         * config/xtensa/t-xtensa: New file.
4358 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
4360         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
4361         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
4362         long long to check rt_sigreturn syscall.
4364 2011-08-02  Alan Modra  <amodra@gmail.com>
4366         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
4367         Restore for indirect call bcrtl from correct stack slot, and only
4368         if cfa+40 isn't valid.
4370 2011-08-01  Julian Brown  <julian@codesourcery.com>
4372         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
4373         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
4374         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
4376 2011-08-01  Julian Brown  <julian@codesourcery.com>
4378         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
4379         (libgcc-std.ver.in): Use above.
4380         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
4381         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
4382         throughout file.
4383         * config/t-fixedpoint-gnu-prefix: New file.
4384         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
4385         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
4386         instead of __PFX__.
4388 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
4390         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
4391         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
4392         for x86-64.  Properly check __x86_64__ and __LP64__.
4394 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
4396         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
4397         version.
4398         (_FP_WS_TYPE): Likewise.
4399         (_FP_I_TYPE): Likewise.
4401 2011-07-28  Alan Modra  <amodra@gmail.com>
4403         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
4404         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
4405         in a plt call stub.  Do restore r2 if stopped on bctrl.
4407 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4409         * config.host (i[3456x]86-*-netware*): Remove.
4410         * config/i386/netware-crt0.c, config/i386/t-nwld,
4411         config/i386/t-slibgcc-nwld: Remove.
4413 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
4415         * config.host: Handle tic6x-*-*.
4416         * config/c6x/c6x-abi.h: New file.
4418 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4420         * config/i386/crtprec.c: New file.
4421         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
4422         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
4423         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
4424         (x86_64-*-darwin*): Likewise.
4425         (i[34567]86-*-solaris2*: Likewise.
4427 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4429         * config/alpha/crtfastmath.c: New file.
4430         * config/i386/crtfastmath.c: New file.
4431         * config/ia64/crtfastmath.c: New file.
4432         * config/mips/crtfastmath.c: New file.
4433         * config/sparc/crtfastmath.c: New file.
4435         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
4436         crtfastmath.c.
4437         Add -frandom-seed=gcc-crtfastmath.
4438         * config/alpha/t-crtfm: Remove.
4439         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
4440         * config/ia64/t-ia64 (crtfastmath.o): Remove.
4442         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
4443         (alpha*-dec-osf5.1*): Likewise.
4444         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
4445         Add crtfastmath.o to extra_parts.
4446         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
4447         Add crtfastmath.o to extra_parts.
4448         (x86_64-*-darwin*): Likewise.
4449         (x86_64-*-mingw*): Likewise.
4450         (ia64*-*-elf*): Add t-crtfm to tmake_file.
4451         (ia64*-*-freebsd*): Likewise.
4452         (ia64*-*-linux*): Likewise.
4453         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
4454         Add crtfastmath.o to extra_parts.
4456 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4458         * config/darwin-crt3.o: New file.
4459         * config/rs6000/darwin-crt2.c: New file.
4460         * config/t-darwin: New file.
4461         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
4462         (crt2.o): New rule.
4463         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
4464         (powerpc-*-darwin*): Add crt2.o to extra_parts.
4465         (powerpc64-*-darwin*): Likewise.
4467 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4469         * config/i386/netware-crt0.c: New file.
4470         * config/i386/t-nwld: Rename to ...
4471         * config/i386/t-slibgcc-nwld: ... this.
4472         * config/i386/t-nwld: New file.
4473         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
4474         tmake_file.
4475         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
4476         extra_parts.
4478 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4480         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
4481         i386/t-crtstuff.
4482         * configure: Regenerate.
4484 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4486         * dfp-bit.c, dfp-bit.h: New files.
4487         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
4488         variables.
4489         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
4490         ($(d64pbit-o)): Likewise.
4491         ($(d128pbit-o)): Likewise.
4492         * config/t-dfprules: New file.
4493         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
4494         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
4495         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
4496         (x86_64-*-linux*): Likewise.
4497         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
4498         (i[34567]86-*-cygwin*): Likewise.
4499         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
4500         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
4502 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4504         * Makfile.in (LIBGCOV): New variable.
4505         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
4506         * libgcov.c: New file.
4508 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4510         * fixed-bit.c, fixed-bit.h: New files.
4511         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
4512         refer to fixed-bit.c.
4514 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
4516         * config.host (*local*): Remove.
4518 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4520         PR target/39150
4521         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
4522         like i?86-*-solaris2.1[0-9]*.
4523         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
4524         * configure.ac (i?86-*-solaris2*): Likewise.
4525         * configure: Regenerate.
4527 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
4529         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
4530         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
4531         md_unwind_header by splitting out of...
4532         (i[34567]86-*-linux*): ... this.
4533         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
4534         Remove md_unwind_header by splitting out of...
4535         (x86_64-*-linux*): ... this.
4537 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
4539         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
4541 2011-06-28  Nick Clifton  <nickc@redhat.com>
4543         * config.host: Recognize all V850 variants.
4545 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
4547         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
4549 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4551         * shared-object.mk (c_flags-$o): Save c_flags.
4552         ($(base)$(objext)): Use it.
4553         ($(base)_s$(objext)): Likewise.
4555 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
4557         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
4558         * libgcc-std.ver.in (GCC_4.7.0): New section.
4560 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
4562         PR target/49313
4563         PR target/29524
4564         * config/avr/t-avr: Fix line endings.
4565         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
4566         _parityXX2.
4568 2011-06-14  Olivier Hainque  <hainque@adacore.com>
4569             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4571         * config/mips/irix6-unwind.h: New file.
4572         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
4574 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
4576         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
4577         (sparc64_fallback_frame_state): Use it.
4578         (sparc64_frob_update_context): Further adjust context.
4579         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
4580         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
4581         * config/sparc/sol2-cn.S: Likewise.
4583 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4585         * enable-execute-stack-empty.c: New file.
4586         * enable-execute-stack-mprotect.c: New file.
4587         * config/i386/enable-execute-stack-mingw32.c: New file.
4588         * config.host (enable_execute_stack): New variable.
4589         Select appropriate variants.
4590         * configure.ac: Link enable-execute-stack.c to
4591         $enable_execute_stack.
4592         * configure: Regenerate.
4593         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
4594         (lib2funcs): Remove _enable_execute_stack.
4596 2011-06-09  David S. Miller  <davem@davemloft.net>
4597             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4599         * config.host (sparc-*-linux*): Correct md_unwind_header
4600         filename.
4601         (s390x-ibm-tpf*): Fix typo.
4603 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4605         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
4606         Add crtfastmath.o to extra_parts.
4607         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
4608         mips/t-crtfm.
4609         * config/mips/t-crtfm: Remove.
4611 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4613         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
4615 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
4617         * config.host (sh*-*-linux*): Fix typo.
4619 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4621         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
4622         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
4623         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
4624         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
4625         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
4626         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
4627         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
4628         Wrap in !__MINGW64__.
4629         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
4630         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
4631         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
4632         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
4633         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
4634         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
4635         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
4636         Wrap in !__LP64__.
4637         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
4638         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
4639         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
4640         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
4641         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
4642         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
4643         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
4644         * config/no-unwind.h: New file.
4645         * config.host (md_unwind_header): Document.
4646         Define.
4647         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
4648         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
4649         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
4650         hppa[12]*-*-hpux11*): Set md_unwind_header.
4651         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
4652         Set md_unwind_header.
4653         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
4654         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
4655         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
4656         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
4657         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
4658         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
4659         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
4660         md_unwind_header.
4661         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
4662         * configure: Regenerate.
4664 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4666         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
4667         Set tmake_file, extra_parts.
4668         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
4669         Remove O32 support.
4670         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
4671         Remove O32 support.
4672         * config/mips/t-irix6: New file.
4673         * config/mips/t-slibgcc-irix: New file.
4675 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4677         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
4678         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
4680 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4682         * configure.ac (target_thread_file): Determine thread model.
4683         * configure: Regenerate.
4684         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
4685         * config/alpha/t-alpha: New file.
4686         * config/alpha/t-crtfm: Use $<.
4687         * config/alpha/t-ieee: New file.
4688         * config/alpha/t-osf-pthread: New file.
4689         * config/alpha/t-slibgcc-osf: New file.
4690         * config/alpha/libgcc-osf5.ver: New file.
4692 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4694         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
4695         tmake_file.
4696         Add crtfastmath.o to extra_parts.
4698 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4700         * config/gmon-sol2.c: Reindent.
4701         Cleanup comments.
4702         Remove, correct casts.
4703         Use STDERR_FILENO, NULL.
4704         (BASEADDRESS): Remove.
4705         (minbrk): Remove.
4706         (errno, sbrk): Remove declarations.
4707         (monstartup) [hp300]: Remove.
4708         (mcount): Remove.
4710 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4712         * Makefile.in (cpu_type): Define.
4713         * config.host (i[34567]86-*-rtems*): Handle it.
4714         (i[34567]86-*-solaris2*): Move body ...
4715         (*-*-solaris2*): ... here.
4716         New case, generalize.
4717         (sparc-*-elf*): Handle it.
4718         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
4719         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
4720         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
4721         Fold into ...
4722         (sparc*-*-solaris2*): ... this.
4723         New case.
4724         (sparc64-*-elf*): Handle it.
4725         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
4726         Merge ../gcc/config/i386/gmon-sol2.c.
4727         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
4728         Use C comments.
4729         Merge ../gcc/config/i386/sol2-gc1.asm.
4730         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
4731         Use C comments.
4732         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
4733         Use C comments.
4734         * config/i386/t-crtfm (crtfastmath.o): Use $<.
4735         * config/i386/t-crtstuff: New file.
4736         * config/i386/t-softfp: New file.
4737         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
4738         $(T)crti.o, $(T)crtn.o): Remove.
4739         (gcrt1.o): New rule.
4740         (TARGET_LIBGCC2_CFLAGS): Remove.
4741         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
4742         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
4743         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
4744         * config/sparc/t-sol2: New file.
4745         * config/sparc/t-crtfm: Move to ...
4746         * config/t-crtfm: ... this.
4747         Use $(cpu_type), $<.
4748         * config/t-crtin: New file.
4749         * config/sparc/t-softfp: New file.
4750         * config/sparc/t-softmul: New file.
4751         * config/t-rtems: New file.
4752         * config/t-slibgcc: New file.
4753         * config/t-slibgcc-elf-ver: New file.
4754         * config/t-slibgcc-gld: New file.
4755         * config/t-slibgcc-sld: New file.
4756         * config/t-sol2: New file.
4757         * configure.ac: Include ../config/lib-ld.m4.
4758         Call AC_LIB_PROG_LD_GNU.
4759         Substitute cpu_type.
4760         * configure: Regenerate.
4762 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
4764         PR bootstrap/49173
4765         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
4766         libgcc-std.ver in the build directory.
4767         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
4768         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
4770 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
4772         * libgcc-std.ver.in: New file.
4773         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
4774         variables.
4775         (libgcc-std.ver): New rule.
4776         * config/t-gnu-prefix: New file.
4778 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4780         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
4782 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
4784         * config/i386/darwin-lib.h: New file.
4786 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
4788         * config/arm/symbian-lib.h: New.
4790 2011-05-04  Chris Demetriou  <cgd@google.com>
4792         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
4793         (__x86.get_pc_thunk.bx): ...this.
4794         (__morestack): Adjust for rename, remove undef of __i686.
4796 2011-05-03  Chris Demetriou  <cgd@google.com>
4798         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
4800 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
4802         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
4803         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
4804         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
4805         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
4806         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
4807         Remove cases.
4809 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
4811         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
4812         Adjust copyright year.
4814 2011-03-07  Ian Lance Taylor  <iant@google.com>
4816         * generic-morestack.c (__splitstack_find): Adjust returned stack
4817         pointer to include all registers pushed by __morestack.
4819 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
4821         PR target/40125
4822         * configure.ac: Call ACX_NONCANONICAL_TARGET.
4823         (toolexecdir): Calculate and AC_SUBST.
4824         (toolexeclibdir): Likewise.
4825         * Makefile.in (target_noncanonical): Import.
4826         (toolexecdir): Likewise.
4827         (toolexeclibdir): Likewise.
4828         * configure: Regenerate.
4830 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
4832         PR target/46040
4833         * config/arm/bpabi.h: Rename to...
4834         * config/arm/bpabi-lib.h: ...this.
4836 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4838         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
4839         appropriate.
4840         * configure: Regenerate.
4842 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
4844         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
4845         __FLOAT_WORD_ORDER__.
4846         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
4847         Delete.
4849 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4851         PR other/46202
4852         * Makefile.in (install-strip): New phony target.
4854 2010-11-07  Ian Lance Taylor  <iant@google.com>
4856         PR target/46089
4857         * config/i386/morestack.S (__morestack_large_model): New
4858         function.
4860 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
4862         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
4863         Delete.
4864         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
4866 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
4868         * config/arm/bpabi.h: New file.
4869         * config/frv/frv-abi.h: New file.
4871 2010-10-01  Ian Lance Taylor  <iant@google.com>
4873         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
4874         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
4876 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
4878         PR target/45858
4879         * config.host: Add the missing `$'.
4881 2010-09-30  Michael Eager  <eager@eagercon.com>
4883         * config.host: Add microblaze*-*-*.
4884         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
4885         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
4886         udivsi3.asm,umodsi3.asm}:  New.
4888 2010-09-28  Ian Lance Taylor  <iant@google.com>
4890         * configure.ac: Adjust CFI test to test assembler directly rather
4891         than checking gcc preprocessor macro.
4892         * configure: Rebuild.
4894 2010-09-27  Ian Lance Taylor  <iant@google.com>
4896         * configure.ac: Test whether assembler supports CFI directives.
4897         * config.host: Only add t-stack and i386/t-stack-i386 to
4898         tmake_file if libgcc_cv_cfi is "yes".
4899         * configure: Rebuild.
4901 2010-09-27  Ian Lance Taylor  <iant@google.com>
4903         * generic-morestack.h: New file.
4904         * generic-morestack.c: New file.
4905         * generic-morestack-thread.c: New file.
4906         * config/i386/morestack.S: New file.
4907         * config/t-stack: New file.
4908         * config/i386/t-stack-i386: New file.
4909         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
4910         i386/t-stack-i386 to tmake_file.
4912 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
4914         * Makefile.in (libgcc-extra-parts):  Check for static archives and
4915         invoke ranlib after installing them.
4916         (gcc-extra-parts): Likewise.
4917         (install-leaf): Likewise.
4919 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
4921         * configure: Regenerated.
4923 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
4925         * configure: Regenerated.
4927 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
4928             Andrew Pinski  <pinskia@gmail.com>
4930         PR target/40959
4931         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
4933 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4935         PR target/45524
4936         * configure: Regenerated.
4938 2010-09-06  Andreas Schwab  <schwab@redhat.com>
4940         * configure: Regenerate.
4942 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
4944         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
4945         64bit targets.
4946         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
4947         for 64bit targets.
4949 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
4950             Iain Sandoe  <iains@gcc.gnu.org>
4952         PR target/45476
4953         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
4954         LIB2FUNCS_EXCLUDE functions.
4956 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4958         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
4959         Include dfp.m4.
4960         * configure: Regenerate.
4962 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
4964         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
4965         i386/t-freebsd to tmake_file.
4966         * config/i386/t-freebsd: New file.
4967         * config/i386/libgcc-bsd.ver: New file.
4969 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
4971         * config.host (powerpc*-eabispe*): Set tmake_file.
4972         (powerpc*-eabi*): Likewise.
4973         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
4974         crtbeginS, crtendS, crtbeginT.
4976 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
4978         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
4979         to tmake_file.  Add crtfastmath.o to extra_parts.
4980         * config/mips/t-crtfm: New.
4982 2010-05-19  Joel Sherrill <joel.sherrill@oarcorp.com>
4984         * config.host (sparc64-*-rtems*): New target.
4986 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4988         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
4989         assembler syntax.
4991 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
4993         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
4995 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4997         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
4998         alpha-dec-osf5.0* support.
5000 2010-04-01  Ralf Corsépius <ralf.corsepius@rtems.org>
5002         * config.host: Add lm32-*-rtems*.
5004 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5005             Uros Bizjak <ubizjak@gmail.com>
5007         PR target/39048
5008         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
5009         like other remaining 32-bit x86 OSes.
5010         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
5011         assembler syntax.
5012         * config/i386/libgcc-sol2.ver: New file.
5013         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
5015 2010-03-30  Jack Howarth <howarth@bromo.med.uc.edu>
5017         PR c/43553
5018         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
5019         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
5020         is used and substitute set_use_emutls.
5021         * configure: Regenerated.
5023 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
5025         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
5027 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5029         PR target/38085
5030         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
5031         MULTILIB_CFLAGS.
5032         ($(T)gcrt1.o): Likewise.
5033         ($(T)crt1.o): Likewise.
5034         ($(T)crti.o): Likewise.
5035         ($(T)crtn.o): Likewise.
5037 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5039         PR other/42980
5040         * Makefile.in (install): Use $(MAKE) string in rule, for
5041         parallel make.
5043 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
5045         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
5046         * config/mmix/t-mmix: New file.
5047         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
5049 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
5051         PR java/41991
5052         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
5053         SHLIB_MAPFILES.
5055 2010-01-04  Anthony Green  <green@moxielogic.com>
5057         * config/moxie/crti.asm, config/moxie/crtn.asm,
5058         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
5059         config/moxie/t-moxie: New files.
5060         * config.host: Add t-moxie-softfp reference.
5062 2009-11-18  Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
5064         PR other/39888
5065         * config/t-slibgcc-darwin: Fix embedded rpaths for
5066         --enable-version-specific-runtime-libs, build extension stub
5067         libs exposing features available from current libgcc_s.
5069 2009-11-11  Jon Beniston <jon@beniston.com>
5071         * config.host: Add lm32 targets.
5072         * config/lm32: New directory.
5073         * config/lm32/libgcc_lm32.h: New file.
5074         * config/lm32/_mulsi3.c: New file.
5075         * config/lm32/_udivmodsi4.c: New file.
5076         * config/lm32/_divsi3.c: New file.
5077         * config/lm32/_modsi3.c: New file.
5078         * config/lm32/_udivsi3.c: New file.
5079         * config/lm32/_umodsi3.c: New file.
5080         * config/lm32/_lshrsi3.S: New file.
5081         * config/lm32/_ashrsi3.S: New file.
5082         * config/lm32/_ashlsi3.S: New file.
5083         * config/lm32/crti.S: New file.
5084         * config/lm32/crtn.S: New file.
5085         * config/lm32/t-lm32: New file.
5086         * config/lm32/t-elf: New file.
5087         * config/lm32/t-uclinux: New file.
5089 2009-10-26  Nick Clifton  <nickc@redhat.com>
5091         * config.host: Add support for RX target.
5092         * config/rx: New directory.
5093         * config/rx/rx-abi-functions.c: New file. Supplementary
5094         functions for libgcc to support the RX ABI.
5095         * config/rx/rx-abi.h: New file.  Supplementary header file for
5096         libgcc RX ABI functions.
5097         * config/rx/t-rx: New file: Makefile fragment for building
5098         libgcc for the RX.
5100 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
5102         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
5103         constraint of y0 to "g".
5105 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5107         * config.host: Include the s390 makefile fragments.
5108         * config/s390/32/_fixdfdi.c: New file.
5109         * config/s390/32/_fixsfdi.c: New file.
5110         * config/s390/32/_fixtfdi.c: New file.
5111         * config/s390/32/_fixunsdfdi.c: New file.
5112         * config/s390/32/_fixunssfdi.c: New file.
5113         * config/s390/32/_fixunstfdi.c: New file.
5114         * config/s390/32/t-floattodi: New file.
5115         * config/s390/libgcc-glibc.ver: New file.
5116         * config/s390/t-crtstuff: New file.
5117         * config/s390/t-linux: New file.
5118         * config/s390/t-tpf: New file.
5120 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5122         * configure.ac (AC_PREREQ): Bump to 2.64.
5124 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
5126         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
5128 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5130         * configure: Regenerate.
5132 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
5134         * config.host (ia64-hp-*vms*): New target.
5135         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
5136         with ia64-hp-*vms*.
5138 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5140         * configure.ac: Add snippet for maintainer-mode.
5141         * configure: Regenerate.
5142         * Makefile.in (AUTOCONF, configure_deps): New variables.
5143         ($(srcdir)/configure)): New rule, active only with maintainer
5144         mode turned on.
5146 2009-06-23  DJ Delorie  <dj@redhat.com>
5148         Add MeP port.
5149         * config.host: Add mep support.
5151 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
5153         * config.host: Add i386/${host_address}/t-fprules-softfp and
5154         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
5156         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
5157         for mingw targets.
5158         * config/i386/64/_multc3.c: Likewise.
5159         * config/i386/64/_powitf2.c: Likewise.
5160         * config/i386/64/eqtf2.c: Likewise.
5161         * config/i386/64/getf2.c: Likewise.
5162         * config/i386/64/letf2.c: Likewise.
5163         * config/i386/64/letf2.c: Likewise.
5164         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
5165         unsigned long long for x64 mingw targets.
5166         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
5167         (_FP_I_TYPE): Define as long long for x64 mingw target.
5169 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
5171         * config.host (vax-*-linux*): New.
5173 2009-05-31  Anthony Green  <green@moxielogic.com>
5175         * config.host: Add moxie support.
5176         * config/moxie/t-moxie: New file.
5178 2009-05-29  David Billinghurst <billingd@gcc.gnu.org>
5180         * config.host: Add i386/${host_address}/t-fprules-softfp and
5181         t-softfp to tmake_file for i[34567]86-*-cygwin*.
5183 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
5185         * config.host: Add i386/${host_address}/t-fprules-softfp to
5186         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
5188 2009-04-09  Nick Clifton  <nickc@redhat.com>
5190         * config/ia64/tf-signs.c: Change copyright header to refer to
5191         version 3 of the GNU General Public License with version 3.1
5192         of the GCC Runtime Library Exception and to point readers at
5193         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
5194         web page.
5195         * config/i386/32/tf-signs.c: Likewise.
5196         * config/libbid/_addsub_dd.c: Likewise.
5197         * config/libbid/_addsub_sd.c: Likewise.
5198         * config/libbid/_addsub_td.c: Likewise.
5199         * config/libbid/_dd_to_df.c: Likewise.
5200         * config/libbid/_dd_to_di.c: Likewise.
5201         * config/libbid/_dd_to_sd.c: Likewise.
5202         * config/libbid/_dd_to_sf.c: Likewise.
5203         * config/libbid/_dd_to_si.c: Likewise.
5204         * config/libbid/_dd_to_td.c: Likewise.
5205         * config/libbid/_dd_to_tf.c: Likewise.
5206         * config/libbid/_dd_to_udi.c: Likewise.
5207         * config/libbid/_dd_to_usi.c: Likewise.
5208         * config/libbid/_dd_to_xf.c: Likewise.
5209         * config/libbid/_df_to_dd.c: Likewise.
5210         * config/libbid/_df_to_sd.c: Likewise.
5211         * config/libbid/_df_to_td.c: Likewise.
5212         * config/libbid/_di_to_dd.c: Likewise.
5213         * config/libbid/_di_to_sd.c: Likewise.
5214         * config/libbid/_di_to_td.c: Likewise.
5215         * config/libbid/_div_dd.c: Likewise.
5216         * config/libbid/_div_sd.c: Likewise.
5217         * config/libbid/_div_td.c: Likewise.
5218         * config/libbid/_eq_dd.c: Likewise.
5219         * config/libbid/_eq_sd.c: Likewise.
5220         * config/libbid/_eq_td.c: Likewise.
5221         * config/libbid/_ge_dd.c: Likewise.
5222         * config/libbid/_ge_sd.c: Likewise.
5223         * config/libbid/_ge_td.c: Likewise.
5224         * config/libbid/_gt_dd.c: Likewise.
5225         * config/libbid/_gt_sd.c: Likewise.
5226         * config/libbid/_gt_td.c: Likewise.
5227         * config/libbid/_isinfd128.c: Likewise.
5228         * config/libbid/_isinfd32.c: Likewise.
5229         * config/libbid/_isinfd64.c: Likewise.
5230         * config/libbid/_le_dd.c: Likewise.
5231         * config/libbid/_le_sd.c: Likewise.
5232         * config/libbid/_le_td.c: Likewise.
5233         * config/libbid/_lt_dd.c: Likewise.
5234         * config/libbid/_lt_sd.c: Likewise.
5235         * config/libbid/_lt_td.c: Likewise.
5236         * config/libbid/_mul_dd.c: Likewise.
5237         * config/libbid/_mul_sd.c: Likewise.
5238         * config/libbid/_mul_td.c: Likewise.
5239         * config/libbid/_ne_dd.c: Likewise.
5240         * config/libbid/_ne_sd.c: Likewise.
5241         * config/libbid/_ne_td.c: Likewise.
5242         * config/libbid/_sd_to_dd.c: Likewise.
5243         * config/libbid/_sd_to_df.c: Likewise.
5244         * config/libbid/_sd_to_di.c: Likewise.
5245         * config/libbid/_sd_to_sf.c: Likewise.
5246         * config/libbid/_sd_to_si.c: Likewise.
5247         * config/libbid/_sd_to_td.c: Likewise.
5248         * config/libbid/_sd_to_tf.c: Likewise.
5249         * config/libbid/_sd_to_udi.c: Likewise.
5250         * config/libbid/_sd_to_usi.c: Likewise.
5251         * config/libbid/_sd_to_xf.c: Likewise.
5252         * config/libbid/_sf_to_dd.c: Likewise.
5253         * config/libbid/_sf_to_sd.c: Likewise.
5254         * config/libbid/_sf_to_td.c: Likewise.
5255         * config/libbid/_si_to_dd.c: Likewise.
5256         * config/libbid/_si_to_sd.c: Likewise.
5257         * config/libbid/_si_to_td.c: Likewise.
5258         * config/libbid/_td_to_dd.c: Likewise.
5259         * config/libbid/_td_to_df.c: Likewise.
5260         * config/libbid/_td_to_di.c: Likewise.
5261         * config/libbid/_td_to_sd.c: Likewise.
5262         * config/libbid/_td_to_sf.c: Likewise.
5263         * config/libbid/_td_to_si.c: Likewise.
5264         * config/libbid/_td_to_tf.c: Likewise.
5265         * config/libbid/_td_to_udi.c: Likewise.
5266         * config/libbid/_td_to_usi.c: Likewise.
5267         * config/libbid/_td_to_xf.c: Likewise.
5268         * config/libbid/_tf_to_dd.c: Likewise.
5269         * config/libbid/_tf_to_sd.c: Likewise.
5270         * config/libbid/_tf_to_td.c: Likewise.
5271         * config/libbid/_udi_to_dd.c: Likewise.
5272         * config/libbid/_udi_to_sd.c: Likewise.
5273         * config/libbid/_udi_to_td.c: Likewise.
5274         * config/libbid/_unord_dd.c: Likewise.
5275         * config/libbid/_unord_sd.c: Likewise.
5276         * config/libbid/_unord_td.c: Likewise.
5277         * config/libbid/_usi_to_dd.c: Likewise.
5278         * config/libbid/_usi_to_sd.c: Likewise.
5279         * config/libbid/_usi_to_td.c: Likewise.
5280         * config/libbid/_xf_to_dd.c: Likewise.
5281         * config/libbid/_xf_to_sd.c: Likewise.
5282         * config/libbid/_xf_to_td.c: Likewise.
5283         * config/libbid/bid128.c: Likewise.
5284         * config/libbid/bid128_2_str.h: Likewise.
5285         * config/libbid/bid128_2_str_macros.h: Likewise.
5286         * config/libbid/bid128_2_str_tables.c: Likewise.
5287         * config/libbid/bid128_add.c: Likewise.
5288         * config/libbid/bid128_compare.c: Likewise.
5289         * config/libbid/bid128_div.c: Likewise.
5290         * config/libbid/bid128_fma.c: Likewise.
5291         * config/libbid/bid128_logb.c: Likewise.
5292         * config/libbid/bid128_minmax.c: Likewise.
5293         * config/libbid/bid128_mul.c: Likewise.
5294         * config/libbid/bid128_next.c: Likewise.
5295         * config/libbid/bid128_noncomp.c: Likewise.
5296         * config/libbid/bid128_quantize.c: Likewise.
5297         * config/libbid/bid128_rem.c: Likewise.
5298         * config/libbid/bid128_round_integral.c: Likewise.
5299         * config/libbid/bid128_scalb.c: Likewise.
5300         * config/libbid/bid128_sqrt.c: Likewise.
5301         * config/libbid/bid128_string.c: Likewise.
5302         * config/libbid/bid128_to_int16.c: Likewise.
5303         * config/libbid/bid128_to_int32.c: Likewise.
5304         * config/libbid/bid128_to_int64.c: Likewise.
5305         * config/libbid/bid128_to_int8.c: Likewise.
5306         * config/libbid/bid128_to_uint16.c: Likewise.
5307         * config/libbid/bid128_to_uint32.c: Likewise.
5308         * config/libbid/bid128_to_uint64.c: Likewise.
5309         * config/libbid/bid128_to_uint8.c: Likewise.
5310         * config/libbid/bid32_to_bid128.c: Likewise.
5311         * config/libbid/bid32_to_bid64.c: Likewise.
5312         * config/libbid/bid64_add.c: Likewise.
5313         * config/libbid/bid64_compare.c: Likewise.
5314         * config/libbid/bid64_div.c: Likewise.
5315         * config/libbid/bid64_fma.c: Likewise.
5316         * config/libbid/bid64_logb.c: Likewise.
5317         * config/libbid/bid64_minmax.c: Likewise.
5318         * config/libbid/bid64_mul.c: Likewise.
5319         * config/libbid/bid64_next.c: Likewise.
5320         * config/libbid/bid64_noncomp.c: Likewise.
5321         * config/libbid/bid64_quantize.c: Likewise.
5322         * config/libbid/bid64_rem.c: Likewise.
5323         * config/libbid/bid64_round_integral.c: Likewise.
5324         * config/libbid/bid64_scalb.c: Likewise.
5325         * config/libbid/bid64_sqrt.c: Likewise.
5326         * config/libbid/bid64_string.c: Likewise.
5327         * config/libbid/bid64_to_bid128.c: Likewise.
5328         * config/libbid/bid64_to_int16.c: Likewise.
5329         * config/libbid/bid64_to_int32.c: Likewise.
5330         * config/libbid/bid64_to_int64.c: Likewise.
5331         * config/libbid/bid64_to_int8.c: Likewise.
5332         * config/libbid/bid64_to_uint16.c: Likewise.
5333         * config/libbid/bid64_to_uint32.c: Likewise.
5334         * config/libbid/bid64_to_uint64.c: Likewise.
5335         * config/libbid/bid64_to_uint8.c: Likewise.
5336         * config/libbid/bid_b2d.h: Likewise.
5337         * config/libbid/bid_binarydecimal.c: Likewise.
5338         * config/libbid/bid_conf.h: Likewise.
5339         * config/libbid/bid_convert_data.c: Likewise.
5340         * config/libbid/bid_decimal_data.c: Likewise.
5341         * config/libbid/bid_decimal_globals.c: Likewise.
5342         * config/libbid/bid_div_macros.h: Likewise.
5343         * config/libbid/bid_dpd.c: Likewise.
5344         * config/libbid/bid_flag_operations.c: Likewise.
5345         * config/libbid/bid_from_int.c: Likewise.
5346         * config/libbid/bid_functions.h: Likewise.
5347         * config/libbid/bid_gcc_intrinsics.h: Likewise.
5348         * config/libbid/bid_inline_add.h: Likewise.
5349         * config/libbid/bid_internal.h: Likewise.
5350         * config/libbid/bid_round.c: Likewise.
5351         * config/libbid/bid_sqrt_macros.h: Likewise.
5353 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
5355         * Makefile.in: Change copyright header to refer to version
5356         3 of the GNU General Public License and to point readers at the
5357         COPYING3 file and the FSF's license web page.
5358         * config.host: Likewise.
5360 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
5362         * config.host: Reorder and merge to match config.gcc change.
5364 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
5366         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
5368 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
5370         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
5371         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
5372         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
5373         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
5375 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
5377         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
5378         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
5380 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
5382         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
5383         ia64/t-softfp-compat to tmake_file.
5385         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
5387         * config/ia64/__divxf3.asm: New.
5388         * config/ia64/_fixtfdi.asm: Likewise.
5389         * config/ia64/_fixunstfdi.asm: Likewise.
5390         * config/ia64/_floatditf.asm: Likewise.
5391         * config/ia64/t-fprules-softfp: Likewise.
5392         * config/ia64/t-softfp-compat: Likewise.
5393         * config/ia64/tf-signs.c: Likewise.
5395 2009-01-18  Ben Elliston  <bje@au.ibm.com>
5397         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
5399 2009-01-16  Ben Elliston  <bje@au.ibm.com>
5401         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
5402         to tmake_file.
5404 2009-01-13  Ben Elliston  <bje@au.ibm.com>
5406         * config/t-softfp: New file.
5407         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
5408         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
5410 2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>
5412         * config.host: Add m32r*-*-rtems*.
5414 2008-12-01  Joel Sherrill <joel.sherrill@oarcorp.com>
5416         * config.host: Add m32c*-*-rtems*.
5418 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5420         PR bootstrap/33100
5421         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
5422         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
5423         * configure: Regenerate.
5424         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
5425         tmake_file here from gcc/config.gcc.
5426         Move extra_parts here from gcc/config.gcc.
5427         * config/i386/t-sol2: Move here from gcc/config/i386.
5428         Use gcc_srcdir instead of srcdir.
5430 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
5432         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
5433         case.
5435 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
5437         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
5439 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
5441         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
5443 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
5445         Add picoChip port.
5446         * config.host: Add picochip-*-*.
5448 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
5450         * config.host: Match more processor names for Xtensa.
5452 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
5454         * config/i386/64/t-softfp-compat: Update comments.
5456 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
5458         * config/i386/64/_divtc3-compat.c: Moved to ...
5459         * config/i386/64/_divtc3.c: Here.
5461         * config/i386/64/_multc3-compat.c: Moved to ...
5462         * config/i386/64/_multc3.c: Here.
5464         * config/i386/64/_powitf2-compat.c: Moved to ...
5465         * config/i386/64/_powitf2.c: Here.
5467         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
5468         .c suffix instead of -compat.c.
5470 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
5472         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
5473         (_FP_MUL_MEAT_D): Ditto.
5474         (_FP_DIV_MEAT_S): Ditto.
5475         (_FP_DIV_MEAT_D): Ditto.
5477 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
5479         * Makefile.in: Add support for __sync_* libgcc functions.
5481 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
5483         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
5485 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5487         PR boostrap/36702
5488         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
5489         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
5491         * config/i386/64/t-fprules-softfp: Moved to ...
5492         * config/i386/64/t-softfp-compat: This.  New.
5494 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
5496         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
5497         Initialize f with 0.0.
5499 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5501         PR target/36669
5502         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
5504         * config/i386/64/_divtc3-compat.c: New.
5505         * config/i386/64/_multc3-compat.c: Likewise.
5506         * config/i386/64/_powitf2-compat.c: Likewise.
5507         * config/i386/64/eqtf2.c: Likewise.
5508         * config/i386/64/getf2.c: Likewise.
5509         * config/i386/64/letf2.c: Likewise.
5510         * config/i386/64/t-fprules-softfp: Likewise.
5512 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5514         * config.host: Add i386/${host_address}/t-fprules-softfp to
5515         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
5516         i[34567]86-*-linux*, x86_64-*-linux*.
5518         * configure.ac: Set host_address to 64 or 32 for x86.
5519         * configure: Regenerated.
5521         * Makefile.in (config.status): Also depend on
5522         $(srcdir)/config.host.
5524         * config/i386/32/t-fprules-softfp: New.
5525         * config/i386/32/tf-signs.c: Likewise.
5527         * config/i386/64/sfp-machine.h: New. Moved from gcc.
5529 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5530             Uros Bizjak  <ubizjak@gmail.com>
5532         * config/i386/32/sfp-machine.h: New.
5534 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
5536         * config/rs6000/t-ppccomm: Remove rules that conflict with
5537         auto-generated rules.
5539 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5541         * configure.ac: sinclude override.m4.
5542         * configure: Regenerate.
5544 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
5546         * configure: Regenerate.
5548 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
5550         * Makefile.in (DECNUMINC): Remove
5551         -I$(MULTIBUILDTOP)../../libdecnumber.
5552         * gstdint.h: New.
5554 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
5556         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
5557         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
5558         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
5559         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
5560         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
5561         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
5562         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
5563         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
5564         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
5565         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
5566         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
5567         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
5568         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
5569         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
5571 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
5573         * config.host (sh2[lbe]*-*-linux*): Allow target.
5575 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
5577         * config/rs6000/t-ppccomm: Add build rules for new files.
5578         (LIB2ADD_ST): New variable.
5580 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
5582         PR target/34210
5583         PR target/35508
5584         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
5585         * config/t-avr: New file. Build 16bit libgcc functions.
5587 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
5589         PR target/35401
5590         * config/t-slibgcc-darwin: Make install-leaf dependent on
5591         install-darwin-libgcc-stubs instead of install.
5593 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
5595         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
5596         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
5597         sh-*-rtemscoff*): Remove cases.
5599 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
5601         * Makefile.in (all): Use install-leaf rather than install.
5602         (install): Split most of the rule into...
5603         (install-leaf): ...this new one.
5605 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
5606             Paolo Bonzini  <bonzini@gnu.org>
5608         PR target/30572
5609         * Makefile.in: Use @shlib_slibdir@ substitution to get
5610         correct install name on darwin.
5611         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
5613 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
5615         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
5616         cris-*-elf and cris-*-none.
5617         (crisv32-*-linux*): Similar, as cris-*-linux*.
5619 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
5621         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
5623 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
5625         PR regression/33926
5626         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
5627         * configure: Regenerated.
5629 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
5631         * Makefile.in (dfp-filenames): Replace decimal_globals,
5632         decimal_data, binarydecimal and convert_data with
5633         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
5634         and bid_convert_data, respectively.
5636 2007-09-17  Chao-ying Fu  <fu@mips.com>
5637             Nigel Stephens  <nigel@mips.com>
5639         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
5640         * Makefile.in (fixed_point): Define.
5641         Check if fixed_point is yes to build support functions.
5642         * configure.ac: Check for fixed_point support.
5643         * configure: Regenerated.
5644         * gen-fixed.sh: New file to generate lists of fixed-point labels,
5645         funcs, modes, from, to.
5647 2007-09-11  Janis Johnson  <janis187@us.ibm.com
5649         * Makefile.in (dfp-filenames): Add bid128_noncomp.
5651 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
5653         * Makefile.in (dfp-filenames): Remove decUtility, add
5654         decDouble, decPacked, decQuad, decSingle.
5656 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
5658         * config.host : Add x86_64-elf target.
5660 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
5662         * configure.ac (set_have_cc_tls): Add a missing =.
5663         * configure: Regenerated.
5665 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
5667         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
5668         and x86_64-*-linux*.
5670         * config/t-tls: New file.
5672         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
5674         * configure.ac: Include ../config/enable.m4 and
5675         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
5676         supports TLS and substitute set_have_cc_tls.
5677         * configure: Regenerated.
5679 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
5681         * Makefile.in: Use libbid for DFP when BID is enabled.
5683 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
5685         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
5686         extra_parts. Add config/i386/t-cygming to tmake_file.
5687         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
5689 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
5690             Danny Smith  <dannysmith@users.sourceforge.net>
5692         PR target/29498
5693         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
5694         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
5695         * config/i386/t-crtfm: Compile crtfastmath.o with
5696         -minline-all-stringops.
5698 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
5700         * config.host (sparc-wrs-vxworks): New target.
5702 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
5704         * config.host: Recognize fido.
5706 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
5708         * configure: Check host, not target, for decimal float support.
5710 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
5712         * config/i386/t-crtpc: New file.
5713         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5714         (x86_64-*-linux*): Ditto.
5716 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
5718         * config.host (x86_64-*-mingw*): New target.
5720 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
5721             H.J. Lu  <hongjiu.lu@intel.com>
5723         * Makefile.in (enable_decimal_float): New.
5724         (DECNUMINC): Add
5725         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
5726         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
5727         (decbits-filenames): This.
5728         (decbits-objects): New.
5729         (libgcc-objects): Add $(decbits-objects).
5731         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
5732         Substitute enable_decimal_float.
5733         * configure: Regenerated.
5735 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
5737         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
5739 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
5741         * Makefile.in (install-info): New dummy target.
5743 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
5745         * config.host (bfin*-linux-uclibc*): Set extra_parts.
5747 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
5749         * Makefile.in: Add install-html and install-pdf dummy
5750         targets.
5752 2007-02-05  Roger Sayle  <roger@eyesopen.com>
5753             Daniel Jacobowitz  <dan@codesourcery.com>
5755         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
5756         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
5757         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
5759 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
5761         * Makefile.in (dec-filenames): Add decExcept.
5763 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
5765         PR bootstrap/30469
5766         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
5767         -fprofile-use.
5769 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
5771         * configure.ac: Add --enable-version-specific-runtime-libs.
5772         Correct $slibdir default.
5773         * configure: Regenerated.
5775 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
5777         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
5779 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
5781         PR target/30519
5782         * config.host (alpha*-*-linux*): Set extra_parts.
5784 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
5786         * config/sh/t-linux: New.
5787         * config.host (sh*-*-linux*): Set tmake_file.
5789 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
5791         * Makefile.in (install): Handle multilibs.
5793 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
5795         * Makefile.in: Added .PHONY entry for documentation targets.
5797 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
5799         * Makefile.in: Add empty info, html, dvi, pdf targets.
5801 2007-01-04  Mike Stump  <mrs@apple.com>
5803         * Makefile.in (MAKEINFO): Remove.
5804         (PERL): Likewise.
5806 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
5808         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
5809         * configure: Regenerate.
5810         * Makefile.in (host_subdir): Substitute it.
5811         (gcc_objdir): Use it.
5813 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
5815         * config.host (ia64*-*-linux*): Set tmake_file.
5817 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
5819         * Makefile.in (version): Define.
5821 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
5822             Paolo Bonzini  <bonzini@gnu.org>
5824         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
5825         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
5826         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
5827         config/sparc/t-crtfm, config/t-slibgcc-darwin,
5828         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
5829         shared-object.mk, siditi-object.mk, static-object.mk: New files.
5830         * configure: Generated.