PR other/53317
[official-gcc.git] / libgcc / ChangeLog
blobb23ec657d0f158e761b275adea536d159464030c
1 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
3         PR other/53317
4         * soft-fp/adddf3.c: Update from glibc.
5         * soft-fp/addsf3.c: Likewise.
6         * soft-fp/addtf3.c: Likewise.
7         * soft-fp/divdf3.c: Likewise.
8         * soft-fp/divsf3.c: Likewise.
9         * soft-fp/divtf3.c: Likewise.
10         * soft-fp/double.h: Likewise.
11         * soft-fp/eqdf2.c: Likewise.
12         * soft-fp/eqsf2.c: Likewise.
13         * soft-fp/eqtf2.c: Likewise.
14         * soft-fp/extenddftf2.c: Likewise.
15         * soft-fp/extended.h: Likewise.
16         * soft-fp/extendsfdf2.c: Likewise.
17         * soft-fp/extendsftf2.c: Likewise.
18         * soft-fp/fixdfdi.c: Likewise.
19         * soft-fp/fixdfsi.c: Likewise.
20         * soft-fp/fixsfdi.c: Likewise.
21         * soft-fp/fixsfsi.c: Likewise.
22         * soft-fp/fixtfdi.c: Likewise.
23         * soft-fp/fixtfsi.c: Likewise.
24         * soft-fp/fixunsdfdi.c: Likewise.
25         * soft-fp/fixunsdfsi.c: Likewise.
26         * soft-fp/fixunssfdi.c: Likewise.
27         * soft-fp/fixunssfsi.c: Likewise.
28         * soft-fp/fixunstfdi.c: Likewise.
29         * soft-fp/fixunstfsi.c: Likewise.
30         * soft-fp/floatdidf.c: Likewise.
31         * soft-fp/floatdisf.c: Likewise.
32         * soft-fp/floatditf.c: Likewise.
33         * soft-fp/floatsidf.c: Likewise.
34         * soft-fp/floatsisf.c: Likewise.
35         * soft-fp/floatsitf.c: Likewise.
36         * soft-fp/floatundidf.c: Likewise.
37         * soft-fp/floatundisf.c: Likewise.
38         * soft-fp/floatunditf.c: Likewise.
39         * soft-fp/floatunsidf.c: Likewise.
40         * soft-fp/floatunsisf.c: Likewise.
41         * soft-fp/floatunsitf.c: Likewise.
42         * soft-fp/gedf2.c: Likewise.
43         * soft-fp/gesf2.c: Likewise.
44         * soft-fp/getf2.c: Likewise.
45         * soft-fp/ledf2.c: Likewise.
46         * soft-fp/lesf2.c: Likewise.
47         * soft-fp/letf2.c: Likewise.
48         * soft-fp/muldf3.c: Likewise.
49         * soft-fp/mulsf3.c: Likewise.
50         * soft-fp/multf3.c: Likewise.
51         * soft-fp/negdf2.c: Likewise.
52         * soft-fp/negsf2.c: Likewise.
53         * soft-fp/negtf2.c: Likewise.
54         * soft-fp/op-1.h: Likewise.
55         * soft-fp/op-2.h: Likewise.
56         * soft-fp/op-4.h: Likewise.
57         * soft-fp/op-8.h: Likewise.
58         * soft-fp/op-common.h: Likewise.
59         * soft-fp/quad.h: Likewise.
60         * soft-fp/single.h: Likewise.
61         * soft-fp/soft-fp.h: Likewise.
62         * soft-fp/subdf3.c: Likewise.
63         * soft-fp/subsf3.c: Likewise.
64         * soft-fp/subtf3.c: Likewise.
65         * soft-fp/truncdfsf2.c: Likewise.
66         * soft-fp/trunctfdf2.c: Likewise.
67         * soft-fp/trunctfsf2.c: Likewise.
68         * soft-fp/unorddf2.c: Likewise.
69         * soft-fp/unordsf2.c: Likewise.
70         * soft-fp/unordtf2.c: Likewise.
71         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
72         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
73         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
74         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
75         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
76         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
77         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
78         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
79         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
80         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
81         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
82         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
84 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
86         * config/mips/lib2funcs.c: New file.
87         * config/mips/t-mips (LIB2ADD_ST): Add it.
89 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
91         PR target/6526
92         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
93         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
95 2013-06-08  Walter Lee  <walt@tilera.com>
97         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
98         Replace int64_t with long long.  Add __extension__ where
99         appropriate.
100         * config/tilepro/atomic.c: Include config.h.
102 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
104         * config.host (arm-wrs-vxworks): Configure with other soft float.
106 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
108         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
109         (mips64r5900el-*-elf*): New configurations.
111 2013-06-04  Alan Modra  <amodra@gmail.com>
113         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
115 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
117         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
119 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
121         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
122         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
123         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
125 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
127         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
128         (powerpc-wrs-vxworks): Likewise.
130 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
132         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
133         signal frames as well.
134         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
135         STACK_BIAS to the CFA offset.
137 2013-05-17  Richard Henderson  <rth@redhat.com>
139         PR target/49146
140         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
141         (execute_cfa_program): Use it when storing to fs->regs.
143 2013-05-08  Kai Tietz  <ktietz@redhat.com>
145         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
146         (__deregister_frame_info): Likewise.
148 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
150         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
151         NaN's payload.
153         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
155 2013-04-25  Alan Modra  <amodra@gmail.com>
157         * config.host: Match little-endian powerpc-linux.
159 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
161         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
162         as 'unsigned long long' instead of 'unsigned long'.
163         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
164         'signed long'.
166 2013-04-10  Julian Brown  <julian@codesourcery.com>
168         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
169         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
170         unsigned char/unsigned short.
171         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
173 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
175         PR other/55274
176         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
178 2013-04-04  Meador Inge  <meadori@codesourcery.com>
180         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
181         computing the location of the link register.
182         (aeabi_uldivmod): Ditto.
184 2013-03-27  Kai Tietz  <ktietz@redhat.com>
186         * config.host: Add support for cygwin x64 target.
187         * configure: Regenerated.
189 2013-03-26  Walter Lee  <walt@tilera.com>
191         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
192         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
194 2013-03-25  Kai Tietz  <ktietz@redhat.com>
196         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
198 2013-03-20  Robert Mason  <rbmj@verizon.net>
200         * config/vxlib-tls.c (__gthread_get_tsd_data,)
201         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
202         (__gthread_leave_tsd_dtor_context): Add prototypes.
203         (tls_delete_hook): Update.
205 2013-03-20  Catherine Moore  <clm@codesourcery.com>
206             Joseph Myers  <joseph@codesourcery.com>
207             Chao-ying Fu  <fu@mips.com>
209         * config/mips/mips16.S:  Don't build for microMIPS.
210         * config/mips/linux-unwind.h: Handle microMIPS frame.
211         * config/mips/crtn.S (fini, init): New labels.
213 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
215         PR tree-optimization/53265
216         * unwind-dw2.c (execute_cfa_program): Avoid
217         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
218         on targets with DWARF_FRAME_REGISTERS < 32.
220 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
222         PR target/49880
223         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
224         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
226 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
228         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
229         sandybridge processors.
231 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
233         PR target/56529
234         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
235         inclusion list.
237 2013-03-04  Edgar E. Iglesias <edgar.iglesias@gmail.com>
239         * config/microblaze/crti.S: Setup stack protection at entry
241 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
243         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
244         (__rotldi3): Shift bytewise if applicable.
246 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
248         * config/aarch64/sync-cache.c
249         (__aarch64_sync_cache_range): Silence warnings.
251 2013-02-25  Catherine Moore  <clm@codesourcery.com>
253         Revert:
254         2013-02-24  Catherine Moore  <clm@codesourcery.com>
255             Joseph Myers  <joseph@codesourcery.com>
256             Chao-ying Fu  <fu@mips.com>
258         * config/mips/mips16.S:  Don't build for microMIPS.
259         * config/mips/linux-unwind.h: Handle microMIPS frame.
260         * config/mips/crtn.S (fini, init): New labels.
262 2013-02-24  Catherine Moore  <clm@codesourcery.com>
263             Joseph Myers  <joseph@codesourcery.com>
264             Chao-ying Fu  <fu@mips.com>
266         * config/mips/mips16.S:  Don't build for microMIPS.
267         * config/mips/linux-unwind.h: Handle microMIPS frame.
268         * config/mips/crtn.S (fini, init): New labels.
270 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
271         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000 
272         as dividend.
274 2013-02-16  Alan Modra  <amodra@gmail.com>
276         PR target/55431
277         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
278         (ppc_fallback_frame_state): Always set up save locations for fp
279         and altivec.  Don't bother with non-callee-saved regs, r0-r13
280         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
282 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
284         PR target/54222
285         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
286         _ssmulHA, _ssmulSA.
287         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
288         _ssmulha3, _usmulusa3, _ssmulsa3.
289         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
290         (__muldi3): XCALL __muldi3_6 instead of rcall.
291         (__umulsidi3, __mulsidi3): New functions.
292         (do_prologue_saves, do_epilogue_restores): New .macros.
293         (__divdi3_moddi3): Use them.
294         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
295         (__usmulusa3, __ssmulsa3): New functions.
297 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
298             Jack Howarth  <howarth@bromo.med.uc.edu>
299             Patrick Marlier  <patrick.marlier@gmail.com>
301         PR libitm/55693
302         * config/darwin-crt-tm.c: Remove dummy functions hack.
304 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
306         PR target/54222
307         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
308         * config/avr/lib2-object.mk: New iterator to build objects from it.
309         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
310         lib2funcs.c.
311         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
312         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
313         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
314         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
315         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
316         * config/avr/lib1funcs-fixed.S: Implement them.
318 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
320         Update copyright years.
322 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
324         PR target/54601
325         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
326         Add crtcxa to extra_parts.
327         * config/rs6000/exit.h: New file.
328         * config/rs6000/cxa_atexit.c: New file.
329         * config/rs6000/cxa_finalize.c: New file.
330         * config/rs6000/crtcxa.c: New file.
331         * config/rs6000/t-aix-cxa: New file.
332         * config/rs6000/libgcc-aix-cxa.ver: New file.
334 2013-01-31  Nick Clifton  <nickc@redhat.com>
336         * config/v850/lib1funcs.S: Add support for e3v5 architecture
337         variant.
339 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
341         PR target/54222
342         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
343         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
344         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
345         _divQQ,  _divHQ,  _divHA,  _divSA,
346         _divUQQ, _divUHQ, _divUHA, _divUSA.
348 2013-01-26  David Holsgrove <david.holsgrove@xilinx.com>
350         * config.host(microblaze*-linux*): tmake_file: Remove
351         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
352         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
353         to exclude functions from being built with libgcc.c and use
354         the microblaze assembly.
356 2013-01-26  Edgar E. Iglesias <edgar.iglesias@gmail.com>
358         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
359         extra_parts.
361 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
363         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
364         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
365         __UINTPTR_TYPE__; also cast 'base' to the same type before the
366         alignment operation.
368 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
370         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
371         loop start address for cache clearing.
373 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
375         * config/avr/lib1funcs.S: Remove trailing blanks.
376         * config/avr/lib1funcs-fixed.S: Ditto.
378 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
380         * config/avr/avr-lib.h: Add GPL copyright notice.
382 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
384         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
385         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
386         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
387         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
389 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
391         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
392         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
394 2013-01-04  Nick Clifton  <nickc@redhat.com>
396         * config/v850/lib1funcs.S: Only provide CALLT support functions if
397         the CALLT instruction is supported.
399 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
401         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
402         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
404 2012-12-13  John Tytgat  <John@bass-software.com>
406         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
407         is 25.
409 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
411         PR libgcc/55451
412         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
413         undefined signed overflows.
415 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
417         PR target/55344
418         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
420 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
422         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
423         (FP_TRAPPING_EXCEPTIONS): Define.
424         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
425         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
427 2012-12-04  Richard Henderson  <rth@redhat.com>
429         PR bootstrap/55571
430         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
432 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
434         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
435         (FP_EX_SHIFT): Define.
436         (FP_TRAPPING_EXCEPTIONS): Define.
438 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
440         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
441         (FP_ROUNDMODE): Use FP_RND_MASK.
442         * config/aarch64/sfp-exceptions.c: New.
443         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
444         Use __sfp_handle_exceptions.
446 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
448         * config.host: (arm*-*-freebsd*): Remove.
449         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
450         (arm*-*-elf*): Remove.
451         (arm*-*-wince-pe*): Remove.
452         * arm/unwind-arm.c (struct fpa_reg): Delete.
453         (struct fpa_regs): Delete.
454         (phase1_vrs): Remove fpa element.
455         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
456         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
457         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
458         * ieee754-sf.S (floatundisf): Remove FPA support.
459         (floatdisf): Likewise.
460         * ieee75f-df.S (floatundidf): Likewise.
461         (floatdidf): Likewise.
463 2012-11-29  Kai Tietz  <ktietz@redhat.com>
465         PR target/55445
466         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
467         * unwind-generic.h: Likewise.
468         * unwind-seh.c: Likewise.
470 2012-11-28  Richard Henderson  <rth@redhat.com>
472         PR libgcc/48076
473         * emutls.c (__emutls_get_address): Avoid race condition between
474         obj->loc.offset read and emutls_key initialization.
476 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
478         Adjust decimal point of signed accum mode to GCC default.
480         PR target/54222
481         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
482         _divqq_helper.
483         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
484         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
485         (__mulha3, __mulsa3)
486         (__divqq3, __divha3, __divsa3): Adjust to new position of
487         decimal point of signed accum types.
489         (__mulusa3_round): New function.
490         (__mulusa3): Use it.
491         (__divqq_helper): New function.
492         (__udivuqq3): Use it.
494 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
496         PR bootstrap/55370
497         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
499 2012-11-18  Teresa Johnson  <tejohnson@google.com>
501         PR bootstrap/55051
502         * libgcov.c (gcov_exit): Remove merged program summary
503         comparison unless !GCOV_LOCKED.
505 2012-11-15  Marcus Shawcroft <marcus.shawcroft@arm.com>
507         * soft-fp: Updated from glibc upstream.
509 2012-11-06  Ian Lance Taylor  <iant@google.com>
511         * generic-morestack.c (__generic_morestack): Align the returned
512         stack pointer to a 32 byte boundary.
513         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
514         increment the return address until we have decided that we don't
515         have a varargs function.
516         (__morestack) [32-bit]: Align stack correctly when calling C
517         functions.
518         (__morestack) [64-bit]: Likewise.
520 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
522         * configure: Regenerate.
524 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
526         PR target/55175
527         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
528         * config/i386/sfp-machine.h: Guard exception handling
529         code with _SOFT_FLOAT.
530         * config/i386/32/sfp-machine.h: Guard rounding handling
531         code with _SOFT_FLOAT.
532         * config/i386/64/sfp-machine.h: Ditto.
534 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
536         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
537         as extra_parts.
539 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
541         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
542         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
543         when appropriate.  Correct structure element types.
544         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
545         -minline-all-stringops from compile flags.
547 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
549         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
551 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
553         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
555 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
557         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
558         tmake_file.
560 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
561             Jim MacArthur  <jim.macarthur@arm.com>
562             Marcus Shawcroft  <marcus.shawcroft@arm.com>
563             Nigel Stephens  <nigel.stephens@arm.com>
564             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
565             Richard Earnshaw  <rearnsha@arm.com>
566             Sofiane Naci  <sofiane.naci@arm.com>
567             Stephen Thomas  <stephen.thomas@arm.com>
568             Tejas Belagod  <tejas.belagod@arm.com>
569             Yufeng Zhang  <yufeng.zhang@arm.com>
571         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
572         * config/aarch64/crti.S: New file.
573         * config/aarch64/crtn.S: New file.
574         * config/aarch64/linux-unwind.h: New file.
575         * config/aarch64/sfp-machine.h: New file.
576         * config/aarch64/sync-cache.c: New file.
577         * config/aarch64/t-aarch64: New file.
578         * config/aarch64/t-softfp: New file.
580 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
582         * config/mmix/crti.S: Mark program and data addresses using PRELD.
583         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
584         no-longer-needed LDBU insns.
586 2012-10-18  Sebastian Huber <sebastian.huber@embedded-brains.de>
588         * config.host
589         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
590         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
592 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
594         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
596 2012-10-15  Matthias Klose  <doko@ubuntu.com>
598         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
600 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
602         * configure: Regenerate.
603         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
605 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
607         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
608         instructions for 64bit targets only.
610 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
612         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
613         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
614         * config/i386/32/sfp-machine.h: ... here.
615         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
616         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
617         New defines.
619 2012-10-07  Matthias Klose  <doko@ubuntu.com>
621         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
622         as unused.
623         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
625 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
627         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
628         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
629         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
630         (ElfW): Likewise.
632 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
634         PR other/53889
635         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
636         Fix parameter names.
638 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
640         PR target/33135
641         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
642         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
643         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
645 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
647         PR target/50457
648         * config/sh/linux-atomic.S: Delete.
649         * config/sh/linux-atomic.c: New.
650         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
651         linux-atomic.c.  Add cflags to disable warnings.
653 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
655         PR other/53889
656         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
657         function.
658         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
659         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
660         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
661         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
662         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
663         Likewise.
664         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
665         Likewise.
666         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
667         Likewise.
668         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
669         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
671 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
673         * config.host (hppa-*-openbsd*): New target.
674         * config/pa/t-openbsd: New file.
676 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
678         PR target/54222
679         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
680         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
681         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
682         (__divsa3): Use __negsi2 to negate r_quoL.
683         * config/avr/lib1funcs.S (FALIAS): New macro.
684         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
685         (__negsi2): ...this new function.
686         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
687         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
688         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
689         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
690         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
691         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
693 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
695         PR target/54089
696         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
697         (lshrsi3): Reimplement as lshrsi3_r0.
699 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
701         PR target/46191
702         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
703         of libgcc.a.
705 2012-09-07  Teresa Johnson  <tejohnson@google.com>
707         PR gcov-profile/54487
708         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
709         differences.
711 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
713         PR target/54461
714         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
715         not configured --with-avrlibc=no.
716         * config/avr/t-avrlibc: New file.
717         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
718         (DPBIT_FUNCS): Ditto.
719         (TPBIT_FUNCS): Ditto.
721 2012-09-04  Teresa Johnson  <tejohnson@google.com>
723         * libgcov.c (struct gcov_summary_buffer): New structure.
724         (gcov_histogram_insert): New function.
725         (gcov_compute_histogram): Ditto.
726         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
727         histograms during summary merging.
729 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
731         * config.host (x86_64-*-openbsd*): New target.
733 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
735         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
736         attribute.
738 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
740         PR target/54222
741         * config/avr/t-avr (conv_X): Rename to func_X.
743 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
745         PR target/54222
746         * config/avr/lib1funcs-fixed.S: New file.
747         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
748         after they are used.
749         (neg2, neg4): New macros.
750         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
751         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
752         (__umulhisi3): Speed up MUL variant if there is enough flash.
753         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
754         avr-modes.def.
755         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
756         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
757         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
758         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
759         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
760         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
761         (LIB2FUNCS_EXCLUDE): Add supported functions.
763 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
765         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
766         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
767         libgcc-s-objects.
768         * fixed-obj.mk: Only expand dependency if $o is not in
769         LIB2FUNCS_EXCLUDE.
771 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
773         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
775 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
777         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
778         depend on --enable-shared.
779         ($(lib1asmfuncs-o)): Use %.vis files independent of
780         --enable-shared.
781         * static-object.mk ($(base)$(objext), $(base).vis)
782         ($(base)_s$(objext)): Use same rules for visibility handling as in
783         shared-object.mk.
785 2012-08-21  Ian Lance Taylor  <iant@google.com>
787         * config/i386/morestack.S (__morestack_non_split): Increase amount
788         of space allocated for non-split code stack.
790 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
792         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
793         even if inhibit_libc.
795 2012-08-17  Julian Brown  <julian@codesourcery.com>
797         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
798         -fexceptions -fnon-call-exceptions if not defined.
799         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
800         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
802 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
804         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
805         type.
807 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
809         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
810         rs6000/t-slibgcc-aix.
812 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
814         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
816 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
818         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
820 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
822         PR driver/54171
823         * Makefile.in (version): Replace top_srcdir with srcdir.
825 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
827         * Makefile.in (version): set to BASE-VER file from gcc directory.
829 2012-08-01  Nick Clifton  <nickc@redhat.com>
831         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
832         Implements __clrsb for an HImode argument.
834 2012-07-31  Nick Clifton  <nickc@redhat.com>
836         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
837         Implements __clrsb for an HImode argument.
838         * config/stormy16/clrsbhi2.c: New file:
839         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
841 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
843         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
845 2012-07-19  Tristan Gingold  <gingold@adacore.com>
846             Richard Henderson  <rth@redhat.com>
848         * unwind-seh.c: New file.
849         * unwind-generic.h: Include windows.h for SEH.
850         (_Unwind_Exception): Use 6 private fields for SEH.
851         (_GCC_specific_handler): Declare.
852         * unwind-c.c (__gcc_personality_seh0): New function.
853         Adjust for SEH.
854         * config/i386/libgcc-cygming.ver: New file.
855         * config/i386/t-seh-eh: New file.
856         * config.host (x86_64-*-mingw*): Default to seh.
858 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
860         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
862 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
864         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
865         __builtin_expect when checking for exceptions.
866         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
868 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
870         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
871         function declaration.
872         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
873         (FP_RND_MASK): New.
874         * config/ia64/sfp-exceptions.c: New.
875         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
877 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
879         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
880         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
881         * config/i386/64/sfp-machine: ... (delete here) ...
882         * config/i386/sfp-machine.h: ... to here.
883         (FP_EX_MASK): Remove.
884         (FP_RND_MASK): New.
885         (FP_INIT_ROUNDMODE): Declare asm as volatile.
887 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
889         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
890         * config/i386/libgcc-sol2.ver: Ditto.
891         * config/i386/libgcc-glibc.ver: Ditto.
893 2012-06-11  Roland McGrath  <mcgrathr@google.com>
895         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
896         If __GLIBC__ is defined, refer to __pthread_key_create instead of
897         pthread_cancel.
899 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
901         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
902         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
903         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
904         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
905         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
906         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
907         * config/i386/64/sfp-machine: ... (delete here) ...
908         * config/i386/sfp-machine.h: ... to here.
909         (FP_EX_MASK): New.
910         (__sfp_handle_exceptions): New function declaration.
911         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
912         * config/i386/sfp-exceptions.c: New.
913         * config/i386/t-softfp: New.
914         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
915         i386/t-softfp to tmake_file.
917 2012-06-03  David S. Miller  <davem@davemloft.net>
919         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
920         change.
922 2012-05-31  David S. Miller  <davem@davemloft.net>
924         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
925         multiply and divide instructions on 32-bit when V9.
926         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
928 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
930         * config/arm/ieee754-df.S: Fix typos.
931         * config/arm/ieee754-sf.S: Fix typos.
932         * config/c6x/libunwind.S: Fix typos.
933         * config/epiphany/udivsi3-float.c: Fix typos.
934         * config/microblaze/muldi3_hard.S: Fix typos.
935         * config/picochip/adddi3.S: Fix typos.
936         * config/picochip/ashlsi3.S: Fix typos.
937         * config/picochip/ashrsi3.S: Fix typos.
938         * config/picochip/clzsi2.S: Fix typos.
939         * config/picochip/cmpsi2.S: Fix typos.
940         * config/picochip/divmod15.S: Fix typos.
941         * config/picochip/divmodhi4.S: Fix typos.
942         * config/picochip/divmodsi4.S: Fix typos.
943         * config/picochip/longjmp.S: Fix typos.
944         * config/picochip/lshrsi3.S: Fix typos.
945         * config/picochip/parityhi2.S: Fix typos.
946         * config/picochip/popcounthi2.S: Fix typos.
947         * config/picochip/setjmp.S: Fix typos.
948         * config/picochip/subdi3.S: Fix typos.
949         * config/picochip/ucmpsi2.S: Fix typos.
950         * config/picochip/udivmodhi4.S: Fix typos.
951         * config/picochip/udivmodsi4.S: Fix typos.
952         * config/spu/divv2df3.c: Fix typos.
953         * config/spu/mfc_multi_tag_release.c: Fix typos.
954         * config/spu/mfc_tag_release.c: Fix typos.
955         * configure.ac: Fix typos.
956         * configure: Regenerate.
958 2012-05-25  Ian Lance Taylor  <iant@google.com>
960         * config/i386/morestack.S (__morestack_non_split): Check whether
961         caller is varargs and needs %bp to hold the stack frame on return.
963 2012-05-25  Olivier Hainque  <hainque@adacore.com>
965         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
966         sequence in the non pic case on VxWorks.
968 2012-05-24  Olivier Hainque  <hainque@adacore.com>
970         * Makefile.in: Move dependency on install-unwind_h from
971         "install-leaf" to "install".
973 2012-05-24  Olivier Hainque  <hainque@adacore.com>
975         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
976         Use a separate command for stamp removals.
978 2012-05-21  Andrew Pinski  <apinski@cavium.com>
980         PR bootstrap/53183
981         * configure.ac: Define the default includes to being none.
982         * configure: Regenerate.
984 2012-05-16  Olivier Hainque  <hainque@adacore.com>
986         * Makefile.in (install-unwind_h): Rename into ...
987         (install-unwind_h-forbuild): New target.
988         (all): Use it instead of the former install-unwind_h.
989         (install-unwind_h): Reinstate, copy to user install destination
990         for include files, not to the internal gcc object directory one.
991         (install-leaf): Depend on it.
993 2012-05-15  Olivier Hainque  <hainque@adacore.com>
995         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
996         register numbers. LR_REGNO replaces R_LR.
997         (ucontext_for): New, helper for ...
998         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
999         and 5.3 of ...
1000         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
1002 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1004         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
1005         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
1006         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
1007         i386/t-cpuinfo ...
1008         (i[34567]86-*-*, x86_64-*-*): ... here.
1010         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
1011         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
1013         * config/i386/i386-cpuinfo.c: Rename to ...
1014         * config/i386/cpuinfo.c: ... this.
1015         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
1017         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
1018         (libgcc_cv_init_priority): New test.
1019         * configure: Regenerate.
1020         * config.in: New file.
1021         * Makefile.in (clean): Rename config.h to auto-target.h.
1022         (config.h): Likewise.
1023         (stamp-h): Likewise.
1025         * config/i386/cpuinfo.c (auto-target.h): Include.
1026         (CONSTRUCTOR_PRIORITY): Define.
1027         (__cpu_indicator_init): Use it.
1029 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
1031         * longlong.h: Use a URL instead of an FSF postal address.
1032         Replace spaces with tab.
1034 2012-05-08  Teresa Johnson  <tejohnson@google.com>
1036         * libgcov.c (gcov_clear, __gcov_reset): New functions.
1037         (__gcov_dump): Ditto.
1038         (gcov_dump_complete): New global variable.
1039         (gcov_exit): Export hidden to enable use in L_gcov_dump.
1040         (__gcov_flush): Outline functionality now in gcov_clear.
1041         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
1043 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
1045         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
1046         (mips*-*-linux*): Include mips/t-tpbit when long double is
1047         16 bytes long.
1049 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
1051         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
1052         (get_available_features): New argument. Check for AVX2.
1053         (__cpu_indicator_init): Modify call to get_available_features.
1055 2012-04-25  Alan Modra  <amodra@gmail.com>
1057         * config/rs6000/crtsavevr.S: New file.
1058         * config/rs6000/crtrestvr.S: New file.
1059         * config/rs6000/t-savresfgpr: Build the above.
1060         * config/rs6000/t-netbsd: Likewise.
1062 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
1064         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
1066 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
1068         * libgcc/config/i386/i386-cpuinfo.c: New file.
1069         * libgcc/config/i386/t-cpuinfo: New file.
1070         * libgcc/config.host: Include t-cpuinfo.
1071         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
1073 2012-04-24  Chao-ying Fu  <fu@mips.com>
1075         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
1077 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
1079         struct siginfo vs. siginfo_t
1081         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
1082         siginfo_t instead of struct siginfo.
1083         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
1084         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
1085         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
1086         (ia64_handle_unwabi): Likewise.
1087         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
1088         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
1089         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
1090         (sh_fallback_frame_state): Likewise.
1091         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
1092         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
1094 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
1096         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
1097         system call number.
1099 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
1101         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
1102         if it hasn't been previously saved.
1104 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
1106         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
1107         only for glibc.
1109 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
1111         PR target/52737
1112         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
1113         instead of __AVR_HAVE_8BIT_SP__.
1115 2012-03-26  Tristan Gingold  <gingold@adacore.com>
1117         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
1118         (unw_table_entry): Use unw_word instead of unsigned long.
1119         (_Unwind_FindTableEntry): Likewise.
1120         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
1121         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
1122         (_Unwind_FindTableEntry): Likewise.
1123         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
1124         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
1125         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
1126         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
1127         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
1128         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
1129         (uw_init_context_1, uw_install_context): Likewise.
1130         (unw_word): Move to unwind-ia64.h
1132 2012-03-26  Tristan Gingold  <gingold@adacore.com>
1134         * config/vms/vms-ucrt0.c: Update copyright years.
1135         Add a sanity check.
1136         (___gcc_main_flags): Declare.
1137         (__main): Check flags to remap argv and exit code.
1138         * config.host (*-*-*vms*): Adjust extra_parts.
1139         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
1140         (crt0.o): Add.
1142 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
1144         * arm/lib1funcs.asm (ctzsi2): New function.
1145         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
1146         * arm/t-linux (LIB1ASMFUNCS): Likewise.
1147         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
1148         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
1149         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
1150         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
1152 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
1154         * config.host: Add bits to support powerpc64-*-freebsd*.
1155         * config/rs6000/freebsd-unwind.h: New file.
1156         * config/rs6000/t-freebsd64: New file.
1158 2012-03-20  Richard Guenther  <rguenther@suse.de>
1160         PR gcov-profile/52627
1161         * libgcov.c (init_mx): Fix mutex name.
1163 2012-03-16  Tristan Gingold  <gingold@adacore.com>
1165         * config/ia64/vms-unwind.h: Remove ulong (and replace
1166         it by unw_reg where used).  Define unw_reg with __int64.
1168 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1170         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1171         Solaris 8 handling.
1172         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1173         Solaris 8 handling.
1174         (sparc_is_sighandler): Likewise.
1176 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
1178         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
1179         <= saved reg size.
1181 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1183         * config/arm/crtn.S: Fix typo.
1185 2012-03-13  Richard Guenther  <rguenther@suse.de>
1187         * libgcov.c: Remove stdio.h include and NULL un-define.
1189 2012-03-13  Richard Guenther  <rguenther@suse.de>
1191         PR target/52569
1192         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
1194 2012-03-13  Richard Guenther  <rguenther@suse.de>
1196         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
1198 2012-03-13  Richard Guenther  <rguenther@suse.de>
1200         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
1201         and __gthread_mutex_init_function definitions.
1203 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1205         * config.host (mips*-*-openbsd*): Remove.
1207 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1209         * config.host: Remove alpha*-dec-osf5.1* handling.
1210         * config/alpha/gthr-posix.c: Remove.
1211         * config/alpha/libgcc-osf5.ver: Remove.
1212         * config/alpha/osf5-unwind.h: Remove.
1213         * config/alpha/t-osf-pthread: Remove.
1214         * config/alpha/t-slibgcc-osf: Remove.
1215         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
1216         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
1217         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
1218         * mkmap-flat.awk: Remove osf_export handling.
1220 2012-03-12  Richard Guenther  <rguenther@suse.de>
1222         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
1223         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1224         (__gthread_mutex_init_function): New function.
1225         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1227         PR gcov/49484
1228         * libgcov.c: Include gthr.h.
1229         (__gcov_flush_mx): New global variable.
1230         (init_mx, init_mx_once): New functions.
1231         (__gcov_flush): Protect self with a mutex.
1232         (__gcov_fork): Re-initialize mutex after forking.
1233         * unwind-dw2-fde.c: Change condition under which to use
1234         __GTHREAD_MUTEX_INIT_FUNCTION.
1236 2012-03-12  Tristan Gingold  <gingold@adacore.com>
1238         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
1239         * config/ia64/t-vms: Likewise.
1241 2012-03-11  Michael Hope  <michael.hope@linaro.org>
1243         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
1244         for Thumb-2.
1246 2012-03-07  Walter Lee  <walt@tilera.com>
1248         * config/tilepro/atomic.c: Rename "atomic_" prefix to
1249         "arch_atomic_".
1250         (atomic_xor): Rename and move definition to
1251         config/tilepro/atomic.h.
1252         (atomic_nand): Ditto.
1253         * config/tilepro/atomic.h: Rename "atomic_" prefix to
1254         "arch_atomic_".
1255         (arch_atomic_xor): Move from config/tilepro/atomic.c.
1256         (arch_atomic_nand): Ditto.
1258 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
1260         PR target/52507
1261         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
1263 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
1265         PR target/52505
1266         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
1267         from RAM.
1269 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
1271         PR target/52461
1272         PR target/52508
1273         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
1274         if RAMPZ affects reading from RAM.
1275         (__tablejump_elpm__): Ditto.
1276         (.xload): Ditto.
1277         (__movmemx_hi): Ditto.
1278         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
1279         (__do_global_dtors): Ditto.
1280         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
1281         (__movmemx_hi): Ditto.
1283 2012-03-05  Richard Henderson  <rth@redhat.com>
1285         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
1286         [ARM] (count_trailing_zeros): Use the builtin.
1288 2012-03-01  Kai Tietz  <ktietz@redhat.com>
1290         * soft-fp: Imported from glibc upstream.
1292 2012-02-28  Kai Tietz  <ktietz@redhat.com>
1294         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
1295         for mingw-targets as attribute gcc_struct.
1297 2012-02-28  Ian Lance Taylor  <iant@google.com>
1299         * generic-morestack.c (__splitstack_releasecontext): Correct call
1300         to __morestack_release_segments.
1302 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1304         PR target/52390
1305         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
1306         for __linux__ when removing signals from __morestack_fullmask.
1308 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
1310         PR target/52261
1311         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
1313 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1315         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
1316         instead of HAVE_INITFINI_ARRAY.
1317         * config/ia64/crtend.S: Likewise.
1319 2012-02-20  Kai Tietz  <ktietz@redhat.com>
1321         PR libstdc++/52300
1322         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
1324         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
1325         to w32-unwind.h header.
1327 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
1329         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
1330         (mips*-*-linux*): Remove t-slibgcc-libgcc.
1331         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
1332         * config/mips/mips16.S (__mips16_rdhwr): Delete.
1334 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
1336         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
1338 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
1340         PR libitm/52220
1341         * config/darwin-crt-tm.c: Correct typo.
1343 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
1344             Patrick Marlier  <patrick.marlier@gmail.com>
1346         PR libitm/52220
1347         * config/darwin-crt-tm.c: Generate dummy functions.
1349 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
1350             Patrick Marlier  <patrick.marlier@gmail.com>
1352         PR libitm/52042
1353         * config/darwin-crt-tm.c (getTMCloneTable): New function.
1354         (__doTMRegistrations): Call it.
1355         (__doTMdeRegistrations): Likewise.
1357 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
1358             Anatoly Sokolov <aesok@post.ru>
1359             Eric Weddington <eric.weddington@atmel.com>
1361         PR target/52261
1362         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
1363         (__epilogue_restores__): Ditto.
1365 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
1367         PR target/51921
1368         PR target/52205
1369         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
1370         Solaris 11 and slightly reformat.
1371         (sparc_is_sighandler): Likewise.
1373 2012-02-14  Walter Lee  <walt@tilera.com>
1375         * config.host: Handle tilegx and tilepro.
1376         * config/tilegx/sfp-machine.h: New file.
1377         * config/tilegx/sfp-machine32.h: New file.
1378         * config/tilegx/sfp-machine64.h: New file.
1379         * config/tilegx/t-crtstuff: New file.
1380         * config/tilegx/t-softfp: New file.
1381         * config/tilegx/t-tilegx: New file.
1382         * config/tilepro/atomic.c: New file.
1383         * config/tilepro/atomic.h: New file.
1384         * config/tilepro/linux-unwind.h: New file.
1385         * config/tilepro/sfp-machine.h: New file.
1386         * config/tilepro/softdivide.c: New file.
1387         * config/tilepro/softmpy.S: New file.
1388         * config/tilepro/t-crtstuff: New file.
1389         * config/tilepro/t-tilepro: New file.
1391 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
1393         PR libstdc++/51296
1394         PR libstdc++/51906
1395         * gthr-posix.h: Allow static initializer macros to be disabled.
1396         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
1398 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
1400         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
1401         Add t-slibgcc-libgcc to tmake_file.
1402         * config/mips/libgcc-mips16.ver: Revert previous patch.
1403         * config/mips/mips16.S (__mips16_rdhwr): Hide.
1405 2012-02-02  Sumanth G <sumanth.gundapaneni@kpitcummins.com>
1406             Jayant R Sonar <jayant.sonar@kpitcummins.com>
1408         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
1409         * config/cr16/crti.S: New file.
1410         * config/cr16/crtlibid.S: New file.
1411         * config/cr16/crtn.S: New file.
1412         * config/cr16/lib1funcs.S: New file.
1413         * config/cr16/t-cr16: New file.
1414         * config/cr16/t-crtlibid: New file.
1415         * config/cr16/unwind-dw2.h: New file.
1416         * config/cr16/unwind-cr16.c: New file.
1417         * config/cr16/divmodhi3.c: New file.
1419 2012-01-25  Alan Modra  <amodra@gmail.com>
1421         * config/rs6000/t-linux64: Delete.  Move..
1422         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
1423         * config/rs6000/t-linux: ..and libgcc flags to here.
1425 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
1427         * config.host (i[34567]86-*-interix3*):
1428         Change triplet to i[34567]86-*-interix[3-9]*.
1429         * configure: Regenerate.
1431 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
1432             Richard Sandiford  <rdsandiford@googlemail.com>
1434         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
1435         * config/mips/mips16.S (__mips16_rdhwr): New function.
1436         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
1438 2012-01-11  Nathan Sidwell  <nathan@acm.org>
1440         * libgcov.c (__gcov_init): Ignore objects with no functions.
1442 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
1444         PR target/49868
1445         Extend __pgmx semantics to linearize memory.
1446         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
1447         * config/avr/lib1funcs.S (__xload_1): New function.
1448         (__movmemx_qi, __movmemx_hi): New functions.
1449         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
1450         semantics.
1452 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
1454         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
1455         purported sigacthandler address isn't null before dereferencing it.
1456         (sparc_is_sighandler): Likewise.
1458 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
1460         PR ada/41929
1461         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
1462         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
1463         (sparc_is_sighandler): Likewise.
1464         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
1466 2012-01-06  Tristan Gingold  <gingold@adacore.com>
1468         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
1469         compatibility thunks...
1470         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
1471         (crtbeginS.o, crtendS.o): ... and these to ...
1472         * config/ia64/t-ia64-elf: ... this new file.
1473         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
1474         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
1476 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1478         * configure: Regenerate.
1479         * config/s390/t-crtstuff: Remove -fPIC.
1481 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
1483         PR bootstrap/51006
1484         * enable-execute-stack-mprotect.c (getpagesize): Do not define
1485         for NetBSD.
1487 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
1489         PR target/51345
1490         * config/avr/lib1funcs.S: Remove FIXME comments.
1491         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
1493 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
1495         Implement light-weight DImode support.
1496         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
1497         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
1498         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
1499         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
1501 2011-12-30  Nathan Sidwell  <nathan@acm.org>
1503         * libgcov.c (gcov_crc32): Remove global var.
1504         (free_fn_data): New function.
1505         (buffer_fn_data): Pass in filename, more robust error recovery.
1506         (crc32_unsigned): New function.
1507         (gcov_exit): More robust detection of new program. More robust
1508         error recovery.
1509         (__gcov_init): Do not update program's crc here.
1511 2011-12-21  Tristan Gingold  <gingold@adacore.com>
1513         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
1515 2011-12-21  Ian Lance Taylor  <iant@google.com>
1517         * config/i386/morestack.S: Simplify CFI opcodes throughout.
1519 2011-12-20  Ian Lance Taylor  <iant@google.com>
1521         * config/i386/morestack.S (__morestack_non_split): If there is
1522         enough stack space already, don't split.  Ask for more stack space
1523         than we required.
1525 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
1527         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
1528         `sys/sdt.h'.
1529         (_Unwind_DebugHook): New function.
1530         (uw_restore_core_regs): New define.
1531         (unwind_phase2): Use uw_restore_core_regs instead of
1532         restore_core_regs.
1533         (unwind_phase2_forced): Likewise.
1534         (__gnu_Unwind_Resume): Likewise.
1536 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
1538         * config/alpha/linux-unwind.h: Update copyright years.
1539         (MD_FROB_UPDATE_CONTEXT): New define.
1540         (alpha_frob_update_context): New function.
1542 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
1544         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
1545         tmake_file rather replacing it.
1547 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
1549         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1550         function is not used for PPC64.
1551         (save_world): Amend comments.  Update the VRsave mask to reflect the
1552         saved regs.
1553         (rest_world): Update comments, do not  clobber r10, do not use r8.
1554         (eh_rest_world_r10): Amend comments, do not use r8.
1555         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
1556         no longer used, move restore of CR and target address to the end of
1557         the routine.
1559 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
1561         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
1562         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
1564 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
1566         PR target/49313
1567         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
1568         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
1570 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
1572         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
1574 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
1576         PR target/49313
1577         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
1578         * config/avr/lib1funcs.S (__muldi3): New function.
1580 2011-12-06  Andrew Pinski  <apinski@cavium.com>
1582         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
1583         size of func_ptr.
1584         (__frame_dummy_init_array_entry): Likewise.
1586 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
1588         Forward-port from gcc-4_6-branch r181936 2011-12-02.
1590         PR target/51345
1591         PR target/51002
1592         * config/avr/lib1funcs.S (__prologue_saves__,
1593         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
1594         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
1596 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
1598         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
1600 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1602         PR other/51272
1603         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
1604         (_ITM_deregisterTMCloneTable): Likewise.
1605         (__register_frame_info): Fix unused warning.
1606         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
1607         pthread_default_stacksize_np): Likewise.
1608         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1610 2011-11-29  DJ Delorie  <dj@redhat.com>
1612         * config.host (rl78-*-elf): New case.
1613         * config/rl78: New directory for the Renesas RL78.
1615 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
1617         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
1618         formatting.
1620 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1622         PR other/51022
1623         * config/rs6000/t-savresfgpr: New file.
1624         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
1625         $(srcdir)/config/rs6000/eabi.S.
1626         * config/rs6000/t-ppccomm-ldbl: Remove.
1627         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
1628         tmake_file.
1629         (powerpc-*-eabispe*): Likewise.
1630         (powerpc-*-eabi*): Likewise.
1631         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1632         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
1633         to tmake_file, remove rs6000/t-ppccomm-ldbl.
1634         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
1635         tmake_file.
1636         (powerpc-*-eabisim*): Likewise.
1637         (powerpc-*-elf*): Likewise.
1638         (powerpc-*-eabialtivec*): Likewise.
1639         (powerpc-xilinx-eabi*): Likewise.
1640         (powerpc-*-rtems*): Likewise.
1641         (powerpcle-*-elf*): Likewise.
1642         (powerpcle-*-eabisim*): Likewise.
1643         (powerpcle-*-eabi*): Likewise.
1645 2011-11-27  Ian Lance Taylor  <iant@google.com>
1647         * generic-morestack.c (__splitstack_find): Check for NULL old
1648         stack value.
1649         (__splitstack_resetcontext): New function.
1650         (__splitstack_releasecontext): New function.
1651         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1653 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
1655         * config/darwin-crt-tm.c: Correct comments, use correct licence.
1657 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
1659         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
1661 2011-11-26  Richard Henderson  <rth@redhat.com>
1663         * config/m68k/linux-atomic.c: New file.
1664         * config/m68k/t-linux: New file.
1665         * config.host (m68k-uclinux, m68k-linux): Use it.
1667 2011-11-26  Richard Henderson  <rth@redhat.com>
1669         * crtstuff.c (__TMC_LIST__): Mark used not unused.
1670         (__TMC_END__): Only declare if hidden is available; in the definition,
1671         if hidden is unavailable add a null record.
1672         (deregister_tm_clones, register_tm_clones): New.
1673         (__do_global_dtors_aux, frame_dummy): Use them.
1674         (__do_global_dtors, __do_global_ctors_1): Likewise.
1676 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
1678         * config/darwin-crt-tm.c: New file.
1679         * config.host (darwin): Build crttms.o crttme.o to provide
1680         startup and shutdown for tm clones.
1681         * config/t-darwin (crttms.o): New build rule.
1682         (crttme.o): Likewise.
1684 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
1686         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
1687         et al.
1689 2011-11-21  Richard Henderson  <rth@redhat.com>
1691         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
1692         (__TMC_LIST__, __TMC_END__): New.
1693         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
1694         (__do_global_dtors): Likewise.
1695         (frame_dummy): Call _ITM_registerTMCloneTable.
1696         (__do_global_ctors_1): Likewise.
1698 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1700         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
1701         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1702         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
1703         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
1704         * config/i386/t-darwin64: Remove.
1705         * config/sh/t-netbsd (LIB2ADD): Remove.
1707 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
1709         PR target/49313
1710         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
1711         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
1712         * config/avr/lib1funcs.S (wmov): New assembler macro.
1713         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
1714         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
1715         (__udivmod64): New function.
1716         (__negdi2): New function.
1718 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
1720         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
1721         *-*-freebsd*aout*): Remove.
1723 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
1725         * static-object.mk (c_flags-$o): Save c_flags.
1726         ($(base)$(objext)): Use it.
1728 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
1730         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
1732 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
1734         PR target/49868
1735         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
1736         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
1737         New functions.
1739 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1741         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
1742         functions.
1743         (aeabi_uidivmod): Likewise.
1744         (umodsi3): Likewise.
1745         (divsi3): Likewise.
1746         (aeabi_idivmod): Likewise.
1747         (modsi3): Likewise.
1749 2011-11-16  Tristan Gingold  <gingold@adacore.com>
1751         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
1753 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
1755         PR target/49868
1756         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
1757         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
1759 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1761         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
1762         tmake_file list.
1763         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
1764         * config/pa/t-stublib64: Delete.
1766 2011-11-12  Richard Henderson  <rth@redhat.com>
1768         * config/rs6000/linux-unwind.h (frob_update_context): Properly
1769         cast the pointer argument to _Unwind_SetGRPtr.
1771 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1773         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
1775 2011-11-09  Ian Lance Taylor  <iant@google.com>
1777         * generic-morestack.c: Include <string.h>.
1778         (uintptr_type): Define.
1779         (struct initial_sp): Add dont_block_signals field.  Reduce size of
1780         extra array by 1.
1781         (allocate_segment): Set prev field to NULL.  Don't set
1782         __morestack_current_segment or __morestack_segments.
1783         (__generic_morestack): Update current->prev and *pp after calling
1784         allocate_segment.
1785         (__morestack_block_signals): Don't do anything if
1786         dont_block_signals is set.
1787         (__morestack_unblock_signals): Likewise.
1788         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
1789         uintptr_type.
1790         (__splitstack_block_signals): New function.
1791         (enum __splitstack_content_offsets): Define.
1792         (__splitstack_getcontext, __splitstack_setcontext): New functions.
1793         (__splitstack_makecontext): New function.
1794         (__splitstack_block_signals_context): New function.
1795         (__splitstack_find_context): New function.
1796         * config/i386/morestack.S (__morestack_get_guard): New function.
1797         (__morestack_set_guard, __morestack_make_guard): New functions.
1798         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1800 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1802         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
1803         (i[34567]86-*-mingw*): ... here.
1804         (x86_64-*-mingw*): ... here.
1806 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1808         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
1810 2011-11-07  Nathan Sidwell  <nathan@acm.org>
1812         * libgcov.c (struct gcov_fn_buffer): New struct.
1813         (buffer_fn_data): New helper.
1814         (gcov_exit): Rework for new gcov data structures.
1816 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
1818         PR target/49313
1819         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
1821 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1823         * config.host (tmake_file): Correct comment.
1824         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
1825         t-libgcc-pic.
1826         (bfin*-uclinux*): Likewise.
1827         (bfin*-linux-uclibc*): Likewise.
1828         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
1830         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
1831         assigning.
1832         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1833         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
1834         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1835         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
1836         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1837         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
1838         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
1839         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1840         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
1841         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
1842         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
1843         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
1844         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
1846         * config/bfin/t-elf: Remove.
1847         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
1849 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1851         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
1852         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
1853         (lm32-*-elf*, lm32-*-rtems*): Split into ...
1854         (lm32-*-elf*): ... this.
1855         (lm32-*-rtems*): ... and this.
1856         Add to tmake_file.
1857         (m32r-*-rtems*): Add to tmake_file.
1858         (moxie-*-rtems*): Likewise.
1859         (sparc-*-rtems*): Likewise.
1860         Remove t-rtems from tmake_file.
1861         (sparc64-*-rtems*): Likewise.
1862         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
1863         instead.
1865 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1867         PR bootstrap/50982
1868         * config/gthr-posix.h: Move ...
1869         * gthr-posix.h: ... here.
1870         * config/gthr-lynx.h: Reflect this.
1871         * config/gthr-vxworks.h: Likewise.
1872         * config/rs6000/gthr-aix.h: Likewise.
1873         * configure.ac (target_thread_file): Likewise.
1874         * configure: Regenerate.
1876 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1878         * config.host (arm*-*-rtemseabi*): New target.
1880 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1882         PR other/50991
1883         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
1884         extra-parts.
1886 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
1888         * config.host (epiphany-*-elf*): New configuration.
1889         * config/epiphany: New Directory.
1891 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
1893         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
1894         * config/avr/t-rtems: New.
1895         Filter out _exit from LIB1ASMFUNCS.
1897 2011-11-04  David S. Miller  <davem@davemloft.net>
1899         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
1900         * configure: Rebuild.
1902 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1904         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
1905         variable.
1907 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
1909         PR target/50931
1910         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
1911         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
1913 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
1915         PR target/50989
1916         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
1918 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1920         * config/c6x/t-elf (LIB2ADDEH): Set.
1921         * config/c6x/t-c6x-elf: Remove.
1923 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1925         * config/i386/sol2-ci.S: Rename to ...
1926         * config/i386/crti.S: ... this.
1927         * config/i386/sol2-cn.S: Rename to ...
1928         * config/i386/crtn.S: ... this.
1929         * config/sparc/sol2-ci.S: Rename to ...
1930         * config/sparc/crti.S: ... this.
1931         * config/sparc/sol2-cn.S: Rename to ...
1932         * config/sparc/crtn.S: ... this.
1933         * config/t-sol2 (CUSTOM_CRTIN): Remove.
1934         (crti.o, crtn.o): Remove.
1936 2011-11-04  Tristan Gingold  <gingold@adacore.com>
1938         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
1940 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
1942         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
1944 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
1946         * config.host (crisv32-*-none, cris-*-none): Remove.
1947         (crisv32-*-elf): Append to tmake_file, don't just set it.
1948         (cris-*-elf): Add missing t-fdpbit to tmake_file.
1950 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1952         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
1953         (ecrtn$(objext)): Likewise.
1954         (ncrti$(objext)): Likewise.
1955         (ncrtn$(objext)): Likewise.
1957 2011-11-03  Andreas Schwab  <schwab@redhat.com>
1959         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
1961 2011-11-02  David S. Miller  <davem@davemloft.net>
1963         * configure.ac: Set host_address on sparc too.
1964         * configure: Regenerate.
1965         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
1966         based upon host_address.
1967         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
1969 2011-11-02  Jason Merrill  <jason@redhat.com>
1971         * config/rs6000/t-ppccomm: Add missing \.
1973 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1975         * gthr-single.h, gthr.h: New files.
1976         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
1977         config/gthr-vxworks.h, config/i386/gthr-win32.h,
1978         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
1979         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
1980         * config/i386/gthr-win32.c: Include "gthr-win32.h".
1981         * configure.ac (thread_header): New variable.
1982         Set it depending on target_thread_file.
1983         (gthr-default.h): Link from $thread_header.
1984         * configure: Regenerate.
1985         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
1987 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1989         * configure.ac (tm_file_): New variable.
1990         Determine from tm_file.
1991         (tm_file, tm_defines): Substitute.
1992         * configure: Regenerate.
1993         * mkheader.sh: New file.
1994         * Makefile.in (clean): Remove libgcc_tm.h.
1995         ($(objects)): Depend on libgcc_tm.h.
1996         (libgcc_tm_defines, libgcc_tm_file): New variables.
1997         (libgcc_tm.h, libgcc_tm.stamp): New targets.
1998         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
1999         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
2000         ($(extra-parts)): Depend on libgcc_tm.h.
2001         * config.host (tm_defines, tm_file): New variable.
2002         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
2003         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
2004         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
2005         (avr-*-rtems*): Likewise.
2006         (avr-*-*): Likewise.
2007         (frv-*-elf): Likewise.
2008         (frv-*-*linux*): Likewise.
2009         (h8300-*-rtems*): Likewise.
2010         (h8300-*-elf*): Likewise.
2011         (i[34567]86-*-darwin*): Likewise.
2012         (x86_64-*-darwin*): Likewise.
2013         (rx-*-elf): Likewise.
2014         (tic6x-*-uclinux): Likewise.
2015         (tic6x-*-elf): Likewise.
2016         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
2017         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
2018         * config/i386/cygming-crtbegin.c: Likewise.
2019         * config/i386/cygming-crtend.c: Likewise.
2020         * config/ia64/fde-vms.c: Likewise.
2021         * config/ia64/unwind-ia64.c: Likewise.
2022         * config/libbid/bid_gcc_intrinsics.h: Likewise.
2023         * config/rs6000/darwin-fallback.c: Likewise.
2024         * config/stormy16/lib2funcs.c: Likewise.
2025         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
2026         * crtstuff.c: Likewise.
2027         * dfp-bit.h: Likewise.
2028         * emutls.c: Likewise.
2029         * fixed-bit.c: Likewise.
2030         * fp-bit.c: Likewise.
2031         * generic-morestack-thread.c: Likewise.
2032         * generic-morestack.c: Likewise.
2033         * libgcc2.c: Likewise.
2034         * libgcov.c: Likewise.
2035         * unwind-dw2-fde-dip.c: Likewise.
2036         * unwind-dw2-fde.c: Likewise.
2037         * unwind-dw2.c: Likewise.
2038         * unwind-sjlj.c: Likewise.
2040 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2042         * configure.ac: Include ../config/picflag.m4.
2043         (GCC_PICFLAG): Call it.
2044         Substitute.
2045         * configure: Regenerate.
2046         * Makefile.in (gcc_srcdir): Remove.
2047         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
2048         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
2049         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
2050         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
2051         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
2052         Use $<.
2053         Remove comment.
2054         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
2055         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
2056         to refer to libgcc2.c.
2057         Use $<.
2058         * config/darwin-64.c: New file.
2059         * config/darwin-crt3.c: Remove comment.
2060         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
2061         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
2062         config/udivmodsi4.c: New files.
2063         * config/memcmp.c, config/memcpy.c, config/memmove.c,
2064         config/memset.c: New files.
2065         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
2066         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
2067         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
2068         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
2069         * config/t-openbsd-thread: New file.
2070         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
2071         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
2072         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
2073         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
2074         qrnnd.S.
2075         Adapt filename.
2076         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
2077         to refer to gthr-posix.c.
2078         * config/alpha/t-vms (LIB2ADD): Set.
2079         * config/alpha/vms-gcc_shell_handler.c: New file.
2080         * config/arm/bpabi.c, config/arm/fp16.c,
2081         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
2082         config/arm/unaligned-funcs.c: New files.
2083         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
2084         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2085         * config/arm/t-linux: Likewise.
2086         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
2087         * config/arm/t-netbsd: New file.
2088         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
2089         * config/arm/t-symbian (LIB2ADD_ST): Set.
2090         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
2091         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2092         * config/bfin/t-elf: New file.
2093         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
2094         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
2095         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
2096         config/c6x/ltf.c: New files.
2097         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
2098         (HOST_LIBGCC2_CFLAGS): Set.
2099         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
2100         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2101         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
2102         New files.
2103         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
2104         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
2105         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
2106         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
2107         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
2108         files.
2109         * config/frv/t-frv (LIB2ADD): Set.
2110         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2111         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
2112         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
2113         config/h8300/popcounthi2.c: New files.
2114         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2115         * config/i386/gthr-win32.c: New file.
2116         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
2117         * config/i386/t-cygwin: Likewise.
2118         * config/i386/t-darwin, config/i386/t-darwin64,
2119         config/i386/t-gthr-win32, config/i386/t-interix: New files.
2120         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
2121         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2122         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2123         * config/ia64/quadlib.c: New file.
2124         * config/ia64/t-hpux (LIB2ADD): Set.
2125         * config/ia64/t-ia64: Add comment.
2126         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
2127         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2128         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
2129         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
2130         * config/m32c/t-m32c (LIB2ADD): Set.
2131         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2132         * config/m32r/t-m32r: Likewise.
2133         * config/m68k/fpgnulib.c: New file.
2134         * config/m68k/t-floatlib (LIB2ADD): Set.
2135         (xfgnulib.c): New target.
2136         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
2137         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
2138         * config/mep/t-mep (LIB2ADD): Set.
2139         * config/microblaze/divsi3.asm: Rename to divsi3.S.
2140         * config/microblaze/moddi3.asm: Rename to moddi3.S.
2141         * config/microblaze/modsi3.asm: Rename to modsi3.S.
2142         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
2143         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
2144         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
2145         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
2146         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
2147         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
2148         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
2149         New files.
2150         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
2151         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
2152         * config/pa/fptr.c, config/pa/lib2funcs.S,
2153         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
2154         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2155         (LIB2ADD, LIB2ADD_ST): Set.
2156         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
2157         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
2158         Set.
2159         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
2160         * config/pdp11/t-pdp11: New file.
2161         * config/picochip/libgccExtras/adddi3.S,
2162         config/picochip/libgccExtras/ashlsi3.S,
2163         config/picochip/libgccExtras/ashrsi3.S,
2164         config/picochip/libgccExtras/clzsi2.S,
2165         config/picochip/libgccExtras/cmpsi2.S,
2166         config/picochip/libgccExtras/divmod15.S,
2167         config/picochip/libgccExtras/divmodhi4.S,
2168         config/picochip/libgccExtras/divmodsi4.S,
2169         config/picochip/libgccExtras/lshrsi3.S,
2170         config/picochip/libgccExtras/parityhi2.S,
2171         config/picochip/libgccExtras/popcounthi2.S,
2172         config/picochip/libgccExtras/subdi3.S,
2173         config/picochip/libgccExtras/ucmpsi2.S,
2174         config/picochip/libgccExtras/udivmodhi4.S,
2175         config/picochip/libgccExtras/udivmodsi4.S: New files.
2176         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
2177         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
2178         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
2179         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
2180         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
2181         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
2182         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
2183         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
2184         files.
2185         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
2186         (HOST_LIBGCC2_CFLAGS): Set.
2187         * config/rs6000/t-darwin64: New file.
2188         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
2189         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
2190         * config/rs6000/t-ppccomm (LIB2ADD): Add
2191         $(srcdir)/config/rs6000/tramp.S.
2192         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
2193         Add  $(srcdir)/config/rs6000/eabi.S.
2194         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
2195         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
2196         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
2197         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
2198         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
2199         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
2200         * config/rs6000/tramp.S: New file.
2201         * config/s390/t-tpf: Remove.
2202         * config/sh/linux-atomic.S: New file.
2203         * config/sh/t-linux (LIB2ADD): Set.
2204         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
2205         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2206         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
2207         to unwind-dw2.c.
2208         (HOST_LIBGCC2_CFLAGS): Set.
2209         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2210         * config/spu/divmodti4.c, config/spu/divv2df3.c,
2211         config/spu/float_disf.c, config/spu/float_unsdidf.c,
2212         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
2213         config/spu/mfc_multi_tag_release.c,
2214         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
2215         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
2216         config/spu/multi3.c: New files.
2217         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
2218         (HOST_LIBGCC2_CFLAGS): Set.
2219         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
2220         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
2221         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
2222         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
2223         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
2224         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
2225         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
2226         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
2227         config/stormy16/umodsi3.c: New files.
2228         * config/xtensa/lib2funcs.S: New file.
2229         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2230         * config/xtensa/t-xtensa (LIB2ADD): Set.
2231         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
2232         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
2233         Add t-freebsd-thread to tmake_file for posix threads.
2234         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
2235         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
2236         (*-*-lynxos*): Likewise.
2237         (*-*-netbsd*): Likewise.
2238         (*-*-openbsd*): Likewise.
2239         Add t-openbsd-thread to tmake_file for posix threads.
2240         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
2241         (*-*-vxworks*): Set tmake_file.
2242         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2243         (alpha*-*-freebsd*): Likewise.
2244         (alpha*-*-netbsd*): Likewise.
2245         (alpha*-*-openbsd*): Likewise.
2246         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
2247         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2248         (alpha*-dec-*vms*): Likewise.
2249         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
2250         (bfin*-elf*): Add bfin/t-elf to tmake_file.
2251         (bfin*-uclinux*): Likewise.
2252         (bfin*-linux-uclibc*): Likewise.
2253         (crisv32-*-elf): Add cris/t-cris to tmake_file.
2254         (crisv32-*-none): Likewise.
2255         (cris-*-elf): Likewise.
2256         (cris-*-none): Likewise.
2257         (cris-*-linux*, crisv32-*-linux*): Likewise.
2258         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
2259         tmake_file.
2260         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
2261         tmake_file.
2262         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
2263         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
2264         (x86_64-*-elf*): Likewise.
2265         (i[34567]86-*-nto-qnx*): Likewise.
2266         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
2267         win32 threads.
2268         (x86_64-*-mingw*): Likewise.
2269         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
2270         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
2271         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2272         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2273         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
2274         tmake_file.
2275         (mipsisa64sr71k-*-elf*): Likewise.
2276         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2277         (mips-*-elf*, mipsel-*-elf*): Likewise.
2278         (mips64-*-elf*, mips64el-*-elf*): Likewise.
2279         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2280         (mips*-*-rtems*): Likewise.
2281         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
2282         to tmake_file.
2283         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
2284         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
2285         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
2286         (spu-*-elf*): Likewise.
2287         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
2289 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2291         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
2292         $(srcdir) to refer to $(LIB1ASMSRC).
2293         Use $<.
2294         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
2295         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
2296         config/arm/lib1funcs.S: New files.
2297         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
2298         * config/arm/t-arm: New file.
2299         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
2300         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
2301         config/arm/t-strongarm-elf: New files.
2302         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
2303         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
2304         * config/avr/lib1funcs.S: New file.
2305         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2306         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
2307         * config/c6x/lib1funcs.S: New file.
2308         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2309         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
2310         * config/frv/lib1funcs.S: New file.
2311         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2312         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
2313         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
2314         * config/ia64/__divxf3.asm: Rename to ...
2315         * config/ia64/__divxf3.S: ... this.
2316         Adapt lib1funcs.asm filename.
2317         * config/ia64/_fixtfdi.asm: Rename to ...
2318         * config/ia64/_fixtfdi.S: ... this.
2319         Adapt lib1funcs.asm filename.
2320         * config/ia64/_fixunstfdi.asm: Rename to ...
2321         * config/ia64/_fixunstfdi.S: ... this.
2322         Adapt lib1funcs.asm filename.
2323         * config/ia64/_floatditf.asm: Rename to ...
2324         * config/ia64/_floatditf.S: ... this.
2325         Adapt lib1funcs.asm filename.
2326         * config/ia64/lib1funcs.S: New file.
2327         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
2328         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2329         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
2330         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
2331         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
2332         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
2333         * config/mep/lib1funcs.S: New file.
2334         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2335         * config/mips/mips16.S: New file.
2336         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2337         * config/pa/milli64.S: New file.
2338         * config/pa/t-linux, config/pa/t-linux64: New files.
2339         * config/picochip/lib1funcs.S: New file.
2340         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2341         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
2342         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
2343         * config/sh/t-netbsd: New file.
2344         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
2345         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
2346         * config/sh/t-sh64: New file.
2347         * config/sparc/lb1spc.S: New file.
2348         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
2349         filename.
2350         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
2351         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
2352         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
2353         config/xtensa/lib1funcs.S: New files.
2354         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2355         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
2356         tmake_file.
2357         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
2358         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
2359         (arm*-*-linux*): Likewise.
2360         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
2361         arm*-*-linux-*eabi, add arm/t-linux otherwise.
2362         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
2363         (arm*-*-ecos-elf): Likewise.
2364         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2365         (arm*-*-rtems*): Likewise.
2366         (arm*-*-elf): Likewise.
2367         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
2368         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
2369         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
2370         (bfin*-uclinux*): Likewise.
2371         (bfin*-linux-uclibc*): Likewise.
2372         (bfin*-rtems*): Likewise.
2373         (bfin*-*): Likewise.
2374         (fido-*-elf): Merge into m68k-*-elf*.
2375         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
2376         (frv-*-*linux*): Add frv/t-frv to tmake_file.
2377         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
2378         (h8300-*-elf*): Likewise.
2379         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
2380         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
2381         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
2382         (i[34567]86-*-mingw*): Likewise.
2383         (x86_64-*-mingw*): Likewise.
2384         (i[34567]86-*-interix3*): Likewise.
2385         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
2386         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
2387         (m68k-*-elf*): Also handle fido-*-elf.
2388         Add m68k/t-floatlib to tmake_file.
2389         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
2390         (m68k-*-linux*): Likewise.
2391         (m68k-*-rtems*): Likewise.
2392         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
2393         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
2394         sh64*-*-*.
2395         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
2396         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
2397         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
2398         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
2399         sh/t-netbsd to tmake_file.
2400         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
2401         (sh-*-rtems*): Add sh/t-sh to tmake_file.
2402         (sh-wrs-vxworks): Likewise.
2403         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
2404         *-leon[3-9]*.
2405         (v850*-*-*): Add v850/t-v850 to tmake_file.
2406         (vax-*-linux*): Add vax/t-linux to tmake_file.
2407         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
2409 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2411         * crtstuff.c: New file.
2412         * Makefile.in (CRTSTUFF_CFLAGS): Define.
2413         (CRTSTUFF_T_CFLAGS): Define.
2414         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
2415         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
2416         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
2417         crtstuff.c.
2418         Use $<.
2419         (crtbeginT.o): Use $(objext).
2420         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
2421         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
2422         (gcc-extra-parts): Remove.
2423         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
2424         Set extra_parts.
2425         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2426         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
2427         Add t-crtstuff-pic to tmake_file.
2428         (*-*-lynxos*): New case.
2429         Set tmake_file, extra_parts.
2430         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
2431         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
2432         *-*-netbsdelf[2-9]*.
2433         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
2434         (*-*-rtems*): Set extra_parts.
2435         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
2436         (*-*-uclinux*): New case.
2437         Set extra_parts.
2438         (*-*-vms*): New case.
2439         Set tmake_file, extra_parts.
2440         (*-*-elf): Set extra_parts.
2441         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
2442         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
2443         vms/t-vms64.
2444         Set extra_parts.
2445         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
2446         Set extra_parts.
2447         (arm*-*-freebsd*): Add t-crtin to tmake_file.
2448         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
2449         (arm-wrs-vxworks): Append to tmake_file.
2450         Set extra_parts.
2451         (arm*-*-uclinux*): Set extra_parts.
2452         (arm*-*-ecos-elf): Likewise.
2453         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
2454         arm*-*-eabi*.
2455         (arm*-*-rtems*): Set extra_parts.
2456         (arm*-*-elf): Likewise.
2457         (avr-*-rtems*): Clear extra_parts.
2458         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
2459         Set extra_parts.
2460         (bfin*-uclinux*): Likewise.
2461         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
2462         (bfin*-rtems*): Append to tmake_file.
2463         Set extra_parts.
2464         (bfin*-*): Likewise.
2465         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
2466         (crisv32-*-elf): ... this.
2467         (crisv32-*-none): ... this.
2468         (cris-*-elf, cris-*-none): New cases.
2469         Add cris/t-elfmulti to tmake_file.
2470         (fr30-*-elf): Append to tmake_file.
2471         Set extra_parts.
2472         (frv-*-elf): Append to tmake_file, add frv/t-frv.
2473         Set extra_parts.
2474         (h8300-*-rtems*): Append to tmake_file.
2475         Set extra_parts.
2476         (h8300-*-elf*): Likewise.
2477         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
2478         Set extra_parts.
2479         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
2480         Set extra_parts.
2481         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
2482         (x86_64-*-elf*): Likewise.
2483         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
2484         (x86_64-*-freebsd*): Likewise.
2485         (x86_64-*-netbsd*): Likewise.
2486         (i[34567]86-*-linux*): Likewise.
2487         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2488         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2489         (x86_64-*-linux*): Likewise.
2490         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2491         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
2492         tmake_file.
2493         Set extra_parts.
2494         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
2495         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
2496         Append to extra_parts, remove crtbegin.o, crtend.o.
2497         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
2498         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
2499         crtend.o, crtbeginS.o, crtendS.o.
2500         (ia64*-*-linux*): Comment extra_parts.
2501         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
2502         Set extra_parts.
2503         (iq2000*-*-elf*): Clear extra_parts.
2504         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
2505         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
2506         (m32r-*-elf*, m32r-*-rtems*): Split off ...
2507         (m32r-*-rtems*): ... this.
2508         Add m32r/t-m32r to tmake_file.
2509         (m68k-*-elf*): Add t-crtin to tmake_file.
2510         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
2511         (mcore-*-elf): Likewise.
2512         (microblaze*-*-*): Set extra_parts.
2513         (mips*-sde-elf*): New case.
2514         Set tmake_file, extra_parts.
2515         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2516         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2517         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
2518         tmake_file.
2519         Set extra_parts.
2520         (mipsisa64sr71k-*-elf*): Likewise.
2521         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2522         (mips-*-elf*, mipsel-*-elf*): Likewise.
2523         (mips64-*-elf*, mips64el-*-elf*): Likewise.
2524         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
2525         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
2526         (mips*-*-rtems*): Likewise.
2527         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
2528         (moxie-*-*): Split into ...
2529         (moxie-*-elf, moxie-*-uclinux*): ... this.
2530         Add to extra_parts, remove crtbegin.o, crtend.o.
2531         (moxie-*-rtems*): New case.
2532         Set tmake_file.
2533         Clear extra_parts.
2534         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
2535         Set extra_parts.
2536         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2537         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
2538         tmake_file.
2539         Set extra_parts.
2540         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
2541         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
2542         Set extra_parts.
2543         (powerpc-*-eabisim*): Likewise.
2544         (powerpc-*-elf*): Likewise.
2545         (powerpc-*-eabialtivec*): Likewise.
2546         (powerpc-xilinx-eabi*): Likewise.
2547         (powerpc-*-eabi*): Likewise.
2548         (powerpc-*-rtems*): Likewise.
2549         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
2550         tmake_file.
2551         Set extra_parts.
2552         (powerpc-*-lynxos*): Add to tmake_file.
2553         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
2554         rs6000/t-crtstuff, t-crtstuff-pic.
2555         Set extra_parts.
2556         (powerpcle-*-eabisim*): Likewise.
2557         (powerpcle-*-eabi*): Likewise.
2558         (rx-*-elf): Remove extra_parts.
2559         (s390x-ibm-tpf*): Set extra_parts.
2560         (score-*-elf): Set extra_parts.
2561         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2562         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2563         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2564         (sh64l*-*-netbsd*): Split into ...
2565         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
2566         Add t-crtstuff-pic to tmake_file.
2567         Set extra_parts.
2568         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
2569         Set extra_parts.
2570         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
2571         (sparc-*-elf*): Remove t-crtin from tmake_file.
2572         Add to extra_parts, remove crtbegin.o, crtend.o.
2573         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
2574         (sparc64-*-linux*): Likewise.
2575         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
2576         Add to extra_parts, remove crtbegin.o, crtend.o.
2577         (sparc64-*-elf*): Remove t-crtin from tmake_file.
2578         Add to extra_parts, remove crtbegin.o, crtend.o.
2579         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
2580         Add to extra_parts, remove crtbegin.o, crtend.o.
2581         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
2582         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
2583         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
2584         Set extra_parts.
2585         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
2586         Set extra_parts.
2587         (tic6x-*-*): Change to ...
2588         (tic6x-*-elf): ... this.
2589         Set extra_parts.
2590         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
2591         Set extra_parts.
2592         (am33_2.0-*-linux*): Add comment.
2593         (mep*-*-*): Add mep/t-mep to tmake_file.
2594         Set extra_parts.
2595         * config/alpha/t-vms: New file.
2596         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
2597         * config/arm/crti.S, config/arm/crtn.S: New files.
2598         * config/bfin/crti.S, config/bfin/crtn.S: New files.
2599         * config/bfin/crtlibid.S: New file.
2600         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
2601         * config/c6x/crti.S, config/c6x/crtn.S: New files.
2602         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
2603         (crti.o, crtin.o): New rules.
2604         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2605         * config/c6x/t-uclinux: New file.
2606         * config/cris/t-elfmulti: New file.
2607         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
2608         * config/fr30/crti.S, config/fr30/crtn.S: New files.
2609         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
2610         * config/frv/t-frv: New file.
2611         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
2612         * config/h8300/crti.S, config/h8300/crtn.S: New files.
2613         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
2614         New files.
2615         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
2616         refer to cygming-crtbegin.c, cygming-crtend.c.
2617         Use $<.
2618         * config/i386/t-nto: New file.
2619         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
2620         * config/ia64/crti.S, config/ia64/crtn.S: New files.
2621         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
2622         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
2623         Use .S extension.
2624         Use $<.
2625         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2626         (crtinitS.o): New rule.
2627         * config/ia64/vms-crtinit.S: New file.
2628         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
2629         * config/m32r/initfini.c: New file.
2630         * config/m32r/t-linux, config/m32r/t-m32r: New files.
2631         * config/m68k/crti.S, config/m68k/crtn.S: New files.
2632         * config/mcore/crti.S, config/mcore/crtn.S: New files.
2633         * config/mep/t-mep: New file.
2634         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
2635         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
2636         * config/mips/crti.S, config/mips/crtn.S: New files.
2637         * config/mips/t-crtstuff: New file.
2638         * config/mmix/crti.S, config/mmix/crtn.S: New files.
2639         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
2640         (CUSTOM_CRTIN): Set.
2641         ($(T)crti.o, $(T)crtn.o): Remove $(T),
2642         dependencies.
2643         Use $(srcdir) to refer to crti.S, crtn.S.
2644         Use .S extension, $<.
2645         * config/moxie/crti.asm: Rename to ...
2646         * config/moxie/crti.S: ... this.
2647         * config/moxie/crtn.asm: Rename to ...
2648         * config/moxie/crtn.S: ... this.
2649         * config/moxie/t-moxie: Remove.
2650         * config/pa/stublib.c: New file.
2651         * config/pa/t-stublib, config/pa/t-stublib64: New files.
2652         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
2653         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
2654         * config/rs6000/t-crtstuff: New file.
2655         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
2656         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
2657         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
2658         Make output file explicit.
2659         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
2660         Make output file explicit.
2661         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
2662         Make output file explicit.
2663         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
2664         Make output file explicit.
2665         * config/score/crti.S, config/score/crtn.S: New files.
2666         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
2667         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
2668         files.
2669         * config/sh/t-sh, config/sh/t-superh: New files.
2670         * config/sparc/t-linux64: New file.
2671         * config/spu/cache.S, config/spu/cachemgr.c: New files.
2672         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
2673         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
2674         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
2675         * config/t-crtin: Remove.
2676         * config/t-crtstuff-pic: New file.
2677         * config/t-sol2 (CUSTOM_CRTIN): Set.
2678         (crti.o, crtn.o): New rules.
2679         * config/vms/t-vms: New file.
2680         * config/vms/vms-ucrt0.c: New file.
2681         * config/xtensa/t-elf: New file.
2683 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2685         * Makefile.in (SHLIB_NM_FLAGS): Set.
2686         * mkmap-flat.awk, mkmap-symver.awk: New files.
2687         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
2688         exceptions.
2689         * configure: Regenerate.
2690         * config/libgcc-glibc.ver: New file.
2691         * config/libgcc-libsystem.ver: New file.
2692         * config/t-libunwind (SHLIB_LC): Set.
2693         * config/t-linux: New file.
2694         * config/t-slibgcc (INSTALL_SHLIB): New.
2695         (SHLIB_INSTALL): Use it.
2696         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
2697         to mkmap-symver.awk.
2698         (SHLIB_MAPFILES): Don't append, adapt pathname.
2699         (SHLIB_VERPFX): Set.
2700         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
2701         to mkmap-symver.awk.
2702         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
2703         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
2704         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
2705         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
2706         to mkmap-flat.awk.
2707         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
2708         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
2709         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
2710         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
2711         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
2712         * config/i386/libgcc-darwin.10.4.ver,
2713         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
2714         New files.
2715         * config/i386/t-darwin: Remove.
2716         * config/i386/t-darwin64: Likewise.
2717         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
2718         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
2719         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
2720         * config/i386/t-linux: New file.
2721         * config/i386/t-mingw32: New file.
2722         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
2723         * config/ia64/t-glibc: Rename to ...
2724         * config/ia64/t-linux: ... this.
2725         (SHLIB_MAPFILES): Set.
2726         * config/ia64/t-glibc-libunwind: Rename to ...
2727         * config/ia64/t-linux-libunwind: ... this.
2728         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
2729         * config/ia64/t-slibgcc-hpux: New file.
2730         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
2731         * config/m68k/t-slibgcc-elf-ver: New file.
2732         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
2733         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
2734         to mkmap-flat.awk.
2735         * config/pa/t-slibgcc-hpux: New file.
2736         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
2737         files.
2738         * config/rs6000/libgcc-darwin.10.4.ver,
2739         config/rs6000/libgcc-darwin.10.5.ver: New files.
2740         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
2741         config/rs6000/libgcc-glibc.ver.
2742         * config/rs6000/libgcc-ppc64.ver: Rename to
2743         config/rs6000/libgcc-ibm-ldouble.ver.
2744         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
2745         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
2746         * config/rs6000/t-ldbl128: Rename to ...
2747         * config/rs6000/t-linux: ... this.
2748         (SHLIB_MAPFILES): Adapt filename.
2749         * config/rs6000/t-slibgcc-aix: New file.
2750         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
2751         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
2752         libgcc-excl.ver, libgcc-glibc.ver.
2753         (SHLIB_LINK, SHLIB_INSTALL): Remove.
2754         * config/sparc/libgcc-glibc.ver: New file.
2755         * config/sparc/t-linux: New file.
2756         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
2757         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
2758         t-slibgcc-elf-ver to tmake_file.
2759         Add t-slibgcc-nolc-override to tmake_file for posix threads on
2760         *-*-freebsd[34].
2761         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2762         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
2763         t-slibgcc-elf-ver, t-linux to tmake_file.
2764         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
2765         tmake_file.
2766         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
2767         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
2768         (alpha*-dec-*vms*): Likewise.
2769         (arm*-*-freebsd*): Append to tmake_file.
2770         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
2771         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
2772         arm*-*-linux-*eabi.
2773         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
2774         tmake_file for arm*-*-symbianelf*.
2775         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
2776         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
2777         cris/t-linux.
2778         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
2779         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
2780         pa/t-slibgcc-dwarf-ver to tmake_file.
2781         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
2782         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
2783         (hppa*64*-*-hpux11*): Likewise.
2784         (hppa[12]*-*-hpux11*): Likewise.
2785         (x86_64-*-darwin*): Don't override tmake_file, but only keep
2786         i386/t-crtpc, i386/t-crtfm.
2787         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
2788         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2789         to tmake_file.
2790         Add i386/t-cygwin to tmake_file.
2791         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
2792         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
2793         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2794         to tmake_file.
2795         Add i386/t-mingw32 to tmake_file.
2796         (x86_64-*-mingw*): Likewise.
2797         (ia64*-*-freebsd*): Append to tmake_file.
2798         (ia64*-*-linux*): Append to tmake_file.
2799         Replace ia64/t-glibc by ia64/t-linux.
2800         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
2801         system libunwind.
2802         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
2803         t-slibgcc-hpux to tmake_file.
2804         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
2805         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
2806         (m32rle-*-linux*): Likewise.
2807         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
2808         sjlj exceptions.
2809         (microblaze*-linux*): New case.
2810         Append to tmake_file, add t-slibgcc-nolc-override.
2811         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
2812         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2813         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
2814         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2815         rs6000/t-slibgcc-aix to tmake_file.
2816         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2817         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2818         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2819         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2820         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2821         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
2822         sh*-*-linux*.
2823         (sparc-*-linux*): Append to tmake_file for *-leon*.
2824         Add sparc/t-linux to tmake_file for non-Leon targets.
2825         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
2826         (tic6x-*-uclinux): New case.
2827         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
2828         (tic6x-*-*): Add c6x/t-elf to tmake_file.
2829         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
2830         (am33_2.0-*-linux*): Append to tmake_file.
2831         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2832         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
2833         x86_64-*-kfreebsd*-gnu.
2834         Add i386/t-linux to tmake_file.
2836 2011-10-28  Ian Lance Taylor  <iant@google.com>
2838         * config/i386/morestack.S: Correct CFI information to do proper
2839         returns throughout function.  In 32-bit mode, save %ebx so that it
2840         is restored on unwind.
2842 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
2844         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
2845         case where B3 isn't the return register.
2847         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
2848         logic for doubleword pops.
2850 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
2852         * config/rs6000/t-freebsd: Add wildcard.
2854 2011-10-21  Paul Brook  <paul@codesourcery.com>
2856         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
2858 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
2859             Eric Botcazou  <ebotcazou@adacore.com>
2861         PR target/50737
2862         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
2863         fs->signal_frame to 1.
2865 2011-10-07  Ian Lance Taylor  <iant@google.com>
2867         * generic-morestack-thread.c: #include <errno.h>.
2869 2011-10-07  Ian Lance Taylor  <iant@google.com>
2871         PR target/46093
2872         * generic-morestack.c (__generic_morestack): Make sure the segment
2873         is large enough for both the stack frame and the copied
2874         parameters.
2876 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2878         PR bootstrap/49804
2879         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
2880         extra_parts.
2882 2011-09-28  Nick Clifton  <nickc@redhat.com>
2884         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
2885         64-bit doubles are not enabled.
2886         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
2887         and floatunsisf functions.
2889 2011-09-13  Paul Brook  <paul@codesourcery.com>
2891         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
2892         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
2893         * unwind-arm-common.inc: New file.
2894         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
2895         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
2896         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
2897         * config/c6x/libunwind.S: New file.
2898         * config/c6x/pr-support.c: New file.
2899         * config/c6x/unwind-c6x.c: New file.
2900         * config/c6x/unwind-c6x.h: New file.
2901         * config/c6x/t-c6x-elf: New file.
2903 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
2905         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
2906         (ASM_DIVZERO): Ditto.
2907         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
2909 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
2911         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
2913 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
2915         PR target/50090
2916         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
2917         instead of an assembly one.
2919 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
2921         PR bootstrap/50047
2922         * Makefile.in (install-unwind_h): Create
2923         $(gcc_objdir)/include/unwind.h atomically.
2925 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2927         * Makefile.in (install-unwind_h): Remove destination file first.
2929 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2931         * sync.c: New file.
2932         * config/mips/t-mips16: New file.
2933         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
2934         (mips*-*-linux*): Likewise.
2935         (mips*-sde-elf*): Likewise.
2936         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
2937         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
2938         Add mips/t-mips16 to tmake_file.
2939         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
2940         (mips-*-elf*): Likewise.
2941         (mips64-*-elf*): Likewise.
2942         (mips64orion-*-elf*): Likewise.
2943         (mips*-*-rtems*): Likewise.
2944         (mipstx39-*-elf*): Likewise.
2945         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
2946         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
2947         LIBGCC_SYNC_CFLAGS.
2948         Use $(srcdir) to refer to sync.c.
2949         Use $<.
2950         ($(libgcc-sync-funcs-o)): Likewise.
2951         ($(libgcc-sync-size-funcs-s-o)): Likewise.
2952         ($(libgcc-sync-funcs-s-o)): Likewise.
2954 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
2956         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
2957         t-libunwind.
2959 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
2961         PR other/48007
2962         * config/i386/value-unwind.h: New.
2964 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
2966         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
2967         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
2968         Add to tmake_file rather than overriding it.
2970 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2972         * config/t-softfp: Remove.
2973         * soft-fp: Moved from ../gcc/config.
2974         * soft-fp/README: Remove t-softfp reference.
2975         * soft-fp/t-softfp: Move to config/t-softfp.
2976         (softfp_machine_header): Remove.
2977         (softfp_file_list): Remove config subdir.
2978         (soft-fp-objects): New variable.
2979         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
2980         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
2981         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
2982         * config/t-softfp-excl: New file.
2983         * config/t-softfp-sfdf: New file.
2984         * config/t-softfp-tf: New file.
2985         * config/no-sfp-machine.h: New file.
2986         * config/arm/sfp-machine.h: New file.
2987         * config/arm/t-softfp: New file.
2988         * config/c6x/sfp-machine.h: New file.
2989         * config/i386/32/t-fprules-softfp: Rename to ...
2990         * config/i386/32/t-softfp: ... this.
2991         (tifunctions, LIB2ADD): Remove.
2992         (softfp_int_modes): Override.
2993         * config/i386/64/t-softfp-compat (tf-functions): Remove config
2994         subdir.
2995         * config/i386/64/eqtf2.c: Likewise.
2996         * config/i386/64/getf2.c: Likewise.
2997         * config/i386/64/letf2.c: Likewise.
2998         * config/ia64/sft-machine.h: New file.
2999         * config/ia64/t-fprules-softfp: Rename to ...
3000         * config/ia64/t-softfp: ... this.
3001         * config/lm32/sfp-machine.h: New file.
3002         * config/moxie/t-moxie-softfp: Remove.
3003         * config/rs6000/ibm-ldouble-format: New file.
3004         * config/rs6000/ibm-ldouble.c: New file.
3005         * config/rs6000/libgcc-ppc-glibc.ver: New file
3006         * config/rs6000/libgcc-ppc64.ver: New file
3007         * config/rs6000/sfp-machine.h: New file.
3008         * config/rs6000/t-freebsd: New file.
3009         * config/rs6000/t-ibm-ldouble: New file.
3010         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
3011         libgcc-ppc-glibc.ver.
3012         * config/rs6000/t-linux64: New file.
3013         * config/rs6000/t-ppccomm (LIB2ADD): Add
3014         $(srcdir)/config/rs6000/ibm-ldouble.c.
3015         * config/rs6000/t-ppccomm-ldbl: New file.
3016         * config/score/sfp-machine.h: New file.
3017         * config.host (sfp_machine_header): Explain.
3018         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
3019         t-softfp to tmake_file.
3020         (arm*-*-uclinux*): Likewise.
3021         (arm*-*-ecos-elf): Likewise.
3022         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
3023         (arm*-*-rtems*): Likewise.
3024         (arm*-*-elf): Likewise.
3025         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
3026         in tmake_file.
3027         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
3028         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
3029         (lm32-*-uclinux*): Likewise.
3030         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
3031         t-softfp-excl, t-softfp.
3032         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
3033         (powerpc64-*-darwin*): Likewise.
3034         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
3035         to tmake_file.
3036         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
3037         tmake_file.
3038         (powerpc-*-eabisim*): Likewise.
3039         (powerpc-*-elf*): Likewise.
3040         (powerpc-*-eabialtivec*): Likewise.
3041         (powerpc-xilinx-eabi*): Likewise.
3042         (powerpc-*-rtems*): Likewise.
3043         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
3044         t-softfp-excl, t-softfp to tmake_file.
3045         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
3046         rs6000/t-ppccomm-ldbl to tmake_file.
3047         (powerpcle-*-elf*): Likewise.
3048         (powerpcle-*-eabisim*): Likewise.
3049         (powerpcle-*-eabi*): Likewise.
3050         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3051         rs6000/t-ibm-ldouble to tmake_file.
3052         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3053         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3054         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
3055         (tic6x-*-*): Likewise.
3056         (i[34567]86-*-darwin*, x86_64-*-darwin*,
3057         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
3058         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
3059         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
3060         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
3061         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
3062         t-softfp to tmake_file.
3063         * configure.ac (sfp_machine_header): Provide default if unset.
3064         Substitute.
3065         Link sfp-machine.h to config/$sfp_machine_header.
3066         * configure: Regenerate.
3068 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3070         * Makefile.in (double_type_size, long_double_type_size): Set.
3071         Remove $(fpbit-in-libgcc) support.
3072         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
3073         (fpbit-src): New variable.
3074         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
3075         Compile with -DFLOAT $(FPBIT_CFLAGS).
3076         Use $<.
3077         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
3078         Compile with $(FPBIT_CFLAGS).
3079         Use $<.
3080         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
3081         Compile with -DFLOAT $(TPBIT_CFLAGS).
3082         Use $<.
3083         * configure.ac (double_type_size, long_double_type_size):
3084         Determine and substitute.
3085         * configure: Regenerate.
3086         * fp-bit.c, fp-bit.h: New files.
3087         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
3088         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
3089         * config/mips/t-mips: New file.
3090         * config/mips/t-sdemtk: New file.
3091         * config/rs6000/ppc64-fp.c: New file.
3092         * config/rs6000/t-darwin (LIB2ADD): Add
3093         $(srcdir)/config/rs6000/ppc64-fp.c.
3094         * config/rs6000/t-ppc64-fp: New file.
3095         * config/rx/rx-lib.h: New file.
3096         * config/rx/t-rx (FPBIT): Set to true.
3097         ($(gcc_objdir)/fp-bit.c): Remove.
3098         (DPBIT): Set to true only with -m64bit-doubles.
3099         ($(gcc_objdir)/dp-bit.c): Remove.
3100         * config/sparc/t-softfp: Remove.
3101         * config/spu/t-elf: New file.
3102         * config/t-fdpbit, config/t-fpbit: New files.
3103         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
3104         (mips*-*-*): Likewise.
3105         (arm-wrs-vxworks): Likewise.
3106         (arm*-*-freebsd*): Likewise.
3107         (avr-*-rtems*): Add t-fpbit to tmake_file.
3108         (avr-*-*): Likewise.
3109         (bfin*-elf*): Add t-fdpbit to tmake_file.
3110         (bfin*-uclinux*): Likewise.
3111         (bfin*-linux-uclibc*): Likewise.
3112         (bfin*-rtems*): New case.
3113         Add t-fdpbit to tmake_file.
3114         (bfin*-*): Add t-fdpbit to tmake_file.
3115         (crisv32-*-elf): Likewise.
3116         (cris-*-linux*): Likewise.
3117         (fr30-*-elf): Likewise.
3118         (frv-*-elf, frv-*-*linux*): Likewise.
3119         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
3120         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
3121         (m32r-*-elf*): Likewise.
3122         (m32rle-*-elf*): Likewise.
3123         (m32r-*-linux*): Likewise.
3124         (m32rle-*-linux*): Likewise.
3125         (mcore-*-elf): Add t-fdpbit to tmake_file.
3126         (microblaze*-*-*): Likewise.
3127         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
3128         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
3129         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
3130         Fix typo.
3131         Add mips/t-tpbit to tmake-file.
3132         (mips*-*-linux*): Fix typo.
3133         (mips*-sde-elf*): New case
3134         Add mips/t-sdemtk unless using newlib.
3135         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
3136         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
3137         (mn10300-*-*): Likewise.
3138         (pdp11-*-*): Likewise.
3139         (picochip-*-*): Add t-fpbit to tmake_file.
3140         (powerpc-*-eabisimaltivec*): Likewise.
3141         (powerpc-*-eabisim*): Likewise.
3142         (powerpc-*-elf*): Likewise.
3143         (powerpc-*-eabialtivec*): Likewise.
3144         (powerpc-xilinx-eabi*): New case.
3145         Add t-fdpbit to tmake_file.
3146         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
3147         (powerpc-*-rtems*): Likewise.
3148         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
3149         tmake_file.
3150         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
3151         tmake_file.
3152         (powerpc-*-lynxos*): Likewise.
3153         (powerpcle-*-elf*): Likewise.
3154         (powerpcle-*-eabisim*): Likewise.
3155         (powerpcle-*-eabi*): Likewise.
3156         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3157         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
3158         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3159         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3160         (rx-*-elf): Add t-fdpbit to tmake_file.
3161         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3162         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3163         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3164         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
3165         sh*-*-netbsd*.
3166         (sh-*-rtems*): Add t-fdpbit to tmake_file.
3167         (sh-wrs-vxworks): Likewise.
3168         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
3169         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
3170         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
3171         (sparc64-*-rtems*): ... new case.
3172         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
3173         (spu-*-elf*): Likewise.
3174         Add spu/t-elf to tmake_file.
3175         (v850*-*-*): Add t-fdpbit to tmake_file.
3176         (xstormy16-*-elf): Likewise.
3177         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
3178         (mep*-*-*): Likewise.
3180 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3182         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
3183         variables.
3184         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
3185         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
3186         (install-unwind_h): New target.
3187         (all): Depend on it.
3188         * config.host (unwind_header): New variable.
3189         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
3190         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3191         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
3192         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
3193         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
3194         Set unwind_header.
3195         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
3196         Set unwind_header.
3197         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
3198         arm*-*-eabi*.
3199         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
3200         Set unwind_header.
3201         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
3202         (ia64*-*-freebsd*): Likewise.
3203         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
3204         tmake_file.
3205         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
3206         $with_system_libunwind.
3207         (ia64*-*-hpux*): Set tmake_file.
3208         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
3209         (picochip-*-*): Set tmake_file.
3210         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
3211         md_unwind_header.
3212         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3213         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3214         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
3215         (xtensa*-*-elf*): Set tmake_file.
3216         (xtensa*-*-linux*): Likewise.
3217         * configure.ac: Include ../config/unwind_ipinfo.m4.
3218         Call GCC_CHECK_UNWIND_GETIPINFO.
3219         Link unwind.h to $unwind_header.
3220         * configure: Regenerate.
3221         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
3222         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
3223         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
3224         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
3225         * config/unwind-dw2-fde-darwin.c: New file.
3226         * config/arm/libunwind.S, config/arm/pr-support.c,
3227         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
3228         config/arm/unwind-arm.h,: New files.
3229         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
3230         config/ia64/t-eh-ia64, config/ia64/t-glibc,
3231         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
3232         config/ia64/t-vms, config/ia64/unwind-ia64.c,
3233         config/ia64/unwind-ia64.h: New files.
3234         * config/picochip/t-picochip: New file.
3235         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
3236         files.
3237         * config/rs6000/t-darwin (LIB2ADDEH): Set.
3238         * config/s390/t-tpf (LIB2ADDEH): Remove.
3239         * config/t-darwin (LIB2ADDEH): Set.
3240         * config/t-eh-dw2-dip: New file.
3241         * config/t-libunwind, config/t-libunwind-elf: New files.
3242         * config/t-sol2 (LIB2ADDEH): Remove.
3243         * config/xtensa/t-xtensa: New file.
3245 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
3247         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
3248         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
3249         long long to check rt_sigreturn syscall.
3251 2011-08-02  Alan Modra  <amodra@gmail.com>
3253         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3254         Restore for indirect call bcrtl from correct stack slot, and only
3255         if cfa+40 isn't valid.
3257 2011-08-01  Julian Brown  <julian@codesourcery.com>
3259         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
3260         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
3261         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
3263 2011-08-01  Julian Brown  <julian@codesourcery.com>
3265         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
3266         (libgcc-std.ver.in): Use above.
3267         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
3268         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
3269         throughout file.
3270         * config/t-fixedpoint-gnu-prefix: New file.
3271         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
3272         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
3273         instead of __PFX__.
3275 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
3277         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
3278         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
3279         for x86-64.  Properly check __x86_64__ and __LP64__.
3281 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
3283         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
3284         version.
3285         (_FP_WS_TYPE): Likewise.
3286         (_FP_I_TYPE): Likewise.
3288 2011-07-28  Alan Modra  <amodra@gmail.com>
3290         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3291         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
3292         in a plt call stub.  Do restore r2 if stopped on bctrl.
3294 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3296         * config.host (i[3456x]86-*-netware*): Remove.
3297         * config/i386/netware-crt0.c, config/i386/t-nwld,
3298         config/i386/t-slibgcc-nwld: Remove.
3300 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
3302         * config.host: Handle tic6x-*-*.
3303         * config/c6x/c6x-abi.h: New file.
3305 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3307         * config/i386/crtprec.c: New file.
3308         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
3309         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
3310         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
3311         (x86_64-*-darwin*): Likewise.
3312         (i[34567]86-*-solaris2*: Likewise.
3314 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3316         * config/alpha/crtfastmath.c: New file.
3317         * config/i386/crtfastmath.c: New file.
3318         * config/ia64/crtfastmath.c: New file.
3319         * config/mips/crtfastmath.c: New file.
3320         * config/sparc/crtfastmath.c: New file.
3322         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
3323         crtfastmath.c.
3324         Add -frandom-seed=gcc-crtfastmath.
3325         * config/alpha/t-crtfm: Remove.
3326         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
3327         * config/ia64/t-ia64 (crtfastmath.o): Remove.
3329         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
3330         (alpha*-dec-osf5.1*): Likewise.
3331         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
3332         Add crtfastmath.o to extra_parts.
3333         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
3334         Add crtfastmath.o to extra_parts.
3335         (x86_64-*-darwin*): Likewise.
3336         (x86_64-*-mingw*): Likewise.
3337         (ia64*-*-elf*): Add t-crtfm to tmake_file.
3338         (ia64*-*-freebsd*): Likewise.
3339         (ia64*-*-linux*): Likewise.
3340         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
3341         Add crtfastmath.o to extra_parts.
3343 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3345         * config/darwin-crt3.o: New file.
3346         * config/rs6000/darwin-crt2.c: New file.
3347         * config/t-darwin: New file.
3348         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
3349         (crt2.o): New rule.
3350         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
3351         (powerpc-*-darwin*): Add crt2.o to extra_parts.
3352         (powerpc64-*-darwin*): Likewise.
3354 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3356         * config/i386/netware-crt0.c: New file.
3357         * config/i386/t-nwld: Rename to ...
3358         * config/i386/t-slibgcc-nwld: ... this.
3359         * config/i386/t-nwld: New file.
3360         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
3361         tmake_file.
3362         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
3363         extra_parts.
3365 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3367         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
3368         i386/t-crtstuff.
3369         * configure: Regenerate.
3371 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3373         * dfp-bit.c, dfp-bit.h: New files.
3374         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
3375         variables.
3376         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
3377         ($(d64pbit-o)): Likewise.
3378         ($(d128pbit-o)): Likewise.
3379         * config/t-dfprules: New file.
3380         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
3381         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
3382         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3383         (x86_64-*-linux*): Likewise.
3384         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3385         (i[34567]86-*-cygwin*): Likewise.
3386         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
3387         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3389 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3391         * Makfile.in (LIBGCOV): New variable.
3392         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
3393         * libgcov.c: New file.
3395 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3397         * fixed-bit.c, fixed-bit.h: New files.
3398         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
3399         refer to fixed-bit.c.
3401 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
3403         * config.host (*local*): Remove.
3405 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3407         PR target/39150
3408         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
3409         like i?86-*-solaris2.1[0-9]*.
3410         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
3411         * configure.ac (i?86-*-solaris2*): Likewise.
3412         * configure: Regenerate.
3414 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
3416         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3417         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
3418         md_unwind_header by splitting out of...
3419         (i[34567]86-*-linux*): ... this.
3420         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
3421         Remove md_unwind_header by splitting out of...
3422         (x86_64-*-linux*): ... this.
3424 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
3426         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
3428 2011-06-28  Nick Clifton  <nickc@redhat.com>
3430         * config.host: Recognize all V850 variants.
3432 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
3434         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
3436 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3438         * shared-object.mk (c_flags-$o): Save c_flags.
3439         ($(base)$(objext)): Use it.
3440         ($(base)_s$(objext)): Likewise.
3442 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
3444         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
3445         * libgcc-std.ver.in (GCC_4.7.0): New section.
3447 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
3449         PR target/49313
3450         PR target/29524
3451         * config/avr/t-avr: Fix line endings.
3452         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
3453         _parityXX2.
3455 2011-06-14  Olivier Hainque  <hainque@adacore.com>
3456             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3458         * config/mips/irix6-unwind.h: New file.
3459         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
3461 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
3463         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
3464         (sparc64_fallback_frame_state): Use it.
3465         (sparc64_frob_update_context): Further adjust context.
3466         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
3467         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
3468         * config/sparc/sol2-cn.S: Likewise.
3470 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3472         * enable-execute-stack-empty.c: New file.
3473         * enable-execute-stack-mprotect.c: New file.
3474         * config/i386/enable-execute-stack-mingw32.c: New file.
3475         * config.host (enable_execute_stack): New variable.
3476         Select appropriate variants.
3477         * configure.ac: Link enable-execute-stack.c to
3478         $enable_execute_stack.
3479         * configure: Regenerate.
3480         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
3481         (lib2funcs): Remove _enable_execute_stack.
3483 2011-06-09  David S. Miller  <davem@davemloft.net>
3484             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3486         * config.host (sparc-*-linux*): Correct md_unwind_header
3487         filename.
3488         (s390x-ibm-tpf*): Fix typo.
3490 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3492         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
3493         Add crtfastmath.o to extra_parts.
3494         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
3495         mips/t-crtfm.
3496         * config/mips/t-crtfm: Remove.
3498 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3500         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
3502 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
3504         * config.host (sh*-*-linux*): Fix typo.
3506 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3508         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
3509         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
3510         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
3511         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
3512         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
3513         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
3514         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
3515         Wrap in !__MINGW64__.
3516         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
3517         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
3518         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
3519         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
3520         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
3521         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
3522         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
3523         Wrap in !__LP64__.
3524         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
3525         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
3526         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
3527         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
3528         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
3529         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
3530         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
3531         * config/no-unwind.h: New file.
3532         * config.host (md_unwind_header): Document.
3533         Define.
3534         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
3535         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
3536         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
3537         hppa[12]*-*-hpux11*): Set md_unwind_header.
3538         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
3539         Set md_unwind_header.
3540         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
3541         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
3542         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
3543         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
3544         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
3545         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
3546         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
3547         md_unwind_header.
3548         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
3549         * configure: Regenerate.
3551 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3553         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
3554         Set tmake_file, extra_parts.
3555         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
3556         Remove O32 support.
3557         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
3558         Remove O32 support.
3559         * config/mips/t-irix6: New file.
3560         * config/mips/t-slibgcc-irix: New file.
3562 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3564         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
3565         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
3567 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3569         * configure.ac (target_thread_file): Determine thread model.
3570         * configure: Regenerate.
3571         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
3572         * config/alpha/t-alpha: New file.
3573         * config/alpha/t-crtfm: Use $<.
3574         * config/alpha/t-ieee: New file.
3575         * config/alpha/t-osf-pthread: New file.
3576         * config/alpha/t-slibgcc-osf: New file.
3577         * config/alpha/libgcc-osf5.ver: New file.
3579 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3581         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
3582         tmake_file.
3583         Add crtfastmath.o to extra_parts.
3585 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3587         * config/gmon-sol2.c: Reindent.
3588         Cleanup comments.
3589         Remove, correct casts.
3590         Use STDERR_FILENO, NULL.
3591         (BASEADDRESS): Remove.
3592         (minbrk): Remove.
3593         (errno, sbrk): Remove declarations.
3594         (monstartup) [hp300]: Remove.
3595         (mcount): Remove.
3597 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3599         * Makefile.in (cpu_type): Define.
3600         * config.host (i[34567]86-*-rtems*): Handle it.
3601         (i[34567]86-*-solaris2*): Move body ...
3602         (*-*-solaris2*): ... here.
3603         New case, generalize.
3604         (sparc-*-elf*): Handle it.
3605         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
3606         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
3607         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
3608         Fold into ...
3609         (sparc*-*-solaris2*): ... this.
3610         New case.
3611         (sparc64-*-elf*): Handle it.
3612         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
3613         Merge ../gcc/config/i386/gmon-sol2.c.
3614         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
3615         Use C comments.
3616         Merge ../gcc/config/i386/sol2-gc1.asm.
3617         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
3618         Use C comments.
3619         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
3620         Use C comments.
3621         * config/i386/t-crtfm (crtfastmath.o): Use $<.
3622         * config/i386/t-crtstuff: New file.
3623         * config/i386/t-softfp: New file.
3624         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
3625         $(T)crti.o, $(T)crtn.o): Remove.
3626         (gcrt1.o): New rule.
3627         (TARGET_LIBGCC2_CFLAGS): Remove.
3628         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
3629         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
3630         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
3631         * config/sparc/t-sol2: New file.
3632         * config/sparc/t-crtfm: Move to ...
3633         * config/t-crtfm: ... this.
3634         Use $(cpu_type), $<.
3635         * config/t-crtin: New file.
3636         * config/sparc/t-softfp: New file.
3637         * config/sparc/t-softmul: New file.
3638         * config/t-rtems: New file.
3639         * config/t-slibgcc: New file.
3640         * config/t-slibgcc-elf-ver: New file.
3641         * config/t-slibgcc-gld: New file.
3642         * config/t-slibgcc-sld: New file.
3643         * config/t-sol2: New file.
3644         * configure.ac: Include ../config/lib-ld.m4.
3645         Call AC_LIB_PROG_LD_GNU.
3646         Substitute cpu_type.
3647         * configure: Regenerate.
3649 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
3651         PR bootstrap/49173
3652         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
3653         libgcc-std.ver in the build directory.
3654         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
3655         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
3657 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
3659         * libgcc-std.ver.in: New file.
3660         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
3661         variables.
3662         (libgcc-std.ver): New rule.
3663         * config/t-gnu-prefix: New file.
3665 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3667         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
3669 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
3671         * config/i386/darwin-lib.h: New file.
3673 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
3675         * config/arm/symbian-lib.h: New.
3677 2011-05-04  Chris Demetriou  <cgd@google.com>
3679         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
3680         (__x86.get_pc_thunk.bx): ...this.
3681         (__morestack): Adjust for rename, remove undef of __i686.
3683 2011-05-03  Chris Demetriou  <cgd@google.com>
3685         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
3687 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
3689         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
3690         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
3691         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
3692         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
3693         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
3694         Remove cases.
3696 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
3698         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
3699         Adjust copyright year.
3701 2011-03-07  Ian Lance Taylor  <iant@google.com>
3703         * generic-morestack.c (__splitstack_find): Adjust returned stack
3704         pointer to include all registers pushed by __morestack.
3706 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
3708         PR target/40125
3709         * configure.ac: Call ACX_NONCANONICAL_TARGET.
3710         (toolexecdir): Calculate and AC_SUBST.
3711         (toolexeclibdir): Likewise.
3712         * Makefile.in (target_noncanonical): Import.
3713         (toolexecdir): Likewise.
3714         (toolexeclibdir): Likewise.
3715         * configure: Regenerate.
3717 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
3719         PR target/46040
3720         * config/arm/bpabi.h: Rename to...
3721         * config/arm/bpabi-lib.h: ...this.
3723 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3725         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
3726         appropriate.
3727         * configure: Regenerate.
3729 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
3731         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
3732         __FLOAT_WORD_ORDER__.
3733         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
3734         Delete.
3736 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3738         PR other/46202
3739         * Makefile.in (install-strip): New phony target.
3741 2010-11-07  Ian Lance Taylor  <iant@google.com>
3743         PR target/46089
3744         * config/i386/morestack.S (__morestack_large_model): New
3745         function.
3747 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
3749         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
3750         Delete.
3751         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
3753 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
3755         * config/arm/bpabi.h: New file.
3756         * config/frv/frv-abi.h: New file.
3758 2010-10-01  Ian Lance Taylor  <iant@google.com>
3760         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
3761         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
3763 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
3765         PR target/45858
3766         * config.host: Add the missing `$'.
3768 2010-09-30  Michael Eager  <eager@eagercon.com>
3770         * config.host: Add microblaze*-*-*.
3771         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
3772         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
3773         udivsi3.asm,umodsi3.asm}:  New.
3775 2010-09-28  Ian Lance Taylor  <iant@google.com>
3777         * configure.ac: Adjust CFI test to test assembler directly rather
3778         than checking gcc preprocessor macro.
3779         * configure: Rebuild.
3781 2010-09-27  Ian Lance Taylor  <iant@google.com>
3783         * configure.ac: Test whether assembler supports CFI directives.
3784         * config.host: Only add t-stack and i386/t-stack-i386 to
3785         tmake_file if libgcc_cv_cfi is "yes".
3786         * configure: Rebuild.
3788 2010-09-27  Ian Lance Taylor  <iant@google.com>
3790         * generic-morestack.h: New file.
3791         * generic-morestack.c: New file.
3792         * generic-morestack-thread.c: New file.
3793         * config/i386/morestack.S: New file.
3794         * config/t-stack: New file.
3795         * config/i386/t-stack-i386: New file.
3796         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
3797         i386/t-stack-i386 to tmake_file.
3799 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
3801         * Makefile.in (libgcc-extra-parts):  Check for static archives and
3802         invoke ranlib after installing them.
3803         (gcc-extra-parts): Likewise.
3804         (install-leaf): Likewise.
3806 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
3808         * configure: Regenerated.
3810 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
3812         * configure: Regenerated.
3814 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
3815             Andrew Pinski  <pinskia@gmail.com>
3817         PR target/40959
3818         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
3820 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
3822         PR target/45524
3823         * configure: Regenerated.
3825 2010-09-06  Andreas Schwab  <schwab@redhat.com>
3827         * configure: Regenerate.
3829 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
3831         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
3832         64bit targets.
3833         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
3834         for 64bit targets.
3836 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
3837             Iain Sandoe  <iains@gcc.gnu.org>
3839         PR target/45476
3840         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
3841         LIB2FUNCS_EXCLUDE functions.
3843 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3845         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
3846         Include dfp.m4.
3847         * configure: Regenerate.
3849 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
3851         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
3852         i386/t-freebsd to tmake_file.
3853         * config/i386/t-freebsd: New file.
3854         * config/i386/libgcc-bsd.ver: New file.
3856 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
3858         * config.host (powerpc*-eabispe*): Set tmake_file.
3859         (powerpc*-eabi*): Likewise.
3860         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
3861         crtbeginS, crtendS, crtbeginT.
3863 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
3865         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
3866         to tmake_file.  Add crtfastmath.o to extra_parts.
3867         * config/mips/t-crtfm: New.
3869 2010-05-19  Joel Sherrill <joel.sherrill@oarcorp.com>
3871         * config.host (sparc64-*-rtems*): New target.
3873 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3875         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3876         assembler syntax.
3878 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
3880         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
3882 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3884         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
3885         alpha-dec-osf5.0* support.
3887 2010-04-01  Ralf Corsépius <ralf.corsepius@rtems.org>
3889         * config.host: Add lm32-*-rtems*.
3891 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3892             Uros Bizjak <ubizjak@gmail.com>
3894         PR target/39048
3895         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
3896         like other remaining 32-bit x86 OSes.
3897         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3898         assembler syntax.
3899         * config/i386/libgcc-sol2.ver: New file.
3900         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
3902 2010-03-30  Jack Howarth <howarth@bromo.med.uc.edu>
3904         PR c/43553
3905         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
3906         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
3907         is used and substitute set_use_emutls.
3908         * configure: Regenerated.
3910 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
3912         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
3914 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3916         PR target/38085
3917         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
3918         MULTILIB_CFLAGS.
3919         ($(T)gcrt1.o): Likewise.
3920         ($(T)crt1.o): Likewise.
3921         ($(T)crti.o): Likewise.
3922         ($(T)crtn.o): Likewise.
3924 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3926         PR other/42980
3927         * Makefile.in (install): Use $(MAKE) string in rule, for
3928         parallel make.
3930 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
3932         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
3933         * config/mmix/t-mmix: New file.
3934         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
3936 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
3938         PR java/41991
3939         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
3940         SHLIB_MAPFILES.
3942 2010-01-04  Anthony Green  <green@moxielogic.com>
3944         * config/moxie/crti.asm, config/moxie/crtn.asm,
3945         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
3946         config/moxie/t-moxie: New files.
3947         * config.host: Add t-moxie-softfp reference.
3949 2009-11-18  Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
3951         PR other/39888
3952         * config/t-slibgcc-darwin: Fix embedded rpaths for
3953         --enable-version-specific-runtime-libs, build extension stub
3954         libs exposing features available from current libgcc_s.
3956 2009-11-11  Jon Beniston <jon@beniston.com>
3958         * config.host: Add lm32 targets.
3959         * config/lm32: New directory.
3960         * config/lm32/libgcc_lm32.h: New file.
3961         * config/lm32/_mulsi3.c: New file.
3962         * config/lm32/_udivmodsi4.c: New file.
3963         * config/lm32/_divsi3.c: New file.
3964         * config/lm32/_modsi3.c: New file.
3965         * config/lm32/_udivsi3.c: New file.
3966         * config/lm32/_umodsi3.c: New file.
3967         * config/lm32/_lshrsi3.S: New file.
3968         * config/lm32/_ashrsi3.S: New file.
3969         * config/lm32/_ashlsi3.S: New file.
3970         * config/lm32/crti.S: New file.
3971         * config/lm32/crtn.S: New file.
3972         * config/lm32/t-lm32: New file.
3973         * config/lm32/t-elf: New file.
3974         * config/lm32/t-uclinux: New file.
3976 2009-10-26  Nick Clifton  <nickc@redhat.com>
3978         * config.host: Add support for RX target.
3979         * config/rx: New directory.
3980         * config/rx/rx-abi-functions.c: New file. Supplementary
3981         functions for libgcc to support the RX ABI.
3982         * config/rx/rx-abi.h: New file.  Supplementary header file for
3983         libgcc RX ABI functions.
3984         * config/rx/t-rx: New file: Makefile fragment for building
3985         libgcc for the RX.
3987 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
3989         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
3990         constraint of y0 to "g".
3992 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3994         * config.host: Include the s390 makefile fragments.
3995         * config/s390/32/_fixdfdi.c: New file.
3996         * config/s390/32/_fixsfdi.c: New file.
3997         * config/s390/32/_fixtfdi.c: New file.
3998         * config/s390/32/_fixunsdfdi.c: New file.
3999         * config/s390/32/_fixunssfdi.c: New file.
4000         * config/s390/32/_fixunstfdi.c: New file.
4001         * config/s390/32/t-floattodi: New file.
4002         * config/s390/libgcc-glibc.ver: New file.
4003         * config/s390/t-crtstuff: New file.
4004         * config/s390/t-linux: New file.
4005         * config/s390/t-tpf: New file.
4007 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4009         * configure.ac (AC_PREREQ): Bump to 2.64.
4011 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
4013         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
4015 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4017         * configure: Regenerate.
4019 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
4021         * config.host (ia64-hp-*vms*): New target.
4022         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
4023         with ia64-hp-*vms*.
4025 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4027         * configure.ac: Add snippet for maintainer-mode.
4028         * configure: Regenerate.
4029         * Makefile.in (AUTOCONF, configure_deps): New variables.
4030         ($(srcdir)/configure)): New rule, active only with maintainer
4031         mode turned on.
4033 2009-06-23  DJ Delorie  <dj@redhat.com>
4035         Add MeP port.
4036         * config.host: Add mep support.
4038 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
4040         * config.host: Add i386/${host_address}/t-fprules-softfp and
4041         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
4043         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
4044         for mingw targets.
4045         * config/i386/64/_multc3.c: Likewise.
4046         * config/i386/64/_powitf2.c: Likewise.
4047         * config/i386/64/eqtf2.c: Likewise.
4048         * config/i386/64/getf2.c: Likewise.
4049         * config/i386/64/letf2.c: Likewise.
4050         * config/i386/64/letf2.c: Likewise.
4051         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
4052         unsigned long long for x64 mingw targets.
4053         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
4054         (_FP_I_TYPE): Define as long long for x64 mingw target.
4056 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
4058         * config.host (vax-*-linux*): New.
4060 2009-05-31  Anthony Green  <green@moxielogic.com>
4062         * config.host: Add moxie support.
4063         * config/moxie/t-moxie: New file.
4065 2009-05-29  David Billinghurst <billingd@gcc.gnu.org>
4067         * config.host: Add i386/${host_address}/t-fprules-softfp and
4068         t-softfp to tmake_file for i[34567]86-*-cygwin*.
4070 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
4072         * config.host: Add i386/${host_address}/t-fprules-softfp to
4073         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
4075 2009-04-09  Nick Clifton  <nickc@redhat.com>
4077         * config/ia64/tf-signs.c: Change copyright header to refer to
4078         version 3 of the GNU General Public License with version 3.1
4079         of the GCC Runtime Library Exception and to point readers at
4080         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
4081         web page.
4082         * config/i386/32/tf-signs.c: Likewise.
4083         * config/libbid/_addsub_dd.c: Likewise.
4084         * config/libbid/_addsub_sd.c: Likewise.
4085         * config/libbid/_addsub_td.c: Likewise.
4086         * config/libbid/_dd_to_df.c: Likewise.
4087         * config/libbid/_dd_to_di.c: Likewise.
4088         * config/libbid/_dd_to_sd.c: Likewise.
4089         * config/libbid/_dd_to_sf.c: Likewise.
4090         * config/libbid/_dd_to_si.c: Likewise.
4091         * config/libbid/_dd_to_td.c: Likewise.
4092         * config/libbid/_dd_to_tf.c: Likewise.
4093         * config/libbid/_dd_to_udi.c: Likewise.
4094         * config/libbid/_dd_to_usi.c: Likewise.
4095         * config/libbid/_dd_to_xf.c: Likewise.
4096         * config/libbid/_df_to_dd.c: Likewise.
4097         * config/libbid/_df_to_sd.c: Likewise.
4098         * config/libbid/_df_to_td.c: Likewise.
4099         * config/libbid/_di_to_dd.c: Likewise.
4100         * config/libbid/_di_to_sd.c: Likewise.
4101         * config/libbid/_di_to_td.c: Likewise.
4102         * config/libbid/_div_dd.c: Likewise.
4103         * config/libbid/_div_sd.c: Likewise.
4104         * config/libbid/_div_td.c: Likewise.
4105         * config/libbid/_eq_dd.c: Likewise.
4106         * config/libbid/_eq_sd.c: Likewise.
4107         * config/libbid/_eq_td.c: Likewise.
4108         * config/libbid/_ge_dd.c: Likewise.
4109         * config/libbid/_ge_sd.c: Likewise.
4110         * config/libbid/_ge_td.c: Likewise.
4111         * config/libbid/_gt_dd.c: Likewise.
4112         * config/libbid/_gt_sd.c: Likewise.
4113         * config/libbid/_gt_td.c: Likewise.
4114         * config/libbid/_isinfd128.c: Likewise.
4115         * config/libbid/_isinfd32.c: Likewise.
4116         * config/libbid/_isinfd64.c: Likewise.
4117         * config/libbid/_le_dd.c: Likewise.
4118         * config/libbid/_le_sd.c: Likewise.
4119         * config/libbid/_le_td.c: Likewise.
4120         * config/libbid/_lt_dd.c: Likewise.
4121         * config/libbid/_lt_sd.c: Likewise.
4122         * config/libbid/_lt_td.c: Likewise.
4123         * config/libbid/_mul_dd.c: Likewise.
4124         * config/libbid/_mul_sd.c: Likewise.
4125         * config/libbid/_mul_td.c: Likewise.
4126         * config/libbid/_ne_dd.c: Likewise.
4127         * config/libbid/_ne_sd.c: Likewise.
4128         * config/libbid/_ne_td.c: Likewise.
4129         * config/libbid/_sd_to_dd.c: Likewise.
4130         * config/libbid/_sd_to_df.c: Likewise.
4131         * config/libbid/_sd_to_di.c: Likewise.
4132         * config/libbid/_sd_to_sf.c: Likewise.
4133         * config/libbid/_sd_to_si.c: Likewise.
4134         * config/libbid/_sd_to_td.c: Likewise.
4135         * config/libbid/_sd_to_tf.c: Likewise.
4136         * config/libbid/_sd_to_udi.c: Likewise.
4137         * config/libbid/_sd_to_usi.c: Likewise.
4138         * config/libbid/_sd_to_xf.c: Likewise.
4139         * config/libbid/_sf_to_dd.c: Likewise.
4140         * config/libbid/_sf_to_sd.c: Likewise.
4141         * config/libbid/_sf_to_td.c: Likewise.
4142         * config/libbid/_si_to_dd.c: Likewise.
4143         * config/libbid/_si_to_sd.c: Likewise.
4144         * config/libbid/_si_to_td.c: Likewise.
4145         * config/libbid/_td_to_dd.c: Likewise.
4146         * config/libbid/_td_to_df.c: Likewise.
4147         * config/libbid/_td_to_di.c: Likewise.
4148         * config/libbid/_td_to_sd.c: Likewise.
4149         * config/libbid/_td_to_sf.c: Likewise.
4150         * config/libbid/_td_to_si.c: Likewise.
4151         * config/libbid/_td_to_tf.c: Likewise.
4152         * config/libbid/_td_to_udi.c: Likewise.
4153         * config/libbid/_td_to_usi.c: Likewise.
4154         * config/libbid/_td_to_xf.c: Likewise.
4155         * config/libbid/_tf_to_dd.c: Likewise.
4156         * config/libbid/_tf_to_sd.c: Likewise.
4157         * config/libbid/_tf_to_td.c: Likewise.
4158         * config/libbid/_udi_to_dd.c: Likewise.
4159         * config/libbid/_udi_to_sd.c: Likewise.
4160         * config/libbid/_udi_to_td.c: Likewise.
4161         * config/libbid/_unord_dd.c: Likewise.
4162         * config/libbid/_unord_sd.c: Likewise.
4163         * config/libbid/_unord_td.c: Likewise.
4164         * config/libbid/_usi_to_dd.c: Likewise.
4165         * config/libbid/_usi_to_sd.c: Likewise.
4166         * config/libbid/_usi_to_td.c: Likewise.
4167         * config/libbid/_xf_to_dd.c: Likewise.
4168         * config/libbid/_xf_to_sd.c: Likewise.
4169         * config/libbid/_xf_to_td.c: Likewise.
4170         * config/libbid/bid128.c: Likewise.
4171         * config/libbid/bid128_2_str.h: Likewise.
4172         * config/libbid/bid128_2_str_macros.h: Likewise.
4173         * config/libbid/bid128_2_str_tables.c: Likewise.
4174         * config/libbid/bid128_add.c: Likewise.
4175         * config/libbid/bid128_compare.c: Likewise.
4176         * config/libbid/bid128_div.c: Likewise.
4177         * config/libbid/bid128_fma.c: Likewise.
4178         * config/libbid/bid128_logb.c: Likewise.
4179         * config/libbid/bid128_minmax.c: Likewise.
4180         * config/libbid/bid128_mul.c: Likewise.
4181         * config/libbid/bid128_next.c: Likewise.
4182         * config/libbid/bid128_noncomp.c: Likewise.
4183         * config/libbid/bid128_quantize.c: Likewise.
4184         * config/libbid/bid128_rem.c: Likewise.
4185         * config/libbid/bid128_round_integral.c: Likewise.
4186         * config/libbid/bid128_scalb.c: Likewise.
4187         * config/libbid/bid128_sqrt.c: Likewise.
4188         * config/libbid/bid128_string.c: Likewise.
4189         * config/libbid/bid128_to_int16.c: Likewise.
4190         * config/libbid/bid128_to_int32.c: Likewise.
4191         * config/libbid/bid128_to_int64.c: Likewise.
4192         * config/libbid/bid128_to_int8.c: Likewise.
4193         * config/libbid/bid128_to_uint16.c: Likewise.
4194         * config/libbid/bid128_to_uint32.c: Likewise.
4195         * config/libbid/bid128_to_uint64.c: Likewise.
4196         * config/libbid/bid128_to_uint8.c: Likewise.
4197         * config/libbid/bid32_to_bid128.c: Likewise.
4198         * config/libbid/bid32_to_bid64.c: Likewise.
4199         * config/libbid/bid64_add.c: Likewise.
4200         * config/libbid/bid64_compare.c: Likewise.
4201         * config/libbid/bid64_div.c: Likewise.
4202         * config/libbid/bid64_fma.c: Likewise.
4203         * config/libbid/bid64_logb.c: Likewise.
4204         * config/libbid/bid64_minmax.c: Likewise.
4205         * config/libbid/bid64_mul.c: Likewise.
4206         * config/libbid/bid64_next.c: Likewise.
4207         * config/libbid/bid64_noncomp.c: Likewise.
4208         * config/libbid/bid64_quantize.c: Likewise.
4209         * config/libbid/bid64_rem.c: Likewise.
4210         * config/libbid/bid64_round_integral.c: Likewise.
4211         * config/libbid/bid64_scalb.c: Likewise.
4212         * config/libbid/bid64_sqrt.c: Likewise.
4213         * config/libbid/bid64_string.c: Likewise.
4214         * config/libbid/bid64_to_bid128.c: Likewise.
4215         * config/libbid/bid64_to_int16.c: Likewise.
4216         * config/libbid/bid64_to_int32.c: Likewise.
4217         * config/libbid/bid64_to_int64.c: Likewise.
4218         * config/libbid/bid64_to_int8.c: Likewise.
4219         * config/libbid/bid64_to_uint16.c: Likewise.
4220         * config/libbid/bid64_to_uint32.c: Likewise.
4221         * config/libbid/bid64_to_uint64.c: Likewise.
4222         * config/libbid/bid64_to_uint8.c: Likewise.
4223         * config/libbid/bid_b2d.h: Likewise.
4224         * config/libbid/bid_binarydecimal.c: Likewise.
4225         * config/libbid/bid_conf.h: Likewise.
4226         * config/libbid/bid_convert_data.c: Likewise.
4227         * config/libbid/bid_decimal_data.c: Likewise.
4228         * config/libbid/bid_decimal_globals.c: Likewise.
4229         * config/libbid/bid_div_macros.h: Likewise.
4230         * config/libbid/bid_dpd.c: Likewise.
4231         * config/libbid/bid_flag_operations.c: Likewise.
4232         * config/libbid/bid_from_int.c: Likewise.
4233         * config/libbid/bid_functions.h: Likewise.
4234         * config/libbid/bid_gcc_intrinsics.h: Likewise.
4235         * config/libbid/bid_inline_add.h: Likewise.
4236         * config/libbid/bid_internal.h: Likewise.
4237         * config/libbid/bid_round.c: Likewise.
4238         * config/libbid/bid_sqrt_macros.h: Likewise.
4240 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
4242         * Makefile.in: Change copyright header to refer to version
4243         3 of the GNU General Public License and to point readers at the
4244         COPYING3 file and the FSF's license web page.
4245         * config.host: Likewise.
4247 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
4249         * config.host: Reorder and merge to match config.gcc change.
4251 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
4253         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
4255 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
4257         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
4258         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
4259         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
4260         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
4262 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
4264         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
4265         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4267 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
4269         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
4270         ia64/t-softfp-compat to tmake_file.
4272         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
4274         * config/ia64/__divxf3.asm: New.
4275         * config/ia64/_fixtfdi.asm: Likewise.
4276         * config/ia64/_fixunstfdi.asm: Likewise.
4277         * config/ia64/_floatditf.asm: Likewise.
4278         * config/ia64/t-fprules-softfp: Likewise.
4279         * config/ia64/t-softfp-compat: Likewise.
4280         * config/ia64/tf-signs.c: Likewise.
4282 2009-01-18  Ben Elliston  <bje@au.ibm.com>
4284         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4286 2009-01-16  Ben Elliston  <bje@au.ibm.com>
4288         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
4289         to tmake_file.
4291 2009-01-13  Ben Elliston  <bje@au.ibm.com>
4293         * config/t-softfp: New file.
4294         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
4295         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
4297 2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>
4299         * config.host: Add m32r*-*-rtems*.
4301 2008-12-01  Joel Sherrill <joel.sherrill@oarcorp.com>
4303         * config.host: Add m32c*-*-rtems*.
4305 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4307         PR bootstrap/33100
4308         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
4309         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
4310         * configure: Regenerate.
4311         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
4312         tmake_file here from gcc/config.gcc.
4313         Move extra_parts here from gcc/config.gcc.
4314         * config/i386/t-sol2: Move here from gcc/config/i386.
4315         Use gcc_srcdir instead of srcdir.
4317 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
4319         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
4320         case.
4322 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
4324         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
4326 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
4328         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
4330 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
4332         Add picoChip port.
4333         * config.host: Add picochip-*-*.
4335 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
4337         * config.host: Match more processor names for Xtensa.
4339 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
4341         * config/i386/64/t-softfp-compat: Update comments.
4343 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
4345         * config/i386/64/_divtc3-compat.c: Moved to ...
4346         * config/i386/64/_divtc3.c: Here.
4348         * config/i386/64/_multc3-compat.c: Moved to ...
4349         * config/i386/64/_multc3.c: Here.
4351         * config/i386/64/_powitf2-compat.c: Moved to ...
4352         * config/i386/64/_powitf2.c: Here.
4354         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
4355         .c suffix instead of -compat.c.
4357 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
4359         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
4360         (_FP_MUL_MEAT_D): Ditto.
4361         (_FP_DIV_MEAT_S): Ditto.
4362         (_FP_DIV_MEAT_D): Ditto.
4364 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
4366         * Makefile.in: Add support for __sync_* libgcc functions.
4368 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
4370         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
4372 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4374         PR boostrap/36702
4375         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
4376         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
4378         * config/i386/64/t-fprules-softfp: Moved to ...
4379         * config/i386/64/t-softfp-compat: This.  New.
4381 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
4383         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
4384         Initialize f with 0.0.
4386 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4388         PR target/36669
4389         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
4391         * config/i386/64/_divtc3-compat.c: New.
4392         * config/i386/64/_multc3-compat.c: Likewise.
4393         * config/i386/64/_powitf2-compat.c: Likewise.
4394         * config/i386/64/eqtf2.c: Likewise.
4395         * config/i386/64/getf2.c: Likewise.
4396         * config/i386/64/letf2.c: Likewise.
4397         * config/i386/64/t-fprules-softfp: Likewise.
4399 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4401         * config.host: Add i386/${host_address}/t-fprules-softfp to
4402         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
4403         i[34567]86-*-linux*, x86_64-*-linux*.
4405         * configure.ac: Set host_address to 64 or 32 for x86.
4406         * configure: Regenerated.
4408         * Makefile.in (config.status): Also depend on
4409         $(srcdir)/config.host.
4411         * config/i386/32/t-fprules-softfp: New.
4412         * config/i386/32/tf-signs.c: Likewise.
4414         * config/i386/64/sfp-machine.h: New. Moved from gcc.
4416 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4417             Uros Bizjak  <ubizjak@gmail.com>
4419         * config/i386/32/sfp-machine.h: New.
4421 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
4423         * config/rs6000/t-ppccomm: Remove rules that conflict with
4424         auto-generated rules.
4426 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4428         * configure.ac: sinclude override.m4.
4429         * configure: Regenerate.
4431 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
4433         * configure: Regenerate.
4435 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
4437         * Makefile.in (DECNUMINC): Remove
4438         -I$(MULTIBUILDTOP)../../libdecnumber.
4439         * gstdint.h: New.
4441 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
4443         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
4444         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
4445         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
4446         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
4447         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
4448         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
4449         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
4450         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
4451         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
4452         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
4453         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
4454         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
4455         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
4456         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
4458 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
4460         * config.host (sh2[lbe]*-*-linux*): Allow target.
4462 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
4464         * config/rs6000/t-ppccomm: Add build rules for new files.
4465         (LIB2ADD_ST): New variable.
4467 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
4469         PR target/34210
4470         PR target/35508
4471         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
4472         * config/t-avr: New file. Build 16bit libgcc functions.
4474 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
4476         PR target/35401
4477         * config/t-slibgcc-darwin: Make install-leaf dependent on
4478         install-darwin-libgcc-stubs instead of install.
4480 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
4482         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
4483         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
4484         sh-*-rtemscoff*): Remove cases.
4486 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
4488         * Makefile.in (all): Use install-leaf rather than install.
4489         (install): Split most of the rule into...
4490         (install-leaf): ...this new one.
4492 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
4493             Paolo Bonzini  <bonzini@gnu.org>
4495         PR target/30572
4496         * Makefile.in: Use @shlib_slibdir@ substitution to get
4497         correct install name on darwin.
4498         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
4500 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
4502         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
4503         cris-*-elf and cris-*-none.
4504         (crisv32-*-linux*): Similar, as cris-*-linux*.
4506 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
4508         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
4510 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
4512         PR regression/33926
4513         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
4514         * configure: Regenerated.
4516 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
4518         * Makefile.in (dfp-filenames): Replace decimal_globals,
4519         decimal_data, binarydecimal and convert_data with
4520         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
4521         and bid_convert_data, respectively.
4523 2007-09-17  Chao-ying Fu  <fu@mips.com>
4524             Nigel Stephens  <nigel@mips.com>
4526         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
4527         * Makefile.in (fixed_point): Define.
4528         Check if fixed_point is yes to build support functions.
4529         * configure.ac: Check for fixed_point support.
4530         * configure: Regenerated.
4531         * gen-fixed.sh: New file to generate lists of fixed-point labels,
4532         funcs, modes, from, to.
4534 2007-09-11  Janis Johnson  <janis187@us.ibm.com
4536         * Makefile.in (dfp-filenames): Add bid128_noncomp.
4538 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
4540         * Makefile.in (dfp-filenames): Remove decUtility, add
4541         decDouble, decPacked, decQuad, decSingle.
4543 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
4545         * config.host : Add x86_64-elf target.
4547 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
4549         * configure.ac (set_have_cc_tls): Add a missing =.
4550         * configure: Regenerated.
4552 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
4554         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
4555         and x86_64-*-linux*.
4557         * config/t-tls: New file.
4559         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
4561         * configure.ac: Include ../config/enable.m4 and
4562         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
4563         supports TLS and substitute set_have_cc_tls.
4564         * configure: Regenerated.
4566 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
4568         * Makefile.in: Use libbid for DFP when BID is enabled.
4570 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
4572         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
4573         extra_parts. Add config/i386/t-cygming to tmake_file.
4574         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
4576 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
4577             Danny Smith  <dannysmith@users.sourceforge.net>
4579         PR target/29498
4580         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
4581         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
4582         * config/i386/t-crtfm: Compile crtfastmath.o with
4583         -minline-all-stringops.
4585 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
4587         * config.host (sparc-wrs-vxworks): New target.
4589 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
4591         * config.host: Recognize fido.
4593 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
4595         * configure: Check host, not target, for decimal float support.
4597 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
4599         * config/i386/t-crtpc: New file.
4600         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
4601         (x86_64-*-linux*): Ditto.
4603 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
4605         * config.host (x86_64-*-mingw*): New target.
4607 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
4608             H.J. Lu  <hongjiu.lu@intel.com>
4610         * Makefile.in (enable_decimal_float): New.
4611         (DECNUMINC): Add
4612         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
4613         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
4614         (decbits-filenames): This.
4615         (decbits-objects): New.
4616         (libgcc-objects): Add $(decbits-objects).
4618         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
4619         Substitute enable_decimal_float.
4620         * configure: Regenerated.
4622 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
4624         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
4626 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
4628         * Makefile.in (install-info): New dummy target.
4630 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
4632         * config.host (bfin*-linux-uclibc*): Set extra_parts.
4634 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
4636         * Makefile.in: Add install-html and install-pdf dummy
4637         targets.
4639 2007-02-05  Roger Sayle  <roger@eyesopen.com>
4640             Daniel Jacobowitz  <dan@codesourcery.com>
4642         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
4643         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
4644         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
4646 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
4648         * Makefile.in (dec-filenames): Add decExcept.
4650 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
4652         PR bootstrap/30469
4653         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
4654         -fprofile-use.
4656 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
4658         * configure.ac: Add --enable-version-specific-runtime-libs.
4659         Correct $slibdir default.
4660         * configure: Regenerated.
4662 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
4664         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
4666 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
4668         PR target/30519
4669         * config.host (alpha*-*-linux*): Set extra_parts.
4671 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
4673         * config/sh/t-linux: New.
4674         * config.host (sh*-*-linux*): Set tmake_file.
4676 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
4678         * Makefile.in (install): Handle multilibs.
4680 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
4682         * Makefile.in: Added .PHONY entry for documentation targets.
4684 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
4686         * Makefile.in: Add empty info, html, dvi, pdf targets.
4688 2007-01-04  Mike Stump  <mrs@apple.com>
4690         * Makefile.in (MAKEINFO): Remove.
4691         (PERL): Likewise.
4693 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
4695         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
4696         * configure: Regenerate.
4697         * Makefile.in (host_subdir): Substitute it.
4698         (gcc_objdir): Use it.
4700 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
4702         * config.host (ia64*-*-linux*): Set tmake_file.
4704 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
4706         * Makefile.in (version): Define.
4708 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
4709             Paolo Bonzini  <bonzini@gnu.org>
4711         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
4712         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
4713         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
4714         config/sparc/t-crtfm, config/t-slibgcc-darwin,
4715         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
4716         shared-object.mk, siditi-object.mk, static-object.mk: New files.
4717         * configure: Generated.