Revert accidental checkin.
[official-gcc.git] / libgcc / ChangeLog
blobb5224f1989e835df3d1e9d3d63f10014b6db9693
1 2013-11-18  Jan Hubicka  <jh@suse.cz>
3         * libgcov-driver.c (run_accounted): Make global level static.
4         (gcov_exit_merge_summary): Silence warning; do not clear
5         run_accounted here.
6         (gcov_exit): Clear it here.
8         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
9         run_accounted.
11         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
12         (all_prg, crc32): Remove static vars.
13         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
14         all_prg.
15         (gcov_exit_merge_gcda): Add crc32 parameter.
16         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
17         do not account run if it was already accounted.
18         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
19         (gcov_exit): Initialize all_prg; update.
21 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
23         * configure: Regenerate.
25 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26             Alan Modra  <amodra@gmail.com>
28         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
29         (frob_update_context): Use it.
31 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32             Alan Modra  <amodra@gmail.com>
34         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
35         (trampoline_initial): Provide ELFv2 variant.
36         (__trampoline_setup): Likewise.
38         * config/rs6000/linux-unwind.h (frob_update_context): Do not
39         check for AIX indirect function call sequence if _CALL_ELF == 2.
41 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42             Alan Modra  <amodra@gmail.com>
44         * config/rs6000/linux-unwind.h (get_regs): Do not support
45         old kernel versions if _CALL_ELF == 2.
46         (frob_update_context): Do not support PLT stub variants only
47         generated by old linkers if _CALL_ELF == 2.
49 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50             Alan Modra  <amodra@gmail.com>
52         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
53         location of CR save area for 64-bit little-endian systems.
55 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
57         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
58         in tmake_file.
59         * config/arm/t-vxworks: Delete.
61 2013-11-10  Kai Tietz  <ktietz@redhat.com>
63         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
64         Increment load-count on use of LIBGCC_SONAME DLL.
65         (hmod_libgcc): New static variable to hold handle of
66         LIBGCC_SONAME DLL.
67         (__gcc_deregister_frame): Decrement load-count of
68         LIBGCC_SONAME DLL.
70 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
72         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
73         availability.
74         * configure: Regenerate
76 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
78         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
79         FP_EX_DENORM.  Store result to volatile location after SSE division
80         to close interrupt window.  Remove unneeded fwait after x87
81         division since interrupt window will be closed by emitted fstp.
82         Rewrite FP_EX_INEXACT handling.
84 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
86         * soft-fp/README: Update.
87         * soft-fp/adddf3.c: Update from glibc.
88         * soft-fp/addsf3.c: Likewise.
89         * soft-fp/addtf3.c: Likewise.
90         * soft-fp/divdf3.c: Likewise.
91         * soft-fp/divsf3.c: Likewise.
92         * soft-fp/divtf3.c: Likewise.
93         * soft-fp/double.h: Likewise.
94         * soft-fp/eqdf2.c: Likewise.
95         * soft-fp/eqsf2.c: Likewise.
96         * soft-fp/eqtf2.c: Likewise.
97         * soft-fp/extenddftf2.c: Likewise.
98         * soft-fp/extended.h: Likewise.
99         * soft-fp/extendsfdf2.c: Likewise.
100         * soft-fp/extendsftf2.c: Likewise.
101         * soft-fp/extendxftf2.c: Likewise.
102         * soft-fp/fixdfdi.c: Likewise.
103         * soft-fp/fixdfsi.c: Likewise.
104         * soft-fp/fixdfti.c: Likewise.
105         * soft-fp/fixsfdi.c: Likewise.
106         * soft-fp/fixsfsi.c: Likewise.
107         * soft-fp/fixsfti.c: Likewise.
108         * soft-fp/fixtfdi.c: Likewise.
109         * soft-fp/fixtfsi.c: Likewise.
110         * soft-fp/fixtfti.c: Likewise.
111         * soft-fp/fixunsdfdi.c: Likewise.
112         * soft-fp/fixunsdfsi.c: Likewise.
113         * soft-fp/fixunsdfti.c: Likewise.
114         * soft-fp/fixunssfdi.c: Likewise.
115         * soft-fp/fixunssfsi.c: Likewise.
116         * soft-fp/fixunssfti.c: Likewise.
117         * soft-fp/fixunstfdi.c: Likewise.
118         * soft-fp/fixunstfsi.c: Likewise.
119         * soft-fp/fixunstfti.c: Likewise.
120         * soft-fp/floatdidf.c: Likewise.
121         * soft-fp/floatdisf.c: Likewise.
122         * soft-fp/floatditf.c: Likewise.
123         * soft-fp/floatsidf.c: Likewise.
124         * soft-fp/floatsisf.c: Likewise.
125         * soft-fp/floatsitf.c: Likewise.
126         * soft-fp/floattidf.c: Likewise.
127         * soft-fp/floattisf.c: Likewise.
128         * soft-fp/floattitf.c: Likewise.
129         * soft-fp/floatundidf.c: Likewise.
130         * soft-fp/floatundisf.c: Likewise.
131         * soft-fp/floatunditf.c: Likewise.
132         * soft-fp/floatunsidf.c: Likewise.
133         * soft-fp/floatunsisf.c: Likewise.
134         * soft-fp/floatunsitf.c: Likewise.
135         * soft-fp/floatuntidf.c: Likewise.
136         * soft-fp/floatuntisf.c: Likewise.
137         * soft-fp/floatuntitf.c: Likewise.
138         * soft-fp/gedf2.c: Likewise.
139         * soft-fp/gesf2.c: Likewise.
140         * soft-fp/getf2.c: Likewise.
141         * soft-fp/ledf2.c: Likewise.
142         * soft-fp/lesf2.c: Likewise.
143         * soft-fp/letf2.c: Likewise.
144         * soft-fp/muldf3.c: Likewise.
145         * soft-fp/mulsf3.c: Likewise.
146         * soft-fp/multf3.c: Likewise.
147         * soft-fp/negdf2.c: Likewise.
148         * soft-fp/negsf2.c: Likewise.
149         * soft-fp/negtf2.c: Likewise.
150         * soft-fp/op-1.h: Likewise.
151         * soft-fp/op-2.h: Likewise.
152         * soft-fp/op-4.h: Likewise.
153         * soft-fp/op-8.h: Likewise.
154         * soft-fp/op-common.h: Likewise.
155         * soft-fp/quad.h: Likewise.
156         * soft-fp/single.h: Likewise.
157         * soft-fp/soft-fp.h: Likewise.
158         * soft-fp/subdf3.c: Likewise.
159         * soft-fp/subsf3.c: Likewise.
160         * soft-fp/subtf3.c: Likewise.
161         * soft-fp/truncdfsf2.c: Likewise.
162         * soft-fp/trunctfdf2.c: Likewise.
163         * soft-fp/trunctfsf2.c: Likewise.
164         * soft-fp/trunctfxf2.c: Likewise.
165         * soft-fp/unorddf2.c: Likewise.
166         * soft-fp/unordsf2.c: Likewise.
167         * soft-fp/unordtf2.c: Likewise.
169 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
171         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
172         (_FP_MUL_MEAT_D): Ditto.
173         (_FP_DIV_MEAT_S): Ditto.
174         (_FP_DIV_MEAT_D): Ditto.
175         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
176         t-softfp-sfdf and t-softfp to tmake_file.
178 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
180         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
181         * config/i386/crtprec.c: Ditto.
183 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
184             Shiva Chen  <shiva0217@gmail.com>
186         * config.host (nds32*-elf*): Add nds32 target.
187         * config/nds32 : New directory and files.
189 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
191         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
192         * config.host (cpu_type) <Setting default>: Add entry for
193         crisv32-*-*.
194         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
195         <crisv32-*-linux*>: Adjust.
196         * longlong.h: Wrap the whole CRIS section in a single
197         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
198         and sub_ddmmss.
199         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
200         defined.
201         [__CRIS__] (__umulsidi3): Define.
202         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
203         * config/cris/sfp-machine.h: New file.
204         * config/cris/umulsidi3.S: New file.
205         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
206         * config/cris/arit.c (SIGNMULT): New macro.
207         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
208         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
209         saving 3 out of originally 33 cycles from the fastest
210         path, 3 out of 54 from the medium path and one from the longest
211         path.  Improve comments.
213 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
215         * sync.c: Remove static aliases and define each function directly
216         under its real name.
218 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
220         * config.host (hppa*64*-*-linux*): Define extra_parts.
221         (hppa*-*-linux*): Likewise.
223 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
225         * config/arc/crtgend.S: Add 2013 to Copyright years.
226         * config/arc/gmon/atomic.h: Likewise.
227         * config/arc/gmon/auxreg.h: Likewise.
228         * config/arc/gmon/sys/gmon_out.h: Likewise.
229         * config/arc/gmon/sys/gmon.h: Likewise.
230         * config/arc/gmon/prof-freq.c: Likewise.
231         * config/arc/gmon/mcount.c: Likewise.
232         * config/arc/gmon/prof-freq-stub.S: Likewise.
233         * config/arc/gmon/gmon.c: Likewise.
234         * config/arc/gmon/machine-gmon.h: Likewise.
235         * config/arc/gmon/profil.S: Likewise.
236         * config/arc/gmon/dcache_linesz.S: Likewise.
237         * config/arc/crtg.S: Likewise.
238         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
239         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
240         * config/arc/ieee-754/adddf3.S: Likewise.
241         * config/arc/ieee-754/truncdfsf2.S: Likewise.
242         * config/arc/ieee-754/fixsfsi.S: Likewise.
243         * config/arc/ieee-754/gtsf2.S: Likewise.
244         * config/arc/ieee-754/floatsisf.S: Likewise.
245         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
246         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
247         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
248         * config/arc/ieee-754/fixdfsi.S: Likewise.
249         * config/arc/ieee-754/addsf3.S: Likewise.
250         * config/arc/ieee-754/gesf2.S: Likewise.
251         * config/arc/ieee-754/floatsidf.S: Likewise.
252         * config/arc/ieee-754/extendsfdf2.S: Likewise.
253         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
254         * config/arc/ieee-754/gtdf2.S: Likewise.
255         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
256         * config/arc/ieee-754/uneqdf2.S: Likewise.
257         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
258         * config/arc/ieee-754/uneqsf2.S: Likewise.
259         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
260         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
261         * config/arc/ieee-754/eqdf2.S: Likewise.
262         * config/arc/ieee-754/ordsf2.S: Likewise.
263         * config/arc/ieee-754/divsf3.S: Likewise.
264         * config/arc/ieee-754/divdf3.S: Likewise.
265         * config/arc/ieee-754/floatunsidf.S: Likewise.
266         * config/arc/ieee-754/orddf2.S: Likewise.
267         * config/arc/ieee-754/eqsf2.S: Likewise.
268         * config/arc/ieee-754/gedf2.S: Likewise.
269         * config/arc/crtn.S: Likewise.
270         * config/arc/crti.S: Likewise.
271         * config/arc/t-arc700-uClibc: Likewise.
272         * config/arc/asm.h: Likewise.
273         * config/arc/libgcc-excl.ver: Likewise.
274         * config/arc/t-arc-newlib: Likewise.
275         * config/arc/divtab-arc700.c: Likewise.
276         * config/arc/initfini.c: Likewise.
277         * config/arc/fp-hack.h: Likewise.
279 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
280             Diego Novillo  <dnovillo@google.com>
282         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
283         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
284         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
285         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
287 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
288             Brendan Kehoe  <brendan@zen.org>
289             Simon Cook  <simon.cook@embecosm.com>
291         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
292         * config/arc: New directory.
293         * longlong.h [__arc__] (umul_ppmm): Remove.
294         [__arc__] (__umulsidi3): Define.
295         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
296         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
298 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
300         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
301         CreateSemaphoreA.
302         * config/i386/gthr-win32.h: Likewise.
304 2013-09-16  DJ Delorie  <dj@redhat.com>
306         * config/rl78/vregs.h: Add G10 register definitions.
307         * config/rl78/lib2mul.c: Enable for RL78/G10.
308         * config/rl78/lib2div.c: Likewise.
309         * config/rl78/lshrsi3.S: Use vregs.h.
310         * config/rl78/cmpsi2.S: Likewise.
311         * config/rl78/trampoline.S: Likewise.
312         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
314 2013-09-14  DJ Delorie  <dj@redhat.com>
315             Nick Clifton  <nickc@redhat.com>
317         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
318         * config/rl78/vregs.h: New.
319         * config/rl78/signbit.S: New file.  Implements signbit function.
320         * config/rl78/divmodsi.S: New.
321         * config/rl78/divmodhi.S: New.
322         * config/rl78/divmodqi.S: New.
323         * config/rl78/t-rl78: Build them here...
324         * config/rl78/lib2div.c: ...but not here.
326 2013-09-12  DJ Delorie  <dj@redhat.com>
328         * config.host (msp*-*-elf): New.
329         * config/msp430/: New port.
331 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
333         PR gcov-profile/58127
334         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
335         __thread var for emulated TLS.
336         (__gcov_indirect_call_counters): Likewise.
338 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
339             Catherine Moore  <clm@codesourcery.com>
340             Richard Sandiford <rdsandiford@googlemail.com>
342         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
343         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
344         (CALL_STUB_NO_RET): Likewise.
345         (CALL_STUB_RET): Likewise.
346         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
347         __mips16_ret call/return stub symbols.
348         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
349         to tmake_file.
351 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
353         * config.host <mips*-*-linux*>: Remove a stray comment.
355 2013-08-10  Jan Hubicka  <jh@suse.cz>
357         Work around binutils PR14342
358         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
359         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
360         (L_gcov_indirect_call_profiler_v2): New.
362 2013-08-06  Jan Hubicka  <jh@suse.cz>
364         * libgcov.c (__gcov_indirect_call_callee,
365         __gcov_indirect_call_counters): New global vars.
366         (__gcov_indirect_call_profiler): replace by ...
367         (__gcov_indirect_call_profiler_v2) ... this one.
369 2013-08-06  Caroline Tice  <cmtice@google.com>
371         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
372         vtv_start_preinit.o and vtv_end_preinit.o.
373         * configure.ac: Add code to check/set enable_vtable_verify.
374         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
375         true.
376         * vtv_start_preinit.c: New file.
377         * vtv_end_preinit.c: New file.
378         * vtv_start.c: New file.
379         * vtv_end.c: New file.
380         * configure: Regenerated.
382 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
384         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
385         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
386         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
387         GPL-3.0-with-GCC-exception.
389 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
391         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
392         ISA and up.
394 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
396         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
397         mapping for FPRs when creating the fallback framestate.
399 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
401         PR target/57516
402         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
403         (__round_s2_const, __round_u2_const)
404         (__round_s4_const, __round_u4_const, __round_x8):
405         Saturate result if addition result cannot be represented.
407 2013-07-15  Matthias Klose  <doko@ubuntu.com>
409         * libgcc2.c: Don't include <limits.h>.
411 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
413         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
415 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
417         PR target/29776
418         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
420 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
422         PR middle-end/36041
423         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
424         Define.
425         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
426         instead of table lookups.
427         (__popcountDI2): Likewise.
429 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
431         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
432         correctly.
434 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
436         PR other/53317
437         * soft-fp/adddf3.c: Update from glibc.
438         * soft-fp/addsf3.c: Likewise.
439         * soft-fp/addtf3.c: Likewise.
440         * soft-fp/divdf3.c: Likewise.
441         * soft-fp/divsf3.c: Likewise.
442         * soft-fp/divtf3.c: Likewise.
443         * soft-fp/double.h: Likewise.
444         * soft-fp/eqdf2.c: Likewise.
445         * soft-fp/eqsf2.c: Likewise.
446         * soft-fp/eqtf2.c: Likewise.
447         * soft-fp/extenddftf2.c: Likewise.
448         * soft-fp/extended.h: Likewise.
449         * soft-fp/extendsfdf2.c: Likewise.
450         * soft-fp/extendsftf2.c: Likewise.
451         * soft-fp/fixdfdi.c: Likewise.
452         * soft-fp/fixdfsi.c: Likewise.
453         * soft-fp/fixsfdi.c: Likewise.
454         * soft-fp/fixsfsi.c: Likewise.
455         * soft-fp/fixtfdi.c: Likewise.
456         * soft-fp/fixtfsi.c: Likewise.
457         * soft-fp/fixunsdfdi.c: Likewise.
458         * soft-fp/fixunsdfsi.c: Likewise.
459         * soft-fp/fixunssfdi.c: Likewise.
460         * soft-fp/fixunssfsi.c: Likewise.
461         * soft-fp/fixunstfdi.c: Likewise.
462         * soft-fp/fixunstfsi.c: Likewise.
463         * soft-fp/floatdidf.c: Likewise.
464         * soft-fp/floatdisf.c: Likewise.
465         * soft-fp/floatditf.c: Likewise.
466         * soft-fp/floatsidf.c: Likewise.
467         * soft-fp/floatsisf.c: Likewise.
468         * soft-fp/floatsitf.c: Likewise.
469         * soft-fp/floatundidf.c: Likewise.
470         * soft-fp/floatundisf.c: Likewise.
471         * soft-fp/floatunditf.c: Likewise.
472         * soft-fp/floatunsidf.c: Likewise.
473         * soft-fp/floatunsisf.c: Likewise.
474         * soft-fp/floatunsitf.c: Likewise.
475         * soft-fp/gedf2.c: Likewise.
476         * soft-fp/gesf2.c: Likewise.
477         * soft-fp/getf2.c: Likewise.
478         * soft-fp/ledf2.c: Likewise.
479         * soft-fp/lesf2.c: Likewise.
480         * soft-fp/letf2.c: Likewise.
481         * soft-fp/muldf3.c: Likewise.
482         * soft-fp/mulsf3.c: Likewise.
483         * soft-fp/multf3.c: Likewise.
484         * soft-fp/negdf2.c: Likewise.
485         * soft-fp/negsf2.c: Likewise.
486         * soft-fp/negtf2.c: Likewise.
487         * soft-fp/op-1.h: Likewise.
488         * soft-fp/op-2.h: Likewise.
489         * soft-fp/op-4.h: Likewise.
490         * soft-fp/op-8.h: Likewise.
491         * soft-fp/op-common.h: Likewise.
492         * soft-fp/quad.h: Likewise.
493         * soft-fp/single.h: Likewise.
494         * soft-fp/soft-fp.h: Likewise.
495         * soft-fp/subdf3.c: Likewise.
496         * soft-fp/subsf3.c: Likewise.
497         * soft-fp/subtf3.c: Likewise.
498         * soft-fp/truncdfsf2.c: Likewise.
499         * soft-fp/trunctfdf2.c: Likewise.
500         * soft-fp/trunctfsf2.c: Likewise.
501         * soft-fp/unorddf2.c: Likewise.
502         * soft-fp/unordsf2.c: Likewise.
503         * soft-fp/unordtf2.c: Likewise.
504         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
505         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
506         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
507         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
508         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
509         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
510         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
511         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
512         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
513         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
514         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
515         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
517 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
519         * config/mips/lib2funcs.c: New file.
520         * config/mips/t-mips (LIB2ADD_ST): Add it.
522 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
524         PR target/6526
525         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
526         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
528 2013-06-08  Walter Lee  <walt@tilera.com>
530         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
531         Replace int64_t with long long.  Add __extension__ where
532         appropriate.
533         * config/tilepro/atomic.c: Include config.h.
535 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
537         * config.host (arm-wrs-vxworks): Configure with other soft float.
539 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
541         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
542         (mips64r5900el-*-elf*): New configurations.
544 2013-06-04  Alan Modra  <amodra@gmail.com>
546         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
548 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
550         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
552 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
554         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
555         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
556         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
558 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
560         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
561         (powerpc-wrs-vxworks): Likewise.
563 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
565         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
566         signal frames as well.
567         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
568         STACK_BIAS to the CFA offset.
570 2013-05-17  Richard Henderson  <rth@redhat.com>
572         PR target/49146
573         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
574         (execute_cfa_program): Use it when storing to fs->regs.
576 2013-05-08  Kai Tietz  <ktietz@redhat.com>
578         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
579         (__deregister_frame_info): Likewise.
581 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
583         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
584         NaN's payload.
586         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
588 2013-04-25  Alan Modra  <amodra@gmail.com>
590         * config.host: Match little-endian powerpc-linux.
592 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
594         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
595         as 'unsigned long long' instead of 'unsigned long'.
596         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
597         'signed long'.
599 2013-04-10  Julian Brown  <julian@codesourcery.com>
601         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
602         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
603         unsigned char/unsigned short.
604         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
606 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
608         PR other/55274
609         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
611 2013-04-04  Meador Inge  <meadori@codesourcery.com>
613         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
614         computing the location of the link register.
615         (aeabi_uldivmod): Ditto.
617 2013-03-27  Kai Tietz  <ktietz@redhat.com>
619         * config.host: Add support for cygwin x64 target.
620         * configure: Regenerated.
622 2013-03-26  Walter Lee  <walt@tilera.com>
624         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
625         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
627 2013-03-25  Kai Tietz  <ktietz@redhat.com>
629         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
631 2013-03-20  Robert Mason  <rbmj@verizon.net>
633         * config/vxlib-tls.c (__gthread_get_tsd_data,)
634         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
635         (__gthread_leave_tsd_dtor_context): Add prototypes.
636         (tls_delete_hook): Update.
638 2013-03-20  Catherine Moore  <clm@codesourcery.com>
639             Joseph Myers  <joseph@codesourcery.com>
640             Chao-ying Fu  <fu@mips.com>
642         * config/mips/mips16.S:  Don't build for microMIPS.
643         * config/mips/linux-unwind.h: Handle microMIPS frame.
644         * config/mips/crtn.S (fini, init): New labels.
646 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
648         PR tree-optimization/53265
649         * unwind-dw2.c (execute_cfa_program): Avoid
650         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
651         on targets with DWARF_FRAME_REGISTERS < 32.
653 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
655         PR target/49880
656         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
657         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
659 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
661         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
662         sandybridge processors.
664 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
666         PR target/56529
667         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
668         inclusion list.
670 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
672         * config/microblaze/crti.S: Setup stack protection at entry
674 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
676         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
677         (__rotldi3): Shift bytewise if applicable.
679 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
681         * config/aarch64/sync-cache.c
682         (__aarch64_sync_cache_range): Silence warnings.
684 2013-02-25  Catherine Moore  <clm@codesourcery.com>
686         Revert:
687         2013-02-24  Catherine Moore  <clm@codesourcery.com>
688             Joseph Myers  <joseph@codesourcery.com>
689             Chao-ying Fu  <fu@mips.com>
691         * config/mips/mips16.S:  Don't build for microMIPS.
692         * config/mips/linux-unwind.h: Handle microMIPS frame.
693         * config/mips/crtn.S (fini, init): New labels.
695 2013-02-24  Catherine Moore  <clm@codesourcery.com>
696             Joseph Myers  <joseph@codesourcery.com>
697             Chao-ying Fu  <fu@mips.com>
699         * config/mips/mips16.S:  Don't build for microMIPS.
700         * config/mips/linux-unwind.h: Handle microMIPS frame.
701         * config/mips/crtn.S (fini, init): New labels.
703 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
704         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000 
705         as dividend.
707 2013-02-16  Alan Modra  <amodra@gmail.com>
709         PR target/55431
710         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
711         (ppc_fallback_frame_state): Always set up save locations for fp
712         and altivec.  Don't bother with non-callee-saved regs, r0-r13
713         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
715 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
717         PR target/54222
718         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
719         _ssmulHA, _ssmulSA.
720         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
721         _ssmulha3, _usmulusa3, _ssmulsa3.
722         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
723         (__muldi3): XCALL __muldi3_6 instead of rcall.
724         (__umulsidi3, __mulsidi3): New functions.
725         (do_prologue_saves, do_epilogue_restores): New .macros.
726         (__divdi3_moddi3): Use them.
727         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
728         (__usmulusa3, __ssmulsa3): New functions.
730 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
731             Jack Howarth  <howarth@bromo.med.uc.edu>
732             Patrick Marlier  <patrick.marlier@gmail.com>
734         PR libitm/55693
735         * config/darwin-crt-tm.c: Remove dummy functions hack.
737 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
739         PR target/54222
740         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
741         * config/avr/lib2-object.mk: New iterator to build objects from it.
742         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
743         lib2funcs.c.
744         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
745         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
746         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
747         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
748         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
749         * config/avr/lib1funcs-fixed.S: Implement them.
751 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
753         Update copyright years.
755 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
757         PR target/54601
758         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
759         Add crtcxa to extra_parts.
760         * config/rs6000/exit.h: New file.
761         * config/rs6000/cxa_atexit.c: New file.
762         * config/rs6000/cxa_finalize.c: New file.
763         * config/rs6000/crtcxa.c: New file.
764         * config/rs6000/t-aix-cxa: New file.
765         * config/rs6000/libgcc-aix-cxa.ver: New file.
767 2013-01-31  Nick Clifton  <nickc@redhat.com>
769         * config/v850/lib1funcs.S: Add support for e3v5 architecture
770         variant.
772 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
774         PR target/54222
775         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
776         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
777         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
778         _divQQ,  _divHQ,  _divHA,  _divSA,
779         _divUQQ, _divUHQ, _divUHA, _divUSA.
781 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
783         * config.host(microblaze*-linux*): tmake_file: Remove
784         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
785         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
786         to exclude functions from being built with libgcc.c and use
787         the microblaze assembly.
789 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
791         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
792         extra_parts.
794 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
796         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
797         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
798         __UINTPTR_TYPE__; also cast 'base' to the same type before the
799         alignment operation.
801 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
803         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
804         loop start address for cache clearing.
806 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
808         * config/avr/lib1funcs.S: Remove trailing blanks.
809         * config/avr/lib1funcs-fixed.S: Ditto.
811 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
813         * config/avr/avr-lib.h: Add GPL copyright notice.
815 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
817         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
818         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
819         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
820         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
822 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
824         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
825         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
827 2013-01-04  Nick Clifton  <nickc@redhat.com>
829         * config/v850/lib1funcs.S: Only provide CALLT support functions if
830         the CALLT instruction is supported.
832 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
834         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
835         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
837 2012-12-13  John Tytgat  <John@bass-software.com>
839         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
840         is 25.
842 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
844         PR libgcc/55451
845         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
846         undefined signed overflows.
848 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
850         PR target/55344
851         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
853 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
855         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
856         (FP_TRAPPING_EXCEPTIONS): Define.
857         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
858         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
860 2012-12-04  Richard Henderson  <rth@redhat.com>
862         PR bootstrap/55571
863         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
865 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
867         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
868         (FP_EX_SHIFT): Define.
869         (FP_TRAPPING_EXCEPTIONS): Define.
871 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
873         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
874         (FP_ROUNDMODE): Use FP_RND_MASK.
875         * config/aarch64/sfp-exceptions.c: New.
876         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
877         Use __sfp_handle_exceptions.
879 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
881         * config.host: (arm*-*-freebsd*): Remove.
882         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
883         (arm*-*-elf*): Remove.
884         (arm*-*-wince-pe*): Remove.
885         * arm/unwind-arm.c (struct fpa_reg): Delete.
886         (struct fpa_regs): Delete.
887         (phase1_vrs): Remove fpa element.
888         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
889         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
890         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
891         * ieee754-sf.S (floatundisf): Remove FPA support.
892         (floatdisf): Likewise.
893         * ieee75f-df.S (floatundidf): Likewise.
894         (floatdidf): Likewise.
896 2012-11-29  Kai Tietz  <ktietz@redhat.com>
898         PR target/55445
899         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
900         * unwind-generic.h: Likewise.
901         * unwind-seh.c: Likewise.
903 2012-11-28  Richard Henderson  <rth@redhat.com>
905         PR libgcc/48076
906         * emutls.c (__emutls_get_address): Avoid race condition between
907         obj->loc.offset read and emutls_key initialization.
909 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
911         Adjust decimal point of signed accum mode to GCC default.
913         PR target/54222
914         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
915         _divqq_helper.
916         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
917         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
918         (__mulha3, __mulsa3)
919         (__divqq3, __divha3, __divsa3): Adjust to new position of
920         decimal point of signed accum types.
922         (__mulusa3_round): New function.
923         (__mulusa3): Use it.
924         (__divqq_helper): New function.
925         (__udivuqq3): Use it.
927 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
929         PR bootstrap/55370
930         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
932 2012-11-18  Teresa Johnson  <tejohnson@google.com>
934         PR bootstrap/55051
935         * libgcov.c (gcov_exit): Remove merged program summary
936         comparison unless !GCOV_LOCKED.
938 2012-11-15  Marcus Shawcroft <marcus.shawcroft@arm.com>
940         * soft-fp: Updated from glibc upstream.
942 2012-11-06  Ian Lance Taylor  <iant@google.com>
944         * generic-morestack.c (__generic_morestack): Align the returned
945         stack pointer to a 32 byte boundary.
946         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
947         increment the return address until we have decided that we don't
948         have a varargs function.
949         (__morestack) [32-bit]: Align stack correctly when calling C
950         functions.
951         (__morestack) [64-bit]: Likewise.
953 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
955         * configure: Regenerate.
957 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
959         PR target/55175
960         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
961         * config/i386/sfp-machine.h: Guard exception handling
962         code with _SOFT_FLOAT.
963         * config/i386/32/sfp-machine.h: Guard rounding handling
964         code with _SOFT_FLOAT.
965         * config/i386/64/sfp-machine.h: Ditto.
967 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
969         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
970         as extra_parts.
972 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
974         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
975         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
976         when appropriate.  Correct structure element types.
977         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
978         -minline-all-stringops from compile flags.
980 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
982         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
984 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
986         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
988 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
990         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
991         tmake_file.
993 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
994             Jim MacArthur  <jim.macarthur@arm.com>
995             Marcus Shawcroft  <marcus.shawcroft@arm.com>
996             Nigel Stephens  <nigel.stephens@arm.com>
997             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
998             Richard Earnshaw  <rearnsha@arm.com>
999             Sofiane Naci  <sofiane.naci@arm.com>
1000             Stephen Thomas  <stephen.thomas@arm.com>
1001             Tejas Belagod  <tejas.belagod@arm.com>
1002             Yufeng Zhang  <yufeng.zhang@arm.com>
1004         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
1005         * config/aarch64/crti.S: New file.
1006         * config/aarch64/crtn.S: New file.
1007         * config/aarch64/linux-unwind.h: New file.
1008         * config/aarch64/sfp-machine.h: New file.
1009         * config/aarch64/sync-cache.c: New file.
1010         * config/aarch64/t-aarch64: New file.
1011         * config/aarch64/t-softfp: New file.
1013 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
1015         * config/mmix/crti.S: Mark program and data addresses using PRELD.
1016         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
1017         no-longer-needed LDBU insns.
1019 2012-10-18  Sebastian Huber <sebastian.huber@embedded-brains.de>
1021         * config.host
1022         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
1023         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
1025 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1027         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
1029 2012-10-15  Matthias Klose  <doko@ubuntu.com>
1031         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
1033 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
1035         * configure: Regenerate.
1036         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
1038 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
1040         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1041         instructions for 64bit targets only.
1043 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
1045         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
1046         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
1047         * config/i386/32/sfp-machine.h: ... here.
1048         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1049         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
1050         New defines.
1052 2012-10-07  Matthias Klose  <doko@ubuntu.com>
1054         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
1055         as unused.
1056         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
1058 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
1060         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
1061         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
1062         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
1063         (ElfW): Likewise.
1065 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
1067         PR other/53889
1068         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
1069         Fix parameter names.
1071 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
1073         PR target/33135
1074         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
1075         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
1076         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
1078 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
1080         PR target/50457
1081         * config/sh/linux-atomic.S: Delete.
1082         * config/sh/linux-atomic.c: New.
1083         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
1084         linux-atomic.c.  Add cflags to disable warnings.
1086 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
1088         PR other/53889
1089         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
1090         function.
1091         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
1092         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
1093         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
1094         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
1095         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
1096         Likewise.
1097         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
1098         Likewise.
1099         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
1100         Likewise.
1101         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
1102         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
1104 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
1106         * config.host (hppa-*-openbsd*): New target.
1107         * config/pa/t-openbsd: New file.
1109 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
1111         PR target/54222
1112         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
1113         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
1114         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
1115         (__divsa3): Use __negsi2 to negate r_quoL.
1116         * config/avr/lib1funcs.S (FALIAS): New macro.
1117         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
1118         (__negsi2): ...this new function.
1119         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
1120         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
1121         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
1122         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
1123         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
1124         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
1126 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
1128         PR target/54089
1129         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
1130         (lshrsi3): Reimplement as lshrsi3_r0.
1132 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
1134         PR target/46191
1135         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
1136         of libgcc.a.
1138 2012-09-07  Teresa Johnson  <tejohnson@google.com>
1140         PR gcov-profile/54487
1141         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
1142         differences.
1144 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
1146         PR target/54461
1147         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
1148         not configured --with-avrlibc=no.
1149         * config/avr/t-avrlibc: New file.
1150         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
1151         (DPBIT_FUNCS): Ditto.
1152         (TPBIT_FUNCS): Ditto.
1154 2012-09-04  Teresa Johnson  <tejohnson@google.com>
1156         * libgcov.c (struct gcov_summary_buffer): New structure.
1157         (gcov_histogram_insert): New function.
1158         (gcov_compute_histogram): Ditto.
1159         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
1160         histograms during summary merging.
1162 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
1164         * config.host (x86_64-*-openbsd*): New target.
1166 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
1168         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
1169         attribute.
1171 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
1173         PR target/54222
1174         * config/avr/t-avr (conv_X): Rename to func_X.
1176 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
1178         PR target/54222
1179         * config/avr/lib1funcs-fixed.S: New file.
1180         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
1181         after they are used.
1182         (neg2, neg4): New macros.
1183         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
1184         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
1185         (__umulhisi3): Speed up MUL variant if there is enough flash.
1186         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
1187         avr-modes.def.
1188         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
1189         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
1190         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
1191         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
1192         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
1193         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
1194         (LIB2FUNCS_EXCLUDE): Add supported functions.
1196 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
1198         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
1199         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
1200         libgcc-s-objects.
1201         * fixed-obj.mk: Only expand dependency if $o is not in
1202         LIB2FUNCS_EXCLUDE.
1204 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
1206         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
1208 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
1210         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
1211         depend on --enable-shared.
1212         ($(lib1asmfuncs-o)): Use %.vis files independent of
1213         --enable-shared.
1214         * static-object.mk ($(base)$(objext), $(base).vis)
1215         ($(base)_s$(objext)): Use same rules for visibility handling as in
1216         shared-object.mk.
1218 2012-08-21  Ian Lance Taylor  <iant@google.com>
1220         * config/i386/morestack.S (__morestack_non_split): Increase amount
1221         of space allocated for non-split code stack.
1223 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
1225         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
1226         even if inhibit_libc.
1228 2012-08-17  Julian Brown  <julian@codesourcery.com>
1230         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
1231         -fexceptions -fnon-call-exceptions if not defined.
1232         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
1233         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
1235 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
1237         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
1238         type.
1240 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
1242         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
1243         rs6000/t-slibgcc-aix.
1245 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
1247         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
1249 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
1251         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
1253 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
1255         PR driver/54171
1256         * Makefile.in (version): Replace top_srcdir with srcdir.
1258 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
1260         * Makefile.in (version): set to BASE-VER file from gcc directory.
1262 2012-08-01  Nick Clifton  <nickc@redhat.com>
1264         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
1265         Implements __clrsb for an HImode argument.
1267 2012-07-31  Nick Clifton  <nickc@redhat.com>
1269         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
1270         Implements __clrsb for an HImode argument.
1271         * config/stormy16/clrsbhi2.c: New file:
1272         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
1274 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
1276         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
1278 2012-07-19  Tristan Gingold  <gingold@adacore.com>
1279             Richard Henderson  <rth@redhat.com>
1281         * unwind-seh.c: New file.
1282         * unwind-generic.h: Include windows.h for SEH.
1283         (_Unwind_Exception): Use 6 private fields for SEH.
1284         (_GCC_specific_handler): Declare.
1285         * unwind-c.c (__gcc_personality_seh0): New function.
1286         Adjust for SEH.
1287         * config/i386/libgcc-cygming.ver: New file.
1288         * config/i386/t-seh-eh: New file.
1289         * config.host (x86_64-*-mingw*): Default to seh.
1291 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
1293         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
1295 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
1297         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
1298         __builtin_expect when checking for exceptions.
1299         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
1301 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
1303         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
1304         function declaration.
1305         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
1306         (FP_RND_MASK): New.
1307         * config/ia64/sfp-exceptions.c: New.
1308         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
1310 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
1312         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
1313         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
1314         * config/i386/64/sfp-machine: ... (delete here) ...
1315         * config/i386/sfp-machine.h: ... to here.
1316         (FP_EX_MASK): Remove.
1317         (FP_RND_MASK): New.
1318         (FP_INIT_ROUNDMODE): Declare asm as volatile.
1320 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
1322         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
1323         * config/i386/libgcc-sol2.ver: Ditto.
1324         * config/i386/libgcc-glibc.ver: Ditto.
1326 2012-06-11  Roland McGrath  <mcgrathr@google.com>
1328         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
1329         If __GLIBC__ is defined, refer to __pthread_key_create instead of
1330         pthread_cancel.
1332 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
1334         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
1335         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
1336         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
1337         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
1338         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
1339         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
1340         * config/i386/64/sfp-machine: ... (delete here) ...
1341         * config/i386/sfp-machine.h: ... to here.
1342         (FP_EX_MASK): New.
1343         (__sfp_handle_exceptions): New function declaration.
1344         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
1345         * config/i386/sfp-exceptions.c: New.
1346         * config/i386/t-softfp: New.
1347         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
1348         i386/t-softfp to tmake_file.
1350 2012-06-03  David S. Miller  <davem@davemloft.net>
1352         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
1353         change.
1355 2012-05-31  David S. Miller  <davem@davemloft.net>
1357         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
1358         multiply and divide instructions on 32-bit when V9.
1359         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
1361 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
1363         * config/arm/ieee754-df.S: Fix typos.
1364         * config/arm/ieee754-sf.S: Fix typos.
1365         * config/c6x/libunwind.S: Fix typos.
1366         * config/epiphany/udivsi3-float.c: Fix typos.
1367         * config/microblaze/muldi3_hard.S: Fix typos.
1368         * config/picochip/adddi3.S: Fix typos.
1369         * config/picochip/ashlsi3.S: Fix typos.
1370         * config/picochip/ashrsi3.S: Fix typos.
1371         * config/picochip/clzsi2.S: Fix typos.
1372         * config/picochip/cmpsi2.S: Fix typos.
1373         * config/picochip/divmod15.S: Fix typos.
1374         * config/picochip/divmodhi4.S: Fix typos.
1375         * config/picochip/divmodsi4.S: Fix typos.
1376         * config/picochip/longjmp.S: Fix typos.
1377         * config/picochip/lshrsi3.S: Fix typos.
1378         * config/picochip/parityhi2.S: Fix typos.
1379         * config/picochip/popcounthi2.S: Fix typos.
1380         * config/picochip/setjmp.S: Fix typos.
1381         * config/picochip/subdi3.S: Fix typos.
1382         * config/picochip/ucmpsi2.S: Fix typos.
1383         * config/picochip/udivmodhi4.S: Fix typos.
1384         * config/picochip/udivmodsi4.S: Fix typos.
1385         * config/spu/divv2df3.c: Fix typos.
1386         * config/spu/mfc_multi_tag_release.c: Fix typos.
1387         * config/spu/mfc_tag_release.c: Fix typos.
1388         * configure.ac: Fix typos.
1389         * configure: Regenerate.
1391 2012-05-25  Ian Lance Taylor  <iant@google.com>
1393         * config/i386/morestack.S (__morestack_non_split): Check whether
1394         caller is varargs and needs %bp to hold the stack frame on return.
1396 2012-05-25  Olivier Hainque  <hainque@adacore.com>
1398         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
1399         sequence in the non pic case on VxWorks.
1401 2012-05-24  Olivier Hainque  <hainque@adacore.com>
1403         * Makefile.in: Move dependency on install-unwind_h from
1404         "install-leaf" to "install".
1406 2012-05-24  Olivier Hainque  <hainque@adacore.com>
1408         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
1409         Use a separate command for stamp removals.
1411 2012-05-21  Andrew Pinski  <apinski@cavium.com>
1413         PR bootstrap/53183
1414         * configure.ac: Define the default includes to being none.
1415         * configure: Regenerate.
1417 2012-05-16  Olivier Hainque  <hainque@adacore.com>
1419         * Makefile.in (install-unwind_h): Rename into ...
1420         (install-unwind_h-forbuild): New target.
1421         (all): Use it instead of the former install-unwind_h.
1422         (install-unwind_h): Reinstate, copy to user install destination
1423         for include files, not to the internal gcc object directory one.
1424         (install-leaf): Depend on it.
1426 2012-05-15  Olivier Hainque  <hainque@adacore.com>
1428         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
1429         register numbers. LR_REGNO replaces R_LR.
1430         (ucontext_for): New, helper for ...
1431         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
1432         and 5.3 of ...
1433         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
1435 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1437         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
1438         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
1439         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
1440         i386/t-cpuinfo ...
1441         (i[34567]86-*-*, x86_64-*-*): ... here.
1443         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
1444         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
1446         * config/i386/i386-cpuinfo.c: Rename to ...
1447         * config/i386/cpuinfo.c: ... this.
1448         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
1450         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
1451         (libgcc_cv_init_priority): New test.
1452         * configure: Regenerate.
1453         * config.in: New file.
1454         * Makefile.in (clean): Rename config.h to auto-target.h.
1455         (config.h): Likewise.
1456         (stamp-h): Likewise.
1458         * config/i386/cpuinfo.c (auto-target.h): Include.
1459         (CONSTRUCTOR_PRIORITY): Define.
1460         (__cpu_indicator_init): Use it.
1462 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
1464         * longlong.h: Use a URL instead of an FSF postal address.
1465         Replace spaces with tab.
1467 2012-05-08  Teresa Johnson  <tejohnson@google.com>
1469         * libgcov.c (gcov_clear, __gcov_reset): New functions.
1470         (__gcov_dump): Ditto.
1471         (gcov_dump_complete): New global variable.
1472         (gcov_exit): Export hidden to enable use in L_gcov_dump.
1473         (__gcov_flush): Outline functionality now in gcov_clear.
1474         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
1476 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
1478         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
1479         (mips*-*-linux*): Include mips/t-tpbit when long double is
1480         16 bytes long.
1482 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
1484         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
1485         (get_available_features): New argument. Check for AVX2.
1486         (__cpu_indicator_init): Modify call to get_available_features.
1488 2012-04-25  Alan Modra  <amodra@gmail.com>
1490         * config/rs6000/crtsavevr.S: New file.
1491         * config/rs6000/crtrestvr.S: New file.
1492         * config/rs6000/t-savresfgpr: Build the above.
1493         * config/rs6000/t-netbsd: Likewise.
1495 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
1497         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
1499 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
1501         * libgcc/config/i386/i386-cpuinfo.c: New file.
1502         * libgcc/config/i386/t-cpuinfo: New file.
1503         * libgcc/config.host: Include t-cpuinfo.
1504         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
1506 2012-04-24  Chao-ying Fu  <fu@mips.com>
1508         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
1510 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
1512         struct siginfo vs. siginfo_t
1514         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
1515         siginfo_t instead of struct siginfo.
1516         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
1517         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
1518         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
1519         (ia64_handle_unwabi): Likewise.
1520         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
1521         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
1522         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
1523         (sh_fallback_frame_state): Likewise.
1524         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
1525         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
1527 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
1529         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
1530         system call number.
1532 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
1534         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
1535         if it hasn't been previously saved.
1537 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
1539         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
1540         only for glibc.
1542 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
1544         PR target/52737
1545         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
1546         instead of __AVR_HAVE_8BIT_SP__.
1548 2012-03-26  Tristan Gingold  <gingold@adacore.com>
1550         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
1551         (unw_table_entry): Use unw_word instead of unsigned long.
1552         (_Unwind_FindTableEntry): Likewise.
1553         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
1554         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
1555         (_Unwind_FindTableEntry): Likewise.
1556         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
1557         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
1558         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
1559         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
1560         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
1561         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
1562         (uw_init_context_1, uw_install_context): Likewise.
1563         (unw_word): Move to unwind-ia64.h
1565 2012-03-26  Tristan Gingold  <gingold@adacore.com>
1567         * config/vms/vms-ucrt0.c: Update copyright years.
1568         Add a sanity check.
1569         (___gcc_main_flags): Declare.
1570         (__main): Check flags to remap argv and exit code.
1571         * config.host (*-*-*vms*): Adjust extra_parts.
1572         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
1573         (crt0.o): Add.
1575 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
1577         * arm/lib1funcs.asm (ctzsi2): New function.
1578         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
1579         * arm/t-linux (LIB1ASMFUNCS): Likewise.
1580         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
1581         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
1582         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
1583         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
1585 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
1587         * config.host: Add bits to support powerpc64-*-freebsd*.
1588         * config/rs6000/freebsd-unwind.h: New file.
1589         * config/rs6000/t-freebsd64: New file.
1591 2012-03-20  Richard Guenther  <rguenther@suse.de>
1593         PR gcov-profile/52627
1594         * libgcov.c (init_mx): Fix mutex name.
1596 2012-03-16  Tristan Gingold  <gingold@adacore.com>
1598         * config/ia64/vms-unwind.h: Remove ulong (and replace
1599         it by unw_reg where used).  Define unw_reg with __int64.
1601 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1603         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1604         Solaris 8 handling.
1605         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1606         Solaris 8 handling.
1607         (sparc_is_sighandler): Likewise.
1609 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
1611         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
1612         <= saved reg size.
1614 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1616         * config/arm/crtn.S: Fix typo.
1618 2012-03-13  Richard Guenther  <rguenther@suse.de>
1620         * libgcov.c: Remove stdio.h include and NULL un-define.
1622 2012-03-13  Richard Guenther  <rguenther@suse.de>
1624         PR target/52569
1625         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
1627 2012-03-13  Richard Guenther  <rguenther@suse.de>
1629         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
1631 2012-03-13  Richard Guenther  <rguenther@suse.de>
1633         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
1634         and __gthread_mutex_init_function definitions.
1636 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1638         * config.host (mips*-*-openbsd*): Remove.
1640 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1642         * config.host: Remove alpha*-dec-osf5.1* handling.
1643         * config/alpha/gthr-posix.c: Remove.
1644         * config/alpha/libgcc-osf5.ver: Remove.
1645         * config/alpha/osf5-unwind.h: Remove.
1646         * config/alpha/t-osf-pthread: Remove.
1647         * config/alpha/t-slibgcc-osf: Remove.
1648         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
1649         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
1650         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
1651         * mkmap-flat.awk: Remove osf_export handling.
1653 2012-03-12  Richard Guenther  <rguenther@suse.de>
1655         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
1656         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1657         (__gthread_mutex_init_function): New function.
1658         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1660         PR gcov/49484
1661         * libgcov.c: Include gthr.h.
1662         (__gcov_flush_mx): New global variable.
1663         (init_mx, init_mx_once): New functions.
1664         (__gcov_flush): Protect self with a mutex.
1665         (__gcov_fork): Re-initialize mutex after forking.
1666         * unwind-dw2-fde.c: Change condition under which to use
1667         __GTHREAD_MUTEX_INIT_FUNCTION.
1669 2012-03-12  Tristan Gingold  <gingold@adacore.com>
1671         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
1672         * config/ia64/t-vms: Likewise.
1674 2012-03-11  Michael Hope  <michael.hope@linaro.org>
1676         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
1677         for Thumb-2.
1679 2012-03-07  Walter Lee  <walt@tilera.com>
1681         * config/tilepro/atomic.c: Rename "atomic_" prefix to
1682         "arch_atomic_".
1683         (atomic_xor): Rename and move definition to
1684         config/tilepro/atomic.h.
1685         (atomic_nand): Ditto.
1686         * config/tilepro/atomic.h: Rename "atomic_" prefix to
1687         "arch_atomic_".
1688         (arch_atomic_xor): Move from config/tilepro/atomic.c.
1689         (arch_atomic_nand): Ditto.
1691 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
1693         PR target/52507
1694         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
1696 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
1698         PR target/52505
1699         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
1700         from RAM.
1702 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
1704         PR target/52461
1705         PR target/52508
1706         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
1707         if RAMPZ affects reading from RAM.
1708         (__tablejump_elpm__): Ditto.
1709         (.xload): Ditto.
1710         (__movmemx_hi): Ditto.
1711         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
1712         (__do_global_dtors): Ditto.
1713         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
1714         (__movmemx_hi): Ditto.
1716 2012-03-05  Richard Henderson  <rth@redhat.com>
1718         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
1719         [ARM] (count_trailing_zeros): Use the builtin.
1721 2012-03-01  Kai Tietz  <ktietz@redhat.com>
1723         * soft-fp: Imported from glibc upstream.
1725 2012-02-28  Kai Tietz  <ktietz@redhat.com>
1727         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
1728         for mingw-targets as attribute gcc_struct.
1730 2012-02-28  Ian Lance Taylor  <iant@google.com>
1732         * generic-morestack.c (__splitstack_releasecontext): Correct call
1733         to __morestack_release_segments.
1735 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1737         PR target/52390
1738         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
1739         for __linux__ when removing signals from __morestack_fullmask.
1741 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
1743         PR target/52261
1744         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
1746 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1748         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
1749         instead of HAVE_INITFINI_ARRAY.
1750         * config/ia64/crtend.S: Likewise.
1752 2012-02-20  Kai Tietz  <ktietz@redhat.com>
1754         PR libstdc++/52300
1755         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
1757         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
1758         to w32-unwind.h header.
1760 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
1762         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
1763         (mips*-*-linux*): Remove t-slibgcc-libgcc.
1764         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
1765         * config/mips/mips16.S (__mips16_rdhwr): Delete.
1767 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
1769         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
1771 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
1773         PR libitm/52220
1774         * config/darwin-crt-tm.c: Correct typo.
1776 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
1777             Patrick Marlier  <patrick.marlier@gmail.com>
1779         PR libitm/52220
1780         * config/darwin-crt-tm.c: Generate dummy functions.
1782 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
1783             Patrick Marlier  <patrick.marlier@gmail.com>
1785         PR libitm/52042
1786         * config/darwin-crt-tm.c (getTMCloneTable): New function.
1787         (__doTMRegistrations): Call it.
1788         (__doTMdeRegistrations): Likewise.
1790 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
1791             Anatoly Sokolov <aesok@post.ru>
1792             Eric Weddington <eric.weddington@atmel.com>
1794         PR target/52261
1795         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
1796         (__epilogue_restores__): Ditto.
1798 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
1800         PR target/51921
1801         PR target/52205
1802         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
1803         Solaris 11 and slightly reformat.
1804         (sparc_is_sighandler): Likewise.
1806 2012-02-14  Walter Lee  <walt@tilera.com>
1808         * config.host: Handle tilegx and tilepro.
1809         * config/tilegx/sfp-machine.h: New file.
1810         * config/tilegx/sfp-machine32.h: New file.
1811         * config/tilegx/sfp-machine64.h: New file.
1812         * config/tilegx/t-crtstuff: New file.
1813         * config/tilegx/t-softfp: New file.
1814         * config/tilegx/t-tilegx: New file.
1815         * config/tilepro/atomic.c: New file.
1816         * config/tilepro/atomic.h: New file.
1817         * config/tilepro/linux-unwind.h: New file.
1818         * config/tilepro/sfp-machine.h: New file.
1819         * config/tilepro/softdivide.c: New file.
1820         * config/tilepro/softmpy.S: New file.
1821         * config/tilepro/t-crtstuff: New file.
1822         * config/tilepro/t-tilepro: New file.
1824 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
1826         PR libstdc++/51296
1827         PR libstdc++/51906
1828         * gthr-posix.h: Allow static initializer macros to be disabled.
1829         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
1831 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
1833         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
1834         Add t-slibgcc-libgcc to tmake_file.
1835         * config/mips/libgcc-mips16.ver: Revert previous patch.
1836         * config/mips/mips16.S (__mips16_rdhwr): Hide.
1838 2012-02-02  Sumanth G <sumanth.gundapaneni@kpitcummins.com>
1839             Jayant R Sonar <jayant.sonar@kpitcummins.com>
1841         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
1842         * config/cr16/crti.S: New file.
1843         * config/cr16/crtlibid.S: New file.
1844         * config/cr16/crtn.S: New file.
1845         * config/cr16/lib1funcs.S: New file.
1846         * config/cr16/t-cr16: New file.
1847         * config/cr16/t-crtlibid: New file.
1848         * config/cr16/unwind-dw2.h: New file.
1849         * config/cr16/unwind-cr16.c: New file.
1850         * config/cr16/divmodhi3.c: New file.
1852 2012-01-25  Alan Modra  <amodra@gmail.com>
1854         * config/rs6000/t-linux64: Delete.  Move..
1855         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
1856         * config/rs6000/t-linux: ..and libgcc flags to here.
1858 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
1860         * config.host (i[34567]86-*-interix3*):
1861         Change triplet to i[34567]86-*-interix[3-9]*.
1862         * configure: Regenerate.
1864 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
1865             Richard Sandiford  <rdsandiford@googlemail.com>
1867         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
1868         * config/mips/mips16.S (__mips16_rdhwr): New function.
1869         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
1871 2012-01-11  Nathan Sidwell  <nathan@acm.org>
1873         * libgcov.c (__gcov_init): Ignore objects with no functions.
1875 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
1877         PR target/49868
1878         Extend __pgmx semantics to linearize memory.
1879         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
1880         * config/avr/lib1funcs.S (__xload_1): New function.
1881         (__movmemx_qi, __movmemx_hi): New functions.
1882         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
1883         semantics.
1885 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
1887         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
1888         purported sigacthandler address isn't null before dereferencing it.
1889         (sparc_is_sighandler): Likewise.
1891 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
1893         PR ada/41929
1894         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
1895         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
1896         (sparc_is_sighandler): Likewise.
1897         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
1899 2012-01-06  Tristan Gingold  <gingold@adacore.com>
1901         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
1902         compatibility thunks...
1903         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
1904         (crtbeginS.o, crtendS.o): ... and these to ...
1905         * config/ia64/t-ia64-elf: ... this new file.
1906         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
1907         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
1909 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1911         * configure: Regenerate.
1912         * config/s390/t-crtstuff: Remove -fPIC.
1914 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
1916         PR bootstrap/51006
1917         * enable-execute-stack-mprotect.c (getpagesize): Do not define
1918         for NetBSD.
1920 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
1922         PR target/51345
1923         * config/avr/lib1funcs.S: Remove FIXME comments.
1924         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
1926 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
1928         Implement light-weight DImode support.
1929         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
1930         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
1931         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
1932         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
1934 2011-12-30  Nathan Sidwell  <nathan@acm.org>
1936         * libgcov.c (gcov_crc32): Remove global var.
1937         (free_fn_data): New function.
1938         (buffer_fn_data): Pass in filename, more robust error recovery.
1939         (crc32_unsigned): New function.
1940         (gcov_exit): More robust detection of new program. More robust
1941         error recovery.
1942         (__gcov_init): Do not update program's crc here.
1944 2011-12-21  Tristan Gingold  <gingold@adacore.com>
1946         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
1948 2011-12-21  Ian Lance Taylor  <iant@google.com>
1950         * config/i386/morestack.S: Simplify CFI opcodes throughout.
1952 2011-12-20  Ian Lance Taylor  <iant@google.com>
1954         * config/i386/morestack.S (__morestack_non_split): If there is
1955         enough stack space already, don't split.  Ask for more stack space
1956         than we required.
1958 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
1960         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
1961         `sys/sdt.h'.
1962         (_Unwind_DebugHook): New function.
1963         (uw_restore_core_regs): New define.
1964         (unwind_phase2): Use uw_restore_core_regs instead of
1965         restore_core_regs.
1966         (unwind_phase2_forced): Likewise.
1967         (__gnu_Unwind_Resume): Likewise.
1969 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
1971         * config/alpha/linux-unwind.h: Update copyright years.
1972         (MD_FROB_UPDATE_CONTEXT): New define.
1973         (alpha_frob_update_context): New function.
1975 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
1977         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
1978         tmake_file rather replacing it.
1980 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
1982         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1983         function is not used for PPC64.
1984         (save_world): Amend comments.  Update the VRsave mask to reflect the
1985         saved regs.
1986         (rest_world): Update comments, do not  clobber r10, do not use r8.
1987         (eh_rest_world_r10): Amend comments, do not use r8.
1988         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
1989         no longer used, move restore of CR and target address to the end of
1990         the routine.
1992 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
1994         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
1995         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
1997 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
1999         PR target/49313
2000         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
2001         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
2003 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
2005         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
2007 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
2009         PR target/49313
2010         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
2011         * config/avr/lib1funcs.S (__muldi3): New function.
2013 2011-12-06  Andrew Pinski  <apinski@cavium.com>
2015         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
2016         size of func_ptr.
2017         (__frame_dummy_init_array_entry): Likewise.
2019 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
2021         Forward-port from gcc-4_6-branch r181936 2011-12-02.
2023         PR target/51345
2024         PR target/51002
2025         * config/avr/lib1funcs.S (__prologue_saves__,
2026         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
2027         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
2029 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
2031         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
2033 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2035         PR other/51272
2036         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
2037         (_ITM_deregisterTMCloneTable): Likewise.
2038         (__register_frame_info): Fix unused warning.
2039         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
2040         pthread_default_stacksize_np): Likewise.
2041         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
2043 2011-11-29  DJ Delorie  <dj@redhat.com>
2045         * config.host (rl78-*-elf): New case.
2046         * config/rl78: New directory for the Renesas RL78.
2048 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
2050         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
2051         formatting.
2053 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2055         PR other/51022
2056         * config/rs6000/t-savresfgpr: New file.
2057         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
2058         $(srcdir)/config/rs6000/eabi.S.
2059         * config/rs6000/t-ppccomm-ldbl: Remove.
2060         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
2061         tmake_file.
2062         (powerpc-*-eabispe*): Likewise.
2063         (powerpc-*-eabi*): Likewise.
2064         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2065         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
2066         to tmake_file, remove rs6000/t-ppccomm-ldbl.
2067         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
2068         tmake_file.
2069         (powerpc-*-eabisim*): Likewise.
2070         (powerpc-*-elf*): Likewise.
2071         (powerpc-*-eabialtivec*): Likewise.
2072         (powerpc-xilinx-eabi*): Likewise.
2073         (powerpc-*-rtems*): Likewise.
2074         (powerpcle-*-elf*): Likewise.
2075         (powerpcle-*-eabisim*): Likewise.
2076         (powerpcle-*-eabi*): Likewise.
2078 2011-11-27  Ian Lance Taylor  <iant@google.com>
2080         * generic-morestack.c (__splitstack_find): Check for NULL old
2081         stack value.
2082         (__splitstack_resetcontext): New function.
2083         (__splitstack_releasecontext): New function.
2084         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
2086 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
2088         * config/darwin-crt-tm.c: Correct comments, use correct licence.
2090 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
2092         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
2094 2011-11-26  Richard Henderson  <rth@redhat.com>
2096         * config/m68k/linux-atomic.c: New file.
2097         * config/m68k/t-linux: New file.
2098         * config.host (m68k-uclinux, m68k-linux): Use it.
2100 2011-11-26  Richard Henderson  <rth@redhat.com>
2102         * crtstuff.c (__TMC_LIST__): Mark used not unused.
2103         (__TMC_END__): Only declare if hidden is available; in the definition,
2104         if hidden is unavailable add a null record.
2105         (deregister_tm_clones, register_tm_clones): New.
2106         (__do_global_dtors_aux, frame_dummy): Use them.
2107         (__do_global_dtors, __do_global_ctors_1): Likewise.
2109 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
2111         * config/darwin-crt-tm.c: New file.
2112         * config.host (darwin): Build crttms.o crttme.o to provide
2113         startup and shutdown for tm clones.
2114         * config/t-darwin (crttms.o): New build rule.
2115         (crttme.o): Likewise.
2117 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
2119         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
2120         et al.
2122 2011-11-21  Richard Henderson  <rth@redhat.com>
2124         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
2125         (__TMC_LIST__, __TMC_END__): New.
2126         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
2127         (__do_global_dtors): Likewise.
2128         (frame_dummy): Call _ITM_registerTMCloneTable.
2129         (__do_global_ctors_1): Likewise.
2131 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2133         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
2134         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2135         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
2136         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
2137         * config/i386/t-darwin64: Remove.
2138         * config/sh/t-netbsd (LIB2ADD): Remove.
2140 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
2142         PR target/49313
2143         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
2144         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
2145         * config/avr/lib1funcs.S (wmov): New assembler macro.
2146         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
2147         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
2148         (__udivmod64): New function.
2149         (__negdi2): New function.
2151 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
2153         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
2154         *-*-freebsd*aout*): Remove.
2156 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
2158         * static-object.mk (c_flags-$o): Save c_flags.
2159         ($(base)$(objext)): Use it.
2161 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
2163         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
2165 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
2167         PR target/49868
2168         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
2169         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
2170         New functions.
2172 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
2174         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
2175         functions.
2176         (aeabi_uidivmod): Likewise.
2177         (umodsi3): Likewise.
2178         (divsi3): Likewise.
2179         (aeabi_idivmod): Likewise.
2180         (modsi3): Likewise.
2182 2011-11-16  Tristan Gingold  <gingold@adacore.com>
2184         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
2186 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
2188         PR target/49868
2189         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
2190         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
2192 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2194         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
2195         tmake_file list.
2196         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
2197         * config/pa/t-stublib64: Delete.
2199 2011-11-12  Richard Henderson  <rth@redhat.com>
2201         * config/rs6000/linux-unwind.h (frob_update_context): Properly
2202         cast the pointer argument to _Unwind_SetGRPtr.
2204 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2206         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
2208 2011-11-09  Ian Lance Taylor  <iant@google.com>
2210         * generic-morestack.c: Include <string.h>.
2211         (uintptr_type): Define.
2212         (struct initial_sp): Add dont_block_signals field.  Reduce size of
2213         extra array by 1.
2214         (allocate_segment): Set prev field to NULL.  Don't set
2215         __morestack_current_segment or __morestack_segments.
2216         (__generic_morestack): Update current->prev and *pp after calling
2217         allocate_segment.
2218         (__morestack_block_signals): Don't do anything if
2219         dont_block_signals is set.
2220         (__morestack_unblock_signals): Likewise.
2221         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
2222         uintptr_type.
2223         (__splitstack_block_signals): New function.
2224         (enum __splitstack_content_offsets): Define.
2225         (__splitstack_getcontext, __splitstack_setcontext): New functions.
2226         (__splitstack_makecontext): New function.
2227         (__splitstack_block_signals_context): New function.
2228         (__splitstack_find_context): New function.
2229         * config/i386/morestack.S (__morestack_get_guard): New function.
2230         (__morestack_set_guard, __morestack_make_guard): New functions.
2231         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
2233 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2235         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
2236         (i[34567]86-*-mingw*): ... here.
2237         (x86_64-*-mingw*): ... here.
2239 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2241         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
2243 2011-11-07  Nathan Sidwell  <nathan@acm.org>
2245         * libgcov.c (struct gcov_fn_buffer): New struct.
2246         (buffer_fn_data): New helper.
2247         (gcov_exit): Rework for new gcov data structures.
2249 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
2251         PR target/49313
2252         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
2254 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2256         * config.host (tmake_file): Correct comment.
2257         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
2258         t-libgcc-pic.
2259         (bfin*-uclinux*): Likewise.
2260         (bfin*-linux-uclibc*): Likewise.
2261         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
2263         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
2264         assigning.
2265         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2266         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
2267         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2268         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
2269         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2270         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
2271         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
2272         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2273         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
2274         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
2275         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
2276         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
2277         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
2279         * config/bfin/t-elf: Remove.
2280         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
2282 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2284         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
2285         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
2286         (lm32-*-elf*, lm32-*-rtems*): Split into ...
2287         (lm32-*-elf*): ... this.
2288         (lm32-*-rtems*): ... and this.
2289         Add to tmake_file.
2290         (m32r-*-rtems*): Add to tmake_file.
2291         (moxie-*-rtems*): Likewise.
2292         (sparc-*-rtems*): Likewise.
2293         Remove t-rtems from tmake_file.
2294         (sparc64-*-rtems*): Likewise.
2295         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
2296         instead.
2298 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2300         PR bootstrap/50982
2301         * config/gthr-posix.h: Move ...
2302         * gthr-posix.h: ... here.
2303         * config/gthr-lynx.h: Reflect this.
2304         * config/gthr-vxworks.h: Likewise.
2305         * config/rs6000/gthr-aix.h: Likewise.
2306         * configure.ac (target_thread_file): Likewise.
2307         * configure: Regenerate.
2309 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2311         * config.host (arm*-*-rtemseabi*): New target.
2313 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2315         PR other/50991
2316         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
2317         extra-parts.
2319 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
2321         * config.host (epiphany-*-elf*): New configuration.
2322         * config/epiphany: New Directory.
2324 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
2326         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
2327         * config/avr/t-rtems: New.
2328         Filter out _exit from LIB1ASMFUNCS.
2330 2011-11-04  David S. Miller  <davem@davemloft.net>
2332         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
2333         * configure: Rebuild.
2335 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2337         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
2338         variable.
2340 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
2342         PR target/50931
2343         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
2344         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
2346 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
2348         PR target/50989
2349         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
2351 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2353         * config/c6x/t-elf (LIB2ADDEH): Set.
2354         * config/c6x/t-c6x-elf: Remove.
2356 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2358         * config/i386/sol2-ci.S: Rename to ...
2359         * config/i386/crti.S: ... this.
2360         * config/i386/sol2-cn.S: Rename to ...
2361         * config/i386/crtn.S: ... this.
2362         * config/sparc/sol2-ci.S: Rename to ...
2363         * config/sparc/crti.S: ... this.
2364         * config/sparc/sol2-cn.S: Rename to ...
2365         * config/sparc/crtn.S: ... this.
2366         * config/t-sol2 (CUSTOM_CRTIN): Remove.
2367         (crti.o, crtn.o): Remove.
2369 2011-11-04  Tristan Gingold  <gingold@adacore.com>
2371         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
2373 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
2375         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
2377 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
2379         * config.host (crisv32-*-none, cris-*-none): Remove.
2380         (crisv32-*-elf): Append to tmake_file, don't just set it.
2381         (cris-*-elf): Add missing t-fdpbit to tmake_file.
2383 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2385         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
2386         (ecrtn$(objext)): Likewise.
2387         (ncrti$(objext)): Likewise.
2388         (ncrtn$(objext)): Likewise.
2390 2011-11-03  Andreas Schwab  <schwab@redhat.com>
2392         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
2394 2011-11-02  David S. Miller  <davem@davemloft.net>
2396         * configure.ac: Set host_address on sparc too.
2397         * configure: Regenerate.
2398         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
2399         based upon host_address.
2400         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
2402 2011-11-02  Jason Merrill  <jason@redhat.com>
2404         * config/rs6000/t-ppccomm: Add missing \.
2406 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2408         * gthr-single.h, gthr.h: New files.
2409         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
2410         config/gthr-vxworks.h, config/i386/gthr-win32.h,
2411         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
2412         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
2413         * config/i386/gthr-win32.c: Include "gthr-win32.h".
2414         * configure.ac (thread_header): New variable.
2415         Set it depending on target_thread_file.
2416         (gthr-default.h): Link from $thread_header.
2417         * configure: Regenerate.
2418         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
2420 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2422         * configure.ac (tm_file_): New variable.
2423         Determine from tm_file.
2424         (tm_file, tm_defines): Substitute.
2425         * configure: Regenerate.
2426         * mkheader.sh: New file.
2427         * Makefile.in (clean): Remove libgcc_tm.h.
2428         ($(objects)): Depend on libgcc_tm.h.
2429         (libgcc_tm_defines, libgcc_tm_file): New variables.
2430         (libgcc_tm.h, libgcc_tm.stamp): New targets.
2431         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
2432         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
2433         ($(extra-parts)): Depend on libgcc_tm.h.
2434         * config.host (tm_defines, tm_file): New variable.
2435         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
2436         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
2437         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
2438         (avr-*-rtems*): Likewise.
2439         (avr-*-*): Likewise.
2440         (frv-*-elf): Likewise.
2441         (frv-*-*linux*): Likewise.
2442         (h8300-*-rtems*): Likewise.
2443         (h8300-*-elf*): Likewise.
2444         (i[34567]86-*-darwin*): Likewise.
2445         (x86_64-*-darwin*): Likewise.
2446         (rx-*-elf): Likewise.
2447         (tic6x-*-uclinux): Likewise.
2448         (tic6x-*-elf): Likewise.
2449         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
2450         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
2451         * config/i386/cygming-crtbegin.c: Likewise.
2452         * config/i386/cygming-crtend.c: Likewise.
2453         * config/ia64/fde-vms.c: Likewise.
2454         * config/ia64/unwind-ia64.c: Likewise.
2455         * config/libbid/bid_gcc_intrinsics.h: Likewise.
2456         * config/rs6000/darwin-fallback.c: Likewise.
2457         * config/stormy16/lib2funcs.c: Likewise.
2458         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
2459         * crtstuff.c: Likewise.
2460         * dfp-bit.h: Likewise.
2461         * emutls.c: Likewise.
2462         * fixed-bit.c: Likewise.
2463         * fp-bit.c: Likewise.
2464         * generic-morestack-thread.c: Likewise.
2465         * generic-morestack.c: Likewise.
2466         * libgcc2.c: Likewise.
2467         * libgcov.c: Likewise.
2468         * unwind-dw2-fde-dip.c: Likewise.
2469         * unwind-dw2-fde.c: Likewise.
2470         * unwind-dw2.c: Likewise.
2471         * unwind-sjlj.c: Likewise.
2473 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2475         * configure.ac: Include ../config/picflag.m4.
2476         (GCC_PICFLAG): Call it.
2477         Substitute.
2478         * configure: Regenerate.
2479         * Makefile.in (gcc_srcdir): Remove.
2480         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
2481         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
2482         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
2483         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
2484         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
2485         Use $<.
2486         Remove comment.
2487         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
2488         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
2489         to refer to libgcc2.c.
2490         Use $<.
2491         * config/darwin-64.c: New file.
2492         * config/darwin-crt3.c: Remove comment.
2493         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
2494         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
2495         config/udivmodsi4.c: New files.
2496         * config/memcmp.c, config/memcpy.c, config/memmove.c,
2497         config/memset.c: New files.
2498         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
2499         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
2500         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
2501         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
2502         * config/t-openbsd-thread: New file.
2503         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
2504         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
2505         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
2506         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
2507         qrnnd.S.
2508         Adapt filename.
2509         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
2510         to refer to gthr-posix.c.
2511         * config/alpha/t-vms (LIB2ADD): Set.
2512         * config/alpha/vms-gcc_shell_handler.c: New file.
2513         * config/arm/bpabi.c, config/arm/fp16.c,
2514         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
2515         config/arm/unaligned-funcs.c: New files.
2516         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
2517         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2518         * config/arm/t-linux: Likewise.
2519         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
2520         * config/arm/t-netbsd: New file.
2521         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
2522         * config/arm/t-symbian (LIB2ADD_ST): Set.
2523         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
2524         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2525         * config/bfin/t-elf: New file.
2526         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
2527         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
2528         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
2529         config/c6x/ltf.c: New files.
2530         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
2531         (HOST_LIBGCC2_CFLAGS): Set.
2532         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
2533         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2534         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
2535         New files.
2536         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
2537         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
2538         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
2539         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
2540         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
2541         files.
2542         * config/frv/t-frv (LIB2ADD): Set.
2543         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2544         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
2545         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
2546         config/h8300/popcounthi2.c: New files.
2547         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2548         * config/i386/gthr-win32.c: New file.
2549         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
2550         * config/i386/t-cygwin: Likewise.
2551         * config/i386/t-darwin, config/i386/t-darwin64,
2552         config/i386/t-gthr-win32, config/i386/t-interix: New files.
2553         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
2554         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2555         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2556         * config/ia64/quadlib.c: New file.
2557         * config/ia64/t-hpux (LIB2ADD): Set.
2558         * config/ia64/t-ia64: Add comment.
2559         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
2560         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2561         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
2562         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
2563         * config/m32c/t-m32c (LIB2ADD): Set.
2564         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2565         * config/m32r/t-m32r: Likewise.
2566         * config/m68k/fpgnulib.c: New file.
2567         * config/m68k/t-floatlib (LIB2ADD): Set.
2568         (xfgnulib.c): New target.
2569         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
2570         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
2571         * config/mep/t-mep (LIB2ADD): Set.
2572         * config/microblaze/divsi3.asm: Rename to divsi3.S.
2573         * config/microblaze/moddi3.asm: Rename to moddi3.S.
2574         * config/microblaze/modsi3.asm: Rename to modsi3.S.
2575         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
2576         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
2577         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
2578         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
2579         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
2580         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
2581         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
2582         New files.
2583         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
2584         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
2585         * config/pa/fptr.c, config/pa/lib2funcs.S,
2586         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
2587         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2588         (LIB2ADD, LIB2ADD_ST): Set.
2589         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
2590         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
2591         Set.
2592         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
2593         * config/pdp11/t-pdp11: New file.
2594         * config/picochip/libgccExtras/adddi3.S,
2595         config/picochip/libgccExtras/ashlsi3.S,
2596         config/picochip/libgccExtras/ashrsi3.S,
2597         config/picochip/libgccExtras/clzsi2.S,
2598         config/picochip/libgccExtras/cmpsi2.S,
2599         config/picochip/libgccExtras/divmod15.S,
2600         config/picochip/libgccExtras/divmodhi4.S,
2601         config/picochip/libgccExtras/divmodsi4.S,
2602         config/picochip/libgccExtras/lshrsi3.S,
2603         config/picochip/libgccExtras/parityhi2.S,
2604         config/picochip/libgccExtras/popcounthi2.S,
2605         config/picochip/libgccExtras/subdi3.S,
2606         config/picochip/libgccExtras/ucmpsi2.S,
2607         config/picochip/libgccExtras/udivmodhi4.S,
2608         config/picochip/libgccExtras/udivmodsi4.S: New files.
2609         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
2610         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
2611         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
2612         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
2613         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
2614         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
2615         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
2616         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
2617         files.
2618         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
2619         (HOST_LIBGCC2_CFLAGS): Set.
2620         * config/rs6000/t-darwin64: New file.
2621         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
2622         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
2623         * config/rs6000/t-ppccomm (LIB2ADD): Add
2624         $(srcdir)/config/rs6000/tramp.S.
2625         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
2626         Add  $(srcdir)/config/rs6000/eabi.S.
2627         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
2628         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
2629         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
2630         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
2631         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
2632         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
2633         * config/rs6000/tramp.S: New file.
2634         * config/s390/t-tpf: Remove.
2635         * config/sh/linux-atomic.S: New file.
2636         * config/sh/t-linux (LIB2ADD): Set.
2637         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
2638         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2639         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
2640         to unwind-dw2.c.
2641         (HOST_LIBGCC2_CFLAGS): Set.
2642         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2643         * config/spu/divmodti4.c, config/spu/divv2df3.c,
2644         config/spu/float_disf.c, config/spu/float_unsdidf.c,
2645         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
2646         config/spu/mfc_multi_tag_release.c,
2647         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
2648         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
2649         config/spu/multi3.c: New files.
2650         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
2651         (HOST_LIBGCC2_CFLAGS): Set.
2652         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
2653         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
2654         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
2655         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
2656         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
2657         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
2658         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
2659         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
2660         config/stormy16/umodsi3.c: New files.
2661         * config/xtensa/lib2funcs.S: New file.
2662         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2663         * config/xtensa/t-xtensa (LIB2ADD): Set.
2664         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
2665         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
2666         Add t-freebsd-thread to tmake_file for posix threads.
2667         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
2668         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
2669         (*-*-lynxos*): Likewise.
2670         (*-*-netbsd*): Likewise.
2671         (*-*-openbsd*): Likewise.
2672         Add t-openbsd-thread to tmake_file for posix threads.
2673         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
2674         (*-*-vxworks*): Set tmake_file.
2675         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2676         (alpha*-*-freebsd*): Likewise.
2677         (alpha*-*-netbsd*): Likewise.
2678         (alpha*-*-openbsd*): Likewise.
2679         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
2680         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2681         (alpha*-dec-*vms*): Likewise.
2682         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
2683         (bfin*-elf*): Add bfin/t-elf to tmake_file.
2684         (bfin*-uclinux*): Likewise.
2685         (bfin*-linux-uclibc*): Likewise.
2686         (crisv32-*-elf): Add cris/t-cris to tmake_file.
2687         (crisv32-*-none): Likewise.
2688         (cris-*-elf): Likewise.
2689         (cris-*-none): Likewise.
2690         (cris-*-linux*, crisv32-*-linux*): Likewise.
2691         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
2692         tmake_file.
2693         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
2694         tmake_file.
2695         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
2696         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
2697         (x86_64-*-elf*): Likewise.
2698         (i[34567]86-*-nto-qnx*): Likewise.
2699         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
2700         win32 threads.
2701         (x86_64-*-mingw*): Likewise.
2702         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
2703         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
2704         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2705         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2706         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
2707         tmake_file.
2708         (mipsisa64sr71k-*-elf*): Likewise.
2709         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2710         (mips-*-elf*, mipsel-*-elf*): Likewise.
2711         (mips64-*-elf*, mips64el-*-elf*): Likewise.
2712         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2713         (mips*-*-rtems*): Likewise.
2714         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
2715         to tmake_file.
2716         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
2717         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
2718         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
2719         (spu-*-elf*): Likewise.
2720         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
2722 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2724         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
2725         $(srcdir) to refer to $(LIB1ASMSRC).
2726         Use $<.
2727         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
2728         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
2729         config/arm/lib1funcs.S: New files.
2730         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
2731         * config/arm/t-arm: New file.
2732         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
2733         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
2734         config/arm/t-strongarm-elf: New files.
2735         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
2736         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
2737         * config/avr/lib1funcs.S: New file.
2738         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2739         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
2740         * config/c6x/lib1funcs.S: New file.
2741         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2742         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
2743         * config/frv/lib1funcs.S: New file.
2744         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2745         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
2746         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
2747         * config/ia64/__divxf3.asm: Rename to ...
2748         * config/ia64/__divxf3.S: ... this.
2749         Adapt lib1funcs.asm filename.
2750         * config/ia64/_fixtfdi.asm: Rename to ...
2751         * config/ia64/_fixtfdi.S: ... this.
2752         Adapt lib1funcs.asm filename.
2753         * config/ia64/_fixunstfdi.asm: Rename to ...
2754         * config/ia64/_fixunstfdi.S: ... this.
2755         Adapt lib1funcs.asm filename.
2756         * config/ia64/_floatditf.asm: Rename to ...
2757         * config/ia64/_floatditf.S: ... this.
2758         Adapt lib1funcs.asm filename.
2759         * config/ia64/lib1funcs.S: New file.
2760         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
2761         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2762         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
2763         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
2764         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
2765         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
2766         * config/mep/lib1funcs.S: New file.
2767         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2768         * config/mips/mips16.S: New file.
2769         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2770         * config/pa/milli64.S: New file.
2771         * config/pa/t-linux, config/pa/t-linux64: New files.
2772         * config/picochip/lib1funcs.S: New file.
2773         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2774         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
2775         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
2776         * config/sh/t-netbsd: New file.
2777         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
2778         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
2779         * config/sh/t-sh64: New file.
2780         * config/sparc/lb1spc.S: New file.
2781         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
2782         filename.
2783         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
2784         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
2785         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
2786         config/xtensa/lib1funcs.S: New files.
2787         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2788         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
2789         tmake_file.
2790         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
2791         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
2792         (arm*-*-linux*): Likewise.
2793         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
2794         arm*-*-linux-*eabi, add arm/t-linux otherwise.
2795         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
2796         (arm*-*-ecos-elf): Likewise.
2797         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2798         (arm*-*-rtems*): Likewise.
2799         (arm*-*-elf): Likewise.
2800         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
2801         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
2802         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
2803         (bfin*-uclinux*): Likewise.
2804         (bfin*-linux-uclibc*): Likewise.
2805         (bfin*-rtems*): Likewise.
2806         (bfin*-*): Likewise.
2807         (fido-*-elf): Merge into m68k-*-elf*.
2808         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
2809         (frv-*-*linux*): Add frv/t-frv to tmake_file.
2810         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
2811         (h8300-*-elf*): Likewise.
2812         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
2813         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
2814         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
2815         (i[34567]86-*-mingw*): Likewise.
2816         (x86_64-*-mingw*): Likewise.
2817         (i[34567]86-*-interix3*): Likewise.
2818         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
2819         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
2820         (m68k-*-elf*): Also handle fido-*-elf.
2821         Add m68k/t-floatlib to tmake_file.
2822         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
2823         (m68k-*-linux*): Likewise.
2824         (m68k-*-rtems*): Likewise.
2825         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
2826         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
2827         sh64*-*-*.
2828         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
2829         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
2830         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
2831         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
2832         sh/t-netbsd to tmake_file.
2833         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
2834         (sh-*-rtems*): Add sh/t-sh to tmake_file.
2835         (sh-wrs-vxworks): Likewise.
2836         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
2837         *-leon[3-9]*.
2838         (v850*-*-*): Add v850/t-v850 to tmake_file.
2839         (vax-*-linux*): Add vax/t-linux to tmake_file.
2840         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
2842 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2844         * crtstuff.c: New file.
2845         * Makefile.in (CRTSTUFF_CFLAGS): Define.
2846         (CRTSTUFF_T_CFLAGS): Define.
2847         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
2848         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
2849         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
2850         crtstuff.c.
2851         Use $<.
2852         (crtbeginT.o): Use $(objext).
2853         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
2854         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
2855         (gcc-extra-parts): Remove.
2856         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
2857         Set extra_parts.
2858         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2859         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
2860         Add t-crtstuff-pic to tmake_file.
2861         (*-*-lynxos*): New case.
2862         Set tmake_file, extra_parts.
2863         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
2864         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
2865         *-*-netbsdelf[2-9]*.
2866         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
2867         (*-*-rtems*): Set extra_parts.
2868         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
2869         (*-*-uclinux*): New case.
2870         Set extra_parts.
2871         (*-*-vms*): New case.
2872         Set tmake_file, extra_parts.
2873         (*-*-elf): Set extra_parts.
2874         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
2875         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
2876         vms/t-vms64.
2877         Set extra_parts.
2878         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
2879         Set extra_parts.
2880         (arm*-*-freebsd*): Add t-crtin to tmake_file.
2881         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
2882         (arm-wrs-vxworks): Append to tmake_file.
2883         Set extra_parts.
2884         (arm*-*-uclinux*): Set extra_parts.
2885         (arm*-*-ecos-elf): Likewise.
2886         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
2887         arm*-*-eabi*.
2888         (arm*-*-rtems*): Set extra_parts.
2889         (arm*-*-elf): Likewise.
2890         (avr-*-rtems*): Clear extra_parts.
2891         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
2892         Set extra_parts.
2893         (bfin*-uclinux*): Likewise.
2894         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
2895         (bfin*-rtems*): Append to tmake_file.
2896         Set extra_parts.
2897         (bfin*-*): Likewise.
2898         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
2899         (crisv32-*-elf): ... this.
2900         (crisv32-*-none): ... this.
2901         (cris-*-elf, cris-*-none): New cases.
2902         Add cris/t-elfmulti to tmake_file.
2903         (fr30-*-elf): Append to tmake_file.
2904         Set extra_parts.
2905         (frv-*-elf): Append to tmake_file, add frv/t-frv.
2906         Set extra_parts.
2907         (h8300-*-rtems*): Append to tmake_file.
2908         Set extra_parts.
2909         (h8300-*-elf*): Likewise.
2910         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
2911         Set extra_parts.
2912         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
2913         Set extra_parts.
2914         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
2915         (x86_64-*-elf*): Likewise.
2916         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
2917         (x86_64-*-freebsd*): Likewise.
2918         (x86_64-*-netbsd*): Likewise.
2919         (i[34567]86-*-linux*): Likewise.
2920         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2921         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2922         (x86_64-*-linux*): Likewise.
2923         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2924         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
2925         tmake_file.
2926         Set extra_parts.
2927         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
2928         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
2929         Append to extra_parts, remove crtbegin.o, crtend.o.
2930         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
2931         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
2932         crtend.o, crtbeginS.o, crtendS.o.
2933         (ia64*-*-linux*): Comment extra_parts.
2934         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
2935         Set extra_parts.
2936         (iq2000*-*-elf*): Clear extra_parts.
2937         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
2938         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
2939         (m32r-*-elf*, m32r-*-rtems*): Split off ...
2940         (m32r-*-rtems*): ... this.
2941         Add m32r/t-m32r to tmake_file.
2942         (m68k-*-elf*): Add t-crtin to tmake_file.
2943         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
2944         (mcore-*-elf): Likewise.
2945         (microblaze*-*-*): Set extra_parts.
2946         (mips*-sde-elf*): New case.
2947         Set tmake_file, extra_parts.
2948         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2949         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2950         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
2951         tmake_file.
2952         Set extra_parts.
2953         (mipsisa64sr71k-*-elf*): Likewise.
2954         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2955         (mips-*-elf*, mipsel-*-elf*): Likewise.
2956         (mips64-*-elf*, mips64el-*-elf*): Likewise.
2957         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
2958         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
2959         (mips*-*-rtems*): Likewise.
2960         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
2961         (moxie-*-*): Split into ...
2962         (moxie-*-elf, moxie-*-uclinux*): ... this.
2963         Add to extra_parts, remove crtbegin.o, crtend.o.
2964         (moxie-*-rtems*): New case.
2965         Set tmake_file.
2966         Clear extra_parts.
2967         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
2968         Set extra_parts.
2969         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2970         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
2971         tmake_file.
2972         Set extra_parts.
2973         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
2974         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
2975         Set extra_parts.
2976         (powerpc-*-eabisim*): Likewise.
2977         (powerpc-*-elf*): Likewise.
2978         (powerpc-*-eabialtivec*): Likewise.
2979         (powerpc-xilinx-eabi*): Likewise.
2980         (powerpc-*-eabi*): Likewise.
2981         (powerpc-*-rtems*): Likewise.
2982         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
2983         tmake_file.
2984         Set extra_parts.
2985         (powerpc-*-lynxos*): Add to tmake_file.
2986         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
2987         rs6000/t-crtstuff, t-crtstuff-pic.
2988         Set extra_parts.
2989         (powerpcle-*-eabisim*): Likewise.
2990         (powerpcle-*-eabi*): Likewise.
2991         (rx-*-elf): Remove extra_parts.
2992         (s390x-ibm-tpf*): Set extra_parts.
2993         (score-*-elf): Set extra_parts.
2994         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2995         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2996         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2997         (sh64l*-*-netbsd*): Split into ...
2998         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
2999         Add t-crtstuff-pic to tmake_file.
3000         Set extra_parts.
3001         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
3002         Set extra_parts.
3003         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
3004         (sparc-*-elf*): Remove t-crtin from tmake_file.
3005         Add to extra_parts, remove crtbegin.o, crtend.o.
3006         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
3007         (sparc64-*-linux*): Likewise.
3008         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
3009         Add to extra_parts, remove crtbegin.o, crtend.o.
3010         (sparc64-*-elf*): Remove t-crtin from tmake_file.
3011         Add to extra_parts, remove crtbegin.o, crtend.o.
3012         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
3013         Add to extra_parts, remove crtbegin.o, crtend.o.
3014         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
3015         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
3016         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
3017         Set extra_parts.
3018         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
3019         Set extra_parts.
3020         (tic6x-*-*): Change to ...
3021         (tic6x-*-elf): ... this.
3022         Set extra_parts.
3023         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
3024         Set extra_parts.
3025         (am33_2.0-*-linux*): Add comment.
3026         (mep*-*-*): Add mep/t-mep to tmake_file.
3027         Set extra_parts.
3028         * config/alpha/t-vms: New file.
3029         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
3030         * config/arm/crti.S, config/arm/crtn.S: New files.
3031         * config/bfin/crti.S, config/bfin/crtn.S: New files.
3032         * config/bfin/crtlibid.S: New file.
3033         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
3034         * config/c6x/crti.S, config/c6x/crtn.S: New files.
3035         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
3036         (crti.o, crtin.o): New rules.
3037         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
3038         * config/c6x/t-uclinux: New file.
3039         * config/cris/t-elfmulti: New file.
3040         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
3041         * config/fr30/crti.S, config/fr30/crtn.S: New files.
3042         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
3043         * config/frv/t-frv: New file.
3044         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
3045         * config/h8300/crti.S, config/h8300/crtn.S: New files.
3046         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
3047         New files.
3048         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
3049         refer to cygming-crtbegin.c, cygming-crtend.c.
3050         Use $<.
3051         * config/i386/t-nto: New file.
3052         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
3053         * config/ia64/crti.S, config/ia64/crtn.S: New files.
3054         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
3055         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
3056         Use .S extension.
3057         Use $<.
3058         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
3059         (crtinitS.o): New rule.
3060         * config/ia64/vms-crtinit.S: New file.
3061         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
3062         * config/m32r/initfini.c: New file.
3063         * config/m32r/t-linux, config/m32r/t-m32r: New files.
3064         * config/m68k/crti.S, config/m68k/crtn.S: New files.
3065         * config/mcore/crti.S, config/mcore/crtn.S: New files.
3066         * config/mep/t-mep: New file.
3067         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
3068         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
3069         * config/mips/crti.S, config/mips/crtn.S: New files.
3070         * config/mips/t-crtstuff: New file.
3071         * config/mmix/crti.S, config/mmix/crtn.S: New files.
3072         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
3073         (CUSTOM_CRTIN): Set.
3074         ($(T)crti.o, $(T)crtn.o): Remove $(T),
3075         dependencies.
3076         Use $(srcdir) to refer to crti.S, crtn.S.
3077         Use .S extension, $<.
3078         * config/moxie/crti.asm: Rename to ...
3079         * config/moxie/crti.S: ... this.
3080         * config/moxie/crtn.asm: Rename to ...
3081         * config/moxie/crtn.S: ... this.
3082         * config/moxie/t-moxie: Remove.
3083         * config/pa/stublib.c: New file.
3084         * config/pa/t-stublib, config/pa/t-stublib64: New files.
3085         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
3086         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
3087         * config/rs6000/t-crtstuff: New file.
3088         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
3089         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
3090         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
3091         Make output file explicit.
3092         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
3093         Make output file explicit.
3094         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
3095         Make output file explicit.
3096         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
3097         Make output file explicit.
3098         * config/score/crti.S, config/score/crtn.S: New files.
3099         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
3100         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
3101         files.
3102         * config/sh/t-sh, config/sh/t-superh: New files.
3103         * config/sparc/t-linux64: New file.
3104         * config/spu/cache.S, config/spu/cachemgr.c: New files.
3105         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
3106         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
3107         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
3108         * config/t-crtin: Remove.
3109         * config/t-crtstuff-pic: New file.
3110         * config/t-sol2 (CUSTOM_CRTIN): Set.
3111         (crti.o, crtn.o): New rules.
3112         * config/vms/t-vms: New file.
3113         * config/vms/vms-ucrt0.c: New file.
3114         * config/xtensa/t-elf: New file.
3116 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3118         * Makefile.in (SHLIB_NM_FLAGS): Set.
3119         * mkmap-flat.awk, mkmap-symver.awk: New files.
3120         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
3121         exceptions.
3122         * configure: Regenerate.
3123         * config/libgcc-glibc.ver: New file.
3124         * config/libgcc-libsystem.ver: New file.
3125         * config/t-libunwind (SHLIB_LC): Set.
3126         * config/t-linux: New file.
3127         * config/t-slibgcc (INSTALL_SHLIB): New.
3128         (SHLIB_INSTALL): Use it.
3129         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
3130         to mkmap-symver.awk.
3131         (SHLIB_MAPFILES): Don't append, adapt pathname.
3132         (SHLIB_VERPFX): Set.
3133         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
3134         to mkmap-symver.awk.
3135         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
3136         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
3137         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
3138         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
3139         to mkmap-flat.awk.
3140         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
3141         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
3142         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
3143         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
3144         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
3145         * config/i386/libgcc-darwin.10.4.ver,
3146         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
3147         New files.
3148         * config/i386/t-darwin: Remove.
3149         * config/i386/t-darwin64: Likewise.
3150         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
3151         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
3152         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
3153         * config/i386/t-linux: New file.
3154         * config/i386/t-mingw32: New file.
3155         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
3156         * config/ia64/t-glibc: Rename to ...
3157         * config/ia64/t-linux: ... this.
3158         (SHLIB_MAPFILES): Set.
3159         * config/ia64/t-glibc-libunwind: Rename to ...
3160         * config/ia64/t-linux-libunwind: ... this.
3161         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
3162         * config/ia64/t-slibgcc-hpux: New file.
3163         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
3164         * config/m68k/t-slibgcc-elf-ver: New file.
3165         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
3166         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
3167         to mkmap-flat.awk.
3168         * config/pa/t-slibgcc-hpux: New file.
3169         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
3170         files.
3171         * config/rs6000/libgcc-darwin.10.4.ver,
3172         config/rs6000/libgcc-darwin.10.5.ver: New files.
3173         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
3174         config/rs6000/libgcc-glibc.ver.
3175         * config/rs6000/libgcc-ppc64.ver: Rename to
3176         config/rs6000/libgcc-ibm-ldouble.ver.
3177         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
3178         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
3179         * config/rs6000/t-ldbl128: Rename to ...
3180         * config/rs6000/t-linux: ... this.
3181         (SHLIB_MAPFILES): Adapt filename.
3182         * config/rs6000/t-slibgcc-aix: New file.
3183         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
3184         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
3185         libgcc-excl.ver, libgcc-glibc.ver.
3186         (SHLIB_LINK, SHLIB_INSTALL): Remove.
3187         * config/sparc/libgcc-glibc.ver: New file.
3188         * config/sparc/t-linux: New file.
3189         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
3190         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
3191         t-slibgcc-elf-ver to tmake_file.
3192         Add t-slibgcc-nolc-override to tmake_file for posix threads on
3193         *-*-freebsd[34].
3194         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3195         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
3196         t-slibgcc-elf-ver, t-linux to tmake_file.
3197         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
3198         tmake_file.
3199         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
3200         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
3201         (alpha*-dec-*vms*): Likewise.
3202         (arm*-*-freebsd*): Append to tmake_file.
3203         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
3204         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
3205         arm*-*-linux-*eabi.
3206         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
3207         tmake_file for arm*-*-symbianelf*.
3208         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
3209         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
3210         cris/t-linux.
3211         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
3212         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
3213         pa/t-slibgcc-dwarf-ver to tmake_file.
3214         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
3215         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
3216         (hppa*64*-*-hpux11*): Likewise.
3217         (hppa[12]*-*-hpux11*): Likewise.
3218         (x86_64-*-darwin*): Don't override tmake_file, but only keep
3219         i386/t-crtpc, i386/t-crtfm.
3220         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
3221         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
3222         to tmake_file.
3223         Add i386/t-cygwin to tmake_file.
3224         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
3225         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
3226         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
3227         to tmake_file.
3228         Add i386/t-mingw32 to tmake_file.
3229         (x86_64-*-mingw*): Likewise.
3230         (ia64*-*-freebsd*): Append to tmake_file.
3231         (ia64*-*-linux*): Append to tmake_file.
3232         Replace ia64/t-glibc by ia64/t-linux.
3233         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
3234         system libunwind.
3235         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
3236         t-slibgcc-hpux to tmake_file.
3237         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
3238         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
3239         (m32rle-*-linux*): Likewise.
3240         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
3241         sjlj exceptions.
3242         (microblaze*-linux*): New case.
3243         Append to tmake_file, add t-slibgcc-nolc-override.
3244         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
3245         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3246         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
3247         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3248         rs6000/t-slibgcc-aix to tmake_file.
3249         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3250         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3251         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3252         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3253         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3254         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
3255         sh*-*-linux*.
3256         (sparc-*-linux*): Append to tmake_file for *-leon*.
3257         Add sparc/t-linux to tmake_file for non-Leon targets.
3258         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
3259         (tic6x-*-uclinux): New case.
3260         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
3261         (tic6x-*-*): Add c6x/t-elf to tmake_file.
3262         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
3263         (am33_2.0-*-linux*): Append to tmake_file.
3264         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3265         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
3266         x86_64-*-kfreebsd*-gnu.
3267         Add i386/t-linux to tmake_file.
3269 2011-10-28  Ian Lance Taylor  <iant@google.com>
3271         * config/i386/morestack.S: Correct CFI information to do proper
3272         returns throughout function.  In 32-bit mode, save %ebx so that it
3273         is restored on unwind.
3275 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
3277         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
3278         case where B3 isn't the return register.
3280         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
3281         logic for doubleword pops.
3283 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
3285         * config/rs6000/t-freebsd: Add wildcard.
3287 2011-10-21  Paul Brook  <paul@codesourcery.com>
3289         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
3291 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
3292             Eric Botcazou  <ebotcazou@adacore.com>
3294         PR target/50737
3295         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
3296         fs->signal_frame to 1.
3298 2011-10-07  Ian Lance Taylor  <iant@google.com>
3300         * generic-morestack-thread.c: #include <errno.h>.
3302 2011-10-07  Ian Lance Taylor  <iant@google.com>
3304         PR target/46093
3305         * generic-morestack.c (__generic_morestack): Make sure the segment
3306         is large enough for both the stack frame and the copied
3307         parameters.
3309 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3311         PR bootstrap/49804
3312         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
3313         extra_parts.
3315 2011-09-28  Nick Clifton  <nickc@redhat.com>
3317         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
3318         64-bit doubles are not enabled.
3319         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
3320         and floatunsisf functions.
3322 2011-09-13  Paul Brook  <paul@codesourcery.com>
3324         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
3325         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
3326         * unwind-arm-common.inc: New file.
3327         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
3328         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
3329         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
3330         * config/c6x/libunwind.S: New file.
3331         * config/c6x/pr-support.c: New file.
3332         * config/c6x/unwind-c6x.c: New file.
3333         * config/c6x/unwind-c6x.h: New file.
3334         * config/c6x/t-c6x-elf: New file.
3336 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
3338         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
3339         (ASM_DIVZERO): Ditto.
3340         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
3342 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
3344         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
3346 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
3348         PR target/50090
3349         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
3350         instead of an assembly one.
3352 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
3354         PR bootstrap/50047
3355         * Makefile.in (install-unwind_h): Create
3356         $(gcc_objdir)/include/unwind.h atomically.
3358 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3360         * Makefile.in (install-unwind_h): Remove destination file first.
3362 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3364         * sync.c: New file.
3365         * config/mips/t-mips16: New file.
3366         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
3367         (mips*-*-linux*): Likewise.
3368         (mips*-sde-elf*): Likewise.
3369         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
3370         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
3371         Add mips/t-mips16 to tmake_file.
3372         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
3373         (mips-*-elf*): Likewise.
3374         (mips64-*-elf*): Likewise.
3375         (mips64orion-*-elf*): Likewise.
3376         (mips*-*-rtems*): Likewise.
3377         (mipstx39-*-elf*): Likewise.
3378         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
3379         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
3380         LIBGCC_SYNC_CFLAGS.
3381         Use $(srcdir) to refer to sync.c.
3382         Use $<.
3383         ($(libgcc-sync-funcs-o)): Likewise.
3384         ($(libgcc-sync-size-funcs-s-o)): Likewise.
3385         ($(libgcc-sync-funcs-s-o)): Likewise.
3387 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
3389         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
3390         t-libunwind.
3392 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
3394         PR other/48007
3395         * config/i386/value-unwind.h: New.
3397 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
3399         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
3400         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
3401         Add to tmake_file rather than overriding it.
3403 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3405         * config/t-softfp: Remove.
3406         * soft-fp: Moved from ../gcc/config.
3407         * soft-fp/README: Remove t-softfp reference.
3408         * soft-fp/t-softfp: Move to config/t-softfp.
3409         (softfp_machine_header): Remove.
3410         (softfp_file_list): Remove config subdir.
3411         (soft-fp-objects): New variable.
3412         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
3413         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
3414         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
3415         * config/t-softfp-excl: New file.
3416         * config/t-softfp-sfdf: New file.
3417         * config/t-softfp-tf: New file.
3418         * config/no-sfp-machine.h: New file.
3419         * config/arm/sfp-machine.h: New file.
3420         * config/arm/t-softfp: New file.
3421         * config/c6x/sfp-machine.h: New file.
3422         * config/i386/32/t-fprules-softfp: Rename to ...
3423         * config/i386/32/t-softfp: ... this.
3424         (tifunctions, LIB2ADD): Remove.
3425         (softfp_int_modes): Override.
3426         * config/i386/64/t-softfp-compat (tf-functions): Remove config
3427         subdir.
3428         * config/i386/64/eqtf2.c: Likewise.
3429         * config/i386/64/getf2.c: Likewise.
3430         * config/i386/64/letf2.c: Likewise.
3431         * config/ia64/sft-machine.h: New file.
3432         * config/ia64/t-fprules-softfp: Rename to ...
3433         * config/ia64/t-softfp: ... this.
3434         * config/lm32/sfp-machine.h: New file.
3435         * config/moxie/t-moxie-softfp: Remove.
3436         * config/rs6000/ibm-ldouble-format: New file.
3437         * config/rs6000/ibm-ldouble.c: New file.
3438         * config/rs6000/libgcc-ppc-glibc.ver: New file
3439         * config/rs6000/libgcc-ppc64.ver: New file
3440         * config/rs6000/sfp-machine.h: New file.
3441         * config/rs6000/t-freebsd: New file.
3442         * config/rs6000/t-ibm-ldouble: New file.
3443         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
3444         libgcc-ppc-glibc.ver.
3445         * config/rs6000/t-linux64: New file.
3446         * config/rs6000/t-ppccomm (LIB2ADD): Add
3447         $(srcdir)/config/rs6000/ibm-ldouble.c.
3448         * config/rs6000/t-ppccomm-ldbl: New file.
3449         * config/score/sfp-machine.h: New file.
3450         * config.host (sfp_machine_header): Explain.
3451         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
3452         t-softfp to tmake_file.
3453         (arm*-*-uclinux*): Likewise.
3454         (arm*-*-ecos-elf): Likewise.
3455         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
3456         (arm*-*-rtems*): Likewise.
3457         (arm*-*-elf): Likewise.
3458         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
3459         in tmake_file.
3460         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
3461         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
3462         (lm32-*-uclinux*): Likewise.
3463         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
3464         t-softfp-excl, t-softfp.
3465         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
3466         (powerpc64-*-darwin*): Likewise.
3467         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
3468         to tmake_file.
3469         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
3470         tmake_file.
3471         (powerpc-*-eabisim*): Likewise.
3472         (powerpc-*-elf*): Likewise.
3473         (powerpc-*-eabialtivec*): Likewise.
3474         (powerpc-xilinx-eabi*): Likewise.
3475         (powerpc-*-rtems*): Likewise.
3476         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
3477         t-softfp-excl, t-softfp to tmake_file.
3478         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
3479         rs6000/t-ppccomm-ldbl to tmake_file.
3480         (powerpcle-*-elf*): Likewise.
3481         (powerpcle-*-eabisim*): Likewise.
3482         (powerpcle-*-eabi*): Likewise.
3483         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3484         rs6000/t-ibm-ldouble to tmake_file.
3485         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3486         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3487         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
3488         (tic6x-*-*): Likewise.
3489         (i[34567]86-*-darwin*, x86_64-*-darwin*,
3490         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
3491         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
3492         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
3493         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
3494         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
3495         t-softfp to tmake_file.
3496         * configure.ac (sfp_machine_header): Provide default if unset.
3497         Substitute.
3498         Link sfp-machine.h to config/$sfp_machine_header.
3499         * configure: Regenerate.
3501 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3503         * Makefile.in (double_type_size, long_double_type_size): Set.
3504         Remove $(fpbit-in-libgcc) support.
3505         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
3506         (fpbit-src): New variable.
3507         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
3508         Compile with -DFLOAT $(FPBIT_CFLAGS).
3509         Use $<.
3510         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
3511         Compile with $(FPBIT_CFLAGS).
3512         Use $<.
3513         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
3514         Compile with -DFLOAT $(TPBIT_CFLAGS).
3515         Use $<.
3516         * configure.ac (double_type_size, long_double_type_size):
3517         Determine and substitute.
3518         * configure: Regenerate.
3519         * fp-bit.c, fp-bit.h: New files.
3520         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
3521         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
3522         * config/mips/t-mips: New file.
3523         * config/mips/t-sdemtk: New file.
3524         * config/rs6000/ppc64-fp.c: New file.
3525         * config/rs6000/t-darwin (LIB2ADD): Add
3526         $(srcdir)/config/rs6000/ppc64-fp.c.
3527         * config/rs6000/t-ppc64-fp: New file.
3528         * config/rx/rx-lib.h: New file.
3529         * config/rx/t-rx (FPBIT): Set to true.
3530         ($(gcc_objdir)/fp-bit.c): Remove.
3531         (DPBIT): Set to true only with -m64bit-doubles.
3532         ($(gcc_objdir)/dp-bit.c): Remove.
3533         * config/sparc/t-softfp: Remove.
3534         * config/spu/t-elf: New file.
3535         * config/t-fdpbit, config/t-fpbit: New files.
3536         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
3537         (mips*-*-*): Likewise.
3538         (arm-wrs-vxworks): Likewise.
3539         (arm*-*-freebsd*): Likewise.
3540         (avr-*-rtems*): Add t-fpbit to tmake_file.
3541         (avr-*-*): Likewise.
3542         (bfin*-elf*): Add t-fdpbit to tmake_file.
3543         (bfin*-uclinux*): Likewise.
3544         (bfin*-linux-uclibc*): Likewise.
3545         (bfin*-rtems*): New case.
3546         Add t-fdpbit to tmake_file.
3547         (bfin*-*): Add t-fdpbit to tmake_file.
3548         (crisv32-*-elf): Likewise.
3549         (cris-*-linux*): Likewise.
3550         (fr30-*-elf): Likewise.
3551         (frv-*-elf, frv-*-*linux*): Likewise.
3552         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
3553         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
3554         (m32r-*-elf*): Likewise.
3555         (m32rle-*-elf*): Likewise.
3556         (m32r-*-linux*): Likewise.
3557         (m32rle-*-linux*): Likewise.
3558         (mcore-*-elf): Add t-fdpbit to tmake_file.
3559         (microblaze*-*-*): Likewise.
3560         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
3561         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
3562         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
3563         Fix typo.
3564         Add mips/t-tpbit to tmake-file.
3565         (mips*-*-linux*): Fix typo.
3566         (mips*-sde-elf*): New case
3567         Add mips/t-sdemtk unless using newlib.
3568         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
3569         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
3570         (mn10300-*-*): Likewise.
3571         (pdp11-*-*): Likewise.
3572         (picochip-*-*): Add t-fpbit to tmake_file.
3573         (powerpc-*-eabisimaltivec*): Likewise.
3574         (powerpc-*-eabisim*): Likewise.
3575         (powerpc-*-elf*): Likewise.
3576         (powerpc-*-eabialtivec*): Likewise.
3577         (powerpc-xilinx-eabi*): New case.
3578         Add t-fdpbit to tmake_file.
3579         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
3580         (powerpc-*-rtems*): Likewise.
3581         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
3582         tmake_file.
3583         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
3584         tmake_file.
3585         (powerpc-*-lynxos*): Likewise.
3586         (powerpcle-*-elf*): Likewise.
3587         (powerpcle-*-eabisim*): Likewise.
3588         (powerpcle-*-eabi*): Likewise.
3589         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3590         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
3591         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3592         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3593         (rx-*-elf): Add t-fdpbit to tmake_file.
3594         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3595         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3596         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3597         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
3598         sh*-*-netbsd*.
3599         (sh-*-rtems*): Add t-fdpbit to tmake_file.
3600         (sh-wrs-vxworks): Likewise.
3601         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
3602         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
3603         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
3604         (sparc64-*-rtems*): ... new case.
3605         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
3606         (spu-*-elf*): Likewise.
3607         Add spu/t-elf to tmake_file.
3608         (v850*-*-*): Add t-fdpbit to tmake_file.
3609         (xstormy16-*-elf): Likewise.
3610         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
3611         (mep*-*-*): Likewise.
3613 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3615         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
3616         variables.
3617         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
3618         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
3619         (install-unwind_h): New target.
3620         (all): Depend on it.
3621         * config.host (unwind_header): New variable.
3622         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
3623         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3624         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
3625         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
3626         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
3627         Set unwind_header.
3628         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
3629         Set unwind_header.
3630         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
3631         arm*-*-eabi*.
3632         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
3633         Set unwind_header.
3634         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
3635         (ia64*-*-freebsd*): Likewise.
3636         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
3637         tmake_file.
3638         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
3639         $with_system_libunwind.
3640         (ia64*-*-hpux*): Set tmake_file.
3641         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
3642         (picochip-*-*): Set tmake_file.
3643         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
3644         md_unwind_header.
3645         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3646         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3647         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
3648         (xtensa*-*-elf*): Set tmake_file.
3649         (xtensa*-*-linux*): Likewise.
3650         * configure.ac: Include ../config/unwind_ipinfo.m4.
3651         Call GCC_CHECK_UNWIND_GETIPINFO.
3652         Link unwind.h to $unwind_header.
3653         * configure: Regenerate.
3654         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
3655         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
3656         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
3657         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
3658         * config/unwind-dw2-fde-darwin.c: New file.
3659         * config/arm/libunwind.S, config/arm/pr-support.c,
3660         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
3661         config/arm/unwind-arm.h,: New files.
3662         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
3663         config/ia64/t-eh-ia64, config/ia64/t-glibc,
3664         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
3665         config/ia64/t-vms, config/ia64/unwind-ia64.c,
3666         config/ia64/unwind-ia64.h: New files.
3667         * config/picochip/t-picochip: New file.
3668         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
3669         files.
3670         * config/rs6000/t-darwin (LIB2ADDEH): Set.
3671         * config/s390/t-tpf (LIB2ADDEH): Remove.
3672         * config/t-darwin (LIB2ADDEH): Set.
3673         * config/t-eh-dw2-dip: New file.
3674         * config/t-libunwind, config/t-libunwind-elf: New files.
3675         * config/t-sol2 (LIB2ADDEH): Remove.
3676         * config/xtensa/t-xtensa: New file.
3678 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
3680         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
3681         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
3682         long long to check rt_sigreturn syscall.
3684 2011-08-02  Alan Modra  <amodra@gmail.com>
3686         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3687         Restore for indirect call bcrtl from correct stack slot, and only
3688         if cfa+40 isn't valid.
3690 2011-08-01  Julian Brown  <julian@codesourcery.com>
3692         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
3693         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
3694         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
3696 2011-08-01  Julian Brown  <julian@codesourcery.com>
3698         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
3699         (libgcc-std.ver.in): Use above.
3700         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
3701         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
3702         throughout file.
3703         * config/t-fixedpoint-gnu-prefix: New file.
3704         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
3705         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
3706         instead of __PFX__.
3708 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
3710         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
3711         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
3712         for x86-64.  Properly check __x86_64__ and __LP64__.
3714 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
3716         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
3717         version.
3718         (_FP_WS_TYPE): Likewise.
3719         (_FP_I_TYPE): Likewise.
3721 2011-07-28  Alan Modra  <amodra@gmail.com>
3723         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3724         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
3725         in a plt call stub.  Do restore r2 if stopped on bctrl.
3727 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3729         * config.host (i[3456x]86-*-netware*): Remove.
3730         * config/i386/netware-crt0.c, config/i386/t-nwld,
3731         config/i386/t-slibgcc-nwld: Remove.
3733 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
3735         * config.host: Handle tic6x-*-*.
3736         * config/c6x/c6x-abi.h: New file.
3738 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3740         * config/i386/crtprec.c: New file.
3741         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
3742         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
3743         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
3744         (x86_64-*-darwin*): Likewise.
3745         (i[34567]86-*-solaris2*: Likewise.
3747 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3749         * config/alpha/crtfastmath.c: New file.
3750         * config/i386/crtfastmath.c: New file.
3751         * config/ia64/crtfastmath.c: New file.
3752         * config/mips/crtfastmath.c: New file.
3753         * config/sparc/crtfastmath.c: New file.
3755         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
3756         crtfastmath.c.
3757         Add -frandom-seed=gcc-crtfastmath.
3758         * config/alpha/t-crtfm: Remove.
3759         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
3760         * config/ia64/t-ia64 (crtfastmath.o): Remove.
3762         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
3763         (alpha*-dec-osf5.1*): Likewise.
3764         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
3765         Add crtfastmath.o to extra_parts.
3766         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
3767         Add crtfastmath.o to extra_parts.
3768         (x86_64-*-darwin*): Likewise.
3769         (x86_64-*-mingw*): Likewise.
3770         (ia64*-*-elf*): Add t-crtfm to tmake_file.
3771         (ia64*-*-freebsd*): Likewise.
3772         (ia64*-*-linux*): Likewise.
3773         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
3774         Add crtfastmath.o to extra_parts.
3776 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3778         * config/darwin-crt3.o: New file.
3779         * config/rs6000/darwin-crt2.c: New file.
3780         * config/t-darwin: New file.
3781         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
3782         (crt2.o): New rule.
3783         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
3784         (powerpc-*-darwin*): Add crt2.o to extra_parts.
3785         (powerpc64-*-darwin*): Likewise.
3787 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3789         * config/i386/netware-crt0.c: New file.
3790         * config/i386/t-nwld: Rename to ...
3791         * config/i386/t-slibgcc-nwld: ... this.
3792         * config/i386/t-nwld: New file.
3793         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
3794         tmake_file.
3795         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
3796         extra_parts.
3798 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3800         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
3801         i386/t-crtstuff.
3802         * configure: Regenerate.
3804 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3806         * dfp-bit.c, dfp-bit.h: New files.
3807         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
3808         variables.
3809         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
3810         ($(d64pbit-o)): Likewise.
3811         ($(d128pbit-o)): Likewise.
3812         * config/t-dfprules: New file.
3813         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
3814         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
3815         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3816         (x86_64-*-linux*): Likewise.
3817         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3818         (i[34567]86-*-cygwin*): Likewise.
3819         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
3820         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3822 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3824         * Makfile.in (LIBGCOV): New variable.
3825         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
3826         * libgcov.c: New file.
3828 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3830         * fixed-bit.c, fixed-bit.h: New files.
3831         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
3832         refer to fixed-bit.c.
3834 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
3836         * config.host (*local*): Remove.
3838 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3840         PR target/39150
3841         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
3842         like i?86-*-solaris2.1[0-9]*.
3843         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
3844         * configure.ac (i?86-*-solaris2*): Likewise.
3845         * configure: Regenerate.
3847 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
3849         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3850         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
3851         md_unwind_header by splitting out of...
3852         (i[34567]86-*-linux*): ... this.
3853         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
3854         Remove md_unwind_header by splitting out of...
3855         (x86_64-*-linux*): ... this.
3857 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
3859         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
3861 2011-06-28  Nick Clifton  <nickc@redhat.com>
3863         * config.host: Recognize all V850 variants.
3865 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
3867         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
3869 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3871         * shared-object.mk (c_flags-$o): Save c_flags.
3872         ($(base)$(objext)): Use it.
3873         ($(base)_s$(objext)): Likewise.
3875 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
3877         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
3878         * libgcc-std.ver.in (GCC_4.7.0): New section.
3880 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
3882         PR target/49313
3883         PR target/29524
3884         * config/avr/t-avr: Fix line endings.
3885         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
3886         _parityXX2.
3888 2011-06-14  Olivier Hainque  <hainque@adacore.com>
3889             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3891         * config/mips/irix6-unwind.h: New file.
3892         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
3894 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
3896         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
3897         (sparc64_fallback_frame_state): Use it.
3898         (sparc64_frob_update_context): Further adjust context.
3899         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
3900         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
3901         * config/sparc/sol2-cn.S: Likewise.
3903 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3905         * enable-execute-stack-empty.c: New file.
3906         * enable-execute-stack-mprotect.c: New file.
3907         * config/i386/enable-execute-stack-mingw32.c: New file.
3908         * config.host (enable_execute_stack): New variable.
3909         Select appropriate variants.
3910         * configure.ac: Link enable-execute-stack.c to
3911         $enable_execute_stack.
3912         * configure: Regenerate.
3913         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
3914         (lib2funcs): Remove _enable_execute_stack.
3916 2011-06-09  David S. Miller  <davem@davemloft.net>
3917             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3919         * config.host (sparc-*-linux*): Correct md_unwind_header
3920         filename.
3921         (s390x-ibm-tpf*): Fix typo.
3923 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3925         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
3926         Add crtfastmath.o to extra_parts.
3927         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
3928         mips/t-crtfm.
3929         * config/mips/t-crtfm: Remove.
3931 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3933         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
3935 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
3937         * config.host (sh*-*-linux*): Fix typo.
3939 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3941         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
3942         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
3943         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
3944         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
3945         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
3946         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
3947         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
3948         Wrap in !__MINGW64__.
3949         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
3950         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
3951         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
3952         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
3953         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
3954         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
3955         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
3956         Wrap in !__LP64__.
3957         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
3958         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
3959         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
3960         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
3961         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
3962         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
3963         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
3964         * config/no-unwind.h: New file.
3965         * config.host (md_unwind_header): Document.
3966         Define.
3967         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
3968         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
3969         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
3970         hppa[12]*-*-hpux11*): Set md_unwind_header.
3971         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
3972         Set md_unwind_header.
3973         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
3974         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
3975         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
3976         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
3977         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
3978         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
3979         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
3980         md_unwind_header.
3981         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
3982         * configure: Regenerate.
3984 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3986         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
3987         Set tmake_file, extra_parts.
3988         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
3989         Remove O32 support.
3990         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
3991         Remove O32 support.
3992         * config/mips/t-irix6: New file.
3993         * config/mips/t-slibgcc-irix: New file.
3995 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3997         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
3998         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
4000 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4002         * configure.ac (target_thread_file): Determine thread model.
4003         * configure: Regenerate.
4004         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
4005         * config/alpha/t-alpha: New file.
4006         * config/alpha/t-crtfm: Use $<.
4007         * config/alpha/t-ieee: New file.
4008         * config/alpha/t-osf-pthread: New file.
4009         * config/alpha/t-slibgcc-osf: New file.
4010         * config/alpha/libgcc-osf5.ver: New file.
4012 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4014         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
4015         tmake_file.
4016         Add crtfastmath.o to extra_parts.
4018 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4020         * config/gmon-sol2.c: Reindent.
4021         Cleanup comments.
4022         Remove, correct casts.
4023         Use STDERR_FILENO, NULL.
4024         (BASEADDRESS): Remove.
4025         (minbrk): Remove.
4026         (errno, sbrk): Remove declarations.
4027         (monstartup) [hp300]: Remove.
4028         (mcount): Remove.
4030 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4032         * Makefile.in (cpu_type): Define.
4033         * config.host (i[34567]86-*-rtems*): Handle it.
4034         (i[34567]86-*-solaris2*): Move body ...
4035         (*-*-solaris2*): ... here.
4036         New case, generalize.
4037         (sparc-*-elf*): Handle it.
4038         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
4039         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
4040         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
4041         Fold into ...
4042         (sparc*-*-solaris2*): ... this.
4043         New case.
4044         (sparc64-*-elf*): Handle it.
4045         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
4046         Merge ../gcc/config/i386/gmon-sol2.c.
4047         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
4048         Use C comments.
4049         Merge ../gcc/config/i386/sol2-gc1.asm.
4050         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
4051         Use C comments.
4052         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
4053         Use C comments.
4054         * config/i386/t-crtfm (crtfastmath.o): Use $<.
4055         * config/i386/t-crtstuff: New file.
4056         * config/i386/t-softfp: New file.
4057         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
4058         $(T)crti.o, $(T)crtn.o): Remove.
4059         (gcrt1.o): New rule.
4060         (TARGET_LIBGCC2_CFLAGS): Remove.
4061         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
4062         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
4063         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
4064         * config/sparc/t-sol2: New file.
4065         * config/sparc/t-crtfm: Move to ...
4066         * config/t-crtfm: ... this.
4067         Use $(cpu_type), $<.
4068         * config/t-crtin: New file.
4069         * config/sparc/t-softfp: New file.
4070         * config/sparc/t-softmul: New file.
4071         * config/t-rtems: New file.
4072         * config/t-slibgcc: New file.
4073         * config/t-slibgcc-elf-ver: New file.
4074         * config/t-slibgcc-gld: New file.
4075         * config/t-slibgcc-sld: New file.
4076         * config/t-sol2: New file.
4077         * configure.ac: Include ../config/lib-ld.m4.
4078         Call AC_LIB_PROG_LD_GNU.
4079         Substitute cpu_type.
4080         * configure: Regenerate.
4082 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
4084         PR bootstrap/49173
4085         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
4086         libgcc-std.ver in the build directory.
4087         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
4088         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
4090 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
4092         * libgcc-std.ver.in: New file.
4093         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
4094         variables.
4095         (libgcc-std.ver): New rule.
4096         * config/t-gnu-prefix: New file.
4098 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4100         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
4102 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
4104         * config/i386/darwin-lib.h: New file.
4106 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
4108         * config/arm/symbian-lib.h: New.
4110 2011-05-04  Chris Demetriou  <cgd@google.com>
4112         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
4113         (__x86.get_pc_thunk.bx): ...this.
4114         (__morestack): Adjust for rename, remove undef of __i686.
4116 2011-05-03  Chris Demetriou  <cgd@google.com>
4118         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
4120 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
4122         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
4123         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
4124         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
4125         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
4126         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
4127         Remove cases.
4129 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
4131         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
4132         Adjust copyright year.
4134 2011-03-07  Ian Lance Taylor  <iant@google.com>
4136         * generic-morestack.c (__splitstack_find): Adjust returned stack
4137         pointer to include all registers pushed by __morestack.
4139 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
4141         PR target/40125
4142         * configure.ac: Call ACX_NONCANONICAL_TARGET.
4143         (toolexecdir): Calculate and AC_SUBST.
4144         (toolexeclibdir): Likewise.
4145         * Makefile.in (target_noncanonical): Import.
4146         (toolexecdir): Likewise.
4147         (toolexeclibdir): Likewise.
4148         * configure: Regenerate.
4150 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
4152         PR target/46040
4153         * config/arm/bpabi.h: Rename to...
4154         * config/arm/bpabi-lib.h: ...this.
4156 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4158         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
4159         appropriate.
4160         * configure: Regenerate.
4162 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
4164         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
4165         __FLOAT_WORD_ORDER__.
4166         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
4167         Delete.
4169 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4171         PR other/46202
4172         * Makefile.in (install-strip): New phony target.
4174 2010-11-07  Ian Lance Taylor  <iant@google.com>
4176         PR target/46089
4177         * config/i386/morestack.S (__morestack_large_model): New
4178         function.
4180 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
4182         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
4183         Delete.
4184         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
4186 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
4188         * config/arm/bpabi.h: New file.
4189         * config/frv/frv-abi.h: New file.
4191 2010-10-01  Ian Lance Taylor  <iant@google.com>
4193         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
4194         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
4196 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
4198         PR target/45858
4199         * config.host: Add the missing `$'.
4201 2010-09-30  Michael Eager  <eager@eagercon.com>
4203         * config.host: Add microblaze*-*-*.
4204         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
4205         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
4206         udivsi3.asm,umodsi3.asm}:  New.
4208 2010-09-28  Ian Lance Taylor  <iant@google.com>
4210         * configure.ac: Adjust CFI test to test assembler directly rather
4211         than checking gcc preprocessor macro.
4212         * configure: Rebuild.
4214 2010-09-27  Ian Lance Taylor  <iant@google.com>
4216         * configure.ac: Test whether assembler supports CFI directives.
4217         * config.host: Only add t-stack and i386/t-stack-i386 to
4218         tmake_file if libgcc_cv_cfi is "yes".
4219         * configure: Rebuild.
4221 2010-09-27  Ian Lance Taylor  <iant@google.com>
4223         * generic-morestack.h: New file.
4224         * generic-morestack.c: New file.
4225         * generic-morestack-thread.c: New file.
4226         * config/i386/morestack.S: New file.
4227         * config/t-stack: New file.
4228         * config/i386/t-stack-i386: New file.
4229         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
4230         i386/t-stack-i386 to tmake_file.
4232 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
4234         * Makefile.in (libgcc-extra-parts):  Check for static archives and
4235         invoke ranlib after installing them.
4236         (gcc-extra-parts): Likewise.
4237         (install-leaf): Likewise.
4239 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
4241         * configure: Regenerated.
4243 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
4245         * configure: Regenerated.
4247 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
4248             Andrew Pinski  <pinskia@gmail.com>
4250         PR target/40959
4251         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
4253 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4255         PR target/45524
4256         * configure: Regenerated.
4258 2010-09-06  Andreas Schwab  <schwab@redhat.com>
4260         * configure: Regenerate.
4262 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
4264         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
4265         64bit targets.
4266         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
4267         for 64bit targets.
4269 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
4270             Iain Sandoe  <iains@gcc.gnu.org>
4272         PR target/45476
4273         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
4274         LIB2FUNCS_EXCLUDE functions.
4276 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4278         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
4279         Include dfp.m4.
4280         * configure: Regenerate.
4282 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
4284         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
4285         i386/t-freebsd to tmake_file.
4286         * config/i386/t-freebsd: New file.
4287         * config/i386/libgcc-bsd.ver: New file.
4289 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
4291         * config.host (powerpc*-eabispe*): Set tmake_file.
4292         (powerpc*-eabi*): Likewise.
4293         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
4294         crtbeginS, crtendS, crtbeginT.
4296 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
4298         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
4299         to tmake_file.  Add crtfastmath.o to extra_parts.
4300         * config/mips/t-crtfm: New.
4302 2010-05-19  Joel Sherrill <joel.sherrill@oarcorp.com>
4304         * config.host (sparc64-*-rtems*): New target.
4306 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4308         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
4309         assembler syntax.
4311 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
4313         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
4315 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4317         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
4318         alpha-dec-osf5.0* support.
4320 2010-04-01  Ralf Corsépius <ralf.corsepius@rtems.org>
4322         * config.host: Add lm32-*-rtems*.
4324 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4325             Uros Bizjak <ubizjak@gmail.com>
4327         PR target/39048
4328         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
4329         like other remaining 32-bit x86 OSes.
4330         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
4331         assembler syntax.
4332         * config/i386/libgcc-sol2.ver: New file.
4333         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
4335 2010-03-30  Jack Howarth <howarth@bromo.med.uc.edu>
4337         PR c/43553
4338         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
4339         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
4340         is used and substitute set_use_emutls.
4341         * configure: Regenerated.
4343 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
4345         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
4347 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4349         PR target/38085
4350         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
4351         MULTILIB_CFLAGS.
4352         ($(T)gcrt1.o): Likewise.
4353         ($(T)crt1.o): Likewise.
4354         ($(T)crti.o): Likewise.
4355         ($(T)crtn.o): Likewise.
4357 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4359         PR other/42980
4360         * Makefile.in (install): Use $(MAKE) string in rule, for
4361         parallel make.
4363 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
4365         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
4366         * config/mmix/t-mmix: New file.
4367         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
4369 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
4371         PR java/41991
4372         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
4373         SHLIB_MAPFILES.
4375 2010-01-04  Anthony Green  <green@moxielogic.com>
4377         * config/moxie/crti.asm, config/moxie/crtn.asm,
4378         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
4379         config/moxie/t-moxie: New files.
4380         * config.host: Add t-moxie-softfp reference.
4382 2009-11-18  Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
4384         PR other/39888
4385         * config/t-slibgcc-darwin: Fix embedded rpaths for
4386         --enable-version-specific-runtime-libs, build extension stub
4387         libs exposing features available from current libgcc_s.
4389 2009-11-11  Jon Beniston <jon@beniston.com>
4391         * config.host: Add lm32 targets.
4392         * config/lm32: New directory.
4393         * config/lm32/libgcc_lm32.h: New file.
4394         * config/lm32/_mulsi3.c: New file.
4395         * config/lm32/_udivmodsi4.c: New file.
4396         * config/lm32/_divsi3.c: New file.
4397         * config/lm32/_modsi3.c: New file.
4398         * config/lm32/_udivsi3.c: New file.
4399         * config/lm32/_umodsi3.c: New file.
4400         * config/lm32/_lshrsi3.S: New file.
4401         * config/lm32/_ashrsi3.S: New file.
4402         * config/lm32/_ashlsi3.S: New file.
4403         * config/lm32/crti.S: New file.
4404         * config/lm32/crtn.S: New file.
4405         * config/lm32/t-lm32: New file.
4406         * config/lm32/t-elf: New file.
4407         * config/lm32/t-uclinux: New file.
4409 2009-10-26  Nick Clifton  <nickc@redhat.com>
4411         * config.host: Add support for RX target.
4412         * config/rx: New directory.
4413         * config/rx/rx-abi-functions.c: New file. Supplementary
4414         functions for libgcc to support the RX ABI.
4415         * config/rx/rx-abi.h: New file.  Supplementary header file for
4416         libgcc RX ABI functions.
4417         * config/rx/t-rx: New file: Makefile fragment for building
4418         libgcc for the RX.
4420 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
4422         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
4423         constraint of y0 to "g".
4425 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4427         * config.host: Include the s390 makefile fragments.
4428         * config/s390/32/_fixdfdi.c: New file.
4429         * config/s390/32/_fixsfdi.c: New file.
4430         * config/s390/32/_fixtfdi.c: New file.
4431         * config/s390/32/_fixunsdfdi.c: New file.
4432         * config/s390/32/_fixunssfdi.c: New file.
4433         * config/s390/32/_fixunstfdi.c: New file.
4434         * config/s390/32/t-floattodi: New file.
4435         * config/s390/libgcc-glibc.ver: New file.
4436         * config/s390/t-crtstuff: New file.
4437         * config/s390/t-linux: New file.
4438         * config/s390/t-tpf: New file.
4440 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4442         * configure.ac (AC_PREREQ): Bump to 2.64.
4444 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
4446         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
4448 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4450         * configure: Regenerate.
4452 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
4454         * config.host (ia64-hp-*vms*): New target.
4455         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
4456         with ia64-hp-*vms*.
4458 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4460         * configure.ac: Add snippet for maintainer-mode.
4461         * configure: Regenerate.
4462         * Makefile.in (AUTOCONF, configure_deps): New variables.
4463         ($(srcdir)/configure)): New rule, active only with maintainer
4464         mode turned on.
4466 2009-06-23  DJ Delorie  <dj@redhat.com>
4468         Add MeP port.
4469         * config.host: Add mep support.
4471 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
4473         * config.host: Add i386/${host_address}/t-fprules-softfp and
4474         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
4476         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
4477         for mingw targets.
4478         * config/i386/64/_multc3.c: Likewise.
4479         * config/i386/64/_powitf2.c: Likewise.
4480         * config/i386/64/eqtf2.c: Likewise.
4481         * config/i386/64/getf2.c: Likewise.
4482         * config/i386/64/letf2.c: Likewise.
4483         * config/i386/64/letf2.c: Likewise.
4484         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
4485         unsigned long long for x64 mingw targets.
4486         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
4487         (_FP_I_TYPE): Define as long long for x64 mingw target.
4489 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
4491         * config.host (vax-*-linux*): New.
4493 2009-05-31  Anthony Green  <green@moxielogic.com>
4495         * config.host: Add moxie support.
4496         * config/moxie/t-moxie: New file.
4498 2009-05-29  David Billinghurst <billingd@gcc.gnu.org>
4500         * config.host: Add i386/${host_address}/t-fprules-softfp and
4501         t-softfp to tmake_file for i[34567]86-*-cygwin*.
4503 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
4505         * config.host: Add i386/${host_address}/t-fprules-softfp to
4506         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
4508 2009-04-09  Nick Clifton  <nickc@redhat.com>
4510         * config/ia64/tf-signs.c: Change copyright header to refer to
4511         version 3 of the GNU General Public License with version 3.1
4512         of the GCC Runtime Library Exception and to point readers at
4513         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
4514         web page.
4515         * config/i386/32/tf-signs.c: Likewise.
4516         * config/libbid/_addsub_dd.c: Likewise.
4517         * config/libbid/_addsub_sd.c: Likewise.
4518         * config/libbid/_addsub_td.c: Likewise.
4519         * config/libbid/_dd_to_df.c: Likewise.
4520         * config/libbid/_dd_to_di.c: Likewise.
4521         * config/libbid/_dd_to_sd.c: Likewise.
4522         * config/libbid/_dd_to_sf.c: Likewise.
4523         * config/libbid/_dd_to_si.c: Likewise.
4524         * config/libbid/_dd_to_td.c: Likewise.
4525         * config/libbid/_dd_to_tf.c: Likewise.
4526         * config/libbid/_dd_to_udi.c: Likewise.
4527         * config/libbid/_dd_to_usi.c: Likewise.
4528         * config/libbid/_dd_to_xf.c: Likewise.
4529         * config/libbid/_df_to_dd.c: Likewise.
4530         * config/libbid/_df_to_sd.c: Likewise.
4531         * config/libbid/_df_to_td.c: Likewise.
4532         * config/libbid/_di_to_dd.c: Likewise.
4533         * config/libbid/_di_to_sd.c: Likewise.
4534         * config/libbid/_di_to_td.c: Likewise.
4535         * config/libbid/_div_dd.c: Likewise.
4536         * config/libbid/_div_sd.c: Likewise.
4537         * config/libbid/_div_td.c: Likewise.
4538         * config/libbid/_eq_dd.c: Likewise.
4539         * config/libbid/_eq_sd.c: Likewise.
4540         * config/libbid/_eq_td.c: Likewise.
4541         * config/libbid/_ge_dd.c: Likewise.
4542         * config/libbid/_ge_sd.c: Likewise.
4543         * config/libbid/_ge_td.c: Likewise.
4544         * config/libbid/_gt_dd.c: Likewise.
4545         * config/libbid/_gt_sd.c: Likewise.
4546         * config/libbid/_gt_td.c: Likewise.
4547         * config/libbid/_isinfd128.c: Likewise.
4548         * config/libbid/_isinfd32.c: Likewise.
4549         * config/libbid/_isinfd64.c: Likewise.
4550         * config/libbid/_le_dd.c: Likewise.
4551         * config/libbid/_le_sd.c: Likewise.
4552         * config/libbid/_le_td.c: Likewise.
4553         * config/libbid/_lt_dd.c: Likewise.
4554         * config/libbid/_lt_sd.c: Likewise.
4555         * config/libbid/_lt_td.c: Likewise.
4556         * config/libbid/_mul_dd.c: Likewise.
4557         * config/libbid/_mul_sd.c: Likewise.
4558         * config/libbid/_mul_td.c: Likewise.
4559         * config/libbid/_ne_dd.c: Likewise.
4560         * config/libbid/_ne_sd.c: Likewise.
4561         * config/libbid/_ne_td.c: Likewise.
4562         * config/libbid/_sd_to_dd.c: Likewise.
4563         * config/libbid/_sd_to_df.c: Likewise.
4564         * config/libbid/_sd_to_di.c: Likewise.
4565         * config/libbid/_sd_to_sf.c: Likewise.
4566         * config/libbid/_sd_to_si.c: Likewise.
4567         * config/libbid/_sd_to_td.c: Likewise.
4568         * config/libbid/_sd_to_tf.c: Likewise.
4569         * config/libbid/_sd_to_udi.c: Likewise.
4570         * config/libbid/_sd_to_usi.c: Likewise.
4571         * config/libbid/_sd_to_xf.c: Likewise.
4572         * config/libbid/_sf_to_dd.c: Likewise.
4573         * config/libbid/_sf_to_sd.c: Likewise.
4574         * config/libbid/_sf_to_td.c: Likewise.
4575         * config/libbid/_si_to_dd.c: Likewise.
4576         * config/libbid/_si_to_sd.c: Likewise.
4577         * config/libbid/_si_to_td.c: Likewise.
4578         * config/libbid/_td_to_dd.c: Likewise.
4579         * config/libbid/_td_to_df.c: Likewise.
4580         * config/libbid/_td_to_di.c: Likewise.
4581         * config/libbid/_td_to_sd.c: Likewise.
4582         * config/libbid/_td_to_sf.c: Likewise.
4583         * config/libbid/_td_to_si.c: Likewise.
4584         * config/libbid/_td_to_tf.c: Likewise.
4585         * config/libbid/_td_to_udi.c: Likewise.
4586         * config/libbid/_td_to_usi.c: Likewise.
4587         * config/libbid/_td_to_xf.c: Likewise.
4588         * config/libbid/_tf_to_dd.c: Likewise.
4589         * config/libbid/_tf_to_sd.c: Likewise.
4590         * config/libbid/_tf_to_td.c: Likewise.
4591         * config/libbid/_udi_to_dd.c: Likewise.
4592         * config/libbid/_udi_to_sd.c: Likewise.
4593         * config/libbid/_udi_to_td.c: Likewise.
4594         * config/libbid/_unord_dd.c: Likewise.
4595         * config/libbid/_unord_sd.c: Likewise.
4596         * config/libbid/_unord_td.c: Likewise.
4597         * config/libbid/_usi_to_dd.c: Likewise.
4598         * config/libbid/_usi_to_sd.c: Likewise.
4599         * config/libbid/_usi_to_td.c: Likewise.
4600         * config/libbid/_xf_to_dd.c: Likewise.
4601         * config/libbid/_xf_to_sd.c: Likewise.
4602         * config/libbid/_xf_to_td.c: Likewise.
4603         * config/libbid/bid128.c: Likewise.
4604         * config/libbid/bid128_2_str.h: Likewise.
4605         * config/libbid/bid128_2_str_macros.h: Likewise.
4606         * config/libbid/bid128_2_str_tables.c: Likewise.
4607         * config/libbid/bid128_add.c: Likewise.
4608         * config/libbid/bid128_compare.c: Likewise.
4609         * config/libbid/bid128_div.c: Likewise.
4610         * config/libbid/bid128_fma.c: Likewise.
4611         * config/libbid/bid128_logb.c: Likewise.
4612         * config/libbid/bid128_minmax.c: Likewise.
4613         * config/libbid/bid128_mul.c: Likewise.
4614         * config/libbid/bid128_next.c: Likewise.
4615         * config/libbid/bid128_noncomp.c: Likewise.
4616         * config/libbid/bid128_quantize.c: Likewise.
4617         * config/libbid/bid128_rem.c: Likewise.
4618         * config/libbid/bid128_round_integral.c: Likewise.
4619         * config/libbid/bid128_scalb.c: Likewise.
4620         * config/libbid/bid128_sqrt.c: Likewise.
4621         * config/libbid/bid128_string.c: Likewise.
4622         * config/libbid/bid128_to_int16.c: Likewise.
4623         * config/libbid/bid128_to_int32.c: Likewise.
4624         * config/libbid/bid128_to_int64.c: Likewise.
4625         * config/libbid/bid128_to_int8.c: Likewise.
4626         * config/libbid/bid128_to_uint16.c: Likewise.
4627         * config/libbid/bid128_to_uint32.c: Likewise.
4628         * config/libbid/bid128_to_uint64.c: Likewise.
4629         * config/libbid/bid128_to_uint8.c: Likewise.
4630         * config/libbid/bid32_to_bid128.c: Likewise.
4631         * config/libbid/bid32_to_bid64.c: Likewise.
4632         * config/libbid/bid64_add.c: Likewise.
4633         * config/libbid/bid64_compare.c: Likewise.
4634         * config/libbid/bid64_div.c: Likewise.
4635         * config/libbid/bid64_fma.c: Likewise.
4636         * config/libbid/bid64_logb.c: Likewise.
4637         * config/libbid/bid64_minmax.c: Likewise.
4638         * config/libbid/bid64_mul.c: Likewise.
4639         * config/libbid/bid64_next.c: Likewise.
4640         * config/libbid/bid64_noncomp.c: Likewise.
4641         * config/libbid/bid64_quantize.c: Likewise.
4642         * config/libbid/bid64_rem.c: Likewise.
4643         * config/libbid/bid64_round_integral.c: Likewise.
4644         * config/libbid/bid64_scalb.c: Likewise.
4645         * config/libbid/bid64_sqrt.c: Likewise.
4646         * config/libbid/bid64_string.c: Likewise.
4647         * config/libbid/bid64_to_bid128.c: Likewise.
4648         * config/libbid/bid64_to_int16.c: Likewise.
4649         * config/libbid/bid64_to_int32.c: Likewise.
4650         * config/libbid/bid64_to_int64.c: Likewise.
4651         * config/libbid/bid64_to_int8.c: Likewise.
4652         * config/libbid/bid64_to_uint16.c: Likewise.
4653         * config/libbid/bid64_to_uint32.c: Likewise.
4654         * config/libbid/bid64_to_uint64.c: Likewise.
4655         * config/libbid/bid64_to_uint8.c: Likewise.
4656         * config/libbid/bid_b2d.h: Likewise.
4657         * config/libbid/bid_binarydecimal.c: Likewise.
4658         * config/libbid/bid_conf.h: Likewise.
4659         * config/libbid/bid_convert_data.c: Likewise.
4660         * config/libbid/bid_decimal_data.c: Likewise.
4661         * config/libbid/bid_decimal_globals.c: Likewise.
4662         * config/libbid/bid_div_macros.h: Likewise.
4663         * config/libbid/bid_dpd.c: Likewise.
4664         * config/libbid/bid_flag_operations.c: Likewise.
4665         * config/libbid/bid_from_int.c: Likewise.
4666         * config/libbid/bid_functions.h: Likewise.
4667         * config/libbid/bid_gcc_intrinsics.h: Likewise.
4668         * config/libbid/bid_inline_add.h: Likewise.
4669         * config/libbid/bid_internal.h: Likewise.
4670         * config/libbid/bid_round.c: Likewise.
4671         * config/libbid/bid_sqrt_macros.h: Likewise.
4673 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
4675         * Makefile.in: Change copyright header to refer to version
4676         3 of the GNU General Public License and to point readers at the
4677         COPYING3 file and the FSF's license web page.
4678         * config.host: Likewise.
4680 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
4682         * config.host: Reorder and merge to match config.gcc change.
4684 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
4686         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
4688 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
4690         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
4691         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
4692         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
4693         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
4695 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
4697         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
4698         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4700 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
4702         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
4703         ia64/t-softfp-compat to tmake_file.
4705         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
4707         * config/ia64/__divxf3.asm: New.
4708         * config/ia64/_fixtfdi.asm: Likewise.
4709         * config/ia64/_fixunstfdi.asm: Likewise.
4710         * config/ia64/_floatditf.asm: Likewise.
4711         * config/ia64/t-fprules-softfp: Likewise.
4712         * config/ia64/t-softfp-compat: Likewise.
4713         * config/ia64/tf-signs.c: Likewise.
4715 2009-01-18  Ben Elliston  <bje@au.ibm.com>
4717         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4719 2009-01-16  Ben Elliston  <bje@au.ibm.com>
4721         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
4722         to tmake_file.
4724 2009-01-13  Ben Elliston  <bje@au.ibm.com>
4726         * config/t-softfp: New file.
4727         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
4728         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
4730 2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>
4732         * config.host: Add m32r*-*-rtems*.
4734 2008-12-01  Joel Sherrill <joel.sherrill@oarcorp.com>
4736         * config.host: Add m32c*-*-rtems*.
4738 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4740         PR bootstrap/33100
4741         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
4742         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
4743         * configure: Regenerate.
4744         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
4745         tmake_file here from gcc/config.gcc.
4746         Move extra_parts here from gcc/config.gcc.
4747         * config/i386/t-sol2: Move here from gcc/config/i386.
4748         Use gcc_srcdir instead of srcdir.
4750 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
4752         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
4753         case.
4755 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
4757         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
4759 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
4761         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
4763 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
4765         Add picoChip port.
4766         * config.host: Add picochip-*-*.
4768 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
4770         * config.host: Match more processor names for Xtensa.
4772 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
4774         * config/i386/64/t-softfp-compat: Update comments.
4776 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
4778         * config/i386/64/_divtc3-compat.c: Moved to ...
4779         * config/i386/64/_divtc3.c: Here.
4781         * config/i386/64/_multc3-compat.c: Moved to ...
4782         * config/i386/64/_multc3.c: Here.
4784         * config/i386/64/_powitf2-compat.c: Moved to ...
4785         * config/i386/64/_powitf2.c: Here.
4787         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
4788         .c suffix instead of -compat.c.
4790 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
4792         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
4793         (_FP_MUL_MEAT_D): Ditto.
4794         (_FP_DIV_MEAT_S): Ditto.
4795         (_FP_DIV_MEAT_D): Ditto.
4797 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
4799         * Makefile.in: Add support for __sync_* libgcc functions.
4801 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
4803         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
4805 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4807         PR boostrap/36702
4808         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
4809         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
4811         * config/i386/64/t-fprules-softfp: Moved to ...
4812         * config/i386/64/t-softfp-compat: This.  New.
4814 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
4816         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
4817         Initialize f with 0.0.
4819 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4821         PR target/36669
4822         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
4824         * config/i386/64/_divtc3-compat.c: New.
4825         * config/i386/64/_multc3-compat.c: Likewise.
4826         * config/i386/64/_powitf2-compat.c: Likewise.
4827         * config/i386/64/eqtf2.c: Likewise.
4828         * config/i386/64/getf2.c: Likewise.
4829         * config/i386/64/letf2.c: Likewise.
4830         * config/i386/64/t-fprules-softfp: Likewise.
4832 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4834         * config.host: Add i386/${host_address}/t-fprules-softfp to
4835         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
4836         i[34567]86-*-linux*, x86_64-*-linux*.
4838         * configure.ac: Set host_address to 64 or 32 for x86.
4839         * configure: Regenerated.
4841         * Makefile.in (config.status): Also depend on
4842         $(srcdir)/config.host.
4844         * config/i386/32/t-fprules-softfp: New.
4845         * config/i386/32/tf-signs.c: Likewise.
4847         * config/i386/64/sfp-machine.h: New. Moved from gcc.
4849 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4850             Uros Bizjak  <ubizjak@gmail.com>
4852         * config/i386/32/sfp-machine.h: New.
4854 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
4856         * config/rs6000/t-ppccomm: Remove rules that conflict with
4857         auto-generated rules.
4859 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4861         * configure.ac: sinclude override.m4.
4862         * configure: Regenerate.
4864 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
4866         * configure: Regenerate.
4868 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
4870         * Makefile.in (DECNUMINC): Remove
4871         -I$(MULTIBUILDTOP)../../libdecnumber.
4872         * gstdint.h: New.
4874 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
4876         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
4877         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
4878         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
4879         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
4880         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
4881         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
4882         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
4883         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
4884         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
4885         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
4886         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
4887         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
4888         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
4889         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
4891 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
4893         * config.host (sh2[lbe]*-*-linux*): Allow target.
4895 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
4897         * config/rs6000/t-ppccomm: Add build rules for new files.
4898         (LIB2ADD_ST): New variable.
4900 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
4902         PR target/34210
4903         PR target/35508
4904         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
4905         * config/t-avr: New file. Build 16bit libgcc functions.
4907 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
4909         PR target/35401
4910         * config/t-slibgcc-darwin: Make install-leaf dependent on
4911         install-darwin-libgcc-stubs instead of install.
4913 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
4915         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
4916         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
4917         sh-*-rtemscoff*): Remove cases.
4919 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
4921         * Makefile.in (all): Use install-leaf rather than install.
4922         (install): Split most of the rule into...
4923         (install-leaf): ...this new one.
4925 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
4926             Paolo Bonzini  <bonzini@gnu.org>
4928         PR target/30572
4929         * Makefile.in: Use @shlib_slibdir@ substitution to get
4930         correct install name on darwin.
4931         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
4933 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
4935         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
4936         cris-*-elf and cris-*-none.
4937         (crisv32-*-linux*): Similar, as cris-*-linux*.
4939 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
4941         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
4943 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
4945         PR regression/33926
4946         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
4947         * configure: Regenerated.
4949 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
4951         * Makefile.in (dfp-filenames): Replace decimal_globals,
4952         decimal_data, binarydecimal and convert_data with
4953         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
4954         and bid_convert_data, respectively.
4956 2007-09-17  Chao-ying Fu  <fu@mips.com>
4957             Nigel Stephens  <nigel@mips.com>
4959         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
4960         * Makefile.in (fixed_point): Define.
4961         Check if fixed_point is yes to build support functions.
4962         * configure.ac: Check for fixed_point support.
4963         * configure: Regenerated.
4964         * gen-fixed.sh: New file to generate lists of fixed-point labels,
4965         funcs, modes, from, to.
4967 2007-09-11  Janis Johnson  <janis187@us.ibm.com
4969         * Makefile.in (dfp-filenames): Add bid128_noncomp.
4971 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
4973         * Makefile.in (dfp-filenames): Remove decUtility, add
4974         decDouble, decPacked, decQuad, decSingle.
4976 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
4978         * config.host : Add x86_64-elf target.
4980 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
4982         * configure.ac (set_have_cc_tls): Add a missing =.
4983         * configure: Regenerated.
4985 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
4987         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
4988         and x86_64-*-linux*.
4990         * config/t-tls: New file.
4992         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
4994         * configure.ac: Include ../config/enable.m4 and
4995         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
4996         supports TLS and substitute set_have_cc_tls.
4997         * configure: Regenerated.
4999 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
5001         * Makefile.in: Use libbid for DFP when BID is enabled.
5003 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
5005         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
5006         extra_parts. Add config/i386/t-cygming to tmake_file.
5007         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
5009 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
5010             Danny Smith  <dannysmith@users.sourceforge.net>
5012         PR target/29498
5013         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
5014         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
5015         * config/i386/t-crtfm: Compile crtfastmath.o with
5016         -minline-all-stringops.
5018 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
5020         * config.host (sparc-wrs-vxworks): New target.
5022 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
5024         * config.host: Recognize fido.
5026 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
5028         * configure: Check host, not target, for decimal float support.
5030 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
5032         * config/i386/t-crtpc: New file.
5033         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5034         (x86_64-*-linux*): Ditto.
5036 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
5038         * config.host (x86_64-*-mingw*): New target.
5040 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
5041             H.J. Lu  <hongjiu.lu@intel.com>
5043         * Makefile.in (enable_decimal_float): New.
5044         (DECNUMINC): Add
5045         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
5046         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
5047         (decbits-filenames): This.
5048         (decbits-objects): New.
5049         (libgcc-objects): Add $(decbits-objects).
5051         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
5052         Substitute enable_decimal_float.
5053         * configure: Regenerated.
5055 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
5057         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
5059 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
5061         * Makefile.in (install-info): New dummy target.
5063 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
5065         * config.host (bfin*-linux-uclibc*): Set extra_parts.
5067 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
5069         * Makefile.in: Add install-html and install-pdf dummy
5070         targets.
5072 2007-02-05  Roger Sayle  <roger@eyesopen.com>
5073             Daniel Jacobowitz  <dan@codesourcery.com>
5075         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
5076         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
5077         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
5079 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
5081         * Makefile.in (dec-filenames): Add decExcept.
5083 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
5085         PR bootstrap/30469
5086         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
5087         -fprofile-use.
5089 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
5091         * configure.ac: Add --enable-version-specific-runtime-libs.
5092         Correct $slibdir default.
5093         * configure: Regenerated.
5095 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
5097         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
5099 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
5101         PR target/30519
5102         * config.host (alpha*-*-linux*): Set extra_parts.
5104 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
5106         * config/sh/t-linux: New.
5107         * config.host (sh*-*-linux*): Set tmake_file.
5109 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
5111         * Makefile.in (install): Handle multilibs.
5113 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
5115         * Makefile.in: Added .PHONY entry for documentation targets.
5117 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
5119         * Makefile.in: Add empty info, html, dvi, pdf targets.
5121 2007-01-04  Mike Stump  <mrs@apple.com>
5123         * Makefile.in (MAKEINFO): Remove.
5124         (PERL): Likewise.
5126 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
5128         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
5129         * configure: Regenerate.
5130         * Makefile.in (host_subdir): Substitute it.
5131         (gcc_objdir): Use it.
5133 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
5135         * config.host (ia64*-*-linux*): Set tmake_file.
5137 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
5139         * Makefile.in (version): Define.
5141 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
5142             Paolo Bonzini  <bonzini@gnu.org>
5144         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
5145         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
5146         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
5147         config/sparc/t-crtfm, config/t-slibgcc-darwin,
5148         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
5149         shared-object.mk, siditi-object.mk, static-object.mk: New files.
5150         * configure: Generated.