Implement -fsanitize=vla-bound.
[official-gcc.git] / libgcc / ChangeLog
blob30b53c94ea88ffe9faa14e792e52a24f1708b304
1 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
3         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4         * config/i386/crtprec.c: Ditto.
6 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
7             Shiva Chen  <shiva0217@gmail.com>
9         * config.host (nds32*-elf*): Add nds32 target.
10         * config/nds32 : New directory and files.
12 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
14         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
15         * config.host (cpu_type) <Setting default>: Add entry for
16         crisv32-*-*.
17         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
18         <crisv32-*-linux*>: Adjust.
19         * longlong.h: Wrap the whole CRIS section in a single
20         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
21         and sub_ddmmss.
22         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
23         defined.
24         [__CRIS__] (__umulsidi3): Define.
25         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
26         * config/cris/sfp-machine.h: New file.
27         * config/cris/umulsidi3.S: New file.
28         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
29         * config/cris/arit.c (SIGNMULT): New macro.
30         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
31         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
32         saving 3 out of originally 33 cycles from the fastest
33         path, 3 out of 54 from the medium path and one from the longest
34         path.  Improve comments.
36 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
38         * sync.c: Remove static aliases and define each function directly
39         under its real name.
41 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
43         * config.host (hppa*64*-*-linux*): Define extra_parts.
44         (hppa*-*-linux*): Likewise.
46 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
48         * config/arc/crtgend.S: Add 2013 to Copyright years.
49         * config/arc/gmon/atomic.h: Likewise.
50         * config/arc/gmon/auxreg.h: Likewise.
51         * config/arc/gmon/sys/gmon_out.h: Likewise.
52         * config/arc/gmon/sys/gmon.h: Likewise.
53         * config/arc/gmon/prof-freq.c: Likewise.
54         * config/arc/gmon/mcount.c: Likewise.
55         * config/arc/gmon/prof-freq-stub.S: Likewise.
56         * config/arc/gmon/gmon.c: Likewise.
57         * config/arc/gmon/machine-gmon.h: Likewise.
58         * config/arc/gmon/profil.S: Likewise.
59         * config/arc/gmon/dcache_linesz.S: Likewise.
60         * config/arc/crtg.S: Likewise.
61         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
62         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
63         * config/arc/ieee-754/adddf3.S: Likewise.
64         * config/arc/ieee-754/truncdfsf2.S: Likewise.
65         * config/arc/ieee-754/fixsfsi.S: Likewise.
66         * config/arc/ieee-754/gtsf2.S: Likewise.
67         * config/arc/ieee-754/floatsisf.S: Likewise.
68         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
69         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
70         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
71         * config/arc/ieee-754/fixdfsi.S: Likewise.
72         * config/arc/ieee-754/addsf3.S: Likewise.
73         * config/arc/ieee-754/gesf2.S: Likewise.
74         * config/arc/ieee-754/floatsidf.S: Likewise.
75         * config/arc/ieee-754/extendsfdf2.S: Likewise.
76         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
77         * config/arc/ieee-754/gtdf2.S: Likewise.
78         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
79         * config/arc/ieee-754/uneqdf2.S: Likewise.
80         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
81         * config/arc/ieee-754/uneqsf2.S: Likewise.
82         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
83         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
84         * config/arc/ieee-754/eqdf2.S: Likewise.
85         * config/arc/ieee-754/ordsf2.S: Likewise.
86         * config/arc/ieee-754/divsf3.S: Likewise.
87         * config/arc/ieee-754/divdf3.S: Likewise.
88         * config/arc/ieee-754/floatunsidf.S: Likewise.
89         * config/arc/ieee-754/orddf2.S: Likewise.
90         * config/arc/ieee-754/eqsf2.S: Likewise.
91         * config/arc/ieee-754/gedf2.S: Likewise.
92         * config/arc/crtn.S: Likewise.
93         * config/arc/crti.S: Likewise.
94         * config/arc/t-arc700-uClibc: Likewise.
95         * config/arc/asm.h: Likewise.
96         * config/arc/libgcc-excl.ver: Likewise.
97         * config/arc/t-arc-newlib: Likewise.
98         * config/arc/divtab-arc700.c: Likewise.
99         * config/arc/initfini.c: Likewise.
100         * config/arc/fp-hack.h: Likewise.
102 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
103             Diego Novillo  <dnovillo@google.com>
105         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
106         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
107         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
108         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
110 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
111             Brendan Kehoe  <brendan@zen.org>
112             Simon Cook  <simon.cook@embecosm.com>
114         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
115         * config/arc: New directory.
116         * longlong.h [__arc__] (umul_ppmm): Remove.
117         [__arc__] (__umulsidi3): Define.
118         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
119         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
121 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
123         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
124         CreateSemaphoreA.
125         * config/i386/gthr-win32.h: Likewise.
127 2013-09-16  DJ Delorie  <dj@redhat.com>
129         * config/rl78/vregs.h: Add G10 register definitions.
130         * config/rl78/lib2mul.c: Enable for RL78/G10.
131         * config/rl78/lib2div.c: Likewise.
132         * config/rl78/lshrsi3.S: Use vregs.h.
133         * config/rl78/cmpsi2.S: Likewise.
134         * config/rl78/trampoline.S: Likewise.
135         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
137 2013-09-14  DJ Delorie  <dj@redhat.com>
138             Nick Clifton  <nickc@redhat.com>
140         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
141         * config/rl78/vregs.h: New.
142         * config/rl78/signbit.S: New file.  Implements signbit function.
143         * config/rl78/divmodsi.S: New.
144         * config/rl78/divmodhi.S: New.
145         * config/rl78/divmodqi.S: New.
146         * config/rl78/t-rl78: Build them here...
147         * config/rl78/lib2div.c: ...but not here.
149 2013-09-12  DJ Delorie  <dj@redhat.com>
151         * config.host (msp*-*-elf): New.
152         * config/msp430/: New port.
154 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
156         PR gcov-profile/58127
157         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
158         __thread var for emulated TLS.
159         (__gcov_indirect_call_counters): Likewise.
161 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
162             Catherine Moore  <clm@codesourcery.com>
163             Richard Sandiford <rdsandiford@googlemail.com>
165         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
166         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
167         (CALL_STUB_NO_RET): Likewise.
168         (CALL_STUB_RET): Likewise.
169         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
170         __mips16_ret call/return stub symbols.
171         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
172         to tmake_file.
174 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
176         * config.host <mips*-*-linux*>: Remove a stray comment.
178 2013-08-10  Jan Hubicka  <jh@suse.cz>
180         Work around binutils PR14342
181         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
182         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
183         (L_gcov_indirect_call_profiler_v2): New.
185 2013-08-06  Jan Hubicka  <jh@suse.cz>
187         * libgcov.c (__gcov_indirect_call_callee,
188         __gcov_indirect_call_counters): New global vars.
189         (__gcov_indirect_call_profiler): replace by ...
190         (__gcov_indirect_call_profiler_v2) ... this one.
192 2013-08-06  Caroline Tice  <cmtice@google.com>
194         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
195         vtv_start_preinit.o and vtv_end_preinit.o.
196         * configure.ac: Add code to check/set enable_vtable_verify.
197         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
198         true.
199         * vtv_start_preinit.c: New file.
200         * vtv_end_preinit.c: New file.
201         * vtv_start.c: New file.
202         * vtv_end.c: New file.
203         * configure: Regenerated.
205 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
207         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
208         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
209         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
210         GPL-3.0-with-GCC-exception.
212 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
214         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
215         ISA and up.
217 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
219         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
220         mapping for FPRs when creating the fallback framestate.
222 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
224         PR target/57516
225         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
226         (__round_s2_const, __round_u2_const)
227         (__round_s4_const, __round_u4_const, __round_x8):
228         Saturate result if addition result cannot be represented.
230 2013-07-15  Matthias Klose  <doko@ubuntu.com>
232         * libgcc2.c: Don't include <limits.h>.
234 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
236         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
238 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
240         PR target/29776
241         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
243 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
245         PR middle-end/36041
246         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
247         Define.
248         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
249         instead of table lookups.
250         (__popcountDI2): Likewise.
252 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
254         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
255         correctly.
257 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
259         PR other/53317
260         * soft-fp/adddf3.c: Update from glibc.
261         * soft-fp/addsf3.c: Likewise.
262         * soft-fp/addtf3.c: Likewise.
263         * soft-fp/divdf3.c: Likewise.
264         * soft-fp/divsf3.c: Likewise.
265         * soft-fp/divtf3.c: Likewise.
266         * soft-fp/double.h: Likewise.
267         * soft-fp/eqdf2.c: Likewise.
268         * soft-fp/eqsf2.c: Likewise.
269         * soft-fp/eqtf2.c: Likewise.
270         * soft-fp/extenddftf2.c: Likewise.
271         * soft-fp/extended.h: Likewise.
272         * soft-fp/extendsfdf2.c: Likewise.
273         * soft-fp/extendsftf2.c: Likewise.
274         * soft-fp/fixdfdi.c: Likewise.
275         * soft-fp/fixdfsi.c: Likewise.
276         * soft-fp/fixsfdi.c: Likewise.
277         * soft-fp/fixsfsi.c: Likewise.
278         * soft-fp/fixtfdi.c: Likewise.
279         * soft-fp/fixtfsi.c: Likewise.
280         * soft-fp/fixunsdfdi.c: Likewise.
281         * soft-fp/fixunsdfsi.c: Likewise.
282         * soft-fp/fixunssfdi.c: Likewise.
283         * soft-fp/fixunssfsi.c: Likewise.
284         * soft-fp/fixunstfdi.c: Likewise.
285         * soft-fp/fixunstfsi.c: Likewise.
286         * soft-fp/floatdidf.c: Likewise.
287         * soft-fp/floatdisf.c: Likewise.
288         * soft-fp/floatditf.c: Likewise.
289         * soft-fp/floatsidf.c: Likewise.
290         * soft-fp/floatsisf.c: Likewise.
291         * soft-fp/floatsitf.c: Likewise.
292         * soft-fp/floatundidf.c: Likewise.
293         * soft-fp/floatundisf.c: Likewise.
294         * soft-fp/floatunditf.c: Likewise.
295         * soft-fp/floatunsidf.c: Likewise.
296         * soft-fp/floatunsisf.c: Likewise.
297         * soft-fp/floatunsitf.c: Likewise.
298         * soft-fp/gedf2.c: Likewise.
299         * soft-fp/gesf2.c: Likewise.
300         * soft-fp/getf2.c: Likewise.
301         * soft-fp/ledf2.c: Likewise.
302         * soft-fp/lesf2.c: Likewise.
303         * soft-fp/letf2.c: Likewise.
304         * soft-fp/muldf3.c: Likewise.
305         * soft-fp/mulsf3.c: Likewise.
306         * soft-fp/multf3.c: Likewise.
307         * soft-fp/negdf2.c: Likewise.
308         * soft-fp/negsf2.c: Likewise.
309         * soft-fp/negtf2.c: Likewise.
310         * soft-fp/op-1.h: Likewise.
311         * soft-fp/op-2.h: Likewise.
312         * soft-fp/op-4.h: Likewise.
313         * soft-fp/op-8.h: Likewise.
314         * soft-fp/op-common.h: Likewise.
315         * soft-fp/quad.h: Likewise.
316         * soft-fp/single.h: Likewise.
317         * soft-fp/soft-fp.h: Likewise.
318         * soft-fp/subdf3.c: Likewise.
319         * soft-fp/subsf3.c: Likewise.
320         * soft-fp/subtf3.c: Likewise.
321         * soft-fp/truncdfsf2.c: Likewise.
322         * soft-fp/trunctfdf2.c: Likewise.
323         * soft-fp/trunctfsf2.c: Likewise.
324         * soft-fp/unorddf2.c: Likewise.
325         * soft-fp/unordsf2.c: Likewise.
326         * soft-fp/unordtf2.c: Likewise.
327         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
328         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
329         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
330         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
331         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
332         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
333         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
334         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
335         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
336         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
337         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
338         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
340 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
342         * config/mips/lib2funcs.c: New file.
343         * config/mips/t-mips (LIB2ADD_ST): Add it.
345 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
347         PR target/6526
348         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
349         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
351 2013-06-08  Walter Lee  <walt@tilera.com>
353         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
354         Replace int64_t with long long.  Add __extension__ where
355         appropriate.
356         * config/tilepro/atomic.c: Include config.h.
358 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
360         * config.host (arm-wrs-vxworks): Configure with other soft float.
362 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
364         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
365         (mips64r5900el-*-elf*): New configurations.
367 2013-06-04  Alan Modra  <amodra@gmail.com>
369         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
371 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
373         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
375 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
377         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
378         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
379         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
381 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
383         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
384         (powerpc-wrs-vxworks): Likewise.
386 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
388         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
389         signal frames as well.
390         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
391         STACK_BIAS to the CFA offset.
393 2013-05-17  Richard Henderson  <rth@redhat.com>
395         PR target/49146
396         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
397         (execute_cfa_program): Use it when storing to fs->regs.
399 2013-05-08  Kai Tietz  <ktietz@redhat.com>
401         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
402         (__deregister_frame_info): Likewise.
404 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
406         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
407         NaN's payload.
409         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
411 2013-04-25  Alan Modra  <amodra@gmail.com>
413         * config.host: Match little-endian powerpc-linux.
415 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
417         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
418         as 'unsigned long long' instead of 'unsigned long'.
419         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
420         'signed long'.
422 2013-04-10  Julian Brown  <julian@codesourcery.com>
424         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
425         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
426         unsigned char/unsigned short.
427         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
429 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
431         PR other/55274
432         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
434 2013-04-04  Meador Inge  <meadori@codesourcery.com>
436         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
437         computing the location of the link register.
438         (aeabi_uldivmod): Ditto.
440 2013-03-27  Kai Tietz  <ktietz@redhat.com>
442         * config.host: Add support for cygwin x64 target.
443         * configure: Regenerated.
445 2013-03-26  Walter Lee  <walt@tilera.com>
447         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
448         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
450 2013-03-25  Kai Tietz  <ktietz@redhat.com>
452         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
454 2013-03-20  Robert Mason  <rbmj@verizon.net>
456         * config/vxlib-tls.c (__gthread_get_tsd_data,)
457         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
458         (__gthread_leave_tsd_dtor_context): Add prototypes.
459         (tls_delete_hook): Update.
461 2013-03-20  Catherine Moore  <clm@codesourcery.com>
462             Joseph Myers  <joseph@codesourcery.com>
463             Chao-ying Fu  <fu@mips.com>
465         * config/mips/mips16.S:  Don't build for microMIPS.
466         * config/mips/linux-unwind.h: Handle microMIPS frame.
467         * config/mips/crtn.S (fini, init): New labels.
469 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
471         PR tree-optimization/53265
472         * unwind-dw2.c (execute_cfa_program): Avoid
473         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
474         on targets with DWARF_FRAME_REGISTERS < 32.
476 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
478         PR target/49880
479         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
480         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
482 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
484         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
485         sandybridge processors.
487 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
489         PR target/56529
490         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
491         inclusion list.
493 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
495         * config/microblaze/crti.S: Setup stack protection at entry
497 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
499         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
500         (__rotldi3): Shift bytewise if applicable.
502 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
504         * config/aarch64/sync-cache.c
505         (__aarch64_sync_cache_range): Silence warnings.
507 2013-02-25  Catherine Moore  <clm@codesourcery.com>
509         Revert:
510         2013-02-24  Catherine Moore  <clm@codesourcery.com>
511             Joseph Myers  <joseph@codesourcery.com>
512             Chao-ying Fu  <fu@mips.com>
514         * config/mips/mips16.S:  Don't build for microMIPS.
515         * config/mips/linux-unwind.h: Handle microMIPS frame.
516         * config/mips/crtn.S (fini, init): New labels.
518 2013-02-24  Catherine Moore  <clm@codesourcery.com>
519             Joseph Myers  <joseph@codesourcery.com>
520             Chao-ying Fu  <fu@mips.com>
522         * config/mips/mips16.S:  Don't build for microMIPS.
523         * config/mips/linux-unwind.h: Handle microMIPS frame.
524         * config/mips/crtn.S (fini, init): New labels.
526 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
527         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000 
528         as dividend.
530 2013-02-16  Alan Modra  <amodra@gmail.com>
532         PR target/55431
533         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
534         (ppc_fallback_frame_state): Always set up save locations for fp
535         and altivec.  Don't bother with non-callee-saved regs, r0-r13
536         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
538 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
540         PR target/54222
541         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
542         _ssmulHA, _ssmulSA.
543         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
544         _ssmulha3, _usmulusa3, _ssmulsa3.
545         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
546         (__muldi3): XCALL __muldi3_6 instead of rcall.
547         (__umulsidi3, __mulsidi3): New functions.
548         (do_prologue_saves, do_epilogue_restores): New .macros.
549         (__divdi3_moddi3): Use them.
550         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
551         (__usmulusa3, __ssmulsa3): New functions.
553 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
554             Jack Howarth  <howarth@bromo.med.uc.edu>
555             Patrick Marlier  <patrick.marlier@gmail.com>
557         PR libitm/55693
558         * config/darwin-crt-tm.c: Remove dummy functions hack.
560 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
562         PR target/54222
563         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
564         * config/avr/lib2-object.mk: New iterator to build objects from it.
565         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
566         lib2funcs.c.
567         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
568         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
569         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
570         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
571         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
572         * config/avr/lib1funcs-fixed.S: Implement them.
574 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
576         Update copyright years.
578 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
580         PR target/54601
581         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
582         Add crtcxa to extra_parts.
583         * config/rs6000/exit.h: New file.
584         * config/rs6000/cxa_atexit.c: New file.
585         * config/rs6000/cxa_finalize.c: New file.
586         * config/rs6000/crtcxa.c: New file.
587         * config/rs6000/t-aix-cxa: New file.
588         * config/rs6000/libgcc-aix-cxa.ver: New file.
590 2013-01-31  Nick Clifton  <nickc@redhat.com>
592         * config/v850/lib1funcs.S: Add support for e3v5 architecture
593         variant.
595 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
597         PR target/54222
598         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
599         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
600         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
601         _divQQ,  _divHQ,  _divHA,  _divSA,
602         _divUQQ, _divUHQ, _divUHA, _divUSA.
604 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
606         * config.host(microblaze*-linux*): tmake_file: Remove
607         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
608         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
609         to exclude functions from being built with libgcc.c and use
610         the microblaze assembly.
612 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
614         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
615         extra_parts.
617 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
619         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
620         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
621         __UINTPTR_TYPE__; also cast 'base' to the same type before the
622         alignment operation.
624 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
626         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
627         loop start address for cache clearing.
629 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
631         * config/avr/lib1funcs.S: Remove trailing blanks.
632         * config/avr/lib1funcs-fixed.S: Ditto.
634 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
636         * config/avr/avr-lib.h: Add GPL copyright notice.
638 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
640         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
641         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
642         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
643         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
645 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
647         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
648         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
650 2013-01-04  Nick Clifton  <nickc@redhat.com>
652         * config/v850/lib1funcs.S: Only provide CALLT support functions if
653         the CALLT instruction is supported.
655 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
657         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
658         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
660 2012-12-13  John Tytgat  <John@bass-software.com>
662         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
663         is 25.
665 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
667         PR libgcc/55451
668         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
669         undefined signed overflows.
671 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
673         PR target/55344
674         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
676 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
678         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
679         (FP_TRAPPING_EXCEPTIONS): Define.
680         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
681         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
683 2012-12-04  Richard Henderson  <rth@redhat.com>
685         PR bootstrap/55571
686         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
688 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
690         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
691         (FP_EX_SHIFT): Define.
692         (FP_TRAPPING_EXCEPTIONS): Define.
694 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
696         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
697         (FP_ROUNDMODE): Use FP_RND_MASK.
698         * config/aarch64/sfp-exceptions.c: New.
699         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
700         Use __sfp_handle_exceptions.
702 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
704         * config.host: (arm*-*-freebsd*): Remove.
705         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
706         (arm*-*-elf*): Remove.
707         (arm*-*-wince-pe*): Remove.
708         * arm/unwind-arm.c (struct fpa_reg): Delete.
709         (struct fpa_regs): Delete.
710         (phase1_vrs): Remove fpa element.
711         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
712         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
713         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
714         * ieee754-sf.S (floatundisf): Remove FPA support.
715         (floatdisf): Likewise.
716         * ieee75f-df.S (floatundidf): Likewise.
717         (floatdidf): Likewise.
719 2012-11-29  Kai Tietz  <ktietz@redhat.com>
721         PR target/55445
722         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
723         * unwind-generic.h: Likewise.
724         * unwind-seh.c: Likewise.
726 2012-11-28  Richard Henderson  <rth@redhat.com>
728         PR libgcc/48076
729         * emutls.c (__emutls_get_address): Avoid race condition between
730         obj->loc.offset read and emutls_key initialization.
732 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
734         Adjust decimal point of signed accum mode to GCC default.
736         PR target/54222
737         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
738         _divqq_helper.
739         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
740         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
741         (__mulha3, __mulsa3)
742         (__divqq3, __divha3, __divsa3): Adjust to new position of
743         decimal point of signed accum types.
745         (__mulusa3_round): New function.
746         (__mulusa3): Use it.
747         (__divqq_helper): New function.
748         (__udivuqq3): Use it.
750 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
752         PR bootstrap/55370
753         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
755 2012-11-18  Teresa Johnson  <tejohnson@google.com>
757         PR bootstrap/55051
758         * libgcov.c (gcov_exit): Remove merged program summary
759         comparison unless !GCOV_LOCKED.
761 2012-11-15  Marcus Shawcroft <marcus.shawcroft@arm.com>
763         * soft-fp: Updated from glibc upstream.
765 2012-11-06  Ian Lance Taylor  <iant@google.com>
767         * generic-morestack.c (__generic_morestack): Align the returned
768         stack pointer to a 32 byte boundary.
769         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
770         increment the return address until we have decided that we don't
771         have a varargs function.
772         (__morestack) [32-bit]: Align stack correctly when calling C
773         functions.
774         (__morestack) [64-bit]: Likewise.
776 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
778         * configure: Regenerate.
780 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
782         PR target/55175
783         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
784         * config/i386/sfp-machine.h: Guard exception handling
785         code with _SOFT_FLOAT.
786         * config/i386/32/sfp-machine.h: Guard rounding handling
787         code with _SOFT_FLOAT.
788         * config/i386/64/sfp-machine.h: Ditto.
790 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
792         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
793         as extra_parts.
795 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
797         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
798         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
799         when appropriate.  Correct structure element types.
800         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
801         -minline-all-stringops from compile flags.
803 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
805         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
807 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
809         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
811 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
813         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
814         tmake_file.
816 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
817             Jim MacArthur  <jim.macarthur@arm.com>
818             Marcus Shawcroft  <marcus.shawcroft@arm.com>
819             Nigel Stephens  <nigel.stephens@arm.com>
820             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
821             Richard Earnshaw  <rearnsha@arm.com>
822             Sofiane Naci  <sofiane.naci@arm.com>
823             Stephen Thomas  <stephen.thomas@arm.com>
824             Tejas Belagod  <tejas.belagod@arm.com>
825             Yufeng Zhang  <yufeng.zhang@arm.com>
827         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
828         * config/aarch64/crti.S: New file.
829         * config/aarch64/crtn.S: New file.
830         * config/aarch64/linux-unwind.h: New file.
831         * config/aarch64/sfp-machine.h: New file.
832         * config/aarch64/sync-cache.c: New file.
833         * config/aarch64/t-aarch64: New file.
834         * config/aarch64/t-softfp: New file.
836 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
838         * config/mmix/crti.S: Mark program and data addresses using PRELD.
839         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
840         no-longer-needed LDBU insns.
842 2012-10-18  Sebastian Huber <sebastian.huber@embedded-brains.de>
844         * config.host
845         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
846         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
848 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
850         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
852 2012-10-15  Matthias Klose  <doko@ubuntu.com>
854         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
856 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
858         * configure: Regenerate.
859         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
861 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
863         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
864         instructions for 64bit targets only.
866 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
868         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
869         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
870         * config/i386/32/sfp-machine.h: ... here.
871         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
872         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
873         New defines.
875 2012-10-07  Matthias Klose  <doko@ubuntu.com>
877         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
878         as unused.
879         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
881 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
883         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
884         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
885         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
886         (ElfW): Likewise.
888 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
890         PR other/53889
891         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
892         Fix parameter names.
894 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
896         PR target/33135
897         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
898         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
899         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
901 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
903         PR target/50457
904         * config/sh/linux-atomic.S: Delete.
905         * config/sh/linux-atomic.c: New.
906         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
907         linux-atomic.c.  Add cflags to disable warnings.
909 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
911         PR other/53889
912         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
913         function.
914         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
915         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
916         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
917         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
918         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
919         Likewise.
920         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
921         Likewise.
922         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
923         Likewise.
924         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
925         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
927 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
929         * config.host (hppa-*-openbsd*): New target.
930         * config/pa/t-openbsd: New file.
932 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
934         PR target/54222
935         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
936         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
937         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
938         (__divsa3): Use __negsi2 to negate r_quoL.
939         * config/avr/lib1funcs.S (FALIAS): New macro.
940         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
941         (__negsi2): ...this new function.
942         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
943         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
944         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
945         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
946         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
947         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
949 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
951         PR target/54089
952         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
953         (lshrsi3): Reimplement as lshrsi3_r0.
955 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
957         PR target/46191
958         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
959         of libgcc.a.
961 2012-09-07  Teresa Johnson  <tejohnson@google.com>
963         PR gcov-profile/54487
964         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
965         differences.
967 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
969         PR target/54461
970         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
971         not configured --with-avrlibc=no.
972         * config/avr/t-avrlibc: New file.
973         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
974         (DPBIT_FUNCS): Ditto.
975         (TPBIT_FUNCS): Ditto.
977 2012-09-04  Teresa Johnson  <tejohnson@google.com>
979         * libgcov.c (struct gcov_summary_buffer): New structure.
980         (gcov_histogram_insert): New function.
981         (gcov_compute_histogram): Ditto.
982         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
983         histograms during summary merging.
985 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
987         * config.host (x86_64-*-openbsd*): New target.
989 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
991         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
992         attribute.
994 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
996         PR target/54222
997         * config/avr/t-avr (conv_X): Rename to func_X.
999 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
1001         PR target/54222
1002         * config/avr/lib1funcs-fixed.S: New file.
1003         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
1004         after they are used.
1005         (neg2, neg4): New macros.
1006         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
1007         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
1008         (__umulhisi3): Speed up MUL variant if there is enough flash.
1009         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
1010         avr-modes.def.
1011         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
1012         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
1013         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
1014         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
1015         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
1016         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
1017         (LIB2FUNCS_EXCLUDE): Add supported functions.
1019 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
1021         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
1022         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
1023         libgcc-s-objects.
1024         * fixed-obj.mk: Only expand dependency if $o is not in
1025         LIB2FUNCS_EXCLUDE.
1027 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
1029         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
1031 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
1033         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
1034         depend on --enable-shared.
1035         ($(lib1asmfuncs-o)): Use %.vis files independent of
1036         --enable-shared.
1037         * static-object.mk ($(base)$(objext), $(base).vis)
1038         ($(base)_s$(objext)): Use same rules for visibility handling as in
1039         shared-object.mk.
1041 2012-08-21  Ian Lance Taylor  <iant@google.com>
1043         * config/i386/morestack.S (__morestack_non_split): Increase amount
1044         of space allocated for non-split code stack.
1046 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
1048         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
1049         even if inhibit_libc.
1051 2012-08-17  Julian Brown  <julian@codesourcery.com>
1053         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
1054         -fexceptions -fnon-call-exceptions if not defined.
1055         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
1056         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
1058 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
1060         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
1061         type.
1063 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
1065         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
1066         rs6000/t-slibgcc-aix.
1068 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
1070         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
1072 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
1074         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
1076 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
1078         PR driver/54171
1079         * Makefile.in (version): Replace top_srcdir with srcdir.
1081 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
1083         * Makefile.in (version): set to BASE-VER file from gcc directory.
1085 2012-08-01  Nick Clifton  <nickc@redhat.com>
1087         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
1088         Implements __clrsb for an HImode argument.
1090 2012-07-31  Nick Clifton  <nickc@redhat.com>
1092         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
1093         Implements __clrsb for an HImode argument.
1094         * config/stormy16/clrsbhi2.c: New file:
1095         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
1097 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
1099         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
1101 2012-07-19  Tristan Gingold  <gingold@adacore.com>
1102             Richard Henderson  <rth@redhat.com>
1104         * unwind-seh.c: New file.
1105         * unwind-generic.h: Include windows.h for SEH.
1106         (_Unwind_Exception): Use 6 private fields for SEH.
1107         (_GCC_specific_handler): Declare.
1108         * unwind-c.c (__gcc_personality_seh0): New function.
1109         Adjust for SEH.
1110         * config/i386/libgcc-cygming.ver: New file.
1111         * config/i386/t-seh-eh: New file.
1112         * config.host (x86_64-*-mingw*): Default to seh.
1114 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
1116         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
1118 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
1120         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
1121         __builtin_expect when checking for exceptions.
1122         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
1124 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
1126         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
1127         function declaration.
1128         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
1129         (FP_RND_MASK): New.
1130         * config/ia64/sfp-exceptions.c: New.
1131         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
1133 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
1135         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
1136         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
1137         * config/i386/64/sfp-machine: ... (delete here) ...
1138         * config/i386/sfp-machine.h: ... to here.
1139         (FP_EX_MASK): Remove.
1140         (FP_RND_MASK): New.
1141         (FP_INIT_ROUNDMODE): Declare asm as volatile.
1143 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
1145         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
1146         * config/i386/libgcc-sol2.ver: Ditto.
1147         * config/i386/libgcc-glibc.ver: Ditto.
1149 2012-06-11  Roland McGrath  <mcgrathr@google.com>
1151         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
1152         If __GLIBC__ is defined, refer to __pthread_key_create instead of
1153         pthread_cancel.
1155 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
1157         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
1158         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
1159         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
1160         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
1161         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
1162         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
1163         * config/i386/64/sfp-machine: ... (delete here) ...
1164         * config/i386/sfp-machine.h: ... to here.
1165         (FP_EX_MASK): New.
1166         (__sfp_handle_exceptions): New function declaration.
1167         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
1168         * config/i386/sfp-exceptions.c: New.
1169         * config/i386/t-softfp: New.
1170         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
1171         i386/t-softfp to tmake_file.
1173 2012-06-03  David S. Miller  <davem@davemloft.net>
1175         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
1176         change.
1178 2012-05-31  David S. Miller  <davem@davemloft.net>
1180         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
1181         multiply and divide instructions on 32-bit when V9.
1182         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
1184 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
1186         * config/arm/ieee754-df.S: Fix typos.
1187         * config/arm/ieee754-sf.S: Fix typos.
1188         * config/c6x/libunwind.S: Fix typos.
1189         * config/epiphany/udivsi3-float.c: Fix typos.
1190         * config/microblaze/muldi3_hard.S: Fix typos.
1191         * config/picochip/adddi3.S: Fix typos.
1192         * config/picochip/ashlsi3.S: Fix typos.
1193         * config/picochip/ashrsi3.S: Fix typos.
1194         * config/picochip/clzsi2.S: Fix typos.
1195         * config/picochip/cmpsi2.S: Fix typos.
1196         * config/picochip/divmod15.S: Fix typos.
1197         * config/picochip/divmodhi4.S: Fix typos.
1198         * config/picochip/divmodsi4.S: Fix typos.
1199         * config/picochip/longjmp.S: Fix typos.
1200         * config/picochip/lshrsi3.S: Fix typos.
1201         * config/picochip/parityhi2.S: Fix typos.
1202         * config/picochip/popcounthi2.S: Fix typos.
1203         * config/picochip/setjmp.S: Fix typos.
1204         * config/picochip/subdi3.S: Fix typos.
1205         * config/picochip/ucmpsi2.S: Fix typos.
1206         * config/picochip/udivmodhi4.S: Fix typos.
1207         * config/picochip/udivmodsi4.S: Fix typos.
1208         * config/spu/divv2df3.c: Fix typos.
1209         * config/spu/mfc_multi_tag_release.c: Fix typos.
1210         * config/spu/mfc_tag_release.c: Fix typos.
1211         * configure.ac: Fix typos.
1212         * configure: Regenerate.
1214 2012-05-25  Ian Lance Taylor  <iant@google.com>
1216         * config/i386/morestack.S (__morestack_non_split): Check whether
1217         caller is varargs and needs %bp to hold the stack frame on return.
1219 2012-05-25  Olivier Hainque  <hainque@adacore.com>
1221         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
1222         sequence in the non pic case on VxWorks.
1224 2012-05-24  Olivier Hainque  <hainque@adacore.com>
1226         * Makefile.in: Move dependency on install-unwind_h from
1227         "install-leaf" to "install".
1229 2012-05-24  Olivier Hainque  <hainque@adacore.com>
1231         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
1232         Use a separate command for stamp removals.
1234 2012-05-21  Andrew Pinski  <apinski@cavium.com>
1236         PR bootstrap/53183
1237         * configure.ac: Define the default includes to being none.
1238         * configure: Regenerate.
1240 2012-05-16  Olivier Hainque  <hainque@adacore.com>
1242         * Makefile.in (install-unwind_h): Rename into ...
1243         (install-unwind_h-forbuild): New target.
1244         (all): Use it instead of the former install-unwind_h.
1245         (install-unwind_h): Reinstate, copy to user install destination
1246         for include files, not to the internal gcc object directory one.
1247         (install-leaf): Depend on it.
1249 2012-05-15  Olivier Hainque  <hainque@adacore.com>
1251         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
1252         register numbers. LR_REGNO replaces R_LR.
1253         (ucontext_for): New, helper for ...
1254         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
1255         and 5.3 of ...
1256         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
1258 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1260         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
1261         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
1262         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
1263         i386/t-cpuinfo ...
1264         (i[34567]86-*-*, x86_64-*-*): ... here.
1266         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
1267         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
1269         * config/i386/i386-cpuinfo.c: Rename to ...
1270         * config/i386/cpuinfo.c: ... this.
1271         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
1273         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
1274         (libgcc_cv_init_priority): New test.
1275         * configure: Regenerate.
1276         * config.in: New file.
1277         * Makefile.in (clean): Rename config.h to auto-target.h.
1278         (config.h): Likewise.
1279         (stamp-h): Likewise.
1281         * config/i386/cpuinfo.c (auto-target.h): Include.
1282         (CONSTRUCTOR_PRIORITY): Define.
1283         (__cpu_indicator_init): Use it.
1285 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
1287         * longlong.h: Use a URL instead of an FSF postal address.
1288         Replace spaces with tab.
1290 2012-05-08  Teresa Johnson  <tejohnson@google.com>
1292         * libgcov.c (gcov_clear, __gcov_reset): New functions.
1293         (__gcov_dump): Ditto.
1294         (gcov_dump_complete): New global variable.
1295         (gcov_exit): Export hidden to enable use in L_gcov_dump.
1296         (__gcov_flush): Outline functionality now in gcov_clear.
1297         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
1299 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
1301         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
1302         (mips*-*-linux*): Include mips/t-tpbit when long double is
1303         16 bytes long.
1305 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
1307         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
1308         (get_available_features): New argument. Check for AVX2.
1309         (__cpu_indicator_init): Modify call to get_available_features.
1311 2012-04-25  Alan Modra  <amodra@gmail.com>
1313         * config/rs6000/crtsavevr.S: New file.
1314         * config/rs6000/crtrestvr.S: New file.
1315         * config/rs6000/t-savresfgpr: Build the above.
1316         * config/rs6000/t-netbsd: Likewise.
1318 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
1320         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
1322 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
1324         * libgcc/config/i386/i386-cpuinfo.c: New file.
1325         * libgcc/config/i386/t-cpuinfo: New file.
1326         * libgcc/config.host: Include t-cpuinfo.
1327         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
1329 2012-04-24  Chao-ying Fu  <fu@mips.com>
1331         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
1333 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
1335         struct siginfo vs. siginfo_t
1337         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
1338         siginfo_t instead of struct siginfo.
1339         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
1340         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
1341         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
1342         (ia64_handle_unwabi): Likewise.
1343         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
1344         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
1345         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
1346         (sh_fallback_frame_state): Likewise.
1347         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
1348         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
1350 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
1352         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
1353         system call number.
1355 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
1357         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
1358         if it hasn't been previously saved.
1360 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
1362         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
1363         only for glibc.
1365 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
1367         PR target/52737
1368         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
1369         instead of __AVR_HAVE_8BIT_SP__.
1371 2012-03-26  Tristan Gingold  <gingold@adacore.com>
1373         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
1374         (unw_table_entry): Use unw_word instead of unsigned long.
1375         (_Unwind_FindTableEntry): Likewise.
1376         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
1377         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
1378         (_Unwind_FindTableEntry): Likewise.
1379         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
1380         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
1381         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
1382         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
1383         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
1384         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
1385         (uw_init_context_1, uw_install_context): Likewise.
1386         (unw_word): Move to unwind-ia64.h
1388 2012-03-26  Tristan Gingold  <gingold@adacore.com>
1390         * config/vms/vms-ucrt0.c: Update copyright years.
1391         Add a sanity check.
1392         (___gcc_main_flags): Declare.
1393         (__main): Check flags to remap argv and exit code.
1394         * config.host (*-*-*vms*): Adjust extra_parts.
1395         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
1396         (crt0.o): Add.
1398 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
1400         * arm/lib1funcs.asm (ctzsi2): New function.
1401         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
1402         * arm/t-linux (LIB1ASMFUNCS): Likewise.
1403         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
1404         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
1405         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
1406         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
1408 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
1410         * config.host: Add bits to support powerpc64-*-freebsd*.
1411         * config/rs6000/freebsd-unwind.h: New file.
1412         * config/rs6000/t-freebsd64: New file.
1414 2012-03-20  Richard Guenther  <rguenther@suse.de>
1416         PR gcov-profile/52627
1417         * libgcov.c (init_mx): Fix mutex name.
1419 2012-03-16  Tristan Gingold  <gingold@adacore.com>
1421         * config/ia64/vms-unwind.h: Remove ulong (and replace
1422         it by unw_reg where used).  Define unw_reg with __int64.
1424 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1426         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1427         Solaris 8 handling.
1428         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1429         Solaris 8 handling.
1430         (sparc_is_sighandler): Likewise.
1432 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
1434         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
1435         <= saved reg size.
1437 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1439         * config/arm/crtn.S: Fix typo.
1441 2012-03-13  Richard Guenther  <rguenther@suse.de>
1443         * libgcov.c: Remove stdio.h include and NULL un-define.
1445 2012-03-13  Richard Guenther  <rguenther@suse.de>
1447         PR target/52569
1448         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
1450 2012-03-13  Richard Guenther  <rguenther@suse.de>
1452         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
1454 2012-03-13  Richard Guenther  <rguenther@suse.de>
1456         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
1457         and __gthread_mutex_init_function definitions.
1459 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1461         * config.host (mips*-*-openbsd*): Remove.
1463 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1465         * config.host: Remove alpha*-dec-osf5.1* handling.
1466         * config/alpha/gthr-posix.c: Remove.
1467         * config/alpha/libgcc-osf5.ver: Remove.
1468         * config/alpha/osf5-unwind.h: Remove.
1469         * config/alpha/t-osf-pthread: Remove.
1470         * config/alpha/t-slibgcc-osf: Remove.
1471         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
1472         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
1473         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
1474         * mkmap-flat.awk: Remove osf_export handling.
1476 2012-03-12  Richard Guenther  <rguenther@suse.de>
1478         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
1479         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1480         (__gthread_mutex_init_function): New function.
1481         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1483         PR gcov/49484
1484         * libgcov.c: Include gthr.h.
1485         (__gcov_flush_mx): New global variable.
1486         (init_mx, init_mx_once): New functions.
1487         (__gcov_flush): Protect self with a mutex.
1488         (__gcov_fork): Re-initialize mutex after forking.
1489         * unwind-dw2-fde.c: Change condition under which to use
1490         __GTHREAD_MUTEX_INIT_FUNCTION.
1492 2012-03-12  Tristan Gingold  <gingold@adacore.com>
1494         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
1495         * config/ia64/t-vms: Likewise.
1497 2012-03-11  Michael Hope  <michael.hope@linaro.org>
1499         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
1500         for Thumb-2.
1502 2012-03-07  Walter Lee  <walt@tilera.com>
1504         * config/tilepro/atomic.c: Rename "atomic_" prefix to
1505         "arch_atomic_".
1506         (atomic_xor): Rename and move definition to
1507         config/tilepro/atomic.h.
1508         (atomic_nand): Ditto.
1509         * config/tilepro/atomic.h: Rename "atomic_" prefix to
1510         "arch_atomic_".
1511         (arch_atomic_xor): Move from config/tilepro/atomic.c.
1512         (arch_atomic_nand): Ditto.
1514 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
1516         PR target/52507
1517         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
1519 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
1521         PR target/52505
1522         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
1523         from RAM.
1525 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
1527         PR target/52461
1528         PR target/52508
1529         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
1530         if RAMPZ affects reading from RAM.
1531         (__tablejump_elpm__): Ditto.
1532         (.xload): Ditto.
1533         (__movmemx_hi): Ditto.
1534         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
1535         (__do_global_dtors): Ditto.
1536         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
1537         (__movmemx_hi): Ditto.
1539 2012-03-05  Richard Henderson  <rth@redhat.com>
1541         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
1542         [ARM] (count_trailing_zeros): Use the builtin.
1544 2012-03-01  Kai Tietz  <ktietz@redhat.com>
1546         * soft-fp: Imported from glibc upstream.
1548 2012-02-28  Kai Tietz  <ktietz@redhat.com>
1550         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
1551         for mingw-targets as attribute gcc_struct.
1553 2012-02-28  Ian Lance Taylor  <iant@google.com>
1555         * generic-morestack.c (__splitstack_releasecontext): Correct call
1556         to __morestack_release_segments.
1558 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1560         PR target/52390
1561         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
1562         for __linux__ when removing signals from __morestack_fullmask.
1564 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
1566         PR target/52261
1567         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
1569 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1571         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
1572         instead of HAVE_INITFINI_ARRAY.
1573         * config/ia64/crtend.S: Likewise.
1575 2012-02-20  Kai Tietz  <ktietz@redhat.com>
1577         PR libstdc++/52300
1578         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
1580         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
1581         to w32-unwind.h header.
1583 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
1585         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
1586         (mips*-*-linux*): Remove t-slibgcc-libgcc.
1587         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
1588         * config/mips/mips16.S (__mips16_rdhwr): Delete.
1590 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
1592         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
1594 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
1596         PR libitm/52220
1597         * config/darwin-crt-tm.c: Correct typo.
1599 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
1600             Patrick Marlier  <patrick.marlier@gmail.com>
1602         PR libitm/52220
1603         * config/darwin-crt-tm.c: Generate dummy functions.
1605 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
1606             Patrick Marlier  <patrick.marlier@gmail.com>
1608         PR libitm/52042
1609         * config/darwin-crt-tm.c (getTMCloneTable): New function.
1610         (__doTMRegistrations): Call it.
1611         (__doTMdeRegistrations): Likewise.
1613 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
1614             Anatoly Sokolov <aesok@post.ru>
1615             Eric Weddington <eric.weddington@atmel.com>
1617         PR target/52261
1618         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
1619         (__epilogue_restores__): Ditto.
1621 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
1623         PR target/51921
1624         PR target/52205
1625         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
1626         Solaris 11 and slightly reformat.
1627         (sparc_is_sighandler): Likewise.
1629 2012-02-14  Walter Lee  <walt@tilera.com>
1631         * config.host: Handle tilegx and tilepro.
1632         * config/tilegx/sfp-machine.h: New file.
1633         * config/tilegx/sfp-machine32.h: New file.
1634         * config/tilegx/sfp-machine64.h: New file.
1635         * config/tilegx/t-crtstuff: New file.
1636         * config/tilegx/t-softfp: New file.
1637         * config/tilegx/t-tilegx: New file.
1638         * config/tilepro/atomic.c: New file.
1639         * config/tilepro/atomic.h: New file.
1640         * config/tilepro/linux-unwind.h: New file.
1641         * config/tilepro/sfp-machine.h: New file.
1642         * config/tilepro/softdivide.c: New file.
1643         * config/tilepro/softmpy.S: New file.
1644         * config/tilepro/t-crtstuff: New file.
1645         * config/tilepro/t-tilepro: New file.
1647 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
1649         PR libstdc++/51296
1650         PR libstdc++/51906
1651         * gthr-posix.h: Allow static initializer macros to be disabled.
1652         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
1654 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
1656         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
1657         Add t-slibgcc-libgcc to tmake_file.
1658         * config/mips/libgcc-mips16.ver: Revert previous patch.
1659         * config/mips/mips16.S (__mips16_rdhwr): Hide.
1661 2012-02-02  Sumanth G <sumanth.gundapaneni@kpitcummins.com>
1662             Jayant R Sonar <jayant.sonar@kpitcummins.com>
1664         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
1665         * config/cr16/crti.S: New file.
1666         * config/cr16/crtlibid.S: New file.
1667         * config/cr16/crtn.S: New file.
1668         * config/cr16/lib1funcs.S: New file.
1669         * config/cr16/t-cr16: New file.
1670         * config/cr16/t-crtlibid: New file.
1671         * config/cr16/unwind-dw2.h: New file.
1672         * config/cr16/unwind-cr16.c: New file.
1673         * config/cr16/divmodhi3.c: New file.
1675 2012-01-25  Alan Modra  <amodra@gmail.com>
1677         * config/rs6000/t-linux64: Delete.  Move..
1678         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
1679         * config/rs6000/t-linux: ..and libgcc flags to here.
1681 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
1683         * config.host (i[34567]86-*-interix3*):
1684         Change triplet to i[34567]86-*-interix[3-9]*.
1685         * configure: Regenerate.
1687 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
1688             Richard Sandiford  <rdsandiford@googlemail.com>
1690         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
1691         * config/mips/mips16.S (__mips16_rdhwr): New function.
1692         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
1694 2012-01-11  Nathan Sidwell  <nathan@acm.org>
1696         * libgcov.c (__gcov_init): Ignore objects with no functions.
1698 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
1700         PR target/49868
1701         Extend __pgmx semantics to linearize memory.
1702         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
1703         * config/avr/lib1funcs.S (__xload_1): New function.
1704         (__movmemx_qi, __movmemx_hi): New functions.
1705         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
1706         semantics.
1708 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
1710         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
1711         purported sigacthandler address isn't null before dereferencing it.
1712         (sparc_is_sighandler): Likewise.
1714 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
1716         PR ada/41929
1717         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
1718         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
1719         (sparc_is_sighandler): Likewise.
1720         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
1722 2012-01-06  Tristan Gingold  <gingold@adacore.com>
1724         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
1725         compatibility thunks...
1726         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
1727         (crtbeginS.o, crtendS.o): ... and these to ...
1728         * config/ia64/t-ia64-elf: ... this new file.
1729         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
1730         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
1732 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1734         * configure: Regenerate.
1735         * config/s390/t-crtstuff: Remove -fPIC.
1737 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
1739         PR bootstrap/51006
1740         * enable-execute-stack-mprotect.c (getpagesize): Do not define
1741         for NetBSD.
1743 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
1745         PR target/51345
1746         * config/avr/lib1funcs.S: Remove FIXME comments.
1747         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
1749 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
1751         Implement light-weight DImode support.
1752         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
1753         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
1754         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
1755         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
1757 2011-12-30  Nathan Sidwell  <nathan@acm.org>
1759         * libgcov.c (gcov_crc32): Remove global var.
1760         (free_fn_data): New function.
1761         (buffer_fn_data): Pass in filename, more robust error recovery.
1762         (crc32_unsigned): New function.
1763         (gcov_exit): More robust detection of new program. More robust
1764         error recovery.
1765         (__gcov_init): Do not update program's crc here.
1767 2011-12-21  Tristan Gingold  <gingold@adacore.com>
1769         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
1771 2011-12-21  Ian Lance Taylor  <iant@google.com>
1773         * config/i386/morestack.S: Simplify CFI opcodes throughout.
1775 2011-12-20  Ian Lance Taylor  <iant@google.com>
1777         * config/i386/morestack.S (__morestack_non_split): If there is
1778         enough stack space already, don't split.  Ask for more stack space
1779         than we required.
1781 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
1783         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
1784         `sys/sdt.h'.
1785         (_Unwind_DebugHook): New function.
1786         (uw_restore_core_regs): New define.
1787         (unwind_phase2): Use uw_restore_core_regs instead of
1788         restore_core_regs.
1789         (unwind_phase2_forced): Likewise.
1790         (__gnu_Unwind_Resume): Likewise.
1792 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
1794         * config/alpha/linux-unwind.h: Update copyright years.
1795         (MD_FROB_UPDATE_CONTEXT): New define.
1796         (alpha_frob_update_context): New function.
1798 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
1800         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
1801         tmake_file rather replacing it.
1803 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
1805         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1806         function is not used for PPC64.
1807         (save_world): Amend comments.  Update the VRsave mask to reflect the
1808         saved regs.
1809         (rest_world): Update comments, do not  clobber r10, do not use r8.
1810         (eh_rest_world_r10): Amend comments, do not use r8.
1811         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
1812         no longer used, move restore of CR and target address to the end of
1813         the routine.
1815 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
1817         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
1818         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
1820 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
1822         PR target/49313
1823         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
1824         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
1826 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
1828         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
1830 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
1832         PR target/49313
1833         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
1834         * config/avr/lib1funcs.S (__muldi3): New function.
1836 2011-12-06  Andrew Pinski  <apinski@cavium.com>
1838         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
1839         size of func_ptr.
1840         (__frame_dummy_init_array_entry): Likewise.
1842 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
1844         Forward-port from gcc-4_6-branch r181936 2011-12-02.
1846         PR target/51345
1847         PR target/51002
1848         * config/avr/lib1funcs.S (__prologue_saves__,
1849         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
1850         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
1852 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
1854         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
1856 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1858         PR other/51272
1859         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
1860         (_ITM_deregisterTMCloneTable): Likewise.
1861         (__register_frame_info): Fix unused warning.
1862         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
1863         pthread_default_stacksize_np): Likewise.
1864         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1866 2011-11-29  DJ Delorie  <dj@redhat.com>
1868         * config.host (rl78-*-elf): New case.
1869         * config/rl78: New directory for the Renesas RL78.
1871 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
1873         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
1874         formatting.
1876 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1878         PR other/51022
1879         * config/rs6000/t-savresfgpr: New file.
1880         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
1881         $(srcdir)/config/rs6000/eabi.S.
1882         * config/rs6000/t-ppccomm-ldbl: Remove.
1883         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
1884         tmake_file.
1885         (powerpc-*-eabispe*): Likewise.
1886         (powerpc-*-eabi*): Likewise.
1887         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1888         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
1889         to tmake_file, remove rs6000/t-ppccomm-ldbl.
1890         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
1891         tmake_file.
1892         (powerpc-*-eabisim*): Likewise.
1893         (powerpc-*-elf*): Likewise.
1894         (powerpc-*-eabialtivec*): Likewise.
1895         (powerpc-xilinx-eabi*): Likewise.
1896         (powerpc-*-rtems*): Likewise.
1897         (powerpcle-*-elf*): Likewise.
1898         (powerpcle-*-eabisim*): Likewise.
1899         (powerpcle-*-eabi*): Likewise.
1901 2011-11-27  Ian Lance Taylor  <iant@google.com>
1903         * generic-morestack.c (__splitstack_find): Check for NULL old
1904         stack value.
1905         (__splitstack_resetcontext): New function.
1906         (__splitstack_releasecontext): New function.
1907         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1909 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
1911         * config/darwin-crt-tm.c: Correct comments, use correct licence.
1913 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
1915         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
1917 2011-11-26  Richard Henderson  <rth@redhat.com>
1919         * config/m68k/linux-atomic.c: New file.
1920         * config/m68k/t-linux: New file.
1921         * config.host (m68k-uclinux, m68k-linux): Use it.
1923 2011-11-26  Richard Henderson  <rth@redhat.com>
1925         * crtstuff.c (__TMC_LIST__): Mark used not unused.
1926         (__TMC_END__): Only declare if hidden is available; in the definition,
1927         if hidden is unavailable add a null record.
1928         (deregister_tm_clones, register_tm_clones): New.
1929         (__do_global_dtors_aux, frame_dummy): Use them.
1930         (__do_global_dtors, __do_global_ctors_1): Likewise.
1932 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
1934         * config/darwin-crt-tm.c: New file.
1935         * config.host (darwin): Build crttms.o crttme.o to provide
1936         startup and shutdown for tm clones.
1937         * config/t-darwin (crttms.o): New build rule.
1938         (crttme.o): Likewise.
1940 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
1942         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
1943         et al.
1945 2011-11-21  Richard Henderson  <rth@redhat.com>
1947         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
1948         (__TMC_LIST__, __TMC_END__): New.
1949         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
1950         (__do_global_dtors): Likewise.
1951         (frame_dummy): Call _ITM_registerTMCloneTable.
1952         (__do_global_ctors_1): Likewise.
1954 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1956         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
1957         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1958         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
1959         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
1960         * config/i386/t-darwin64: Remove.
1961         * config/sh/t-netbsd (LIB2ADD): Remove.
1963 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
1965         PR target/49313
1966         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
1967         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
1968         * config/avr/lib1funcs.S (wmov): New assembler macro.
1969         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
1970         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
1971         (__udivmod64): New function.
1972         (__negdi2): New function.
1974 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
1976         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
1977         *-*-freebsd*aout*): Remove.
1979 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
1981         * static-object.mk (c_flags-$o): Save c_flags.
1982         ($(base)$(objext)): Use it.
1984 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
1986         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
1988 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
1990         PR target/49868
1991         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
1992         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
1993         New functions.
1995 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1997         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
1998         functions.
1999         (aeabi_uidivmod): Likewise.
2000         (umodsi3): Likewise.
2001         (divsi3): Likewise.
2002         (aeabi_idivmod): Likewise.
2003         (modsi3): Likewise.
2005 2011-11-16  Tristan Gingold  <gingold@adacore.com>
2007         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
2009 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
2011         PR target/49868
2012         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
2013         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
2015 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2017         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
2018         tmake_file list.
2019         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
2020         * config/pa/t-stublib64: Delete.
2022 2011-11-12  Richard Henderson  <rth@redhat.com>
2024         * config/rs6000/linux-unwind.h (frob_update_context): Properly
2025         cast the pointer argument to _Unwind_SetGRPtr.
2027 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2029         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
2031 2011-11-09  Ian Lance Taylor  <iant@google.com>
2033         * generic-morestack.c: Include <string.h>.
2034         (uintptr_type): Define.
2035         (struct initial_sp): Add dont_block_signals field.  Reduce size of
2036         extra array by 1.
2037         (allocate_segment): Set prev field to NULL.  Don't set
2038         __morestack_current_segment or __morestack_segments.
2039         (__generic_morestack): Update current->prev and *pp after calling
2040         allocate_segment.
2041         (__morestack_block_signals): Don't do anything if
2042         dont_block_signals is set.
2043         (__morestack_unblock_signals): Likewise.
2044         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
2045         uintptr_type.
2046         (__splitstack_block_signals): New function.
2047         (enum __splitstack_content_offsets): Define.
2048         (__splitstack_getcontext, __splitstack_setcontext): New functions.
2049         (__splitstack_makecontext): New function.
2050         (__splitstack_block_signals_context): New function.
2051         (__splitstack_find_context): New function.
2052         * config/i386/morestack.S (__morestack_get_guard): New function.
2053         (__morestack_set_guard, __morestack_make_guard): New functions.
2054         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
2056 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2058         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
2059         (i[34567]86-*-mingw*): ... here.
2060         (x86_64-*-mingw*): ... here.
2062 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2064         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
2066 2011-11-07  Nathan Sidwell  <nathan@acm.org>
2068         * libgcov.c (struct gcov_fn_buffer): New struct.
2069         (buffer_fn_data): New helper.
2070         (gcov_exit): Rework for new gcov data structures.
2072 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
2074         PR target/49313
2075         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
2077 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2079         * config.host (tmake_file): Correct comment.
2080         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
2081         t-libgcc-pic.
2082         (bfin*-uclinux*): Likewise.
2083         (bfin*-linux-uclibc*): Likewise.
2084         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
2086         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
2087         assigning.
2088         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2089         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
2090         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2091         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
2092         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2093         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
2094         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
2095         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2096         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
2097         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
2098         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
2099         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
2100         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
2102         * config/bfin/t-elf: Remove.
2103         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
2105 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2107         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
2108         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
2109         (lm32-*-elf*, lm32-*-rtems*): Split into ...
2110         (lm32-*-elf*): ... this.
2111         (lm32-*-rtems*): ... and this.
2112         Add to tmake_file.
2113         (m32r-*-rtems*): Add to tmake_file.
2114         (moxie-*-rtems*): Likewise.
2115         (sparc-*-rtems*): Likewise.
2116         Remove t-rtems from tmake_file.
2117         (sparc64-*-rtems*): Likewise.
2118         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
2119         instead.
2121 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2123         PR bootstrap/50982
2124         * config/gthr-posix.h: Move ...
2125         * gthr-posix.h: ... here.
2126         * config/gthr-lynx.h: Reflect this.
2127         * config/gthr-vxworks.h: Likewise.
2128         * config/rs6000/gthr-aix.h: Likewise.
2129         * configure.ac (target_thread_file): Likewise.
2130         * configure: Regenerate.
2132 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2134         * config.host (arm*-*-rtemseabi*): New target.
2136 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2138         PR other/50991
2139         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
2140         extra-parts.
2142 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
2144         * config.host (epiphany-*-elf*): New configuration.
2145         * config/epiphany: New Directory.
2147 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
2149         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
2150         * config/avr/t-rtems: New.
2151         Filter out _exit from LIB1ASMFUNCS.
2153 2011-11-04  David S. Miller  <davem@davemloft.net>
2155         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
2156         * configure: Rebuild.
2158 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2160         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
2161         variable.
2163 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
2165         PR target/50931
2166         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
2167         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
2169 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
2171         PR target/50989
2172         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
2174 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2176         * config/c6x/t-elf (LIB2ADDEH): Set.
2177         * config/c6x/t-c6x-elf: Remove.
2179 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2181         * config/i386/sol2-ci.S: Rename to ...
2182         * config/i386/crti.S: ... this.
2183         * config/i386/sol2-cn.S: Rename to ...
2184         * config/i386/crtn.S: ... this.
2185         * config/sparc/sol2-ci.S: Rename to ...
2186         * config/sparc/crti.S: ... this.
2187         * config/sparc/sol2-cn.S: Rename to ...
2188         * config/sparc/crtn.S: ... this.
2189         * config/t-sol2 (CUSTOM_CRTIN): Remove.
2190         (crti.o, crtn.o): Remove.
2192 2011-11-04  Tristan Gingold  <gingold@adacore.com>
2194         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
2196 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
2198         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
2200 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
2202         * config.host (crisv32-*-none, cris-*-none): Remove.
2203         (crisv32-*-elf): Append to tmake_file, don't just set it.
2204         (cris-*-elf): Add missing t-fdpbit to tmake_file.
2206 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2208         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
2209         (ecrtn$(objext)): Likewise.
2210         (ncrti$(objext)): Likewise.
2211         (ncrtn$(objext)): Likewise.
2213 2011-11-03  Andreas Schwab  <schwab@redhat.com>
2215         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
2217 2011-11-02  David S. Miller  <davem@davemloft.net>
2219         * configure.ac: Set host_address on sparc too.
2220         * configure: Regenerate.
2221         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
2222         based upon host_address.
2223         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
2225 2011-11-02  Jason Merrill  <jason@redhat.com>
2227         * config/rs6000/t-ppccomm: Add missing \.
2229 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2231         * gthr-single.h, gthr.h: New files.
2232         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
2233         config/gthr-vxworks.h, config/i386/gthr-win32.h,
2234         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
2235         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
2236         * config/i386/gthr-win32.c: Include "gthr-win32.h".
2237         * configure.ac (thread_header): New variable.
2238         Set it depending on target_thread_file.
2239         (gthr-default.h): Link from $thread_header.
2240         * configure: Regenerate.
2241         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
2243 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2245         * configure.ac (tm_file_): New variable.
2246         Determine from tm_file.
2247         (tm_file, tm_defines): Substitute.
2248         * configure: Regenerate.
2249         * mkheader.sh: New file.
2250         * Makefile.in (clean): Remove libgcc_tm.h.
2251         ($(objects)): Depend on libgcc_tm.h.
2252         (libgcc_tm_defines, libgcc_tm_file): New variables.
2253         (libgcc_tm.h, libgcc_tm.stamp): New targets.
2254         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
2255         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
2256         ($(extra-parts)): Depend on libgcc_tm.h.
2257         * config.host (tm_defines, tm_file): New variable.
2258         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
2259         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
2260         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
2261         (avr-*-rtems*): Likewise.
2262         (avr-*-*): Likewise.
2263         (frv-*-elf): Likewise.
2264         (frv-*-*linux*): Likewise.
2265         (h8300-*-rtems*): Likewise.
2266         (h8300-*-elf*): Likewise.
2267         (i[34567]86-*-darwin*): Likewise.
2268         (x86_64-*-darwin*): Likewise.
2269         (rx-*-elf): Likewise.
2270         (tic6x-*-uclinux): Likewise.
2271         (tic6x-*-elf): Likewise.
2272         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
2273         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
2274         * config/i386/cygming-crtbegin.c: Likewise.
2275         * config/i386/cygming-crtend.c: Likewise.
2276         * config/ia64/fde-vms.c: Likewise.
2277         * config/ia64/unwind-ia64.c: Likewise.
2278         * config/libbid/bid_gcc_intrinsics.h: Likewise.
2279         * config/rs6000/darwin-fallback.c: Likewise.
2280         * config/stormy16/lib2funcs.c: Likewise.
2281         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
2282         * crtstuff.c: Likewise.
2283         * dfp-bit.h: Likewise.
2284         * emutls.c: Likewise.
2285         * fixed-bit.c: Likewise.
2286         * fp-bit.c: Likewise.
2287         * generic-morestack-thread.c: Likewise.
2288         * generic-morestack.c: Likewise.
2289         * libgcc2.c: Likewise.
2290         * libgcov.c: Likewise.
2291         * unwind-dw2-fde-dip.c: Likewise.
2292         * unwind-dw2-fde.c: Likewise.
2293         * unwind-dw2.c: Likewise.
2294         * unwind-sjlj.c: Likewise.
2296 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2298         * configure.ac: Include ../config/picflag.m4.
2299         (GCC_PICFLAG): Call it.
2300         Substitute.
2301         * configure: Regenerate.
2302         * Makefile.in (gcc_srcdir): Remove.
2303         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
2304         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
2305         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
2306         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
2307         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
2308         Use $<.
2309         Remove comment.
2310         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
2311         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
2312         to refer to libgcc2.c.
2313         Use $<.
2314         * config/darwin-64.c: New file.
2315         * config/darwin-crt3.c: Remove comment.
2316         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
2317         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
2318         config/udivmodsi4.c: New files.
2319         * config/memcmp.c, config/memcpy.c, config/memmove.c,
2320         config/memset.c: New files.
2321         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
2322         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
2323         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
2324         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
2325         * config/t-openbsd-thread: New file.
2326         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
2327         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
2328         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
2329         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
2330         qrnnd.S.
2331         Adapt filename.
2332         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
2333         to refer to gthr-posix.c.
2334         * config/alpha/t-vms (LIB2ADD): Set.
2335         * config/alpha/vms-gcc_shell_handler.c: New file.
2336         * config/arm/bpabi.c, config/arm/fp16.c,
2337         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
2338         config/arm/unaligned-funcs.c: New files.
2339         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
2340         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2341         * config/arm/t-linux: Likewise.
2342         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
2343         * config/arm/t-netbsd: New file.
2344         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
2345         * config/arm/t-symbian (LIB2ADD_ST): Set.
2346         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
2347         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2348         * config/bfin/t-elf: New file.
2349         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
2350         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
2351         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
2352         config/c6x/ltf.c: New files.
2353         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
2354         (HOST_LIBGCC2_CFLAGS): Set.
2355         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
2356         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2357         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
2358         New files.
2359         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
2360         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
2361         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
2362         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
2363         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
2364         files.
2365         * config/frv/t-frv (LIB2ADD): Set.
2366         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2367         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
2368         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
2369         config/h8300/popcounthi2.c: New files.
2370         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2371         * config/i386/gthr-win32.c: New file.
2372         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
2373         * config/i386/t-cygwin: Likewise.
2374         * config/i386/t-darwin, config/i386/t-darwin64,
2375         config/i386/t-gthr-win32, config/i386/t-interix: New files.
2376         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
2377         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2378         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2379         * config/ia64/quadlib.c: New file.
2380         * config/ia64/t-hpux (LIB2ADD): Set.
2381         * config/ia64/t-ia64: Add comment.
2382         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
2383         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2384         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
2385         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
2386         * config/m32c/t-m32c (LIB2ADD): Set.
2387         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2388         * config/m32r/t-m32r: Likewise.
2389         * config/m68k/fpgnulib.c: New file.
2390         * config/m68k/t-floatlib (LIB2ADD): Set.
2391         (xfgnulib.c): New target.
2392         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
2393         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
2394         * config/mep/t-mep (LIB2ADD): Set.
2395         * config/microblaze/divsi3.asm: Rename to divsi3.S.
2396         * config/microblaze/moddi3.asm: Rename to moddi3.S.
2397         * config/microblaze/modsi3.asm: Rename to modsi3.S.
2398         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
2399         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
2400         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
2401         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
2402         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
2403         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
2404         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
2405         New files.
2406         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
2407         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
2408         * config/pa/fptr.c, config/pa/lib2funcs.S,
2409         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
2410         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2411         (LIB2ADD, LIB2ADD_ST): Set.
2412         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
2413         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
2414         Set.
2415         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
2416         * config/pdp11/t-pdp11: New file.
2417         * config/picochip/libgccExtras/adddi3.S,
2418         config/picochip/libgccExtras/ashlsi3.S,
2419         config/picochip/libgccExtras/ashrsi3.S,
2420         config/picochip/libgccExtras/clzsi2.S,
2421         config/picochip/libgccExtras/cmpsi2.S,
2422         config/picochip/libgccExtras/divmod15.S,
2423         config/picochip/libgccExtras/divmodhi4.S,
2424         config/picochip/libgccExtras/divmodsi4.S,
2425         config/picochip/libgccExtras/lshrsi3.S,
2426         config/picochip/libgccExtras/parityhi2.S,
2427         config/picochip/libgccExtras/popcounthi2.S,
2428         config/picochip/libgccExtras/subdi3.S,
2429         config/picochip/libgccExtras/ucmpsi2.S,
2430         config/picochip/libgccExtras/udivmodhi4.S,
2431         config/picochip/libgccExtras/udivmodsi4.S: New files.
2432         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
2433         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
2434         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
2435         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
2436         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
2437         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
2438         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
2439         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
2440         files.
2441         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
2442         (HOST_LIBGCC2_CFLAGS): Set.
2443         * config/rs6000/t-darwin64: New file.
2444         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
2445         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
2446         * config/rs6000/t-ppccomm (LIB2ADD): Add
2447         $(srcdir)/config/rs6000/tramp.S.
2448         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
2449         Add  $(srcdir)/config/rs6000/eabi.S.
2450         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
2451         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
2452         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
2453         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
2454         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
2455         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
2456         * config/rs6000/tramp.S: New file.
2457         * config/s390/t-tpf: Remove.
2458         * config/sh/linux-atomic.S: New file.
2459         * config/sh/t-linux (LIB2ADD): Set.
2460         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
2461         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2462         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
2463         to unwind-dw2.c.
2464         (HOST_LIBGCC2_CFLAGS): Set.
2465         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2466         * config/spu/divmodti4.c, config/spu/divv2df3.c,
2467         config/spu/float_disf.c, config/spu/float_unsdidf.c,
2468         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
2469         config/spu/mfc_multi_tag_release.c,
2470         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
2471         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
2472         config/spu/multi3.c: New files.
2473         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
2474         (HOST_LIBGCC2_CFLAGS): Set.
2475         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
2476         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
2477         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
2478         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
2479         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
2480         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
2481         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
2482         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
2483         config/stormy16/umodsi3.c: New files.
2484         * config/xtensa/lib2funcs.S: New file.
2485         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2486         * config/xtensa/t-xtensa (LIB2ADD): Set.
2487         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
2488         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
2489         Add t-freebsd-thread to tmake_file for posix threads.
2490         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
2491         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
2492         (*-*-lynxos*): Likewise.
2493         (*-*-netbsd*): Likewise.
2494         (*-*-openbsd*): Likewise.
2495         Add t-openbsd-thread to tmake_file for posix threads.
2496         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
2497         (*-*-vxworks*): Set tmake_file.
2498         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2499         (alpha*-*-freebsd*): Likewise.
2500         (alpha*-*-netbsd*): Likewise.
2501         (alpha*-*-openbsd*): Likewise.
2502         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
2503         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2504         (alpha*-dec-*vms*): Likewise.
2505         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
2506         (bfin*-elf*): Add bfin/t-elf to tmake_file.
2507         (bfin*-uclinux*): Likewise.
2508         (bfin*-linux-uclibc*): Likewise.
2509         (crisv32-*-elf): Add cris/t-cris to tmake_file.
2510         (crisv32-*-none): Likewise.
2511         (cris-*-elf): Likewise.
2512         (cris-*-none): Likewise.
2513         (cris-*-linux*, crisv32-*-linux*): Likewise.
2514         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
2515         tmake_file.
2516         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
2517         tmake_file.
2518         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
2519         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
2520         (x86_64-*-elf*): Likewise.
2521         (i[34567]86-*-nto-qnx*): Likewise.
2522         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
2523         win32 threads.
2524         (x86_64-*-mingw*): Likewise.
2525         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
2526         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
2527         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2528         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2529         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
2530         tmake_file.
2531         (mipsisa64sr71k-*-elf*): Likewise.
2532         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2533         (mips-*-elf*, mipsel-*-elf*): Likewise.
2534         (mips64-*-elf*, mips64el-*-elf*): Likewise.
2535         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2536         (mips*-*-rtems*): Likewise.
2537         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
2538         to tmake_file.
2539         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
2540         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
2541         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
2542         (spu-*-elf*): Likewise.
2543         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
2545 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2547         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
2548         $(srcdir) to refer to $(LIB1ASMSRC).
2549         Use $<.
2550         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
2551         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
2552         config/arm/lib1funcs.S: New files.
2553         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
2554         * config/arm/t-arm: New file.
2555         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
2556         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
2557         config/arm/t-strongarm-elf: New files.
2558         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
2559         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
2560         * config/avr/lib1funcs.S: New file.
2561         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2562         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
2563         * config/c6x/lib1funcs.S: New file.
2564         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2565         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
2566         * config/frv/lib1funcs.S: New file.
2567         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2568         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
2569         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
2570         * config/ia64/__divxf3.asm: Rename to ...
2571         * config/ia64/__divxf3.S: ... this.
2572         Adapt lib1funcs.asm filename.
2573         * config/ia64/_fixtfdi.asm: Rename to ...
2574         * config/ia64/_fixtfdi.S: ... this.
2575         Adapt lib1funcs.asm filename.
2576         * config/ia64/_fixunstfdi.asm: Rename to ...
2577         * config/ia64/_fixunstfdi.S: ... this.
2578         Adapt lib1funcs.asm filename.
2579         * config/ia64/_floatditf.asm: Rename to ...
2580         * config/ia64/_floatditf.S: ... this.
2581         Adapt lib1funcs.asm filename.
2582         * config/ia64/lib1funcs.S: New file.
2583         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
2584         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2585         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
2586         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
2587         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
2588         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
2589         * config/mep/lib1funcs.S: New file.
2590         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2591         * config/mips/mips16.S: New file.
2592         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2593         * config/pa/milli64.S: New file.
2594         * config/pa/t-linux, config/pa/t-linux64: New files.
2595         * config/picochip/lib1funcs.S: New file.
2596         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2597         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
2598         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
2599         * config/sh/t-netbsd: New file.
2600         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
2601         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
2602         * config/sh/t-sh64: New file.
2603         * config/sparc/lb1spc.S: New file.
2604         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
2605         filename.
2606         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
2607         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
2608         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
2609         config/xtensa/lib1funcs.S: New files.
2610         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2611         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
2612         tmake_file.
2613         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
2614         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
2615         (arm*-*-linux*): Likewise.
2616         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
2617         arm*-*-linux-*eabi, add arm/t-linux otherwise.
2618         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
2619         (arm*-*-ecos-elf): Likewise.
2620         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2621         (arm*-*-rtems*): Likewise.
2622         (arm*-*-elf): Likewise.
2623         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
2624         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
2625         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
2626         (bfin*-uclinux*): Likewise.
2627         (bfin*-linux-uclibc*): Likewise.
2628         (bfin*-rtems*): Likewise.
2629         (bfin*-*): Likewise.
2630         (fido-*-elf): Merge into m68k-*-elf*.
2631         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
2632         (frv-*-*linux*): Add frv/t-frv to tmake_file.
2633         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
2634         (h8300-*-elf*): Likewise.
2635         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
2636         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
2637         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
2638         (i[34567]86-*-mingw*): Likewise.
2639         (x86_64-*-mingw*): Likewise.
2640         (i[34567]86-*-interix3*): Likewise.
2641         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
2642         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
2643         (m68k-*-elf*): Also handle fido-*-elf.
2644         Add m68k/t-floatlib to tmake_file.
2645         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
2646         (m68k-*-linux*): Likewise.
2647         (m68k-*-rtems*): Likewise.
2648         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
2649         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
2650         sh64*-*-*.
2651         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
2652         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
2653         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
2654         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
2655         sh/t-netbsd to tmake_file.
2656         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
2657         (sh-*-rtems*): Add sh/t-sh to tmake_file.
2658         (sh-wrs-vxworks): Likewise.
2659         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
2660         *-leon[3-9]*.
2661         (v850*-*-*): Add v850/t-v850 to tmake_file.
2662         (vax-*-linux*): Add vax/t-linux to tmake_file.
2663         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
2665 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2667         * crtstuff.c: New file.
2668         * Makefile.in (CRTSTUFF_CFLAGS): Define.
2669         (CRTSTUFF_T_CFLAGS): Define.
2670         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
2671         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
2672         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
2673         crtstuff.c.
2674         Use $<.
2675         (crtbeginT.o): Use $(objext).
2676         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
2677         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
2678         (gcc-extra-parts): Remove.
2679         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
2680         Set extra_parts.
2681         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2682         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
2683         Add t-crtstuff-pic to tmake_file.
2684         (*-*-lynxos*): New case.
2685         Set tmake_file, extra_parts.
2686         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
2687         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
2688         *-*-netbsdelf[2-9]*.
2689         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
2690         (*-*-rtems*): Set extra_parts.
2691         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
2692         (*-*-uclinux*): New case.
2693         Set extra_parts.
2694         (*-*-vms*): New case.
2695         Set tmake_file, extra_parts.
2696         (*-*-elf): Set extra_parts.
2697         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
2698         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
2699         vms/t-vms64.
2700         Set extra_parts.
2701         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
2702         Set extra_parts.
2703         (arm*-*-freebsd*): Add t-crtin to tmake_file.
2704         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
2705         (arm-wrs-vxworks): Append to tmake_file.
2706         Set extra_parts.
2707         (arm*-*-uclinux*): Set extra_parts.
2708         (arm*-*-ecos-elf): Likewise.
2709         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
2710         arm*-*-eabi*.
2711         (arm*-*-rtems*): Set extra_parts.
2712         (arm*-*-elf): Likewise.
2713         (avr-*-rtems*): Clear extra_parts.
2714         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
2715         Set extra_parts.
2716         (bfin*-uclinux*): Likewise.
2717         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
2718         (bfin*-rtems*): Append to tmake_file.
2719         Set extra_parts.
2720         (bfin*-*): Likewise.
2721         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
2722         (crisv32-*-elf): ... this.
2723         (crisv32-*-none): ... this.
2724         (cris-*-elf, cris-*-none): New cases.
2725         Add cris/t-elfmulti to tmake_file.
2726         (fr30-*-elf): Append to tmake_file.
2727         Set extra_parts.
2728         (frv-*-elf): Append to tmake_file, add frv/t-frv.
2729         Set extra_parts.
2730         (h8300-*-rtems*): Append to tmake_file.
2731         Set extra_parts.
2732         (h8300-*-elf*): Likewise.
2733         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
2734         Set extra_parts.
2735         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
2736         Set extra_parts.
2737         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
2738         (x86_64-*-elf*): Likewise.
2739         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
2740         (x86_64-*-freebsd*): Likewise.
2741         (x86_64-*-netbsd*): Likewise.
2742         (i[34567]86-*-linux*): Likewise.
2743         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2744         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2745         (x86_64-*-linux*): Likewise.
2746         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2747         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
2748         tmake_file.
2749         Set extra_parts.
2750         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
2751         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
2752         Append to extra_parts, remove crtbegin.o, crtend.o.
2753         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
2754         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
2755         crtend.o, crtbeginS.o, crtendS.o.
2756         (ia64*-*-linux*): Comment extra_parts.
2757         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
2758         Set extra_parts.
2759         (iq2000*-*-elf*): Clear extra_parts.
2760         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
2761         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
2762         (m32r-*-elf*, m32r-*-rtems*): Split off ...
2763         (m32r-*-rtems*): ... this.
2764         Add m32r/t-m32r to tmake_file.
2765         (m68k-*-elf*): Add t-crtin to tmake_file.
2766         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
2767         (mcore-*-elf): Likewise.
2768         (microblaze*-*-*): Set extra_parts.
2769         (mips*-sde-elf*): New case.
2770         Set tmake_file, extra_parts.
2771         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2772         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2773         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
2774         tmake_file.
2775         Set extra_parts.
2776         (mipsisa64sr71k-*-elf*): Likewise.
2777         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2778         (mips-*-elf*, mipsel-*-elf*): Likewise.
2779         (mips64-*-elf*, mips64el-*-elf*): Likewise.
2780         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
2781         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
2782         (mips*-*-rtems*): Likewise.
2783         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
2784         (moxie-*-*): Split into ...
2785         (moxie-*-elf, moxie-*-uclinux*): ... this.
2786         Add to extra_parts, remove crtbegin.o, crtend.o.
2787         (moxie-*-rtems*): New case.
2788         Set tmake_file.
2789         Clear extra_parts.
2790         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
2791         Set extra_parts.
2792         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2793         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
2794         tmake_file.
2795         Set extra_parts.
2796         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
2797         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
2798         Set extra_parts.
2799         (powerpc-*-eabisim*): Likewise.
2800         (powerpc-*-elf*): Likewise.
2801         (powerpc-*-eabialtivec*): Likewise.
2802         (powerpc-xilinx-eabi*): Likewise.
2803         (powerpc-*-eabi*): Likewise.
2804         (powerpc-*-rtems*): Likewise.
2805         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
2806         tmake_file.
2807         Set extra_parts.
2808         (powerpc-*-lynxos*): Add to tmake_file.
2809         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
2810         rs6000/t-crtstuff, t-crtstuff-pic.
2811         Set extra_parts.
2812         (powerpcle-*-eabisim*): Likewise.
2813         (powerpcle-*-eabi*): Likewise.
2814         (rx-*-elf): Remove extra_parts.
2815         (s390x-ibm-tpf*): Set extra_parts.
2816         (score-*-elf): Set extra_parts.
2817         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2818         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2819         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2820         (sh64l*-*-netbsd*): Split into ...
2821         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
2822         Add t-crtstuff-pic to tmake_file.
2823         Set extra_parts.
2824         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
2825         Set extra_parts.
2826         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
2827         (sparc-*-elf*): Remove t-crtin from tmake_file.
2828         Add to extra_parts, remove crtbegin.o, crtend.o.
2829         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
2830         (sparc64-*-linux*): Likewise.
2831         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
2832         Add to extra_parts, remove crtbegin.o, crtend.o.
2833         (sparc64-*-elf*): Remove t-crtin from tmake_file.
2834         Add to extra_parts, remove crtbegin.o, crtend.o.
2835         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
2836         Add to extra_parts, remove crtbegin.o, crtend.o.
2837         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
2838         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
2839         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
2840         Set extra_parts.
2841         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
2842         Set extra_parts.
2843         (tic6x-*-*): Change to ...
2844         (tic6x-*-elf): ... this.
2845         Set extra_parts.
2846         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
2847         Set extra_parts.
2848         (am33_2.0-*-linux*): Add comment.
2849         (mep*-*-*): Add mep/t-mep to tmake_file.
2850         Set extra_parts.
2851         * config/alpha/t-vms: New file.
2852         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
2853         * config/arm/crti.S, config/arm/crtn.S: New files.
2854         * config/bfin/crti.S, config/bfin/crtn.S: New files.
2855         * config/bfin/crtlibid.S: New file.
2856         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
2857         * config/c6x/crti.S, config/c6x/crtn.S: New files.
2858         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
2859         (crti.o, crtin.o): New rules.
2860         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2861         * config/c6x/t-uclinux: New file.
2862         * config/cris/t-elfmulti: New file.
2863         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
2864         * config/fr30/crti.S, config/fr30/crtn.S: New files.
2865         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
2866         * config/frv/t-frv: New file.
2867         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
2868         * config/h8300/crti.S, config/h8300/crtn.S: New files.
2869         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
2870         New files.
2871         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
2872         refer to cygming-crtbegin.c, cygming-crtend.c.
2873         Use $<.
2874         * config/i386/t-nto: New file.
2875         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
2876         * config/ia64/crti.S, config/ia64/crtn.S: New files.
2877         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
2878         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
2879         Use .S extension.
2880         Use $<.
2881         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2882         (crtinitS.o): New rule.
2883         * config/ia64/vms-crtinit.S: New file.
2884         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
2885         * config/m32r/initfini.c: New file.
2886         * config/m32r/t-linux, config/m32r/t-m32r: New files.
2887         * config/m68k/crti.S, config/m68k/crtn.S: New files.
2888         * config/mcore/crti.S, config/mcore/crtn.S: New files.
2889         * config/mep/t-mep: New file.
2890         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
2891         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
2892         * config/mips/crti.S, config/mips/crtn.S: New files.
2893         * config/mips/t-crtstuff: New file.
2894         * config/mmix/crti.S, config/mmix/crtn.S: New files.
2895         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
2896         (CUSTOM_CRTIN): Set.
2897         ($(T)crti.o, $(T)crtn.o): Remove $(T),
2898         dependencies.
2899         Use $(srcdir) to refer to crti.S, crtn.S.
2900         Use .S extension, $<.
2901         * config/moxie/crti.asm: Rename to ...
2902         * config/moxie/crti.S: ... this.
2903         * config/moxie/crtn.asm: Rename to ...
2904         * config/moxie/crtn.S: ... this.
2905         * config/moxie/t-moxie: Remove.
2906         * config/pa/stublib.c: New file.
2907         * config/pa/t-stublib, config/pa/t-stublib64: New files.
2908         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
2909         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
2910         * config/rs6000/t-crtstuff: New file.
2911         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
2912         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
2913         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
2914         Make output file explicit.
2915         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
2916         Make output file explicit.
2917         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
2918         Make output file explicit.
2919         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
2920         Make output file explicit.
2921         * config/score/crti.S, config/score/crtn.S: New files.
2922         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
2923         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
2924         files.
2925         * config/sh/t-sh, config/sh/t-superh: New files.
2926         * config/sparc/t-linux64: New file.
2927         * config/spu/cache.S, config/spu/cachemgr.c: New files.
2928         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
2929         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
2930         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
2931         * config/t-crtin: Remove.
2932         * config/t-crtstuff-pic: New file.
2933         * config/t-sol2 (CUSTOM_CRTIN): Set.
2934         (crti.o, crtn.o): New rules.
2935         * config/vms/t-vms: New file.
2936         * config/vms/vms-ucrt0.c: New file.
2937         * config/xtensa/t-elf: New file.
2939 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2941         * Makefile.in (SHLIB_NM_FLAGS): Set.
2942         * mkmap-flat.awk, mkmap-symver.awk: New files.
2943         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
2944         exceptions.
2945         * configure: Regenerate.
2946         * config/libgcc-glibc.ver: New file.
2947         * config/libgcc-libsystem.ver: New file.
2948         * config/t-libunwind (SHLIB_LC): Set.
2949         * config/t-linux: New file.
2950         * config/t-slibgcc (INSTALL_SHLIB): New.
2951         (SHLIB_INSTALL): Use it.
2952         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
2953         to mkmap-symver.awk.
2954         (SHLIB_MAPFILES): Don't append, adapt pathname.
2955         (SHLIB_VERPFX): Set.
2956         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
2957         to mkmap-symver.awk.
2958         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
2959         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
2960         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
2961         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
2962         to mkmap-flat.awk.
2963         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
2964         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
2965         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
2966         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
2967         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
2968         * config/i386/libgcc-darwin.10.4.ver,
2969         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
2970         New files.
2971         * config/i386/t-darwin: Remove.
2972         * config/i386/t-darwin64: Likewise.
2973         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
2974         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
2975         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
2976         * config/i386/t-linux: New file.
2977         * config/i386/t-mingw32: New file.
2978         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
2979         * config/ia64/t-glibc: Rename to ...
2980         * config/ia64/t-linux: ... this.
2981         (SHLIB_MAPFILES): Set.
2982         * config/ia64/t-glibc-libunwind: Rename to ...
2983         * config/ia64/t-linux-libunwind: ... this.
2984         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
2985         * config/ia64/t-slibgcc-hpux: New file.
2986         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
2987         * config/m68k/t-slibgcc-elf-ver: New file.
2988         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
2989         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
2990         to mkmap-flat.awk.
2991         * config/pa/t-slibgcc-hpux: New file.
2992         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
2993         files.
2994         * config/rs6000/libgcc-darwin.10.4.ver,
2995         config/rs6000/libgcc-darwin.10.5.ver: New files.
2996         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
2997         config/rs6000/libgcc-glibc.ver.
2998         * config/rs6000/libgcc-ppc64.ver: Rename to
2999         config/rs6000/libgcc-ibm-ldouble.ver.
3000         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
3001         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
3002         * config/rs6000/t-ldbl128: Rename to ...
3003         * config/rs6000/t-linux: ... this.
3004         (SHLIB_MAPFILES): Adapt filename.
3005         * config/rs6000/t-slibgcc-aix: New file.
3006         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
3007         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
3008         libgcc-excl.ver, libgcc-glibc.ver.
3009         (SHLIB_LINK, SHLIB_INSTALL): Remove.
3010         * config/sparc/libgcc-glibc.ver: New file.
3011         * config/sparc/t-linux: New file.
3012         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
3013         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
3014         t-slibgcc-elf-ver to tmake_file.
3015         Add t-slibgcc-nolc-override to tmake_file for posix threads on
3016         *-*-freebsd[34].
3017         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3018         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
3019         t-slibgcc-elf-ver, t-linux to tmake_file.
3020         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
3021         tmake_file.
3022         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
3023         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
3024         (alpha*-dec-*vms*): Likewise.
3025         (arm*-*-freebsd*): Append to tmake_file.
3026         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
3027         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
3028         arm*-*-linux-*eabi.
3029         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
3030         tmake_file for arm*-*-symbianelf*.
3031         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
3032         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
3033         cris/t-linux.
3034         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
3035         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
3036         pa/t-slibgcc-dwarf-ver to tmake_file.
3037         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
3038         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
3039         (hppa*64*-*-hpux11*): Likewise.
3040         (hppa[12]*-*-hpux11*): Likewise.
3041         (x86_64-*-darwin*): Don't override tmake_file, but only keep
3042         i386/t-crtpc, i386/t-crtfm.
3043         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
3044         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
3045         to tmake_file.
3046         Add i386/t-cygwin to tmake_file.
3047         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
3048         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
3049         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
3050         to tmake_file.
3051         Add i386/t-mingw32 to tmake_file.
3052         (x86_64-*-mingw*): Likewise.
3053         (ia64*-*-freebsd*): Append to tmake_file.
3054         (ia64*-*-linux*): Append to tmake_file.
3055         Replace ia64/t-glibc by ia64/t-linux.
3056         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
3057         system libunwind.
3058         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
3059         t-slibgcc-hpux to tmake_file.
3060         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
3061         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
3062         (m32rle-*-linux*): Likewise.
3063         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
3064         sjlj exceptions.
3065         (microblaze*-linux*): New case.
3066         Append to tmake_file, add t-slibgcc-nolc-override.
3067         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
3068         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3069         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
3070         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3071         rs6000/t-slibgcc-aix to tmake_file.
3072         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3073         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3074         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3075         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3076         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3077         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
3078         sh*-*-linux*.
3079         (sparc-*-linux*): Append to tmake_file for *-leon*.
3080         Add sparc/t-linux to tmake_file for non-Leon targets.
3081         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
3082         (tic6x-*-uclinux): New case.
3083         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
3084         (tic6x-*-*): Add c6x/t-elf to tmake_file.
3085         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
3086         (am33_2.0-*-linux*): Append to tmake_file.
3087         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3088         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
3089         x86_64-*-kfreebsd*-gnu.
3090         Add i386/t-linux to tmake_file.
3092 2011-10-28  Ian Lance Taylor  <iant@google.com>
3094         * config/i386/morestack.S: Correct CFI information to do proper
3095         returns throughout function.  In 32-bit mode, save %ebx so that it
3096         is restored on unwind.
3098 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
3100         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
3101         case where B3 isn't the return register.
3103         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
3104         logic for doubleword pops.
3106 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
3108         * config/rs6000/t-freebsd: Add wildcard.
3110 2011-10-21  Paul Brook  <paul@codesourcery.com>
3112         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
3114 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
3115             Eric Botcazou  <ebotcazou@adacore.com>
3117         PR target/50737
3118         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
3119         fs->signal_frame to 1.
3121 2011-10-07  Ian Lance Taylor  <iant@google.com>
3123         * generic-morestack-thread.c: #include <errno.h>.
3125 2011-10-07  Ian Lance Taylor  <iant@google.com>
3127         PR target/46093
3128         * generic-morestack.c (__generic_morestack): Make sure the segment
3129         is large enough for both the stack frame and the copied
3130         parameters.
3132 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3134         PR bootstrap/49804
3135         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
3136         extra_parts.
3138 2011-09-28  Nick Clifton  <nickc@redhat.com>
3140         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
3141         64-bit doubles are not enabled.
3142         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
3143         and floatunsisf functions.
3145 2011-09-13  Paul Brook  <paul@codesourcery.com>
3147         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
3148         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
3149         * unwind-arm-common.inc: New file.
3150         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
3151         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
3152         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
3153         * config/c6x/libunwind.S: New file.
3154         * config/c6x/pr-support.c: New file.
3155         * config/c6x/unwind-c6x.c: New file.
3156         * config/c6x/unwind-c6x.h: New file.
3157         * config/c6x/t-c6x-elf: New file.
3159 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
3161         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
3162         (ASM_DIVZERO): Ditto.
3163         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
3165 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
3167         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
3169 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
3171         PR target/50090
3172         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
3173         instead of an assembly one.
3175 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
3177         PR bootstrap/50047
3178         * Makefile.in (install-unwind_h): Create
3179         $(gcc_objdir)/include/unwind.h atomically.
3181 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3183         * Makefile.in (install-unwind_h): Remove destination file first.
3185 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3187         * sync.c: New file.
3188         * config/mips/t-mips16: New file.
3189         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
3190         (mips*-*-linux*): Likewise.
3191         (mips*-sde-elf*): Likewise.
3192         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
3193         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
3194         Add mips/t-mips16 to tmake_file.
3195         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
3196         (mips-*-elf*): Likewise.
3197         (mips64-*-elf*): Likewise.
3198         (mips64orion-*-elf*): Likewise.
3199         (mips*-*-rtems*): Likewise.
3200         (mipstx39-*-elf*): Likewise.
3201         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
3202         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
3203         LIBGCC_SYNC_CFLAGS.
3204         Use $(srcdir) to refer to sync.c.
3205         Use $<.
3206         ($(libgcc-sync-funcs-o)): Likewise.
3207         ($(libgcc-sync-size-funcs-s-o)): Likewise.
3208         ($(libgcc-sync-funcs-s-o)): Likewise.
3210 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
3212         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
3213         t-libunwind.
3215 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
3217         PR other/48007
3218         * config/i386/value-unwind.h: New.
3220 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
3222         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
3223         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
3224         Add to tmake_file rather than overriding it.
3226 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3228         * config/t-softfp: Remove.
3229         * soft-fp: Moved from ../gcc/config.
3230         * soft-fp/README: Remove t-softfp reference.
3231         * soft-fp/t-softfp: Move to config/t-softfp.
3232         (softfp_machine_header): Remove.
3233         (softfp_file_list): Remove config subdir.
3234         (soft-fp-objects): New variable.
3235         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
3236         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
3237         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
3238         * config/t-softfp-excl: New file.
3239         * config/t-softfp-sfdf: New file.
3240         * config/t-softfp-tf: New file.
3241         * config/no-sfp-machine.h: New file.
3242         * config/arm/sfp-machine.h: New file.
3243         * config/arm/t-softfp: New file.
3244         * config/c6x/sfp-machine.h: New file.
3245         * config/i386/32/t-fprules-softfp: Rename to ...
3246         * config/i386/32/t-softfp: ... this.
3247         (tifunctions, LIB2ADD): Remove.
3248         (softfp_int_modes): Override.
3249         * config/i386/64/t-softfp-compat (tf-functions): Remove config
3250         subdir.
3251         * config/i386/64/eqtf2.c: Likewise.
3252         * config/i386/64/getf2.c: Likewise.
3253         * config/i386/64/letf2.c: Likewise.
3254         * config/ia64/sft-machine.h: New file.
3255         * config/ia64/t-fprules-softfp: Rename to ...
3256         * config/ia64/t-softfp: ... this.
3257         * config/lm32/sfp-machine.h: New file.
3258         * config/moxie/t-moxie-softfp: Remove.
3259         * config/rs6000/ibm-ldouble-format: New file.
3260         * config/rs6000/ibm-ldouble.c: New file.
3261         * config/rs6000/libgcc-ppc-glibc.ver: New file
3262         * config/rs6000/libgcc-ppc64.ver: New file
3263         * config/rs6000/sfp-machine.h: New file.
3264         * config/rs6000/t-freebsd: New file.
3265         * config/rs6000/t-ibm-ldouble: New file.
3266         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
3267         libgcc-ppc-glibc.ver.
3268         * config/rs6000/t-linux64: New file.
3269         * config/rs6000/t-ppccomm (LIB2ADD): Add
3270         $(srcdir)/config/rs6000/ibm-ldouble.c.
3271         * config/rs6000/t-ppccomm-ldbl: New file.
3272         * config/score/sfp-machine.h: New file.
3273         * config.host (sfp_machine_header): Explain.
3274         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
3275         t-softfp to tmake_file.
3276         (arm*-*-uclinux*): Likewise.
3277         (arm*-*-ecos-elf): Likewise.
3278         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
3279         (arm*-*-rtems*): Likewise.
3280         (arm*-*-elf): Likewise.
3281         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
3282         in tmake_file.
3283         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
3284         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
3285         (lm32-*-uclinux*): Likewise.
3286         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
3287         t-softfp-excl, t-softfp.
3288         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
3289         (powerpc64-*-darwin*): Likewise.
3290         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
3291         to tmake_file.
3292         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
3293         tmake_file.
3294         (powerpc-*-eabisim*): Likewise.
3295         (powerpc-*-elf*): Likewise.
3296         (powerpc-*-eabialtivec*): Likewise.
3297         (powerpc-xilinx-eabi*): Likewise.
3298         (powerpc-*-rtems*): Likewise.
3299         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
3300         t-softfp-excl, t-softfp to tmake_file.
3301         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
3302         rs6000/t-ppccomm-ldbl to tmake_file.
3303         (powerpcle-*-elf*): Likewise.
3304         (powerpcle-*-eabisim*): Likewise.
3305         (powerpcle-*-eabi*): Likewise.
3306         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3307         rs6000/t-ibm-ldouble to tmake_file.
3308         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3309         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3310         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
3311         (tic6x-*-*): Likewise.
3312         (i[34567]86-*-darwin*, x86_64-*-darwin*,
3313         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
3314         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
3315         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
3316         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
3317         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
3318         t-softfp to tmake_file.
3319         * configure.ac (sfp_machine_header): Provide default if unset.
3320         Substitute.
3321         Link sfp-machine.h to config/$sfp_machine_header.
3322         * configure: Regenerate.
3324 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3326         * Makefile.in (double_type_size, long_double_type_size): Set.
3327         Remove $(fpbit-in-libgcc) support.
3328         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
3329         (fpbit-src): New variable.
3330         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
3331         Compile with -DFLOAT $(FPBIT_CFLAGS).
3332         Use $<.
3333         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
3334         Compile with $(FPBIT_CFLAGS).
3335         Use $<.
3336         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
3337         Compile with -DFLOAT $(TPBIT_CFLAGS).
3338         Use $<.
3339         * configure.ac (double_type_size, long_double_type_size):
3340         Determine and substitute.
3341         * configure: Regenerate.
3342         * fp-bit.c, fp-bit.h: New files.
3343         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
3344         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
3345         * config/mips/t-mips: New file.
3346         * config/mips/t-sdemtk: New file.
3347         * config/rs6000/ppc64-fp.c: New file.
3348         * config/rs6000/t-darwin (LIB2ADD): Add
3349         $(srcdir)/config/rs6000/ppc64-fp.c.
3350         * config/rs6000/t-ppc64-fp: New file.
3351         * config/rx/rx-lib.h: New file.
3352         * config/rx/t-rx (FPBIT): Set to true.
3353         ($(gcc_objdir)/fp-bit.c): Remove.
3354         (DPBIT): Set to true only with -m64bit-doubles.
3355         ($(gcc_objdir)/dp-bit.c): Remove.
3356         * config/sparc/t-softfp: Remove.
3357         * config/spu/t-elf: New file.
3358         * config/t-fdpbit, config/t-fpbit: New files.
3359         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
3360         (mips*-*-*): Likewise.
3361         (arm-wrs-vxworks): Likewise.
3362         (arm*-*-freebsd*): Likewise.
3363         (avr-*-rtems*): Add t-fpbit to tmake_file.
3364         (avr-*-*): Likewise.
3365         (bfin*-elf*): Add t-fdpbit to tmake_file.
3366         (bfin*-uclinux*): Likewise.
3367         (bfin*-linux-uclibc*): Likewise.
3368         (bfin*-rtems*): New case.
3369         Add t-fdpbit to tmake_file.
3370         (bfin*-*): Add t-fdpbit to tmake_file.
3371         (crisv32-*-elf): Likewise.
3372         (cris-*-linux*): Likewise.
3373         (fr30-*-elf): Likewise.
3374         (frv-*-elf, frv-*-*linux*): Likewise.
3375         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
3376         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
3377         (m32r-*-elf*): Likewise.
3378         (m32rle-*-elf*): Likewise.
3379         (m32r-*-linux*): Likewise.
3380         (m32rle-*-linux*): Likewise.
3381         (mcore-*-elf): Add t-fdpbit to tmake_file.
3382         (microblaze*-*-*): Likewise.
3383         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
3384         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
3385         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
3386         Fix typo.
3387         Add mips/t-tpbit to tmake-file.
3388         (mips*-*-linux*): Fix typo.
3389         (mips*-sde-elf*): New case
3390         Add mips/t-sdemtk unless using newlib.
3391         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
3392         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
3393         (mn10300-*-*): Likewise.
3394         (pdp11-*-*): Likewise.
3395         (picochip-*-*): Add t-fpbit to tmake_file.
3396         (powerpc-*-eabisimaltivec*): Likewise.
3397         (powerpc-*-eabisim*): Likewise.
3398         (powerpc-*-elf*): Likewise.
3399         (powerpc-*-eabialtivec*): Likewise.
3400         (powerpc-xilinx-eabi*): New case.
3401         Add t-fdpbit to tmake_file.
3402         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
3403         (powerpc-*-rtems*): Likewise.
3404         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
3405         tmake_file.
3406         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
3407         tmake_file.
3408         (powerpc-*-lynxos*): Likewise.
3409         (powerpcle-*-elf*): Likewise.
3410         (powerpcle-*-eabisim*): Likewise.
3411         (powerpcle-*-eabi*): Likewise.
3412         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3413         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
3414         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3415         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3416         (rx-*-elf): Add t-fdpbit to tmake_file.
3417         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3418         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3419         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3420         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
3421         sh*-*-netbsd*.
3422         (sh-*-rtems*): Add t-fdpbit to tmake_file.
3423         (sh-wrs-vxworks): Likewise.
3424         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
3425         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
3426         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
3427         (sparc64-*-rtems*): ... new case.
3428         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
3429         (spu-*-elf*): Likewise.
3430         Add spu/t-elf to tmake_file.
3431         (v850*-*-*): Add t-fdpbit to tmake_file.
3432         (xstormy16-*-elf): Likewise.
3433         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
3434         (mep*-*-*): Likewise.
3436 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3438         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
3439         variables.
3440         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
3441         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
3442         (install-unwind_h): New target.
3443         (all): Depend on it.
3444         * config.host (unwind_header): New variable.
3445         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
3446         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3447         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
3448         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
3449         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
3450         Set unwind_header.
3451         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
3452         Set unwind_header.
3453         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
3454         arm*-*-eabi*.
3455         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
3456         Set unwind_header.
3457         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
3458         (ia64*-*-freebsd*): Likewise.
3459         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
3460         tmake_file.
3461         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
3462         $with_system_libunwind.
3463         (ia64*-*-hpux*): Set tmake_file.
3464         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
3465         (picochip-*-*): Set tmake_file.
3466         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
3467         md_unwind_header.
3468         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3469         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3470         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
3471         (xtensa*-*-elf*): Set tmake_file.
3472         (xtensa*-*-linux*): Likewise.
3473         * configure.ac: Include ../config/unwind_ipinfo.m4.
3474         Call GCC_CHECK_UNWIND_GETIPINFO.
3475         Link unwind.h to $unwind_header.
3476         * configure: Regenerate.
3477         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
3478         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
3479         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
3480         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
3481         * config/unwind-dw2-fde-darwin.c: New file.
3482         * config/arm/libunwind.S, config/arm/pr-support.c,
3483         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
3484         config/arm/unwind-arm.h,: New files.
3485         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
3486         config/ia64/t-eh-ia64, config/ia64/t-glibc,
3487         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
3488         config/ia64/t-vms, config/ia64/unwind-ia64.c,
3489         config/ia64/unwind-ia64.h: New files.
3490         * config/picochip/t-picochip: New file.
3491         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
3492         files.
3493         * config/rs6000/t-darwin (LIB2ADDEH): Set.
3494         * config/s390/t-tpf (LIB2ADDEH): Remove.
3495         * config/t-darwin (LIB2ADDEH): Set.
3496         * config/t-eh-dw2-dip: New file.
3497         * config/t-libunwind, config/t-libunwind-elf: New files.
3498         * config/t-sol2 (LIB2ADDEH): Remove.
3499         * config/xtensa/t-xtensa: New file.
3501 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
3503         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
3504         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
3505         long long to check rt_sigreturn syscall.
3507 2011-08-02  Alan Modra  <amodra@gmail.com>
3509         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3510         Restore for indirect call bcrtl from correct stack slot, and only
3511         if cfa+40 isn't valid.
3513 2011-08-01  Julian Brown  <julian@codesourcery.com>
3515         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
3516         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
3517         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
3519 2011-08-01  Julian Brown  <julian@codesourcery.com>
3521         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
3522         (libgcc-std.ver.in): Use above.
3523         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
3524         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
3525         throughout file.
3526         * config/t-fixedpoint-gnu-prefix: New file.
3527         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
3528         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
3529         instead of __PFX__.
3531 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
3533         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
3534         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
3535         for x86-64.  Properly check __x86_64__ and __LP64__.
3537 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
3539         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
3540         version.
3541         (_FP_WS_TYPE): Likewise.
3542         (_FP_I_TYPE): Likewise.
3544 2011-07-28  Alan Modra  <amodra@gmail.com>
3546         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3547         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
3548         in a plt call stub.  Do restore r2 if stopped on bctrl.
3550 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3552         * config.host (i[3456x]86-*-netware*): Remove.
3553         * config/i386/netware-crt0.c, config/i386/t-nwld,
3554         config/i386/t-slibgcc-nwld: Remove.
3556 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
3558         * config.host: Handle tic6x-*-*.
3559         * config/c6x/c6x-abi.h: New file.
3561 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3563         * config/i386/crtprec.c: New file.
3564         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
3565         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
3566         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
3567         (x86_64-*-darwin*): Likewise.
3568         (i[34567]86-*-solaris2*: Likewise.
3570 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3572         * config/alpha/crtfastmath.c: New file.
3573         * config/i386/crtfastmath.c: New file.
3574         * config/ia64/crtfastmath.c: New file.
3575         * config/mips/crtfastmath.c: New file.
3576         * config/sparc/crtfastmath.c: New file.
3578         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
3579         crtfastmath.c.
3580         Add -frandom-seed=gcc-crtfastmath.
3581         * config/alpha/t-crtfm: Remove.
3582         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
3583         * config/ia64/t-ia64 (crtfastmath.o): Remove.
3585         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
3586         (alpha*-dec-osf5.1*): Likewise.
3587         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
3588         Add crtfastmath.o to extra_parts.
3589         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
3590         Add crtfastmath.o to extra_parts.
3591         (x86_64-*-darwin*): Likewise.
3592         (x86_64-*-mingw*): Likewise.
3593         (ia64*-*-elf*): Add t-crtfm to tmake_file.
3594         (ia64*-*-freebsd*): Likewise.
3595         (ia64*-*-linux*): Likewise.
3596         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
3597         Add crtfastmath.o to extra_parts.
3599 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3601         * config/darwin-crt3.o: New file.
3602         * config/rs6000/darwin-crt2.c: New file.
3603         * config/t-darwin: New file.
3604         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
3605         (crt2.o): New rule.
3606         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
3607         (powerpc-*-darwin*): Add crt2.o to extra_parts.
3608         (powerpc64-*-darwin*): Likewise.
3610 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3612         * config/i386/netware-crt0.c: New file.
3613         * config/i386/t-nwld: Rename to ...
3614         * config/i386/t-slibgcc-nwld: ... this.
3615         * config/i386/t-nwld: New file.
3616         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
3617         tmake_file.
3618         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
3619         extra_parts.
3621 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3623         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
3624         i386/t-crtstuff.
3625         * configure: Regenerate.
3627 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3629         * dfp-bit.c, dfp-bit.h: New files.
3630         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
3631         variables.
3632         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
3633         ($(d64pbit-o)): Likewise.
3634         ($(d128pbit-o)): Likewise.
3635         * config/t-dfprules: New file.
3636         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
3637         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
3638         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3639         (x86_64-*-linux*): Likewise.
3640         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3641         (i[34567]86-*-cygwin*): Likewise.
3642         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
3643         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3645 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3647         * Makfile.in (LIBGCOV): New variable.
3648         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
3649         * libgcov.c: New file.
3651 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3653         * fixed-bit.c, fixed-bit.h: New files.
3654         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
3655         refer to fixed-bit.c.
3657 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
3659         * config.host (*local*): Remove.
3661 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3663         PR target/39150
3664         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
3665         like i?86-*-solaris2.1[0-9]*.
3666         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
3667         * configure.ac (i?86-*-solaris2*): Likewise.
3668         * configure: Regenerate.
3670 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
3672         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3673         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
3674         md_unwind_header by splitting out of...
3675         (i[34567]86-*-linux*): ... this.
3676         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
3677         Remove md_unwind_header by splitting out of...
3678         (x86_64-*-linux*): ... this.
3680 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
3682         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
3684 2011-06-28  Nick Clifton  <nickc@redhat.com>
3686         * config.host: Recognize all V850 variants.
3688 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
3690         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
3692 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3694         * shared-object.mk (c_flags-$o): Save c_flags.
3695         ($(base)$(objext)): Use it.
3696         ($(base)_s$(objext)): Likewise.
3698 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
3700         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
3701         * libgcc-std.ver.in (GCC_4.7.0): New section.
3703 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
3705         PR target/49313
3706         PR target/29524
3707         * config/avr/t-avr: Fix line endings.
3708         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
3709         _parityXX2.
3711 2011-06-14  Olivier Hainque  <hainque@adacore.com>
3712             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3714         * config/mips/irix6-unwind.h: New file.
3715         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
3717 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
3719         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
3720         (sparc64_fallback_frame_state): Use it.
3721         (sparc64_frob_update_context): Further adjust context.
3722         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
3723         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
3724         * config/sparc/sol2-cn.S: Likewise.
3726 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3728         * enable-execute-stack-empty.c: New file.
3729         * enable-execute-stack-mprotect.c: New file.
3730         * config/i386/enable-execute-stack-mingw32.c: New file.
3731         * config.host (enable_execute_stack): New variable.
3732         Select appropriate variants.
3733         * configure.ac: Link enable-execute-stack.c to
3734         $enable_execute_stack.
3735         * configure: Regenerate.
3736         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
3737         (lib2funcs): Remove _enable_execute_stack.
3739 2011-06-09  David S. Miller  <davem@davemloft.net>
3740             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3742         * config.host (sparc-*-linux*): Correct md_unwind_header
3743         filename.
3744         (s390x-ibm-tpf*): Fix typo.
3746 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3748         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
3749         Add crtfastmath.o to extra_parts.
3750         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
3751         mips/t-crtfm.
3752         * config/mips/t-crtfm: Remove.
3754 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3756         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
3758 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
3760         * config.host (sh*-*-linux*): Fix typo.
3762 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3764         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
3765         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
3766         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
3767         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
3768         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
3769         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
3770         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
3771         Wrap in !__MINGW64__.
3772         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
3773         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
3774         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
3775         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
3776         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
3777         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
3778         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
3779         Wrap in !__LP64__.
3780         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
3781         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
3782         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
3783         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
3784         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
3785         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
3786         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
3787         * config/no-unwind.h: New file.
3788         * config.host (md_unwind_header): Document.
3789         Define.
3790         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
3791         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
3792         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
3793         hppa[12]*-*-hpux11*): Set md_unwind_header.
3794         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
3795         Set md_unwind_header.
3796         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
3797         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
3798         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
3799         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
3800         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
3801         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
3802         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
3803         md_unwind_header.
3804         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
3805         * configure: Regenerate.
3807 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3809         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
3810         Set tmake_file, extra_parts.
3811         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
3812         Remove O32 support.
3813         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
3814         Remove O32 support.
3815         * config/mips/t-irix6: New file.
3816         * config/mips/t-slibgcc-irix: New file.
3818 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3820         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
3821         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
3823 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3825         * configure.ac (target_thread_file): Determine thread model.
3826         * configure: Regenerate.
3827         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
3828         * config/alpha/t-alpha: New file.
3829         * config/alpha/t-crtfm: Use $<.
3830         * config/alpha/t-ieee: New file.
3831         * config/alpha/t-osf-pthread: New file.
3832         * config/alpha/t-slibgcc-osf: New file.
3833         * config/alpha/libgcc-osf5.ver: New file.
3835 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3837         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
3838         tmake_file.
3839         Add crtfastmath.o to extra_parts.
3841 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3843         * config/gmon-sol2.c: Reindent.
3844         Cleanup comments.
3845         Remove, correct casts.
3846         Use STDERR_FILENO, NULL.
3847         (BASEADDRESS): Remove.
3848         (minbrk): Remove.
3849         (errno, sbrk): Remove declarations.
3850         (monstartup) [hp300]: Remove.
3851         (mcount): Remove.
3853 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3855         * Makefile.in (cpu_type): Define.
3856         * config.host (i[34567]86-*-rtems*): Handle it.
3857         (i[34567]86-*-solaris2*): Move body ...
3858         (*-*-solaris2*): ... here.
3859         New case, generalize.
3860         (sparc-*-elf*): Handle it.
3861         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
3862         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
3863         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
3864         Fold into ...
3865         (sparc*-*-solaris2*): ... this.
3866         New case.
3867         (sparc64-*-elf*): Handle it.
3868         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
3869         Merge ../gcc/config/i386/gmon-sol2.c.
3870         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
3871         Use C comments.
3872         Merge ../gcc/config/i386/sol2-gc1.asm.
3873         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
3874         Use C comments.
3875         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
3876         Use C comments.
3877         * config/i386/t-crtfm (crtfastmath.o): Use $<.
3878         * config/i386/t-crtstuff: New file.
3879         * config/i386/t-softfp: New file.
3880         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
3881         $(T)crti.o, $(T)crtn.o): Remove.
3882         (gcrt1.o): New rule.
3883         (TARGET_LIBGCC2_CFLAGS): Remove.
3884         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
3885         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
3886         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
3887         * config/sparc/t-sol2: New file.
3888         * config/sparc/t-crtfm: Move to ...
3889         * config/t-crtfm: ... this.
3890         Use $(cpu_type), $<.
3891         * config/t-crtin: New file.
3892         * config/sparc/t-softfp: New file.
3893         * config/sparc/t-softmul: New file.
3894         * config/t-rtems: New file.
3895         * config/t-slibgcc: New file.
3896         * config/t-slibgcc-elf-ver: New file.
3897         * config/t-slibgcc-gld: New file.
3898         * config/t-slibgcc-sld: New file.
3899         * config/t-sol2: New file.
3900         * configure.ac: Include ../config/lib-ld.m4.
3901         Call AC_LIB_PROG_LD_GNU.
3902         Substitute cpu_type.
3903         * configure: Regenerate.
3905 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
3907         PR bootstrap/49173
3908         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
3909         libgcc-std.ver in the build directory.
3910         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
3911         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
3913 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
3915         * libgcc-std.ver.in: New file.
3916         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
3917         variables.
3918         (libgcc-std.ver): New rule.
3919         * config/t-gnu-prefix: New file.
3921 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3923         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
3925 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
3927         * config/i386/darwin-lib.h: New file.
3929 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
3931         * config/arm/symbian-lib.h: New.
3933 2011-05-04  Chris Demetriou  <cgd@google.com>
3935         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
3936         (__x86.get_pc_thunk.bx): ...this.
3937         (__morestack): Adjust for rename, remove undef of __i686.
3939 2011-05-03  Chris Demetriou  <cgd@google.com>
3941         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
3943 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
3945         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
3946         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
3947         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
3948         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
3949         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
3950         Remove cases.
3952 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
3954         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
3955         Adjust copyright year.
3957 2011-03-07  Ian Lance Taylor  <iant@google.com>
3959         * generic-morestack.c (__splitstack_find): Adjust returned stack
3960         pointer to include all registers pushed by __morestack.
3962 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
3964         PR target/40125
3965         * configure.ac: Call ACX_NONCANONICAL_TARGET.
3966         (toolexecdir): Calculate and AC_SUBST.
3967         (toolexeclibdir): Likewise.
3968         * Makefile.in (target_noncanonical): Import.
3969         (toolexecdir): Likewise.
3970         (toolexeclibdir): Likewise.
3971         * configure: Regenerate.
3973 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
3975         PR target/46040
3976         * config/arm/bpabi.h: Rename to...
3977         * config/arm/bpabi-lib.h: ...this.
3979 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3981         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
3982         appropriate.
3983         * configure: Regenerate.
3985 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
3987         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
3988         __FLOAT_WORD_ORDER__.
3989         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
3990         Delete.
3992 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3994         PR other/46202
3995         * Makefile.in (install-strip): New phony target.
3997 2010-11-07  Ian Lance Taylor  <iant@google.com>
3999         PR target/46089
4000         * config/i386/morestack.S (__morestack_large_model): New
4001         function.
4003 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
4005         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
4006         Delete.
4007         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
4009 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
4011         * config/arm/bpabi.h: New file.
4012         * config/frv/frv-abi.h: New file.
4014 2010-10-01  Ian Lance Taylor  <iant@google.com>
4016         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
4017         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
4019 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
4021         PR target/45858
4022         * config.host: Add the missing `$'.
4024 2010-09-30  Michael Eager  <eager@eagercon.com>
4026         * config.host: Add microblaze*-*-*.
4027         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
4028         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
4029         udivsi3.asm,umodsi3.asm}:  New.
4031 2010-09-28  Ian Lance Taylor  <iant@google.com>
4033         * configure.ac: Adjust CFI test to test assembler directly rather
4034         than checking gcc preprocessor macro.
4035         * configure: Rebuild.
4037 2010-09-27  Ian Lance Taylor  <iant@google.com>
4039         * configure.ac: Test whether assembler supports CFI directives.
4040         * config.host: Only add t-stack and i386/t-stack-i386 to
4041         tmake_file if libgcc_cv_cfi is "yes".
4042         * configure: Rebuild.
4044 2010-09-27  Ian Lance Taylor  <iant@google.com>
4046         * generic-morestack.h: New file.
4047         * generic-morestack.c: New file.
4048         * generic-morestack-thread.c: New file.
4049         * config/i386/morestack.S: New file.
4050         * config/t-stack: New file.
4051         * config/i386/t-stack-i386: New file.
4052         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
4053         i386/t-stack-i386 to tmake_file.
4055 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
4057         * Makefile.in (libgcc-extra-parts):  Check for static archives and
4058         invoke ranlib after installing them.
4059         (gcc-extra-parts): Likewise.
4060         (install-leaf): Likewise.
4062 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
4064         * configure: Regenerated.
4066 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
4068         * configure: Regenerated.
4070 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
4071             Andrew Pinski  <pinskia@gmail.com>
4073         PR target/40959
4074         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
4076 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4078         PR target/45524
4079         * configure: Regenerated.
4081 2010-09-06  Andreas Schwab  <schwab@redhat.com>
4083         * configure: Regenerate.
4085 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
4087         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
4088         64bit targets.
4089         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
4090         for 64bit targets.
4092 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
4093             Iain Sandoe  <iains@gcc.gnu.org>
4095         PR target/45476
4096         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
4097         LIB2FUNCS_EXCLUDE functions.
4099 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4101         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
4102         Include dfp.m4.
4103         * configure: Regenerate.
4105 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
4107         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
4108         i386/t-freebsd to tmake_file.
4109         * config/i386/t-freebsd: New file.
4110         * config/i386/libgcc-bsd.ver: New file.
4112 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
4114         * config.host (powerpc*-eabispe*): Set tmake_file.
4115         (powerpc*-eabi*): Likewise.
4116         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
4117         crtbeginS, crtendS, crtbeginT.
4119 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
4121         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
4122         to tmake_file.  Add crtfastmath.o to extra_parts.
4123         * config/mips/t-crtfm: New.
4125 2010-05-19  Joel Sherrill <joel.sherrill@oarcorp.com>
4127         * config.host (sparc64-*-rtems*): New target.
4129 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4131         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
4132         assembler syntax.
4134 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
4136         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
4138 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4140         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
4141         alpha-dec-osf5.0* support.
4143 2010-04-01  Ralf Corsépius <ralf.corsepius@rtems.org>
4145         * config.host: Add lm32-*-rtems*.
4147 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4148             Uros Bizjak <ubizjak@gmail.com>
4150         PR target/39048
4151         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
4152         like other remaining 32-bit x86 OSes.
4153         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
4154         assembler syntax.
4155         * config/i386/libgcc-sol2.ver: New file.
4156         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
4158 2010-03-30  Jack Howarth <howarth@bromo.med.uc.edu>
4160         PR c/43553
4161         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
4162         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
4163         is used and substitute set_use_emutls.
4164         * configure: Regenerated.
4166 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
4168         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
4170 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4172         PR target/38085
4173         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
4174         MULTILIB_CFLAGS.
4175         ($(T)gcrt1.o): Likewise.
4176         ($(T)crt1.o): Likewise.
4177         ($(T)crti.o): Likewise.
4178         ($(T)crtn.o): Likewise.
4180 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4182         PR other/42980
4183         * Makefile.in (install): Use $(MAKE) string in rule, for
4184         parallel make.
4186 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
4188         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
4189         * config/mmix/t-mmix: New file.
4190         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
4192 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
4194         PR java/41991
4195         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
4196         SHLIB_MAPFILES.
4198 2010-01-04  Anthony Green  <green@moxielogic.com>
4200         * config/moxie/crti.asm, config/moxie/crtn.asm,
4201         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
4202         config/moxie/t-moxie: New files.
4203         * config.host: Add t-moxie-softfp reference.
4205 2009-11-18  Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
4207         PR other/39888
4208         * config/t-slibgcc-darwin: Fix embedded rpaths for
4209         --enable-version-specific-runtime-libs, build extension stub
4210         libs exposing features available from current libgcc_s.
4212 2009-11-11  Jon Beniston <jon@beniston.com>
4214         * config.host: Add lm32 targets.
4215         * config/lm32: New directory.
4216         * config/lm32/libgcc_lm32.h: New file.
4217         * config/lm32/_mulsi3.c: New file.
4218         * config/lm32/_udivmodsi4.c: New file.
4219         * config/lm32/_divsi3.c: New file.
4220         * config/lm32/_modsi3.c: New file.
4221         * config/lm32/_udivsi3.c: New file.
4222         * config/lm32/_umodsi3.c: New file.
4223         * config/lm32/_lshrsi3.S: New file.
4224         * config/lm32/_ashrsi3.S: New file.
4225         * config/lm32/_ashlsi3.S: New file.
4226         * config/lm32/crti.S: New file.
4227         * config/lm32/crtn.S: New file.
4228         * config/lm32/t-lm32: New file.
4229         * config/lm32/t-elf: New file.
4230         * config/lm32/t-uclinux: New file.
4232 2009-10-26  Nick Clifton  <nickc@redhat.com>
4234         * config.host: Add support for RX target.
4235         * config/rx: New directory.
4236         * config/rx/rx-abi-functions.c: New file. Supplementary
4237         functions for libgcc to support the RX ABI.
4238         * config/rx/rx-abi.h: New file.  Supplementary header file for
4239         libgcc RX ABI functions.
4240         * config/rx/t-rx: New file: Makefile fragment for building
4241         libgcc for the RX.
4243 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
4245         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
4246         constraint of y0 to "g".
4248 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4250         * config.host: Include the s390 makefile fragments.
4251         * config/s390/32/_fixdfdi.c: New file.
4252         * config/s390/32/_fixsfdi.c: New file.
4253         * config/s390/32/_fixtfdi.c: New file.
4254         * config/s390/32/_fixunsdfdi.c: New file.
4255         * config/s390/32/_fixunssfdi.c: New file.
4256         * config/s390/32/_fixunstfdi.c: New file.
4257         * config/s390/32/t-floattodi: New file.
4258         * config/s390/libgcc-glibc.ver: New file.
4259         * config/s390/t-crtstuff: New file.
4260         * config/s390/t-linux: New file.
4261         * config/s390/t-tpf: New file.
4263 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4265         * configure.ac (AC_PREREQ): Bump to 2.64.
4267 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
4269         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
4271 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4273         * configure: Regenerate.
4275 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
4277         * config.host (ia64-hp-*vms*): New target.
4278         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
4279         with ia64-hp-*vms*.
4281 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4283         * configure.ac: Add snippet for maintainer-mode.
4284         * configure: Regenerate.
4285         * Makefile.in (AUTOCONF, configure_deps): New variables.
4286         ($(srcdir)/configure)): New rule, active only with maintainer
4287         mode turned on.
4289 2009-06-23  DJ Delorie  <dj@redhat.com>
4291         Add MeP port.
4292         * config.host: Add mep support.
4294 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
4296         * config.host: Add i386/${host_address}/t-fprules-softfp and
4297         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
4299         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
4300         for mingw targets.
4301         * config/i386/64/_multc3.c: Likewise.
4302         * config/i386/64/_powitf2.c: Likewise.
4303         * config/i386/64/eqtf2.c: Likewise.
4304         * config/i386/64/getf2.c: Likewise.
4305         * config/i386/64/letf2.c: Likewise.
4306         * config/i386/64/letf2.c: Likewise.
4307         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
4308         unsigned long long for x64 mingw targets.
4309         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
4310         (_FP_I_TYPE): Define as long long for x64 mingw target.
4312 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
4314         * config.host (vax-*-linux*): New.
4316 2009-05-31  Anthony Green  <green@moxielogic.com>
4318         * config.host: Add moxie support.
4319         * config/moxie/t-moxie: New file.
4321 2009-05-29  David Billinghurst <billingd@gcc.gnu.org>
4323         * config.host: Add i386/${host_address}/t-fprules-softfp and
4324         t-softfp to tmake_file for i[34567]86-*-cygwin*.
4326 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
4328         * config.host: Add i386/${host_address}/t-fprules-softfp to
4329         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
4331 2009-04-09  Nick Clifton  <nickc@redhat.com>
4333         * config/ia64/tf-signs.c: Change copyright header to refer to
4334         version 3 of the GNU General Public License with version 3.1
4335         of the GCC Runtime Library Exception and to point readers at
4336         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
4337         web page.
4338         * config/i386/32/tf-signs.c: Likewise.
4339         * config/libbid/_addsub_dd.c: Likewise.
4340         * config/libbid/_addsub_sd.c: Likewise.
4341         * config/libbid/_addsub_td.c: Likewise.
4342         * config/libbid/_dd_to_df.c: Likewise.
4343         * config/libbid/_dd_to_di.c: Likewise.
4344         * config/libbid/_dd_to_sd.c: Likewise.
4345         * config/libbid/_dd_to_sf.c: Likewise.
4346         * config/libbid/_dd_to_si.c: Likewise.
4347         * config/libbid/_dd_to_td.c: Likewise.
4348         * config/libbid/_dd_to_tf.c: Likewise.
4349         * config/libbid/_dd_to_udi.c: Likewise.
4350         * config/libbid/_dd_to_usi.c: Likewise.
4351         * config/libbid/_dd_to_xf.c: Likewise.
4352         * config/libbid/_df_to_dd.c: Likewise.
4353         * config/libbid/_df_to_sd.c: Likewise.
4354         * config/libbid/_df_to_td.c: Likewise.
4355         * config/libbid/_di_to_dd.c: Likewise.
4356         * config/libbid/_di_to_sd.c: Likewise.
4357         * config/libbid/_di_to_td.c: Likewise.
4358         * config/libbid/_div_dd.c: Likewise.
4359         * config/libbid/_div_sd.c: Likewise.
4360         * config/libbid/_div_td.c: Likewise.
4361         * config/libbid/_eq_dd.c: Likewise.
4362         * config/libbid/_eq_sd.c: Likewise.
4363         * config/libbid/_eq_td.c: Likewise.
4364         * config/libbid/_ge_dd.c: Likewise.
4365         * config/libbid/_ge_sd.c: Likewise.
4366         * config/libbid/_ge_td.c: Likewise.
4367         * config/libbid/_gt_dd.c: Likewise.
4368         * config/libbid/_gt_sd.c: Likewise.
4369         * config/libbid/_gt_td.c: Likewise.
4370         * config/libbid/_isinfd128.c: Likewise.
4371         * config/libbid/_isinfd32.c: Likewise.
4372         * config/libbid/_isinfd64.c: Likewise.
4373         * config/libbid/_le_dd.c: Likewise.
4374         * config/libbid/_le_sd.c: Likewise.
4375         * config/libbid/_le_td.c: Likewise.
4376         * config/libbid/_lt_dd.c: Likewise.
4377         * config/libbid/_lt_sd.c: Likewise.
4378         * config/libbid/_lt_td.c: Likewise.
4379         * config/libbid/_mul_dd.c: Likewise.
4380         * config/libbid/_mul_sd.c: Likewise.
4381         * config/libbid/_mul_td.c: Likewise.
4382         * config/libbid/_ne_dd.c: Likewise.
4383         * config/libbid/_ne_sd.c: Likewise.
4384         * config/libbid/_ne_td.c: Likewise.
4385         * config/libbid/_sd_to_dd.c: Likewise.
4386         * config/libbid/_sd_to_df.c: Likewise.
4387         * config/libbid/_sd_to_di.c: Likewise.
4388         * config/libbid/_sd_to_sf.c: Likewise.
4389         * config/libbid/_sd_to_si.c: Likewise.
4390         * config/libbid/_sd_to_td.c: Likewise.
4391         * config/libbid/_sd_to_tf.c: Likewise.
4392         * config/libbid/_sd_to_udi.c: Likewise.
4393         * config/libbid/_sd_to_usi.c: Likewise.
4394         * config/libbid/_sd_to_xf.c: Likewise.
4395         * config/libbid/_sf_to_dd.c: Likewise.
4396         * config/libbid/_sf_to_sd.c: Likewise.
4397         * config/libbid/_sf_to_td.c: Likewise.
4398         * config/libbid/_si_to_dd.c: Likewise.
4399         * config/libbid/_si_to_sd.c: Likewise.
4400         * config/libbid/_si_to_td.c: Likewise.
4401         * config/libbid/_td_to_dd.c: Likewise.
4402         * config/libbid/_td_to_df.c: Likewise.
4403         * config/libbid/_td_to_di.c: Likewise.
4404         * config/libbid/_td_to_sd.c: Likewise.
4405         * config/libbid/_td_to_sf.c: Likewise.
4406         * config/libbid/_td_to_si.c: Likewise.
4407         * config/libbid/_td_to_tf.c: Likewise.
4408         * config/libbid/_td_to_udi.c: Likewise.
4409         * config/libbid/_td_to_usi.c: Likewise.
4410         * config/libbid/_td_to_xf.c: Likewise.
4411         * config/libbid/_tf_to_dd.c: Likewise.
4412         * config/libbid/_tf_to_sd.c: Likewise.
4413         * config/libbid/_tf_to_td.c: Likewise.
4414         * config/libbid/_udi_to_dd.c: Likewise.
4415         * config/libbid/_udi_to_sd.c: Likewise.
4416         * config/libbid/_udi_to_td.c: Likewise.
4417         * config/libbid/_unord_dd.c: Likewise.
4418         * config/libbid/_unord_sd.c: Likewise.
4419         * config/libbid/_unord_td.c: Likewise.
4420         * config/libbid/_usi_to_dd.c: Likewise.
4421         * config/libbid/_usi_to_sd.c: Likewise.
4422         * config/libbid/_usi_to_td.c: Likewise.
4423         * config/libbid/_xf_to_dd.c: Likewise.
4424         * config/libbid/_xf_to_sd.c: Likewise.
4425         * config/libbid/_xf_to_td.c: Likewise.
4426         * config/libbid/bid128.c: Likewise.
4427         * config/libbid/bid128_2_str.h: Likewise.
4428         * config/libbid/bid128_2_str_macros.h: Likewise.
4429         * config/libbid/bid128_2_str_tables.c: Likewise.
4430         * config/libbid/bid128_add.c: Likewise.
4431         * config/libbid/bid128_compare.c: Likewise.
4432         * config/libbid/bid128_div.c: Likewise.
4433         * config/libbid/bid128_fma.c: Likewise.
4434         * config/libbid/bid128_logb.c: Likewise.
4435         * config/libbid/bid128_minmax.c: Likewise.
4436         * config/libbid/bid128_mul.c: Likewise.
4437         * config/libbid/bid128_next.c: Likewise.
4438         * config/libbid/bid128_noncomp.c: Likewise.
4439         * config/libbid/bid128_quantize.c: Likewise.
4440         * config/libbid/bid128_rem.c: Likewise.
4441         * config/libbid/bid128_round_integral.c: Likewise.
4442         * config/libbid/bid128_scalb.c: Likewise.
4443         * config/libbid/bid128_sqrt.c: Likewise.
4444         * config/libbid/bid128_string.c: Likewise.
4445         * config/libbid/bid128_to_int16.c: Likewise.
4446         * config/libbid/bid128_to_int32.c: Likewise.
4447         * config/libbid/bid128_to_int64.c: Likewise.
4448         * config/libbid/bid128_to_int8.c: Likewise.
4449         * config/libbid/bid128_to_uint16.c: Likewise.
4450         * config/libbid/bid128_to_uint32.c: Likewise.
4451         * config/libbid/bid128_to_uint64.c: Likewise.
4452         * config/libbid/bid128_to_uint8.c: Likewise.
4453         * config/libbid/bid32_to_bid128.c: Likewise.
4454         * config/libbid/bid32_to_bid64.c: Likewise.
4455         * config/libbid/bid64_add.c: Likewise.
4456         * config/libbid/bid64_compare.c: Likewise.
4457         * config/libbid/bid64_div.c: Likewise.
4458         * config/libbid/bid64_fma.c: Likewise.
4459         * config/libbid/bid64_logb.c: Likewise.
4460         * config/libbid/bid64_minmax.c: Likewise.
4461         * config/libbid/bid64_mul.c: Likewise.
4462         * config/libbid/bid64_next.c: Likewise.
4463         * config/libbid/bid64_noncomp.c: Likewise.
4464         * config/libbid/bid64_quantize.c: Likewise.
4465         * config/libbid/bid64_rem.c: Likewise.
4466         * config/libbid/bid64_round_integral.c: Likewise.
4467         * config/libbid/bid64_scalb.c: Likewise.
4468         * config/libbid/bid64_sqrt.c: Likewise.
4469         * config/libbid/bid64_string.c: Likewise.
4470         * config/libbid/bid64_to_bid128.c: Likewise.
4471         * config/libbid/bid64_to_int16.c: Likewise.
4472         * config/libbid/bid64_to_int32.c: Likewise.
4473         * config/libbid/bid64_to_int64.c: Likewise.
4474         * config/libbid/bid64_to_int8.c: Likewise.
4475         * config/libbid/bid64_to_uint16.c: Likewise.
4476         * config/libbid/bid64_to_uint32.c: Likewise.
4477         * config/libbid/bid64_to_uint64.c: Likewise.
4478         * config/libbid/bid64_to_uint8.c: Likewise.
4479         * config/libbid/bid_b2d.h: Likewise.
4480         * config/libbid/bid_binarydecimal.c: Likewise.
4481         * config/libbid/bid_conf.h: Likewise.
4482         * config/libbid/bid_convert_data.c: Likewise.
4483         * config/libbid/bid_decimal_data.c: Likewise.
4484         * config/libbid/bid_decimal_globals.c: Likewise.
4485         * config/libbid/bid_div_macros.h: Likewise.
4486         * config/libbid/bid_dpd.c: Likewise.
4487         * config/libbid/bid_flag_operations.c: Likewise.
4488         * config/libbid/bid_from_int.c: Likewise.
4489         * config/libbid/bid_functions.h: Likewise.
4490         * config/libbid/bid_gcc_intrinsics.h: Likewise.
4491         * config/libbid/bid_inline_add.h: Likewise.
4492         * config/libbid/bid_internal.h: Likewise.
4493         * config/libbid/bid_round.c: Likewise.
4494         * config/libbid/bid_sqrt_macros.h: Likewise.
4496 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
4498         * Makefile.in: Change copyright header to refer to version
4499         3 of the GNU General Public License and to point readers at the
4500         COPYING3 file and the FSF's license web page.
4501         * config.host: Likewise.
4503 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
4505         * config.host: Reorder and merge to match config.gcc change.
4507 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
4509         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
4511 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
4513         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
4514         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
4515         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
4516         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
4518 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
4520         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
4521         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4523 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
4525         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
4526         ia64/t-softfp-compat to tmake_file.
4528         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
4530         * config/ia64/__divxf3.asm: New.
4531         * config/ia64/_fixtfdi.asm: Likewise.
4532         * config/ia64/_fixunstfdi.asm: Likewise.
4533         * config/ia64/_floatditf.asm: Likewise.
4534         * config/ia64/t-fprules-softfp: Likewise.
4535         * config/ia64/t-softfp-compat: Likewise.
4536         * config/ia64/tf-signs.c: Likewise.
4538 2009-01-18  Ben Elliston  <bje@au.ibm.com>
4540         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4542 2009-01-16  Ben Elliston  <bje@au.ibm.com>
4544         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
4545         to tmake_file.
4547 2009-01-13  Ben Elliston  <bje@au.ibm.com>
4549         * config/t-softfp: New file.
4550         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
4551         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
4553 2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>
4555         * config.host: Add m32r*-*-rtems*.
4557 2008-12-01  Joel Sherrill <joel.sherrill@oarcorp.com>
4559         * config.host: Add m32c*-*-rtems*.
4561 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4563         PR bootstrap/33100
4564         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
4565         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
4566         * configure: Regenerate.
4567         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
4568         tmake_file here from gcc/config.gcc.
4569         Move extra_parts here from gcc/config.gcc.
4570         * config/i386/t-sol2: Move here from gcc/config/i386.
4571         Use gcc_srcdir instead of srcdir.
4573 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
4575         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
4576         case.
4578 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
4580         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
4582 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
4584         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
4586 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
4588         Add picoChip port.
4589         * config.host: Add picochip-*-*.
4591 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
4593         * config.host: Match more processor names for Xtensa.
4595 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
4597         * config/i386/64/t-softfp-compat: Update comments.
4599 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
4601         * config/i386/64/_divtc3-compat.c: Moved to ...
4602         * config/i386/64/_divtc3.c: Here.
4604         * config/i386/64/_multc3-compat.c: Moved to ...
4605         * config/i386/64/_multc3.c: Here.
4607         * config/i386/64/_powitf2-compat.c: Moved to ...
4608         * config/i386/64/_powitf2.c: Here.
4610         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
4611         .c suffix instead of -compat.c.
4613 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
4615         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
4616         (_FP_MUL_MEAT_D): Ditto.
4617         (_FP_DIV_MEAT_S): Ditto.
4618         (_FP_DIV_MEAT_D): Ditto.
4620 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
4622         * Makefile.in: Add support for __sync_* libgcc functions.
4624 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
4626         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
4628 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4630         PR boostrap/36702
4631         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
4632         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
4634         * config/i386/64/t-fprules-softfp: Moved to ...
4635         * config/i386/64/t-softfp-compat: This.  New.
4637 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
4639         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
4640         Initialize f with 0.0.
4642 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4644         PR target/36669
4645         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
4647         * config/i386/64/_divtc3-compat.c: New.
4648         * config/i386/64/_multc3-compat.c: Likewise.
4649         * config/i386/64/_powitf2-compat.c: Likewise.
4650         * config/i386/64/eqtf2.c: Likewise.
4651         * config/i386/64/getf2.c: Likewise.
4652         * config/i386/64/letf2.c: Likewise.
4653         * config/i386/64/t-fprules-softfp: Likewise.
4655 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4657         * config.host: Add i386/${host_address}/t-fprules-softfp to
4658         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
4659         i[34567]86-*-linux*, x86_64-*-linux*.
4661         * configure.ac: Set host_address to 64 or 32 for x86.
4662         * configure: Regenerated.
4664         * Makefile.in (config.status): Also depend on
4665         $(srcdir)/config.host.
4667         * config/i386/32/t-fprules-softfp: New.
4668         * config/i386/32/tf-signs.c: Likewise.
4670         * config/i386/64/sfp-machine.h: New. Moved from gcc.
4672 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4673             Uros Bizjak  <ubizjak@gmail.com>
4675         * config/i386/32/sfp-machine.h: New.
4677 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
4679         * config/rs6000/t-ppccomm: Remove rules that conflict with
4680         auto-generated rules.
4682 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4684         * configure.ac: sinclude override.m4.
4685         * configure: Regenerate.
4687 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
4689         * configure: Regenerate.
4691 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
4693         * Makefile.in (DECNUMINC): Remove
4694         -I$(MULTIBUILDTOP)../../libdecnumber.
4695         * gstdint.h: New.
4697 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
4699         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
4700         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
4701         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
4702         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
4703         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
4704         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
4705         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
4706         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
4707         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
4708         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
4709         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
4710         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
4711         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
4712         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
4714 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
4716         * config.host (sh2[lbe]*-*-linux*): Allow target.
4718 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
4720         * config/rs6000/t-ppccomm: Add build rules for new files.
4721         (LIB2ADD_ST): New variable.
4723 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
4725         PR target/34210
4726         PR target/35508
4727         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
4728         * config/t-avr: New file. Build 16bit libgcc functions.
4730 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
4732         PR target/35401
4733         * config/t-slibgcc-darwin: Make install-leaf dependent on
4734         install-darwin-libgcc-stubs instead of install.
4736 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
4738         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
4739         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
4740         sh-*-rtemscoff*): Remove cases.
4742 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
4744         * Makefile.in (all): Use install-leaf rather than install.
4745         (install): Split most of the rule into...
4746         (install-leaf): ...this new one.
4748 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
4749             Paolo Bonzini  <bonzini@gnu.org>
4751         PR target/30572
4752         * Makefile.in: Use @shlib_slibdir@ substitution to get
4753         correct install name on darwin.
4754         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
4756 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
4758         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
4759         cris-*-elf and cris-*-none.
4760         (crisv32-*-linux*): Similar, as cris-*-linux*.
4762 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
4764         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
4766 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
4768         PR regression/33926
4769         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
4770         * configure: Regenerated.
4772 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
4774         * Makefile.in (dfp-filenames): Replace decimal_globals,
4775         decimal_data, binarydecimal and convert_data with
4776         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
4777         and bid_convert_data, respectively.
4779 2007-09-17  Chao-ying Fu  <fu@mips.com>
4780             Nigel Stephens  <nigel@mips.com>
4782         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
4783         * Makefile.in (fixed_point): Define.
4784         Check if fixed_point is yes to build support functions.
4785         * configure.ac: Check for fixed_point support.
4786         * configure: Regenerated.
4787         * gen-fixed.sh: New file to generate lists of fixed-point labels,
4788         funcs, modes, from, to.
4790 2007-09-11  Janis Johnson  <janis187@us.ibm.com
4792         * Makefile.in (dfp-filenames): Add bid128_noncomp.
4794 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
4796         * Makefile.in (dfp-filenames): Remove decUtility, add
4797         decDouble, decPacked, decQuad, decSingle.
4799 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
4801         * config.host : Add x86_64-elf target.
4803 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
4805         * configure.ac (set_have_cc_tls): Add a missing =.
4806         * configure: Regenerated.
4808 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
4810         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
4811         and x86_64-*-linux*.
4813         * config/t-tls: New file.
4815         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
4817         * configure.ac: Include ../config/enable.m4 and
4818         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
4819         supports TLS and substitute set_have_cc_tls.
4820         * configure: Regenerated.
4822 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
4824         * Makefile.in: Use libbid for DFP when BID is enabled.
4826 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
4828         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
4829         extra_parts. Add config/i386/t-cygming to tmake_file.
4830         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
4832 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
4833             Danny Smith  <dannysmith@users.sourceforge.net>
4835         PR target/29498
4836         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
4837         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
4838         * config/i386/t-crtfm: Compile crtfastmath.o with
4839         -minline-all-stringops.
4841 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
4843         * config.host (sparc-wrs-vxworks): New target.
4845 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
4847         * config.host: Recognize fido.
4849 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
4851         * configure: Check host, not target, for decimal float support.
4853 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
4855         * config/i386/t-crtpc: New file.
4856         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
4857         (x86_64-*-linux*): Ditto.
4859 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
4861         * config.host (x86_64-*-mingw*): New target.
4863 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
4864             H.J. Lu  <hongjiu.lu@intel.com>
4866         * Makefile.in (enable_decimal_float): New.
4867         (DECNUMINC): Add
4868         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
4869         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
4870         (decbits-filenames): This.
4871         (decbits-objects): New.
4872         (libgcc-objects): Add $(decbits-objects).
4874         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
4875         Substitute enable_decimal_float.
4876         * configure: Regenerated.
4878 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
4880         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
4882 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
4884         * Makefile.in (install-info): New dummy target.
4886 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
4888         * config.host (bfin*-linux-uclibc*): Set extra_parts.
4890 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
4892         * Makefile.in: Add install-html and install-pdf dummy
4893         targets.
4895 2007-02-05  Roger Sayle  <roger@eyesopen.com>
4896             Daniel Jacobowitz  <dan@codesourcery.com>
4898         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
4899         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
4900         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
4902 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
4904         * Makefile.in (dec-filenames): Add decExcept.
4906 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
4908         PR bootstrap/30469
4909         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
4910         -fprofile-use.
4912 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
4914         * configure.ac: Add --enable-version-specific-runtime-libs.
4915         Correct $slibdir default.
4916         * configure: Regenerated.
4918 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
4920         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
4922 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
4924         PR target/30519
4925         * config.host (alpha*-*-linux*): Set extra_parts.
4927 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
4929         * config/sh/t-linux: New.
4930         * config.host (sh*-*-linux*): Set tmake_file.
4932 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
4934         * Makefile.in (install): Handle multilibs.
4936 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
4938         * Makefile.in: Added .PHONY entry for documentation targets.
4940 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
4942         * Makefile.in: Add empty info, html, dvi, pdf targets.
4944 2007-01-04  Mike Stump  <mrs@apple.com>
4946         * Makefile.in (MAKEINFO): Remove.
4947         (PERL): Likewise.
4949 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
4951         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
4952         * configure: Regenerate.
4953         * Makefile.in (host_subdir): Substitute it.
4954         (gcc_objdir): Use it.
4956 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
4958         * config.host (ia64*-*-linux*): Set tmake_file.
4960 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
4962         * Makefile.in (version): Define.
4964 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
4965             Paolo Bonzini  <bonzini@gnu.org>
4967         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
4968         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
4969         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
4970         config/sparc/t-crtfm, config/t-slibgcc-darwin,
4971         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
4972         shared-object.mk, siditi-object.mk, static-object.mk: New files.
4973         * configure: Generated.