2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
[official-gcc.git] / libgcc / ChangeLog
blob9d9db4b49b0f3df3ca3cd72a96f232b9a9f5f0b9
1 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
2             Brendan Kehoe  <brendan@zen.org>
3             Simon Cook  <simon.cook@embecosm.com>
5         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
6         * config/arc: New directory.
7         * longlong.h [__arc__] (umul_ppmm): Remove.
8         [__arc__] (__umulsidi3): Define.
9         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
10         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
12 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
14         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
15         CreateSemaphoreA.
16         * config/i386/gthr-win32.h: Likewise.
18 2013-09-16  DJ Delorie  <dj@redhat.com>
20         * config/rl78/vregs.h: Add G10 register definitions.
21         * config/rl78/lib2mul.c: Enable for RL78/G10.
22         * config/rl78/lib2div.c: Likewise.
23         * config/rl78/lshrsi3.S: Use vregs.h.
24         * config/rl78/cmpsi2.S: Likewise.
25         * config/rl78/trampoline.S: Likewise.
26         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
28 2013-09-14  DJ Delorie  <dj@redhat.com>
29             Nick Clifton  <nickc@redhat.com>
31         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
32         * config/rl78/vregs.h: New.
33         * config/rl78/signbit.S: New file.  Implements signbit function.
34         * config/rl78/divmodsi.S: New.
35         * config/rl78/divmodhi.S: New.
36         * config/rl78/divmodqi.S: New.
37         * config/rl78/t-rl78: Build them here...
38         * config/rl78/lib2div.c: ...but not here.
40 2013-09-12  DJ Delorie  <dj@redhat.com>
42         * config.host (msp*-*-elf): New.
43         * config/msp430/: New port.
45 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
47         PR gcov-profile/58127
48         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
49         __thread var for emulated TLS.
50         (__gcov_indirect_call_counters): Likewise.
52 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
53             Catherine Moore  <clm@codesourcery.com>
54             Richard Sandiford <rdsandiford@googlemail.com>
56         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
57         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
58         (CALL_STUB_NO_RET): Likewise.
59         (CALL_STUB_RET): Likewise.
60         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
61         __mips16_ret call/return stub symbols.
62         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
63         to tmake_file.
65 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
67         * config.host <mips*-*-linux*>: Remove a stray comment.
69 2013-08-10  Jan Hubicka  <jh@suse.cz>
71         Work around binutils PR14342
72         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
73         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
74         (L_gcov_indirect_call_profiler_v2): New.
76 2013-08-06  Jan Hubicka  <jh@suse.cz>
78         * libgcov.c (__gcov_indirect_call_callee,
79         __gcov_indirect_call_counters): New global vars.
80         (__gcov_indirect_call_profiler): replace by ...
81         (__gcov_indirect_call_profiler_v2) ... this one.
83 2013-08-06  Caroline Tice  <cmtice@google.com>
85         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
86         vtv_start_preinit.o and vtv_end_preinit.o.
87         * configure.ac: Add code to check/set enable_vtable_verify.
88         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
89         true.
90         * vtv_start_preinit.c: New file.
91         * vtv_end_preinit.c: New file.
92         * vtv_start.c: New file.
93         * vtv_end.c: New file.
94         * configure: Regenerated.
96 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
98         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
99         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
100         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
101         GPL-3.0-with-GCC-exception.
103 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
105         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
106         ISA and up.
108 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
110         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
111         mapping for FPRs when creating the fallback framestate.
113 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
115         PR target/57516
116         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
117         (__round_s2_const, __round_u2_const)
118         (__round_s4_const, __round_u4_const, __round_x8):
119         Saturate result if addition result cannot be represented.
121 2013-07-15  Matthias Klose  <doko@ubuntu.com>
123         * libgcc2.c: Don't include <limits.h>.
125 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
127         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
129 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
131         PR target/29776
132         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
134 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
136         PR middle-end/36041
137         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
138         Define.
139         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
140         instead of table lookups.
141         (__popcountDI2): Likewise.
143 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
145         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
146         correctly.
148 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
150         PR other/53317
151         * soft-fp/adddf3.c: Update from glibc.
152         * soft-fp/addsf3.c: Likewise.
153         * soft-fp/addtf3.c: Likewise.
154         * soft-fp/divdf3.c: Likewise.
155         * soft-fp/divsf3.c: Likewise.
156         * soft-fp/divtf3.c: Likewise.
157         * soft-fp/double.h: Likewise.
158         * soft-fp/eqdf2.c: Likewise.
159         * soft-fp/eqsf2.c: Likewise.
160         * soft-fp/eqtf2.c: Likewise.
161         * soft-fp/extenddftf2.c: Likewise.
162         * soft-fp/extended.h: Likewise.
163         * soft-fp/extendsfdf2.c: Likewise.
164         * soft-fp/extendsftf2.c: Likewise.
165         * soft-fp/fixdfdi.c: Likewise.
166         * soft-fp/fixdfsi.c: Likewise.
167         * soft-fp/fixsfdi.c: Likewise.
168         * soft-fp/fixsfsi.c: Likewise.
169         * soft-fp/fixtfdi.c: Likewise.
170         * soft-fp/fixtfsi.c: Likewise.
171         * soft-fp/fixunsdfdi.c: Likewise.
172         * soft-fp/fixunsdfsi.c: Likewise.
173         * soft-fp/fixunssfdi.c: Likewise.
174         * soft-fp/fixunssfsi.c: Likewise.
175         * soft-fp/fixunstfdi.c: Likewise.
176         * soft-fp/fixunstfsi.c: Likewise.
177         * soft-fp/floatdidf.c: Likewise.
178         * soft-fp/floatdisf.c: Likewise.
179         * soft-fp/floatditf.c: Likewise.
180         * soft-fp/floatsidf.c: Likewise.
181         * soft-fp/floatsisf.c: Likewise.
182         * soft-fp/floatsitf.c: Likewise.
183         * soft-fp/floatundidf.c: Likewise.
184         * soft-fp/floatundisf.c: Likewise.
185         * soft-fp/floatunditf.c: Likewise.
186         * soft-fp/floatunsidf.c: Likewise.
187         * soft-fp/floatunsisf.c: Likewise.
188         * soft-fp/floatunsitf.c: Likewise.
189         * soft-fp/gedf2.c: Likewise.
190         * soft-fp/gesf2.c: Likewise.
191         * soft-fp/getf2.c: Likewise.
192         * soft-fp/ledf2.c: Likewise.
193         * soft-fp/lesf2.c: Likewise.
194         * soft-fp/letf2.c: Likewise.
195         * soft-fp/muldf3.c: Likewise.
196         * soft-fp/mulsf3.c: Likewise.
197         * soft-fp/multf3.c: Likewise.
198         * soft-fp/negdf2.c: Likewise.
199         * soft-fp/negsf2.c: Likewise.
200         * soft-fp/negtf2.c: Likewise.
201         * soft-fp/op-1.h: Likewise.
202         * soft-fp/op-2.h: Likewise.
203         * soft-fp/op-4.h: Likewise.
204         * soft-fp/op-8.h: Likewise.
205         * soft-fp/op-common.h: Likewise.
206         * soft-fp/quad.h: Likewise.
207         * soft-fp/single.h: Likewise.
208         * soft-fp/soft-fp.h: Likewise.
209         * soft-fp/subdf3.c: Likewise.
210         * soft-fp/subsf3.c: Likewise.
211         * soft-fp/subtf3.c: Likewise.
212         * soft-fp/truncdfsf2.c: Likewise.
213         * soft-fp/trunctfdf2.c: Likewise.
214         * soft-fp/trunctfsf2.c: Likewise.
215         * soft-fp/unorddf2.c: Likewise.
216         * soft-fp/unordsf2.c: Likewise.
217         * soft-fp/unordtf2.c: Likewise.
218         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
219         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
220         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
221         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
222         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
223         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
224         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
225         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
226         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
227         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
228         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
229         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
231 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
233         * config/mips/lib2funcs.c: New file.
234         * config/mips/t-mips (LIB2ADD_ST): Add it.
236 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
238         PR target/6526
239         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
240         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
242 2013-06-08  Walter Lee  <walt@tilera.com>
244         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
245         Replace int64_t with long long.  Add __extension__ where
246         appropriate.
247         * config/tilepro/atomic.c: Include config.h.
249 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
251         * config.host (arm-wrs-vxworks): Configure with other soft float.
253 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
255         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
256         (mips64r5900el-*-elf*): New configurations.
258 2013-06-04  Alan Modra  <amodra@gmail.com>
260         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
262 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
264         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
266 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
268         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
269         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
270         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
272 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
274         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
275         (powerpc-wrs-vxworks): Likewise.
277 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
279         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
280         signal frames as well.
281         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
282         STACK_BIAS to the CFA offset.
284 2013-05-17  Richard Henderson  <rth@redhat.com>
286         PR target/49146
287         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
288         (execute_cfa_program): Use it when storing to fs->regs.
290 2013-05-08  Kai Tietz  <ktietz@redhat.com>
292         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
293         (__deregister_frame_info): Likewise.
295 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
297         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
298         NaN's payload.
300         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
302 2013-04-25  Alan Modra  <amodra@gmail.com>
304         * config.host: Match little-endian powerpc-linux.
306 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
308         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
309         as 'unsigned long long' instead of 'unsigned long'.
310         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
311         'signed long'.
313 2013-04-10  Julian Brown  <julian@codesourcery.com>
315         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
316         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
317         unsigned char/unsigned short.
318         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
320 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
322         PR other/55274
323         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
325 2013-04-04  Meador Inge  <meadori@codesourcery.com>
327         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
328         computing the location of the link register.
329         (aeabi_uldivmod): Ditto.
331 2013-03-27  Kai Tietz  <ktietz@redhat.com>
333         * config.host: Add support for cygwin x64 target.
334         * configure: Regenerated.
336 2013-03-26  Walter Lee  <walt@tilera.com>
338         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
339         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
341 2013-03-25  Kai Tietz  <ktietz@redhat.com>
343         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
345 2013-03-20  Robert Mason  <rbmj@verizon.net>
347         * config/vxlib-tls.c (__gthread_get_tsd_data,)
348         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
349         (__gthread_leave_tsd_dtor_context): Add prototypes.
350         (tls_delete_hook): Update.
352 2013-03-20  Catherine Moore  <clm@codesourcery.com>
353             Joseph Myers  <joseph@codesourcery.com>
354             Chao-ying Fu  <fu@mips.com>
356         * config/mips/mips16.S:  Don't build for microMIPS.
357         * config/mips/linux-unwind.h: Handle microMIPS frame.
358         * config/mips/crtn.S (fini, init): New labels.
360 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
362         PR tree-optimization/53265
363         * unwind-dw2.c (execute_cfa_program): Avoid
364         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
365         on targets with DWARF_FRAME_REGISTERS < 32.
367 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
369         PR target/49880
370         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
371         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
373 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
375         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
376         sandybridge processors.
378 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
380         PR target/56529
381         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
382         inclusion list.
384 2013-03-04  Edgar E. Iglesias <edgar.iglesias@gmail.com>
386         * config/microblaze/crti.S: Setup stack protection at entry
388 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
390         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
391         (__rotldi3): Shift bytewise if applicable.
393 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
395         * config/aarch64/sync-cache.c
396         (__aarch64_sync_cache_range): Silence warnings.
398 2013-02-25  Catherine Moore  <clm@codesourcery.com>
400         Revert:
401         2013-02-24  Catherine Moore  <clm@codesourcery.com>
402             Joseph Myers  <joseph@codesourcery.com>
403             Chao-ying Fu  <fu@mips.com>
405         * config/mips/mips16.S:  Don't build for microMIPS.
406         * config/mips/linux-unwind.h: Handle microMIPS frame.
407         * config/mips/crtn.S (fini, init): New labels.
409 2013-02-24  Catherine Moore  <clm@codesourcery.com>
410             Joseph Myers  <joseph@codesourcery.com>
411             Chao-ying Fu  <fu@mips.com>
413         * config/mips/mips16.S:  Don't build for microMIPS.
414         * config/mips/linux-unwind.h: Handle microMIPS frame.
415         * config/mips/crtn.S (fini, init): New labels.
417 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
418         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000 
419         as dividend.
421 2013-02-16  Alan Modra  <amodra@gmail.com>
423         PR target/55431
424         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
425         (ppc_fallback_frame_state): Always set up save locations for fp
426         and altivec.  Don't bother with non-callee-saved regs, r0-r13
427         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
429 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
431         PR target/54222
432         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
433         _ssmulHA, _ssmulSA.
434         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
435         _ssmulha3, _usmulusa3, _ssmulsa3.
436         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
437         (__muldi3): XCALL __muldi3_6 instead of rcall.
438         (__umulsidi3, __mulsidi3): New functions.
439         (do_prologue_saves, do_epilogue_restores): New .macros.
440         (__divdi3_moddi3): Use them.
441         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
442         (__usmulusa3, __ssmulsa3): New functions.
444 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
445             Jack Howarth  <howarth@bromo.med.uc.edu>
446             Patrick Marlier  <patrick.marlier@gmail.com>
448         PR libitm/55693
449         * config/darwin-crt-tm.c: Remove dummy functions hack.
451 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
453         PR target/54222
454         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
455         * config/avr/lib2-object.mk: New iterator to build objects from it.
456         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
457         lib2funcs.c.
458         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
459         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
460         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
461         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
462         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
463         * config/avr/lib1funcs-fixed.S: Implement them.
465 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
467         Update copyright years.
469 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
471         PR target/54601
472         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
473         Add crtcxa to extra_parts.
474         * config/rs6000/exit.h: New file.
475         * config/rs6000/cxa_atexit.c: New file.
476         * config/rs6000/cxa_finalize.c: New file.
477         * config/rs6000/crtcxa.c: New file.
478         * config/rs6000/t-aix-cxa: New file.
479         * config/rs6000/libgcc-aix-cxa.ver: New file.
481 2013-01-31  Nick Clifton  <nickc@redhat.com>
483         * config/v850/lib1funcs.S: Add support for e3v5 architecture
484         variant.
486 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
488         PR target/54222
489         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
490         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
491         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
492         _divQQ,  _divHQ,  _divHA,  _divSA,
493         _divUQQ, _divUHQ, _divUHA, _divUSA.
495 2013-01-26  David Holsgrove <david.holsgrove@xilinx.com>
497         * config.host(microblaze*-linux*): tmake_file: Remove
498         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
499         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
500         to exclude functions from being built with libgcc.c and use
501         the microblaze assembly.
503 2013-01-26  Edgar E. Iglesias <edgar.iglesias@gmail.com>
505         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
506         extra_parts.
508 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
510         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
511         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
512         __UINTPTR_TYPE__; also cast 'base' to the same type before the
513         alignment operation.
515 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
517         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
518         loop start address for cache clearing.
520 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
522         * config/avr/lib1funcs.S: Remove trailing blanks.
523         * config/avr/lib1funcs-fixed.S: Ditto.
525 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
527         * config/avr/avr-lib.h: Add GPL copyright notice.
529 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
531         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
532         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
533         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
534         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
536 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
538         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
539         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
541 2013-01-04  Nick Clifton  <nickc@redhat.com>
543         * config/v850/lib1funcs.S: Only provide CALLT support functions if
544         the CALLT instruction is supported.
546 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
548         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
549         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
551 2012-12-13  John Tytgat  <John@bass-software.com>
553         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
554         is 25.
556 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
558         PR libgcc/55451
559         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
560         undefined signed overflows.
562 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
564         PR target/55344
565         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
567 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
569         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
570         (FP_TRAPPING_EXCEPTIONS): Define.
571         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
572         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
574 2012-12-04  Richard Henderson  <rth@redhat.com>
576         PR bootstrap/55571
577         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
579 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
581         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
582         (FP_EX_SHIFT): Define.
583         (FP_TRAPPING_EXCEPTIONS): Define.
585 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
587         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
588         (FP_ROUNDMODE): Use FP_RND_MASK.
589         * config/aarch64/sfp-exceptions.c: New.
590         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
591         Use __sfp_handle_exceptions.
593 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
595         * config.host: (arm*-*-freebsd*): Remove.
596         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
597         (arm*-*-elf*): Remove.
598         (arm*-*-wince-pe*): Remove.
599         * arm/unwind-arm.c (struct fpa_reg): Delete.
600         (struct fpa_regs): Delete.
601         (phase1_vrs): Remove fpa element.
602         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
603         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
604         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
605         * ieee754-sf.S (floatundisf): Remove FPA support.
606         (floatdisf): Likewise.
607         * ieee75f-df.S (floatundidf): Likewise.
608         (floatdidf): Likewise.
610 2012-11-29  Kai Tietz  <ktietz@redhat.com>
612         PR target/55445
613         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
614         * unwind-generic.h: Likewise.
615         * unwind-seh.c: Likewise.
617 2012-11-28  Richard Henderson  <rth@redhat.com>
619         PR libgcc/48076
620         * emutls.c (__emutls_get_address): Avoid race condition between
621         obj->loc.offset read and emutls_key initialization.
623 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
625         Adjust decimal point of signed accum mode to GCC default.
627         PR target/54222
628         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
629         _divqq_helper.
630         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
631         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
632         (__mulha3, __mulsa3)
633         (__divqq3, __divha3, __divsa3): Adjust to new position of
634         decimal point of signed accum types.
636         (__mulusa3_round): New function.
637         (__mulusa3): Use it.
638         (__divqq_helper): New function.
639         (__udivuqq3): Use it.
641 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
643         PR bootstrap/55370
644         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
646 2012-11-18  Teresa Johnson  <tejohnson@google.com>
648         PR bootstrap/55051
649         * libgcov.c (gcov_exit): Remove merged program summary
650         comparison unless !GCOV_LOCKED.
652 2012-11-15  Marcus Shawcroft <marcus.shawcroft@arm.com>
654         * soft-fp: Updated from glibc upstream.
656 2012-11-06  Ian Lance Taylor  <iant@google.com>
658         * generic-morestack.c (__generic_morestack): Align the returned
659         stack pointer to a 32 byte boundary.
660         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
661         increment the return address until we have decided that we don't
662         have a varargs function.
663         (__morestack) [32-bit]: Align stack correctly when calling C
664         functions.
665         (__morestack) [64-bit]: Likewise.
667 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
669         * configure: Regenerate.
671 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
673         PR target/55175
674         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
675         * config/i386/sfp-machine.h: Guard exception handling
676         code with _SOFT_FLOAT.
677         * config/i386/32/sfp-machine.h: Guard rounding handling
678         code with _SOFT_FLOAT.
679         * config/i386/64/sfp-machine.h: Ditto.
681 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
683         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
684         as extra_parts.
686 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
688         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
689         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
690         when appropriate.  Correct structure element types.
691         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
692         -minline-all-stringops from compile flags.
694 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
696         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
698 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
700         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
702 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
704         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
705         tmake_file.
707 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
708             Jim MacArthur  <jim.macarthur@arm.com>
709             Marcus Shawcroft  <marcus.shawcroft@arm.com>
710             Nigel Stephens  <nigel.stephens@arm.com>
711             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
712             Richard Earnshaw  <rearnsha@arm.com>
713             Sofiane Naci  <sofiane.naci@arm.com>
714             Stephen Thomas  <stephen.thomas@arm.com>
715             Tejas Belagod  <tejas.belagod@arm.com>
716             Yufeng Zhang  <yufeng.zhang@arm.com>
718         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
719         * config/aarch64/crti.S: New file.
720         * config/aarch64/crtn.S: New file.
721         * config/aarch64/linux-unwind.h: New file.
722         * config/aarch64/sfp-machine.h: New file.
723         * config/aarch64/sync-cache.c: New file.
724         * config/aarch64/t-aarch64: New file.
725         * config/aarch64/t-softfp: New file.
727 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
729         * config/mmix/crti.S: Mark program and data addresses using PRELD.
730         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
731         no-longer-needed LDBU insns.
733 2012-10-18  Sebastian Huber <sebastian.huber@embedded-brains.de>
735         * config.host
736         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
737         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
739 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
741         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
743 2012-10-15  Matthias Klose  <doko@ubuntu.com>
745         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
747 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
749         * configure: Regenerate.
750         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
752 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
754         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
755         instructions for 64bit targets only.
757 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
759         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
760         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
761         * config/i386/32/sfp-machine.h: ... here.
762         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
763         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
764         New defines.
766 2012-10-07  Matthias Klose  <doko@ubuntu.com>
768         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
769         as unused.
770         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
772 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
774         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
775         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
776         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
777         (ElfW): Likewise.
779 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
781         PR other/53889
782         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
783         Fix parameter names.
785 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
787         PR target/33135
788         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
789         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
790         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
792 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
794         PR target/50457
795         * config/sh/linux-atomic.S: Delete.
796         * config/sh/linux-atomic.c: New.
797         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
798         linux-atomic.c.  Add cflags to disable warnings.
800 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
802         PR other/53889
803         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
804         function.
805         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
806         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
807         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
808         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
809         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
810         Likewise.
811         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
812         Likewise.
813         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
814         Likewise.
815         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
816         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
818 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
820         * config.host (hppa-*-openbsd*): New target.
821         * config/pa/t-openbsd: New file.
823 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
825         PR target/54222
826         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
827         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
828         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
829         (__divsa3): Use __negsi2 to negate r_quoL.
830         * config/avr/lib1funcs.S (FALIAS): New macro.
831         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
832         (__negsi2): ...this new function.
833         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
834         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
835         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
836         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
837         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
838         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
840 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
842         PR target/54089
843         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
844         (lshrsi3): Reimplement as lshrsi3_r0.
846 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
848         PR target/46191
849         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
850         of libgcc.a.
852 2012-09-07  Teresa Johnson  <tejohnson@google.com>
854         PR gcov-profile/54487
855         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
856         differences.
858 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
860         PR target/54461
861         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
862         not configured --with-avrlibc=no.
863         * config/avr/t-avrlibc: New file.
864         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
865         (DPBIT_FUNCS): Ditto.
866         (TPBIT_FUNCS): Ditto.
868 2012-09-04  Teresa Johnson  <tejohnson@google.com>
870         * libgcov.c (struct gcov_summary_buffer): New structure.
871         (gcov_histogram_insert): New function.
872         (gcov_compute_histogram): Ditto.
873         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
874         histograms during summary merging.
876 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
878         * config.host (x86_64-*-openbsd*): New target.
880 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
882         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
883         attribute.
885 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
887         PR target/54222
888         * config/avr/t-avr (conv_X): Rename to func_X.
890 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
892         PR target/54222
893         * config/avr/lib1funcs-fixed.S: New file.
894         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
895         after they are used.
896         (neg2, neg4): New macros.
897         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
898         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
899         (__umulhisi3): Speed up MUL variant if there is enough flash.
900         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
901         avr-modes.def.
902         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
903         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
904         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
905         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
906         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
907         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
908         (LIB2FUNCS_EXCLUDE): Add supported functions.
910 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
912         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
913         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
914         libgcc-s-objects.
915         * fixed-obj.mk: Only expand dependency if $o is not in
916         LIB2FUNCS_EXCLUDE.
918 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
920         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
922 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
924         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
925         depend on --enable-shared.
926         ($(lib1asmfuncs-o)): Use %.vis files independent of
927         --enable-shared.
928         * static-object.mk ($(base)$(objext), $(base).vis)
929         ($(base)_s$(objext)): Use same rules for visibility handling as in
930         shared-object.mk.
932 2012-08-21  Ian Lance Taylor  <iant@google.com>
934         * config/i386/morestack.S (__morestack_non_split): Increase amount
935         of space allocated for non-split code stack.
937 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
939         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
940         even if inhibit_libc.
942 2012-08-17  Julian Brown  <julian@codesourcery.com>
944         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
945         -fexceptions -fnon-call-exceptions if not defined.
946         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
947         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
949 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
951         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
952         type.
954 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
956         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
957         rs6000/t-slibgcc-aix.
959 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
961         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
963 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
965         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
967 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
969         PR driver/54171
970         * Makefile.in (version): Replace top_srcdir with srcdir.
972 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
974         * Makefile.in (version): set to BASE-VER file from gcc directory.
976 2012-08-01  Nick Clifton  <nickc@redhat.com>
978         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
979         Implements __clrsb for an HImode argument.
981 2012-07-31  Nick Clifton  <nickc@redhat.com>
983         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
984         Implements __clrsb for an HImode argument.
985         * config/stormy16/clrsbhi2.c: New file:
986         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
988 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
990         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
992 2012-07-19  Tristan Gingold  <gingold@adacore.com>
993             Richard Henderson  <rth@redhat.com>
995         * unwind-seh.c: New file.
996         * unwind-generic.h: Include windows.h for SEH.
997         (_Unwind_Exception): Use 6 private fields for SEH.
998         (_GCC_specific_handler): Declare.
999         * unwind-c.c (__gcc_personality_seh0): New function.
1000         Adjust for SEH.
1001         * config/i386/libgcc-cygming.ver: New file.
1002         * config/i386/t-seh-eh: New file.
1003         * config.host (x86_64-*-mingw*): Default to seh.
1005 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
1007         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
1009 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
1011         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
1012         __builtin_expect when checking for exceptions.
1013         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
1015 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
1017         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
1018         function declaration.
1019         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
1020         (FP_RND_MASK): New.
1021         * config/ia64/sfp-exceptions.c: New.
1022         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
1024 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
1026         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
1027         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
1028         * config/i386/64/sfp-machine: ... (delete here) ...
1029         * config/i386/sfp-machine.h: ... to here.
1030         (FP_EX_MASK): Remove.
1031         (FP_RND_MASK): New.
1032         (FP_INIT_ROUNDMODE): Declare asm as volatile.
1034 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
1036         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
1037         * config/i386/libgcc-sol2.ver: Ditto.
1038         * config/i386/libgcc-glibc.ver: Ditto.
1040 2012-06-11  Roland McGrath  <mcgrathr@google.com>
1042         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
1043         If __GLIBC__ is defined, refer to __pthread_key_create instead of
1044         pthread_cancel.
1046 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
1048         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
1049         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
1050         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
1051         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
1052         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
1053         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
1054         * config/i386/64/sfp-machine: ... (delete here) ...
1055         * config/i386/sfp-machine.h: ... to here.
1056         (FP_EX_MASK): New.
1057         (__sfp_handle_exceptions): New function declaration.
1058         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
1059         * config/i386/sfp-exceptions.c: New.
1060         * config/i386/t-softfp: New.
1061         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
1062         i386/t-softfp to tmake_file.
1064 2012-06-03  David S. Miller  <davem@davemloft.net>
1066         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
1067         change.
1069 2012-05-31  David S. Miller  <davem@davemloft.net>
1071         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
1072         multiply and divide instructions on 32-bit when V9.
1073         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
1075 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
1077         * config/arm/ieee754-df.S: Fix typos.
1078         * config/arm/ieee754-sf.S: Fix typos.
1079         * config/c6x/libunwind.S: Fix typos.
1080         * config/epiphany/udivsi3-float.c: Fix typos.
1081         * config/microblaze/muldi3_hard.S: Fix typos.
1082         * config/picochip/adddi3.S: Fix typos.
1083         * config/picochip/ashlsi3.S: Fix typos.
1084         * config/picochip/ashrsi3.S: Fix typos.
1085         * config/picochip/clzsi2.S: Fix typos.
1086         * config/picochip/cmpsi2.S: Fix typos.
1087         * config/picochip/divmod15.S: Fix typos.
1088         * config/picochip/divmodhi4.S: Fix typos.
1089         * config/picochip/divmodsi4.S: Fix typos.
1090         * config/picochip/longjmp.S: Fix typos.
1091         * config/picochip/lshrsi3.S: Fix typos.
1092         * config/picochip/parityhi2.S: Fix typos.
1093         * config/picochip/popcounthi2.S: Fix typos.
1094         * config/picochip/setjmp.S: Fix typos.
1095         * config/picochip/subdi3.S: Fix typos.
1096         * config/picochip/ucmpsi2.S: Fix typos.
1097         * config/picochip/udivmodhi4.S: Fix typos.
1098         * config/picochip/udivmodsi4.S: Fix typos.
1099         * config/spu/divv2df3.c: Fix typos.
1100         * config/spu/mfc_multi_tag_release.c: Fix typos.
1101         * config/spu/mfc_tag_release.c: Fix typos.
1102         * configure.ac: Fix typos.
1103         * configure: Regenerate.
1105 2012-05-25  Ian Lance Taylor  <iant@google.com>
1107         * config/i386/morestack.S (__morestack_non_split): Check whether
1108         caller is varargs and needs %bp to hold the stack frame on return.
1110 2012-05-25  Olivier Hainque  <hainque@adacore.com>
1112         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
1113         sequence in the non pic case on VxWorks.
1115 2012-05-24  Olivier Hainque  <hainque@adacore.com>
1117         * Makefile.in: Move dependency on install-unwind_h from
1118         "install-leaf" to "install".
1120 2012-05-24  Olivier Hainque  <hainque@adacore.com>
1122         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
1123         Use a separate command for stamp removals.
1125 2012-05-21  Andrew Pinski  <apinski@cavium.com>
1127         PR bootstrap/53183
1128         * configure.ac: Define the default includes to being none.
1129         * configure: Regenerate.
1131 2012-05-16  Olivier Hainque  <hainque@adacore.com>
1133         * Makefile.in (install-unwind_h): Rename into ...
1134         (install-unwind_h-forbuild): New target.
1135         (all): Use it instead of the former install-unwind_h.
1136         (install-unwind_h): Reinstate, copy to user install destination
1137         for include files, not to the internal gcc object directory one.
1138         (install-leaf): Depend on it.
1140 2012-05-15  Olivier Hainque  <hainque@adacore.com>
1142         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
1143         register numbers. LR_REGNO replaces R_LR.
1144         (ucontext_for): New, helper for ...
1145         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
1146         and 5.3 of ...
1147         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
1149 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1151         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
1152         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
1153         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
1154         i386/t-cpuinfo ...
1155         (i[34567]86-*-*, x86_64-*-*): ... here.
1157         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
1158         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
1160         * config/i386/i386-cpuinfo.c: Rename to ...
1161         * config/i386/cpuinfo.c: ... this.
1162         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
1164         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
1165         (libgcc_cv_init_priority): New test.
1166         * configure: Regenerate.
1167         * config.in: New file.
1168         * Makefile.in (clean): Rename config.h to auto-target.h.
1169         (config.h): Likewise.
1170         (stamp-h): Likewise.
1172         * config/i386/cpuinfo.c (auto-target.h): Include.
1173         (CONSTRUCTOR_PRIORITY): Define.
1174         (__cpu_indicator_init): Use it.
1176 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
1178         * longlong.h: Use a URL instead of an FSF postal address.
1179         Replace spaces with tab.
1181 2012-05-08  Teresa Johnson  <tejohnson@google.com>
1183         * libgcov.c (gcov_clear, __gcov_reset): New functions.
1184         (__gcov_dump): Ditto.
1185         (gcov_dump_complete): New global variable.
1186         (gcov_exit): Export hidden to enable use in L_gcov_dump.
1187         (__gcov_flush): Outline functionality now in gcov_clear.
1188         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
1190 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
1192         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
1193         (mips*-*-linux*): Include mips/t-tpbit when long double is
1194         16 bytes long.
1196 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
1198         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
1199         (get_available_features): New argument. Check for AVX2.
1200         (__cpu_indicator_init): Modify call to get_available_features.
1202 2012-04-25  Alan Modra  <amodra@gmail.com>
1204         * config/rs6000/crtsavevr.S: New file.
1205         * config/rs6000/crtrestvr.S: New file.
1206         * config/rs6000/t-savresfgpr: Build the above.
1207         * config/rs6000/t-netbsd: Likewise.
1209 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
1211         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
1213 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
1215         * libgcc/config/i386/i386-cpuinfo.c: New file.
1216         * libgcc/config/i386/t-cpuinfo: New file.
1217         * libgcc/config.host: Include t-cpuinfo.
1218         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
1220 2012-04-24  Chao-ying Fu  <fu@mips.com>
1222         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
1224 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
1226         struct siginfo vs. siginfo_t
1228         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
1229         siginfo_t instead of struct siginfo.
1230         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
1231         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
1232         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
1233         (ia64_handle_unwabi): Likewise.
1234         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
1235         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
1236         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
1237         (sh_fallback_frame_state): Likewise.
1238         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
1239         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
1241 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
1243         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
1244         system call number.
1246 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
1248         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
1249         if it hasn't been previously saved.
1251 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
1253         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
1254         only for glibc.
1256 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
1258         PR target/52737
1259         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
1260         instead of __AVR_HAVE_8BIT_SP__.
1262 2012-03-26  Tristan Gingold  <gingold@adacore.com>
1264         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
1265         (unw_table_entry): Use unw_word instead of unsigned long.
1266         (_Unwind_FindTableEntry): Likewise.
1267         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
1268         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
1269         (_Unwind_FindTableEntry): Likewise.
1270         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
1271         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
1272         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
1273         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
1274         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
1275         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
1276         (uw_init_context_1, uw_install_context): Likewise.
1277         (unw_word): Move to unwind-ia64.h
1279 2012-03-26  Tristan Gingold  <gingold@adacore.com>
1281         * config/vms/vms-ucrt0.c: Update copyright years.
1282         Add a sanity check.
1283         (___gcc_main_flags): Declare.
1284         (__main): Check flags to remap argv and exit code.
1285         * config.host (*-*-*vms*): Adjust extra_parts.
1286         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
1287         (crt0.o): Add.
1289 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
1291         * arm/lib1funcs.asm (ctzsi2): New function.
1292         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
1293         * arm/t-linux (LIB1ASMFUNCS): Likewise.
1294         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
1295         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
1296         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
1297         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
1299 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
1301         * config.host: Add bits to support powerpc64-*-freebsd*.
1302         * config/rs6000/freebsd-unwind.h: New file.
1303         * config/rs6000/t-freebsd64: New file.
1305 2012-03-20  Richard Guenther  <rguenther@suse.de>
1307         PR gcov-profile/52627
1308         * libgcov.c (init_mx): Fix mutex name.
1310 2012-03-16  Tristan Gingold  <gingold@adacore.com>
1312         * config/ia64/vms-unwind.h: Remove ulong (and replace
1313         it by unw_reg where used).  Define unw_reg with __int64.
1315 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1317         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1318         Solaris 8 handling.
1319         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1320         Solaris 8 handling.
1321         (sparc_is_sighandler): Likewise.
1323 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
1325         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
1326         <= saved reg size.
1328 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1330         * config/arm/crtn.S: Fix typo.
1332 2012-03-13  Richard Guenther  <rguenther@suse.de>
1334         * libgcov.c: Remove stdio.h include and NULL un-define.
1336 2012-03-13  Richard Guenther  <rguenther@suse.de>
1338         PR target/52569
1339         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
1341 2012-03-13  Richard Guenther  <rguenther@suse.de>
1343         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
1345 2012-03-13  Richard Guenther  <rguenther@suse.de>
1347         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
1348         and __gthread_mutex_init_function definitions.
1350 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1352         * config.host (mips*-*-openbsd*): Remove.
1354 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1356         * config.host: Remove alpha*-dec-osf5.1* handling.
1357         * config/alpha/gthr-posix.c: Remove.
1358         * config/alpha/libgcc-osf5.ver: Remove.
1359         * config/alpha/osf5-unwind.h: Remove.
1360         * config/alpha/t-osf-pthread: Remove.
1361         * config/alpha/t-slibgcc-osf: Remove.
1362         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
1363         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
1364         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
1365         * mkmap-flat.awk: Remove osf_export handling.
1367 2012-03-12  Richard Guenther  <rguenther@suse.de>
1369         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
1370         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1371         (__gthread_mutex_init_function): New function.
1372         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1374         PR gcov/49484
1375         * libgcov.c: Include gthr.h.
1376         (__gcov_flush_mx): New global variable.
1377         (init_mx, init_mx_once): New functions.
1378         (__gcov_flush): Protect self with a mutex.
1379         (__gcov_fork): Re-initialize mutex after forking.
1380         * unwind-dw2-fde.c: Change condition under which to use
1381         __GTHREAD_MUTEX_INIT_FUNCTION.
1383 2012-03-12  Tristan Gingold  <gingold@adacore.com>
1385         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
1386         * config/ia64/t-vms: Likewise.
1388 2012-03-11  Michael Hope  <michael.hope@linaro.org>
1390         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
1391         for Thumb-2.
1393 2012-03-07  Walter Lee  <walt@tilera.com>
1395         * config/tilepro/atomic.c: Rename "atomic_" prefix to
1396         "arch_atomic_".
1397         (atomic_xor): Rename and move definition to
1398         config/tilepro/atomic.h.
1399         (atomic_nand): Ditto.
1400         * config/tilepro/atomic.h: Rename "atomic_" prefix to
1401         "arch_atomic_".
1402         (arch_atomic_xor): Move from config/tilepro/atomic.c.
1403         (arch_atomic_nand): Ditto.
1405 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
1407         PR target/52507
1408         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
1410 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
1412         PR target/52505
1413         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
1414         from RAM.
1416 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
1418         PR target/52461
1419         PR target/52508
1420         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
1421         if RAMPZ affects reading from RAM.
1422         (__tablejump_elpm__): Ditto.
1423         (.xload): Ditto.
1424         (__movmemx_hi): Ditto.
1425         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
1426         (__do_global_dtors): Ditto.
1427         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
1428         (__movmemx_hi): Ditto.
1430 2012-03-05  Richard Henderson  <rth@redhat.com>
1432         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
1433         [ARM] (count_trailing_zeros): Use the builtin.
1435 2012-03-01  Kai Tietz  <ktietz@redhat.com>
1437         * soft-fp: Imported from glibc upstream.
1439 2012-02-28  Kai Tietz  <ktietz@redhat.com>
1441         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
1442         for mingw-targets as attribute gcc_struct.
1444 2012-02-28  Ian Lance Taylor  <iant@google.com>
1446         * generic-morestack.c (__splitstack_releasecontext): Correct call
1447         to __morestack_release_segments.
1449 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1451         PR target/52390
1452         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
1453         for __linux__ when removing signals from __morestack_fullmask.
1455 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
1457         PR target/52261
1458         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
1460 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1462         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
1463         instead of HAVE_INITFINI_ARRAY.
1464         * config/ia64/crtend.S: Likewise.
1466 2012-02-20  Kai Tietz  <ktietz@redhat.com>
1468         PR libstdc++/52300
1469         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
1471         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
1472         to w32-unwind.h header.
1474 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
1476         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
1477         (mips*-*-linux*): Remove t-slibgcc-libgcc.
1478         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
1479         * config/mips/mips16.S (__mips16_rdhwr): Delete.
1481 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
1483         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
1485 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
1487         PR libitm/52220
1488         * config/darwin-crt-tm.c: Correct typo.
1490 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
1491             Patrick Marlier  <patrick.marlier@gmail.com>
1493         PR libitm/52220
1494         * config/darwin-crt-tm.c: Generate dummy functions.
1496 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
1497             Patrick Marlier  <patrick.marlier@gmail.com>
1499         PR libitm/52042
1500         * config/darwin-crt-tm.c (getTMCloneTable): New function.
1501         (__doTMRegistrations): Call it.
1502         (__doTMdeRegistrations): Likewise.
1504 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
1505             Anatoly Sokolov <aesok@post.ru>
1506             Eric Weddington <eric.weddington@atmel.com>
1508         PR target/52261
1509         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
1510         (__epilogue_restores__): Ditto.
1512 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
1514         PR target/51921
1515         PR target/52205
1516         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
1517         Solaris 11 and slightly reformat.
1518         (sparc_is_sighandler): Likewise.
1520 2012-02-14  Walter Lee  <walt@tilera.com>
1522         * config.host: Handle tilegx and tilepro.
1523         * config/tilegx/sfp-machine.h: New file.
1524         * config/tilegx/sfp-machine32.h: New file.
1525         * config/tilegx/sfp-machine64.h: New file.
1526         * config/tilegx/t-crtstuff: New file.
1527         * config/tilegx/t-softfp: New file.
1528         * config/tilegx/t-tilegx: New file.
1529         * config/tilepro/atomic.c: New file.
1530         * config/tilepro/atomic.h: New file.
1531         * config/tilepro/linux-unwind.h: New file.
1532         * config/tilepro/sfp-machine.h: New file.
1533         * config/tilepro/softdivide.c: New file.
1534         * config/tilepro/softmpy.S: New file.
1535         * config/tilepro/t-crtstuff: New file.
1536         * config/tilepro/t-tilepro: New file.
1538 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
1540         PR libstdc++/51296
1541         PR libstdc++/51906
1542         * gthr-posix.h: Allow static initializer macros to be disabled.
1543         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
1545 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
1547         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
1548         Add t-slibgcc-libgcc to tmake_file.
1549         * config/mips/libgcc-mips16.ver: Revert previous patch.
1550         * config/mips/mips16.S (__mips16_rdhwr): Hide.
1552 2012-02-02  Sumanth G <sumanth.gundapaneni@kpitcummins.com>
1553             Jayant R Sonar <jayant.sonar@kpitcummins.com>
1555         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
1556         * config/cr16/crti.S: New file.
1557         * config/cr16/crtlibid.S: New file.
1558         * config/cr16/crtn.S: New file.
1559         * config/cr16/lib1funcs.S: New file.
1560         * config/cr16/t-cr16: New file.
1561         * config/cr16/t-crtlibid: New file.
1562         * config/cr16/unwind-dw2.h: New file.
1563         * config/cr16/unwind-cr16.c: New file.
1564         * config/cr16/divmodhi3.c: New file.
1566 2012-01-25  Alan Modra  <amodra@gmail.com>
1568         * config/rs6000/t-linux64: Delete.  Move..
1569         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
1570         * config/rs6000/t-linux: ..and libgcc flags to here.
1572 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
1574         * config.host (i[34567]86-*-interix3*):
1575         Change triplet to i[34567]86-*-interix[3-9]*.
1576         * configure: Regenerate.
1578 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
1579             Richard Sandiford  <rdsandiford@googlemail.com>
1581         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
1582         * config/mips/mips16.S (__mips16_rdhwr): New function.
1583         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
1585 2012-01-11  Nathan Sidwell  <nathan@acm.org>
1587         * libgcov.c (__gcov_init): Ignore objects with no functions.
1589 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
1591         PR target/49868
1592         Extend __pgmx semantics to linearize memory.
1593         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
1594         * config/avr/lib1funcs.S (__xload_1): New function.
1595         (__movmemx_qi, __movmemx_hi): New functions.
1596         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
1597         semantics.
1599 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
1601         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
1602         purported sigacthandler address isn't null before dereferencing it.
1603         (sparc_is_sighandler): Likewise.
1605 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
1607         PR ada/41929
1608         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
1609         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
1610         (sparc_is_sighandler): Likewise.
1611         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
1613 2012-01-06  Tristan Gingold  <gingold@adacore.com>
1615         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
1616         compatibility thunks...
1617         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
1618         (crtbeginS.o, crtendS.o): ... and these to ...
1619         * config/ia64/t-ia64-elf: ... this new file.
1620         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
1621         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
1623 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1625         * configure: Regenerate.
1626         * config/s390/t-crtstuff: Remove -fPIC.
1628 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
1630         PR bootstrap/51006
1631         * enable-execute-stack-mprotect.c (getpagesize): Do not define
1632         for NetBSD.
1634 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
1636         PR target/51345
1637         * config/avr/lib1funcs.S: Remove FIXME comments.
1638         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
1640 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
1642         Implement light-weight DImode support.
1643         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
1644         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
1645         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
1646         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
1648 2011-12-30  Nathan Sidwell  <nathan@acm.org>
1650         * libgcov.c (gcov_crc32): Remove global var.
1651         (free_fn_data): New function.
1652         (buffer_fn_data): Pass in filename, more robust error recovery.
1653         (crc32_unsigned): New function.
1654         (gcov_exit): More robust detection of new program. More robust
1655         error recovery.
1656         (__gcov_init): Do not update program's crc here.
1658 2011-12-21  Tristan Gingold  <gingold@adacore.com>
1660         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
1662 2011-12-21  Ian Lance Taylor  <iant@google.com>
1664         * config/i386/morestack.S: Simplify CFI opcodes throughout.
1666 2011-12-20  Ian Lance Taylor  <iant@google.com>
1668         * config/i386/morestack.S (__morestack_non_split): If there is
1669         enough stack space already, don't split.  Ask for more stack space
1670         than we required.
1672 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
1674         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
1675         `sys/sdt.h'.
1676         (_Unwind_DebugHook): New function.
1677         (uw_restore_core_regs): New define.
1678         (unwind_phase2): Use uw_restore_core_regs instead of
1679         restore_core_regs.
1680         (unwind_phase2_forced): Likewise.
1681         (__gnu_Unwind_Resume): Likewise.
1683 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
1685         * config/alpha/linux-unwind.h: Update copyright years.
1686         (MD_FROB_UPDATE_CONTEXT): New define.
1687         (alpha_frob_update_context): New function.
1689 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
1691         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
1692         tmake_file rather replacing it.
1694 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
1696         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1697         function is not used for PPC64.
1698         (save_world): Amend comments.  Update the VRsave mask to reflect the
1699         saved regs.
1700         (rest_world): Update comments, do not  clobber r10, do not use r8.
1701         (eh_rest_world_r10): Amend comments, do not use r8.
1702         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
1703         no longer used, move restore of CR and target address to the end of
1704         the routine.
1706 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
1708         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
1709         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
1711 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
1713         PR target/49313
1714         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
1715         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
1717 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
1719         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
1721 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
1723         PR target/49313
1724         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
1725         * config/avr/lib1funcs.S (__muldi3): New function.
1727 2011-12-06  Andrew Pinski  <apinski@cavium.com>
1729         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
1730         size of func_ptr.
1731         (__frame_dummy_init_array_entry): Likewise.
1733 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
1735         Forward-port from gcc-4_6-branch r181936 2011-12-02.
1737         PR target/51345
1738         PR target/51002
1739         * config/avr/lib1funcs.S (__prologue_saves__,
1740         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
1741         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
1743 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
1745         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
1747 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1749         PR other/51272
1750         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
1751         (_ITM_deregisterTMCloneTable): Likewise.
1752         (__register_frame_info): Fix unused warning.
1753         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
1754         pthread_default_stacksize_np): Likewise.
1755         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1757 2011-11-29  DJ Delorie  <dj@redhat.com>
1759         * config.host (rl78-*-elf): New case.
1760         * config/rl78: New directory for the Renesas RL78.
1762 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
1764         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
1765         formatting.
1767 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1769         PR other/51022
1770         * config/rs6000/t-savresfgpr: New file.
1771         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
1772         $(srcdir)/config/rs6000/eabi.S.
1773         * config/rs6000/t-ppccomm-ldbl: Remove.
1774         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
1775         tmake_file.
1776         (powerpc-*-eabispe*): Likewise.
1777         (powerpc-*-eabi*): Likewise.
1778         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1779         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
1780         to tmake_file, remove rs6000/t-ppccomm-ldbl.
1781         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
1782         tmake_file.
1783         (powerpc-*-eabisim*): Likewise.
1784         (powerpc-*-elf*): Likewise.
1785         (powerpc-*-eabialtivec*): Likewise.
1786         (powerpc-xilinx-eabi*): Likewise.
1787         (powerpc-*-rtems*): Likewise.
1788         (powerpcle-*-elf*): Likewise.
1789         (powerpcle-*-eabisim*): Likewise.
1790         (powerpcle-*-eabi*): Likewise.
1792 2011-11-27  Ian Lance Taylor  <iant@google.com>
1794         * generic-morestack.c (__splitstack_find): Check for NULL old
1795         stack value.
1796         (__splitstack_resetcontext): New function.
1797         (__splitstack_releasecontext): New function.
1798         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1800 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
1802         * config/darwin-crt-tm.c: Correct comments, use correct licence.
1804 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
1806         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
1808 2011-11-26  Richard Henderson  <rth@redhat.com>
1810         * config/m68k/linux-atomic.c: New file.
1811         * config/m68k/t-linux: New file.
1812         * config.host (m68k-uclinux, m68k-linux): Use it.
1814 2011-11-26  Richard Henderson  <rth@redhat.com>
1816         * crtstuff.c (__TMC_LIST__): Mark used not unused.
1817         (__TMC_END__): Only declare if hidden is available; in the definition,
1818         if hidden is unavailable add a null record.
1819         (deregister_tm_clones, register_tm_clones): New.
1820         (__do_global_dtors_aux, frame_dummy): Use them.
1821         (__do_global_dtors, __do_global_ctors_1): Likewise.
1823 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
1825         * config/darwin-crt-tm.c: New file.
1826         * config.host (darwin): Build crttms.o crttme.o to provide
1827         startup and shutdown for tm clones.
1828         * config/t-darwin (crttms.o): New build rule.
1829         (crttme.o): Likewise.
1831 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
1833         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
1834         et al.
1836 2011-11-21  Richard Henderson  <rth@redhat.com>
1838         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
1839         (__TMC_LIST__, __TMC_END__): New.
1840         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
1841         (__do_global_dtors): Likewise.
1842         (frame_dummy): Call _ITM_registerTMCloneTable.
1843         (__do_global_ctors_1): Likewise.
1845 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1847         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
1848         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1849         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
1850         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
1851         * config/i386/t-darwin64: Remove.
1852         * config/sh/t-netbsd (LIB2ADD): Remove.
1854 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
1856         PR target/49313
1857         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
1858         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
1859         * config/avr/lib1funcs.S (wmov): New assembler macro.
1860         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
1861         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
1862         (__udivmod64): New function.
1863         (__negdi2): New function.
1865 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
1867         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
1868         *-*-freebsd*aout*): Remove.
1870 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
1872         * static-object.mk (c_flags-$o): Save c_flags.
1873         ($(base)$(objext)): Use it.
1875 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
1877         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
1879 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
1881         PR target/49868
1882         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
1883         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
1884         New functions.
1886 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1888         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
1889         functions.
1890         (aeabi_uidivmod): Likewise.
1891         (umodsi3): Likewise.
1892         (divsi3): Likewise.
1893         (aeabi_idivmod): Likewise.
1894         (modsi3): Likewise.
1896 2011-11-16  Tristan Gingold  <gingold@adacore.com>
1898         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
1900 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
1902         PR target/49868
1903         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
1904         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
1906 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1908         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
1909         tmake_file list.
1910         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
1911         * config/pa/t-stublib64: Delete.
1913 2011-11-12  Richard Henderson  <rth@redhat.com>
1915         * config/rs6000/linux-unwind.h (frob_update_context): Properly
1916         cast the pointer argument to _Unwind_SetGRPtr.
1918 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1920         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
1922 2011-11-09  Ian Lance Taylor  <iant@google.com>
1924         * generic-morestack.c: Include <string.h>.
1925         (uintptr_type): Define.
1926         (struct initial_sp): Add dont_block_signals field.  Reduce size of
1927         extra array by 1.
1928         (allocate_segment): Set prev field to NULL.  Don't set
1929         __morestack_current_segment or __morestack_segments.
1930         (__generic_morestack): Update current->prev and *pp after calling
1931         allocate_segment.
1932         (__morestack_block_signals): Don't do anything if
1933         dont_block_signals is set.
1934         (__morestack_unblock_signals): Likewise.
1935         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
1936         uintptr_type.
1937         (__splitstack_block_signals): New function.
1938         (enum __splitstack_content_offsets): Define.
1939         (__splitstack_getcontext, __splitstack_setcontext): New functions.
1940         (__splitstack_makecontext): New function.
1941         (__splitstack_block_signals_context): New function.
1942         (__splitstack_find_context): New function.
1943         * config/i386/morestack.S (__morestack_get_guard): New function.
1944         (__morestack_set_guard, __morestack_make_guard): New functions.
1945         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1947 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1949         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
1950         (i[34567]86-*-mingw*): ... here.
1951         (x86_64-*-mingw*): ... here.
1953 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1955         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
1957 2011-11-07  Nathan Sidwell  <nathan@acm.org>
1959         * libgcov.c (struct gcov_fn_buffer): New struct.
1960         (buffer_fn_data): New helper.
1961         (gcov_exit): Rework for new gcov data structures.
1963 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
1965         PR target/49313
1966         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
1968 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1970         * config.host (tmake_file): Correct comment.
1971         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
1972         t-libgcc-pic.
1973         (bfin*-uclinux*): Likewise.
1974         (bfin*-linux-uclibc*): Likewise.
1975         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
1977         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
1978         assigning.
1979         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1980         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
1981         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1982         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
1983         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1984         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
1985         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
1986         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1987         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
1988         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
1989         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
1990         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
1991         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
1993         * config/bfin/t-elf: Remove.
1994         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
1996 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1998         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
1999         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
2000         (lm32-*-elf*, lm32-*-rtems*): Split into ...
2001         (lm32-*-elf*): ... this.
2002         (lm32-*-rtems*): ... and this.
2003         Add to tmake_file.
2004         (m32r-*-rtems*): Add to tmake_file.
2005         (moxie-*-rtems*): Likewise.
2006         (sparc-*-rtems*): Likewise.
2007         Remove t-rtems from tmake_file.
2008         (sparc64-*-rtems*): Likewise.
2009         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
2010         instead.
2012 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2014         PR bootstrap/50982
2015         * config/gthr-posix.h: Move ...
2016         * gthr-posix.h: ... here.
2017         * config/gthr-lynx.h: Reflect this.
2018         * config/gthr-vxworks.h: Likewise.
2019         * config/rs6000/gthr-aix.h: Likewise.
2020         * configure.ac (target_thread_file): Likewise.
2021         * configure: Regenerate.
2023 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2025         * config.host (arm*-*-rtemseabi*): New target.
2027 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2029         PR other/50991
2030         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
2031         extra-parts.
2033 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
2035         * config.host (epiphany-*-elf*): New configuration.
2036         * config/epiphany: New Directory.
2038 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
2040         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
2041         * config/avr/t-rtems: New.
2042         Filter out _exit from LIB1ASMFUNCS.
2044 2011-11-04  David S. Miller  <davem@davemloft.net>
2046         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
2047         * configure: Rebuild.
2049 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2051         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
2052         variable.
2054 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
2056         PR target/50931
2057         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
2058         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
2060 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
2062         PR target/50989
2063         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
2065 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2067         * config/c6x/t-elf (LIB2ADDEH): Set.
2068         * config/c6x/t-c6x-elf: Remove.
2070 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2072         * config/i386/sol2-ci.S: Rename to ...
2073         * config/i386/crti.S: ... this.
2074         * config/i386/sol2-cn.S: Rename to ...
2075         * config/i386/crtn.S: ... this.
2076         * config/sparc/sol2-ci.S: Rename to ...
2077         * config/sparc/crti.S: ... this.
2078         * config/sparc/sol2-cn.S: Rename to ...
2079         * config/sparc/crtn.S: ... this.
2080         * config/t-sol2 (CUSTOM_CRTIN): Remove.
2081         (crti.o, crtn.o): Remove.
2083 2011-11-04  Tristan Gingold  <gingold@adacore.com>
2085         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
2087 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
2089         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
2091 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
2093         * config.host (crisv32-*-none, cris-*-none): Remove.
2094         (crisv32-*-elf): Append to tmake_file, don't just set it.
2095         (cris-*-elf): Add missing t-fdpbit to tmake_file.
2097 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2099         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
2100         (ecrtn$(objext)): Likewise.
2101         (ncrti$(objext)): Likewise.
2102         (ncrtn$(objext)): Likewise.
2104 2011-11-03  Andreas Schwab  <schwab@redhat.com>
2106         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
2108 2011-11-02  David S. Miller  <davem@davemloft.net>
2110         * configure.ac: Set host_address on sparc too.
2111         * configure: Regenerate.
2112         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
2113         based upon host_address.
2114         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
2116 2011-11-02  Jason Merrill  <jason@redhat.com>
2118         * config/rs6000/t-ppccomm: Add missing \.
2120 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2122         * gthr-single.h, gthr.h: New files.
2123         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
2124         config/gthr-vxworks.h, config/i386/gthr-win32.h,
2125         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
2126         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
2127         * config/i386/gthr-win32.c: Include "gthr-win32.h".
2128         * configure.ac (thread_header): New variable.
2129         Set it depending on target_thread_file.
2130         (gthr-default.h): Link from $thread_header.
2131         * configure: Regenerate.
2132         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
2134 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2136         * configure.ac (tm_file_): New variable.
2137         Determine from tm_file.
2138         (tm_file, tm_defines): Substitute.
2139         * configure: Regenerate.
2140         * mkheader.sh: New file.
2141         * Makefile.in (clean): Remove libgcc_tm.h.
2142         ($(objects)): Depend on libgcc_tm.h.
2143         (libgcc_tm_defines, libgcc_tm_file): New variables.
2144         (libgcc_tm.h, libgcc_tm.stamp): New targets.
2145         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
2146         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
2147         ($(extra-parts)): Depend on libgcc_tm.h.
2148         * config.host (tm_defines, tm_file): New variable.
2149         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
2150         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
2151         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
2152         (avr-*-rtems*): Likewise.
2153         (avr-*-*): Likewise.
2154         (frv-*-elf): Likewise.
2155         (frv-*-*linux*): Likewise.
2156         (h8300-*-rtems*): Likewise.
2157         (h8300-*-elf*): Likewise.
2158         (i[34567]86-*-darwin*): Likewise.
2159         (x86_64-*-darwin*): Likewise.
2160         (rx-*-elf): Likewise.
2161         (tic6x-*-uclinux): Likewise.
2162         (tic6x-*-elf): Likewise.
2163         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
2164         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
2165         * config/i386/cygming-crtbegin.c: Likewise.
2166         * config/i386/cygming-crtend.c: Likewise.
2167         * config/ia64/fde-vms.c: Likewise.
2168         * config/ia64/unwind-ia64.c: Likewise.
2169         * config/libbid/bid_gcc_intrinsics.h: Likewise.
2170         * config/rs6000/darwin-fallback.c: Likewise.
2171         * config/stormy16/lib2funcs.c: Likewise.
2172         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
2173         * crtstuff.c: Likewise.
2174         * dfp-bit.h: Likewise.
2175         * emutls.c: Likewise.
2176         * fixed-bit.c: Likewise.
2177         * fp-bit.c: Likewise.
2178         * generic-morestack-thread.c: Likewise.
2179         * generic-morestack.c: Likewise.
2180         * libgcc2.c: Likewise.
2181         * libgcov.c: Likewise.
2182         * unwind-dw2-fde-dip.c: Likewise.
2183         * unwind-dw2-fde.c: Likewise.
2184         * unwind-dw2.c: Likewise.
2185         * unwind-sjlj.c: Likewise.
2187 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2189         * configure.ac: Include ../config/picflag.m4.
2190         (GCC_PICFLAG): Call it.
2191         Substitute.
2192         * configure: Regenerate.
2193         * Makefile.in (gcc_srcdir): Remove.
2194         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
2195         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
2196         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
2197         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
2198         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
2199         Use $<.
2200         Remove comment.
2201         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
2202         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
2203         to refer to libgcc2.c.
2204         Use $<.
2205         * config/darwin-64.c: New file.
2206         * config/darwin-crt3.c: Remove comment.
2207         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
2208         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
2209         config/udivmodsi4.c: New files.
2210         * config/memcmp.c, config/memcpy.c, config/memmove.c,
2211         config/memset.c: New files.
2212         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
2213         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
2214         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
2215         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
2216         * config/t-openbsd-thread: New file.
2217         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
2218         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
2219         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
2220         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
2221         qrnnd.S.
2222         Adapt filename.
2223         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
2224         to refer to gthr-posix.c.
2225         * config/alpha/t-vms (LIB2ADD): Set.
2226         * config/alpha/vms-gcc_shell_handler.c: New file.
2227         * config/arm/bpabi.c, config/arm/fp16.c,
2228         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
2229         config/arm/unaligned-funcs.c: New files.
2230         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
2231         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2232         * config/arm/t-linux: Likewise.
2233         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
2234         * config/arm/t-netbsd: New file.
2235         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
2236         * config/arm/t-symbian (LIB2ADD_ST): Set.
2237         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
2238         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2239         * config/bfin/t-elf: New file.
2240         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
2241         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
2242         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
2243         config/c6x/ltf.c: New files.
2244         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
2245         (HOST_LIBGCC2_CFLAGS): Set.
2246         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
2247         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2248         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
2249         New files.
2250         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
2251         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
2252         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
2253         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
2254         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
2255         files.
2256         * config/frv/t-frv (LIB2ADD): Set.
2257         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2258         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
2259         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
2260         config/h8300/popcounthi2.c: New files.
2261         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2262         * config/i386/gthr-win32.c: New file.
2263         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
2264         * config/i386/t-cygwin: Likewise.
2265         * config/i386/t-darwin, config/i386/t-darwin64,
2266         config/i386/t-gthr-win32, config/i386/t-interix: New files.
2267         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
2268         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2269         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2270         * config/ia64/quadlib.c: New file.
2271         * config/ia64/t-hpux (LIB2ADD): Set.
2272         * config/ia64/t-ia64: Add comment.
2273         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
2274         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2275         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
2276         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
2277         * config/m32c/t-m32c (LIB2ADD): Set.
2278         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2279         * config/m32r/t-m32r: Likewise.
2280         * config/m68k/fpgnulib.c: New file.
2281         * config/m68k/t-floatlib (LIB2ADD): Set.
2282         (xfgnulib.c): New target.
2283         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
2284         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
2285         * config/mep/t-mep (LIB2ADD): Set.
2286         * config/microblaze/divsi3.asm: Rename to divsi3.S.
2287         * config/microblaze/moddi3.asm: Rename to moddi3.S.
2288         * config/microblaze/modsi3.asm: Rename to modsi3.S.
2289         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
2290         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
2291         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
2292         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
2293         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
2294         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
2295         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
2296         New files.
2297         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
2298         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
2299         * config/pa/fptr.c, config/pa/lib2funcs.S,
2300         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
2301         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2302         (LIB2ADD, LIB2ADD_ST): Set.
2303         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
2304         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
2305         Set.
2306         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
2307         * config/pdp11/t-pdp11: New file.
2308         * config/picochip/libgccExtras/adddi3.S,
2309         config/picochip/libgccExtras/ashlsi3.S,
2310         config/picochip/libgccExtras/ashrsi3.S,
2311         config/picochip/libgccExtras/clzsi2.S,
2312         config/picochip/libgccExtras/cmpsi2.S,
2313         config/picochip/libgccExtras/divmod15.S,
2314         config/picochip/libgccExtras/divmodhi4.S,
2315         config/picochip/libgccExtras/divmodsi4.S,
2316         config/picochip/libgccExtras/lshrsi3.S,
2317         config/picochip/libgccExtras/parityhi2.S,
2318         config/picochip/libgccExtras/popcounthi2.S,
2319         config/picochip/libgccExtras/subdi3.S,
2320         config/picochip/libgccExtras/ucmpsi2.S,
2321         config/picochip/libgccExtras/udivmodhi4.S,
2322         config/picochip/libgccExtras/udivmodsi4.S: New files.
2323         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
2324         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
2325         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
2326         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
2327         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
2328         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
2329         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
2330         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
2331         files.
2332         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
2333         (HOST_LIBGCC2_CFLAGS): Set.
2334         * config/rs6000/t-darwin64: New file.
2335         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
2336         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
2337         * config/rs6000/t-ppccomm (LIB2ADD): Add
2338         $(srcdir)/config/rs6000/tramp.S.
2339         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
2340         Add  $(srcdir)/config/rs6000/eabi.S.
2341         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
2342         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
2343         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
2344         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
2345         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
2346         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
2347         * config/rs6000/tramp.S: New file.
2348         * config/s390/t-tpf: Remove.
2349         * config/sh/linux-atomic.S: New file.
2350         * config/sh/t-linux (LIB2ADD): Set.
2351         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
2352         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2353         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
2354         to unwind-dw2.c.
2355         (HOST_LIBGCC2_CFLAGS): Set.
2356         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2357         * config/spu/divmodti4.c, config/spu/divv2df3.c,
2358         config/spu/float_disf.c, config/spu/float_unsdidf.c,
2359         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
2360         config/spu/mfc_multi_tag_release.c,
2361         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
2362         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
2363         config/spu/multi3.c: New files.
2364         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
2365         (HOST_LIBGCC2_CFLAGS): Set.
2366         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
2367         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
2368         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
2369         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
2370         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
2371         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
2372         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
2373         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
2374         config/stormy16/umodsi3.c: New files.
2375         * config/xtensa/lib2funcs.S: New file.
2376         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2377         * config/xtensa/t-xtensa (LIB2ADD): Set.
2378         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
2379         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
2380         Add t-freebsd-thread to tmake_file for posix threads.
2381         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
2382         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
2383         (*-*-lynxos*): Likewise.
2384         (*-*-netbsd*): Likewise.
2385         (*-*-openbsd*): Likewise.
2386         Add t-openbsd-thread to tmake_file for posix threads.
2387         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
2388         (*-*-vxworks*): Set tmake_file.
2389         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2390         (alpha*-*-freebsd*): Likewise.
2391         (alpha*-*-netbsd*): Likewise.
2392         (alpha*-*-openbsd*): Likewise.
2393         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
2394         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2395         (alpha*-dec-*vms*): Likewise.
2396         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
2397         (bfin*-elf*): Add bfin/t-elf to tmake_file.
2398         (bfin*-uclinux*): Likewise.
2399         (bfin*-linux-uclibc*): Likewise.
2400         (crisv32-*-elf): Add cris/t-cris to tmake_file.
2401         (crisv32-*-none): Likewise.
2402         (cris-*-elf): Likewise.
2403         (cris-*-none): Likewise.
2404         (cris-*-linux*, crisv32-*-linux*): Likewise.
2405         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
2406         tmake_file.
2407         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
2408         tmake_file.
2409         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
2410         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
2411         (x86_64-*-elf*): Likewise.
2412         (i[34567]86-*-nto-qnx*): Likewise.
2413         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
2414         win32 threads.
2415         (x86_64-*-mingw*): Likewise.
2416         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
2417         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
2418         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2419         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2420         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
2421         tmake_file.
2422         (mipsisa64sr71k-*-elf*): Likewise.
2423         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2424         (mips-*-elf*, mipsel-*-elf*): Likewise.
2425         (mips64-*-elf*, mips64el-*-elf*): Likewise.
2426         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2427         (mips*-*-rtems*): Likewise.
2428         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
2429         to tmake_file.
2430         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
2431         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
2432         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
2433         (spu-*-elf*): Likewise.
2434         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
2436 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2438         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
2439         $(srcdir) to refer to $(LIB1ASMSRC).
2440         Use $<.
2441         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
2442         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
2443         config/arm/lib1funcs.S: New files.
2444         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
2445         * config/arm/t-arm: New file.
2446         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
2447         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
2448         config/arm/t-strongarm-elf: New files.
2449         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
2450         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
2451         * config/avr/lib1funcs.S: New file.
2452         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2453         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
2454         * config/c6x/lib1funcs.S: New file.
2455         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2456         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
2457         * config/frv/lib1funcs.S: New file.
2458         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2459         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
2460         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
2461         * config/ia64/__divxf3.asm: Rename to ...
2462         * config/ia64/__divxf3.S: ... this.
2463         Adapt lib1funcs.asm filename.
2464         * config/ia64/_fixtfdi.asm: Rename to ...
2465         * config/ia64/_fixtfdi.S: ... this.
2466         Adapt lib1funcs.asm filename.
2467         * config/ia64/_fixunstfdi.asm: Rename to ...
2468         * config/ia64/_fixunstfdi.S: ... this.
2469         Adapt lib1funcs.asm filename.
2470         * config/ia64/_floatditf.asm: Rename to ...
2471         * config/ia64/_floatditf.S: ... this.
2472         Adapt lib1funcs.asm filename.
2473         * config/ia64/lib1funcs.S: New file.
2474         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
2475         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2476         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
2477         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
2478         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
2479         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
2480         * config/mep/lib1funcs.S: New file.
2481         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2482         * config/mips/mips16.S: New file.
2483         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2484         * config/pa/milli64.S: New file.
2485         * config/pa/t-linux, config/pa/t-linux64: New files.
2486         * config/picochip/lib1funcs.S: New file.
2487         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2488         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
2489         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
2490         * config/sh/t-netbsd: New file.
2491         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
2492         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
2493         * config/sh/t-sh64: New file.
2494         * config/sparc/lb1spc.S: New file.
2495         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
2496         filename.
2497         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
2498         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
2499         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
2500         config/xtensa/lib1funcs.S: New files.
2501         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2502         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
2503         tmake_file.
2504         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
2505         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
2506         (arm*-*-linux*): Likewise.
2507         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
2508         arm*-*-linux-*eabi, add arm/t-linux otherwise.
2509         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
2510         (arm*-*-ecos-elf): Likewise.
2511         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2512         (arm*-*-rtems*): Likewise.
2513         (arm*-*-elf): Likewise.
2514         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
2515         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
2516         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
2517         (bfin*-uclinux*): Likewise.
2518         (bfin*-linux-uclibc*): Likewise.
2519         (bfin*-rtems*): Likewise.
2520         (bfin*-*): Likewise.
2521         (fido-*-elf): Merge into m68k-*-elf*.
2522         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
2523         (frv-*-*linux*): Add frv/t-frv to tmake_file.
2524         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
2525         (h8300-*-elf*): Likewise.
2526         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
2527         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
2528         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
2529         (i[34567]86-*-mingw*): Likewise.
2530         (x86_64-*-mingw*): Likewise.
2531         (i[34567]86-*-interix3*): Likewise.
2532         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
2533         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
2534         (m68k-*-elf*): Also handle fido-*-elf.
2535         Add m68k/t-floatlib to tmake_file.
2536         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
2537         (m68k-*-linux*): Likewise.
2538         (m68k-*-rtems*): Likewise.
2539         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
2540         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
2541         sh64*-*-*.
2542         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
2543         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
2544         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
2545         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
2546         sh/t-netbsd to tmake_file.
2547         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
2548         (sh-*-rtems*): Add sh/t-sh to tmake_file.
2549         (sh-wrs-vxworks): Likewise.
2550         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
2551         *-leon[3-9]*.
2552         (v850*-*-*): Add v850/t-v850 to tmake_file.
2553         (vax-*-linux*): Add vax/t-linux to tmake_file.
2554         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
2556 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2558         * crtstuff.c: New file.
2559         * Makefile.in (CRTSTUFF_CFLAGS): Define.
2560         (CRTSTUFF_T_CFLAGS): Define.
2561         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
2562         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
2563         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
2564         crtstuff.c.
2565         Use $<.
2566         (crtbeginT.o): Use $(objext).
2567         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
2568         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
2569         (gcc-extra-parts): Remove.
2570         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
2571         Set extra_parts.
2572         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2573         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
2574         Add t-crtstuff-pic to tmake_file.
2575         (*-*-lynxos*): New case.
2576         Set tmake_file, extra_parts.
2577         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
2578         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
2579         *-*-netbsdelf[2-9]*.
2580         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
2581         (*-*-rtems*): Set extra_parts.
2582         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
2583         (*-*-uclinux*): New case.
2584         Set extra_parts.
2585         (*-*-vms*): New case.
2586         Set tmake_file, extra_parts.
2587         (*-*-elf): Set extra_parts.
2588         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
2589         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
2590         vms/t-vms64.
2591         Set extra_parts.
2592         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
2593         Set extra_parts.
2594         (arm*-*-freebsd*): Add t-crtin to tmake_file.
2595         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
2596         (arm-wrs-vxworks): Append to tmake_file.
2597         Set extra_parts.
2598         (arm*-*-uclinux*): Set extra_parts.
2599         (arm*-*-ecos-elf): Likewise.
2600         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
2601         arm*-*-eabi*.
2602         (arm*-*-rtems*): Set extra_parts.
2603         (arm*-*-elf): Likewise.
2604         (avr-*-rtems*): Clear extra_parts.
2605         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
2606         Set extra_parts.
2607         (bfin*-uclinux*): Likewise.
2608         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
2609         (bfin*-rtems*): Append to tmake_file.
2610         Set extra_parts.
2611         (bfin*-*): Likewise.
2612         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
2613         (crisv32-*-elf): ... this.
2614         (crisv32-*-none): ... this.
2615         (cris-*-elf, cris-*-none): New cases.
2616         Add cris/t-elfmulti to tmake_file.
2617         (fr30-*-elf): Append to tmake_file.
2618         Set extra_parts.
2619         (frv-*-elf): Append to tmake_file, add frv/t-frv.
2620         Set extra_parts.
2621         (h8300-*-rtems*): Append to tmake_file.
2622         Set extra_parts.
2623         (h8300-*-elf*): Likewise.
2624         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
2625         Set extra_parts.
2626         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
2627         Set extra_parts.
2628         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
2629         (x86_64-*-elf*): Likewise.
2630         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
2631         (x86_64-*-freebsd*): Likewise.
2632         (x86_64-*-netbsd*): Likewise.
2633         (i[34567]86-*-linux*): Likewise.
2634         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2635         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2636         (x86_64-*-linux*): Likewise.
2637         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2638         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
2639         tmake_file.
2640         Set extra_parts.
2641         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
2642         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
2643         Append to extra_parts, remove crtbegin.o, crtend.o.
2644         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
2645         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
2646         crtend.o, crtbeginS.o, crtendS.o.
2647         (ia64*-*-linux*): Comment extra_parts.
2648         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
2649         Set extra_parts.
2650         (iq2000*-*-elf*): Clear extra_parts.
2651         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
2652         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
2653         (m32r-*-elf*, m32r-*-rtems*): Split off ...
2654         (m32r-*-rtems*): ... this.
2655         Add m32r/t-m32r to tmake_file.
2656         (m68k-*-elf*): Add t-crtin to tmake_file.
2657         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
2658         (mcore-*-elf): Likewise.
2659         (microblaze*-*-*): Set extra_parts.
2660         (mips*-sde-elf*): New case.
2661         Set tmake_file, extra_parts.
2662         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2663         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2664         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
2665         tmake_file.
2666         Set extra_parts.
2667         (mipsisa64sr71k-*-elf*): Likewise.
2668         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2669         (mips-*-elf*, mipsel-*-elf*): Likewise.
2670         (mips64-*-elf*, mips64el-*-elf*): Likewise.
2671         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
2672         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
2673         (mips*-*-rtems*): Likewise.
2674         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
2675         (moxie-*-*): Split into ...
2676         (moxie-*-elf, moxie-*-uclinux*): ... this.
2677         Add to extra_parts, remove crtbegin.o, crtend.o.
2678         (moxie-*-rtems*): New case.
2679         Set tmake_file.
2680         Clear extra_parts.
2681         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
2682         Set extra_parts.
2683         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2684         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
2685         tmake_file.
2686         Set extra_parts.
2687         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
2688         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
2689         Set extra_parts.
2690         (powerpc-*-eabisim*): Likewise.
2691         (powerpc-*-elf*): Likewise.
2692         (powerpc-*-eabialtivec*): Likewise.
2693         (powerpc-xilinx-eabi*): Likewise.
2694         (powerpc-*-eabi*): Likewise.
2695         (powerpc-*-rtems*): Likewise.
2696         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
2697         tmake_file.
2698         Set extra_parts.
2699         (powerpc-*-lynxos*): Add to tmake_file.
2700         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
2701         rs6000/t-crtstuff, t-crtstuff-pic.
2702         Set extra_parts.
2703         (powerpcle-*-eabisim*): Likewise.
2704         (powerpcle-*-eabi*): Likewise.
2705         (rx-*-elf): Remove extra_parts.
2706         (s390x-ibm-tpf*): Set extra_parts.
2707         (score-*-elf): Set extra_parts.
2708         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2709         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2710         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2711         (sh64l*-*-netbsd*): Split into ...
2712         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
2713         Add t-crtstuff-pic to tmake_file.
2714         Set extra_parts.
2715         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
2716         Set extra_parts.
2717         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
2718         (sparc-*-elf*): Remove t-crtin from tmake_file.
2719         Add to extra_parts, remove crtbegin.o, crtend.o.
2720         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
2721         (sparc64-*-linux*): Likewise.
2722         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
2723         Add to extra_parts, remove crtbegin.o, crtend.o.
2724         (sparc64-*-elf*): Remove t-crtin from tmake_file.
2725         Add to extra_parts, remove crtbegin.o, crtend.o.
2726         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
2727         Add to extra_parts, remove crtbegin.o, crtend.o.
2728         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
2729         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
2730         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
2731         Set extra_parts.
2732         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
2733         Set extra_parts.
2734         (tic6x-*-*): Change to ...
2735         (tic6x-*-elf): ... this.
2736         Set extra_parts.
2737         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
2738         Set extra_parts.
2739         (am33_2.0-*-linux*): Add comment.
2740         (mep*-*-*): Add mep/t-mep to tmake_file.
2741         Set extra_parts.
2742         * config/alpha/t-vms: New file.
2743         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
2744         * config/arm/crti.S, config/arm/crtn.S: New files.
2745         * config/bfin/crti.S, config/bfin/crtn.S: New files.
2746         * config/bfin/crtlibid.S: New file.
2747         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
2748         * config/c6x/crti.S, config/c6x/crtn.S: New files.
2749         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
2750         (crti.o, crtin.o): New rules.
2751         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2752         * config/c6x/t-uclinux: New file.
2753         * config/cris/t-elfmulti: New file.
2754         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
2755         * config/fr30/crti.S, config/fr30/crtn.S: New files.
2756         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
2757         * config/frv/t-frv: New file.
2758         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
2759         * config/h8300/crti.S, config/h8300/crtn.S: New files.
2760         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
2761         New files.
2762         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
2763         refer to cygming-crtbegin.c, cygming-crtend.c.
2764         Use $<.
2765         * config/i386/t-nto: New file.
2766         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
2767         * config/ia64/crti.S, config/ia64/crtn.S: New files.
2768         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
2769         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
2770         Use .S extension.
2771         Use $<.
2772         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2773         (crtinitS.o): New rule.
2774         * config/ia64/vms-crtinit.S: New file.
2775         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
2776         * config/m32r/initfini.c: New file.
2777         * config/m32r/t-linux, config/m32r/t-m32r: New files.
2778         * config/m68k/crti.S, config/m68k/crtn.S: New files.
2779         * config/mcore/crti.S, config/mcore/crtn.S: New files.
2780         * config/mep/t-mep: New file.
2781         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
2782         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
2783         * config/mips/crti.S, config/mips/crtn.S: New files.
2784         * config/mips/t-crtstuff: New file.
2785         * config/mmix/crti.S, config/mmix/crtn.S: New files.
2786         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
2787         (CUSTOM_CRTIN): Set.
2788         ($(T)crti.o, $(T)crtn.o): Remove $(T),
2789         dependencies.
2790         Use $(srcdir) to refer to crti.S, crtn.S.
2791         Use .S extension, $<.
2792         * config/moxie/crti.asm: Rename to ...
2793         * config/moxie/crti.S: ... this.
2794         * config/moxie/crtn.asm: Rename to ...
2795         * config/moxie/crtn.S: ... this.
2796         * config/moxie/t-moxie: Remove.
2797         * config/pa/stublib.c: New file.
2798         * config/pa/t-stublib, config/pa/t-stublib64: New files.
2799         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
2800         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
2801         * config/rs6000/t-crtstuff: New file.
2802         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
2803         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
2804         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
2805         Make output file explicit.
2806         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
2807         Make output file explicit.
2808         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
2809         Make output file explicit.
2810         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
2811         Make output file explicit.
2812         * config/score/crti.S, config/score/crtn.S: New files.
2813         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
2814         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
2815         files.
2816         * config/sh/t-sh, config/sh/t-superh: New files.
2817         * config/sparc/t-linux64: New file.
2818         * config/spu/cache.S, config/spu/cachemgr.c: New files.
2819         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
2820         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
2821         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
2822         * config/t-crtin: Remove.
2823         * config/t-crtstuff-pic: New file.
2824         * config/t-sol2 (CUSTOM_CRTIN): Set.
2825         (crti.o, crtn.o): New rules.
2826         * config/vms/t-vms: New file.
2827         * config/vms/vms-ucrt0.c: New file.
2828         * config/xtensa/t-elf: New file.
2830 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2832         * Makefile.in (SHLIB_NM_FLAGS): Set.
2833         * mkmap-flat.awk, mkmap-symver.awk: New files.
2834         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
2835         exceptions.
2836         * configure: Regenerate.
2837         * config/libgcc-glibc.ver: New file.
2838         * config/libgcc-libsystem.ver: New file.
2839         * config/t-libunwind (SHLIB_LC): Set.
2840         * config/t-linux: New file.
2841         * config/t-slibgcc (INSTALL_SHLIB): New.
2842         (SHLIB_INSTALL): Use it.
2843         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
2844         to mkmap-symver.awk.
2845         (SHLIB_MAPFILES): Don't append, adapt pathname.
2846         (SHLIB_VERPFX): Set.
2847         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
2848         to mkmap-symver.awk.
2849         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
2850         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
2851         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
2852         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
2853         to mkmap-flat.awk.
2854         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
2855         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
2856         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
2857         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
2858         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
2859         * config/i386/libgcc-darwin.10.4.ver,
2860         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
2861         New files.
2862         * config/i386/t-darwin: Remove.
2863         * config/i386/t-darwin64: Likewise.
2864         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
2865         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
2866         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
2867         * config/i386/t-linux: New file.
2868         * config/i386/t-mingw32: New file.
2869         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
2870         * config/ia64/t-glibc: Rename to ...
2871         * config/ia64/t-linux: ... this.
2872         (SHLIB_MAPFILES): Set.
2873         * config/ia64/t-glibc-libunwind: Rename to ...
2874         * config/ia64/t-linux-libunwind: ... this.
2875         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
2876         * config/ia64/t-slibgcc-hpux: New file.
2877         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
2878         * config/m68k/t-slibgcc-elf-ver: New file.
2879         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
2880         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
2881         to mkmap-flat.awk.
2882         * config/pa/t-slibgcc-hpux: New file.
2883         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
2884         files.
2885         * config/rs6000/libgcc-darwin.10.4.ver,
2886         config/rs6000/libgcc-darwin.10.5.ver: New files.
2887         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
2888         config/rs6000/libgcc-glibc.ver.
2889         * config/rs6000/libgcc-ppc64.ver: Rename to
2890         config/rs6000/libgcc-ibm-ldouble.ver.
2891         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
2892         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
2893         * config/rs6000/t-ldbl128: Rename to ...
2894         * config/rs6000/t-linux: ... this.
2895         (SHLIB_MAPFILES): Adapt filename.
2896         * config/rs6000/t-slibgcc-aix: New file.
2897         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
2898         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
2899         libgcc-excl.ver, libgcc-glibc.ver.
2900         (SHLIB_LINK, SHLIB_INSTALL): Remove.
2901         * config/sparc/libgcc-glibc.ver: New file.
2902         * config/sparc/t-linux: New file.
2903         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
2904         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
2905         t-slibgcc-elf-ver to tmake_file.
2906         Add t-slibgcc-nolc-override to tmake_file for posix threads on
2907         *-*-freebsd[34].
2908         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2909         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
2910         t-slibgcc-elf-ver, t-linux to tmake_file.
2911         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
2912         tmake_file.
2913         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
2914         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
2915         (alpha*-dec-*vms*): Likewise.
2916         (arm*-*-freebsd*): Append to tmake_file.
2917         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
2918         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
2919         arm*-*-linux-*eabi.
2920         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
2921         tmake_file for arm*-*-symbianelf*.
2922         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
2923         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
2924         cris/t-linux.
2925         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
2926         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
2927         pa/t-slibgcc-dwarf-ver to tmake_file.
2928         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
2929         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
2930         (hppa*64*-*-hpux11*): Likewise.
2931         (hppa[12]*-*-hpux11*): Likewise.
2932         (x86_64-*-darwin*): Don't override tmake_file, but only keep
2933         i386/t-crtpc, i386/t-crtfm.
2934         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
2935         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2936         to tmake_file.
2937         Add i386/t-cygwin to tmake_file.
2938         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
2939         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
2940         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2941         to tmake_file.
2942         Add i386/t-mingw32 to tmake_file.
2943         (x86_64-*-mingw*): Likewise.
2944         (ia64*-*-freebsd*): Append to tmake_file.
2945         (ia64*-*-linux*): Append to tmake_file.
2946         Replace ia64/t-glibc by ia64/t-linux.
2947         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
2948         system libunwind.
2949         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
2950         t-slibgcc-hpux to tmake_file.
2951         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
2952         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
2953         (m32rle-*-linux*): Likewise.
2954         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
2955         sjlj exceptions.
2956         (microblaze*-linux*): New case.
2957         Append to tmake_file, add t-slibgcc-nolc-override.
2958         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
2959         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2960         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
2961         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2962         rs6000/t-slibgcc-aix to tmake_file.
2963         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2964         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2965         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2966         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2967         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2968         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
2969         sh*-*-linux*.
2970         (sparc-*-linux*): Append to tmake_file for *-leon*.
2971         Add sparc/t-linux to tmake_file for non-Leon targets.
2972         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
2973         (tic6x-*-uclinux): New case.
2974         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
2975         (tic6x-*-*): Add c6x/t-elf to tmake_file.
2976         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
2977         (am33_2.0-*-linux*): Append to tmake_file.
2978         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2979         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
2980         x86_64-*-kfreebsd*-gnu.
2981         Add i386/t-linux to tmake_file.
2983 2011-10-28  Ian Lance Taylor  <iant@google.com>
2985         * config/i386/morestack.S: Correct CFI information to do proper
2986         returns throughout function.  In 32-bit mode, save %ebx so that it
2987         is restored on unwind.
2989 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
2991         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
2992         case where B3 isn't the return register.
2994         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
2995         logic for doubleword pops.
2997 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
2999         * config/rs6000/t-freebsd: Add wildcard.
3001 2011-10-21  Paul Brook  <paul@codesourcery.com>
3003         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
3005 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
3006             Eric Botcazou  <ebotcazou@adacore.com>
3008         PR target/50737
3009         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
3010         fs->signal_frame to 1.
3012 2011-10-07  Ian Lance Taylor  <iant@google.com>
3014         * generic-morestack-thread.c: #include <errno.h>.
3016 2011-10-07  Ian Lance Taylor  <iant@google.com>
3018         PR target/46093
3019         * generic-morestack.c (__generic_morestack): Make sure the segment
3020         is large enough for both the stack frame and the copied
3021         parameters.
3023 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3025         PR bootstrap/49804
3026         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
3027         extra_parts.
3029 2011-09-28  Nick Clifton  <nickc@redhat.com>
3031         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
3032         64-bit doubles are not enabled.
3033         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
3034         and floatunsisf functions.
3036 2011-09-13  Paul Brook  <paul@codesourcery.com>
3038         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
3039         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
3040         * unwind-arm-common.inc: New file.
3041         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
3042         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
3043         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
3044         * config/c6x/libunwind.S: New file.
3045         * config/c6x/pr-support.c: New file.
3046         * config/c6x/unwind-c6x.c: New file.
3047         * config/c6x/unwind-c6x.h: New file.
3048         * config/c6x/t-c6x-elf: New file.
3050 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
3052         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
3053         (ASM_DIVZERO): Ditto.
3054         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
3056 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
3058         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
3060 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
3062         PR target/50090
3063         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
3064         instead of an assembly one.
3066 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
3068         PR bootstrap/50047
3069         * Makefile.in (install-unwind_h): Create
3070         $(gcc_objdir)/include/unwind.h atomically.
3072 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3074         * Makefile.in (install-unwind_h): Remove destination file first.
3076 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3078         * sync.c: New file.
3079         * config/mips/t-mips16: New file.
3080         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
3081         (mips*-*-linux*): Likewise.
3082         (mips*-sde-elf*): Likewise.
3083         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
3084         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
3085         Add mips/t-mips16 to tmake_file.
3086         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
3087         (mips-*-elf*): Likewise.
3088         (mips64-*-elf*): Likewise.
3089         (mips64orion-*-elf*): Likewise.
3090         (mips*-*-rtems*): Likewise.
3091         (mipstx39-*-elf*): Likewise.
3092         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
3093         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
3094         LIBGCC_SYNC_CFLAGS.
3095         Use $(srcdir) to refer to sync.c.
3096         Use $<.
3097         ($(libgcc-sync-funcs-o)): Likewise.
3098         ($(libgcc-sync-size-funcs-s-o)): Likewise.
3099         ($(libgcc-sync-funcs-s-o)): Likewise.
3101 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
3103         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
3104         t-libunwind.
3106 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
3108         PR other/48007
3109         * config/i386/value-unwind.h: New.
3111 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
3113         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
3114         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
3115         Add to tmake_file rather than overriding it.
3117 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3119         * config/t-softfp: Remove.
3120         * soft-fp: Moved from ../gcc/config.
3121         * soft-fp/README: Remove t-softfp reference.
3122         * soft-fp/t-softfp: Move to config/t-softfp.
3123         (softfp_machine_header): Remove.
3124         (softfp_file_list): Remove config subdir.
3125         (soft-fp-objects): New variable.
3126         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
3127         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
3128         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
3129         * config/t-softfp-excl: New file.
3130         * config/t-softfp-sfdf: New file.
3131         * config/t-softfp-tf: New file.
3132         * config/no-sfp-machine.h: New file.
3133         * config/arm/sfp-machine.h: New file.
3134         * config/arm/t-softfp: New file.
3135         * config/c6x/sfp-machine.h: New file.
3136         * config/i386/32/t-fprules-softfp: Rename to ...
3137         * config/i386/32/t-softfp: ... this.
3138         (tifunctions, LIB2ADD): Remove.
3139         (softfp_int_modes): Override.
3140         * config/i386/64/t-softfp-compat (tf-functions): Remove config
3141         subdir.
3142         * config/i386/64/eqtf2.c: Likewise.
3143         * config/i386/64/getf2.c: Likewise.
3144         * config/i386/64/letf2.c: Likewise.
3145         * config/ia64/sft-machine.h: New file.
3146         * config/ia64/t-fprules-softfp: Rename to ...
3147         * config/ia64/t-softfp: ... this.
3148         * config/lm32/sfp-machine.h: New file.
3149         * config/moxie/t-moxie-softfp: Remove.
3150         * config/rs6000/ibm-ldouble-format: New file.
3151         * config/rs6000/ibm-ldouble.c: New file.
3152         * config/rs6000/libgcc-ppc-glibc.ver: New file
3153         * config/rs6000/libgcc-ppc64.ver: New file
3154         * config/rs6000/sfp-machine.h: New file.
3155         * config/rs6000/t-freebsd: New file.
3156         * config/rs6000/t-ibm-ldouble: New file.
3157         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
3158         libgcc-ppc-glibc.ver.
3159         * config/rs6000/t-linux64: New file.
3160         * config/rs6000/t-ppccomm (LIB2ADD): Add
3161         $(srcdir)/config/rs6000/ibm-ldouble.c.
3162         * config/rs6000/t-ppccomm-ldbl: New file.
3163         * config/score/sfp-machine.h: New file.
3164         * config.host (sfp_machine_header): Explain.
3165         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
3166         t-softfp to tmake_file.
3167         (arm*-*-uclinux*): Likewise.
3168         (arm*-*-ecos-elf): Likewise.
3169         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
3170         (arm*-*-rtems*): Likewise.
3171         (arm*-*-elf): Likewise.
3172         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
3173         in tmake_file.
3174         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
3175         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
3176         (lm32-*-uclinux*): Likewise.
3177         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
3178         t-softfp-excl, t-softfp.
3179         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
3180         (powerpc64-*-darwin*): Likewise.
3181         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
3182         to tmake_file.
3183         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
3184         tmake_file.
3185         (powerpc-*-eabisim*): Likewise.
3186         (powerpc-*-elf*): Likewise.
3187         (powerpc-*-eabialtivec*): Likewise.
3188         (powerpc-xilinx-eabi*): Likewise.
3189         (powerpc-*-rtems*): Likewise.
3190         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
3191         t-softfp-excl, t-softfp to tmake_file.
3192         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
3193         rs6000/t-ppccomm-ldbl to tmake_file.
3194         (powerpcle-*-elf*): Likewise.
3195         (powerpcle-*-eabisim*): Likewise.
3196         (powerpcle-*-eabi*): Likewise.
3197         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3198         rs6000/t-ibm-ldouble to tmake_file.
3199         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3200         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3201         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
3202         (tic6x-*-*): Likewise.
3203         (i[34567]86-*-darwin*, x86_64-*-darwin*,
3204         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
3205         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
3206         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
3207         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
3208         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
3209         t-softfp to tmake_file.
3210         * configure.ac (sfp_machine_header): Provide default if unset.
3211         Substitute.
3212         Link sfp-machine.h to config/$sfp_machine_header.
3213         * configure: Regenerate.
3215 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3217         * Makefile.in (double_type_size, long_double_type_size): Set.
3218         Remove $(fpbit-in-libgcc) support.
3219         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
3220         (fpbit-src): New variable.
3221         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
3222         Compile with -DFLOAT $(FPBIT_CFLAGS).
3223         Use $<.
3224         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
3225         Compile with $(FPBIT_CFLAGS).
3226         Use $<.
3227         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
3228         Compile with -DFLOAT $(TPBIT_CFLAGS).
3229         Use $<.
3230         * configure.ac (double_type_size, long_double_type_size):
3231         Determine and substitute.
3232         * configure: Regenerate.
3233         * fp-bit.c, fp-bit.h: New files.
3234         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
3235         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
3236         * config/mips/t-mips: New file.
3237         * config/mips/t-sdemtk: New file.
3238         * config/rs6000/ppc64-fp.c: New file.
3239         * config/rs6000/t-darwin (LIB2ADD): Add
3240         $(srcdir)/config/rs6000/ppc64-fp.c.
3241         * config/rs6000/t-ppc64-fp: New file.
3242         * config/rx/rx-lib.h: New file.
3243         * config/rx/t-rx (FPBIT): Set to true.
3244         ($(gcc_objdir)/fp-bit.c): Remove.
3245         (DPBIT): Set to true only with -m64bit-doubles.
3246         ($(gcc_objdir)/dp-bit.c): Remove.
3247         * config/sparc/t-softfp: Remove.
3248         * config/spu/t-elf: New file.
3249         * config/t-fdpbit, config/t-fpbit: New files.
3250         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
3251         (mips*-*-*): Likewise.
3252         (arm-wrs-vxworks): Likewise.
3253         (arm*-*-freebsd*): Likewise.
3254         (avr-*-rtems*): Add t-fpbit to tmake_file.
3255         (avr-*-*): Likewise.
3256         (bfin*-elf*): Add t-fdpbit to tmake_file.
3257         (bfin*-uclinux*): Likewise.
3258         (bfin*-linux-uclibc*): Likewise.
3259         (bfin*-rtems*): New case.
3260         Add t-fdpbit to tmake_file.
3261         (bfin*-*): Add t-fdpbit to tmake_file.
3262         (crisv32-*-elf): Likewise.
3263         (cris-*-linux*): Likewise.
3264         (fr30-*-elf): Likewise.
3265         (frv-*-elf, frv-*-*linux*): Likewise.
3266         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
3267         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
3268         (m32r-*-elf*): Likewise.
3269         (m32rle-*-elf*): Likewise.
3270         (m32r-*-linux*): Likewise.
3271         (m32rle-*-linux*): Likewise.
3272         (mcore-*-elf): Add t-fdpbit to tmake_file.
3273         (microblaze*-*-*): Likewise.
3274         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
3275         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
3276         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
3277         Fix typo.
3278         Add mips/t-tpbit to tmake-file.
3279         (mips*-*-linux*): Fix typo.
3280         (mips*-sde-elf*): New case
3281         Add mips/t-sdemtk unless using newlib.
3282         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
3283         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
3284         (mn10300-*-*): Likewise.
3285         (pdp11-*-*): Likewise.
3286         (picochip-*-*): Add t-fpbit to tmake_file.
3287         (powerpc-*-eabisimaltivec*): Likewise.
3288         (powerpc-*-eabisim*): Likewise.
3289         (powerpc-*-elf*): Likewise.
3290         (powerpc-*-eabialtivec*): Likewise.
3291         (powerpc-xilinx-eabi*): New case.
3292         Add t-fdpbit to tmake_file.
3293         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
3294         (powerpc-*-rtems*): Likewise.
3295         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
3296         tmake_file.
3297         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
3298         tmake_file.
3299         (powerpc-*-lynxos*): Likewise.
3300         (powerpcle-*-elf*): Likewise.
3301         (powerpcle-*-eabisim*): Likewise.
3302         (powerpcle-*-eabi*): Likewise.
3303         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3304         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
3305         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3306         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3307         (rx-*-elf): Add t-fdpbit to tmake_file.
3308         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3309         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3310         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3311         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
3312         sh*-*-netbsd*.
3313         (sh-*-rtems*): Add t-fdpbit to tmake_file.
3314         (sh-wrs-vxworks): Likewise.
3315         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
3316         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
3317         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
3318         (sparc64-*-rtems*): ... new case.
3319         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
3320         (spu-*-elf*): Likewise.
3321         Add spu/t-elf to tmake_file.
3322         (v850*-*-*): Add t-fdpbit to tmake_file.
3323         (xstormy16-*-elf): Likewise.
3324         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
3325         (mep*-*-*): Likewise.
3327 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3329         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
3330         variables.
3331         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
3332         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
3333         (install-unwind_h): New target.
3334         (all): Depend on it.
3335         * config.host (unwind_header): New variable.
3336         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
3337         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3338         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
3339         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
3340         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
3341         Set unwind_header.
3342         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
3343         Set unwind_header.
3344         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
3345         arm*-*-eabi*.
3346         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
3347         Set unwind_header.
3348         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
3349         (ia64*-*-freebsd*): Likewise.
3350         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
3351         tmake_file.
3352         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
3353         $with_system_libunwind.
3354         (ia64*-*-hpux*): Set tmake_file.
3355         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
3356         (picochip-*-*): Set tmake_file.
3357         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
3358         md_unwind_header.
3359         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3360         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3361         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
3362         (xtensa*-*-elf*): Set tmake_file.
3363         (xtensa*-*-linux*): Likewise.
3364         * configure.ac: Include ../config/unwind_ipinfo.m4.
3365         Call GCC_CHECK_UNWIND_GETIPINFO.
3366         Link unwind.h to $unwind_header.
3367         * configure: Regenerate.
3368         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
3369         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
3370         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
3371         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
3372         * config/unwind-dw2-fde-darwin.c: New file.
3373         * config/arm/libunwind.S, config/arm/pr-support.c,
3374         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
3375         config/arm/unwind-arm.h,: New files.
3376         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
3377         config/ia64/t-eh-ia64, config/ia64/t-glibc,
3378         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
3379         config/ia64/t-vms, config/ia64/unwind-ia64.c,
3380         config/ia64/unwind-ia64.h: New files.
3381         * config/picochip/t-picochip: New file.
3382         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
3383         files.
3384         * config/rs6000/t-darwin (LIB2ADDEH): Set.
3385         * config/s390/t-tpf (LIB2ADDEH): Remove.
3386         * config/t-darwin (LIB2ADDEH): Set.
3387         * config/t-eh-dw2-dip: New file.
3388         * config/t-libunwind, config/t-libunwind-elf: New files.
3389         * config/t-sol2 (LIB2ADDEH): Remove.
3390         * config/xtensa/t-xtensa: New file.
3392 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
3394         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
3395         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
3396         long long to check rt_sigreturn syscall.
3398 2011-08-02  Alan Modra  <amodra@gmail.com>
3400         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3401         Restore for indirect call bcrtl from correct stack slot, and only
3402         if cfa+40 isn't valid.
3404 2011-08-01  Julian Brown  <julian@codesourcery.com>
3406         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
3407         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
3408         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
3410 2011-08-01  Julian Brown  <julian@codesourcery.com>
3412         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
3413         (libgcc-std.ver.in): Use above.
3414         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
3415         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
3416         throughout file.
3417         * config/t-fixedpoint-gnu-prefix: New file.
3418         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
3419         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
3420         instead of __PFX__.
3422 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
3424         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
3425         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
3426         for x86-64.  Properly check __x86_64__ and __LP64__.
3428 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
3430         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
3431         version.
3432         (_FP_WS_TYPE): Likewise.
3433         (_FP_I_TYPE): Likewise.
3435 2011-07-28  Alan Modra  <amodra@gmail.com>
3437         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3438         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
3439         in a plt call stub.  Do restore r2 if stopped on bctrl.
3441 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3443         * config.host (i[3456x]86-*-netware*): Remove.
3444         * config/i386/netware-crt0.c, config/i386/t-nwld,
3445         config/i386/t-slibgcc-nwld: Remove.
3447 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
3449         * config.host: Handle tic6x-*-*.
3450         * config/c6x/c6x-abi.h: New file.
3452 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3454         * config/i386/crtprec.c: New file.
3455         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
3456         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
3457         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
3458         (x86_64-*-darwin*): Likewise.
3459         (i[34567]86-*-solaris2*: Likewise.
3461 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3463         * config/alpha/crtfastmath.c: New file.
3464         * config/i386/crtfastmath.c: New file.
3465         * config/ia64/crtfastmath.c: New file.
3466         * config/mips/crtfastmath.c: New file.
3467         * config/sparc/crtfastmath.c: New file.
3469         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
3470         crtfastmath.c.
3471         Add -frandom-seed=gcc-crtfastmath.
3472         * config/alpha/t-crtfm: Remove.
3473         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
3474         * config/ia64/t-ia64 (crtfastmath.o): Remove.
3476         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
3477         (alpha*-dec-osf5.1*): Likewise.
3478         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
3479         Add crtfastmath.o to extra_parts.
3480         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
3481         Add crtfastmath.o to extra_parts.
3482         (x86_64-*-darwin*): Likewise.
3483         (x86_64-*-mingw*): Likewise.
3484         (ia64*-*-elf*): Add t-crtfm to tmake_file.
3485         (ia64*-*-freebsd*): Likewise.
3486         (ia64*-*-linux*): Likewise.
3487         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
3488         Add crtfastmath.o to extra_parts.
3490 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3492         * config/darwin-crt3.o: New file.
3493         * config/rs6000/darwin-crt2.c: New file.
3494         * config/t-darwin: New file.
3495         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
3496         (crt2.o): New rule.
3497         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
3498         (powerpc-*-darwin*): Add crt2.o to extra_parts.
3499         (powerpc64-*-darwin*): Likewise.
3501 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3503         * config/i386/netware-crt0.c: New file.
3504         * config/i386/t-nwld: Rename to ...
3505         * config/i386/t-slibgcc-nwld: ... this.
3506         * config/i386/t-nwld: New file.
3507         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
3508         tmake_file.
3509         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
3510         extra_parts.
3512 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3514         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
3515         i386/t-crtstuff.
3516         * configure: Regenerate.
3518 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3520         * dfp-bit.c, dfp-bit.h: New files.
3521         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
3522         variables.
3523         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
3524         ($(d64pbit-o)): Likewise.
3525         ($(d128pbit-o)): Likewise.
3526         * config/t-dfprules: New file.
3527         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
3528         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
3529         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3530         (x86_64-*-linux*): Likewise.
3531         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3532         (i[34567]86-*-cygwin*): Likewise.
3533         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
3534         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3536 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3538         * Makfile.in (LIBGCOV): New variable.
3539         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
3540         * libgcov.c: New file.
3542 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3544         * fixed-bit.c, fixed-bit.h: New files.
3545         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
3546         refer to fixed-bit.c.
3548 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
3550         * config.host (*local*): Remove.
3552 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3554         PR target/39150
3555         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
3556         like i?86-*-solaris2.1[0-9]*.
3557         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
3558         * configure.ac (i?86-*-solaris2*): Likewise.
3559         * configure: Regenerate.
3561 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
3563         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3564         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
3565         md_unwind_header by splitting out of...
3566         (i[34567]86-*-linux*): ... this.
3567         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
3568         Remove md_unwind_header by splitting out of...
3569         (x86_64-*-linux*): ... this.
3571 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
3573         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
3575 2011-06-28  Nick Clifton  <nickc@redhat.com>
3577         * config.host: Recognize all V850 variants.
3579 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
3581         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
3583 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3585         * shared-object.mk (c_flags-$o): Save c_flags.
3586         ($(base)$(objext)): Use it.
3587         ($(base)_s$(objext)): Likewise.
3589 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
3591         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
3592         * libgcc-std.ver.in (GCC_4.7.0): New section.
3594 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
3596         PR target/49313
3597         PR target/29524
3598         * config/avr/t-avr: Fix line endings.
3599         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
3600         _parityXX2.
3602 2011-06-14  Olivier Hainque  <hainque@adacore.com>
3603             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3605         * config/mips/irix6-unwind.h: New file.
3606         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
3608 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
3610         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
3611         (sparc64_fallback_frame_state): Use it.
3612         (sparc64_frob_update_context): Further adjust context.
3613         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
3614         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
3615         * config/sparc/sol2-cn.S: Likewise.
3617 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3619         * enable-execute-stack-empty.c: New file.
3620         * enable-execute-stack-mprotect.c: New file.
3621         * config/i386/enable-execute-stack-mingw32.c: New file.
3622         * config.host (enable_execute_stack): New variable.
3623         Select appropriate variants.
3624         * configure.ac: Link enable-execute-stack.c to
3625         $enable_execute_stack.
3626         * configure: Regenerate.
3627         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
3628         (lib2funcs): Remove _enable_execute_stack.
3630 2011-06-09  David S. Miller  <davem@davemloft.net>
3631             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3633         * config.host (sparc-*-linux*): Correct md_unwind_header
3634         filename.
3635         (s390x-ibm-tpf*): Fix typo.
3637 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3639         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
3640         Add crtfastmath.o to extra_parts.
3641         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
3642         mips/t-crtfm.
3643         * config/mips/t-crtfm: Remove.
3645 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3647         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
3649 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
3651         * config.host (sh*-*-linux*): Fix typo.
3653 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3655         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
3656         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
3657         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
3658         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
3659         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
3660         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
3661         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
3662         Wrap in !__MINGW64__.
3663         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
3664         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
3665         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
3666         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
3667         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
3668         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
3669         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
3670         Wrap in !__LP64__.
3671         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
3672         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
3673         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
3674         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
3675         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
3676         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
3677         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
3678         * config/no-unwind.h: New file.
3679         * config.host (md_unwind_header): Document.
3680         Define.
3681         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
3682         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
3683         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
3684         hppa[12]*-*-hpux11*): Set md_unwind_header.
3685         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
3686         Set md_unwind_header.
3687         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
3688         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
3689         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
3690         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
3691         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
3692         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
3693         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
3694         md_unwind_header.
3695         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
3696         * configure: Regenerate.
3698 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3700         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
3701         Set tmake_file, extra_parts.
3702         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
3703         Remove O32 support.
3704         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
3705         Remove O32 support.
3706         * config/mips/t-irix6: New file.
3707         * config/mips/t-slibgcc-irix: New file.
3709 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3711         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
3712         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
3714 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3716         * configure.ac (target_thread_file): Determine thread model.
3717         * configure: Regenerate.
3718         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
3719         * config/alpha/t-alpha: New file.
3720         * config/alpha/t-crtfm: Use $<.
3721         * config/alpha/t-ieee: New file.
3722         * config/alpha/t-osf-pthread: New file.
3723         * config/alpha/t-slibgcc-osf: New file.
3724         * config/alpha/libgcc-osf5.ver: New file.
3726 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3728         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
3729         tmake_file.
3730         Add crtfastmath.o to extra_parts.
3732 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3734         * config/gmon-sol2.c: Reindent.
3735         Cleanup comments.
3736         Remove, correct casts.
3737         Use STDERR_FILENO, NULL.
3738         (BASEADDRESS): Remove.
3739         (minbrk): Remove.
3740         (errno, sbrk): Remove declarations.
3741         (monstartup) [hp300]: Remove.
3742         (mcount): Remove.
3744 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3746         * Makefile.in (cpu_type): Define.
3747         * config.host (i[34567]86-*-rtems*): Handle it.
3748         (i[34567]86-*-solaris2*): Move body ...
3749         (*-*-solaris2*): ... here.
3750         New case, generalize.
3751         (sparc-*-elf*): Handle it.
3752         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
3753         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
3754         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
3755         Fold into ...
3756         (sparc*-*-solaris2*): ... this.
3757         New case.
3758         (sparc64-*-elf*): Handle it.
3759         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
3760         Merge ../gcc/config/i386/gmon-sol2.c.
3761         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
3762         Use C comments.
3763         Merge ../gcc/config/i386/sol2-gc1.asm.
3764         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
3765         Use C comments.
3766         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
3767         Use C comments.
3768         * config/i386/t-crtfm (crtfastmath.o): Use $<.
3769         * config/i386/t-crtstuff: New file.
3770         * config/i386/t-softfp: New file.
3771         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
3772         $(T)crti.o, $(T)crtn.o): Remove.
3773         (gcrt1.o): New rule.
3774         (TARGET_LIBGCC2_CFLAGS): Remove.
3775         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
3776         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
3777         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
3778         * config/sparc/t-sol2: New file.
3779         * config/sparc/t-crtfm: Move to ...
3780         * config/t-crtfm: ... this.
3781         Use $(cpu_type), $<.
3782         * config/t-crtin: New file.
3783         * config/sparc/t-softfp: New file.
3784         * config/sparc/t-softmul: New file.
3785         * config/t-rtems: New file.
3786         * config/t-slibgcc: New file.
3787         * config/t-slibgcc-elf-ver: New file.
3788         * config/t-slibgcc-gld: New file.
3789         * config/t-slibgcc-sld: New file.
3790         * config/t-sol2: New file.
3791         * configure.ac: Include ../config/lib-ld.m4.
3792         Call AC_LIB_PROG_LD_GNU.
3793         Substitute cpu_type.
3794         * configure: Regenerate.
3796 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
3798         PR bootstrap/49173
3799         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
3800         libgcc-std.ver in the build directory.
3801         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
3802         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
3804 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
3806         * libgcc-std.ver.in: New file.
3807         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
3808         variables.
3809         (libgcc-std.ver): New rule.
3810         * config/t-gnu-prefix: New file.
3812 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3814         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
3816 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
3818         * config/i386/darwin-lib.h: New file.
3820 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
3822         * config/arm/symbian-lib.h: New.
3824 2011-05-04  Chris Demetriou  <cgd@google.com>
3826         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
3827         (__x86.get_pc_thunk.bx): ...this.
3828         (__morestack): Adjust for rename, remove undef of __i686.
3830 2011-05-03  Chris Demetriou  <cgd@google.com>
3832         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
3834 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
3836         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
3837         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
3838         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
3839         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
3840         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
3841         Remove cases.
3843 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
3845         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
3846         Adjust copyright year.
3848 2011-03-07  Ian Lance Taylor  <iant@google.com>
3850         * generic-morestack.c (__splitstack_find): Adjust returned stack
3851         pointer to include all registers pushed by __morestack.
3853 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
3855         PR target/40125
3856         * configure.ac: Call ACX_NONCANONICAL_TARGET.
3857         (toolexecdir): Calculate and AC_SUBST.
3858         (toolexeclibdir): Likewise.
3859         * Makefile.in (target_noncanonical): Import.
3860         (toolexecdir): Likewise.
3861         (toolexeclibdir): Likewise.
3862         * configure: Regenerate.
3864 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
3866         PR target/46040
3867         * config/arm/bpabi.h: Rename to...
3868         * config/arm/bpabi-lib.h: ...this.
3870 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3872         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
3873         appropriate.
3874         * configure: Regenerate.
3876 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
3878         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
3879         __FLOAT_WORD_ORDER__.
3880         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
3881         Delete.
3883 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3885         PR other/46202
3886         * Makefile.in (install-strip): New phony target.
3888 2010-11-07  Ian Lance Taylor  <iant@google.com>
3890         PR target/46089
3891         * config/i386/morestack.S (__morestack_large_model): New
3892         function.
3894 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
3896         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
3897         Delete.
3898         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
3900 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
3902         * config/arm/bpabi.h: New file.
3903         * config/frv/frv-abi.h: New file.
3905 2010-10-01  Ian Lance Taylor  <iant@google.com>
3907         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
3908         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
3910 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
3912         PR target/45858
3913         * config.host: Add the missing `$'.
3915 2010-09-30  Michael Eager  <eager@eagercon.com>
3917         * config.host: Add microblaze*-*-*.
3918         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
3919         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
3920         udivsi3.asm,umodsi3.asm}:  New.
3922 2010-09-28  Ian Lance Taylor  <iant@google.com>
3924         * configure.ac: Adjust CFI test to test assembler directly rather
3925         than checking gcc preprocessor macro.
3926         * configure: Rebuild.
3928 2010-09-27  Ian Lance Taylor  <iant@google.com>
3930         * configure.ac: Test whether assembler supports CFI directives.
3931         * config.host: Only add t-stack and i386/t-stack-i386 to
3932         tmake_file if libgcc_cv_cfi is "yes".
3933         * configure: Rebuild.
3935 2010-09-27  Ian Lance Taylor  <iant@google.com>
3937         * generic-morestack.h: New file.
3938         * generic-morestack.c: New file.
3939         * generic-morestack-thread.c: New file.
3940         * config/i386/morestack.S: New file.
3941         * config/t-stack: New file.
3942         * config/i386/t-stack-i386: New file.
3943         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
3944         i386/t-stack-i386 to tmake_file.
3946 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
3948         * Makefile.in (libgcc-extra-parts):  Check for static archives and
3949         invoke ranlib after installing them.
3950         (gcc-extra-parts): Likewise.
3951         (install-leaf): Likewise.
3953 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
3955         * configure: Regenerated.
3957 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
3959         * configure: Regenerated.
3961 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
3962             Andrew Pinski  <pinskia@gmail.com>
3964         PR target/40959
3965         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
3967 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
3969         PR target/45524
3970         * configure: Regenerated.
3972 2010-09-06  Andreas Schwab  <schwab@redhat.com>
3974         * configure: Regenerate.
3976 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
3978         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
3979         64bit targets.
3980         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
3981         for 64bit targets.
3983 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
3984             Iain Sandoe  <iains@gcc.gnu.org>
3986         PR target/45476
3987         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
3988         LIB2FUNCS_EXCLUDE functions.
3990 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3992         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
3993         Include dfp.m4.
3994         * configure: Regenerate.
3996 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
3998         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
3999         i386/t-freebsd to tmake_file.
4000         * config/i386/t-freebsd: New file.
4001         * config/i386/libgcc-bsd.ver: New file.
4003 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
4005         * config.host (powerpc*-eabispe*): Set tmake_file.
4006         (powerpc*-eabi*): Likewise.
4007         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
4008         crtbeginS, crtendS, crtbeginT.
4010 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
4012         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
4013         to tmake_file.  Add crtfastmath.o to extra_parts.
4014         * config/mips/t-crtfm: New.
4016 2010-05-19  Joel Sherrill <joel.sherrill@oarcorp.com>
4018         * config.host (sparc64-*-rtems*): New target.
4020 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4022         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
4023         assembler syntax.
4025 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
4027         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
4029 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4031         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
4032         alpha-dec-osf5.0* support.
4034 2010-04-01  Ralf Corsépius <ralf.corsepius@rtems.org>
4036         * config.host: Add lm32-*-rtems*.
4038 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4039             Uros Bizjak <ubizjak@gmail.com>
4041         PR target/39048
4042         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
4043         like other remaining 32-bit x86 OSes.
4044         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
4045         assembler syntax.
4046         * config/i386/libgcc-sol2.ver: New file.
4047         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
4049 2010-03-30  Jack Howarth <howarth@bromo.med.uc.edu>
4051         PR c/43553
4052         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
4053         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
4054         is used and substitute set_use_emutls.
4055         * configure: Regenerated.
4057 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
4059         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
4061 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4063         PR target/38085
4064         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
4065         MULTILIB_CFLAGS.
4066         ($(T)gcrt1.o): Likewise.
4067         ($(T)crt1.o): Likewise.
4068         ($(T)crti.o): Likewise.
4069         ($(T)crtn.o): Likewise.
4071 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4073         PR other/42980
4074         * Makefile.in (install): Use $(MAKE) string in rule, for
4075         parallel make.
4077 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
4079         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
4080         * config/mmix/t-mmix: New file.
4081         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
4083 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
4085         PR java/41991
4086         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
4087         SHLIB_MAPFILES.
4089 2010-01-04  Anthony Green  <green@moxielogic.com>
4091         * config/moxie/crti.asm, config/moxie/crtn.asm,
4092         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
4093         config/moxie/t-moxie: New files.
4094         * config.host: Add t-moxie-softfp reference.
4096 2009-11-18  Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
4098         PR other/39888
4099         * config/t-slibgcc-darwin: Fix embedded rpaths for
4100         --enable-version-specific-runtime-libs, build extension stub
4101         libs exposing features available from current libgcc_s.
4103 2009-11-11  Jon Beniston <jon@beniston.com>
4105         * config.host: Add lm32 targets.
4106         * config/lm32: New directory.
4107         * config/lm32/libgcc_lm32.h: New file.
4108         * config/lm32/_mulsi3.c: New file.
4109         * config/lm32/_udivmodsi4.c: New file.
4110         * config/lm32/_divsi3.c: New file.
4111         * config/lm32/_modsi3.c: New file.
4112         * config/lm32/_udivsi3.c: New file.
4113         * config/lm32/_umodsi3.c: New file.
4114         * config/lm32/_lshrsi3.S: New file.
4115         * config/lm32/_ashrsi3.S: New file.
4116         * config/lm32/_ashlsi3.S: New file.
4117         * config/lm32/crti.S: New file.
4118         * config/lm32/crtn.S: New file.
4119         * config/lm32/t-lm32: New file.
4120         * config/lm32/t-elf: New file.
4121         * config/lm32/t-uclinux: New file.
4123 2009-10-26  Nick Clifton  <nickc@redhat.com>
4125         * config.host: Add support for RX target.
4126         * config/rx: New directory.
4127         * config/rx/rx-abi-functions.c: New file. Supplementary
4128         functions for libgcc to support the RX ABI.
4129         * config/rx/rx-abi.h: New file.  Supplementary header file for
4130         libgcc RX ABI functions.
4131         * config/rx/t-rx: New file: Makefile fragment for building
4132         libgcc for the RX.
4134 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
4136         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
4137         constraint of y0 to "g".
4139 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4141         * config.host: Include the s390 makefile fragments.
4142         * config/s390/32/_fixdfdi.c: New file.
4143         * config/s390/32/_fixsfdi.c: New file.
4144         * config/s390/32/_fixtfdi.c: New file.
4145         * config/s390/32/_fixunsdfdi.c: New file.
4146         * config/s390/32/_fixunssfdi.c: New file.
4147         * config/s390/32/_fixunstfdi.c: New file.
4148         * config/s390/32/t-floattodi: New file.
4149         * config/s390/libgcc-glibc.ver: New file.
4150         * config/s390/t-crtstuff: New file.
4151         * config/s390/t-linux: New file.
4152         * config/s390/t-tpf: New file.
4154 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4156         * configure.ac (AC_PREREQ): Bump to 2.64.
4158 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
4160         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
4162 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4164         * configure: Regenerate.
4166 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
4168         * config.host (ia64-hp-*vms*): New target.
4169         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
4170         with ia64-hp-*vms*.
4172 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4174         * configure.ac: Add snippet for maintainer-mode.
4175         * configure: Regenerate.
4176         * Makefile.in (AUTOCONF, configure_deps): New variables.
4177         ($(srcdir)/configure)): New rule, active only with maintainer
4178         mode turned on.
4180 2009-06-23  DJ Delorie  <dj@redhat.com>
4182         Add MeP port.
4183         * config.host: Add mep support.
4185 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
4187         * config.host: Add i386/${host_address}/t-fprules-softfp and
4188         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
4190         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
4191         for mingw targets.
4192         * config/i386/64/_multc3.c: Likewise.
4193         * config/i386/64/_powitf2.c: Likewise.
4194         * config/i386/64/eqtf2.c: Likewise.
4195         * config/i386/64/getf2.c: Likewise.
4196         * config/i386/64/letf2.c: Likewise.
4197         * config/i386/64/letf2.c: Likewise.
4198         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
4199         unsigned long long for x64 mingw targets.
4200         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
4201         (_FP_I_TYPE): Define as long long for x64 mingw target.
4203 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
4205         * config.host (vax-*-linux*): New.
4207 2009-05-31  Anthony Green  <green@moxielogic.com>
4209         * config.host: Add moxie support.
4210         * config/moxie/t-moxie: New file.
4212 2009-05-29  David Billinghurst <billingd@gcc.gnu.org>
4214         * config.host: Add i386/${host_address}/t-fprules-softfp and
4215         t-softfp to tmake_file for i[34567]86-*-cygwin*.
4217 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
4219         * config.host: Add i386/${host_address}/t-fprules-softfp to
4220         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
4222 2009-04-09  Nick Clifton  <nickc@redhat.com>
4224         * config/ia64/tf-signs.c: Change copyright header to refer to
4225         version 3 of the GNU General Public License with version 3.1
4226         of the GCC Runtime Library Exception and to point readers at
4227         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
4228         web page.
4229         * config/i386/32/tf-signs.c: Likewise.
4230         * config/libbid/_addsub_dd.c: Likewise.
4231         * config/libbid/_addsub_sd.c: Likewise.
4232         * config/libbid/_addsub_td.c: Likewise.
4233         * config/libbid/_dd_to_df.c: Likewise.
4234         * config/libbid/_dd_to_di.c: Likewise.
4235         * config/libbid/_dd_to_sd.c: Likewise.
4236         * config/libbid/_dd_to_sf.c: Likewise.
4237         * config/libbid/_dd_to_si.c: Likewise.
4238         * config/libbid/_dd_to_td.c: Likewise.
4239         * config/libbid/_dd_to_tf.c: Likewise.
4240         * config/libbid/_dd_to_udi.c: Likewise.
4241         * config/libbid/_dd_to_usi.c: Likewise.
4242         * config/libbid/_dd_to_xf.c: Likewise.
4243         * config/libbid/_df_to_dd.c: Likewise.
4244         * config/libbid/_df_to_sd.c: Likewise.
4245         * config/libbid/_df_to_td.c: Likewise.
4246         * config/libbid/_di_to_dd.c: Likewise.
4247         * config/libbid/_di_to_sd.c: Likewise.
4248         * config/libbid/_di_to_td.c: Likewise.
4249         * config/libbid/_div_dd.c: Likewise.
4250         * config/libbid/_div_sd.c: Likewise.
4251         * config/libbid/_div_td.c: Likewise.
4252         * config/libbid/_eq_dd.c: Likewise.
4253         * config/libbid/_eq_sd.c: Likewise.
4254         * config/libbid/_eq_td.c: Likewise.
4255         * config/libbid/_ge_dd.c: Likewise.
4256         * config/libbid/_ge_sd.c: Likewise.
4257         * config/libbid/_ge_td.c: Likewise.
4258         * config/libbid/_gt_dd.c: Likewise.
4259         * config/libbid/_gt_sd.c: Likewise.
4260         * config/libbid/_gt_td.c: Likewise.
4261         * config/libbid/_isinfd128.c: Likewise.
4262         * config/libbid/_isinfd32.c: Likewise.
4263         * config/libbid/_isinfd64.c: Likewise.
4264         * config/libbid/_le_dd.c: Likewise.
4265         * config/libbid/_le_sd.c: Likewise.
4266         * config/libbid/_le_td.c: Likewise.
4267         * config/libbid/_lt_dd.c: Likewise.
4268         * config/libbid/_lt_sd.c: Likewise.
4269         * config/libbid/_lt_td.c: Likewise.
4270         * config/libbid/_mul_dd.c: Likewise.
4271         * config/libbid/_mul_sd.c: Likewise.
4272         * config/libbid/_mul_td.c: Likewise.
4273         * config/libbid/_ne_dd.c: Likewise.
4274         * config/libbid/_ne_sd.c: Likewise.
4275         * config/libbid/_ne_td.c: Likewise.
4276         * config/libbid/_sd_to_dd.c: Likewise.
4277         * config/libbid/_sd_to_df.c: Likewise.
4278         * config/libbid/_sd_to_di.c: Likewise.
4279         * config/libbid/_sd_to_sf.c: Likewise.
4280         * config/libbid/_sd_to_si.c: Likewise.
4281         * config/libbid/_sd_to_td.c: Likewise.
4282         * config/libbid/_sd_to_tf.c: Likewise.
4283         * config/libbid/_sd_to_udi.c: Likewise.
4284         * config/libbid/_sd_to_usi.c: Likewise.
4285         * config/libbid/_sd_to_xf.c: Likewise.
4286         * config/libbid/_sf_to_dd.c: Likewise.
4287         * config/libbid/_sf_to_sd.c: Likewise.
4288         * config/libbid/_sf_to_td.c: Likewise.
4289         * config/libbid/_si_to_dd.c: Likewise.
4290         * config/libbid/_si_to_sd.c: Likewise.
4291         * config/libbid/_si_to_td.c: Likewise.
4292         * config/libbid/_td_to_dd.c: Likewise.
4293         * config/libbid/_td_to_df.c: Likewise.
4294         * config/libbid/_td_to_di.c: Likewise.
4295         * config/libbid/_td_to_sd.c: Likewise.
4296         * config/libbid/_td_to_sf.c: Likewise.
4297         * config/libbid/_td_to_si.c: Likewise.
4298         * config/libbid/_td_to_tf.c: Likewise.
4299         * config/libbid/_td_to_udi.c: Likewise.
4300         * config/libbid/_td_to_usi.c: Likewise.
4301         * config/libbid/_td_to_xf.c: Likewise.
4302         * config/libbid/_tf_to_dd.c: Likewise.
4303         * config/libbid/_tf_to_sd.c: Likewise.
4304         * config/libbid/_tf_to_td.c: Likewise.
4305         * config/libbid/_udi_to_dd.c: Likewise.
4306         * config/libbid/_udi_to_sd.c: Likewise.
4307         * config/libbid/_udi_to_td.c: Likewise.
4308         * config/libbid/_unord_dd.c: Likewise.
4309         * config/libbid/_unord_sd.c: Likewise.
4310         * config/libbid/_unord_td.c: Likewise.
4311         * config/libbid/_usi_to_dd.c: Likewise.
4312         * config/libbid/_usi_to_sd.c: Likewise.
4313         * config/libbid/_usi_to_td.c: Likewise.
4314         * config/libbid/_xf_to_dd.c: Likewise.
4315         * config/libbid/_xf_to_sd.c: Likewise.
4316         * config/libbid/_xf_to_td.c: Likewise.
4317         * config/libbid/bid128.c: Likewise.
4318         * config/libbid/bid128_2_str.h: Likewise.
4319         * config/libbid/bid128_2_str_macros.h: Likewise.
4320         * config/libbid/bid128_2_str_tables.c: Likewise.
4321         * config/libbid/bid128_add.c: Likewise.
4322         * config/libbid/bid128_compare.c: Likewise.
4323         * config/libbid/bid128_div.c: Likewise.
4324         * config/libbid/bid128_fma.c: Likewise.
4325         * config/libbid/bid128_logb.c: Likewise.
4326         * config/libbid/bid128_minmax.c: Likewise.
4327         * config/libbid/bid128_mul.c: Likewise.
4328         * config/libbid/bid128_next.c: Likewise.
4329         * config/libbid/bid128_noncomp.c: Likewise.
4330         * config/libbid/bid128_quantize.c: Likewise.
4331         * config/libbid/bid128_rem.c: Likewise.
4332         * config/libbid/bid128_round_integral.c: Likewise.
4333         * config/libbid/bid128_scalb.c: Likewise.
4334         * config/libbid/bid128_sqrt.c: Likewise.
4335         * config/libbid/bid128_string.c: Likewise.
4336         * config/libbid/bid128_to_int16.c: Likewise.
4337         * config/libbid/bid128_to_int32.c: Likewise.
4338         * config/libbid/bid128_to_int64.c: Likewise.
4339         * config/libbid/bid128_to_int8.c: Likewise.
4340         * config/libbid/bid128_to_uint16.c: Likewise.
4341         * config/libbid/bid128_to_uint32.c: Likewise.
4342         * config/libbid/bid128_to_uint64.c: Likewise.
4343         * config/libbid/bid128_to_uint8.c: Likewise.
4344         * config/libbid/bid32_to_bid128.c: Likewise.
4345         * config/libbid/bid32_to_bid64.c: Likewise.
4346         * config/libbid/bid64_add.c: Likewise.
4347         * config/libbid/bid64_compare.c: Likewise.
4348         * config/libbid/bid64_div.c: Likewise.
4349         * config/libbid/bid64_fma.c: Likewise.
4350         * config/libbid/bid64_logb.c: Likewise.
4351         * config/libbid/bid64_minmax.c: Likewise.
4352         * config/libbid/bid64_mul.c: Likewise.
4353         * config/libbid/bid64_next.c: Likewise.
4354         * config/libbid/bid64_noncomp.c: Likewise.
4355         * config/libbid/bid64_quantize.c: Likewise.
4356         * config/libbid/bid64_rem.c: Likewise.
4357         * config/libbid/bid64_round_integral.c: Likewise.
4358         * config/libbid/bid64_scalb.c: Likewise.
4359         * config/libbid/bid64_sqrt.c: Likewise.
4360         * config/libbid/bid64_string.c: Likewise.
4361         * config/libbid/bid64_to_bid128.c: Likewise.
4362         * config/libbid/bid64_to_int16.c: Likewise.
4363         * config/libbid/bid64_to_int32.c: Likewise.
4364         * config/libbid/bid64_to_int64.c: Likewise.
4365         * config/libbid/bid64_to_int8.c: Likewise.
4366         * config/libbid/bid64_to_uint16.c: Likewise.
4367         * config/libbid/bid64_to_uint32.c: Likewise.
4368         * config/libbid/bid64_to_uint64.c: Likewise.
4369         * config/libbid/bid64_to_uint8.c: Likewise.
4370         * config/libbid/bid_b2d.h: Likewise.
4371         * config/libbid/bid_binarydecimal.c: Likewise.
4372         * config/libbid/bid_conf.h: Likewise.
4373         * config/libbid/bid_convert_data.c: Likewise.
4374         * config/libbid/bid_decimal_data.c: Likewise.
4375         * config/libbid/bid_decimal_globals.c: Likewise.
4376         * config/libbid/bid_div_macros.h: Likewise.
4377         * config/libbid/bid_dpd.c: Likewise.
4378         * config/libbid/bid_flag_operations.c: Likewise.
4379         * config/libbid/bid_from_int.c: Likewise.
4380         * config/libbid/bid_functions.h: Likewise.
4381         * config/libbid/bid_gcc_intrinsics.h: Likewise.
4382         * config/libbid/bid_inline_add.h: Likewise.
4383         * config/libbid/bid_internal.h: Likewise.
4384         * config/libbid/bid_round.c: Likewise.
4385         * config/libbid/bid_sqrt_macros.h: Likewise.
4387 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
4389         * Makefile.in: Change copyright header to refer to version
4390         3 of the GNU General Public License and to point readers at the
4391         COPYING3 file and the FSF's license web page.
4392         * config.host: Likewise.
4394 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
4396         * config.host: Reorder and merge to match config.gcc change.
4398 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
4400         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
4402 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
4404         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
4405         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
4406         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
4407         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
4409 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
4411         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
4412         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4414 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
4416         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
4417         ia64/t-softfp-compat to tmake_file.
4419         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
4421         * config/ia64/__divxf3.asm: New.
4422         * config/ia64/_fixtfdi.asm: Likewise.
4423         * config/ia64/_fixunstfdi.asm: Likewise.
4424         * config/ia64/_floatditf.asm: Likewise.
4425         * config/ia64/t-fprules-softfp: Likewise.
4426         * config/ia64/t-softfp-compat: Likewise.
4427         * config/ia64/tf-signs.c: Likewise.
4429 2009-01-18  Ben Elliston  <bje@au.ibm.com>
4431         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4433 2009-01-16  Ben Elliston  <bje@au.ibm.com>
4435         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
4436         to tmake_file.
4438 2009-01-13  Ben Elliston  <bje@au.ibm.com>
4440         * config/t-softfp: New file.
4441         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
4442         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
4444 2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>
4446         * config.host: Add m32r*-*-rtems*.
4448 2008-12-01  Joel Sherrill <joel.sherrill@oarcorp.com>
4450         * config.host: Add m32c*-*-rtems*.
4452 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4454         PR bootstrap/33100
4455         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
4456         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
4457         * configure: Regenerate.
4458         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
4459         tmake_file here from gcc/config.gcc.
4460         Move extra_parts here from gcc/config.gcc.
4461         * config/i386/t-sol2: Move here from gcc/config/i386.
4462         Use gcc_srcdir instead of srcdir.
4464 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
4466         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
4467         case.
4469 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
4471         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
4473 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
4475         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
4477 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
4479         Add picoChip port.
4480         * config.host: Add picochip-*-*.
4482 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
4484         * config.host: Match more processor names for Xtensa.
4486 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
4488         * config/i386/64/t-softfp-compat: Update comments.
4490 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
4492         * config/i386/64/_divtc3-compat.c: Moved to ...
4493         * config/i386/64/_divtc3.c: Here.
4495         * config/i386/64/_multc3-compat.c: Moved to ...
4496         * config/i386/64/_multc3.c: Here.
4498         * config/i386/64/_powitf2-compat.c: Moved to ...
4499         * config/i386/64/_powitf2.c: Here.
4501         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
4502         .c suffix instead of -compat.c.
4504 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
4506         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
4507         (_FP_MUL_MEAT_D): Ditto.
4508         (_FP_DIV_MEAT_S): Ditto.
4509         (_FP_DIV_MEAT_D): Ditto.
4511 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
4513         * Makefile.in: Add support for __sync_* libgcc functions.
4515 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
4517         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
4519 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4521         PR boostrap/36702
4522         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
4523         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
4525         * config/i386/64/t-fprules-softfp: Moved to ...
4526         * config/i386/64/t-softfp-compat: This.  New.
4528 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
4530         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
4531         Initialize f with 0.0.
4533 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4535         PR target/36669
4536         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
4538         * config/i386/64/_divtc3-compat.c: New.
4539         * config/i386/64/_multc3-compat.c: Likewise.
4540         * config/i386/64/_powitf2-compat.c: Likewise.
4541         * config/i386/64/eqtf2.c: Likewise.
4542         * config/i386/64/getf2.c: Likewise.
4543         * config/i386/64/letf2.c: Likewise.
4544         * config/i386/64/t-fprules-softfp: Likewise.
4546 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4548         * config.host: Add i386/${host_address}/t-fprules-softfp to
4549         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
4550         i[34567]86-*-linux*, x86_64-*-linux*.
4552         * configure.ac: Set host_address to 64 or 32 for x86.
4553         * configure: Regenerated.
4555         * Makefile.in (config.status): Also depend on
4556         $(srcdir)/config.host.
4558         * config/i386/32/t-fprules-softfp: New.
4559         * config/i386/32/tf-signs.c: Likewise.
4561         * config/i386/64/sfp-machine.h: New. Moved from gcc.
4563 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4564             Uros Bizjak  <ubizjak@gmail.com>
4566         * config/i386/32/sfp-machine.h: New.
4568 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
4570         * config/rs6000/t-ppccomm: Remove rules that conflict with
4571         auto-generated rules.
4573 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4575         * configure.ac: sinclude override.m4.
4576         * configure: Regenerate.
4578 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
4580         * configure: Regenerate.
4582 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
4584         * Makefile.in (DECNUMINC): Remove
4585         -I$(MULTIBUILDTOP)../../libdecnumber.
4586         * gstdint.h: New.
4588 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
4590         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
4591         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
4592         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
4593         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
4594         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
4595         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
4596         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
4597         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
4598         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
4599         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
4600         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
4601         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
4602         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
4603         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
4605 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
4607         * config.host (sh2[lbe]*-*-linux*): Allow target.
4609 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
4611         * config/rs6000/t-ppccomm: Add build rules for new files.
4612         (LIB2ADD_ST): New variable.
4614 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
4616         PR target/34210
4617         PR target/35508
4618         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
4619         * config/t-avr: New file. Build 16bit libgcc functions.
4621 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
4623         PR target/35401
4624         * config/t-slibgcc-darwin: Make install-leaf dependent on
4625         install-darwin-libgcc-stubs instead of install.
4627 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
4629         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
4630         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
4631         sh-*-rtemscoff*): Remove cases.
4633 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
4635         * Makefile.in (all): Use install-leaf rather than install.
4636         (install): Split most of the rule into...
4637         (install-leaf): ...this new one.
4639 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
4640             Paolo Bonzini  <bonzini@gnu.org>
4642         PR target/30572
4643         * Makefile.in: Use @shlib_slibdir@ substitution to get
4644         correct install name on darwin.
4645         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
4647 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
4649         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
4650         cris-*-elf and cris-*-none.
4651         (crisv32-*-linux*): Similar, as cris-*-linux*.
4653 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
4655         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
4657 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
4659         PR regression/33926
4660         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
4661         * configure: Regenerated.
4663 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
4665         * Makefile.in (dfp-filenames): Replace decimal_globals,
4666         decimal_data, binarydecimal and convert_data with
4667         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
4668         and bid_convert_data, respectively.
4670 2007-09-17  Chao-ying Fu  <fu@mips.com>
4671             Nigel Stephens  <nigel@mips.com>
4673         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
4674         * Makefile.in (fixed_point): Define.
4675         Check if fixed_point is yes to build support functions.
4676         * configure.ac: Check for fixed_point support.
4677         * configure: Regenerated.
4678         * gen-fixed.sh: New file to generate lists of fixed-point labels,
4679         funcs, modes, from, to.
4681 2007-09-11  Janis Johnson  <janis187@us.ibm.com
4683         * Makefile.in (dfp-filenames): Add bid128_noncomp.
4685 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
4687         * Makefile.in (dfp-filenames): Remove decUtility, add
4688         decDouble, decPacked, decQuad, decSingle.
4690 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
4692         * config.host : Add x86_64-elf target.
4694 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
4696         * configure.ac (set_have_cc_tls): Add a missing =.
4697         * configure: Regenerated.
4699 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
4701         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
4702         and x86_64-*-linux*.
4704         * config/t-tls: New file.
4706         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
4708         * configure.ac: Include ../config/enable.m4 and
4709         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
4710         supports TLS and substitute set_have_cc_tls.
4711         * configure: Regenerated.
4713 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
4715         * Makefile.in: Use libbid for DFP when BID is enabled.
4717 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
4719         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
4720         extra_parts. Add config/i386/t-cygming to tmake_file.
4721         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
4723 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
4724             Danny Smith  <dannysmith@users.sourceforge.net>
4726         PR target/29498
4727         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
4728         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
4729         * config/i386/t-crtfm: Compile crtfastmath.o with
4730         -minline-all-stringops.
4732 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
4734         * config.host (sparc-wrs-vxworks): New target.
4736 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
4738         * config.host: Recognize fido.
4740 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
4742         * configure: Check host, not target, for decimal float support.
4744 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
4746         * config/i386/t-crtpc: New file.
4747         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
4748         (x86_64-*-linux*): Ditto.
4750 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
4752         * config.host (x86_64-*-mingw*): New target.
4754 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
4755             H.J. Lu  <hongjiu.lu@intel.com>
4757         * Makefile.in (enable_decimal_float): New.
4758         (DECNUMINC): Add
4759         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
4760         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
4761         (decbits-filenames): This.
4762         (decbits-objects): New.
4763         (libgcc-objects): Add $(decbits-objects).
4765         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
4766         Substitute enable_decimal_float.
4767         * configure: Regenerated.
4769 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
4771         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
4773 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
4775         * Makefile.in (install-info): New dummy target.
4777 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
4779         * config.host (bfin*-linux-uclibc*): Set extra_parts.
4781 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
4783         * Makefile.in: Add install-html and install-pdf dummy
4784         targets.
4786 2007-02-05  Roger Sayle  <roger@eyesopen.com>
4787             Daniel Jacobowitz  <dan@codesourcery.com>
4789         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
4790         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
4791         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
4793 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
4795         * Makefile.in (dec-filenames): Add decExcept.
4797 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
4799         PR bootstrap/30469
4800         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
4801         -fprofile-use.
4803 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
4805         * configure.ac: Add --enable-version-specific-runtime-libs.
4806         Correct $slibdir default.
4807         * configure: Regenerated.
4809 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
4811         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
4813 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
4815         PR target/30519
4816         * config.host (alpha*-*-linux*): Set extra_parts.
4818 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
4820         * config/sh/t-linux: New.
4821         * config.host (sh*-*-linux*): Set tmake_file.
4823 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
4825         * Makefile.in (install): Handle multilibs.
4827 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
4829         * Makefile.in: Added .PHONY entry for documentation targets.
4831 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
4833         * Makefile.in: Add empty info, html, dvi, pdf targets.
4835 2007-01-04  Mike Stump  <mrs@apple.com>
4837         * Makefile.in (MAKEINFO): Remove.
4838         (PERL): Likewise.
4840 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
4842         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
4843         * configure: Regenerate.
4844         * Makefile.in (host_subdir): Substitute it.
4845         (gcc_objdir): Use it.
4847 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
4849         * config.host (ia64*-*-linux*): Set tmake_file.
4851 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
4853         * Makefile.in (version): Define.
4855 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
4856             Paolo Bonzini  <bonzini@gnu.org>
4858         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
4859         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
4860         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
4861         config/sparc/t-crtfm, config/t-slibgcc-darwin,
4862         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
4863         shared-object.mk, siditi-object.mk, static-object.mk: New files.
4864         * configure: Generated.