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