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