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