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