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