2014-01-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / libgcc / ChangeLog
blob7fc4bd08449c5d3a32d0a42af997fcab00f95aa5
1 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
3         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4         case of small numerator and finite nonzero result.
6 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
8         Update copyright years
10 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
12         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
13         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
14         config/arc/dp-hack.h, config/arc/fp-hack.h,
15         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
16         config/arc/ieee-754/arc600-dsp/divdf3.S,
17         config/arc/ieee-754/arc600-dsp/divsf3.S,
18         config/arc/ieee-754/arc600-dsp/muldf3.S,
19         config/arc/ieee-754/arc600-dsp/mulsf3.S,
20         config/arc/ieee-754/arc600-mul64/divdf3.S,
21         config/arc/ieee-754/arc600-mul64/divsf3.S,
22         config/arc/ieee-754/arc600-mul64/muldf3.S,
23         config/arc/ieee-754/arc600-mul64/mulsf3.S,
24         config/arc/ieee-754/arc600/divsf3.S,
25         config/arc/ieee-754/arc600/mulsf3.S,
26         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
27         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
28         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
29         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
30         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
31         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
32         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
33         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
34         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
35         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
36         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
37         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
38         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
39         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
40         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
41         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
42         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
43         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
44         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
45         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
46         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
47         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
48         vtv_start_preinit.c: Use the standard form for the copyright notice.
50 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
51             Chung-Lin Tang  <cltang@codesourcery.com>
52             Based on patches from Altera Corporation
54         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
55         * config/nios2/lib2-nios2.h: New file.
56         * config/nios2/lib2-divmod-hi.c: New file.
57         * config/nios2/linux-unwind.h: New file.
58         * config/nios2/lib2-divmod.c: New file.
59         * config/nios2/linux-atomic.c: New file.
60         * config/nios2/t-nios2: New file.
61         * config/nios2/crti.asm: New file.
62         * config/nios2/t-linux: New file.
63         * config/nios2/lib2-divtable.c: New file.
64         * config/nios2/lib2-mul.c: New file.
65         * config/nios2/tramp.c: New file.
66         * config/nios2/crtn.asm: New file.
68 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
70         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
71         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
72         from cpuid.h to check vendor signatures.
74 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
76         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
77         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
78         (get_amd_cpu): Likewise.
80 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
82         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
83         Haswell.
85 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
86             H.J. Lu  <hongjiu.lu@intel.com>
88         PR target/59422
89         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
90         and AMD_JAGUAR.
91         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
92         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
93         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
94         FEATURE_XOP and FEATURE_FMA.
95         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
96         AMDFAM15H_BDVER3.
97         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
98         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
99         FEATURE_FMA4 and FEATURE_XOP.
101 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
103         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
104         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
105         (get_intel_cpu): Updated.
107 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
109         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
111 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
113         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
114         instructions when __SSE_MATH__ is defined.
116 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
118         * config.host (microblaze-*-rtems*): New.
120 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
122         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
123         architectures that do not have hardware divide instruction.
124         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
126 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
128         * longlong.h: Delete (moved to include/).
130 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
132         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
133         of normal number and qNaN to not raise an inexact exception.
135 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
137         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
139 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
141         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
142         for correct opcodes on BE.
144 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
146         * soft-fp/op-4.h: Update from glibc.
148 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
150         * libgcc2.c (__udivmoddi4): Define new implementation when
151         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
152         divide instructions.
154 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
156         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
158 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
160         * config/t-softfp (soft-fp-objects-base): New variable.
161         (soft-fp-objects): Use it.
163 2013-11-23  David Edelson  <dje.gcc@gmail.com>
164             Andrew Dixie  <andrewd@gentrack.com>
166         PR target/33704
167         * config/rs6000/aixinitfini.c: New file.
168         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
169         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
170         symbols.
172 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
174         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
176 2013-11-18  Jan Hubicka  <jh@suse.cz>
178         * libgcov-driver.c (run_accounted): Make global level static.
179         (gcov_exit_merge_summary): Silence warning; do not clear
180         run_accounted here.
181         (gcov_exit): Clear it here.
183         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
184         run_accounted.
186         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
187         (all_prg, crc32): Remove static vars.
188         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
189         all_prg.
190         (gcov_exit_merge_gcda): Add crc32 parameter.
191         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
192         do not account run if it was already accounted.
193         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
194         (gcov_exit): Initialize all_prg; update.
196 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
198         * configure: Regenerate.
200 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
201             Alan Modra  <amodra@gmail.com>
203         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
204         (frob_update_context): Use it.
206 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
207             Alan Modra  <amodra@gmail.com>
209         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
210         (trampoline_initial): Provide ELFv2 variant.
211         (__trampoline_setup): Likewise.
213         * config/rs6000/linux-unwind.h (frob_update_context): Do not
214         check for AIX indirect function call sequence if _CALL_ELF == 2.
216 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
217             Alan Modra  <amodra@gmail.com>
219         * config/rs6000/linux-unwind.h (get_regs): Do not support
220         old kernel versions if _CALL_ELF == 2.
221         (frob_update_context): Do not support PLT stub variants only
222         generated by old linkers if _CALL_ELF == 2.
224 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
225             Alan Modra  <amodra@gmail.com>
227         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
228         location of CR save area for 64-bit little-endian systems.
230 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
232         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
233         in tmake_file.
234         * config/arm/t-vxworks: Delete.
236 2013-11-10  Kai Tietz  <ktietz@redhat.com>
238         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
239         Increment load-count on use of LIBGCC_SONAME DLL.
240         (hmod_libgcc): New static variable to hold handle of
241         LIBGCC_SONAME DLL.
242         (__gcc_deregister_frame): Decrement load-count of
243         LIBGCC_SONAME DLL.
245 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
247         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
248         availability.
249         * configure: Regenerate
251 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
253         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
254         FP_EX_DENORM.  Store result to volatile location after SSE division
255         to close interrupt window.  Remove unneeded fwait after x87
256         division since interrupt window will be closed by emitted fstp.
257         Rewrite FP_EX_INEXACT handling.
259 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
261         * soft-fp/README: Update.
262         * soft-fp/adddf3.c: Update from glibc.
263         * soft-fp/addsf3.c: Likewise.
264         * soft-fp/addtf3.c: Likewise.
265         * soft-fp/divdf3.c: Likewise.
266         * soft-fp/divsf3.c: Likewise.
267         * soft-fp/divtf3.c: Likewise.
268         * soft-fp/double.h: Likewise.
269         * soft-fp/eqdf2.c: Likewise.
270         * soft-fp/eqsf2.c: Likewise.
271         * soft-fp/eqtf2.c: Likewise.
272         * soft-fp/extenddftf2.c: Likewise.
273         * soft-fp/extended.h: Likewise.
274         * soft-fp/extendsfdf2.c: Likewise.
275         * soft-fp/extendsftf2.c: Likewise.
276         * soft-fp/extendxftf2.c: Likewise.
277         * soft-fp/fixdfdi.c: Likewise.
278         * soft-fp/fixdfsi.c: Likewise.
279         * soft-fp/fixdfti.c: Likewise.
280         * soft-fp/fixsfdi.c: Likewise.
281         * soft-fp/fixsfsi.c: Likewise.
282         * soft-fp/fixsfti.c: Likewise.
283         * soft-fp/fixtfdi.c: Likewise.
284         * soft-fp/fixtfsi.c: Likewise.
285         * soft-fp/fixtfti.c: Likewise.
286         * soft-fp/fixunsdfdi.c: Likewise.
287         * soft-fp/fixunsdfsi.c: Likewise.
288         * soft-fp/fixunsdfti.c: Likewise.
289         * soft-fp/fixunssfdi.c: Likewise.
290         * soft-fp/fixunssfsi.c: Likewise.
291         * soft-fp/fixunssfti.c: Likewise.
292         * soft-fp/fixunstfdi.c: Likewise.
293         * soft-fp/fixunstfsi.c: Likewise.
294         * soft-fp/fixunstfti.c: Likewise.
295         * soft-fp/floatdidf.c: Likewise.
296         * soft-fp/floatdisf.c: Likewise.
297         * soft-fp/floatditf.c: Likewise.
298         * soft-fp/floatsidf.c: Likewise.
299         * soft-fp/floatsisf.c: Likewise.
300         * soft-fp/floatsitf.c: Likewise.
301         * soft-fp/floattidf.c: Likewise.
302         * soft-fp/floattisf.c: Likewise.
303         * soft-fp/floattitf.c: Likewise.
304         * soft-fp/floatundidf.c: Likewise.
305         * soft-fp/floatundisf.c: Likewise.
306         * soft-fp/floatunditf.c: Likewise.
307         * soft-fp/floatunsidf.c: Likewise.
308         * soft-fp/floatunsisf.c: Likewise.
309         * soft-fp/floatunsitf.c: Likewise.
310         * soft-fp/floatuntidf.c: Likewise.
311         * soft-fp/floatuntisf.c: Likewise.
312         * soft-fp/floatuntitf.c: Likewise.
313         * soft-fp/gedf2.c: Likewise.
314         * soft-fp/gesf2.c: Likewise.
315         * soft-fp/getf2.c: Likewise.
316         * soft-fp/ledf2.c: Likewise.
317         * soft-fp/lesf2.c: Likewise.
318         * soft-fp/letf2.c: Likewise.
319         * soft-fp/muldf3.c: Likewise.
320         * soft-fp/mulsf3.c: Likewise.
321         * soft-fp/multf3.c: Likewise.
322         * soft-fp/negdf2.c: Likewise.
323         * soft-fp/negsf2.c: Likewise.
324         * soft-fp/negtf2.c: Likewise.
325         * soft-fp/op-1.h: Likewise.
326         * soft-fp/op-2.h: Likewise.
327         * soft-fp/op-4.h: Likewise.
328         * soft-fp/op-8.h: Likewise.
329         * soft-fp/op-common.h: Likewise.
330         * soft-fp/quad.h: Likewise.
331         * soft-fp/single.h: Likewise.
332         * soft-fp/soft-fp.h: Likewise.
333         * soft-fp/subdf3.c: Likewise.
334         * soft-fp/subsf3.c: Likewise.
335         * soft-fp/subtf3.c: Likewise.
336         * soft-fp/truncdfsf2.c: Likewise.
337         * soft-fp/trunctfdf2.c: Likewise.
338         * soft-fp/trunctfsf2.c: Likewise.
339         * soft-fp/trunctfxf2.c: Likewise.
340         * soft-fp/unorddf2.c: Likewise.
341         * soft-fp/unordsf2.c: Likewise.
342         * soft-fp/unordtf2.c: Likewise.
344 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
346         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
347         (_FP_MUL_MEAT_D): Ditto.
348         (_FP_DIV_MEAT_S): Ditto.
349         (_FP_DIV_MEAT_D): Ditto.
350         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
351         t-softfp-sfdf and t-softfp to tmake_file.
353 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
355         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
356         * config/i386/crtprec.c: Ditto.
358 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
359             Shiva Chen  <shiva0217@gmail.com>
361         * config.host (nds32*-elf*): Add nds32 target.
362         * config/nds32 : New directory and files.
364 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
366         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
367         * config.host (cpu_type) <Setting default>: Add entry for
368         crisv32-*-*.
369         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
370         <crisv32-*-linux*>: Adjust.
371         * longlong.h: Wrap the whole CRIS section in a single
372         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
373         and sub_ddmmss.
374         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
375         defined.
376         [__CRIS__] (__umulsidi3): Define.
377         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
378         * config/cris/sfp-machine.h: New file.
379         * config/cris/umulsidi3.S: New file.
380         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
381         * config/cris/arit.c (SIGNMULT): New macro.
382         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
383         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
384         saving 3 out of originally 33 cycles from the fastest
385         path, 3 out of 54 from the medium path and one from the longest
386         path.  Improve comments.
388 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
390         * sync.c: Remove static aliases and define each function directly
391         under its real name.
393 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
395         * config.host (hppa*64*-*-linux*): Define extra_parts.
396         (hppa*-*-linux*): Likewise.
398 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
400         * config/arc/crtgend.S: Add 2013 to Copyright years.
401         * config/arc/gmon/atomic.h: Likewise.
402         * config/arc/gmon/auxreg.h: Likewise.
403         * config/arc/gmon/sys/gmon_out.h: Likewise.
404         * config/arc/gmon/sys/gmon.h: Likewise.
405         * config/arc/gmon/prof-freq.c: Likewise.
406         * config/arc/gmon/mcount.c: Likewise.
407         * config/arc/gmon/prof-freq-stub.S: Likewise.
408         * config/arc/gmon/gmon.c: Likewise.
409         * config/arc/gmon/machine-gmon.h: Likewise.
410         * config/arc/gmon/profil.S: Likewise.
411         * config/arc/gmon/dcache_linesz.S: Likewise.
412         * config/arc/crtg.S: Likewise.
413         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
414         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
415         * config/arc/ieee-754/adddf3.S: Likewise.
416         * config/arc/ieee-754/truncdfsf2.S: Likewise.
417         * config/arc/ieee-754/fixsfsi.S: Likewise.
418         * config/arc/ieee-754/gtsf2.S: Likewise.
419         * config/arc/ieee-754/floatsisf.S: Likewise.
420         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
421         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
422         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
423         * config/arc/ieee-754/fixdfsi.S: Likewise.
424         * config/arc/ieee-754/addsf3.S: Likewise.
425         * config/arc/ieee-754/gesf2.S: Likewise.
426         * config/arc/ieee-754/floatsidf.S: Likewise.
427         * config/arc/ieee-754/extendsfdf2.S: Likewise.
428         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
429         * config/arc/ieee-754/gtdf2.S: Likewise.
430         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
431         * config/arc/ieee-754/uneqdf2.S: Likewise.
432         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
433         * config/arc/ieee-754/uneqsf2.S: Likewise.
434         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
435         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
436         * config/arc/ieee-754/eqdf2.S: Likewise.
437         * config/arc/ieee-754/ordsf2.S: Likewise.
438         * config/arc/ieee-754/divsf3.S: Likewise.
439         * config/arc/ieee-754/divdf3.S: Likewise.
440         * config/arc/ieee-754/floatunsidf.S: Likewise.
441         * config/arc/ieee-754/orddf2.S: Likewise.
442         * config/arc/ieee-754/eqsf2.S: Likewise.
443         * config/arc/ieee-754/gedf2.S: Likewise.
444         * config/arc/crtn.S: Likewise.
445         * config/arc/crti.S: Likewise.
446         * config/arc/t-arc700-uClibc: Likewise.
447         * config/arc/asm.h: Likewise.
448         * config/arc/libgcc-excl.ver: Likewise.
449         * config/arc/t-arc-newlib: Likewise.
450         * config/arc/divtab-arc700.c: Likewise.
451         * config/arc/initfini.c: Likewise.
452         * config/arc/fp-hack.h: Likewise.
454 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
455             Diego Novillo  <dnovillo@google.com>
457         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
458         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
459         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
460         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
462 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
463             Brendan Kehoe  <brendan@zen.org>
464             Simon Cook  <simon.cook@embecosm.com>
466         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
467         * config/arc: New directory.
468         * longlong.h [__arc__] (umul_ppmm): Remove.
469         [__arc__] (__umulsidi3): Define.
470         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
471         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
473 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
475         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
476         CreateSemaphoreA.
477         * config/i386/gthr-win32.h: Likewise.
479 2013-09-16  DJ Delorie  <dj@redhat.com>
481         * config/rl78/vregs.h: Add G10 register definitions.
482         * config/rl78/lib2mul.c: Enable for RL78/G10.
483         * config/rl78/lib2div.c: Likewise.
484         * config/rl78/lshrsi3.S: Use vregs.h.
485         * config/rl78/cmpsi2.S: Likewise.
486         * config/rl78/trampoline.S: Likewise.
487         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
489 2013-09-14  DJ Delorie  <dj@redhat.com>
490             Nick Clifton  <nickc@redhat.com>
492         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
493         * config/rl78/vregs.h: New.
494         * config/rl78/signbit.S: New file.  Implements signbit function.
495         * config/rl78/divmodsi.S: New.
496         * config/rl78/divmodhi.S: New.
497         * config/rl78/divmodqi.S: New.
498         * config/rl78/t-rl78: Build them here...
499         * config/rl78/lib2div.c: ...but not here.
501 2013-09-12  DJ Delorie  <dj@redhat.com>
503         * config.host (msp*-*-elf): New.
504         * config/msp430/: New port.
506 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
508         PR gcov-profile/58127
509         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
510         __thread var for emulated TLS.
511         (__gcov_indirect_call_counters): Likewise.
513 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
514             Catherine Moore  <clm@codesourcery.com>
515             Richard Sandiford <rdsandiford@googlemail.com>
517         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
518         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
519         (CALL_STUB_NO_RET): Likewise.
520         (CALL_STUB_RET): Likewise.
521         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
522         __mips16_ret call/return stub symbols.
523         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
524         to tmake_file.
526 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
528         * config.host <mips*-*-linux*>: Remove a stray comment.
530 2013-08-10  Jan Hubicka  <jh@suse.cz>
532         Work around binutils PR14342
533         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
534         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
535         (L_gcov_indirect_call_profiler_v2): New.
537 2013-08-06  Jan Hubicka  <jh@suse.cz>
539         * libgcov.c (__gcov_indirect_call_callee,
540         __gcov_indirect_call_counters): New global vars.
541         (__gcov_indirect_call_profiler): replace by ...
542         (__gcov_indirect_call_profiler_v2) ... this one.
544 2013-08-06  Caroline Tice  <cmtice@google.com>
546         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
547         vtv_start_preinit.o and vtv_end_preinit.o.
548         * configure.ac: Add code to check/set enable_vtable_verify.
549         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
550         true.
551         * vtv_start_preinit.c: New file.
552         * vtv_end_preinit.c: New file.
553         * vtv_start.c: New file.
554         * vtv_end.c: New file.
555         * configure: Regenerated.
557 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
559         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
560         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
561         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
562         GPL-3.0-with-GCC-exception.
564 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
566         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
567         ISA and up.
569 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
571         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
572         mapping for FPRs when creating the fallback framestate.
574 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
576         PR target/57516
577         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
578         (__round_s2_const, __round_u2_const)
579         (__round_s4_const, __round_u4_const, __round_x8):
580         Saturate result if addition result cannot be represented.
582 2013-07-15  Matthias Klose  <doko@ubuntu.com>
584         * libgcc2.c: Don't include <limits.h>.
586 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
588         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
590 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
592         PR target/29776
593         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
595 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
597         PR middle-end/36041
598         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
599         Define.
600         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
601         instead of table lookups.
602         (__popcountDI2): Likewise.
604 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
606         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
607         correctly.
609 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
611         PR other/53317
612         * soft-fp/adddf3.c: Update from glibc.
613         * soft-fp/addsf3.c: Likewise.
614         * soft-fp/addtf3.c: Likewise.
615         * soft-fp/divdf3.c: Likewise.
616         * soft-fp/divsf3.c: Likewise.
617         * soft-fp/divtf3.c: Likewise.
618         * soft-fp/double.h: Likewise.
619         * soft-fp/eqdf2.c: Likewise.
620         * soft-fp/eqsf2.c: Likewise.
621         * soft-fp/eqtf2.c: Likewise.
622         * soft-fp/extenddftf2.c: Likewise.
623         * soft-fp/extended.h: Likewise.
624         * soft-fp/extendsfdf2.c: Likewise.
625         * soft-fp/extendsftf2.c: Likewise.
626         * soft-fp/fixdfdi.c: Likewise.
627         * soft-fp/fixdfsi.c: Likewise.
628         * soft-fp/fixsfdi.c: Likewise.
629         * soft-fp/fixsfsi.c: Likewise.
630         * soft-fp/fixtfdi.c: Likewise.
631         * soft-fp/fixtfsi.c: Likewise.
632         * soft-fp/fixunsdfdi.c: Likewise.
633         * soft-fp/fixunsdfsi.c: Likewise.
634         * soft-fp/fixunssfdi.c: Likewise.
635         * soft-fp/fixunssfsi.c: Likewise.
636         * soft-fp/fixunstfdi.c: Likewise.
637         * soft-fp/fixunstfsi.c: Likewise.
638         * soft-fp/floatdidf.c: Likewise.
639         * soft-fp/floatdisf.c: Likewise.
640         * soft-fp/floatditf.c: Likewise.
641         * soft-fp/floatsidf.c: Likewise.
642         * soft-fp/floatsisf.c: Likewise.
643         * soft-fp/floatsitf.c: Likewise.
644         * soft-fp/floatundidf.c: Likewise.
645         * soft-fp/floatundisf.c: Likewise.
646         * soft-fp/floatunditf.c: Likewise.
647         * soft-fp/floatunsidf.c: Likewise.
648         * soft-fp/floatunsisf.c: Likewise.
649         * soft-fp/floatunsitf.c: Likewise.
650         * soft-fp/gedf2.c: Likewise.
651         * soft-fp/gesf2.c: Likewise.
652         * soft-fp/getf2.c: Likewise.
653         * soft-fp/ledf2.c: Likewise.
654         * soft-fp/lesf2.c: Likewise.
655         * soft-fp/letf2.c: Likewise.
656         * soft-fp/muldf3.c: Likewise.
657         * soft-fp/mulsf3.c: Likewise.
658         * soft-fp/multf3.c: Likewise.
659         * soft-fp/negdf2.c: Likewise.
660         * soft-fp/negsf2.c: Likewise.
661         * soft-fp/negtf2.c: Likewise.
662         * soft-fp/op-1.h: Likewise.
663         * soft-fp/op-2.h: Likewise.
664         * soft-fp/op-4.h: Likewise.
665         * soft-fp/op-8.h: Likewise.
666         * soft-fp/op-common.h: Likewise.
667         * soft-fp/quad.h: Likewise.
668         * soft-fp/single.h: Likewise.
669         * soft-fp/soft-fp.h: Likewise.
670         * soft-fp/subdf3.c: Likewise.
671         * soft-fp/subsf3.c: Likewise.
672         * soft-fp/subtf3.c: Likewise.
673         * soft-fp/truncdfsf2.c: Likewise.
674         * soft-fp/trunctfdf2.c: Likewise.
675         * soft-fp/trunctfsf2.c: Likewise.
676         * soft-fp/unorddf2.c: Likewise.
677         * soft-fp/unordsf2.c: Likewise.
678         * soft-fp/unordtf2.c: Likewise.
679         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
680         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
681         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
682         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
683         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
684         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
685         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
686         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
687         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
688         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
689         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
690         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
692 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
694         * config/mips/lib2funcs.c: New file.
695         * config/mips/t-mips (LIB2ADD_ST): Add it.
697 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
699         PR target/6526
700         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
701         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
703 2013-06-08  Walter Lee  <walt@tilera.com>
705         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
706         Replace int64_t with long long.  Add __extension__ where
707         appropriate.
708         * config/tilepro/atomic.c: Include config.h.
710 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
712         * config.host (arm-wrs-vxworks): Configure with other soft float.
714 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
716         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
717         (mips64r5900el-*-elf*): New configurations.
719 2013-06-04  Alan Modra  <amodra@gmail.com>
721         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
723 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
725         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
727 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
729         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
730         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
731         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
733 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
735         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
736         (powerpc-wrs-vxworks): Likewise.
738 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
740         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
741         signal frames as well.
742         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
743         STACK_BIAS to the CFA offset.
745 2013-05-17  Richard Henderson  <rth@redhat.com>
747         PR target/49146
748         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
749         (execute_cfa_program): Use it when storing to fs->regs.
751 2013-05-08  Kai Tietz  <ktietz@redhat.com>
753         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
754         (__deregister_frame_info): Likewise.
756 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
758         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
759         NaN's payload.
761         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
763 2013-04-25  Alan Modra  <amodra@gmail.com>
765         * config.host: Match little-endian powerpc-linux.
767 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
769         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
770         as 'unsigned long long' instead of 'unsigned long'.
771         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
772         'signed long'.
774 2013-04-10  Julian Brown  <julian@codesourcery.com>
776         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
777         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
778         unsigned char/unsigned short.
779         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
781 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
783         PR other/55274
784         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
786 2013-04-04  Meador Inge  <meadori@codesourcery.com>
788         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
789         computing the location of the link register.
790         (aeabi_uldivmod): Ditto.
792 2013-03-27  Kai Tietz  <ktietz@redhat.com>
794         * config.host: Add support for cygwin x64 target.
795         * configure: Regenerated.
797 2013-03-26  Walter Lee  <walt@tilera.com>
799         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
800         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
802 2013-03-25  Kai Tietz  <ktietz@redhat.com>
804         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
806 2013-03-20  Robert Mason  <rbmj@verizon.net>
808         * config/vxlib-tls.c (__gthread_get_tsd_data,)
809         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
810         (__gthread_leave_tsd_dtor_context): Add prototypes.
811         (tls_delete_hook): Update.
813 2013-03-20  Catherine Moore  <clm@codesourcery.com>
814             Joseph Myers  <joseph@codesourcery.com>
815             Chao-ying Fu  <fu@mips.com>
817         * config/mips/mips16.S:  Don't build for microMIPS.
818         * config/mips/linux-unwind.h: Handle microMIPS frame.
819         * config/mips/crtn.S (fini, init): New labels.
821 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
823         PR tree-optimization/53265
824         * unwind-dw2.c (execute_cfa_program): Avoid
825         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
826         on targets with DWARF_FRAME_REGISTERS < 32.
828 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
830         PR target/49880
831         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
832         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
834 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
836         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
837         sandybridge processors.
839 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
841         PR target/56529
842         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
843         inclusion list.
845 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
847         * config/microblaze/crti.S: Setup stack protection at entry
849 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
851         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
852         (__rotldi3): Shift bytewise if applicable.
854 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
856         * config/aarch64/sync-cache.c
857         (__aarch64_sync_cache_range): Silence warnings.
859 2013-02-25  Catherine Moore  <clm@codesourcery.com>
861         Revert:
862         2013-02-24  Catherine Moore  <clm@codesourcery.com>
863             Joseph Myers  <joseph@codesourcery.com>
864             Chao-ying Fu  <fu@mips.com>
866         * config/mips/mips16.S:  Don't build for microMIPS.
867         * config/mips/linux-unwind.h: Handle microMIPS frame.
868         * config/mips/crtn.S (fini, init): New labels.
870 2013-02-24  Catherine Moore  <clm@codesourcery.com>
871             Joseph Myers  <joseph@codesourcery.com>
872             Chao-ying Fu  <fu@mips.com>
874         * config/mips/mips16.S:  Don't build for microMIPS.
875         * config/mips/linux-unwind.h: Handle microMIPS frame.
876         * config/mips/crtn.S (fini, init): New labels.
878 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
879         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000 
880         as dividend.
882 2013-02-16  Alan Modra  <amodra@gmail.com>
884         PR target/55431
885         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
886         (ppc_fallback_frame_state): Always set up save locations for fp
887         and altivec.  Don't bother with non-callee-saved regs, r0-r13
888         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
890 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
892         PR target/54222
893         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
894         _ssmulHA, _ssmulSA.
895         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
896         _ssmulha3, _usmulusa3, _ssmulsa3.
897         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
898         (__muldi3): XCALL __muldi3_6 instead of rcall.
899         (__umulsidi3, __mulsidi3): New functions.
900         (do_prologue_saves, do_epilogue_restores): New .macros.
901         (__divdi3_moddi3): Use them.
902         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
903         (__usmulusa3, __ssmulsa3): New functions.
905 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
906             Jack Howarth  <howarth@bromo.med.uc.edu>
907             Patrick Marlier  <patrick.marlier@gmail.com>
909         PR libitm/55693
910         * config/darwin-crt-tm.c: Remove dummy functions hack.
912 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
914         PR target/54222
915         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
916         * config/avr/lib2-object.mk: New iterator to build objects from it.
917         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
918         lib2funcs.c.
919         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
920         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
921         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
922         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
923         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
924         * config/avr/lib1funcs-fixed.S: Implement them.
926 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
928         Update copyright years.
930 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
932         PR target/54601
933         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
934         Add crtcxa to extra_parts.
935         * config/rs6000/exit.h: New file.
936         * config/rs6000/cxa_atexit.c: New file.
937         * config/rs6000/cxa_finalize.c: New file.
938         * config/rs6000/crtcxa.c: New file.
939         * config/rs6000/t-aix-cxa: New file.
940         * config/rs6000/libgcc-aix-cxa.ver: New file.
942 2013-01-31  Nick Clifton  <nickc@redhat.com>
944         * config/v850/lib1funcs.S: Add support for e3v5 architecture
945         variant.
947 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
949         PR target/54222
950         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
951         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
952         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
953         _divQQ,  _divHQ,  _divHA,  _divSA,
954         _divUQQ, _divUHQ, _divUHA, _divUSA.
956 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
958         * config.host(microblaze*-linux*): tmake_file: Remove
959         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
960         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
961         to exclude functions from being built with libgcc.c and use
962         the microblaze assembly.
964 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
966         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
967         extra_parts.
969 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
971         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
972         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
973         __UINTPTR_TYPE__; also cast 'base' to the same type before the
974         alignment operation.
976 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
978         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
979         loop start address for cache clearing.
981 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
983         * config/avr/lib1funcs.S: Remove trailing blanks.
984         * config/avr/lib1funcs-fixed.S: Ditto.
986 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
988         * config/avr/avr-lib.h: Add GPL copyright notice.
990 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
992         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
993         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
994         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
995         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
997 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
999         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
1000         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
1002 2013-01-04  Nick Clifton  <nickc@redhat.com>
1004         * config/v850/lib1funcs.S: Only provide CALLT support functions if
1005         the CALLT instruction is supported.
1007 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
1009         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
1010         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
1012 2012-12-13  John Tytgat  <John@bass-software.com>
1014         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
1015         is 25.
1017 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
1019         PR libgcc/55451
1020         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
1021         undefined signed overflows.
1023 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
1025         PR target/55344
1026         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
1028 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
1030         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
1031         (FP_TRAPPING_EXCEPTIONS): Define.
1032         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
1033         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
1035 2012-12-04  Richard Henderson  <rth@redhat.com>
1037         PR bootstrap/55571
1038         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
1040 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
1042         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
1043         (FP_EX_SHIFT): Define.
1044         (FP_TRAPPING_EXCEPTIONS): Define.
1046 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
1048         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
1049         (FP_ROUNDMODE): Use FP_RND_MASK.
1050         * config/aarch64/sfp-exceptions.c: New.
1051         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1052         Use __sfp_handle_exceptions.
1054 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
1056         * config.host: (arm*-*-freebsd*): Remove.
1057         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
1058         (arm*-*-elf*): Remove.
1059         (arm*-*-wince-pe*): Remove.
1060         * arm/unwind-arm.c (struct fpa_reg): Delete.
1061         (struct fpa_regs): Delete.
1062         (phase1_vrs): Remove fpa element.
1063         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
1064         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
1065         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
1066         * ieee754-sf.S (floatundisf): Remove FPA support.
1067         (floatdisf): Likewise.
1068         * ieee75f-df.S (floatundidf): Likewise.
1069         (floatdidf): Likewise.
1071 2012-11-29  Kai Tietz  <ktietz@redhat.com>
1073         PR target/55445
1074         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
1075         * unwind-generic.h: Likewise.
1076         * unwind-seh.c: Likewise.
1078 2012-11-28  Richard Henderson  <rth@redhat.com>
1080         PR libgcc/48076
1081         * emutls.c (__emutls_get_address): Avoid race condition between
1082         obj->loc.offset read and emutls_key initialization.
1084 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
1086         Adjust decimal point of signed accum mode to GCC default.
1088         PR target/54222
1089         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
1090         _divqq_helper.
1091         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
1092         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
1093         (__mulha3, __mulsa3)
1094         (__divqq3, __divha3, __divsa3): Adjust to new position of
1095         decimal point of signed accum types.
1097         (__mulusa3_round): New function.
1098         (__mulusa3): Use it.
1099         (__divqq_helper): New function.
1100         (__udivuqq3): Use it.
1102 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
1104         PR bootstrap/55370
1105         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
1107 2012-11-18  Teresa Johnson  <tejohnson@google.com>
1109         PR bootstrap/55051
1110         * libgcov.c (gcov_exit): Remove merged program summary
1111         comparison unless !GCOV_LOCKED.
1113 2012-11-15  Marcus Shawcroft <marcus.shawcroft@arm.com>
1115         * soft-fp: Updated from glibc upstream.
1117 2012-11-06  Ian Lance Taylor  <iant@google.com>
1119         * generic-morestack.c (__generic_morestack): Align the returned
1120         stack pointer to a 32 byte boundary.
1121         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
1122         increment the return address until we have decided that we don't
1123         have a varargs function.
1124         (__morestack) [32-bit]: Align stack correctly when calling C
1125         functions.
1126         (__morestack) [64-bit]: Likewise.
1128 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
1130         * configure: Regenerate.
1132 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
1134         PR target/55175
1135         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
1136         * config/i386/sfp-machine.h: Guard exception handling
1137         code with _SOFT_FLOAT.
1138         * config/i386/32/sfp-machine.h: Guard rounding handling
1139         code with _SOFT_FLOAT.
1140         * config/i386/64/sfp-machine.h: Ditto.
1142 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
1144         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
1145         as extra_parts.
1147 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
1149         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
1150         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
1151         when appropriate.  Correct structure element types.
1152         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
1153         -minline-all-stringops from compile flags.
1155 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
1157         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
1159 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
1161         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
1163 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1165         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
1166         tmake_file.
1168 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
1169             Jim MacArthur  <jim.macarthur@arm.com>
1170             Marcus Shawcroft  <marcus.shawcroft@arm.com>
1171             Nigel Stephens  <nigel.stephens@arm.com>
1172             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1173             Richard Earnshaw  <rearnsha@arm.com>
1174             Sofiane Naci  <sofiane.naci@arm.com>
1175             Stephen Thomas  <stephen.thomas@arm.com>
1176             Tejas Belagod  <tejas.belagod@arm.com>
1177             Yufeng Zhang  <yufeng.zhang@arm.com>
1179         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
1180         * config/aarch64/crti.S: New file.
1181         * config/aarch64/crtn.S: New file.
1182         * config/aarch64/linux-unwind.h: New file.
1183         * config/aarch64/sfp-machine.h: New file.
1184         * config/aarch64/sync-cache.c: New file.
1185         * config/aarch64/t-aarch64: New file.
1186         * config/aarch64/t-softfp: New file.
1188 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
1190         * config/mmix/crti.S: Mark program and data addresses using PRELD.
1191         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
1192         no-longer-needed LDBU insns.
1194 2012-10-18  Sebastian Huber <sebastian.huber@embedded-brains.de>
1196         * config.host
1197         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
1198         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
1200 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1202         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
1204 2012-10-15  Matthias Klose  <doko@ubuntu.com>
1206         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
1208 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
1210         * configure: Regenerate.
1211         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
1213 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
1215         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1216         instructions for 64bit targets only.
1218 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
1220         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
1221         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
1222         * config/i386/32/sfp-machine.h: ... here.
1223         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1224         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
1225         New defines.
1227 2012-10-07  Matthias Klose  <doko@ubuntu.com>
1229         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
1230         as unused.
1231         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
1233 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
1235         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
1236         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
1237         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
1238         (ElfW): Likewise.
1240 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
1242         PR other/53889
1243         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
1244         Fix parameter names.
1246 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
1248         PR target/33135
1249         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
1250         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
1251         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
1253 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
1255         PR target/50457
1256         * config/sh/linux-atomic.S: Delete.
1257         * config/sh/linux-atomic.c: New.
1258         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
1259         linux-atomic.c.  Add cflags to disable warnings.
1261 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
1263         PR other/53889
1264         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
1265         function.
1266         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
1267         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
1268         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
1269         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
1270         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
1271         Likewise.
1272         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
1273         Likewise.
1274         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
1275         Likewise.
1276         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
1277         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
1279 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
1281         * config.host (hppa-*-openbsd*): New target.
1282         * config/pa/t-openbsd: New file.
1284 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
1286         PR target/54222
1287         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
1288         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
1289         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
1290         (__divsa3): Use __negsi2 to negate r_quoL.
1291         * config/avr/lib1funcs.S (FALIAS): New macro.
1292         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
1293         (__negsi2): ...this new function.
1294         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
1295         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
1296         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
1297         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
1298         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
1299         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
1301 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
1303         PR target/54089
1304         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
1305         (lshrsi3): Reimplement as lshrsi3_r0.
1307 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
1309         PR target/46191
1310         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
1311         of libgcc.a.
1313 2012-09-07  Teresa Johnson  <tejohnson@google.com>
1315         PR gcov-profile/54487
1316         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
1317         differences.
1319 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
1321         PR target/54461
1322         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
1323         not configured --with-avrlibc=no.
1324         * config/avr/t-avrlibc: New file.
1325         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
1326         (DPBIT_FUNCS): Ditto.
1327         (TPBIT_FUNCS): Ditto.
1329 2012-09-04  Teresa Johnson  <tejohnson@google.com>
1331         * libgcov.c (struct gcov_summary_buffer): New structure.
1332         (gcov_histogram_insert): New function.
1333         (gcov_compute_histogram): Ditto.
1334         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
1335         histograms during summary merging.
1337 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
1339         * config.host (x86_64-*-openbsd*): New target.
1341 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
1343         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
1344         attribute.
1346 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
1348         PR target/54222
1349         * config/avr/t-avr (conv_X): Rename to func_X.
1351 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
1353         PR target/54222
1354         * config/avr/lib1funcs-fixed.S: New file.
1355         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
1356         after they are used.
1357         (neg2, neg4): New macros.
1358         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
1359         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
1360         (__umulhisi3): Speed up MUL variant if there is enough flash.
1361         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
1362         avr-modes.def.
1363         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
1364         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
1365         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
1366         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
1367         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
1368         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
1369         (LIB2FUNCS_EXCLUDE): Add supported functions.
1371 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
1373         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
1374         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
1375         libgcc-s-objects.
1376         * fixed-obj.mk: Only expand dependency if $o is not in
1377         LIB2FUNCS_EXCLUDE.
1379 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
1381         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
1383 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
1385         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
1386         depend on --enable-shared.
1387         ($(lib1asmfuncs-o)): Use %.vis files independent of
1388         --enable-shared.
1389         * static-object.mk ($(base)$(objext), $(base).vis)
1390         ($(base)_s$(objext)): Use same rules for visibility handling as in
1391         shared-object.mk.
1393 2012-08-21  Ian Lance Taylor  <iant@google.com>
1395         * config/i386/morestack.S (__morestack_non_split): Increase amount
1396         of space allocated for non-split code stack.
1398 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
1400         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
1401         even if inhibit_libc.
1403 2012-08-17  Julian Brown  <julian@codesourcery.com>
1405         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
1406         -fexceptions -fnon-call-exceptions if not defined.
1407         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
1408         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
1410 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
1412         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
1413         type.
1415 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
1417         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
1418         rs6000/t-slibgcc-aix.
1420 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
1422         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
1424 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
1426         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
1428 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
1430         PR driver/54171
1431         * Makefile.in (version): Replace top_srcdir with srcdir.
1433 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
1435         * Makefile.in (version): set to BASE-VER file from gcc directory.
1437 2012-08-01  Nick Clifton  <nickc@redhat.com>
1439         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
1440         Implements __clrsb for an HImode argument.
1442 2012-07-31  Nick Clifton  <nickc@redhat.com>
1444         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
1445         Implements __clrsb for an HImode argument.
1446         * config/stormy16/clrsbhi2.c: New file:
1447         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
1449 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
1451         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
1453 2012-07-19  Tristan Gingold  <gingold@adacore.com>
1454             Richard Henderson  <rth@redhat.com>
1456         * unwind-seh.c: New file.
1457         * unwind-generic.h: Include windows.h for SEH.
1458         (_Unwind_Exception): Use 6 private fields for SEH.
1459         (_GCC_specific_handler): Declare.
1460         * unwind-c.c (__gcc_personality_seh0): New function.
1461         Adjust for SEH.
1462         * config/i386/libgcc-cygming.ver: New file.
1463         * config/i386/t-seh-eh: New file.
1464         * config.host (x86_64-*-mingw*): Default to seh.
1466 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
1468         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
1470 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
1472         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
1473         __builtin_expect when checking for exceptions.
1474         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
1476 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
1478         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
1479         function declaration.
1480         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
1481         (FP_RND_MASK): New.
1482         * config/ia64/sfp-exceptions.c: New.
1483         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
1485 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
1487         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
1488         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
1489         * config/i386/64/sfp-machine: ... (delete here) ...
1490         * config/i386/sfp-machine.h: ... to here.
1491         (FP_EX_MASK): Remove.
1492         (FP_RND_MASK): New.
1493         (FP_INIT_ROUNDMODE): Declare asm as volatile.
1495 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
1497         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
1498         * config/i386/libgcc-sol2.ver: Ditto.
1499         * config/i386/libgcc-glibc.ver: Ditto.
1501 2012-06-11  Roland McGrath  <mcgrathr@google.com>
1503         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
1504         If __GLIBC__ is defined, refer to __pthread_key_create instead of
1505         pthread_cancel.
1507 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
1509         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
1510         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
1511         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
1512         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
1513         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
1514         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
1515         * config/i386/64/sfp-machine: ... (delete here) ...
1516         * config/i386/sfp-machine.h: ... to here.
1517         (FP_EX_MASK): New.
1518         (__sfp_handle_exceptions): New function declaration.
1519         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
1520         * config/i386/sfp-exceptions.c: New.
1521         * config/i386/t-softfp: New.
1522         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
1523         i386/t-softfp to tmake_file.
1525 2012-06-03  David S. Miller  <davem@davemloft.net>
1527         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
1528         change.
1530 2012-05-31  David S. Miller  <davem@davemloft.net>
1532         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
1533         multiply and divide instructions on 32-bit when V9.
1534         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
1536 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
1538         * config/arm/ieee754-df.S: Fix typos.
1539         * config/arm/ieee754-sf.S: Fix typos.
1540         * config/c6x/libunwind.S: Fix typos.
1541         * config/epiphany/udivsi3-float.c: Fix typos.
1542         * config/microblaze/muldi3_hard.S: Fix typos.
1543         * config/picochip/adddi3.S: Fix typos.
1544         * config/picochip/ashlsi3.S: Fix typos.
1545         * config/picochip/ashrsi3.S: Fix typos.
1546         * config/picochip/clzsi2.S: Fix typos.
1547         * config/picochip/cmpsi2.S: Fix typos.
1548         * config/picochip/divmod15.S: Fix typos.
1549         * config/picochip/divmodhi4.S: Fix typos.
1550         * config/picochip/divmodsi4.S: Fix typos.
1551         * config/picochip/longjmp.S: Fix typos.
1552         * config/picochip/lshrsi3.S: Fix typos.
1553         * config/picochip/parityhi2.S: Fix typos.
1554         * config/picochip/popcounthi2.S: Fix typos.
1555         * config/picochip/setjmp.S: Fix typos.
1556         * config/picochip/subdi3.S: Fix typos.
1557         * config/picochip/ucmpsi2.S: Fix typos.
1558         * config/picochip/udivmodhi4.S: Fix typos.
1559         * config/picochip/udivmodsi4.S: Fix typos.
1560         * config/spu/divv2df3.c: Fix typos.
1561         * config/spu/mfc_multi_tag_release.c: Fix typos.
1562         * config/spu/mfc_tag_release.c: Fix typos.
1563         * configure.ac: Fix typos.
1564         * configure: Regenerate.
1566 2012-05-25  Ian Lance Taylor  <iant@google.com>
1568         * config/i386/morestack.S (__morestack_non_split): Check whether
1569         caller is varargs and needs %bp to hold the stack frame on return.
1571 2012-05-25  Olivier Hainque  <hainque@adacore.com>
1573         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
1574         sequence in the non pic case on VxWorks.
1576 2012-05-24  Olivier Hainque  <hainque@adacore.com>
1578         * Makefile.in: Move dependency on install-unwind_h from
1579         "install-leaf" to "install".
1581 2012-05-24  Olivier Hainque  <hainque@adacore.com>
1583         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
1584         Use a separate command for stamp removals.
1586 2012-05-21  Andrew Pinski  <apinski@cavium.com>
1588         PR bootstrap/53183
1589         * configure.ac: Define the default includes to being none.
1590         * configure: Regenerate.
1592 2012-05-16  Olivier Hainque  <hainque@adacore.com>
1594         * Makefile.in (install-unwind_h): Rename into ...
1595         (install-unwind_h-forbuild): New target.
1596         (all): Use it instead of the former install-unwind_h.
1597         (install-unwind_h): Reinstate, copy to user install destination
1598         for include files, not to the internal gcc object directory one.
1599         (install-leaf): Depend on it.
1601 2012-05-15  Olivier Hainque  <hainque@adacore.com>
1603         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
1604         register numbers. LR_REGNO replaces R_LR.
1605         (ucontext_for): New, helper for ...
1606         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
1607         and 5.3 of ...
1608         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
1610 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1612         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
1613         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
1614         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
1615         i386/t-cpuinfo ...
1616         (i[34567]86-*-*, x86_64-*-*): ... here.
1618         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
1619         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
1621         * config/i386/i386-cpuinfo.c: Rename to ...
1622         * config/i386/cpuinfo.c: ... this.
1623         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
1625         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
1626         (libgcc_cv_init_priority): New test.
1627         * configure: Regenerate.
1628         * config.in: New file.
1629         * Makefile.in (clean): Rename config.h to auto-target.h.
1630         (config.h): Likewise.
1631         (stamp-h): Likewise.
1633         * config/i386/cpuinfo.c (auto-target.h): Include.
1634         (CONSTRUCTOR_PRIORITY): Define.
1635         (__cpu_indicator_init): Use it.
1637 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
1639         * longlong.h: Use a URL instead of an FSF postal address.
1640         Replace spaces with tab.
1642 2012-05-08  Teresa Johnson  <tejohnson@google.com>
1644         * libgcov.c (gcov_clear, __gcov_reset): New functions.
1645         (__gcov_dump): Ditto.
1646         (gcov_dump_complete): New global variable.
1647         (gcov_exit): Export hidden to enable use in L_gcov_dump.
1648         (__gcov_flush): Outline functionality now in gcov_clear.
1649         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
1651 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
1653         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
1654         (mips*-*-linux*): Include mips/t-tpbit when long double is
1655         16 bytes long.
1657 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
1659         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
1660         (get_available_features): New argument. Check for AVX2.
1661         (__cpu_indicator_init): Modify call to get_available_features.
1663 2012-04-25  Alan Modra  <amodra@gmail.com>
1665         * config/rs6000/crtsavevr.S: New file.
1666         * config/rs6000/crtrestvr.S: New file.
1667         * config/rs6000/t-savresfgpr: Build the above.
1668         * config/rs6000/t-netbsd: Likewise.
1670 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
1672         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
1674 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
1676         * libgcc/config/i386/i386-cpuinfo.c: New file.
1677         * libgcc/config/i386/t-cpuinfo: New file.
1678         * libgcc/config.host: Include t-cpuinfo.
1679         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
1681 2012-04-24  Chao-ying Fu  <fu@mips.com>
1683         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
1685 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
1687         struct siginfo vs. siginfo_t
1689         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
1690         siginfo_t instead of struct siginfo.
1691         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
1692         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
1693         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
1694         (ia64_handle_unwabi): Likewise.
1695         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
1696         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
1697         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
1698         (sh_fallback_frame_state): Likewise.
1699         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
1700         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
1702 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
1704         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
1705         system call number.
1707 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
1709         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
1710         if it hasn't been previously saved.
1712 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
1714         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
1715         only for glibc.
1717 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
1719         PR target/52737
1720         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
1721         instead of __AVR_HAVE_8BIT_SP__.
1723 2012-03-26  Tristan Gingold  <gingold@adacore.com>
1725         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
1726         (unw_table_entry): Use unw_word instead of unsigned long.
1727         (_Unwind_FindTableEntry): Likewise.
1728         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
1729         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
1730         (_Unwind_FindTableEntry): Likewise.
1731         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
1732         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
1733         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
1734         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
1735         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
1736         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
1737         (uw_init_context_1, uw_install_context): Likewise.
1738         (unw_word): Move to unwind-ia64.h
1740 2012-03-26  Tristan Gingold  <gingold@adacore.com>
1742         * config/vms/vms-ucrt0.c: Update copyright years.
1743         Add a sanity check.
1744         (___gcc_main_flags): Declare.
1745         (__main): Check flags to remap argv and exit code.
1746         * config.host (*-*-*vms*): Adjust extra_parts.
1747         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
1748         (crt0.o): Add.
1750 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
1752         * arm/lib1funcs.asm (ctzsi2): New function.
1753         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
1754         * arm/t-linux (LIB1ASMFUNCS): Likewise.
1755         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
1756         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
1757         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
1758         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
1760 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
1762         * config.host: Add bits to support powerpc64-*-freebsd*.
1763         * config/rs6000/freebsd-unwind.h: New file.
1764         * config/rs6000/t-freebsd64: New file.
1766 2012-03-20  Richard Guenther  <rguenther@suse.de>
1768         PR gcov-profile/52627
1769         * libgcov.c (init_mx): Fix mutex name.
1771 2012-03-16  Tristan Gingold  <gingold@adacore.com>
1773         * config/ia64/vms-unwind.h: Remove ulong (and replace
1774         it by unw_reg where used).  Define unw_reg with __int64.
1776 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1778         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1779         Solaris 8 handling.
1780         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1781         Solaris 8 handling.
1782         (sparc_is_sighandler): Likewise.
1784 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
1786         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
1787         <= saved reg size.
1789 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1791         * config/arm/crtn.S: Fix typo.
1793 2012-03-13  Richard Guenther  <rguenther@suse.de>
1795         * libgcov.c: Remove stdio.h include and NULL un-define.
1797 2012-03-13  Richard Guenther  <rguenther@suse.de>
1799         PR target/52569
1800         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
1802 2012-03-13  Richard Guenther  <rguenther@suse.de>
1804         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
1806 2012-03-13  Richard Guenther  <rguenther@suse.de>
1808         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
1809         and __gthread_mutex_init_function definitions.
1811 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1813         * config.host (mips*-*-openbsd*): Remove.
1815 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1817         * config.host: Remove alpha*-dec-osf5.1* handling.
1818         * config/alpha/gthr-posix.c: Remove.
1819         * config/alpha/libgcc-osf5.ver: Remove.
1820         * config/alpha/osf5-unwind.h: Remove.
1821         * config/alpha/t-osf-pthread: Remove.
1822         * config/alpha/t-slibgcc-osf: Remove.
1823         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
1824         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
1825         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
1826         * mkmap-flat.awk: Remove osf_export handling.
1828 2012-03-12  Richard Guenther  <rguenther@suse.de>
1830         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
1831         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1832         (__gthread_mutex_init_function): New function.
1833         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1835         PR gcov/49484
1836         * libgcov.c: Include gthr.h.
1837         (__gcov_flush_mx): New global variable.
1838         (init_mx, init_mx_once): New functions.
1839         (__gcov_flush): Protect self with a mutex.
1840         (__gcov_fork): Re-initialize mutex after forking.
1841         * unwind-dw2-fde.c: Change condition under which to use
1842         __GTHREAD_MUTEX_INIT_FUNCTION.
1844 2012-03-12  Tristan Gingold  <gingold@adacore.com>
1846         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
1847         * config/ia64/t-vms: Likewise.
1849 2012-03-11  Michael Hope  <michael.hope@linaro.org>
1851         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
1852         for Thumb-2.
1854 2012-03-07  Walter Lee  <walt@tilera.com>
1856         * config/tilepro/atomic.c: Rename "atomic_" prefix to
1857         "arch_atomic_".
1858         (atomic_xor): Rename and move definition to
1859         config/tilepro/atomic.h.
1860         (atomic_nand): Ditto.
1861         * config/tilepro/atomic.h: Rename "atomic_" prefix to
1862         "arch_atomic_".
1863         (arch_atomic_xor): Move from config/tilepro/atomic.c.
1864         (arch_atomic_nand): Ditto.
1866 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
1868         PR target/52507
1869         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
1871 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
1873         PR target/52505
1874         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
1875         from RAM.
1877 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
1879         PR target/52461
1880         PR target/52508
1881         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
1882         if RAMPZ affects reading from RAM.
1883         (__tablejump_elpm__): Ditto.
1884         (.xload): Ditto.
1885         (__movmemx_hi): Ditto.
1886         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
1887         (__do_global_dtors): Ditto.
1888         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
1889         (__movmemx_hi): Ditto.
1891 2012-03-05  Richard Henderson  <rth@redhat.com>
1893         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
1894         [ARM] (count_trailing_zeros): Use the builtin.
1896 2012-03-01  Kai Tietz  <ktietz@redhat.com>
1898         * soft-fp: Imported from glibc upstream.
1900 2012-02-28  Kai Tietz  <ktietz@redhat.com>
1902         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
1903         for mingw-targets as attribute gcc_struct.
1905 2012-02-28  Ian Lance Taylor  <iant@google.com>
1907         * generic-morestack.c (__splitstack_releasecontext): Correct call
1908         to __morestack_release_segments.
1910 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1912         PR target/52390
1913         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
1914         for __linux__ when removing signals from __morestack_fullmask.
1916 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
1918         PR target/52261
1919         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
1921 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1923         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
1924         instead of HAVE_INITFINI_ARRAY.
1925         * config/ia64/crtend.S: Likewise.
1927 2012-02-20  Kai Tietz  <ktietz@redhat.com>
1929         PR libstdc++/52300
1930         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
1932         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
1933         to w32-unwind.h header.
1935 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
1937         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
1938         (mips*-*-linux*): Remove t-slibgcc-libgcc.
1939         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
1940         * config/mips/mips16.S (__mips16_rdhwr): Delete.
1942 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
1944         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
1946 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
1948         PR libitm/52220
1949         * config/darwin-crt-tm.c: Correct typo.
1951 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
1952             Patrick Marlier  <patrick.marlier@gmail.com>
1954         PR libitm/52220
1955         * config/darwin-crt-tm.c: Generate dummy functions.
1957 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
1958             Patrick Marlier  <patrick.marlier@gmail.com>
1960         PR libitm/52042
1961         * config/darwin-crt-tm.c (getTMCloneTable): New function.
1962         (__doTMRegistrations): Call it.
1963         (__doTMdeRegistrations): Likewise.
1965 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
1966             Anatoly Sokolov <aesok@post.ru>
1967             Eric Weddington <eric.weddington@atmel.com>
1969         PR target/52261
1970         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
1971         (__epilogue_restores__): Ditto.
1973 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
1975         PR target/51921
1976         PR target/52205
1977         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
1978         Solaris 11 and slightly reformat.
1979         (sparc_is_sighandler): Likewise.
1981 2012-02-14  Walter Lee  <walt@tilera.com>
1983         * config.host: Handle tilegx and tilepro.
1984         * config/tilegx/sfp-machine.h: New file.
1985         * config/tilegx/sfp-machine32.h: New file.
1986         * config/tilegx/sfp-machine64.h: New file.
1987         * config/tilegx/t-crtstuff: New file.
1988         * config/tilegx/t-softfp: New file.
1989         * config/tilegx/t-tilegx: New file.
1990         * config/tilepro/atomic.c: New file.
1991         * config/tilepro/atomic.h: New file.
1992         * config/tilepro/linux-unwind.h: New file.
1993         * config/tilepro/sfp-machine.h: New file.
1994         * config/tilepro/softdivide.c: New file.
1995         * config/tilepro/softmpy.S: New file.
1996         * config/tilepro/t-crtstuff: New file.
1997         * config/tilepro/t-tilepro: New file.
1999 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
2001         PR libstdc++/51296
2002         PR libstdc++/51906
2003         * gthr-posix.h: Allow static initializer macros to be disabled.
2004         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
2006 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
2008         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
2009         Add t-slibgcc-libgcc to tmake_file.
2010         * config/mips/libgcc-mips16.ver: Revert previous patch.
2011         * config/mips/mips16.S (__mips16_rdhwr): Hide.
2013 2012-02-02  Sumanth G <sumanth.gundapaneni@kpitcummins.com>
2014             Jayant R Sonar <jayant.sonar@kpitcummins.com>
2016         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
2017         * config/cr16/crti.S: New file.
2018         * config/cr16/crtlibid.S: New file.
2019         * config/cr16/crtn.S: New file.
2020         * config/cr16/lib1funcs.S: New file.
2021         * config/cr16/t-cr16: New file.
2022         * config/cr16/t-crtlibid: New file.
2023         * config/cr16/unwind-dw2.h: New file.
2024         * config/cr16/unwind-cr16.c: New file.
2025         * config/cr16/divmodhi3.c: New file.
2027 2012-01-25  Alan Modra  <amodra@gmail.com>
2029         * config/rs6000/t-linux64: Delete.  Move..
2030         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
2031         * config/rs6000/t-linux: ..and libgcc flags to here.
2033 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
2035         * config.host (i[34567]86-*-interix3*):
2036         Change triplet to i[34567]86-*-interix[3-9]*.
2037         * configure: Regenerate.
2039 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
2040             Richard Sandiford  <rdsandiford@googlemail.com>
2042         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
2043         * config/mips/mips16.S (__mips16_rdhwr): New function.
2044         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
2046 2012-01-11  Nathan Sidwell  <nathan@acm.org>
2048         * libgcov.c (__gcov_init): Ignore objects with no functions.
2050 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
2052         PR target/49868
2053         Extend __pgmx semantics to linearize memory.
2054         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
2055         * config/avr/lib1funcs.S (__xload_1): New function.
2056         (__movmemx_qi, __movmemx_hi): New functions.
2057         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
2058         semantics.
2060 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
2062         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
2063         purported sigacthandler address isn't null before dereferencing it.
2064         (sparc_is_sighandler): Likewise.
2066 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
2068         PR ada/41929
2069         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
2070         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
2071         (sparc_is_sighandler): Likewise.
2072         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
2074 2012-01-06  Tristan Gingold  <gingold@adacore.com>
2076         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
2077         compatibility thunks...
2078         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
2079         (crtbeginS.o, crtendS.o): ... and these to ...
2080         * config/ia64/t-ia64-elf: ... this new file.
2081         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
2082         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
2084 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2086         * configure: Regenerate.
2087         * config/s390/t-crtstuff: Remove -fPIC.
2089 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
2091         PR bootstrap/51006
2092         * enable-execute-stack-mprotect.c (getpagesize): Do not define
2093         for NetBSD.
2095 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
2097         PR target/51345
2098         * config/avr/lib1funcs.S: Remove FIXME comments.
2099         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
2101 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
2103         Implement light-weight DImode support.
2104         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
2105         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
2106         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
2107         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
2109 2011-12-30  Nathan Sidwell  <nathan@acm.org>
2111         * libgcov.c (gcov_crc32): Remove global var.
2112         (free_fn_data): New function.
2113         (buffer_fn_data): Pass in filename, more robust error recovery.
2114         (crc32_unsigned): New function.
2115         (gcov_exit): More robust detection of new program. More robust
2116         error recovery.
2117         (__gcov_init): Do not update program's crc here.
2119 2011-12-21  Tristan Gingold  <gingold@adacore.com>
2121         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
2123 2011-12-21  Ian Lance Taylor  <iant@google.com>
2125         * config/i386/morestack.S: Simplify CFI opcodes throughout.
2127 2011-12-20  Ian Lance Taylor  <iant@google.com>
2129         * config/i386/morestack.S (__morestack_non_split): If there is
2130         enough stack space already, don't split.  Ask for more stack space
2131         than we required.
2133 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
2135         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
2136         `sys/sdt.h'.
2137         (_Unwind_DebugHook): New function.
2138         (uw_restore_core_regs): New define.
2139         (unwind_phase2): Use uw_restore_core_regs instead of
2140         restore_core_regs.
2141         (unwind_phase2_forced): Likewise.
2142         (__gnu_Unwind_Resume): Likewise.
2144 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
2146         * config/alpha/linux-unwind.h: Update copyright years.
2147         (MD_FROB_UPDATE_CONTEXT): New define.
2148         (alpha_frob_update_context): New function.
2150 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
2152         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
2153         tmake_file rather replacing it.
2155 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
2157         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
2158         function is not used for PPC64.
2159         (save_world): Amend comments.  Update the VRsave mask to reflect the
2160         saved regs.
2161         (rest_world): Update comments, do not  clobber r10, do not use r8.
2162         (eh_rest_world_r10): Amend comments, do not use r8.
2163         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
2164         no longer used, move restore of CR and target address to the end of
2165         the routine.
2167 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
2169         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
2170         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
2172 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
2174         PR target/49313
2175         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
2176         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
2178 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
2180         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
2182 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
2184         PR target/49313
2185         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
2186         * config/avr/lib1funcs.S (__muldi3): New function.
2188 2011-12-06  Andrew Pinski  <apinski@cavium.com>
2190         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
2191         size of func_ptr.
2192         (__frame_dummy_init_array_entry): Likewise.
2194 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
2196         Forward-port from gcc-4_6-branch r181936 2011-12-02.
2198         PR target/51345
2199         PR target/51002
2200         * config/avr/lib1funcs.S (__prologue_saves__,
2201         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
2202         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
2204 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
2206         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
2208 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2210         PR other/51272
2211         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
2212         (_ITM_deregisterTMCloneTable): Likewise.
2213         (__register_frame_info): Fix unused warning.
2214         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
2215         pthread_default_stacksize_np): Likewise.
2216         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
2218 2011-11-29  DJ Delorie  <dj@redhat.com>
2220         * config.host (rl78-*-elf): New case.
2221         * config/rl78: New directory for the Renesas RL78.
2223 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
2225         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
2226         formatting.
2228 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2230         PR other/51022
2231         * config/rs6000/t-savresfgpr: New file.
2232         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
2233         $(srcdir)/config/rs6000/eabi.S.
2234         * config/rs6000/t-ppccomm-ldbl: Remove.
2235         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
2236         tmake_file.
2237         (powerpc-*-eabispe*): Likewise.
2238         (powerpc-*-eabi*): Likewise.
2239         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2240         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
2241         to tmake_file, remove rs6000/t-ppccomm-ldbl.
2242         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
2243         tmake_file.
2244         (powerpc-*-eabisim*): Likewise.
2245         (powerpc-*-elf*): Likewise.
2246         (powerpc-*-eabialtivec*): Likewise.
2247         (powerpc-xilinx-eabi*): Likewise.
2248         (powerpc-*-rtems*): Likewise.
2249         (powerpcle-*-elf*): Likewise.
2250         (powerpcle-*-eabisim*): Likewise.
2251         (powerpcle-*-eabi*): Likewise.
2253 2011-11-27  Ian Lance Taylor  <iant@google.com>
2255         * generic-morestack.c (__splitstack_find): Check for NULL old
2256         stack value.
2257         (__splitstack_resetcontext): New function.
2258         (__splitstack_releasecontext): New function.
2259         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
2261 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
2263         * config/darwin-crt-tm.c: Correct comments, use correct licence.
2265 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
2267         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
2269 2011-11-26  Richard Henderson  <rth@redhat.com>
2271         * config/m68k/linux-atomic.c: New file.
2272         * config/m68k/t-linux: New file.
2273         * config.host (m68k-uclinux, m68k-linux): Use it.
2275 2011-11-26  Richard Henderson  <rth@redhat.com>
2277         * crtstuff.c (__TMC_LIST__): Mark used not unused.
2278         (__TMC_END__): Only declare if hidden is available; in the definition,
2279         if hidden is unavailable add a null record.
2280         (deregister_tm_clones, register_tm_clones): New.
2281         (__do_global_dtors_aux, frame_dummy): Use them.
2282         (__do_global_dtors, __do_global_ctors_1): Likewise.
2284 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
2286         * config/darwin-crt-tm.c: New file.
2287         * config.host (darwin): Build crttms.o crttme.o to provide
2288         startup and shutdown for tm clones.
2289         * config/t-darwin (crttms.o): New build rule.
2290         (crttme.o): Likewise.
2292 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
2294         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
2295         et al.
2297 2011-11-21  Richard Henderson  <rth@redhat.com>
2299         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
2300         (__TMC_LIST__, __TMC_END__): New.
2301         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
2302         (__do_global_dtors): Likewise.
2303         (frame_dummy): Call _ITM_registerTMCloneTable.
2304         (__do_global_ctors_1): Likewise.
2306 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2308         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
2309         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2310         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
2311         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
2312         * config/i386/t-darwin64: Remove.
2313         * config/sh/t-netbsd (LIB2ADD): Remove.
2315 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
2317         PR target/49313
2318         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
2319         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
2320         * config/avr/lib1funcs.S (wmov): New assembler macro.
2321         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
2322         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
2323         (__udivmod64): New function.
2324         (__negdi2): New function.
2326 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
2328         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
2329         *-*-freebsd*aout*): Remove.
2331 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
2333         * static-object.mk (c_flags-$o): Save c_flags.
2334         ($(base)$(objext)): Use it.
2336 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
2338         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
2340 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
2342         PR target/49868
2343         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
2344         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
2345         New functions.
2347 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
2349         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
2350         functions.
2351         (aeabi_uidivmod): Likewise.
2352         (umodsi3): Likewise.
2353         (divsi3): Likewise.
2354         (aeabi_idivmod): Likewise.
2355         (modsi3): Likewise.
2357 2011-11-16  Tristan Gingold  <gingold@adacore.com>
2359         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
2361 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
2363         PR target/49868
2364         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
2365         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
2367 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2369         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
2370         tmake_file list.
2371         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
2372         * config/pa/t-stublib64: Delete.
2374 2011-11-12  Richard Henderson  <rth@redhat.com>
2376         * config/rs6000/linux-unwind.h (frob_update_context): Properly
2377         cast the pointer argument to _Unwind_SetGRPtr.
2379 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2381         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
2383 2011-11-09  Ian Lance Taylor  <iant@google.com>
2385         * generic-morestack.c: Include <string.h>.
2386         (uintptr_type): Define.
2387         (struct initial_sp): Add dont_block_signals field.  Reduce size of
2388         extra array by 1.
2389         (allocate_segment): Set prev field to NULL.  Don't set
2390         __morestack_current_segment or __morestack_segments.
2391         (__generic_morestack): Update current->prev and *pp after calling
2392         allocate_segment.
2393         (__morestack_block_signals): Don't do anything if
2394         dont_block_signals is set.
2395         (__morestack_unblock_signals): Likewise.
2396         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
2397         uintptr_type.
2398         (__splitstack_block_signals): New function.
2399         (enum __splitstack_content_offsets): Define.
2400         (__splitstack_getcontext, __splitstack_setcontext): New functions.
2401         (__splitstack_makecontext): New function.
2402         (__splitstack_block_signals_context): New function.
2403         (__splitstack_find_context): New function.
2404         * config/i386/morestack.S (__morestack_get_guard): New function.
2405         (__morestack_set_guard, __morestack_make_guard): New functions.
2406         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
2408 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2410         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
2411         (i[34567]86-*-mingw*): ... here.
2412         (x86_64-*-mingw*): ... here.
2414 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2416         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
2418 2011-11-07  Nathan Sidwell  <nathan@acm.org>
2420         * libgcov.c (struct gcov_fn_buffer): New struct.
2421         (buffer_fn_data): New helper.
2422         (gcov_exit): Rework for new gcov data structures.
2424 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
2426         PR target/49313
2427         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
2429 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2431         * config.host (tmake_file): Correct comment.
2432         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
2433         t-libgcc-pic.
2434         (bfin*-uclinux*): Likewise.
2435         (bfin*-linux-uclibc*): Likewise.
2436         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
2438         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
2439         assigning.
2440         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2441         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
2442         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2443         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
2444         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2445         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
2446         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
2447         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2448         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
2449         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
2450         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
2451         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
2452         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
2454         * config/bfin/t-elf: Remove.
2455         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
2457 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2459         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
2460         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
2461         (lm32-*-elf*, lm32-*-rtems*): Split into ...
2462         (lm32-*-elf*): ... this.
2463         (lm32-*-rtems*): ... and this.
2464         Add to tmake_file.
2465         (m32r-*-rtems*): Add to tmake_file.
2466         (moxie-*-rtems*): Likewise.
2467         (sparc-*-rtems*): Likewise.
2468         Remove t-rtems from tmake_file.
2469         (sparc64-*-rtems*): Likewise.
2470         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
2471         instead.
2473 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2475         PR bootstrap/50982
2476         * config/gthr-posix.h: Move ...
2477         * gthr-posix.h: ... here.
2478         * config/gthr-lynx.h: Reflect this.
2479         * config/gthr-vxworks.h: Likewise.
2480         * config/rs6000/gthr-aix.h: Likewise.
2481         * configure.ac (target_thread_file): Likewise.
2482         * configure: Regenerate.
2484 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2486         * config.host (arm*-*-rtemseabi*): New target.
2488 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2490         PR other/50991
2491         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
2492         extra-parts.
2494 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
2496         * config.host (epiphany-*-elf*): New configuration.
2497         * config/epiphany: New Directory.
2499 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
2501         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
2502         * config/avr/t-rtems: New.
2503         Filter out _exit from LIB1ASMFUNCS.
2505 2011-11-04  David S. Miller  <davem@davemloft.net>
2507         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
2508         * configure: Rebuild.
2510 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2512         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
2513         variable.
2515 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
2517         PR target/50931
2518         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
2519         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
2521 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
2523         PR target/50989
2524         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
2526 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2528         * config/c6x/t-elf (LIB2ADDEH): Set.
2529         * config/c6x/t-c6x-elf: Remove.
2531 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2533         * config/i386/sol2-ci.S: Rename to ...
2534         * config/i386/crti.S: ... this.
2535         * config/i386/sol2-cn.S: Rename to ...
2536         * config/i386/crtn.S: ... this.
2537         * config/sparc/sol2-ci.S: Rename to ...
2538         * config/sparc/crti.S: ... this.
2539         * config/sparc/sol2-cn.S: Rename to ...
2540         * config/sparc/crtn.S: ... this.
2541         * config/t-sol2 (CUSTOM_CRTIN): Remove.
2542         (crti.o, crtn.o): Remove.
2544 2011-11-04  Tristan Gingold  <gingold@adacore.com>
2546         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
2548 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
2550         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
2552 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
2554         * config.host (crisv32-*-none, cris-*-none): Remove.
2555         (crisv32-*-elf): Append to tmake_file, don't just set it.
2556         (cris-*-elf): Add missing t-fdpbit to tmake_file.
2558 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2560         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
2561         (ecrtn$(objext)): Likewise.
2562         (ncrti$(objext)): Likewise.
2563         (ncrtn$(objext)): Likewise.
2565 2011-11-03  Andreas Schwab  <schwab@redhat.com>
2567         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
2569 2011-11-02  David S. Miller  <davem@davemloft.net>
2571         * configure.ac: Set host_address on sparc too.
2572         * configure: Regenerate.
2573         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
2574         based upon host_address.
2575         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
2577 2011-11-02  Jason Merrill  <jason@redhat.com>
2579         * config/rs6000/t-ppccomm: Add missing \.
2581 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2583         * gthr-single.h, gthr.h: New files.
2584         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
2585         config/gthr-vxworks.h, config/i386/gthr-win32.h,
2586         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
2587         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
2588         * config/i386/gthr-win32.c: Include "gthr-win32.h".
2589         * configure.ac (thread_header): New variable.
2590         Set it depending on target_thread_file.
2591         (gthr-default.h): Link from $thread_header.
2592         * configure: Regenerate.
2593         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
2595 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2597         * configure.ac (tm_file_): New variable.
2598         Determine from tm_file.
2599         (tm_file, tm_defines): Substitute.
2600         * configure: Regenerate.
2601         * mkheader.sh: New file.
2602         * Makefile.in (clean): Remove libgcc_tm.h.
2603         ($(objects)): Depend on libgcc_tm.h.
2604         (libgcc_tm_defines, libgcc_tm_file): New variables.
2605         (libgcc_tm.h, libgcc_tm.stamp): New targets.
2606         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
2607         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
2608         ($(extra-parts)): Depend on libgcc_tm.h.
2609         * config.host (tm_defines, tm_file): New variable.
2610         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
2611         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
2612         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
2613         (avr-*-rtems*): Likewise.
2614         (avr-*-*): Likewise.
2615         (frv-*-elf): Likewise.
2616         (frv-*-*linux*): Likewise.
2617         (h8300-*-rtems*): Likewise.
2618         (h8300-*-elf*): Likewise.
2619         (i[34567]86-*-darwin*): Likewise.
2620         (x86_64-*-darwin*): Likewise.
2621         (rx-*-elf): Likewise.
2622         (tic6x-*-uclinux): Likewise.
2623         (tic6x-*-elf): Likewise.
2624         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
2625         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
2626         * config/i386/cygming-crtbegin.c: Likewise.
2627         * config/i386/cygming-crtend.c: Likewise.
2628         * config/ia64/fde-vms.c: Likewise.
2629         * config/ia64/unwind-ia64.c: Likewise.
2630         * config/libbid/bid_gcc_intrinsics.h: Likewise.
2631         * config/rs6000/darwin-fallback.c: Likewise.
2632         * config/stormy16/lib2funcs.c: Likewise.
2633         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
2634         * crtstuff.c: Likewise.
2635         * dfp-bit.h: Likewise.
2636         * emutls.c: Likewise.
2637         * fixed-bit.c: Likewise.
2638         * fp-bit.c: Likewise.
2639         * generic-morestack-thread.c: Likewise.
2640         * generic-morestack.c: Likewise.
2641         * libgcc2.c: Likewise.
2642         * libgcov.c: Likewise.
2643         * unwind-dw2-fde-dip.c: Likewise.
2644         * unwind-dw2-fde.c: Likewise.
2645         * unwind-dw2.c: Likewise.
2646         * unwind-sjlj.c: Likewise.
2648 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2650         * configure.ac: Include ../config/picflag.m4.
2651         (GCC_PICFLAG): Call it.
2652         Substitute.
2653         * configure: Regenerate.
2654         * Makefile.in (gcc_srcdir): Remove.
2655         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
2656         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
2657         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
2658         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
2659         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
2660         Use $<.
2661         Remove comment.
2662         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
2663         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
2664         to refer to libgcc2.c.
2665         Use $<.
2666         * config/darwin-64.c: New file.
2667         * config/darwin-crt3.c: Remove comment.
2668         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
2669         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
2670         config/udivmodsi4.c: New files.
2671         * config/memcmp.c, config/memcpy.c, config/memmove.c,
2672         config/memset.c: New files.
2673         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
2674         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
2675         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
2676         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
2677         * config/t-openbsd-thread: New file.
2678         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
2679         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
2680         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
2681         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
2682         qrnnd.S.
2683         Adapt filename.
2684         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
2685         to refer to gthr-posix.c.
2686         * config/alpha/t-vms (LIB2ADD): Set.
2687         * config/alpha/vms-gcc_shell_handler.c: New file.
2688         * config/arm/bpabi.c, config/arm/fp16.c,
2689         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
2690         config/arm/unaligned-funcs.c: New files.
2691         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
2692         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2693         * config/arm/t-linux: Likewise.
2694         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
2695         * config/arm/t-netbsd: New file.
2696         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
2697         * config/arm/t-symbian (LIB2ADD_ST): Set.
2698         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
2699         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2700         * config/bfin/t-elf: New file.
2701         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
2702         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
2703         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
2704         config/c6x/ltf.c: New files.
2705         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
2706         (HOST_LIBGCC2_CFLAGS): Set.
2707         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
2708         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2709         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
2710         New files.
2711         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
2712         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
2713         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
2714         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
2715         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
2716         files.
2717         * config/frv/t-frv (LIB2ADD): Set.
2718         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2719         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
2720         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
2721         config/h8300/popcounthi2.c: New files.
2722         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2723         * config/i386/gthr-win32.c: New file.
2724         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
2725         * config/i386/t-cygwin: Likewise.
2726         * config/i386/t-darwin, config/i386/t-darwin64,
2727         config/i386/t-gthr-win32, config/i386/t-interix: New files.
2728         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
2729         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2730         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2731         * config/ia64/quadlib.c: New file.
2732         * config/ia64/t-hpux (LIB2ADD): Set.
2733         * config/ia64/t-ia64: Add comment.
2734         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
2735         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2736         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
2737         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
2738         * config/m32c/t-m32c (LIB2ADD): Set.
2739         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2740         * config/m32r/t-m32r: Likewise.
2741         * config/m68k/fpgnulib.c: New file.
2742         * config/m68k/t-floatlib (LIB2ADD): Set.
2743         (xfgnulib.c): New target.
2744         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
2745         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
2746         * config/mep/t-mep (LIB2ADD): Set.
2747         * config/microblaze/divsi3.asm: Rename to divsi3.S.
2748         * config/microblaze/moddi3.asm: Rename to moddi3.S.
2749         * config/microblaze/modsi3.asm: Rename to modsi3.S.
2750         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
2751         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
2752         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
2753         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
2754         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
2755         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
2756         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
2757         New files.
2758         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
2759         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
2760         * config/pa/fptr.c, config/pa/lib2funcs.S,
2761         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
2762         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2763         (LIB2ADD, LIB2ADD_ST): Set.
2764         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
2765         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
2766         Set.
2767         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
2768         * config/pdp11/t-pdp11: New file.
2769         * config/picochip/libgccExtras/adddi3.S,
2770         config/picochip/libgccExtras/ashlsi3.S,
2771         config/picochip/libgccExtras/ashrsi3.S,
2772         config/picochip/libgccExtras/clzsi2.S,
2773         config/picochip/libgccExtras/cmpsi2.S,
2774         config/picochip/libgccExtras/divmod15.S,
2775         config/picochip/libgccExtras/divmodhi4.S,
2776         config/picochip/libgccExtras/divmodsi4.S,
2777         config/picochip/libgccExtras/lshrsi3.S,
2778         config/picochip/libgccExtras/parityhi2.S,
2779         config/picochip/libgccExtras/popcounthi2.S,
2780         config/picochip/libgccExtras/subdi3.S,
2781         config/picochip/libgccExtras/ucmpsi2.S,
2782         config/picochip/libgccExtras/udivmodhi4.S,
2783         config/picochip/libgccExtras/udivmodsi4.S: New files.
2784         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
2785         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
2786         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
2787         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
2788         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
2789         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
2790         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
2791         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
2792         files.
2793         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
2794         (HOST_LIBGCC2_CFLAGS): Set.
2795         * config/rs6000/t-darwin64: New file.
2796         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
2797         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
2798         * config/rs6000/t-ppccomm (LIB2ADD): Add
2799         $(srcdir)/config/rs6000/tramp.S.
2800         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
2801         Add  $(srcdir)/config/rs6000/eabi.S.
2802         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
2803         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
2804         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
2805         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
2806         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
2807         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
2808         * config/rs6000/tramp.S: New file.
2809         * config/s390/t-tpf: Remove.
2810         * config/sh/linux-atomic.S: New file.
2811         * config/sh/t-linux (LIB2ADD): Set.
2812         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
2813         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2814         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
2815         to unwind-dw2.c.
2816         (HOST_LIBGCC2_CFLAGS): Set.
2817         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2818         * config/spu/divmodti4.c, config/spu/divv2df3.c,
2819         config/spu/float_disf.c, config/spu/float_unsdidf.c,
2820         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
2821         config/spu/mfc_multi_tag_release.c,
2822         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
2823         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
2824         config/spu/multi3.c: New files.
2825         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
2826         (HOST_LIBGCC2_CFLAGS): Set.
2827         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
2828         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
2829         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
2830         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
2831         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
2832         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
2833         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
2834         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
2835         config/stormy16/umodsi3.c: New files.
2836         * config/xtensa/lib2funcs.S: New file.
2837         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2838         * config/xtensa/t-xtensa (LIB2ADD): Set.
2839         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
2840         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
2841         Add t-freebsd-thread to tmake_file for posix threads.
2842         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
2843         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
2844         (*-*-lynxos*): Likewise.
2845         (*-*-netbsd*): Likewise.
2846         (*-*-openbsd*): Likewise.
2847         Add t-openbsd-thread to tmake_file for posix threads.
2848         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
2849         (*-*-vxworks*): Set tmake_file.
2850         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2851         (alpha*-*-freebsd*): Likewise.
2852         (alpha*-*-netbsd*): Likewise.
2853         (alpha*-*-openbsd*): Likewise.
2854         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
2855         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2856         (alpha*-dec-*vms*): Likewise.
2857         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
2858         (bfin*-elf*): Add bfin/t-elf to tmake_file.
2859         (bfin*-uclinux*): Likewise.
2860         (bfin*-linux-uclibc*): Likewise.
2861         (crisv32-*-elf): Add cris/t-cris to tmake_file.
2862         (crisv32-*-none): Likewise.
2863         (cris-*-elf): Likewise.
2864         (cris-*-none): Likewise.
2865         (cris-*-linux*, crisv32-*-linux*): Likewise.
2866         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
2867         tmake_file.
2868         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
2869         tmake_file.
2870         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
2871         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
2872         (x86_64-*-elf*): Likewise.
2873         (i[34567]86-*-nto-qnx*): Likewise.
2874         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
2875         win32 threads.
2876         (x86_64-*-mingw*): Likewise.
2877         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
2878         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
2879         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2880         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2881         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
2882         tmake_file.
2883         (mipsisa64sr71k-*-elf*): Likewise.
2884         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2885         (mips-*-elf*, mipsel-*-elf*): Likewise.
2886         (mips64-*-elf*, mips64el-*-elf*): Likewise.
2887         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2888         (mips*-*-rtems*): Likewise.
2889         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
2890         to tmake_file.
2891         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
2892         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
2893         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
2894         (spu-*-elf*): Likewise.
2895         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
2897 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2899         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
2900         $(srcdir) to refer to $(LIB1ASMSRC).
2901         Use $<.
2902         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
2903         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
2904         config/arm/lib1funcs.S: New files.
2905         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
2906         * config/arm/t-arm: New file.
2907         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
2908         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
2909         config/arm/t-strongarm-elf: New files.
2910         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
2911         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
2912         * config/avr/lib1funcs.S: New file.
2913         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2914         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
2915         * config/c6x/lib1funcs.S: New file.
2916         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2917         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
2918         * config/frv/lib1funcs.S: New file.
2919         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2920         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
2921         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
2922         * config/ia64/__divxf3.asm: Rename to ...
2923         * config/ia64/__divxf3.S: ... this.
2924         Adapt lib1funcs.asm filename.
2925         * config/ia64/_fixtfdi.asm: Rename to ...
2926         * config/ia64/_fixtfdi.S: ... this.
2927         Adapt lib1funcs.asm filename.
2928         * config/ia64/_fixunstfdi.asm: Rename to ...
2929         * config/ia64/_fixunstfdi.S: ... this.
2930         Adapt lib1funcs.asm filename.
2931         * config/ia64/_floatditf.asm: Rename to ...
2932         * config/ia64/_floatditf.S: ... this.
2933         Adapt lib1funcs.asm filename.
2934         * config/ia64/lib1funcs.S: New file.
2935         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
2936         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2937         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
2938         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
2939         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
2940         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
2941         * config/mep/lib1funcs.S: New file.
2942         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2943         * config/mips/mips16.S: New file.
2944         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2945         * config/pa/milli64.S: New file.
2946         * config/pa/t-linux, config/pa/t-linux64: New files.
2947         * config/picochip/lib1funcs.S: New file.
2948         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2949         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
2950         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
2951         * config/sh/t-netbsd: New file.
2952         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
2953         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
2954         * config/sh/t-sh64: New file.
2955         * config/sparc/lb1spc.S: New file.
2956         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
2957         filename.
2958         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
2959         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
2960         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
2961         config/xtensa/lib1funcs.S: New files.
2962         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2963         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
2964         tmake_file.
2965         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
2966         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
2967         (arm*-*-linux*): Likewise.
2968         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
2969         arm*-*-linux-*eabi, add arm/t-linux otherwise.
2970         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
2971         (arm*-*-ecos-elf): Likewise.
2972         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2973         (arm*-*-rtems*): Likewise.
2974         (arm*-*-elf): Likewise.
2975         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
2976         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
2977         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
2978         (bfin*-uclinux*): Likewise.
2979         (bfin*-linux-uclibc*): Likewise.
2980         (bfin*-rtems*): Likewise.
2981         (bfin*-*): Likewise.
2982         (fido-*-elf): Merge into m68k-*-elf*.
2983         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
2984         (frv-*-*linux*): Add frv/t-frv to tmake_file.
2985         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
2986         (h8300-*-elf*): Likewise.
2987         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
2988         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
2989         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
2990         (i[34567]86-*-mingw*): Likewise.
2991         (x86_64-*-mingw*): Likewise.
2992         (i[34567]86-*-interix3*): Likewise.
2993         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
2994         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
2995         (m68k-*-elf*): Also handle fido-*-elf.
2996         Add m68k/t-floatlib to tmake_file.
2997         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
2998         (m68k-*-linux*): Likewise.
2999         (m68k-*-rtems*): Likewise.
3000         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
3001         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
3002         sh64*-*-*.
3003         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
3004         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
3005         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
3006         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
3007         sh/t-netbsd to tmake_file.
3008         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
3009         (sh-*-rtems*): Add sh/t-sh to tmake_file.
3010         (sh-wrs-vxworks): Likewise.
3011         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
3012         *-leon[3-9]*.
3013         (v850*-*-*): Add v850/t-v850 to tmake_file.
3014         (vax-*-linux*): Add vax/t-linux to tmake_file.
3015         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
3017 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3019         * crtstuff.c: New file.
3020         * Makefile.in (CRTSTUFF_CFLAGS): Define.
3021         (CRTSTUFF_T_CFLAGS): Define.
3022         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
3023         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
3024         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
3025         crtstuff.c.
3026         Use $<.
3027         (crtbeginT.o): Use $(objext).
3028         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
3029         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
3030         (gcc-extra-parts): Remove.
3031         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
3032         Set extra_parts.
3033         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3034         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
3035         Add t-crtstuff-pic to tmake_file.
3036         (*-*-lynxos*): New case.
3037         Set tmake_file, extra_parts.
3038         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
3039         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
3040         *-*-netbsdelf[2-9]*.
3041         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
3042         (*-*-rtems*): Set extra_parts.
3043         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
3044         (*-*-uclinux*): New case.
3045         Set extra_parts.
3046         (*-*-vms*): New case.
3047         Set tmake_file, extra_parts.
3048         (*-*-elf): Set extra_parts.
3049         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
3050         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
3051         vms/t-vms64.
3052         Set extra_parts.
3053         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
3054         Set extra_parts.
3055         (arm*-*-freebsd*): Add t-crtin to tmake_file.
3056         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
3057         (arm-wrs-vxworks): Append to tmake_file.
3058         Set extra_parts.
3059         (arm*-*-uclinux*): Set extra_parts.
3060         (arm*-*-ecos-elf): Likewise.
3061         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
3062         arm*-*-eabi*.
3063         (arm*-*-rtems*): Set extra_parts.
3064         (arm*-*-elf): Likewise.
3065         (avr-*-rtems*): Clear extra_parts.
3066         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
3067         Set extra_parts.
3068         (bfin*-uclinux*): Likewise.
3069         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
3070         (bfin*-rtems*): Append to tmake_file.
3071         Set extra_parts.
3072         (bfin*-*): Likewise.
3073         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
3074         (crisv32-*-elf): ... this.
3075         (crisv32-*-none): ... this.
3076         (cris-*-elf, cris-*-none): New cases.
3077         Add cris/t-elfmulti to tmake_file.
3078         (fr30-*-elf): Append to tmake_file.
3079         Set extra_parts.
3080         (frv-*-elf): Append to tmake_file, add frv/t-frv.
3081         Set extra_parts.
3082         (h8300-*-rtems*): Append to tmake_file.
3083         Set extra_parts.
3084         (h8300-*-elf*): Likewise.
3085         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
3086         Set extra_parts.
3087         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
3088         Set extra_parts.
3089         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
3090         (x86_64-*-elf*): Likewise.
3091         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
3092         (x86_64-*-freebsd*): Likewise.
3093         (x86_64-*-netbsd*): Likewise.
3094         (i[34567]86-*-linux*): Likewise.
3095         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3096         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3097         (x86_64-*-linux*): Likewise.
3098         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3099         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
3100         tmake_file.
3101         Set extra_parts.
3102         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
3103         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
3104         Append to extra_parts, remove crtbegin.o, crtend.o.
3105         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
3106         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
3107         crtend.o, crtbeginS.o, crtendS.o.
3108         (ia64*-*-linux*): Comment extra_parts.
3109         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
3110         Set extra_parts.
3111         (iq2000*-*-elf*): Clear extra_parts.
3112         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
3113         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
3114         (m32r-*-elf*, m32r-*-rtems*): Split off ...
3115         (m32r-*-rtems*): ... this.
3116         Add m32r/t-m32r to tmake_file.
3117         (m68k-*-elf*): Add t-crtin to tmake_file.
3118         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
3119         (mcore-*-elf): Likewise.
3120         (microblaze*-*-*): Set extra_parts.
3121         (mips*-sde-elf*): New case.
3122         Set tmake_file, extra_parts.
3123         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
3124         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
3125         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
3126         tmake_file.
3127         Set extra_parts.
3128         (mipsisa64sr71k-*-elf*): Likewise.
3129         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
3130         (mips-*-elf*, mipsel-*-elf*): Likewise.
3131         (mips64-*-elf*, mips64el-*-elf*): Likewise.
3132         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
3133         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
3134         (mips*-*-rtems*): Likewise.
3135         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
3136         (moxie-*-*): Split into ...
3137         (moxie-*-elf, moxie-*-uclinux*): ... this.
3138         Add to extra_parts, remove crtbegin.o, crtend.o.
3139         (moxie-*-rtems*): New case.
3140         Set tmake_file.
3141         Clear extra_parts.
3142         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
3143         Set extra_parts.
3144         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
3145         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
3146         tmake_file.
3147         Set extra_parts.
3148         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
3149         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
3150         Set extra_parts.
3151         (powerpc-*-eabisim*): Likewise.
3152         (powerpc-*-elf*): Likewise.
3153         (powerpc-*-eabialtivec*): Likewise.
3154         (powerpc-xilinx-eabi*): Likewise.
3155         (powerpc-*-eabi*): Likewise.
3156         (powerpc-*-rtems*): Likewise.
3157         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
3158         tmake_file.
3159         Set extra_parts.
3160         (powerpc-*-lynxos*): Add to tmake_file.
3161         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
3162         rs6000/t-crtstuff, t-crtstuff-pic.
3163         Set extra_parts.
3164         (powerpcle-*-eabisim*): Likewise.
3165         (powerpcle-*-eabi*): Likewise.
3166         (rx-*-elf): Remove extra_parts.
3167         (s390x-ibm-tpf*): Set extra_parts.
3168         (score-*-elf): Set extra_parts.
3169         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3170         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3171         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3172         (sh64l*-*-netbsd*): Split into ...
3173         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
3174         Add t-crtstuff-pic to tmake_file.
3175         Set extra_parts.
3176         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
3177         Set extra_parts.
3178         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
3179         (sparc-*-elf*): Remove t-crtin from tmake_file.
3180         Add to extra_parts, remove crtbegin.o, crtend.o.
3181         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
3182         (sparc64-*-linux*): Likewise.
3183         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
3184         Add to extra_parts, remove crtbegin.o, crtend.o.
3185         (sparc64-*-elf*): Remove t-crtin from tmake_file.
3186         Add to extra_parts, remove crtbegin.o, crtend.o.
3187         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
3188         Add to extra_parts, remove crtbegin.o, crtend.o.
3189         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
3190         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
3191         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
3192         Set extra_parts.
3193         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
3194         Set extra_parts.
3195         (tic6x-*-*): Change to ...
3196         (tic6x-*-elf): ... this.
3197         Set extra_parts.
3198         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
3199         Set extra_parts.
3200         (am33_2.0-*-linux*): Add comment.
3201         (mep*-*-*): Add mep/t-mep to tmake_file.
3202         Set extra_parts.
3203         * config/alpha/t-vms: New file.
3204         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
3205         * config/arm/crti.S, config/arm/crtn.S: New files.
3206         * config/bfin/crti.S, config/bfin/crtn.S: New files.
3207         * config/bfin/crtlibid.S: New file.
3208         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
3209         * config/c6x/crti.S, config/c6x/crtn.S: New files.
3210         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
3211         (crti.o, crtin.o): New rules.
3212         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
3213         * config/c6x/t-uclinux: New file.
3214         * config/cris/t-elfmulti: New file.
3215         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
3216         * config/fr30/crti.S, config/fr30/crtn.S: New files.
3217         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
3218         * config/frv/t-frv: New file.
3219         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
3220         * config/h8300/crti.S, config/h8300/crtn.S: New files.
3221         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
3222         New files.
3223         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
3224         refer to cygming-crtbegin.c, cygming-crtend.c.
3225         Use $<.
3226         * config/i386/t-nto: New file.
3227         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
3228         * config/ia64/crti.S, config/ia64/crtn.S: New files.
3229         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
3230         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
3231         Use .S extension.
3232         Use $<.
3233         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
3234         (crtinitS.o): New rule.
3235         * config/ia64/vms-crtinit.S: New file.
3236         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
3237         * config/m32r/initfini.c: New file.
3238         * config/m32r/t-linux, config/m32r/t-m32r: New files.
3239         * config/m68k/crti.S, config/m68k/crtn.S: New files.
3240         * config/mcore/crti.S, config/mcore/crtn.S: New files.
3241         * config/mep/t-mep: New file.
3242         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
3243         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
3244         * config/mips/crti.S, config/mips/crtn.S: New files.
3245         * config/mips/t-crtstuff: New file.
3246         * config/mmix/crti.S, config/mmix/crtn.S: New files.
3247         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
3248         (CUSTOM_CRTIN): Set.
3249         ($(T)crti.o, $(T)crtn.o): Remove $(T),
3250         dependencies.
3251         Use $(srcdir) to refer to crti.S, crtn.S.
3252         Use .S extension, $<.
3253         * config/moxie/crti.asm: Rename to ...
3254         * config/moxie/crti.S: ... this.
3255         * config/moxie/crtn.asm: Rename to ...
3256         * config/moxie/crtn.S: ... this.
3257         * config/moxie/t-moxie: Remove.
3258         * config/pa/stublib.c: New file.
3259         * config/pa/t-stublib, config/pa/t-stublib64: New files.
3260         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
3261         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
3262         * config/rs6000/t-crtstuff: New file.
3263         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
3264         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
3265         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
3266         Make output file explicit.
3267         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
3268         Make output file explicit.
3269         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
3270         Make output file explicit.
3271         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
3272         Make output file explicit.
3273         * config/score/crti.S, config/score/crtn.S: New files.
3274         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
3275         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
3276         files.
3277         * config/sh/t-sh, config/sh/t-superh: New files.
3278         * config/sparc/t-linux64: New file.
3279         * config/spu/cache.S, config/spu/cachemgr.c: New files.
3280         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
3281         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
3282         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
3283         * config/t-crtin: Remove.
3284         * config/t-crtstuff-pic: New file.
3285         * config/t-sol2 (CUSTOM_CRTIN): Set.
3286         (crti.o, crtn.o): New rules.
3287         * config/vms/t-vms: New file.
3288         * config/vms/vms-ucrt0.c: New file.
3289         * config/xtensa/t-elf: New file.
3291 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3293         * Makefile.in (SHLIB_NM_FLAGS): Set.
3294         * mkmap-flat.awk, mkmap-symver.awk: New files.
3295         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
3296         exceptions.
3297         * configure: Regenerate.
3298         * config/libgcc-glibc.ver: New file.
3299         * config/libgcc-libsystem.ver: New file.
3300         * config/t-libunwind (SHLIB_LC): Set.
3301         * config/t-linux: New file.
3302         * config/t-slibgcc (INSTALL_SHLIB): New.
3303         (SHLIB_INSTALL): Use it.
3304         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
3305         to mkmap-symver.awk.
3306         (SHLIB_MAPFILES): Don't append, adapt pathname.
3307         (SHLIB_VERPFX): Set.
3308         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
3309         to mkmap-symver.awk.
3310         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
3311         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
3312         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
3313         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
3314         to mkmap-flat.awk.
3315         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
3316         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
3317         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
3318         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
3319         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
3320         * config/i386/libgcc-darwin.10.4.ver,
3321         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
3322         New files.
3323         * config/i386/t-darwin: Remove.
3324         * config/i386/t-darwin64: Likewise.
3325         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
3326         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
3327         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
3328         * config/i386/t-linux: New file.
3329         * config/i386/t-mingw32: New file.
3330         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
3331         * config/ia64/t-glibc: Rename to ...
3332         * config/ia64/t-linux: ... this.
3333         (SHLIB_MAPFILES): Set.
3334         * config/ia64/t-glibc-libunwind: Rename to ...
3335         * config/ia64/t-linux-libunwind: ... this.
3336         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
3337         * config/ia64/t-slibgcc-hpux: New file.
3338         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
3339         * config/m68k/t-slibgcc-elf-ver: New file.
3340         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
3341         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
3342         to mkmap-flat.awk.
3343         * config/pa/t-slibgcc-hpux: New file.
3344         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
3345         files.
3346         * config/rs6000/libgcc-darwin.10.4.ver,
3347         config/rs6000/libgcc-darwin.10.5.ver: New files.
3348         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
3349         config/rs6000/libgcc-glibc.ver.
3350         * config/rs6000/libgcc-ppc64.ver: Rename to
3351         config/rs6000/libgcc-ibm-ldouble.ver.
3352         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
3353         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
3354         * config/rs6000/t-ldbl128: Rename to ...
3355         * config/rs6000/t-linux: ... this.
3356         (SHLIB_MAPFILES): Adapt filename.
3357         * config/rs6000/t-slibgcc-aix: New file.
3358         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
3359         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
3360         libgcc-excl.ver, libgcc-glibc.ver.
3361         (SHLIB_LINK, SHLIB_INSTALL): Remove.
3362         * config/sparc/libgcc-glibc.ver: New file.
3363         * config/sparc/t-linux: New file.
3364         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
3365         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
3366         t-slibgcc-elf-ver to tmake_file.
3367         Add t-slibgcc-nolc-override to tmake_file for posix threads on
3368         *-*-freebsd[34].
3369         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3370         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
3371         t-slibgcc-elf-ver, t-linux to tmake_file.
3372         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
3373         tmake_file.
3374         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
3375         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
3376         (alpha*-dec-*vms*): Likewise.
3377         (arm*-*-freebsd*): Append to tmake_file.
3378         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
3379         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
3380         arm*-*-linux-*eabi.
3381         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
3382         tmake_file for arm*-*-symbianelf*.
3383         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
3384         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
3385         cris/t-linux.
3386         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
3387         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
3388         pa/t-slibgcc-dwarf-ver to tmake_file.
3389         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
3390         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
3391         (hppa*64*-*-hpux11*): Likewise.
3392         (hppa[12]*-*-hpux11*): Likewise.
3393         (x86_64-*-darwin*): Don't override tmake_file, but only keep
3394         i386/t-crtpc, i386/t-crtfm.
3395         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
3396         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
3397         to tmake_file.
3398         Add i386/t-cygwin to tmake_file.
3399         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
3400         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
3401         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
3402         to tmake_file.
3403         Add i386/t-mingw32 to tmake_file.
3404         (x86_64-*-mingw*): Likewise.
3405         (ia64*-*-freebsd*): Append to tmake_file.
3406         (ia64*-*-linux*): Append to tmake_file.
3407         Replace ia64/t-glibc by ia64/t-linux.
3408         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
3409         system libunwind.
3410         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
3411         t-slibgcc-hpux to tmake_file.
3412         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
3413         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
3414         (m32rle-*-linux*): Likewise.
3415         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
3416         sjlj exceptions.
3417         (microblaze*-linux*): New case.
3418         Append to tmake_file, add t-slibgcc-nolc-override.
3419         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
3420         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3421         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
3422         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3423         rs6000/t-slibgcc-aix to tmake_file.
3424         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3425         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3426         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3427         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3428         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3429         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
3430         sh*-*-linux*.
3431         (sparc-*-linux*): Append to tmake_file for *-leon*.
3432         Add sparc/t-linux to tmake_file for non-Leon targets.
3433         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
3434         (tic6x-*-uclinux): New case.
3435         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
3436         (tic6x-*-*): Add c6x/t-elf to tmake_file.
3437         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
3438         (am33_2.0-*-linux*): Append to tmake_file.
3439         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3440         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
3441         x86_64-*-kfreebsd*-gnu.
3442         Add i386/t-linux to tmake_file.
3444 2011-10-28  Ian Lance Taylor  <iant@google.com>
3446         * config/i386/morestack.S: Correct CFI information to do proper
3447         returns throughout function.  In 32-bit mode, save %ebx so that it
3448         is restored on unwind.
3450 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
3452         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
3453         case where B3 isn't the return register.
3455         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
3456         logic for doubleword pops.
3458 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
3460         * config/rs6000/t-freebsd: Add wildcard.
3462 2011-10-21  Paul Brook  <paul@codesourcery.com>
3464         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
3466 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
3467             Eric Botcazou  <ebotcazou@adacore.com>
3469         PR target/50737
3470         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
3471         fs->signal_frame to 1.
3473 2011-10-07  Ian Lance Taylor  <iant@google.com>
3475         * generic-morestack-thread.c: #include <errno.h>.
3477 2011-10-07  Ian Lance Taylor  <iant@google.com>
3479         PR target/46093
3480         * generic-morestack.c (__generic_morestack): Make sure the segment
3481         is large enough for both the stack frame and the copied
3482         parameters.
3484 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3486         PR bootstrap/49804
3487         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
3488         extra_parts.
3490 2011-09-28  Nick Clifton  <nickc@redhat.com>
3492         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
3493         64-bit doubles are not enabled.
3494         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
3495         and floatunsisf functions.
3497 2011-09-13  Paul Brook  <paul@codesourcery.com>
3499         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
3500         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
3501         * unwind-arm-common.inc: New file.
3502         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
3503         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
3504         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
3505         * config/c6x/libunwind.S: New file.
3506         * config/c6x/pr-support.c: New file.
3507         * config/c6x/unwind-c6x.c: New file.
3508         * config/c6x/unwind-c6x.h: New file.
3509         * config/c6x/t-c6x-elf: New file.
3511 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
3513         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
3514         (ASM_DIVZERO): Ditto.
3515         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
3517 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
3519         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
3521 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
3523         PR target/50090
3524         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
3525         instead of an assembly one.
3527 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
3529         PR bootstrap/50047
3530         * Makefile.in (install-unwind_h): Create
3531         $(gcc_objdir)/include/unwind.h atomically.
3533 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3535         * Makefile.in (install-unwind_h): Remove destination file first.
3537 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3539         * sync.c: New file.
3540         * config/mips/t-mips16: New file.
3541         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
3542         (mips*-*-linux*): Likewise.
3543         (mips*-sde-elf*): Likewise.
3544         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
3545         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
3546         Add mips/t-mips16 to tmake_file.
3547         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
3548         (mips-*-elf*): Likewise.
3549         (mips64-*-elf*): Likewise.
3550         (mips64orion-*-elf*): Likewise.
3551         (mips*-*-rtems*): Likewise.
3552         (mipstx39-*-elf*): Likewise.
3553         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
3554         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
3555         LIBGCC_SYNC_CFLAGS.
3556         Use $(srcdir) to refer to sync.c.
3557         Use $<.
3558         ($(libgcc-sync-funcs-o)): Likewise.
3559         ($(libgcc-sync-size-funcs-s-o)): Likewise.
3560         ($(libgcc-sync-funcs-s-o)): Likewise.
3562 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
3564         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
3565         t-libunwind.
3567 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
3569         PR other/48007
3570         * config/i386/value-unwind.h: New.
3572 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
3574         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
3575         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
3576         Add to tmake_file rather than overriding it.
3578 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3580         * config/t-softfp: Remove.
3581         * soft-fp: Moved from ../gcc/config.
3582         * soft-fp/README: Remove t-softfp reference.
3583         * soft-fp/t-softfp: Move to config/t-softfp.
3584         (softfp_machine_header): Remove.
3585         (softfp_file_list): Remove config subdir.
3586         (soft-fp-objects): New variable.
3587         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
3588         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
3589         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
3590         * config/t-softfp-excl: New file.
3591         * config/t-softfp-sfdf: New file.
3592         * config/t-softfp-tf: New file.
3593         * config/no-sfp-machine.h: New file.
3594         * config/arm/sfp-machine.h: New file.
3595         * config/arm/t-softfp: New file.
3596         * config/c6x/sfp-machine.h: New file.
3597         * config/i386/32/t-fprules-softfp: Rename to ...
3598         * config/i386/32/t-softfp: ... this.
3599         (tifunctions, LIB2ADD): Remove.
3600         (softfp_int_modes): Override.
3601         * config/i386/64/t-softfp-compat (tf-functions): Remove config
3602         subdir.
3603         * config/i386/64/eqtf2.c: Likewise.
3604         * config/i386/64/getf2.c: Likewise.
3605         * config/i386/64/letf2.c: Likewise.
3606         * config/ia64/sft-machine.h: New file.
3607         * config/ia64/t-fprules-softfp: Rename to ...
3608         * config/ia64/t-softfp: ... this.
3609         * config/lm32/sfp-machine.h: New file.
3610         * config/moxie/t-moxie-softfp: Remove.
3611         * config/rs6000/ibm-ldouble-format: New file.
3612         * config/rs6000/ibm-ldouble.c: New file.
3613         * config/rs6000/libgcc-ppc-glibc.ver: New file
3614         * config/rs6000/libgcc-ppc64.ver: New file
3615         * config/rs6000/sfp-machine.h: New file.
3616         * config/rs6000/t-freebsd: New file.
3617         * config/rs6000/t-ibm-ldouble: New file.
3618         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
3619         libgcc-ppc-glibc.ver.
3620         * config/rs6000/t-linux64: New file.
3621         * config/rs6000/t-ppccomm (LIB2ADD): Add
3622         $(srcdir)/config/rs6000/ibm-ldouble.c.
3623         * config/rs6000/t-ppccomm-ldbl: New file.
3624         * config/score/sfp-machine.h: New file.
3625         * config.host (sfp_machine_header): Explain.
3626         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
3627         t-softfp to tmake_file.
3628         (arm*-*-uclinux*): Likewise.
3629         (arm*-*-ecos-elf): Likewise.
3630         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
3631         (arm*-*-rtems*): Likewise.
3632         (arm*-*-elf): Likewise.
3633         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
3634         in tmake_file.
3635         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
3636         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
3637         (lm32-*-uclinux*): Likewise.
3638         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
3639         t-softfp-excl, t-softfp.
3640         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
3641         (powerpc64-*-darwin*): Likewise.
3642         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
3643         to tmake_file.
3644         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
3645         tmake_file.
3646         (powerpc-*-eabisim*): Likewise.
3647         (powerpc-*-elf*): Likewise.
3648         (powerpc-*-eabialtivec*): Likewise.
3649         (powerpc-xilinx-eabi*): Likewise.
3650         (powerpc-*-rtems*): Likewise.
3651         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
3652         t-softfp-excl, t-softfp to tmake_file.
3653         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
3654         rs6000/t-ppccomm-ldbl to tmake_file.
3655         (powerpcle-*-elf*): Likewise.
3656         (powerpcle-*-eabisim*): Likewise.
3657         (powerpcle-*-eabi*): Likewise.
3658         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3659         rs6000/t-ibm-ldouble to tmake_file.
3660         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3661         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3662         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
3663         (tic6x-*-*): Likewise.
3664         (i[34567]86-*-darwin*, x86_64-*-darwin*,
3665         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
3666         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
3667         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
3668         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
3669         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
3670         t-softfp to tmake_file.
3671         * configure.ac (sfp_machine_header): Provide default if unset.
3672         Substitute.
3673         Link sfp-machine.h to config/$sfp_machine_header.
3674         * configure: Regenerate.
3676 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3678         * Makefile.in (double_type_size, long_double_type_size): Set.
3679         Remove $(fpbit-in-libgcc) support.
3680         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
3681         (fpbit-src): New variable.
3682         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
3683         Compile with -DFLOAT $(FPBIT_CFLAGS).
3684         Use $<.
3685         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
3686         Compile with $(FPBIT_CFLAGS).
3687         Use $<.
3688         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
3689         Compile with -DFLOAT $(TPBIT_CFLAGS).
3690         Use $<.
3691         * configure.ac (double_type_size, long_double_type_size):
3692         Determine and substitute.
3693         * configure: Regenerate.
3694         * fp-bit.c, fp-bit.h: New files.
3695         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
3696         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
3697         * config/mips/t-mips: New file.
3698         * config/mips/t-sdemtk: New file.
3699         * config/rs6000/ppc64-fp.c: New file.
3700         * config/rs6000/t-darwin (LIB2ADD): Add
3701         $(srcdir)/config/rs6000/ppc64-fp.c.
3702         * config/rs6000/t-ppc64-fp: New file.
3703         * config/rx/rx-lib.h: New file.
3704         * config/rx/t-rx (FPBIT): Set to true.
3705         ($(gcc_objdir)/fp-bit.c): Remove.
3706         (DPBIT): Set to true only with -m64bit-doubles.
3707         ($(gcc_objdir)/dp-bit.c): Remove.
3708         * config/sparc/t-softfp: Remove.
3709         * config/spu/t-elf: New file.
3710         * config/t-fdpbit, config/t-fpbit: New files.
3711         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
3712         (mips*-*-*): Likewise.
3713         (arm-wrs-vxworks): Likewise.
3714         (arm*-*-freebsd*): Likewise.
3715         (avr-*-rtems*): Add t-fpbit to tmake_file.
3716         (avr-*-*): Likewise.
3717         (bfin*-elf*): Add t-fdpbit to tmake_file.
3718         (bfin*-uclinux*): Likewise.
3719         (bfin*-linux-uclibc*): Likewise.
3720         (bfin*-rtems*): New case.
3721         Add t-fdpbit to tmake_file.
3722         (bfin*-*): Add t-fdpbit to tmake_file.
3723         (crisv32-*-elf): Likewise.
3724         (cris-*-linux*): Likewise.
3725         (fr30-*-elf): Likewise.
3726         (frv-*-elf, frv-*-*linux*): Likewise.
3727         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
3728         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
3729         (m32r-*-elf*): Likewise.
3730         (m32rle-*-elf*): Likewise.
3731         (m32r-*-linux*): Likewise.
3732         (m32rle-*-linux*): Likewise.
3733         (mcore-*-elf): Add t-fdpbit to tmake_file.
3734         (microblaze*-*-*): Likewise.
3735         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
3736         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
3737         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
3738         Fix typo.
3739         Add mips/t-tpbit to tmake-file.
3740         (mips*-*-linux*): Fix typo.
3741         (mips*-sde-elf*): New case
3742         Add mips/t-sdemtk unless using newlib.
3743         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
3744         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
3745         (mn10300-*-*): Likewise.
3746         (pdp11-*-*): Likewise.
3747         (picochip-*-*): Add t-fpbit to tmake_file.
3748         (powerpc-*-eabisimaltivec*): Likewise.
3749         (powerpc-*-eabisim*): Likewise.
3750         (powerpc-*-elf*): Likewise.
3751         (powerpc-*-eabialtivec*): Likewise.
3752         (powerpc-xilinx-eabi*): New case.
3753         Add t-fdpbit to tmake_file.
3754         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
3755         (powerpc-*-rtems*): Likewise.
3756         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
3757         tmake_file.
3758         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
3759         tmake_file.
3760         (powerpc-*-lynxos*): Likewise.
3761         (powerpcle-*-elf*): Likewise.
3762         (powerpcle-*-eabisim*): Likewise.
3763         (powerpcle-*-eabi*): Likewise.
3764         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3765         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
3766         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3767         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3768         (rx-*-elf): Add t-fdpbit to tmake_file.
3769         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3770         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3771         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3772         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
3773         sh*-*-netbsd*.
3774         (sh-*-rtems*): Add t-fdpbit to tmake_file.
3775         (sh-wrs-vxworks): Likewise.
3776         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
3777         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
3778         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
3779         (sparc64-*-rtems*): ... new case.
3780         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
3781         (spu-*-elf*): Likewise.
3782         Add spu/t-elf to tmake_file.
3783         (v850*-*-*): Add t-fdpbit to tmake_file.
3784         (xstormy16-*-elf): Likewise.
3785         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
3786         (mep*-*-*): Likewise.
3788 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3790         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
3791         variables.
3792         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
3793         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
3794         (install-unwind_h): New target.
3795         (all): Depend on it.
3796         * config.host (unwind_header): New variable.
3797         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
3798         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3799         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
3800         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
3801         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
3802         Set unwind_header.
3803         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
3804         Set unwind_header.
3805         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
3806         arm*-*-eabi*.
3807         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
3808         Set unwind_header.
3809         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
3810         (ia64*-*-freebsd*): Likewise.
3811         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
3812         tmake_file.
3813         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
3814         $with_system_libunwind.
3815         (ia64*-*-hpux*): Set tmake_file.
3816         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
3817         (picochip-*-*): Set tmake_file.
3818         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
3819         md_unwind_header.
3820         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3821         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3822         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
3823         (xtensa*-*-elf*): Set tmake_file.
3824         (xtensa*-*-linux*): Likewise.
3825         * configure.ac: Include ../config/unwind_ipinfo.m4.
3826         Call GCC_CHECK_UNWIND_GETIPINFO.
3827         Link unwind.h to $unwind_header.
3828         * configure: Regenerate.
3829         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
3830         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
3831         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
3832         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
3833         * config/unwind-dw2-fde-darwin.c: New file.
3834         * config/arm/libunwind.S, config/arm/pr-support.c,
3835         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
3836         config/arm/unwind-arm.h,: New files.
3837         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
3838         config/ia64/t-eh-ia64, config/ia64/t-glibc,
3839         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
3840         config/ia64/t-vms, config/ia64/unwind-ia64.c,
3841         config/ia64/unwind-ia64.h: New files.
3842         * config/picochip/t-picochip: New file.
3843         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
3844         files.
3845         * config/rs6000/t-darwin (LIB2ADDEH): Set.
3846         * config/s390/t-tpf (LIB2ADDEH): Remove.
3847         * config/t-darwin (LIB2ADDEH): Set.
3848         * config/t-eh-dw2-dip: New file.
3849         * config/t-libunwind, config/t-libunwind-elf: New files.
3850         * config/t-sol2 (LIB2ADDEH): Remove.
3851         * config/xtensa/t-xtensa: New file.
3853 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
3855         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
3856         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
3857         long long to check rt_sigreturn syscall.
3859 2011-08-02  Alan Modra  <amodra@gmail.com>
3861         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3862         Restore for indirect call bcrtl from correct stack slot, and only
3863         if cfa+40 isn't valid.
3865 2011-08-01  Julian Brown  <julian@codesourcery.com>
3867         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
3868         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
3869         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
3871 2011-08-01  Julian Brown  <julian@codesourcery.com>
3873         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
3874         (libgcc-std.ver.in): Use above.
3875         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
3876         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
3877         throughout file.
3878         * config/t-fixedpoint-gnu-prefix: New file.
3879         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
3880         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
3881         instead of __PFX__.
3883 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
3885         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
3886         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
3887         for x86-64.  Properly check __x86_64__ and __LP64__.
3889 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
3891         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
3892         version.
3893         (_FP_WS_TYPE): Likewise.
3894         (_FP_I_TYPE): Likewise.
3896 2011-07-28  Alan Modra  <amodra@gmail.com>
3898         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3899         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
3900         in a plt call stub.  Do restore r2 if stopped on bctrl.
3902 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3904         * config.host (i[3456x]86-*-netware*): Remove.
3905         * config/i386/netware-crt0.c, config/i386/t-nwld,
3906         config/i386/t-slibgcc-nwld: Remove.
3908 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
3910         * config.host: Handle tic6x-*-*.
3911         * config/c6x/c6x-abi.h: New file.
3913 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3915         * config/i386/crtprec.c: New file.
3916         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
3917         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
3918         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
3919         (x86_64-*-darwin*): Likewise.
3920         (i[34567]86-*-solaris2*: Likewise.
3922 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3924         * config/alpha/crtfastmath.c: New file.
3925         * config/i386/crtfastmath.c: New file.
3926         * config/ia64/crtfastmath.c: New file.
3927         * config/mips/crtfastmath.c: New file.
3928         * config/sparc/crtfastmath.c: New file.
3930         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
3931         crtfastmath.c.
3932         Add -frandom-seed=gcc-crtfastmath.
3933         * config/alpha/t-crtfm: Remove.
3934         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
3935         * config/ia64/t-ia64 (crtfastmath.o): Remove.
3937         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
3938         (alpha*-dec-osf5.1*): Likewise.
3939         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
3940         Add crtfastmath.o to extra_parts.
3941         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
3942         Add crtfastmath.o to extra_parts.
3943         (x86_64-*-darwin*): Likewise.
3944         (x86_64-*-mingw*): Likewise.
3945         (ia64*-*-elf*): Add t-crtfm to tmake_file.
3946         (ia64*-*-freebsd*): Likewise.
3947         (ia64*-*-linux*): Likewise.
3948         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
3949         Add crtfastmath.o to extra_parts.
3951 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3953         * config/darwin-crt3.o: New file.
3954         * config/rs6000/darwin-crt2.c: New file.
3955         * config/t-darwin: New file.
3956         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
3957         (crt2.o): New rule.
3958         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
3959         (powerpc-*-darwin*): Add crt2.o to extra_parts.
3960         (powerpc64-*-darwin*): Likewise.
3962 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3964         * config/i386/netware-crt0.c: New file.
3965         * config/i386/t-nwld: Rename to ...
3966         * config/i386/t-slibgcc-nwld: ... this.
3967         * config/i386/t-nwld: New file.
3968         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
3969         tmake_file.
3970         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
3971         extra_parts.
3973 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3975         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
3976         i386/t-crtstuff.
3977         * configure: Regenerate.
3979 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3981         * dfp-bit.c, dfp-bit.h: New files.
3982         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
3983         variables.
3984         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
3985         ($(d64pbit-o)): Likewise.
3986         ($(d128pbit-o)): Likewise.
3987         * config/t-dfprules: New file.
3988         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
3989         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
3990         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3991         (x86_64-*-linux*): Likewise.
3992         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3993         (i[34567]86-*-cygwin*): Likewise.
3994         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
3995         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3997 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3999         * Makfile.in (LIBGCOV): New variable.
4000         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
4001         * libgcov.c: New file.
4003 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4005         * fixed-bit.c, fixed-bit.h: New files.
4006         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
4007         refer to fixed-bit.c.
4009 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
4011         * config.host (*local*): Remove.
4013 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4015         PR target/39150
4016         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
4017         like i?86-*-solaris2.1[0-9]*.
4018         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
4019         * configure.ac (i?86-*-solaris2*): Likewise.
4020         * configure: Regenerate.
4022 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
4024         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
4025         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
4026         md_unwind_header by splitting out of...
4027         (i[34567]86-*-linux*): ... this.
4028         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
4029         Remove md_unwind_header by splitting out of...
4030         (x86_64-*-linux*): ... this.
4032 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
4034         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
4036 2011-06-28  Nick Clifton  <nickc@redhat.com>
4038         * config.host: Recognize all V850 variants.
4040 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
4042         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
4044 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4046         * shared-object.mk (c_flags-$o): Save c_flags.
4047         ($(base)$(objext)): Use it.
4048         ($(base)_s$(objext)): Likewise.
4050 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
4052         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
4053         * libgcc-std.ver.in (GCC_4.7.0): New section.
4055 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
4057         PR target/49313
4058         PR target/29524
4059         * config/avr/t-avr: Fix line endings.
4060         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
4061         _parityXX2.
4063 2011-06-14  Olivier Hainque  <hainque@adacore.com>
4064             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4066         * config/mips/irix6-unwind.h: New file.
4067         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
4069 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
4071         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
4072         (sparc64_fallback_frame_state): Use it.
4073         (sparc64_frob_update_context): Further adjust context.
4074         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
4075         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
4076         * config/sparc/sol2-cn.S: Likewise.
4078 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4080         * enable-execute-stack-empty.c: New file.
4081         * enable-execute-stack-mprotect.c: New file.
4082         * config/i386/enable-execute-stack-mingw32.c: New file.
4083         * config.host (enable_execute_stack): New variable.
4084         Select appropriate variants.
4085         * configure.ac: Link enable-execute-stack.c to
4086         $enable_execute_stack.
4087         * configure: Regenerate.
4088         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
4089         (lib2funcs): Remove _enable_execute_stack.
4091 2011-06-09  David S. Miller  <davem@davemloft.net>
4092             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4094         * config.host (sparc-*-linux*): Correct md_unwind_header
4095         filename.
4096         (s390x-ibm-tpf*): Fix typo.
4098 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4100         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
4101         Add crtfastmath.o to extra_parts.
4102         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
4103         mips/t-crtfm.
4104         * config/mips/t-crtfm: Remove.
4106 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4108         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
4110 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
4112         * config.host (sh*-*-linux*): Fix typo.
4114 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4116         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
4117         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
4118         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
4119         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
4120         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
4121         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
4122         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
4123         Wrap in !__MINGW64__.
4124         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
4125         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
4126         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
4127         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
4128         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
4129         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
4130         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
4131         Wrap in !__LP64__.
4132         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
4133         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
4134         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
4135         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
4136         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
4137         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
4138         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
4139         * config/no-unwind.h: New file.
4140         * config.host (md_unwind_header): Document.
4141         Define.
4142         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
4143         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
4144         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
4145         hppa[12]*-*-hpux11*): Set md_unwind_header.
4146         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
4147         Set md_unwind_header.
4148         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
4149         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
4150         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
4151         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
4152         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
4153         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
4154         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
4155         md_unwind_header.
4156         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
4157         * configure: Regenerate.
4159 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4161         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
4162         Set tmake_file, extra_parts.
4163         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
4164         Remove O32 support.
4165         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
4166         Remove O32 support.
4167         * config/mips/t-irix6: New file.
4168         * config/mips/t-slibgcc-irix: New file.
4170 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4172         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
4173         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
4175 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4177         * configure.ac (target_thread_file): Determine thread model.
4178         * configure: Regenerate.
4179         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
4180         * config/alpha/t-alpha: New file.
4181         * config/alpha/t-crtfm: Use $<.
4182         * config/alpha/t-ieee: New file.
4183         * config/alpha/t-osf-pthread: New file.
4184         * config/alpha/t-slibgcc-osf: New file.
4185         * config/alpha/libgcc-osf5.ver: New file.
4187 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4189         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
4190         tmake_file.
4191         Add crtfastmath.o to extra_parts.
4193 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4195         * config/gmon-sol2.c: Reindent.
4196         Cleanup comments.
4197         Remove, correct casts.
4198         Use STDERR_FILENO, NULL.
4199         (BASEADDRESS): Remove.
4200         (minbrk): Remove.
4201         (errno, sbrk): Remove declarations.
4202         (monstartup) [hp300]: Remove.
4203         (mcount): Remove.
4205 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4207         * Makefile.in (cpu_type): Define.
4208         * config.host (i[34567]86-*-rtems*): Handle it.
4209         (i[34567]86-*-solaris2*): Move body ...
4210         (*-*-solaris2*): ... here.
4211         New case, generalize.
4212         (sparc-*-elf*): Handle it.
4213         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
4214         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
4215         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
4216         Fold into ...
4217         (sparc*-*-solaris2*): ... this.
4218         New case.
4219         (sparc64-*-elf*): Handle it.
4220         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
4221         Merge ../gcc/config/i386/gmon-sol2.c.
4222         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
4223         Use C comments.
4224         Merge ../gcc/config/i386/sol2-gc1.asm.
4225         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
4226         Use C comments.
4227         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
4228         Use C comments.
4229         * config/i386/t-crtfm (crtfastmath.o): Use $<.
4230         * config/i386/t-crtstuff: New file.
4231         * config/i386/t-softfp: New file.
4232         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
4233         $(T)crti.o, $(T)crtn.o): Remove.
4234         (gcrt1.o): New rule.
4235         (TARGET_LIBGCC2_CFLAGS): Remove.
4236         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
4237         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
4238         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
4239         * config/sparc/t-sol2: New file.
4240         * config/sparc/t-crtfm: Move to ...
4241         * config/t-crtfm: ... this.
4242         Use $(cpu_type), $<.
4243         * config/t-crtin: New file.
4244         * config/sparc/t-softfp: New file.
4245         * config/sparc/t-softmul: New file.
4246         * config/t-rtems: New file.
4247         * config/t-slibgcc: New file.
4248         * config/t-slibgcc-elf-ver: New file.
4249         * config/t-slibgcc-gld: New file.
4250         * config/t-slibgcc-sld: New file.
4251         * config/t-sol2: New file.
4252         * configure.ac: Include ../config/lib-ld.m4.
4253         Call AC_LIB_PROG_LD_GNU.
4254         Substitute cpu_type.
4255         * configure: Regenerate.
4257 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
4259         PR bootstrap/49173
4260         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
4261         libgcc-std.ver in the build directory.
4262         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
4263         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
4265 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
4267         * libgcc-std.ver.in: New file.
4268         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
4269         variables.
4270         (libgcc-std.ver): New rule.
4271         * config/t-gnu-prefix: New file.
4273 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4275         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
4277 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
4279         * config/i386/darwin-lib.h: New file.
4281 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
4283         * config/arm/symbian-lib.h: New.
4285 2011-05-04  Chris Demetriou  <cgd@google.com>
4287         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
4288         (__x86.get_pc_thunk.bx): ...this.
4289         (__morestack): Adjust for rename, remove undef of __i686.
4291 2011-05-03  Chris Demetriou  <cgd@google.com>
4293         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
4295 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
4297         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
4298         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
4299         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
4300         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
4301         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
4302         Remove cases.
4304 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
4306         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
4307         Adjust copyright year.
4309 2011-03-07  Ian Lance Taylor  <iant@google.com>
4311         * generic-morestack.c (__splitstack_find): Adjust returned stack
4312         pointer to include all registers pushed by __morestack.
4314 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
4316         PR target/40125
4317         * configure.ac: Call ACX_NONCANONICAL_TARGET.
4318         (toolexecdir): Calculate and AC_SUBST.
4319         (toolexeclibdir): Likewise.
4320         * Makefile.in (target_noncanonical): Import.
4321         (toolexecdir): Likewise.
4322         (toolexeclibdir): Likewise.
4323         * configure: Regenerate.
4325 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
4327         PR target/46040
4328         * config/arm/bpabi.h: Rename to...
4329         * config/arm/bpabi-lib.h: ...this.
4331 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4333         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
4334         appropriate.
4335         * configure: Regenerate.
4337 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
4339         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
4340         __FLOAT_WORD_ORDER__.
4341         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
4342         Delete.
4344 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4346         PR other/46202
4347         * Makefile.in (install-strip): New phony target.
4349 2010-11-07  Ian Lance Taylor  <iant@google.com>
4351         PR target/46089
4352         * config/i386/morestack.S (__morestack_large_model): New
4353         function.
4355 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
4357         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
4358         Delete.
4359         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
4361 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
4363         * config/arm/bpabi.h: New file.
4364         * config/frv/frv-abi.h: New file.
4366 2010-10-01  Ian Lance Taylor  <iant@google.com>
4368         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
4369         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
4371 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
4373         PR target/45858
4374         * config.host: Add the missing `$'.
4376 2010-09-30  Michael Eager  <eager@eagercon.com>
4378         * config.host: Add microblaze*-*-*.
4379         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
4380         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
4381         udivsi3.asm,umodsi3.asm}:  New.
4383 2010-09-28  Ian Lance Taylor  <iant@google.com>
4385         * configure.ac: Adjust CFI test to test assembler directly rather
4386         than checking gcc preprocessor macro.
4387         * configure: Rebuild.
4389 2010-09-27  Ian Lance Taylor  <iant@google.com>
4391         * configure.ac: Test whether assembler supports CFI directives.
4392         * config.host: Only add t-stack and i386/t-stack-i386 to
4393         tmake_file if libgcc_cv_cfi is "yes".
4394         * configure: Rebuild.
4396 2010-09-27  Ian Lance Taylor  <iant@google.com>
4398         * generic-morestack.h: New file.
4399         * generic-morestack.c: New file.
4400         * generic-morestack-thread.c: New file.
4401         * config/i386/morestack.S: New file.
4402         * config/t-stack: New file.
4403         * config/i386/t-stack-i386: New file.
4404         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
4405         i386/t-stack-i386 to tmake_file.
4407 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
4409         * Makefile.in (libgcc-extra-parts):  Check for static archives and
4410         invoke ranlib after installing them.
4411         (gcc-extra-parts): Likewise.
4412         (install-leaf): Likewise.
4414 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
4416         * configure: Regenerated.
4418 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
4420         * configure: Regenerated.
4422 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
4423             Andrew Pinski  <pinskia@gmail.com>
4425         PR target/40959
4426         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
4428 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4430         PR target/45524
4431         * configure: Regenerated.
4433 2010-09-06  Andreas Schwab  <schwab@redhat.com>
4435         * configure: Regenerate.
4437 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
4439         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
4440         64bit targets.
4441         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
4442         for 64bit targets.
4444 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
4445             Iain Sandoe  <iains@gcc.gnu.org>
4447         PR target/45476
4448         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
4449         LIB2FUNCS_EXCLUDE functions.
4451 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4453         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
4454         Include dfp.m4.
4455         * configure: Regenerate.
4457 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
4459         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
4460         i386/t-freebsd to tmake_file.
4461         * config/i386/t-freebsd: New file.
4462         * config/i386/libgcc-bsd.ver: New file.
4464 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
4466         * config.host (powerpc*-eabispe*): Set tmake_file.
4467         (powerpc*-eabi*): Likewise.
4468         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
4469         crtbeginS, crtendS, crtbeginT.
4471 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
4473         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
4474         to tmake_file.  Add crtfastmath.o to extra_parts.
4475         * config/mips/t-crtfm: New.
4477 2010-05-19  Joel Sherrill <joel.sherrill@oarcorp.com>
4479         * config.host (sparc64-*-rtems*): New target.
4481 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4483         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
4484         assembler syntax.
4486 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
4488         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
4490 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4492         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
4493         alpha-dec-osf5.0* support.
4495 2010-04-01  Ralf Corsépius <ralf.corsepius@rtems.org>
4497         * config.host: Add lm32-*-rtems*.
4499 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4500             Uros Bizjak <ubizjak@gmail.com>
4502         PR target/39048
4503         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
4504         like other remaining 32-bit x86 OSes.
4505         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
4506         assembler syntax.
4507         * config/i386/libgcc-sol2.ver: New file.
4508         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
4510 2010-03-30  Jack Howarth <howarth@bromo.med.uc.edu>
4512         PR c/43553
4513         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
4514         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
4515         is used and substitute set_use_emutls.
4516         * configure: Regenerated.
4518 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
4520         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
4522 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4524         PR target/38085
4525         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
4526         MULTILIB_CFLAGS.
4527         ($(T)gcrt1.o): Likewise.
4528         ($(T)crt1.o): Likewise.
4529         ($(T)crti.o): Likewise.
4530         ($(T)crtn.o): Likewise.
4532 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4534         PR other/42980
4535         * Makefile.in (install): Use $(MAKE) string in rule, for
4536         parallel make.
4538 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
4540         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
4541         * config/mmix/t-mmix: New file.
4542         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
4544 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
4546         PR java/41991
4547         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
4548         SHLIB_MAPFILES.
4550 2010-01-04  Anthony Green  <green@moxielogic.com>
4552         * config/moxie/crti.asm, config/moxie/crtn.asm,
4553         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
4554         config/moxie/t-moxie: New files.
4555         * config.host: Add t-moxie-softfp reference.
4557 2009-11-18  Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
4559         PR other/39888
4560         * config/t-slibgcc-darwin: Fix embedded rpaths for
4561         --enable-version-specific-runtime-libs, build extension stub
4562         libs exposing features available from current libgcc_s.
4564 2009-11-11  Jon Beniston <jon@beniston.com>
4566         * config.host: Add lm32 targets.
4567         * config/lm32: New directory.
4568         * config/lm32/libgcc_lm32.h: New file.
4569         * config/lm32/_mulsi3.c: New file.
4570         * config/lm32/_udivmodsi4.c: New file.
4571         * config/lm32/_divsi3.c: New file.
4572         * config/lm32/_modsi3.c: New file.
4573         * config/lm32/_udivsi3.c: New file.
4574         * config/lm32/_umodsi3.c: New file.
4575         * config/lm32/_lshrsi3.S: New file.
4576         * config/lm32/_ashrsi3.S: New file.
4577         * config/lm32/_ashlsi3.S: New file.
4578         * config/lm32/crti.S: New file.
4579         * config/lm32/crtn.S: New file.
4580         * config/lm32/t-lm32: New file.
4581         * config/lm32/t-elf: New file.
4582         * config/lm32/t-uclinux: New file.
4584 2009-10-26  Nick Clifton  <nickc@redhat.com>
4586         * config.host: Add support for RX target.
4587         * config/rx: New directory.
4588         * config/rx/rx-abi-functions.c: New file. Supplementary
4589         functions for libgcc to support the RX ABI.
4590         * config/rx/rx-abi.h: New file.  Supplementary header file for
4591         libgcc RX ABI functions.
4592         * config/rx/t-rx: New file: Makefile fragment for building
4593         libgcc for the RX.
4595 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
4597         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
4598         constraint of y0 to "g".
4600 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4602         * config.host: Include the s390 makefile fragments.
4603         * config/s390/32/_fixdfdi.c: New file.
4604         * config/s390/32/_fixsfdi.c: New file.
4605         * config/s390/32/_fixtfdi.c: New file.
4606         * config/s390/32/_fixunsdfdi.c: New file.
4607         * config/s390/32/_fixunssfdi.c: New file.
4608         * config/s390/32/_fixunstfdi.c: New file.
4609         * config/s390/32/t-floattodi: New file.
4610         * config/s390/libgcc-glibc.ver: New file.
4611         * config/s390/t-crtstuff: New file.
4612         * config/s390/t-linux: New file.
4613         * config/s390/t-tpf: New file.
4615 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4617         * configure.ac (AC_PREREQ): Bump to 2.64.
4619 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
4621         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
4623 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4625         * configure: Regenerate.
4627 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
4629         * config.host (ia64-hp-*vms*): New target.
4630         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
4631         with ia64-hp-*vms*.
4633 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4635         * configure.ac: Add snippet for maintainer-mode.
4636         * configure: Regenerate.
4637         * Makefile.in (AUTOCONF, configure_deps): New variables.
4638         ($(srcdir)/configure)): New rule, active only with maintainer
4639         mode turned on.
4641 2009-06-23  DJ Delorie  <dj@redhat.com>
4643         Add MeP port.
4644         * config.host: Add mep support.
4646 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
4648         * config.host: Add i386/${host_address}/t-fprules-softfp and
4649         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
4651         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
4652         for mingw targets.
4653         * config/i386/64/_multc3.c: Likewise.
4654         * config/i386/64/_powitf2.c: Likewise.
4655         * config/i386/64/eqtf2.c: Likewise.
4656         * config/i386/64/getf2.c: Likewise.
4657         * config/i386/64/letf2.c: Likewise.
4658         * config/i386/64/letf2.c: Likewise.
4659         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
4660         unsigned long long for x64 mingw targets.
4661         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
4662         (_FP_I_TYPE): Define as long long for x64 mingw target.
4664 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
4666         * config.host (vax-*-linux*): New.
4668 2009-05-31  Anthony Green  <green@moxielogic.com>
4670         * config.host: Add moxie support.
4671         * config/moxie/t-moxie: New file.
4673 2009-05-29  David Billinghurst <billingd@gcc.gnu.org>
4675         * config.host: Add i386/${host_address}/t-fprules-softfp and
4676         t-softfp to tmake_file for i[34567]86-*-cygwin*.
4678 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
4680         * config.host: Add i386/${host_address}/t-fprules-softfp to
4681         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
4683 2009-04-09  Nick Clifton  <nickc@redhat.com>
4685         * config/ia64/tf-signs.c: Change copyright header to refer to
4686         version 3 of the GNU General Public License with version 3.1
4687         of the GCC Runtime Library Exception and to point readers at
4688         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
4689         web page.
4690         * config/i386/32/tf-signs.c: Likewise.
4691         * config/libbid/_addsub_dd.c: Likewise.
4692         * config/libbid/_addsub_sd.c: Likewise.
4693         * config/libbid/_addsub_td.c: Likewise.
4694         * config/libbid/_dd_to_df.c: Likewise.
4695         * config/libbid/_dd_to_di.c: Likewise.
4696         * config/libbid/_dd_to_sd.c: Likewise.
4697         * config/libbid/_dd_to_sf.c: Likewise.
4698         * config/libbid/_dd_to_si.c: Likewise.
4699         * config/libbid/_dd_to_td.c: Likewise.
4700         * config/libbid/_dd_to_tf.c: Likewise.
4701         * config/libbid/_dd_to_udi.c: Likewise.
4702         * config/libbid/_dd_to_usi.c: Likewise.
4703         * config/libbid/_dd_to_xf.c: Likewise.
4704         * config/libbid/_df_to_dd.c: Likewise.
4705         * config/libbid/_df_to_sd.c: Likewise.
4706         * config/libbid/_df_to_td.c: Likewise.
4707         * config/libbid/_di_to_dd.c: Likewise.
4708         * config/libbid/_di_to_sd.c: Likewise.
4709         * config/libbid/_di_to_td.c: Likewise.
4710         * config/libbid/_div_dd.c: Likewise.
4711         * config/libbid/_div_sd.c: Likewise.
4712         * config/libbid/_div_td.c: Likewise.
4713         * config/libbid/_eq_dd.c: Likewise.
4714         * config/libbid/_eq_sd.c: Likewise.
4715         * config/libbid/_eq_td.c: Likewise.
4716         * config/libbid/_ge_dd.c: Likewise.
4717         * config/libbid/_ge_sd.c: Likewise.
4718         * config/libbid/_ge_td.c: Likewise.
4719         * config/libbid/_gt_dd.c: Likewise.
4720         * config/libbid/_gt_sd.c: Likewise.
4721         * config/libbid/_gt_td.c: Likewise.
4722         * config/libbid/_isinfd128.c: Likewise.
4723         * config/libbid/_isinfd32.c: Likewise.
4724         * config/libbid/_isinfd64.c: Likewise.
4725         * config/libbid/_le_dd.c: Likewise.
4726         * config/libbid/_le_sd.c: Likewise.
4727         * config/libbid/_le_td.c: Likewise.
4728         * config/libbid/_lt_dd.c: Likewise.
4729         * config/libbid/_lt_sd.c: Likewise.
4730         * config/libbid/_lt_td.c: Likewise.
4731         * config/libbid/_mul_dd.c: Likewise.
4732         * config/libbid/_mul_sd.c: Likewise.
4733         * config/libbid/_mul_td.c: Likewise.
4734         * config/libbid/_ne_dd.c: Likewise.
4735         * config/libbid/_ne_sd.c: Likewise.
4736         * config/libbid/_ne_td.c: Likewise.
4737         * config/libbid/_sd_to_dd.c: Likewise.
4738         * config/libbid/_sd_to_df.c: Likewise.
4739         * config/libbid/_sd_to_di.c: Likewise.
4740         * config/libbid/_sd_to_sf.c: Likewise.
4741         * config/libbid/_sd_to_si.c: Likewise.
4742         * config/libbid/_sd_to_td.c: Likewise.
4743         * config/libbid/_sd_to_tf.c: Likewise.
4744         * config/libbid/_sd_to_udi.c: Likewise.
4745         * config/libbid/_sd_to_usi.c: Likewise.
4746         * config/libbid/_sd_to_xf.c: Likewise.
4747         * config/libbid/_sf_to_dd.c: Likewise.
4748         * config/libbid/_sf_to_sd.c: Likewise.
4749         * config/libbid/_sf_to_td.c: Likewise.
4750         * config/libbid/_si_to_dd.c: Likewise.
4751         * config/libbid/_si_to_sd.c: Likewise.
4752         * config/libbid/_si_to_td.c: Likewise.
4753         * config/libbid/_td_to_dd.c: Likewise.
4754         * config/libbid/_td_to_df.c: Likewise.
4755         * config/libbid/_td_to_di.c: Likewise.
4756         * config/libbid/_td_to_sd.c: Likewise.
4757         * config/libbid/_td_to_sf.c: Likewise.
4758         * config/libbid/_td_to_si.c: Likewise.
4759         * config/libbid/_td_to_tf.c: Likewise.
4760         * config/libbid/_td_to_udi.c: Likewise.
4761         * config/libbid/_td_to_usi.c: Likewise.
4762         * config/libbid/_td_to_xf.c: Likewise.
4763         * config/libbid/_tf_to_dd.c: Likewise.
4764         * config/libbid/_tf_to_sd.c: Likewise.
4765         * config/libbid/_tf_to_td.c: Likewise.
4766         * config/libbid/_udi_to_dd.c: Likewise.
4767         * config/libbid/_udi_to_sd.c: Likewise.
4768         * config/libbid/_udi_to_td.c: Likewise.
4769         * config/libbid/_unord_dd.c: Likewise.
4770         * config/libbid/_unord_sd.c: Likewise.
4771         * config/libbid/_unord_td.c: Likewise.
4772         * config/libbid/_usi_to_dd.c: Likewise.
4773         * config/libbid/_usi_to_sd.c: Likewise.
4774         * config/libbid/_usi_to_td.c: Likewise.
4775         * config/libbid/_xf_to_dd.c: Likewise.
4776         * config/libbid/_xf_to_sd.c: Likewise.
4777         * config/libbid/_xf_to_td.c: Likewise.
4778         * config/libbid/bid128.c: Likewise.
4779         * config/libbid/bid128_2_str.h: Likewise.
4780         * config/libbid/bid128_2_str_macros.h: Likewise.
4781         * config/libbid/bid128_2_str_tables.c: Likewise.
4782         * config/libbid/bid128_add.c: Likewise.
4783         * config/libbid/bid128_compare.c: Likewise.
4784         * config/libbid/bid128_div.c: Likewise.
4785         * config/libbid/bid128_fma.c: Likewise.
4786         * config/libbid/bid128_logb.c: Likewise.
4787         * config/libbid/bid128_minmax.c: Likewise.
4788         * config/libbid/bid128_mul.c: Likewise.
4789         * config/libbid/bid128_next.c: Likewise.
4790         * config/libbid/bid128_noncomp.c: Likewise.
4791         * config/libbid/bid128_quantize.c: Likewise.
4792         * config/libbid/bid128_rem.c: Likewise.
4793         * config/libbid/bid128_round_integral.c: Likewise.
4794         * config/libbid/bid128_scalb.c: Likewise.
4795         * config/libbid/bid128_sqrt.c: Likewise.
4796         * config/libbid/bid128_string.c: Likewise.
4797         * config/libbid/bid128_to_int16.c: Likewise.
4798         * config/libbid/bid128_to_int32.c: Likewise.
4799         * config/libbid/bid128_to_int64.c: Likewise.
4800         * config/libbid/bid128_to_int8.c: Likewise.
4801         * config/libbid/bid128_to_uint16.c: Likewise.
4802         * config/libbid/bid128_to_uint32.c: Likewise.
4803         * config/libbid/bid128_to_uint64.c: Likewise.
4804         * config/libbid/bid128_to_uint8.c: Likewise.
4805         * config/libbid/bid32_to_bid128.c: Likewise.
4806         * config/libbid/bid32_to_bid64.c: Likewise.
4807         * config/libbid/bid64_add.c: Likewise.
4808         * config/libbid/bid64_compare.c: Likewise.
4809         * config/libbid/bid64_div.c: Likewise.
4810         * config/libbid/bid64_fma.c: Likewise.
4811         * config/libbid/bid64_logb.c: Likewise.
4812         * config/libbid/bid64_minmax.c: Likewise.
4813         * config/libbid/bid64_mul.c: Likewise.
4814         * config/libbid/bid64_next.c: Likewise.
4815         * config/libbid/bid64_noncomp.c: Likewise.
4816         * config/libbid/bid64_quantize.c: Likewise.
4817         * config/libbid/bid64_rem.c: Likewise.
4818         * config/libbid/bid64_round_integral.c: Likewise.
4819         * config/libbid/bid64_scalb.c: Likewise.
4820         * config/libbid/bid64_sqrt.c: Likewise.
4821         * config/libbid/bid64_string.c: Likewise.
4822         * config/libbid/bid64_to_bid128.c: Likewise.
4823         * config/libbid/bid64_to_int16.c: Likewise.
4824         * config/libbid/bid64_to_int32.c: Likewise.
4825         * config/libbid/bid64_to_int64.c: Likewise.
4826         * config/libbid/bid64_to_int8.c: Likewise.
4827         * config/libbid/bid64_to_uint16.c: Likewise.
4828         * config/libbid/bid64_to_uint32.c: Likewise.
4829         * config/libbid/bid64_to_uint64.c: Likewise.
4830         * config/libbid/bid64_to_uint8.c: Likewise.
4831         * config/libbid/bid_b2d.h: Likewise.
4832         * config/libbid/bid_binarydecimal.c: Likewise.
4833         * config/libbid/bid_conf.h: Likewise.
4834         * config/libbid/bid_convert_data.c: Likewise.
4835         * config/libbid/bid_decimal_data.c: Likewise.
4836         * config/libbid/bid_decimal_globals.c: Likewise.
4837         * config/libbid/bid_div_macros.h: Likewise.
4838         * config/libbid/bid_dpd.c: Likewise.
4839         * config/libbid/bid_flag_operations.c: Likewise.
4840         * config/libbid/bid_from_int.c: Likewise.
4841         * config/libbid/bid_functions.h: Likewise.
4842         * config/libbid/bid_gcc_intrinsics.h: Likewise.
4843         * config/libbid/bid_inline_add.h: Likewise.
4844         * config/libbid/bid_internal.h: Likewise.
4845         * config/libbid/bid_round.c: Likewise.
4846         * config/libbid/bid_sqrt_macros.h: Likewise.
4848 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
4850         * Makefile.in: Change copyright header to refer to version
4851         3 of the GNU General Public License and to point readers at the
4852         COPYING3 file and the FSF's license web page.
4853         * config.host: Likewise.
4855 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
4857         * config.host: Reorder and merge to match config.gcc change.
4859 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
4861         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
4863 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
4865         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
4866         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
4867         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
4868         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
4870 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
4872         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
4873         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4875 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
4877         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
4878         ia64/t-softfp-compat to tmake_file.
4880         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
4882         * config/ia64/__divxf3.asm: New.
4883         * config/ia64/_fixtfdi.asm: Likewise.
4884         * config/ia64/_fixunstfdi.asm: Likewise.
4885         * config/ia64/_floatditf.asm: Likewise.
4886         * config/ia64/t-fprules-softfp: Likewise.
4887         * config/ia64/t-softfp-compat: Likewise.
4888         * config/ia64/tf-signs.c: Likewise.
4890 2009-01-18  Ben Elliston  <bje@au.ibm.com>
4892         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4894 2009-01-16  Ben Elliston  <bje@au.ibm.com>
4896         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
4897         to tmake_file.
4899 2009-01-13  Ben Elliston  <bje@au.ibm.com>
4901         * config/t-softfp: New file.
4902         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
4903         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
4905 2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>
4907         * config.host: Add m32r*-*-rtems*.
4909 2008-12-01  Joel Sherrill <joel.sherrill@oarcorp.com>
4911         * config.host: Add m32c*-*-rtems*.
4913 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4915         PR bootstrap/33100
4916         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
4917         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
4918         * configure: Regenerate.
4919         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
4920         tmake_file here from gcc/config.gcc.
4921         Move extra_parts here from gcc/config.gcc.
4922         * config/i386/t-sol2: Move here from gcc/config/i386.
4923         Use gcc_srcdir instead of srcdir.
4925 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
4927         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
4928         case.
4930 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
4932         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
4934 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
4936         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
4938 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
4940         Add picoChip port.
4941         * config.host: Add picochip-*-*.
4943 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
4945         * config.host: Match more processor names for Xtensa.
4947 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
4949         * config/i386/64/t-softfp-compat: Update comments.
4951 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
4953         * config/i386/64/_divtc3-compat.c: Moved to ...
4954         * config/i386/64/_divtc3.c: Here.
4956         * config/i386/64/_multc3-compat.c: Moved to ...
4957         * config/i386/64/_multc3.c: Here.
4959         * config/i386/64/_powitf2-compat.c: Moved to ...
4960         * config/i386/64/_powitf2.c: Here.
4962         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
4963         .c suffix instead of -compat.c.
4965 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
4967         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
4968         (_FP_MUL_MEAT_D): Ditto.
4969         (_FP_DIV_MEAT_S): Ditto.
4970         (_FP_DIV_MEAT_D): Ditto.
4972 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
4974         * Makefile.in: Add support for __sync_* libgcc functions.
4976 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
4978         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
4980 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4982         PR boostrap/36702
4983         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
4984         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
4986         * config/i386/64/t-fprules-softfp: Moved to ...
4987         * config/i386/64/t-softfp-compat: This.  New.
4989 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
4991         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
4992         Initialize f with 0.0.
4994 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4996         PR target/36669
4997         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
4999         * config/i386/64/_divtc3-compat.c: New.
5000         * config/i386/64/_multc3-compat.c: Likewise.
5001         * config/i386/64/_powitf2-compat.c: Likewise.
5002         * config/i386/64/eqtf2.c: Likewise.
5003         * config/i386/64/getf2.c: Likewise.
5004         * config/i386/64/letf2.c: Likewise.
5005         * config/i386/64/t-fprules-softfp: Likewise.
5007 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5009         * config.host: Add i386/${host_address}/t-fprules-softfp to
5010         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
5011         i[34567]86-*-linux*, x86_64-*-linux*.
5013         * configure.ac: Set host_address to 64 or 32 for x86.
5014         * configure: Regenerated.
5016         * Makefile.in (config.status): Also depend on
5017         $(srcdir)/config.host.
5019         * config/i386/32/t-fprules-softfp: New.
5020         * config/i386/32/tf-signs.c: Likewise.
5022         * config/i386/64/sfp-machine.h: New. Moved from gcc.
5024 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5025             Uros Bizjak  <ubizjak@gmail.com>
5027         * config/i386/32/sfp-machine.h: New.
5029 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
5031         * config/rs6000/t-ppccomm: Remove rules that conflict with
5032         auto-generated rules.
5034 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5036         * configure.ac: sinclude override.m4.
5037         * configure: Regenerate.
5039 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
5041         * configure: Regenerate.
5043 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
5045         * Makefile.in (DECNUMINC): Remove
5046         -I$(MULTIBUILDTOP)../../libdecnumber.
5047         * gstdint.h: New.
5049 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
5051         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
5052         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
5053         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
5054         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
5055         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
5056         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
5057         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
5058         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
5059         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
5060         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
5061         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
5062         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
5063         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
5064         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
5066 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
5068         * config.host (sh2[lbe]*-*-linux*): Allow target.
5070 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
5072         * config/rs6000/t-ppccomm: Add build rules for new files.
5073         (LIB2ADD_ST): New variable.
5075 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
5077         PR target/34210
5078         PR target/35508
5079         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
5080         * config/t-avr: New file. Build 16bit libgcc functions.
5082 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
5084         PR target/35401
5085         * config/t-slibgcc-darwin: Make install-leaf dependent on
5086         install-darwin-libgcc-stubs instead of install.
5088 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
5090         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
5091         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
5092         sh-*-rtemscoff*): Remove cases.
5094 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
5096         * Makefile.in (all): Use install-leaf rather than install.
5097         (install): Split most of the rule into...
5098         (install-leaf): ...this new one.
5100 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
5101             Paolo Bonzini  <bonzini@gnu.org>
5103         PR target/30572
5104         * Makefile.in: Use @shlib_slibdir@ substitution to get
5105         correct install name on darwin.
5106         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
5108 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
5110         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
5111         cris-*-elf and cris-*-none.
5112         (crisv32-*-linux*): Similar, as cris-*-linux*.
5114 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
5116         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
5118 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
5120         PR regression/33926
5121         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
5122         * configure: Regenerated.
5124 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
5126         * Makefile.in (dfp-filenames): Replace decimal_globals,
5127         decimal_data, binarydecimal and convert_data with
5128         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
5129         and bid_convert_data, respectively.
5131 2007-09-17  Chao-ying Fu  <fu@mips.com>
5132             Nigel Stephens  <nigel@mips.com>
5134         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
5135         * Makefile.in (fixed_point): Define.
5136         Check if fixed_point is yes to build support functions.
5137         * configure.ac: Check for fixed_point support.
5138         * configure: Regenerated.
5139         * gen-fixed.sh: New file to generate lists of fixed-point labels,
5140         funcs, modes, from, to.
5142 2007-09-11  Janis Johnson  <janis187@us.ibm.com
5144         * Makefile.in (dfp-filenames): Add bid128_noncomp.
5146 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
5148         * Makefile.in (dfp-filenames): Remove decUtility, add
5149         decDouble, decPacked, decQuad, decSingle.
5151 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
5153         * config.host : Add x86_64-elf target.
5155 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
5157         * configure.ac (set_have_cc_tls): Add a missing =.
5158         * configure: Regenerated.
5160 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
5162         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
5163         and x86_64-*-linux*.
5165         * config/t-tls: New file.
5167         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
5169         * configure.ac: Include ../config/enable.m4 and
5170         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
5171         supports TLS and substitute set_have_cc_tls.
5172         * configure: Regenerated.
5174 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
5176         * Makefile.in: Use libbid for DFP when BID is enabled.
5178 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
5180         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
5181         extra_parts. Add config/i386/t-cygming to tmake_file.
5182         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
5184 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
5185             Danny Smith  <dannysmith@users.sourceforge.net>
5187         PR target/29498
5188         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
5189         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
5190         * config/i386/t-crtfm: Compile crtfastmath.o with
5191         -minline-all-stringops.
5193 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
5195         * config.host (sparc-wrs-vxworks): New target.
5197 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
5199         * config.host: Recognize fido.
5201 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
5203         * configure: Check host, not target, for decimal float support.
5205 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
5207         * config/i386/t-crtpc: New file.
5208         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5209         (x86_64-*-linux*): Ditto.
5211 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
5213         * config.host (x86_64-*-mingw*): New target.
5215 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
5216             H.J. Lu  <hongjiu.lu@intel.com>
5218         * Makefile.in (enable_decimal_float): New.
5219         (DECNUMINC): Add
5220         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
5221         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
5222         (decbits-filenames): This.
5223         (decbits-objects): New.
5224         (libgcc-objects): Add $(decbits-objects).
5226         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
5227         Substitute enable_decimal_float.
5228         * configure: Regenerated.
5230 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
5232         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
5234 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
5236         * Makefile.in (install-info): New dummy target.
5238 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
5240         * config.host (bfin*-linux-uclibc*): Set extra_parts.
5242 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
5244         * Makefile.in: Add install-html and install-pdf dummy
5245         targets.
5247 2007-02-05  Roger Sayle  <roger@eyesopen.com>
5248             Daniel Jacobowitz  <dan@codesourcery.com>
5250         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
5251         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
5252         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
5254 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
5256         * Makefile.in (dec-filenames): Add decExcept.
5258 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
5260         PR bootstrap/30469
5261         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
5262         -fprofile-use.
5264 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
5266         * configure.ac: Add --enable-version-specific-runtime-libs.
5267         Correct $slibdir default.
5268         * configure: Regenerated.
5270 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
5272         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
5274 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
5276         PR target/30519
5277         * config.host (alpha*-*-linux*): Set extra_parts.
5279 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
5281         * config/sh/t-linux: New.
5282         * config.host (sh*-*-linux*): Set tmake_file.
5284 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
5286         * Makefile.in (install): Handle multilibs.
5288 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
5290         * Makefile.in: Added .PHONY entry for documentation targets.
5292 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
5294         * Makefile.in: Add empty info, html, dvi, pdf targets.
5296 2007-01-04  Mike Stump  <mrs@apple.com>
5298         * Makefile.in (MAKEINFO): Remove.
5299         (PERL): Likewise.
5301 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
5303         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
5304         * configure: Regenerate.
5305         * Makefile.in (host_subdir): Substitute it.
5306         (gcc_objdir): Use it.
5308 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
5310         * config.host (ia64*-*-linux*): Set tmake_file.
5312 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
5314         * Makefile.in (version): Define.
5316 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
5317             Paolo Bonzini  <bonzini@gnu.org>
5319         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
5320         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
5321         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
5322         config/sparc/t-crtfm, config/t-slibgcc-darwin,
5323         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
5324         shared-object.mk, siditi-object.mk, static-object.mk: New files.
5325         * configure: Generated.