Avoid ICE on unsupported use of __integer_pack.
[official-gcc.git] / libgcc / ChangeLog
blobe8886cfda7735096e4d49feadb4041a84f5541b5
1 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
2             Monk Chiang  <sh.chiang04@gmail.com>
3             Jim Wilson <jimw@sifive.com>
5         * config/riscv/save-restore.S: Add support for rv32e.
7 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
9         * config/arm/libunwind.S: Update comment relating to armv5.
11 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
13         * config/arm/cmse.c (cmse_check_address_range): Replace
14         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
16 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
18         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
19         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
21 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
23         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
24         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
26 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
28         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
30 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
31             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
33         PR libgcc/84292
34         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
35         op_and_fetch to return the right result.
37 2018-04-27  Alan Modra  <amodra@gmail.com>
39         PR libgcc/85532
40         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
41         -fno-asynchronous-unwind-tables.
43 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
45         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
46         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
48 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
50         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
51         when including "config/i386/shadow-stack-unwind.h".
53 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
55         * configure: Regenerated.
57 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
59         PR target/85456
60         * config/rs6000/_powikf2.c: New file.  Add support for the
61         __builtin_powil function when long double is IEEE 128-bit floating
62         point.
63         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
64         __powikf2 support.
65         (__powikf2): Likewise.
66         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
67         (__powikf2_hw): Likewise.
68         (__powikf2): Likewise.
69         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
70         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
71         (_powikf2-hw.c): Likewise.
73 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
75         PR libgcc/85334
76         * unwind-generic.h (_Unwind_Frames_Increment): New.
77         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
78         Likewise.
79         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
80         count with _Unwind_Frames_Increment.
81         (_Unwind_ForcedUnwind_Phase2): Likewise.
83 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
85         PR libgcc/85379
86         * config/i386/morestack.S (__stack_split_initialize): Add
87         _CET_ENDBR.
89 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
91         * configure: Regenerated.
93 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
95         PR jit/85384
96         * configure: Regenerate.
98 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
100         PR target/84945
101         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
102         -Wdangling-else warnings.  Mask shift counts to avoid
103         -Wshift-count-negative and -Wshift-count-overflow false positives.
105 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
107         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
109 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
111         PR target/85100
112         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
113         (XSTATE_FP): Likewise.
114         (XSTATE_SSE): Likewise.
115         (XSTATE_YMM): Likewise.
116         (XSTATE_OPMASK): Likewise.
117         (XSTATE_ZMM): Likewise.
118         (XSTATE_HI_ZMM): Likewise.
119         (XCR_AVX_ENABLED_MASK): Likewise.
120         (XCR_AVX512F_ENABLED_MASK): Likewise.
121         (get_available_features): Enable AVX and AVX512 features only
122         if their states are supported by OSXSAVE.
124 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
126         PR target/85025
127         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
128         Fix a typo, tmp => 255.
130 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
132         PR target/84945
133         * config/i386/cpuinfo.h (__cpu_features2): Declare.
134         * config/i386/cpuinfo.c (__cpu_features2): New variable for
135         ifndef SHARED only.
136         (set_feature): Define.
137         (get_available_features): Use set_feature macro.  Set __cpu_features2
138         to the second word of features ifndef SHARED.
140 2018-03-15  Julia Koval  <julia.koval@intel.com>
142         * config/i386/cpuinfo.c (get_available_features): Add
143         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
144         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
145         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
146         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
147         FEATURE_AVX512BITALG.
149 2018-03-14  Julia Koval  <julia.koval@intel.com>
151         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
152         icelake client and icelake server.
154 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
156         * config/pa/fptr.c (_dl_read_access_allowed): New.
157         (__canonicalize_funcptr_for_compare): Use it.
158         
159 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
161         PR debug/83917
162         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
163         $asm_hidden_op if visibility ("hidden") attribute works.
164         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
165         * config/i386/i386-asm.h: Don't include auto-host.h.
166         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
167         PACKAGE_URL): Don't undefine.
168         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
169         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
170         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
171         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
172         definition instead of hardcoded .hidden.
173         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
174         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
175         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
176         (USE_GAS_CFI_DIRECTIVES): Don't define.
177         * configure: Regenerated.
178         * config.in: Likewise.
180 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
182         PR debug/83917
183         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
184         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
185         inclusion of auto-target.h and auto-host.h.
186         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
187         __GCC_HAVE_DWARF2_CFI_ASM.
188         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
189         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
190         cfi_pop): Define.
191         * config/i386/cygwin.S: Don't include auto-host.h here, just
192         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
193         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
194         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
195         * config/i386/resms64fx.h: Add cfi_* directives.
196         * config/i386/resms64x.h: Likewise.
198 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
200         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
201         .literal_position directive.
202         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
204 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
206         PR target/84148
207         * configure: Regenerate.
209 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
211         PR target/84239
212         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
213         Include cetintrin.h not x86intrin.h.
215 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
217         PR target/84239
218         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
219         Use new _get_ssp and _inc_ssp intrinsics.
221 2018-02-02  Julia Koval  <julia.koval@intel.com>
223         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
225 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
227         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
228         option.
229         (__divsi3): Use RF16 safe registers.
230         (__modsi3): Likewise.
232 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
234         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
235         (__divsf3): Make NaN return value quiet.
236         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
237         (__divdf3): Make NaN return value quiet.
239 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
241         * config/rl78/anddi3.S: New assembly file.
242         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
244 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
246         * config/rl78/umindi3.S: New assembly file.
247         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
249 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
251         * config/rl78/smindi3.S: New assembly file.
252         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
254 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
256         * config/rl78/smaxdi3.S: New assembly file.
257         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
259 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
261         * config/rl78/umaxdi3.S: New assembly file.
262         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
263         
264 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
266         PR lto/83452
267         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
268         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
269         
270 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
272         * config/aarch64/value-unwind.h (aarch64_vg): New function.
273         (DWARF_LAZY_REGISTER_VALUE): Define.
274         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
275         to provide a fallback register value.
277 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
279         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
280         __ibm128, instead of trying to use long double.
281         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
282         accomidate -mabi=ieeelongdouble multilibs.
283         (CVT_IBM128_TO_FLOAT128): Likewise.
284         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
285         the appropriate IBM extended double type.
286         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
287         (__gcc_qsub): Likewise.
288         (__gcc_qmul): Likewise.
289         (__gcc_qdiv): Likewise.
290         (pack_ldouble): Likewise.
291         (__gcc_qneg): Likewise.
292         (__gcc_qeq): Likewise.
293         (__gcc_qne): Likewise.
294         (__gcc_qge): Likewise.
295         (__gcc_qle): Likewise.
296         (__gcc_stoq): Likewise.
297         (__gcc_dtoq): Likewise.
298         (__gcc_itoq): Likewise.
299         (__gcc_utoq): Likewise.
300         (__gcc_qunord): Likewise.
301         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
302         quad-float128.h for the definitions.
303         (COPYSIGN): Use the f128 version instead of the q version.
304         (INFINITY): Likewise.
305         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
306         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
307         quad-float128.h for the definitions.
308         (COPYSIGN): Use the f128 version instead of the q version.
309         (INFINITY): Likewise.
310         (FABS): Likewise.
311         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
312         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
313         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
315 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
317         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
318         configuration.
320 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
322         Update copyright years.
324 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
326         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
327         * config/riscv/multi3.c: New file.
328         * config/riscv/multi3.S: Remove.
330 2017-12-08  Jim Wilson  <jimw@sifive.com>
332         * config/riscv/div.S: Use FUNC_* macros.
333         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
334         * config/riscv/save-restore.S: Likewise.
335         * config/riscv/riscv-asm.h: New.
337 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
339         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
340         * config/rs6000/_divkc3.c (__divkc3): Likewise.
342         PR libgcc/83112
343         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
344         correct type for all ifunc resolvers to silence -Wattribute-alias
345         warnings.  Eliminate the forward declaration of the resolver
346         functions which is no longer needed.
347         (__subkf3_resolve): Likewise.
348         (__mulkf3_resolve): Likewise.
349         (__divkf3_resolve): Likewise.
350         (__negkf2_resolve): Likewise.
351         (__eqkf2_resolve): Likewise.
352         (__nekf2_resolve): Likewise.
353         (__gekf2_resolve): Likewise.
354         (__gtkf2_resolve): Likewise.
355         (__lekf2_resolve): Likewise.
356         (__ltkf2_resolve): Likewise.
357         (__unordkf2_resolve): Likewise.
358         (__extendsfkf2_resolve): Likewise.
359         (__extenddfkf2_resolve): Likewise.
360         (__trunckfsf2_resolve): Likewise.
361         (__trunckfdf2_resolve): Likewise.
362         (__fixkfsi_resolve): Likewise.
363         (__fixkfdi_resolve): Likewise.
364         (__fixunskfsi_resolve): Likewise.
365         (__fixunskfdi_resolve): Likewise.
366         (__floatsikf_resolve): Likewise.
367         (__floatdikf_resolve): Likewise.
368         (__floatunsikf_resolve): Likewise.
369         (__floatundikf_resolve): Likewise.
370         (__extendkftf2_resolve): Likewise.
371         (__trunctfkf2_resolve): Likewise.
373         PR libgcc/83103
374         * config/rs6000/quad-float128.h (TF): Don't define if long double
375         is IEEE 128-bit floating point.
376         (TCtype): Define as either TCmode or KCmode, depending on whether
377         long double is IEEE 128-bit floating point.
378         (__mulkc3_sw): Add declarations for software/hardware versions of
379         complex multiply/divide.
380         (__divkc3_sw): Likewise.
381         (__mulkc3_hw): Likewise.
382         (__divkc3_hw): Likewise.
383         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
384         handlers to switch between using software emulation and hardware
385         float128 instructions, build the complex multiply/divide functions
386         for both software and hardware support.
387         * config/rs6000/_divkc3.c (_divkc3): Likewise.
388         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
389         (__divkc3_resolve): Likewise.
390         (__mulkc3): Likewise.
391         (__divkc3): Likewise.
392         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
393         (fp128_hw_src): Likewise.
394         (fp128_hw_static_obj): Likewise.
395         (fp128_hw_shared_obj): Likewise.
396         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
397         _mulkc3.c and _divkc3.c, changing the function name.
398         (_divkc3-hw.c): Likewise.
399         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
400         and _divkc3-hw.c.
402 2017-11-26  Julia Koval  <julia.koval@intel.com>
404         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
405         * config/i386/cpuinfo.h (processor_subtypes): Add
406         INTEL_COREI7_CANNONLAKE.
408 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
410         PR bootstrap/83015
411         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
412         parameter.
413         * config/xtensa/unwind-dw2-xtensa.c: Likewise
414         * config/ia64/unwind-ia64.c: Add frames parameter.
415         * unwind-sjlj.c: Likewise.
417 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
419         * config/i386/linux-unwind.h: Include
420         config/i386/shadow-stack-unwind.h.
421         * config/i386/shadow-stack-unwind.h: New file.
422         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
423         pass it to _Unwind_Frames_Extra.
424         * unwind-generic.h (_Unwind_Frames_Extra): New.
425         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
426         parameter. Add local variable frames to count number of frames.
427         (_Unwind_ForcedUnwind_Phase2): Likewise.
428         (_Unwind_RaiseException): Add local variable frames to count
429         number of frames, pass it to _Unwind_RaiseException_Phase2 and
430         uw_install_context.
431         (_Unwind_ForcedUnwind): Likewise.
432         (_Unwind_Resume): Likewise.
433         (_Unwind_Resume_or_Rethrow): Likewise.
435 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
437         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
438         (CET_FLAGS): New.
439         * config/i386/morestack.S: Include <cet.h>.
440         (__morestack_large_model): Add _CET_ENDBR at function entrance.
441         * config/i386/resms64.h: Include <cet.h>.
442         * config/i386/resms64f.h: Likewise.
443         * config/i386/resms64fx.h: Likewise.
444         * config/i386/resms64x.h: Likewise.
445         * config/i386/savms64.h: Likewise.
446         * config/i386/savms64f.h: Likewise.
447         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
448         (CRTSTUFF_T_CFLAGS): Likewise.
449         * configure.ac: Include ../config/cet.m4.
450         Set and substitute CET_FLAGS.
451         * configure: Regenerated.
453 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
455         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
456         renaming.
457         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
458         * configure.ac (libgcc_cv_solaris_crts): Likewise.
459         * configure: Regenerate.
461 2017-11-07  Tom de Vries  <tom@codesourcery.com>
463         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
464         after "do {} while (0)".
466 2017-11-07  Tom de Vries  <tom@codesourcery.com>
468         PR other/82784
469         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
470         semicolon after "do {} while (0)".
471         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
472         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
473         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
474         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
476 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
478         PR libgcc/82635
479         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
480         sysctl to determine whether we're in a trampoline.
481         Keep the pattern matching method for systems without
482         KERN_PROC_SIGTRAMP sysctl.
484 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
485             Vineet Gupta <vgupta@synopsys.com>
487         * config.host (arc*-*-linux*): Set md_unwind_header variable.
488         * config/arc/linux-unwind-reg.def: New file.
489         * config/arc/linux-unwind-reg.h: Likewise.
491 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
493         * config/rl78/subdi3.S: New assembly file.
494         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
496 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
498         * config/rl78/adddi3.S: New assembly file.
499         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
501 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
503         PR target/82274
504         * libgcc2.c (__mulvDI3): If both operands have
505         the same highpart of -1 and the topmost bit of lowpart is 0,
506         multiplication overflows even if both lowparts are 0.
508 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
510         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
512 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
514         * config/microblaze/crti.S, config/microblaze/crtn.S,
515         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
516         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
517         config/microblaze/mulsi3.S,
518         config/microblaze/stack_overflow_exit.S,
519         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
520         config/pa/milli64.S: Add .note.GNU-stack section.
522 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
524         * configure.ac: Add Check for HAVE_AS_AVX.
525         * config.in: Regenerate.
526         * configure: Likewise.
527         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
528         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
529         Correct out-of-date comments.
531 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
533         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
534         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
536 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
538         * config/i386/i386-asm.h (PASTE2): New macro.
539         (ASMNAME): Modify to use PASTE2.
540         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
541         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
542         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
543         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
544         * config/i386/resms64f.S: Likewise.
545         * config/i386/resms64fx.S: Likewise.
546         * config/i386/resms64x.S: Likewise.
547         * config/i386/savms64.S: Likewise.
548         * config/i386/savms64f.S: Likewise.
549         * config/i386/avx_resms64.S: New file that only defines a macro and
550         includes it's corresponding header file.
551         * config/i386/avx_resms64f.S: Likewise.
552         * config/i386/avx_resms64fx.S: Likewise.
553         * config/i386/avx_resms64x.S: Likewise.
554         * config/i386/avx_savms64.S: Likewise.
555         * config/i386/avx_savms64f.S: Likewise.
556         * config/i386/sse_resms64.S: Likewise.
557         * config/i386/sse_resms64f.S: Likewise.
558         * config/i386/sse_resms64fx.S: Likewise.
559         * config/i386/sse_resms64x.S: Likewise.
560         * config/i386/sse_savms64.S: Likewise.
561         * config/i386/sse_savms64f.S: Likewise.
562         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
564 2017-09-01  Olivier Hainque  <hainque@adacore.com>
565         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
567 2017-08-31  Olivier Hainque  <hainque@adacore.com>
569         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
570         match as powerpc-wrs-vxworks*.
572 2017-08-07  Jonathan Yong  <10walls@gmail.com>
574         * config.host (*-cygwin): Include file from mingw
575         config/i386/enable-execute-stack-mingw32.c
577 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
578             Doug Rupp  <rupp@adacore.com>
579             Olivier Hainque  <hainque@adacore.com>
581         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
582         as well as arm-wrs-vxworks.
583         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
584         LIB2ADDEH.
585         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
586         __exidx_start and __exidx_end for downloadable modules.
588 2017-08-01  Olivier Hainque  <hainque@adacore.com>
590         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
591         * config/t-vxworks7: Likewise.
593 2017-08-01  Olivier Hainque  <hainque@adacore.com>
595         * config/t-vxworks: Instead of redefining LIB2ADD,
596         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
598 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
600         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
602 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
604         PR testsuite/80759
605         * config.host: include i386/t-msabi for darwin and solaris.
606         * config/i386/i386-asm.h
607         (ELFFN): Rename to FN_TYPE.
608         (FN_SIZE): New macro.
609         (FN_HIDDEN): Likewise.
610         (ASMNAME): Likewise.
611         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
612         .globl.
613         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
614         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
615         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
616         .macro.
617         * config/i386/resms64f.S: Likewise.
618         * config/i386/resms64fx.S: Likewise.
619         * config/i386/resms64x.S: Likewise.
620         * config/i386/savms64.S: Likewise.
621         * config/i386/savms64f.S: Likewise.
623 2017-07-19  John Marino  <gnugcc@marino.st>
625         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
627 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
629         PR target/81193
630         * configure.ac (PowerPC float128 hardware support): Test whether
631         we can use __builtin_cpu_supports before enabling the ifunc
632         handler.
633         * configure: Regenerate.
635 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
637         * config.host: Remove uclibc from arc target spec.
639 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
641         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
643 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
645         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
646         (have_ieee_hw_p): Delete function.
647         (SW_OR_HW) Use __builtin_cpu_supports().
649 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
651         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
653 2017-07-03  Olivier Hainque  <hainque@adacore.com>
655         * config/t-vxworks7: New file, really.
657 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
659         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
660         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
661         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
662         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
663         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
664         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
665         config/pa/linux-unwind.h (pa32_fallback_frame_state),
666         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
667         config/sh/linux-unwind.h (sh_fallback_frame_state),
668         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
669         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
670         ucontext_t instead of struct ucontext.
672 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
674         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
675         (x86_64-wrs-vxworks7): Likewise.
677 2017-06-27  Olivier Hainque  <hainque@adacore.com>
679         * config/t-vxworks7: New file.
680         * config.host (*-*-vxworks7): Use it.
682 2017-06-22  Matt Turner  <mattst88@gmail.com>
684         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
685         skylake case.
687 2017-06-21  Richard Biener  <rguenther@suse.de>
689         PR gcov-profile/81080
690         * configure.ac: Add AC_SYS_LARGEFILE.
691         * libgcov.h: Include auto-target.h before tsystem.h to pick
692         up _FILE_OFFSET_BITS which might differ for multilibs.
693         * config.in: Regenerate.
694         * configure: Likewise.
696 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
698         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
700 2017-06-09  Martin Liska  <mliska@suse.cz>
702         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
703         Reset __gcov_indirect_call_callee to NULL.
705 2017-06-08  Olivier Hainque  <hainque@adacore.com>
707         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
708         the set of -I options, support for direct inclusions of net/uio.h
709         by VxWorks header files via ioLib.h.
711 2017-06-07  Tony Reix  <tony.reix@atos.net>
712             Matthieu Sarter  <matthieu.sarter.external@atos.net>
713             David Edelsohn  <dje.gcc@gmail.com>
715         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
716         unconditionally.
717         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
718         AIX 7.2 support.
720 2017-06-02  Olivier Hainque  <hainque@adacore.com>
722         * config/vxlib.c (__gthread_once): Add missing value to
723         return statement.
725 2017-05-30  Olivier Hainque  <hainque@adacore.com>
727         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
728         dollar sign before $(MULTIDIR).
730 2017-05-26  Richard Henderson  <rth@redhat.com>
732         PR libgcc/80037
733         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
735 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
737         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
738         _Unwind_SetIP available as functions for arm*-*-freebsd*.
739         * config/arm/unwind-arm.c: Implement the above.
741 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
743         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
744         section for a non-executable stack.
746 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
748         PR target/80600
749         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
751 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
753         * config.host: Add i386/t-msabi to i386/t-linux file list.
754         * config/i386/i386-asm.h: New file.
755         * config/i386/resms64.S: New file.
756         * config/i386/resms64f.S: New file.
757         * config/i386/resms64fx.S: New file.
758         * config/i386/resms64x.S: New file.
759         * config/i386/savms64.S: New file.
760         * config/i386/savms64f.S: New file.
761         * config/i386/t-msabi: New file.
763 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
765         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
766         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
768 2017-05-05  Joshua Conner  <joshconner@google.com>
770         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
771         pc-relative indirect handling for fuchsia.
772         * config/t-slibgcc-fuchsia: New file.
773         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
774         x86_64-*-fuchsia*): Add definitions.
776 2017-04-19  Martin Liska  <mliska@suse.cz>
778         PR gcov-profile/80435
779         * Makefile.in: Install gcov.h.
780         * gcov.h: New file.
781         * libgcov.h: Use the header and make __gcov_flush publicly
782         visible.
784 2017-04-18  Martin Liska  <mliska@suse.cz>
786         PR gcov-profile/78783
787         * libgcov-driver.c (gcov_get_filename): New function.
789 2017-04-07  Jeff Law  <law@redhat.com>
791         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
792         target makefile fragment.
793         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
795 2017-04-07  Alan Modra  <amodra@gmail.com>
797         PR target/45053
798         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
800 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
802         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
804 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
806         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
808 2017-03-10  John Marino  <gnugcc@marino.st>
810         * config/aarch64/freebsd-unwind.h: New file.
811         * config.host: Add aarch64-*-freebsd unwinder.
813 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
815         * config/rs6000/crtrestvr.s: Use .machine altivec.
816         * config/rs6000/crtsavevr.s: Ditto.
818 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
820         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
821         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
822         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
823         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
824         * configure: Regenerate.
825         * config.in: Regenerate.
827 2017-03-02  Jonathan Yong <10walls@gmail.com>
829         * config/i386/gthr-win32.h: Define NOGDI before
830         windows.h include to prevent w32api CC_NONE macro
831         clash with libgfortran.
833 2017-03-02  Jonathan Yong <10walls@gmail.com>
835         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
837 2017-02-16  Andrew Pinski  <apinski@cavium.com>
839         * config/aarch64/value-unwind.h: New file.
840         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
841         to tm_file.
843 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
845         * config.host: Add RISC-V tuples.
846         * config/riscv/atomic.c: New file.
847         * config/riscv/crti.S: Likewise.
848         * config/riscv/crtn.S: Likewise.
849         * config/riscv/div.S: Likewise.
850         * config/riscv/linux-unwind.h: Likewise.
851         * config/riscv/muldi3.S: Likewise.
852         * config/riscv/multi3.S: Likewise.
853         * config/riscv/save-restore.S: Likewise.
854         * config/riscv/sfp-machine.h: Likewise.
855         * config/riscv/t-elf: Likewise.
856         * config/riscv/t-elf32: Likewise.
857         * config/riscv/t-elf64: Likewise.
858         * config/riscv/t-softfp32: Likewise.
859         * config/riscv/t-softfp64: Likewise.
861 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
863         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
864         /* FALLTHRU */ comments.
866 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
868         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
870 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
872         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
873         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
874         DW_CFA_GNU_window_save for AArch64 and LP64.
876 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
878         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
880 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
882         * config/aarch64/aarch64-unwind.h: New file.
883         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
884         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
885         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
886         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
887         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
888         (aarch64_post_extract_frame_addr): New function.
889         (aarch64_post_frob_eh_handler_addr): New function.
890         (aarch64_frob_update_context): New function.
891         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
892         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
893         aarch64*-*-freebsd*):
894         Initialize md_unwind_header to include aarch64-unwind.h.
895         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
896         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
897         __aarch64__.
898         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
899         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
900         (uw_frob_return_addr): New function.
901         (uw_install_context): Use uw_frob_return_addr.
903 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
905         PR other/79046
906         * configure.ac: Add GCC_BASE_VER.
907         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
908         version from BASE-VER file.
909         * configure: Regenerated.
911 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
913         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
914         libmul_f5.a): Filter archived prerequisites.
916 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
918         * config/i386/cpuinfo.h (processor_features): Add
919         FEATURE_AVX512VPOPCNTDQ.
920         * config/i386/cpuinfo.c (get_available_features): Habdle new
921         feature.
923 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
925         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
926         payload if [__mips_nan2008].
928 2017-01-04  Alan Modra  <amodra@gmail.com>
930         * Makefile.in (configure_deps): Update.
931         * configure: Regenerate.
933 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
935         Update copyright years.
937 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
939         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
940         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
941         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
943 2016-12-17  Matthias Klose  <doko@ubuntu.com>
945         * config/arc/gmon: Remove empty directory.
947 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
949         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
950         crtgend.
951         (arc*-*-elf*): Likewise.
952         * config/arc/t-arc: Remove old gmon lib targets.
953         * config/arc/crtg.S: Remove.
954         * config/arc/crtgend.S: Likewise.
955         * config/arc/gmon/atomic.h: Likewise.
956         * config/arc/gmon/auxreg.h: Likewise.
957         * config/arc/gmon/dcache_linesz.S: Likewise.
958         * config/arc/gmon/gmon.c: Likewise.
959         * config/arc/gmon/machine-gmon.h: Likewise.
960         * config/arc/gmon/mcount.c: Likewise.
961         * config/arc/gmon/prof-freq-stub.S: Likewise.
962         * config/arc/gmon/prof-freq.c: Likewise.
963         * config/arc/gmon/profil.S: Likewise.
964         * config/arc/gmon/sys/gmon.h: Likewise.
965         * config/arc/gmon/sys/gmon_out.h: Likewise.
966         * config/arc/t-arc-newlib: Likewise.
967         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
969 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
971         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
973 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
975         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
976         R16 instead of push + pop.
977         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
979 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
981         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
982         tmake_file.
984 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
986         * config.host (arc*-*-linux-uclibc*): Use default extra
987         objects. Include linux-android header.
988         * config/arc/crti.S (_init): Declare symbol as function.
989         (_fini): Likewise.
991 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
993         PR fortran/78379
994         * config/i386/cpuinfo.c:  Move denums for processor vendors,
995         processor type, processor subtypes and declaration of
996         struct __processor_model into
997         * config/i386/cpuinfo.h:  New header file.
999 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
1000             Thomas Preud'homme  <thomas.preudhomme@arm.com>
1002         * config/arm/cmse_nonsecure_call.S: New.
1003         * config/arm/t-arm: Compile cmse_nonsecure_call.S
1005 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
1006             Thomas Preud'homme  <thomas.preudhomme@arm.com>
1008         * config/arm/t-arm (HAVE_CMSE): New.
1009         * config/arm/cmse.c: New.
1011 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1013         PR gcc/74748
1014         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1015         use generic linker version information on Blackfin.
1017         PR gcc/74748
1018         * libgcc/mkmap-symver.awk: add support for skip_underscore
1020 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
1021             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1023         PR target/67710
1024         *  config/t-darwin: Default builds to 10.5 codegen.
1026 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
1028         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1029         (_FP_NANSIGN_H): Likewise.
1030         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1031         (softfp_truncations): Add tfhf.
1032         (softfp_extras): Add required conversion functions.
1034 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
1035             Matthew Wahab  <matthew.wahab@arm.com>
1037         * config/arm/fp16.c (binary64): New.
1038         (__gnu_d2h_internal): New.
1039         (__gnu_d2h_ieee): New.
1040         (__gnu_d2h_alternative): New.
1042 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
1043             Matthew Wahab  <matthew.wahab@arm.com>
1045         * config/arm/fp16.c (struct format): New.
1046         (binary32): New.
1047         (__gnu_float2h_internal): New.  Body moved from
1048         __gnu_f2h_internal and generalize.
1049         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1050         Call it with binary32.
1052 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
1054         * soft-fp/extendhftf2.c: Update from glibc.
1055         * soft-fp/fixhfti.c: Likewise.
1056         * soft-fp/fixunshfti.c: Likewise.
1057         * soft-fp/floattihf.c: Likewise.
1058         * soft-fp/floatuntihf.c: Likewise.
1059         * soft-fp/half.h: Likewise.
1060         * soft-fp/trunctfhf2.c: Likewise.
1062 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
1064         PR libgcc/77813
1065         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1066         __TMC_END__ behind a passthrough asm.
1068 2016-11-18  Walter Lee  <walt@tilera.com>
1070         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1072 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
1074         * config/i386/cpuinfo.c (processor_features): Add
1075         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1077 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
1079         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1080         (__ARC_NORM__): Use instead ARC_OPTFPE.
1081         * config/arc/fp-hack.h: Likewise.
1082         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1083         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1085 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
1087         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1088         * config/nvptx/mgomp.c: New file.
1089         * config/nvptx/t-nvptx: Add mgomp.c
1091 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
1093         PR libgcc/68468
1094         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1096 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
1098         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1099         of checking for cpus.
1100         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1101         (__modsi3, __clzsi2): Likewise.
1103 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1105         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1106         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1107         * config/i386/t-cpuinfo-static: New.
1109 2016-11-03  Martin Liska  <mliska@suse.cz>
1111         * libgcov-profiler.c (__gcov_time_profiler): Remove.
1112         (__gcov_time_profiler_atomic): Likewise.
1114 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1116         PR libgcc/78067
1117         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1118         count_leading_zeros.
1120 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
1122         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1123         * libgcc2.c (__divmoddi4): New function.
1124         * libgcc2.h (__divmoddi4): Declare.
1125         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1126         and __PFX_divmodti4.
1128 2016-10-24  Florian Weimer  <fweimer@redhat.com>
1130         PR libgcc/78064
1131         * unwind-c.c: Include auto-target.h.
1133 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
1135         * config/pa/pa64-hpux-lib.h: New file.
1136         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1137         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1138         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1139         hppa*64*-*-hpux11*.
1141 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
1143         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1144         definition.
1145         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1146         definition.
1147         * config/xtensa/t-windowed (LIB2ADDEH): Use
1148         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1149         or xtensa/t-linux.
1151 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
1153         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1154         __ieee754_sqrt): New functions.
1155         (__divdf3): Add implementation with new FPU instructions under
1156         #if XCHAL_HAVE_DFP_DIV.
1157         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1158         __ieee754_sqrtf): New functions.
1159         (__divsf3): Add implementation with new FPU instructions under
1160         #if XCHAL_HAVE_FP_DIV.
1161         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1162         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1164 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1166         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1167         equivalent.
1168         * config/tilepro/atomic.c: Likewise and stop casting model to
1169         enum memmodel.
1171 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
1173         PR target/77586
1174         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1175         soft-fp.
1177 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
1179         * config.host: Add support for aarch64-*-freebsd*.
1181 2016-10-05  Andreas Schwab  <schwab@suse.de>
1183         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1184         (.section .init_array): Don't call __do_jv_register_classes.
1185         (.section .init): Likewise.
1187 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
1189         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1190         (__JCR_LIST__): Remove.
1191         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1192         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1193         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1194         * config/ia64/crtend.S (__JCR_END__): Remove.
1195         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1196         conditionals.
1197         (__JCR_LIST__, __JCR_END__): Remove.
1198         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1199         (__do_global_ctors_1): Likewise.
1201 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
1203         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1204         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1206 2016-09-27  Martin Liska  <mliska@suse.cz>
1208         PR gcov-profile/7970
1209         PR gcov-profile/16855
1210         PR gcov-profile/44779
1211         * libgcov-driver.c (__gcov_init): Do not register a atexit
1212         handler.
1213         (__gcov_exit): Rename from gcov_exit.
1214         * libgcov.h (__gcov_exit): Declare.
1216 2016-09-27  Martin Liska  <mliska@suse.cz>
1218         PR bootstrap/77749
1219         * Makefile.in: Remove _gcov_merge_delta.
1220         * libgcov-merge.c (void __gcov_merge_delta): Remove.
1221         * libgcov-util.c (__gcov_delta_counter_op): Remove.
1222         * libgcov.h: Remove declaration of __gcov_merge_delta.
1224 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
1226         * configure.ac: Do not create links, only substitute the filenames.
1227         * configure: Regenerate.
1228         * Makefile.in: Assign the substitution results to variables.
1229         (LIBGCC_LINKS): Define.
1230         (enable-execute-stack.c): New rule.
1231         (unwind.h): Likewise.
1232         (md-unwind-support.h): Likewise.
1233         (sfp-machine.h): Likewise.
1234         (gthr-default.h): Likewise.
1235         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1236         unwind.h as prerequisite of install-unwind_h-forbuild.
1238 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
1240         PR libgcc/71744
1241         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1242         is not the primary registry and atomics are available.
1243         (any_objects_registered): New variable.
1244         (__register_frame_info_bases, __register_frame_info_table_bases):
1245         Atomically store 1 to any_objects_registered after registering first
1246         unwind info.
1247         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1249 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
1251         PR target/63250
1252         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1253         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1254         (HFtype): Likewise.
1255         (HCtype): Likewise.
1256         (__divhc3): Likewise.
1257         (__mulhc3): Likewise.
1258         * libgcc2.c: Support _mulhc3 and _divhc3.
1260 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
1262         PR libgcc/77519
1263         * libgcc2.c (NOTRUNC): Invert settings.
1265 2016-09-06  Martin Liska  <mliska@suse.cz>
1267         PR gcov-profile/77378
1268         PR gcov-profile/77466
1269         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1270         conditionaly enable/disable *_atomic functions.
1272 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
1274         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1275         where not already enabled.
1277 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1279         * config/mips/linux-unwind.h: Use sys/syscall.h.
1281 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
1283         PR libgcc/77265
1284         * soft-fp/adddf3.c: Update from glibc.
1285         * soft-fp/addsf3.c: Likewise.
1286         * soft-fp/addtf3.c: Likewise.
1287         * soft-fp/divdf3.c: Likewise.
1288         * soft-fp/divsf3.c: Likewise.
1289         * soft-fp/divtf3.c: Likewise.
1290         * soft-fp/double.h: Likewise.
1291         * soft-fp/eqdf2.c: Likewise.
1292         * soft-fp/eqsf2.c: Likewise.
1293         * soft-fp/eqtf2.c: Likewise.
1294         * soft-fp/extenddftf2.c: Likewise.
1295         * soft-fp/extended.h: Likewise.
1296         * soft-fp/extendsfdf2.c: Likewise.
1297         * soft-fp/extendsftf2.c: Likewise.
1298         * soft-fp/extendxftf2.c: Likewise.
1299         * soft-fp/fixdfdi.c: Likewise.
1300         * soft-fp/fixdfsi.c: Likewise.
1301         * soft-fp/fixdfti.c: Likewise.
1302         * soft-fp/fixsfdi.c: Likewise.
1303         * soft-fp/fixsfsi.c: Likewise.
1304         * soft-fp/fixsfti.c: Likewise.
1305         * soft-fp/fixtfdi.c: Likewise.
1306         * soft-fp/fixtfsi.c: Likewise.
1307         * soft-fp/fixtfti.c: Likewise.
1308         * soft-fp/fixunsdfdi.c: Likewise.
1309         * soft-fp/fixunsdfsi.c: Likewise.
1310         * soft-fp/fixunsdfti.c: Likewise.
1311         * soft-fp/fixunssfdi.c: Likewise.
1312         * soft-fp/fixunssfsi.c: Likewise.
1313         * soft-fp/fixunssfti.c: Likewise.
1314         * soft-fp/fixunstfdi.c: Likewise.
1315         * soft-fp/fixunstfsi.c: Likewise.
1316         * soft-fp/fixunstfti.c: Likewise.
1317         * soft-fp/floatdidf.c: Likewise.
1318         * soft-fp/floatdisf.c: Likewise.
1319         * soft-fp/floatditf.c: Likewise.
1320         * soft-fp/floatsidf.c: Likewise.
1321         * soft-fp/floatsisf.c: Likewise.
1322         * soft-fp/floatsitf.c: Likewise.
1323         * soft-fp/floattidf.c: Likewise.
1324         * soft-fp/floattisf.c: Likewise.
1325         * soft-fp/floattitf.c: Likewise.
1326         * soft-fp/floatundidf.c: Likewise.
1327         * soft-fp/floatundisf.c: Likewise.
1328         * soft-fp/floatunditf.c: Likewise.
1329         * soft-fp/floatunsidf.c: Likewise.
1330         * soft-fp/floatunsisf.c: Likewise.
1331         * soft-fp/floatunsitf.c: Likewise.
1332         * soft-fp/floatuntidf.c: Likewise.
1333         * soft-fp/floatuntisf.c: Likewise.
1334         * soft-fp/floatuntitf.c: Likewise.
1335         * soft-fp/gedf2.c: Likewise.
1336         * soft-fp/gesf2.c: Likewise.
1337         * soft-fp/getf2.c: Likewise.
1338         * soft-fp/ledf2.c: Likewise.
1339         * soft-fp/lesf2.c: Likewise.
1340         * soft-fp/letf2.c: Likewise.
1341         * soft-fp/muldf3.c: Likewise.
1342         * soft-fp/mulsf3.c: Likewise.
1343         * soft-fp/multf3.c: Likewise.
1344         * soft-fp/negdf2.c: Likewise.
1345         * soft-fp/negsf2.c: Likewise.
1346         * soft-fp/negtf2.c: Likewise.
1347         * soft-fp/op-1.h: Likewise.
1348         * soft-fp/op-2.h: Likewise.
1349         * soft-fp/op-4.h: Likewise.
1350         * soft-fp/op-8.h: Likewise.
1351         * soft-fp/op-common.h: Likewise.
1352         * soft-fp/quad.h: Likewise.
1353         * soft-fp/single.h: Likewise.
1354         * soft-fp/soft-fp.h: Likewise.
1355         * soft-fp/subdf3.c: Likewise.
1356         * soft-fp/subsf3.c: Likewise.
1357         * soft-fp/subtf3.c: Likewise.
1358         * soft-fp/truncdfsf2.c: Likewise.
1359         * soft-fp/trunctfdf2.c: Likewise.
1360         * soft-fp/trunctfsf2.c: Likewise.
1361         * soft-fp/trunctfxf2.c: Likewise.
1362         * soft-fp/unorddf2.c: Likewise.
1363         * soft-fp/unordsf2.c: Likewise.
1364         * soft-fp/unordtf2.c: Likewise.
1366 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
1368         PR gcov-profile/67097
1369         * libgcov-util.c (gcov_profile_merge): Skip missing files.
1371 2016-08-10  Martin Liska  <mliska@suse.cz>
1373         PR gcov-profile/58306
1374         * Makefile.in: New functions (modules) are added.
1375         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1376         function.
1377         (__gcov_pow2_profiler_atomic): New function.
1378         (__gcov_one_value_profiler_body): New argument is instroduced.
1379         (__gcov_one_value_profiler): Call with the new argument.
1380         (__gcov_one_value_profiler_atomic): Likewise.
1381         (__gcov_indirect_call_profiler_v2): Likewise.
1382         (__gcov_time_profiler_atomic): New function.
1383         (__gcov_average_profiler_atomic): Likewise.
1384         (__gcov_ior_profiler_atomic): Likewise.
1385         * libgcov.h: Declare the aforementioned functions.
1387 2016-08-09  Martin Liska  <mliska@suse.cz>
1389         * libgcov-util.c: Fix typo and GNU coding style.
1391 2016-08-09  Martin Liska  <mliska@suse.cz>
1393         * Makefile.in: Remove __gcov_indirect_call_profiler.
1394         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1395         function.
1396         * libgcov.h: And the declaration of the function.
1398 2016-08-09  Martin Liska  <mliska@suse.cz>
1400         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1401         power of two.
1403 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1405         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1406         * config/rs6000/_mulkc3.c: Likewise.
1408 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
1410         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1411         zero_reg as previous call to __umulhisi3 already cleared it.
1413 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
1415         PR target/59833
1416         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1418 2016-07-19  Nick Clifton  <nickc@redhat.com>
1420         * config.host (m32r): Add m32r/t-m32r to tmake_file.
1421         Add crtinit.o and crtfini.o to extra_parts.
1423 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1425         * config/rs6000/_divkc3.c: New.
1426         * config/rs6000/_mulkc3.c: New.
1427         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1428         and _divkc3.
1429         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1430         fp128_ppc_funcs.
1432 2016-07-11  Hale Wang  <hale.wang@arm.com>
1433             Andre Vieira  <andre.simoesdiasvieira@arm.com>
1435         * config/arm/lib1funcs.S: Add new wrapper.
1437 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1439         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1441 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1443         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1444         and ARMv5t* rather than for a fixed list of architectures.
1446 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1448         * config/arm/bpabi-v6m.S: Clarify what architectures is the
1449         implementation suitable for.
1450         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1451         for all Thumb-1 only targets.
1452         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1453         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1454         __ARM_ARCH_6M__.
1455         (EQUIV): Likewise.
1456         (ARM_FUNC_ALIAS): Likewise.
1457         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1458         version.
1459         (modsi3): Likewise.
1460         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1461         (clzdi2): Likewise.
1462         (ctzsi2): Likewise.
1463         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1464         __ARM_ARCH_6M__ in guard for checking whether it is defined.
1465         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1466         __ARM_ARCH_6M__ and add comment to indicate the connection between
1467         this condition and the one in gcc/config/arm/elf.h.
1468         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1469         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1470         * config/arm/t-softfp: Likewise.
1472 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1474         * libgcc2.c (SYMBOL__MAIN): Remove checks for
1475         CTOR_LISTS_DEFINED_EXTERNALLY.
1477 2016-06-28  Walter Lee  <walt@tilera.com>
1479         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
1480         asm/unistd.h.
1481         (SPR_CMPEXCH_VALUE): Define for tilegx.
1482         (__NR_FAST_cmpxchg): Define for tilepro.
1483         (__NR_FAST_atomic_update): Define for tilepro.
1484         (__NR_FAST_cmpxchg64): Define for tilepro.
1486 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
1488         * config.host: Add suport for arm*-*-phoenix* targets.
1490 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1492         * config.host: Remove support for mep-*.
1493         * config/mep/lib1funcs.S: Remove.
1494         * config/mep/lib2funcs.c: Remove.
1495         * config/mep/t-mep: Remove.
1496         * config/mep/tramp.c: Remove.
1498 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1500         * config.host: Remove support for avr-rtems.
1501         * config/avr/t-rtems: Remove.
1503 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1505         * config.host: Remove m32r-rtems support.
1507 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1509         * config.host: Remove h8300-rtems support.
1511 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1513         * config.host: Remove support for knetbsd.
1515 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1517         * config.host: Remove support for openbsd 2 and 3.
1519 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1521         * config.host: Remove interix support.
1522         * config/i386/t-interix: Remove.
1524 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
1526         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
1527         least-significant bit in function pointer for fixup.
1529 2016-06-05  Aaron Conole  <aconole@redhat.com>
1530             Nathan Sidwell  <nathan@acm.org>
1532         PR libgcc/71400
1533         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
1534         (get_gcov_error_file): Check __gcov_error_file before trying to
1535         initialize it.
1536         (gcov_error): Always use get_gcov_error_file.
1538 2016-06-02  Aaron Conole  <aconole@redhat.com>
1540         * libgcov-driver-system.c (__gcov_error_file): New.
1541         (get_gcov_error_file): New.
1542         (gcov_error): Use and set __gcov_error_file.
1543         (gcov_error_exit): New.
1544         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
1546 2016-05-26  Nathan Sidwell  <nathan@acm.org>
1548         * config/nvptx/free.asm: Delete.
1549         * config/nvptx/malloc.asm: Delete.
1550         * config/nvptx/realloc.c: Delete.
1551         * t-nvptx: Update.
1553 2016-05-25  Nathan Sidwell  <nathan@acm.org>
1555         * config/nvptx/crt0.s: Delete.
1556         * config/nvptx/crt0.c: New.
1557         * t-nvptx: Update.
1559 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
1561         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
1562         dw2/seh configuration.
1563         [x86_64-*-mingw*]: Likewise.
1565 2016-05-10  Joel Sherrill <joel@rtems.org>
1567         PR libgcc/70720
1568         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
1569         targets so the same extra_parts are built.  Also have tmake_file add
1570         on to its value rather than override.
1572 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
1574         * config.host: Remove SH5 support.
1575         * configure: Likewise.
1577 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
1579         * config/sh/crt1.S: Remove SH5 support.
1580         * config/sh/crti.S: Likewise.
1581         * config/sh/crtn.S: Likewise.
1582         * config/sh/lib1funcs-4-300.S: Likewise.
1583         * config/sh/lib1funcs-Os-4-200.S: Likewise.
1584         * config/sh/lib1funcs.S: Likewise.
1585         * config/sh/linux-unwind.h: Likewise.
1586         * config/sh/t-sh64: Delete.
1588 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
1590         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
1592 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
1593             Joern Rennecke  <joern.rennecke@embecosm.com>
1595         * config/arc/crttls.S: New file.
1596         * config/arc/t-arc: New rule.
1597         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
1599 2016-04-25  Nick Clifton  <nickc@redhat.com>
1601         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
1602         (__mspabi_cmpd): Likewise.
1603         * config/msp430/floathidf.c (__floathidf): Likewise.
1604         * config/msp430/floathisf.c (__floathisf): Likewise
1605         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
1606         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
1607         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
1608         second parameter.
1609         (__ashrsi3): Likewise.
1611 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
1613         * config/m68k/linux-atomic.c: Do not include unistd.h
1615 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
1617         * config/arm/ieee754-df.S: Fix typos in comments.
1619 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
1621         PR target/70381
1622         * configure.ac (powerpc*-*-linux*): Rework tests to build
1623         __float128 emulation routines to not depend on using #pragma GCC
1624         target to enable -mfloat128.
1625         * configure: Regnerate.
1627 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
1629         PR target/67172
1630         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
1631         __MINGW32__ is defined.
1633 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
1635         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
1637 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
1639         PR libgcc/70363
1640         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
1641         built with an assembler that does not support ISA 3.0
1642         instructions, rename __extendkftf2_sw to __extendkftf2.
1644 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1646         PR target/38239
1647         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
1648         call-clobbered registers.
1649         (internal_mcount): Remove __i386__ handling.
1651 2016-02-26  Joel Sherrill <joel@rtems.org>
1653         * config.host: Add x86_64-*-rtems*.
1655 2016-02-26  Joel Sherrill <joel@rtems.org>
1657         * libgcc/config.host: Add aarch64-*-rtems*.
1659 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1660             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1662         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
1663         union of u64 and double.
1664         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
1665         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
1666         value.
1667         (FP_ROUNDMODE): Update the usage of _fpscr.
1669 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
1671         PR driver/68463
1672         * Makefile.in (crtoffloadtable$(objext)): New rule.
1673         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
1674         enable_offload_targets is not empty.
1675         * configure: Regenerate.
1676         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
1677         crtoffloadtable.
1679 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
1681         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
1682         .literal_position before the function.
1683         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
1684         Likewise.
1686 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
1688         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
1689         * config/s390/morestack.S: New file.
1690         * config/s390/t-stack-s390: New file.
1691         * generic-morestack.c (__splitstack_find): Add s390-specific code.
1693 2016-02-12  Walter Lee  <walt@tilera.com>
1695         * config.host (tilegx*-*-linux*): remove ti from
1696         softfp_int_modes for 32-bit configs.
1698 2016-02-10  Ian Lance Taylor  <iant@google.com>
1700         PR go/68562
1701         * config/i386/morestack.S (__stack_split_initialize): Align
1702         stack.
1704 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
1706         PR bootstrap/69611
1707         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
1708         __FLOAT128__ to compile only for __float128 capable targets.
1710 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
1712         PR target/69444
1713         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
1714         instead of ___NO_FPRS__.
1716 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
1717             Steven Munroe  <munroesj@linux.vnet.ibm.com>
1718             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
1720         * config/rs6000/float128-sed: New files to convert TF names to KF
1721         names for PowerPC IEEE 128-bit floating point support.
1722         * config/rs6000/float128-sed-hw: Likewise.
1724         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1725         floating point hardware support.
1727         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1728         128-bit floating point software emulation or use ISA 3.0 hardware
1729         support if it is available.
1731         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1732         floating point.
1734         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
1735         floating point to IBM extended double.
1737         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
1738         double to IEEE 128-bit floating point.
1740         * config/rs6000/t-float128: New Makefile fragments to enable
1741         building __float128 emulation support.
1742         * config/rs6000/t-float128-hw: Likewise.
1744         * config/rs6000/sfp-exceptions.c: New file to provide exception
1745         support for IEEE 128-bit floating point.
1747         * config/rs6000/floattikf.c: New files for converting between IEEE
1748         128-bit floating point and signed/unsigned 128-bit integers.
1749         * config/rs6000/fixunskfti.c: Likewise.
1750         * config/rs6000/fixkfti.c: Likewise.
1751         * config/rs6000/floatuntikf.c: Likewise.
1753         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1754         when building on 64-bit systems, or when VSX is enabled.
1755         (_FP_W_TYPE): Likewise.
1756         (_FP_WS_TYPE): Likewise.
1757         (_FP_I_TYPE): Likewise.
1758         (TItype): Define on 64-bit systems.
1759         (UTItype): Likewise.
1760         (TI_BITS): Likewise.
1761         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1762         (_FP_MUL_MEAT_Q): Likewise.
1763         (_FP_DIV_MEAT_D): Likewise.
1764         (_FP_DIV_MEAT_Q): Likewise.
1765         (_FP_NANFRAC_D): Likewise.
1766         (_FP_NANFRAC_Q): Likewise.
1767         (ISA_BIT): Add exception support if we are being compiled on a
1768         machine with hardware floating point support to build the IEEE
1769         128-bit emulation functions.
1770         (FP_EX_INVALID): Likewise.
1771         (FP_EX_OVERFLOW): Likewise.
1772         (FP_EX_UNDERFLOW): Likewise.
1773         (FP_EX_DIVZERO): Likewise.
1774         (FP_EX_INEXACT): Likewise.
1775         (FP_EX_ALL): Likewise.
1776         (__sfp_handle_exceptions): Likewise.
1777         (FP_HANDLE_EXCEPTIONS): Likewise.
1778         (FP_RND_NEAREST): Likewise.
1779         (FP_RND_ZERO): Likewise.
1780         (FP_RND_PINF): Likewise.
1781         (FP_RND_MINF): Likewise.
1782         (FP_RND_MASK): Likewise.
1783         (_FP_DECL_EX): Likewise.
1784         (FP_INIT_ROUNDMODE): Likewise.
1785         (FP_ROUNDMODE): Likewise.
1787         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1788         VSX code, enable IEEE 128-bit floating point.  If the compiler can
1789         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
1790         floating point hardware instructions and it supports declaring
1791         functions with the ifunc attribute, enable ifunc functions to
1792         switch between software and hardware support.
1793         * configure.ac (powerpc*-*-linux*): Likewise.
1794         * configure: Regenerate.
1796 2016-01-15  Nick Clifton  <nickc@redhat.com>
1798         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
1799         dependency as the source file to be compiled.
1800         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
1801         (lib2hw_mul_f5.o): Likewise.
1803 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
1805         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
1806         * libgcc/config/rs6000/fixkfti.c: Likewise.
1807         * libgcc/config/rs6000/fixunskfti.c: Likewise.
1808         * libgcc/config/rs6000/float128-hw.c: Likewise.
1809         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
1810         * libgcc/config/rs6000/float128-sed: Likewise.
1811         * libgcc/config/rs6000/floattikf.c: Likewise.
1812         * libgcc/config/rs6000/floatuntikf.c: Likewise.
1813         * libgcc/config/rs6000/quad-float128.h: Likewise.
1814         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
1815         * libgcc/config/rs6000/sfp-machine.h: Likewise.
1816         * libgcc/config/rs6000/t-float128: Likewise.
1817         * libgcc/config/rs6000/t-float128-hw: Likewise.
1818         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
1819         * libgcc/config.host: Likewise.
1820         * libgcc/configure: Likewise.
1821         * libgcc/configure.ac: Likewise.
1823 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
1824             Steven Munroe  <munroesj@linux.vnet.ibm.com>
1825             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
1827         * config/rs6000/sfp-exceptions.c: New file to provide exception
1828         support for IEEE 128-bit floating point.
1830         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1831         floating point hardware support.
1833         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
1834         point conversions.
1835         * config/rs6000/fixunskfti.c: Likewise.
1836         * config/rs6000/fixkfti.c: Likewise.
1837         * config/rs6000/floatuntikf.c: Likewise.
1838         * config/rs6000/extendkftf2-sw.c: Likewise.
1839         * config/rs6000/trunctfkf2-sw.c: Likewise.
1841         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1842         128-bit floating point software emulation or use ISA 3.0 hardware
1843         support if it is available.
1845         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1846         floating point.
1848         * config/rs6000/t-float128: New Makefile fragments to enable
1849         building __float128 emulation support.
1850         * config/rs6000/t-float128-hw: Likewise.
1852         * config/rs6000/float128-sed: New file to convert TF names to KF
1853         names for PowerPC IEEE 128-bit floating point support.
1855         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1856         when building on 64-bit systems, or when VSX is enabled.
1857         (_FP_W_TYPE): Likewise.
1858         (_FP_WS_TYPE): Likewise.
1859         (_FP_I_TYPE): Likewise.
1860         (TItype): Define on 64-bit systems.
1861         (UTItype): Likewise.
1862         (TI_BITS): Likewise.
1863         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1864         (_FP_MUL_MEAT_Q): Likewise.
1865         (_FP_DIV_MEAT_D): Likewise.
1866         (_FP_DIV_MEAT_Q): Likewise.
1867         (_FP_NANFRAC_D): Likewise.
1868         (_FP_NANFRAC_Q): Likewise.
1869         (ISA_BIT): Add exception support if we are being compiled on a
1870         machine with hardware floating point support to build the IEEE
1871         128-bit emulation functions.
1872         (FP_EX_INVALID): Likewise.
1873         (FP_EX_OVERFLOW): Likewise.
1874         (FP_EX_UNDERFLOW): Likewise.
1875         (FP_EX_DIVZERO): Likewise.
1876         (FP_EX_INEXACT): Likewise.
1877         (FP_EX_ALL): Likewise.
1878         (__sfp_handle_exceptions): Likewise.
1879         (FP_HANDLE_EXCEPTIONS): Likewise.
1880         (FP_RND_NEAREST): Likewise.
1881         (FP_RND_ZERO): Likewise.
1882         (FP_RND_PINF): Likewise.
1883         (FP_RND_MINF): Likewise.
1884         (FP_RND_MASK): Likewise.
1885         (_FP_DECL_EX): Likewise.
1886         (FP_INIT_ROUNDMODE): Likewise.
1887         (FP_ROUNDMODE): Likewise.
1889         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
1890         compiler can do __float128.
1891         * configure: Regenerate.
1893         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1894         VSX code, enable IEEE 128-bit floating point.
1896 2016-01-05  Olivier Hainque  <hainque@adacore.com>
1898         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
1899         specificities.
1901 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
1903         Update copyright years.
1905 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
1907         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
1908         soft-fp targets.
1910 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1912         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
1913         instead of abort to avoid dependency on stdlib.h.
1915 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
1917         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
1918         to initialize call to __dl_fixup once.
1920 2015-12-04  Nick Clifton  <nickc@redhat.com>
1922         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
1923         Allow for the second argument being negative.
1924         * config.host (extra_parts): Define for MSP430.  Create separate
1925         libraries for each of the hardware multiply formats.
1926         * config/msp430/lib2hw_mul.S: Build only the multiply routines
1927         that are needed.
1928         * config/msp430/lib2mul.c: Likewise.
1929         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
1930         Add rules to build hardware multiply libraries.
1931         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
1932         __mspabi_divul function.
1933         (__mspabi_divllu): New stub function.
1935 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
1937         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
1938         fixup values if saved GOT address doesn't match runtime address.
1939         (fixup_branch_offset): Reorder list.
1941 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1943         * Makefile.in (VTV_CFLAGS): New variable.
1944         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
1945         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
1946         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1947         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
1948         to extra_parts if $enable_vtable_verify = yes.
1950 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1952         PR target/68059
1953         * config/arm/linux-atomic-64bit.c (__write): Rename to...
1954         (write): ...this and fix the return type.
1956 2015-11-19  DJ Delorie  <dj@redhat.com>
1958         * config/msp430/lib2hw_mul.S: Fix alignment.
1960 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
1962         * config/nvptx/reduction.c: New.
1963         * config/nvptx/t-nvptx (LIB2ADD): Add it.
1965 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
1967         * config/rs6000/on_exit.c: New file.
1968         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
1969         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
1971 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
1973         * config/arc/dp-hack.h: Add support for ARCHS.
1974         * config/arc/ieee-754/divdf3.S: Likewise.
1975         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
1976         * config/arc/ieee-754/muldf3.S: Likewise.
1977         * config/arc/ieee-754/mulsf3.S: Likewise
1978         * config/arc/lib1funcs.S: Likewise
1979         * config/arc/gmon/dcache_linesz.S: Don't read the build register
1980         for ARCv2 cores.
1981         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
1982         for ARCv2 cores.
1983         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
1984         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
1985         cores.
1987 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1989         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
1990         value.
1991         * config/ia64/crtend.S: Likewise.
1993 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1995         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
1996         __CHAR_BIT__ instead of BITS_PER_UNIT.
1997         * fixed-bit.h: Likewise.
1998         * fp-bit.h: Likewise.
1999         * libgcc2.c (__popcountSI2): Likewise.
2000         (__popcountDI2): Likewise.
2001         * libgcc2.h: Likewise.
2002         * libgcov.h: Likewise.
2004 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
2006         * config/rs6000/atexit.c: New file.
2007         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2008         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2009         * config/rs6000/cxa_finalize.c
2010         (catomic_compare_and_exchange_bool_acq): Negate return value.
2012 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
2014         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2015         (processor_subtypes): Add znver1.
2016         (get_amd_cpu): Detect znver1.
2018 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
2020         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2021         Include crtfastmath.o.
2023 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
2025         PR libgcc/66883
2026         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
2028 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
2030         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2031         * config/rl78/divmodsi.S: Update return register to r8.
2032         * config/rl78/divmodhi.S: Update return register to r8,r9.
2033         Branch to main_loop_done_himode to pop registers before return.
2035 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
2037         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2038         (__cpu_indicator_init): Fix model selection for AMD CPUs.
2040 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
2042         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2044 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
2046         * config.host (xtensa*-*-uclinux*): New configuration.
2048 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
2050         * config/i386/cpuinfo.c (processor_features): Add
2051         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2053 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
2055         * soft-fp/adddf3.c: Update from glibc.
2056         * soft-fp/addsf3.c: Likewise.
2057         * soft-fp/addtf3.c: Likewise.
2058         * soft-fp/divdf3.c: Likewise.
2059         * soft-fp/divsf3.c: Likewise.
2060         * soft-fp/divtf3.c: Likewise.
2061         * soft-fp/double.h: Likewise.
2062         * soft-fp/eqdf2.c: Likewise.
2063         * soft-fp/eqsf2.c: Likewise.
2064         * soft-fp/eqtf2.c: Likewise.
2065         * soft-fp/extenddftf2.c: Likewise.
2066         * soft-fp/extended.h: Likewise.
2067         * soft-fp/extendsfdf2.c: Likewise.
2068         * soft-fp/extendsftf2.c: Likewise.
2069         * soft-fp/extendxftf2.c: Likewise.
2070         * soft-fp/fixdfdi.c: Likewise.
2071         * soft-fp/fixdfsi.c: Likewise.
2072         * soft-fp/fixdfti.c: Likewise.
2073         * soft-fp/fixsfdi.c: Likewise.
2074         * soft-fp/fixsfsi.c: Likewise.
2075         * soft-fp/fixsfti.c: Likewise.
2076         * soft-fp/fixtfdi.c: Likewise.
2077         * soft-fp/fixtfsi.c: Likewise.
2078         * soft-fp/fixtfti.c: Likewise.
2079         * soft-fp/fixunsdfdi.c: Likewise.
2080         * soft-fp/fixunsdfsi.c: Likewise.
2081         * soft-fp/fixunsdfti.c: Likewise.
2082         * soft-fp/fixunssfdi.c: Likewise.
2083         * soft-fp/fixunssfsi.c: Likewise.
2084         * soft-fp/fixunssfti.c: Likewise.
2085         * soft-fp/fixunstfdi.c: Likewise.
2086         * soft-fp/fixunstfsi.c: Likewise.
2087         * soft-fp/fixunstfti.c: Likewise.
2088         * soft-fp/floatdidf.c: Likewise.
2089         * soft-fp/floatdisf.c: Likewise.
2090         * soft-fp/floatditf.c: Likewise.
2091         * soft-fp/floatsidf.c: Likewise.
2092         * soft-fp/floatsisf.c: Likewise.
2093         * soft-fp/floatsitf.c: Likewise.
2094         * soft-fp/floattidf.c: Likewise.
2095         * soft-fp/floattisf.c: Likewise.
2096         * soft-fp/floattitf.c: Likewise.
2097         * soft-fp/floatundidf.c: Likewise.
2098         * soft-fp/floatundisf.c: Likewise.
2099         * soft-fp/floatunditf.c: Likewise.
2100         * soft-fp/floatunsidf.c: Likewise.
2101         * soft-fp/floatunsisf.c: Likewise.
2102         * soft-fp/floatunsitf.c: Likewise.
2103         * soft-fp/floatuntidf.c: Likewise.
2104         * soft-fp/floatuntisf.c: Likewise.
2105         * soft-fp/floatuntitf.c: Likewise.
2106         * soft-fp/gedf2.c: Likewise.
2107         * soft-fp/gesf2.c: Likewise.
2108         * soft-fp/getf2.c: Likewise.
2109         * soft-fp/ledf2.c: Likewise.
2110         * soft-fp/lesf2.c: Likewise.
2111         * soft-fp/letf2.c: Likewise.
2112         * soft-fp/muldf3.c: Likewise.
2113         * soft-fp/mulsf3.c: Likewise.
2114         * soft-fp/multf3.c: Likewise.
2115         * soft-fp/negdf2.c: Likewise.
2116         * soft-fp/negsf2.c: Likewise.
2117         * soft-fp/negtf2.c: Likewise.
2118         * soft-fp/op-1.h: Likewise.
2119         * soft-fp/op-2.h: Likewise.
2120         * soft-fp/op-4.h: Likewise.
2121         * soft-fp/op-8.h: Likewise.
2122         * soft-fp/op-common.h: Likewise.
2123         * soft-fp/quad.h: Likewise.
2124         * soft-fp/single.h: Likewise.
2125         * soft-fp/soft-fp.h: Likewise.
2126         * soft-fp/subdf3.c: Likewise.
2127         * soft-fp/subsf3.c: Likewise.
2128         * soft-fp/subtf3.c: Likewise.
2129         * soft-fp/truncdfsf2.c: Likewise.
2130         * soft-fp/trunctfdf2.c: Likewise.
2131         * soft-fp/trunctfsf2.c: Likewise.
2132         * soft-fp/trunctfxf2.c: Likewise.
2133         * soft-fp/unorddf2.c: Likewise.
2134         * soft-fp/unordsf2.c: Likewise.
2135         * soft-fp/unordtf2.c: Likewise.
2137 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
2139         PR libgcc/67624
2140         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2142 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2144         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2145         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2146         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2147         messages.
2148         (internal_mcount): Likewise.
2149         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2150         crt_compile, add CRTSTUFF_T_CFLAGS_S.
2152 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2154         * configure.ac (libgcc_cv_solaris_crts): New test.
2155         * configure: Regenerate.
2156         * config.in: Regenerate.
2157         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2158         * config/gmon-sol2.c: Rename to ...
2159         * config/sol2/gmon.c: ... this.
2160         Include auto-target.h.
2161         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2162         * config/t-sol2: Rename to ...
2163         * config/sol2/t-sol2: ... this.
2164         (gmon.o): Reflect renaming.
2165         (crtp.o, crtpg.o): New rules.
2166         * config.host (*-*-solaris2*): Reflect renaming.
2167         Use system CRTs if present.
2168         Remove default CRT case.
2170 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
2172         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2173         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2174         __kernel_cmpxchg2.
2175         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2176         (__sync_val_compare_and_swap_##WIDTH): Likewise.
2177         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2178         (__sync_lock_test_and_set_##WIDTH): Likewise.
2179         (__sync_lock_release_##WIDTH): Likewise.
2180         (__sync_fetch_and_##OP##_4): Change result to match type of
2181         __kernel_cmpxchg.
2182         (__sync_##OP##_and_fetch_4): Likewise.
2183         (__sync_val_compare_and_swap_4): Likewise.
2184         (__sync_bool_compare_and_swap_4): likewise.
2185         (__sync_lock_test_and_set_4): Likewise.
2186         (__sync_lock_release_4): Likewise.
2187         (FETCH_AND_OP_2): Add long long variants.
2188         (OP_AND_FETCH_2): Likewise.
2189         (COMPARE_AND_SWAP_2 ): Likewise.
2190         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2191         (SYNC_LOCK_RELEASE_2): Likewise.
2192         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2194 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
2196         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2197         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2198         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2199         (get_available_features): Habdle new features.
2201 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
2203         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2204         memory layout. Deal correctly with BSS region larger than 32K.
2205         Handle a watchdog reset like a power-on reset. Clean up unused
2206         code.
2208 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
2209             David Edelsohn  <dje.gcc@gmail.com>
2211         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2212         * config/rs6000/crtdbase.S: New file.
2213         * config/rs6000/t-aix-cxa: Build crtdbase.o.
2215 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
2217         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2218         Add support for call0 ABI.
2220 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
2222         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2224 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2226         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2227         (__GTHREAD_HAS_COND): Likewise.
2228         (__gthread_t): Likewise.
2229         (__gthread_cond_t): Likewise.
2230         (__gthread_time_t): Likewise.
2231         (__GTHREAD_MUTEX_INIT): Likewise.
2232         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2233         (__GTHREAD_COND_INIT): Likewise.
2234         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2235         (__GTHREAD_TIME_INIT): Likewise.
2236         (__gthread_create): Likewise.
2237         (__gthread_join): Likewise.
2238         (__gthread_detach): Likewise.
2239         (__gthread_equal): Likewise.
2240         (__gthread_self): Likewise.
2241         (__gthread_yield): Likewise.
2242         (__gthread_cond_broadcast): Likewise.
2243         (__gthread_cond_signal): Likewise.
2244         (__gthread_cond_wait): Likewise.
2245         (__gthread_cond_timedwait): Likewise.
2246         (__gthread_cond_wait_recursive): Likewise.
2247         (__gthread_cond_destroy): Likewise.
2248         (rtems_gxx_once): Delete.
2249         (rtems_gxx_key_create): Likewise.
2250         (rtems_gxx_key_delete): Likewise.
2251         (rtems_gxx_getspecific): Likewise.
2252         (rtems_gxx_setspecific): Likewise.
2253         (rtems_gxx_mutex_init): Likewise.
2254         (rtems_gxx_mutex_destroy): Likewise.
2255         (rtems_gxx_mutex_lock): Likewise.
2256         (rtems_gxx_mutex_trylock): Likewise.
2257         (rtems_gxx_mutex_unlock): Likewise.
2258         (rtems_gxx_recursive_mutex_init): Likewise.
2259         (rtems_gxx_recursive_mutex_lock): Likewise.
2260         (rtems_gxx_recursive_mutex_trylock): Likewise.
2261         (rtems_gxx_recursive_mutex_unlock): Likewise.
2262         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2263         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2264         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2265         (__gthread_once): Likewise.
2266         (__gthread_key_create): Likewise.
2267         (__gthread_key_delete): Likewise.
2268         (__gthread_getspecific): Likewise.
2269         (__gthread_setspecific): Likewise.
2270         (__gthread_key_t): Use <pthread.h> type.
2271         (__gthread_once_t): Likewise
2272         (__gthread_mutex_t): Use <sys/lock.h> type.
2273         (__gthread_recursive_mutex_t): Likewise
2274         (__gthread_mutex_lock): Use <sys/lock.h> function.
2275         (__gthread_mutex_trylock): Likewise.
2276         (__gthread_mutex_timedlock): Likewise.
2277         (__gthread_mutex_unlock): Likewise.
2278         (__gthread_mutex_destroy): Likewise.
2279         (__gthread_recursive_mutex_lock): Likewise.
2280         (__gthread_recursive_mutex_trylock): Likewise.
2281         (__gthread_recursive_mutex_timedlock): Likewise.
2282         (__gthread_recursive_mutex_unlock): Likewise.
2283         (__gthread_recursive_mutex_destroy): Likewise.
2285 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
2287         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2288         context->sp instead of context->cfa.
2290 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
2292         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2293         with unwind-dw2-fde-dip.
2295 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
2297         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2298         CALL12 followed by series of ENTRY to spill windowed registers.
2299         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2300         instead of making linux spill syscall.
2302 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
2304         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2305         (get_intel_cpu): Likewise.
2307 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
2309         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2310         (get_intel_cpu): Add Knights Landing support.
2312 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
2314         PR target/66954
2315         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2316         (get_available_features): Handle FEATURE_PCLMUL.
2318 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
2320         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2321         Broadwell.
2323 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
2325         PR target/66954
2326         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2327         (get_available_features): Handle FEATURE_AES.
2329 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
2331         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2332         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2334 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
2336         * offloadstuff.c: Constify host data.
2338 2015-07-17  Jan Beulich  <jbeulich@suse.com>
2340         * config/t-softfp: Split up "else ifneq".
2342 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
2343             Cesar Philippidis  <cesar@codesourcery.com>
2344             Chung-Lin Tang  <cltang@codesourcery.com>
2346         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2347         for __nios2_arch__ level.
2349 2015-07-13  John Marino  <gnugcc@marino.st>
2351         * config/i386/t-dragonfly: New.
2353 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
2355         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2356         better match light-weight syscall argument order.
2357         (__kernel_cmpxchg2): Likewise.
2358         Adjust callers.
2360 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
2362         * config.host: Support i[34567]86-*-elfiamcu target.
2363         * config/t-softfp-sfdftf: New file.
2364         * config/i386/32/t-iamcu: Likewise.
2365         * configure: Regenerated.
2367 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
2369         libgcc/config/arm/
2370         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2372 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
2374         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2376 2015-05-27  John Marino  <gnugcc@marino.st>
2378         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2379         md_unwind_header
2380         * config/i386/freebsd-unwind.h: New.
2382 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
2384         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2385         i386/t-crtfm to tmake_file.
2386         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2387         (set_fast_math): Use set_fast_math_sse for SSE targets.
2388         * config/i386/t-crtfm: Remove.
2390 2015-05-21  Alan Modra  <amodra@gmail.com>
2392         PR libgcc/66225
2393         * config/rs6000/morestack.S: Remove ".abiversion 1".
2395 2015-05-20  Alan Modra  <amodra@gmail.com>
2397         * config/rs6000/morestack.S: New.
2398         * config/rs6000/t-stack-rs6000: New.
2399         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2400         to tmake_file.
2401         * generic-morestack.c: Don't build for powerpc 32-bit.
2403 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
2405         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2406         Remove useless endif/ifneq ($(enable_shared),yes) pair.
2408 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
2410         * config.host: FT32 target added.
2411         * config/ft32/*: New files for FT32 target.
2413 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
2415         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2416         New macros.
2417         * config/arm/ieee754-df.S: Add CFI directives.
2418         * config/arm/ieee754-sf.S: Add CFI directives.
2420 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
2422         * configure.ac: Include config/sjlj.m4.
2423         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2424         * config.in: Regenerate.
2425         * configure: Likewise.
2426         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2428 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
2430         * libgcov-util.c: Add space between string literal and macro name.
2432 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
2433             Chris Jones  <chrisj@nvidia.com>
2434             Joshua Conner  <jconner@nvidia.com>
2436         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2437         (arm*-*-uclinux*): Likewise.
2438         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2439         * config/arm/crtfastmath.c: New file.
2441 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
2443         * Makefile.in (real_host_noncanonical): New variable.
2444         (libsubdir): Use it.
2445         * configure.ac (real_host_noncanonical): Compute.  Remove special
2446         case for intelmicemul.
2447         * configure: Regenerate.
2449 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
2451         * config/frv/elf-lib.h: New file.
2452         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2453         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2454         to tm_file.
2456 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
2458         * config/frv/frvbengin.c: Do not include defaults.h
2459         * config/frv/frvend.c: Ditto.
2461 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
2463         * config.host: Add h8300-*-linux
2464         * config/h8300/t-linux: New file.
2465         * config/h8300/lib1funs.s: Change symbol prefix.
2466         * config/h8300/sfp-machine.h: 64bit double support.
2468 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
2469             Szabolcs Nagy  <szabolcs.nagy@arm.com>
2471         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2472         Linux if target provides dl_iterate_phdr.
2474 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
2476         PR target/65612
2477         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2478         * config/i386/cpuinfo.c (__cpu_model): Initialize.
2479         (__cpu_indicator_init@GCC_4.8.0): New.
2480         (__cpu_model@GCC_4.8.0): Likewise.
2481         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
2482         -DUSE_ELF_SYMVER.
2484 2015-04-16  Nick Clifton  <nickc@redhat.com>
2486         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
2487         and __modhi3 functions.
2488         * config/rl78/divmodso.S: Add G14 and G13 versions of the
2489         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
2491 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
2493         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
2494         do-while loop as macro body to avoid warnings.
2496 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
2497             Iain Sandoe  <iain@codesourcery.com>
2499         PR target/65351
2500         * configure: Regenerate.
2502 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
2503             Iain Sandoe  <iain@codesourcery.com>
2505         PR target/65351
2506         * configure: Regenerate.
2508 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
2510         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
2512 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
2514         Implement call0 ABI for xtensa
2515         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
2516         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
2517         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
2518         use ret in call0 ABI.
2519         * config/xtensa/t-windowed: New file.
2520         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
2521         * libgcc/configure: Regenerated.
2522         * libgcc/configure.ac: Check if xtensa target is configured for
2523         windowed ABI and thus needs to use custom unwind code.
2525 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
2527         PR libgcc/64885
2528         * gthr-single.h: Use __unused__ attribute instead of unused.
2529         * config/gthr-vxworks.h: Likewise.
2530         * config/i386/gthr-win32.h: Likewise.
2532 2015-02-27  Kai Tietz  <ktietz@redhat.com>
2534         PR target/65038
2535         * config.in: Regenerated.
2536         * configure: Likewise.
2537         * configure.ac (AC_HEADER_STDC): Added explicit.
2538         (AC_CHECK_HEADERS): Check for default headers  plus
2539         for ftw.h header.
2540         * libgcov-util.c (gcov_read_profile_dir): Disable use
2541         of ftw-function, if header is not found.
2542         (ftw_read_file): Likewise.
2544 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
2546         PR target/65181
2547         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
2548         -Dinhibit_libc.
2550 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
2552         * config/arm/bpabi.S (test_div_by_zero): Make label names
2553         consistent between thumb2 and arm mode cases.  Separate the
2554         signed comparison on the high word of the numerator from the
2555         unsigned comparison on the low word.
2556         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
2557         signed comparison.
2559 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
2561         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
2562         and <string.h>.
2563         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
2565 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
2567         PR gcov-profile/61889
2568         * libgcov-driver-system.c: undefine clashing macro for mkdir.
2570 2015-02-02  Nick Clifton  <nickc@redhat.com>
2572         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
2573         rounding up the fraction.
2575 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
2577         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
2578         oldval and newval to const void *.  Fix typo.
2579         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
2580         (FETCH_AND_OP_WORD): Likewise.
2581         (OP_AND_FETCH_WORD): Likewise.
2582         (COMPARE_AND_SWAP_2): Likewise.
2583         (__sync_val_compare_and_swap_4): Likewise.
2584         (__sync_lock_test_and_set_4): Likewise.
2585         (SYNC_LOCK_RELEASE_2): Likewise.
2586         Remove support for long long atomic operations.
2588 2015-01-27  Caroline Tice  <cmtice@google.com>
2590         Committing VTV Cywin/Ming patch for Patrick Wollgast
2591         * Makefile.in: Move rules to build vtv_*.o out of the check
2592         for CUSTOM_CRTSTUFF.
2593         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
2594         i[34567]86-*-mingw*)
2595          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
2596         enable_vtable_verify.
2598 2015-01-27  Nick Clifton  <nickc@redhat.com>
2600         * config/rl78/cmpsi2.S: Use function start and end macros.
2601         (__gcc_bcmp): New function.
2602         * config/rl78/lshrsi3.S: Use function start and end macros.
2603         * config/rl78/mulsi3.S: Add support for G10.
2604         (__mulqi3): New function for G10.
2605         * config/rl78/signbit.S: Use function start and end macros.
2606         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
2607         fpmath-sf.S.
2608         (LIB2FUNCS_EXCLUDE): Define.
2609         (LIB2FUNCS_ST): Define.
2610         * config/rl78/trampoline.S: Use function start and end macros.
2611         * config/rl78/vregs.h (START_FUNC): New macro.
2612         (START_ANOTHER_FUNC): New macro.
2613         (END_FUNC): New macro.
2614         (END_ANOTHER_FUNC): New macro.
2615         * config/rl78/bit-count.S: New file.  Contains assembler
2616         implementations of the bit counting functions: ___clzhi2,
2617         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
2618         __paritysi2, __popcounthi2 and __popcountsi2.
2619         * config/rl78/fpbit-sf.S: New file.  Contains assembler
2620         implementationas of the math functions: __negsf2, __cmpsf2,
2621         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
2622         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
2623         * config/rl78/fpmath-sf.S: New file.  Contains assembler
2624         implementations of the math functions: __subsf3, __addsf3,
2625         __mulsf3 and __divsf3
2627 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2629         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
2630         Add i386/elf-lib.h to tm_file.
2631         * config/i386/elf-lib.h: Fix comment.
2632         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
2633         && __sun__ && __svr4__]: Remove workaround.
2635 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
2637         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
2638         FEATURE_BMI2.
2639         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
2641 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
2643         * config/i386/cpuinfo.c (processor_subtypes): Add
2644         INTEL_COREI7_BROADWELL.
2645         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
2646         model numbers.
2648 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
2650         * config/i386/elf-lib.h: New file.
2651         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
2652         Wrap definition in #ifdef __i386__.
2653         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2654         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
2655         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
2656         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
2657         to tm_file.
2659 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
2661         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
2662         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
2664 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
2666         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
2667         Update rt_sigframe format and address for current Nios II
2668         Linux conventions.
2670 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
2672         * config.host (arm*-*-freebsd*): Add new configuration for
2673         arm*-*-freebsd*.
2674         * config/arm/freebsd-atomic.c: New file.
2675         * config/arm/t-freebsd: Likewise.
2676         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
2677         'PC-relative indirect' OS's.
2679 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
2681         * config.host: Add Visium support.
2682         * config/visium: New directory.
2684 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
2686         Update copyright years.
2688 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
2690         * config.host: Support mipsisa32r6 and mipsisa64r6.
2691         * config/mips/mips16.S: Do not build for R6.
2693 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
2695         * config/sh/crt.h: New.
2696         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
2697         symbols.
2698         * config/sh/crt1.S: Likewise.
2700 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
2702         PR libgcc/63832
2703         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
2704         func_ptr *dtor_list temporary variable to avoid "array subscript
2705         is above array bounds" warnings.
2707 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
2709         * Makefile.in (with_aix_soname): Define.
2710         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
2711         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
2712         * configure: Recreate.
2714 2014-12-05  Olivier Hainque  <hainque@adacore.com>
2716         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
2717         now provided by defaults.h.
2719 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
2721         PR target/55351
2722         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
2723         whether it's defined.
2725 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
2727         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
2728         * config/i386/cpuinfo.c (get_available_features): Detect it.
2730 2014-11-27  Tony Wang  <tony.wang@arm.com>
2732         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
2733         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
2734         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
2736 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
2738         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
2740 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
2742         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
2743         instead.
2745 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
2746             John David Anglin  <danglin@gcc.gnu.org>
2748         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
2749         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
2750         (OP_AND_FETCH_2): Likewise.
2751         (COMPARE_AND_SWAP_2): Likewise.
2752         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2753         (SYNC_LOCK_RELEASE_2): Likewise.
2754         (SUBWORD_SYNC_OP): Remove.
2755         (SUBWORD_VAL_CAS): Likewise.
2756         (SUBWORD_BOOL_CAS): Likewise.
2757         (FETCH_AND_OP_WORD): Update.
2758         Consistently use signed types.
2760 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
2761             Thomas Schwinge  <thomas@codesourcery.com>
2762             Ilya Verbin  <ilya.verbin@intel.com>
2763             Andrey Turetskiy  <andrey.turetskiy@intel.com>
2765         * Makefile.in (crtoffloadbegin$(objext)): New rule.
2766         (crtoffloadend$(objext)): Likewise.
2767         * configure: Regenerate.
2768         * configure.ac (accel_dir_suffix): Compute new variable.
2769         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
2770         if enable_offload_targets is not empty.
2771         * offloadstuff.c: New file.
2773 2014-11-13  Nick Clifton  <nickc@redhat.com>
2775         * config/rl78/divmodhi.S: Add support for the G10 architecture.
2776         Use START_FUNC and END_FUNC macros to enable linker garbage
2777         collection.
2778         * config/rl78/divmodqi.S: Likewise.
2779         * config/rl78/divmodsi.S: Likewise.
2780         * config/rl78/mulsi3.S: Likewise.
2781         * config/rl78/lib2div.c: Remove G10 functions.
2782         * config/rl78/lib2muls.c: Likewise.
2783         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
2784         * config/rl78/vregs.h (START_FUNC): New macro.
2785         (END_FUNC): New macro.
2787 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
2789         * config/mips/mips16.S: Set .module when supported.  Update O32
2790         FP64 calling convention and use for FPXX when possible.  Add FPXX
2791         calling convention fallback case.
2793 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
2795         * config.host: Handle nvptx-*-*.
2796         * shared-object.mk (as-flags-$o): Define.
2797         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
2798         -xassembler-with-cpp.
2799         * static-object.mk: Identical changes.
2800         * config/nvptx/t-nvptx: New file.
2801         * config/nvptx/crt0.s: New file.
2802         * config/nvptx/free.asm: New file.
2803         * config/nvptx/malloc.asm: New file.
2804         * config/nvptx/realloc.c: New file.
2806 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
2808         * Makefile.in (libgcc.map.in): New target.
2809         (libgcc.map): Use libgcc.map.in.
2810         * config/t-softfp (softfp_compat): New variable to be set by
2811         users.
2812         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
2813         variables.
2814         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
2815         directory.
2816         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
2817         that use compat symbols and disable all code unless [SHARED].
2818         * config/t-softfp-compat: New file.
2819         * find-symver.awk: New file.
2820         * configure.ac (--with-glibc-version): New configure option.
2821         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
2822         * configure: Regenerate.
2823         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
2824         soft-float and e500.
2826 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
2828         * config/t-hardfp (hardfp_exclusions): Document new variable for
2829         user to define.
2830         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
2831         * config/t-softfp (softfp_extras): Document new variable for user
2832         to define.
2833         (softfp_func_list): Add functions from $(softfp_extras).
2834         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
2835         * config.host (powerpc*-*-linux*): For e500v1, use
2836         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
2837         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
2838         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
2840 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
2842         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
2843         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
2844         memory read accesses are ok.
2846 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
2848         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
2849         * configure: Regenerate.
2850         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
2851         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
2852         of soft-fp for 32-bit classic hard float.  Do not use
2853         t-softfp-excl for soft float.
2855 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
2857         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
2858         configurations.
2859         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
2860         Remove variables.
2862 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
2864         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
2865         introduced with 2014-10-21 trunk r216525.
2867 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
2868             Vidya Praveen  <vidya.praveen@atmel.com>
2869             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
2870             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
2871             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
2873         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
2874         order.
2876         Updated library functions for AVRTINY arch.
2877         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
2878         Replaced occurrences of r0/r1 with tmp/zero reg macros.
2879         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
2880         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
2881         wsubi/wadi macors.
2882         (__mulsi3_helper): Update stack, preserve callee saved regs and
2883         argument from stack. Restore callee save registers.
2884         (__mulpsi3): Likewise.
2885         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
2886         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
2887         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
2888         AVRTINY.
2889         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
2890         (__do_copy_data): Added new definition for AVRTINY.
2891         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
2892         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
2893         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
2894         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
2895         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
2896         macors.
2897         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
2898         AVRTINY.
2900         Fix broken long multiplication on tiny arch.
2902 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
2904         * soft-fp/double.h: Update from glibc.
2905         * soft-fp/eqdf2.c: Likewise.
2906         * soft-fp/eqsf2.c: Likewise.
2907         * soft-fp/eqtf2.c: Likewise.
2908         * soft-fp/extenddftf2.c: Likewise.
2909         * soft-fp/extended.h: Likewise.
2910         * soft-fp/extendsfdf2.c: Likewise.
2911         * soft-fp/extendsftf2.c: Likewise.
2912         * soft-fp/extendxftf2.c: Likewise.
2913         * soft-fp/gedf2.c: Likewise.
2914         * soft-fp/gesf2.c: Likewise.
2915         * soft-fp/getf2.c: Likewise.
2916         * soft-fp/ledf2.c: Likewise.
2917         * soft-fp/lesf2.c: Likewise.
2918         * soft-fp/letf2.c: Likewise.
2919         * soft-fp/op-1.h: Likewise.
2920         * soft-fp/op-2.h: Likewise.
2921         * soft-fp/op-4.h: Likewise.
2922         * soft-fp/op-8.h: Likewise.
2923         * soft-fp/op-common.h: Likewise.
2924         * soft-fp/quad.h: Likewise.
2925         * soft-fp/single.h: Likewise.
2926         * soft-fp/soft-fp.h: Likewise.
2927         * soft-fp/unorddf2.c: Likewise.
2928         * soft-fp/unordsf2.c: Likewise.
2929         * soft-fp/unordtf2.c: Likewise.
2930         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
2931         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
2932         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
2933         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
2934         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
2935         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
2936         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
2937         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
2938         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
2939         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
2941 2014-10-08  Rong Xu  <xur@google.com>
2943         * libgcov-util.c (read_gcda_file): Fix format.
2944         (find_match_gcov_info): Ditto.
2945         (calculate_2_entries): New.
2946         (compute_one_gcov): Ditto.
2947         (gcov_info_count_all_cold): Ditto.
2948         (gcov_info_count_all_zero): Ditto.
2949         (extract_file_basename): Ditto.
2950         (get_file_basename): Ditto.
2951         (set_flag): Ditto.
2952         (matched_gcov_info): Ditto.
2953         (calculate_overlap): Ditto.
2954         (gcov_profile_overlap): Ditto.
2955         * libgcov-driver.c (compute_summary): Make
2956         it avavilable for external calls.
2958 2014-10-06  Rong Xu  <xur@google.com>
2960         * Makefile.in: Ditto.
2961         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
2962         (gcov_sort_icall_topn_counter): Ditto.
2963         (gcov_sort_topn_counter_arrays): Ditto.
2964         (dump_one_gcov): Sort indirect_call topn counters.
2965         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
2966         function.
2967         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
2968         utility function.
2969         (__gcov_indirect_call_topn_profiler): New profiler function.
2970         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
2971         * libgcov.h: New decls.
2973 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
2975         * config.host: Remove support for score-*.
2977 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
2979         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2980         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
2981         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
2982         __LIBGCC_XF_MANT_DIG__.
2983         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
2984         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
2985         __LIBGCC_TF_MANT_DIG__.
2986         * libgcc2.c (NOTRUNC): Define in terms of
2987         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
2988         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2990 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
2992         PR target/63312
2993         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
2994         New macros.
2996 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
2998         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
2999         override USE_PT_GNU_EH_FRAME.
3000         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3001         check USE_EH_FRAME_REGISTRY_ALWAYS against
3002         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3003         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3004         variable for substituted force_explicit_eh_registry.
3005         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3006         * configure.ac (explicit-exception-frame-registration):
3007         New AC_ARG_ENABLE.
3008         * configure: Regenerate.
3010 2014-09-19  Olivier Hainque  <hainque@adacore.com>
3012         * config.host (powerpc-wrs-vxworksmils): New configuration,
3013         same as vxworksae.
3015 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
3017         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3019 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
3021         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3022         bits not set bits as indicating trapping exceptions.
3024 2014-09-17  Nathan sidwell  <nathan@acm.org>
3026         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3027         (LIBGCOV_DRIVER): ... here.
3028         * libgcov-driver.c (gcov_master): New.
3029         (gcov_exit): Remove from master chain.
3030         (__gcov_init): Add to master chain if version compatible.  Don't
3031         clear the version.
3032         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3033         (gcov_reset_int): Clear master chain, if compatible.
3034         (gcov_dump_int): New internal interface.  Dump master chain, if
3035         compatible.
3036         (gcov_dump): Alias for gcov_dump_int.
3037         * libgcov.h (struct gcov_root): Add next and prev fields.
3038         (struct gcov_master): New struct.
3039         (__gcov_master): New.
3040         (gcov_dump_int): Declare.
3042 2014-09-17  Olivier Hainque  <hainque@adacore.com>
3044         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3045         and crtbegin.o + crtend.o to extra_parts.
3047 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
3049         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3050         __LIBGCC_HAS_SF_MODE__.
3051         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3052         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3053         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3054         * config/libbid/bid_gcc_intrinsics.h
3055         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3056         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3057         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3058         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3059         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3060         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3062 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
3064         PR target/63223
3065         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3066         and R24 as needed.  Make work for all devices and .text locations.
3067         (__do_global_ctors, __do_global_dtors): Use word addresses.
3068         (__tablejump__, __tablejump_elpm__): Remove functions.
3069         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3070         Add _tablejump2.
3071         (XICALL, XIJMP): New macros.
3073 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3074         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
3076         * config.host (aarch64*): Include crtfastmath.o and
3077         t-crtfm.
3078         * config/aarch64/crtfastmath.c: New file.
3080 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
3082         * config.host: Remove picochip support.
3083         * config/picochip/adddi3.S: Remove.
3084         * config/picochip/ashlsi3.S: Remove.
3085         * config/picochip/ashlsi3.c: Remove.
3086         * config/picochip/ashrsi3.S: Remove.
3087         * config/picochip/ashrsi3.c: Remove.
3088         * config/picochip/clzsi2.S: Remove.
3089         * config/picochip/cmpsi2.S: Remove.
3090         * config/picochip/divmod15.S: Remove.
3091         * config/picochip/divmodhi4.S: Remove.
3092         * config/picochip/divmodsi4.S: Remove.
3093         * config/picochip/lib1funcs.S: Remove.
3094         * config/picochip/longjmp.S: Remove.
3095         * config/picochip/lshrsi3.S: Remove.
3096         * config/picochip/lshrsi3.c: Remove.
3097         * config/picochip/parityhi2.S: Remove.
3098         * config/picochip/popcounthi2.S: Remove.
3099         * config/picochip/setjmp.S: Remove.
3100         * config/picochip/subdi3.S: Remove.
3101         * config/picochip/t-picochip: Remove.
3102         * config/picochip/ucmpsi2.S: Remove.
3103         * config/picochip/udivmodhi4.S: Remove.
3104         * config/picochip/udivmodsi4.S: Remove.
3106 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
3108         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3109         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3110         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3111         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3112         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
3113         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3114         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
3115         defined and LIBGCC2_HAS_DF_MODE is defined.
3116         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
3117         defined and LIBGCC2_HAS_XF_MODE is defined.
3118         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
3119         defined and LIBGCC2_HAS_TF_MODE is defined.
3121 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
3123         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3124         and ROUND_TOWARDS_ZERO conditionals.
3126 2014-09-07  Nathan sidwell  <nathan@acm.org>
3128         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3129         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
3131 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
3133         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3134         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3135         uses to __LIBGCC_STACK_POINTER_REGNUM__.
3136         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3137         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3138         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3139         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3140         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3141         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3142         (DWARF_FRAME_REGISTERS): Change all uses to
3143         __LIBGCC_DWARF_FRAME_REGISTERS__.
3144         (EH_RETURN_STACKADJ_RTX): Change all uses to
3145         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3146         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3147         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
3148         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3149         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3150         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3151         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3152         to __LIBGCC_EH_FRAME_SECTION_NAME__.
3153         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3154         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3155         __LIBGCC_STACK_POINTER_REGNUM__.
3156         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3157         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3158         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3159         to __LIBGCC_STACK_POINTER_REGNUM__.
3160         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3161         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3162         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3163         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3164         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3165         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3166         (STACK_POINTER_REGNUM): Change all uses to
3167         __LIBGCC_STACK_POINTER_REGNUM__.
3168         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3169         use to __LIBGCC_STACK_POINTER_REGNUM__.
3170         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3171         uses to __LIBGCC_STACK_POINTER_REGNUM__.
3172         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3173         to __LIBGCC_DWARF_FRAME_REGISTERS__.
3174         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3175         to __LIBGCC_DWARF_FRAME_REGISTERS__.
3176         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3177         to __LIBGCC_STACK_POINTER_REGNUM__.
3178         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3179         Remove conditional definition.
3180         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3181         __LIBGCC_TEXT_SECTION_ASM_OP__.
3182         (EH_FRAME_SECTION_NAME): Change all uses to
3183         __LIBGCC_EH_FRAME_SECTION_NAME__.
3184         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3185         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3186         (CTORS_SECTION_ASM_OP): Change all uses to
3187         __LIBGCC_CTORS_SECTION_ASM_OP__.
3188         (DTORS_SECTION_ASM_OP): Change all uses to
3189         __LIBGCC_DTORS_SECTION_ASM_OP__.
3190         (JCR_SECTION_NAME): Change all uses to
3191         __LIBGCC_JCR_SECTION_NAME__.
3192         (INIT_SECTION_ASM_OP): Change all uses to
3193         __LIBGCC_INIT_SECTION_ASM_OP__.
3194         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3195         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3196         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3197         __LIBGCC_STACK_GROWS_DOWNWARD__.
3198         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3199         __LIBGCC_INIT_SECTION_ASM_OP__.
3200         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3201         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3202         (EH_FRAME_SECTION_NAME): Change all uses to
3203         __LIBGCC_EH_FRAME_SECTION_NAME__.
3204         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3205         definitions.  Change all uses to
3206         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3207         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3208         __LIBGCC_STACK_GROWS_DOWNWARD__.
3209         (DWARF_FRAME_REGISTERS): Change all uses to
3210         __LIBGCC_DWARF_FRAME_REGISTERS__.
3211         (EH_RETURN_STACKADJ_RTX): Change all uses to
3212         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3213         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3214         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3215         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3216         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3217         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3219 2014-09-02  Nathan sidwell  <nathan@acm.org>
3221         * libgcov-interface.c (STRONG_ALIAS): New.
3222         (__gcov_flush): Call __gcov_reset_int.
3223         (__gcov_reset): Strong alias for ...
3224         (__gcov_reset_ing): ... this renamed hidden version.
3225         * libgcov.h (__gcov_reset_int): New declaration.
3227 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
3229         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3230         call from here...
3231         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3232         (__dso_handle): Define on Cygwin.
3233         * config/i386/t-cygming (crtbeginS.o): New rule.
3234         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3236         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3237         declaration syntax.
3239 2014-08-13  Steve Ellcey  <sellcey@mips.com>
3241         * crtstuff.c: Undef caddr_t.
3243 2014-08-12  Steve Ellcey  <sellcey@mips.com>
3245         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
3247 2014-08-07  Nathan Sidwell  <nathan@acm.org>
3249         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3250         (LIBGCOV_DRIVER): ... to here.
3251         * libgcov.h (gcov_do_dump): New #define.
3252         (struct gcov_root): New.
3253         (__gcov_root): New declaration.
3254         (__gcov_dump_one): Declare.
3255         * libgcov-driver.c (gcov_list, gcov_dump_complete,
3256         run_accounted): Delete.
3257         (gcov_compute_histogram): Add LIST argument, adjust.
3258         (compute_summary): Adjust gcov_compute_histogram call.
3259         (gcov_do_dump): Not hidden, static in libgcov.
3260         (gcov_clear): Move  to interface.c.
3261         (__gcov_dump_one): New, broken out of ...
3262         (gcov_exit): ... here.  Make static.
3263         (__gcov_root): New.
3264         (__gcov_init): Adjust.
3265         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3266         declarations.
3267         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3268         (gcov_clear): Moved from driver.c.   Add LIST argument.
3269         (__gcov_reset): Adjust for changed interfaces.
3270         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3272 2014-08-04  Rohit  <rohitarulraj@freescale.com>
3274         PR target/60102
3275         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
3276         based on change in SPE high register numbers and 3 HTM registers.
3278 2014-08-01  Nathan Sidwell  <nathan@acm.org>
3280         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3281         LIBGCOV_INTERFACE): Reformat.
3282         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3283         IN_GCOV_TOOL.
3284         * libgcov-interface.c: Reformat some comments.
3285         (__gcov_flush_mx): Add declaration.  Tidy up definition.
3287 2014-07-31  Alan Modra  <amodra@gmail.com>
3288             Peter Bergner  <bergner@vnet.ibm.com>
3290         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3291         (pack_ldouble): New function.
3292         (__gcc_qadd): Use it.
3293         (__gcc_qmul): Likewise.
3294         (__gcc_qdiv): Likewise.
3295         (__gcc_qneg): Likewise.
3296         (__gcc_stoq): Likewise.
3297         (__gcc_dtoq): Likewise.
3299 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
3301         * config/s390/tpf-unwind.h: Include <stdbool.h>.
3302         (__tpf_eh_return): Add original return address as second parameter.
3303         Handle cases where unwinder routines were called directly, instead
3304         of from within the C++ library.
3306 2014-07-29  Nathan Sidwell  <nathan@acm.org>
3308         * libgcov.h: Move renaming of entry points to lib gcov specific
3309         portion.
3310         (gcov_do_dump): New rename.
3311         (gcov_rewrite): Remove inline, make HIDDEN.
3312         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3313         (gcov_exit_compute_summary): Rename to ...
3314         (compute_summary): ... here.  Add LIST argument.
3315         (gcov_exit_merge_gcda): Rename to ...
3316         (merge_one_data): ... here.
3317         (gcov_exit_write_gcda): Rename to ...
3318         (write_one_data): ... here.
3319         (gcov_exit_merge_summary): Rename to ...
3320         (merge_summary): Add RUN_COUNTED argument.
3321         (gcov_exit_dump_gcov): Rename to ...
3322         (dump_one_gcov): Add RUN_COUNTED argument.
3323         (gcov_do_dump): New function, broken out of ...
3324         (gcov_exit): ... here.  Call it.
3326 2014-07-27  Anthony Green  <green@moxielogic.com>
3328         * config.host: Add moxiebox configuration suppport.
3330 2014-07-27  Nathan Sidwell  <nathan@acm.org>
3332         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3333         (struct gcov_filename): ... here.  Include buffer and max length
3334         fields.
3335         (gcov_max_filename): Remove.
3336         (gi_filename): Remove.
3337         (gcov_exit_compute_summary): Compute max filename here.
3338         (gcov_exit_merge_gcda): Add filename parm, adjust.
3339         (gcov_exit_merge_summary): Likewise.
3340         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3341         (gcov_exit): Likewise.
3342         (__gcov_init): Don't calculate max length here.
3343         * libgcov_util.c (max_filename_len): Remove.
3344         (read_gcda_file): Don't calculate max length here.
3345         (gcov_read_profile_dir): Don't propagate here.
3346         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3347         struct gcov_filename changes.
3348         (gcov_exit_open_gcda_file): Likewise.
3350 2014-07-25  Nathan Sidwell  <nathan@acm.org>
3352         * libgcov-driver.c (set_gcov_dump_complete,
3353         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3354         functions polluting user's namespace.
3355         (gcov_exit): Set variable directly.
3356         (gcov_clear): Reset variable directly.
3357         * libgcov-interface.c (get_gcov_dymp_complete,
3358         reset_gov_dump_complete): Remove declarations.
3359         (__gcov_reset, __gcov_dump): Don't call them.
3361 2014-07-24  DJ Delorie  <dj@redhat.com>
3363         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
3364         (__gcc_deregister_frame): Move logic to detect deregister function
3365         to ...
3366         (__gcc_register_frame): here, so it's consistent with the register
3367         logic.
3369 2014-07-23  Nathan Sidwell  <nathan@acm.org>
3371         * libgcov-driver.c (set_gcov_list): Remove.
3372         (gcov_list): Make non-static in GCOV_TOOL.
3373         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3375 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
3377         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3378         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3379         Don't use SYNC_LOCK_RELEASE for int type.
3381 2014-07-14  Richard Biener  <rguenther@suse.de>
3383         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3385 2014-07-11  Rong Xu  <xur@google.com>
3387         * libgcov-util.c (gcov_max_filename): Fix declartion.
3389 2014-07-10  Rong Xu  <xur@google.com>
3391         Add gcov-tool: an offline gcda profile processing tool
3392         Support.
3393         * libgcov-driver.c (gcov_max_filename): Make available
3394         to gcov-tool.
3395         * libgcov-merge.c (__gcov_merge_add): Replace
3396         gcov_read_counter() with a Macro.
3397         (__gcov_merge_ior): Ditto.
3398         (__gcov_merge_time_profile): Ditto.
3399         (__gcov_merge_single): Ditto.
3400         (__gcov_merge_delta): Ditto.
3401         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3402         in the utility functions.
3403         (set_fn_ctrs): Utility function for reading gcda files to in-memory
3404         gcov_list object link lists.
3405         (tag_function): Ditto.
3406         (tag_blocks): Ditto.
3407         (tag_arcs): Ditto.
3408         (tag_lines): Ditto.
3409         (tag_counters): Ditto.
3410         (tag_summary): Ditto.
3411         (read_gcda_finalize): Ditto.
3412         (read_gcda_file): Ditto.
3413         (ftw_read_file): Ditto.
3414         (read_profile_dir_init): Ditto.
3415         (gcov_read_profile_dir): Ditto.
3416         (gcov_read_counter_mem): Ditto.
3417         (gcov_get_merge_weight): Ditto.
3418         (merge_wrapper): A wrapper function that calls merging handler.
3419         (gcov_merge): Merge two gcov_info objects with weights.
3420         (find_match_gcov_info): Find the matched gcov_info in the list.
3421         (gcov_profile_merge): Merge two gcov_info object lists.
3422         (__gcov_add_counter_op): Process edge profile counter values.
3423         (__gcov_ior_counter_op): Process IOR profile counter values.
3424         (__gcov_delta_counter_op): Process delta profile counter values.
3425         (__gcov_single_counter_op): Process single  profile counter values.
3426         (fp_scale): Callback function for float-point scaling.
3427         (int_scale): Callback function for integer fraction scaling.
3428         (gcov_profile_scale): Scaling profile counters.
3429         (gcov_profile_normalize): Normalize profile counters.
3430         * libgcov.h: Add headers and functions for gcov-tool use.
3431         (gcov_get_counter): New.
3432         (gcov_get_counter_target): Ditto.
3433         (struct gcov_info): Make the functions field mutable in gcov-tool
3434         compilation.
3436 2014-06-23  Kai Tietz  <ktietz@redhat.com>
3438         PR libgcc/61585
3439         * unwind-seh.c (_Unwind_GetGR): Check for proper
3440         index range.
3441         (_Unwind_SetGR): Likewise.
3443 2014-05-22  Nick Clifton  <nickc@redhat.com>
3445         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3446         -mhwmult=none.
3448 2014-05-22  Teresa Johnson  <tejohnson@google.com>
3450         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3451         include.
3453 2014-05-20  John Marino  <gnugcc@marino.st>
3455         * config.host (*-*-dragonfly*): New target.
3456         * crtstuff.c: Make dl_iterate_support generic on *bsd.
3457         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3458         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3459         * config/i386/dragonfly-unwind.h: New.
3461 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
3463         PR libgcc/60166
3464         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3465         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3467 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3469         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3470         implementation.
3472 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
3474         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3476 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3478         PR libgcc/61097
3479         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
3480         if --enable-shared.
3482 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3484         Work around for current cygwin32 build problems.
3485         * config/i386/cygming-crtbegin.c (__register_frame_info,
3486         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
3487         functions only for 64-bit systems.
3489 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3491         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
3492         (sigill_caught, sigill_hdlr): Remove.
3494 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3496         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
3497         check.
3498         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3499         Solaris 9 single-threaded support.
3500         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3501         Solaris 9 single-threaded support.  Add call_user_handler code
3502         sequences.
3503         (sparc_is_sighandler): Likewise.
3505 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3507         * config.host: Append t-floattodi to tmake_file depending on
3508         host_address.
3510 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
3512         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
3514 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
3516         PR libgcc/60472
3517         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
3518         variable to avoid "array subscript is above array bounds" warnings.
3519         Use __builtin_expect when checking *jcr_list for NULL.
3521 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3523         PR libgcc/59339
3524         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
3525         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
3526         vtv_*.o to extra_parts if enable_vtable_verify.
3528 2014-03-06  Nick Clifton  <nickc@redhat.com>
3530         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
3531         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
3533 2014-02-28  Joey Ye  <joey.ye@arm.com>
3535         PR libgcc/60166
3536         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
3537         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
3538         Set to zero.
3540 2014-02-24  Walter Lee  <walt@tilera.com>
3542         * config.host: Support "tilegx*" and "tilepro*" triplets.
3543         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
3544         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
3546 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
3547             Chung-Lin Tang  <cltang@codesourcery.com>
3549         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
3550         * config/nios2/crti.S: Remove .file directive.
3551         * config/nios2/crtn.S: Likewise.
3553 2014-02-18  Kai Tietz  <ktietz@redhat.com>
3554         Jonathan Schleifer  <js@webkeks.org>
3556         PR objc/56870
3557         * unwind-seh.c (_GCC_specific_handler): Pass proper
3558         value to unwind-handler.
3560 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
3562         * soft-fp/adddf3.c: Update from glibc.
3563         * soft-fp/addsf3.c: Likewise.
3564         * soft-fp/addtf3.c: Likewise.
3565         * soft-fp/divdf3.c: Likewise.
3566         * soft-fp/divsf3.c: Likewise.
3567         * soft-fp/divtf3.c: Likewise.
3568         * soft-fp/double.h: Likewise.
3569         * soft-fp/eqdf2.c: Likewise.
3570         * soft-fp/eqsf2.c: Likewise.
3571         * soft-fp/eqtf2.c: Likewise.
3572         * soft-fp/extenddftf2.c: Likewise.
3573         * soft-fp/extended.h: Likewise.
3574         * soft-fp/extendsfdf2.c: Likewise.
3575         * soft-fp/extendsftf2.c: Likewise.
3576         * soft-fp/extendxftf2.c: Likewise.
3577         * soft-fp/fixdfdi.c: Likewise.
3578         * soft-fp/fixdfsi.c: Likewise.
3579         * soft-fp/fixdfti.c: Likewise.
3580         * soft-fp/fixsfdi.c: Likewise.
3581         * soft-fp/fixsfsi.c: Likewise.
3582         * soft-fp/fixsfti.c: Likewise.
3583         * soft-fp/fixtfdi.c: Likewise.
3584         * soft-fp/fixtfsi.c: Likewise.
3585         * soft-fp/fixtfti.c: Likewise.
3586         * soft-fp/fixunsdfdi.c: Likewise.
3587         * soft-fp/fixunsdfsi.c: Likewise.
3588         * soft-fp/fixunsdfti.c: Likewise.
3589         * soft-fp/fixunssfdi.c: Likewise.
3590         * soft-fp/fixunssfsi.c: Likewise.
3591         * soft-fp/fixunssfti.c: Likewise.
3592         * soft-fp/fixunstfdi.c: Likewise.
3593         * soft-fp/fixunstfsi.c: Likewise.
3594         * soft-fp/fixunstfti.c: Likewise.
3595         * soft-fp/floatdidf.c: Likewise.
3596         * soft-fp/floatdisf.c: Likewise.
3597         * soft-fp/floatditf.c: Likewise.
3598         * soft-fp/floatsidf.c: Likewise.
3599         * soft-fp/floatsisf.c: Likewise.
3600         * soft-fp/floatsitf.c: Likewise.
3601         * soft-fp/floattidf.c: Likewise.
3602         * soft-fp/floattisf.c: Likewise.
3603         * soft-fp/floattitf.c: Likewise.
3604         * soft-fp/floatundidf.c: Likewise.
3605         * soft-fp/floatundisf.c: Likewise.
3606         * soft-fp/floatunditf.c: Likewise.
3607         * soft-fp/floatunsidf.c: Likewise.
3608         * soft-fp/floatunsisf.c: Likewise.
3609         * soft-fp/floatunsitf.c: Likewise.
3610         * soft-fp/floatuntidf.c: Likewise.
3611         * soft-fp/floatuntisf.c: Likewise.
3612         * soft-fp/floatuntitf.c: Likewise.
3613         * soft-fp/gedf2.c: Likewise.
3614         * soft-fp/gesf2.c: Likewise.
3615         * soft-fp/getf2.c: Likewise.
3616         * soft-fp/ledf2.c: Likewise.
3617         * soft-fp/lesf2.c: Likewise.
3618         * soft-fp/letf2.c: Likewise.
3619         * soft-fp/muldf3.c: Likewise.
3620         * soft-fp/mulsf3.c: Likewise.
3621         * soft-fp/multf3.c: Likewise.
3622         * soft-fp/negdf2.c: Likewise.
3623         * soft-fp/negsf2.c: Likewise.
3624         * soft-fp/negtf2.c: Likewise.
3625         * soft-fp/op-1.h: Likewise.
3626         * soft-fp/op-2.h: Likewise.
3627         * soft-fp/op-4.h: Likewise.
3628         * soft-fp/op-8.h: Likewise.
3629         * soft-fp/op-common.h: Likewise.
3630         * soft-fp/quad.h: Likewise.
3631         * soft-fp/single.h: Likewise.
3632         * soft-fp/soft-fp.h: Likewise.
3633         * soft-fp/subdf3.c: Likewise.
3634         * soft-fp/subsf3.c: Likewise.
3635         * soft-fp/subtf3.c: Likewise.
3636         * soft-fp/truncdfsf2.c: Likewise.
3637         * soft-fp/trunctfdf2.c: Likewise.
3638         * soft-fp/trunctfsf2.c: Likewise.
3639         * soft-fp/trunctfxf2.c: Likewise.
3640         * soft-fp/unorddf2.c: Likewise.
3641         * soft-fp/unordsf2.c: Likewise.
3642         * soft-fp/unordtf2.c: Likewise.
3643         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
3644         macro.
3645         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3646         Likewise.
3647         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3648         Likewise.
3649         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3650         Likewise.
3651         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3652         Likewise.
3653         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3654         Likewise.
3655         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3656         Likewise.
3657         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3658         Likewise.
3659         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3660         Likewise.
3661         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3662         Likewise.
3663         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3664         Likewise.
3665         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3666         Likewise.
3667         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3668         Likewise.
3669         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
3670         Likewise.
3671         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
3672         Likewise.
3673         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3674         Likewise.
3676 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3678         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
3679         cannot be represented.
3680         * config/s390/32/_fixsfdi.c: Likewise.
3681         * config/s390/32/_fixtfdi.c: Likewise.
3682         * config/s390/32/_fixunsdfdi.c: Likewise.
3683         * config/s390/32/_fixunssfdi.c: Likewise.
3684         * config/s390/32/_fixunstfdi.c: Likewise.
3686 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
3688         * configure.ac (libgcc_cv_mips_hard_float): New.
3689         * configure: Regenerate.
3690         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
3691         t-softfp-sfdf for hard-float targets.
3692         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
3693         (softfp_float_modes, softfp_int_modes, softfp_extensions)
3694         (softfp_truncations, softfp_exclude_libgcc2): New.
3695         * config/t-hardfp: New file.
3696         * config/t-hardfp-sfdf: Likewise.
3697         * config/hardfp.c: Likewise.
3699 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3701         * config.host: Include t-floattodi also for s390x.
3702         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
3703         * config/s390/32/_fixsfdi.c: Likewise.
3704         * config/s390/32/_fixtfdi.c: Likewise.
3705         * config/s390/32/_fixunsdfdi.c: Likewise.
3706         * config/s390/32/_fixunssfdi.c: Likewise.
3707         * config/s390/32/_fixunstfdi.c: Likewise.
3709 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3711         PR target/59788
3712         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
3713         (install-libgcc-unwind-map-forbuild): New target.
3714         (all): Depend on install-libgcc-unwind-map-forbuild.
3715         (install-libgcc-unwind-map): New target.
3716         (install): Depend on install-libgcc-unwind-map.
3718 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
3720         * config/nios2/crti.S (_init): Initialize GOT pointer from
3721         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
3723 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
3725         * configure.ac: Check __mips64 when setting host_address.
3726         * configure: Regenerate.
3727         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
3728         mips/t-mips64 and t-softfp.
3729         (mips*-*-linux*): Don't add mips/t-tpbit.
3730         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
3731         (DPBIT, DPBIT_CFLAGS): Delete.
3732         * config/mips/sfp-machine.h: New file.
3733         * config/mips/t-mips64: Likewise.
3734         * config/mips/t-softfp-tf: Likewise.
3735         * config/mips/t-tpbit: Delete.
3737 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3739         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
3740         as long long.
3742 2014-01-25  Walter Lee  <walt@tilera.com>
3744         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
3745         config.h or system.h.
3746         (bool) Define.
3748 2014-01-25  Walter Lee  <walt@tilera.com>
3750         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
3751         (post_atomic_barrier): Ditto.
3752         (__fetch_and_do): New macro.
3753         (__atomic_fetch_and_do): Use __fetch_and_do.
3754         (__sync_fetch_and_do): New macro.
3755         (__sync_fetch_and_add_4): New function.
3756         (__sync_fetch_and_sub_4): New function.
3757         (__sync_fetch_and_or_4): New function.
3758         (__sync_fetch_and_and_4): New function.
3759         (__sync_fetch_and_xor_4): New function.
3760         (__sync_fetch_and_nand_4): New function.
3761         (__sync_fetch_and_add_8): New function.
3762         (__sync_fetch_and_sub_8): New function.
3763         (__sync_fetch_and_or_8): New function.
3764         (__sync_fetch_and_and_8): New function.
3765         (__sync_fetch_and_xor_8): New function.
3766         (__sync_fetch_and_nand_8): New function.
3767         (__do_and_fetch): New macro.
3768         (__atomic_do_and_fetch): Use __do_and_fetch.
3769         (__sync_do_and_fetch): New macro.
3770         (__sync_add_and_fetch_4): New function.
3771         (__sync_sub_and_fetch_4): New function.
3772         (__sync_or_and_fetch_4): New function.
3773         (__sync_and_and_fetch_4): New function.
3774         (__sync_xor_and_fetch_4): New function.
3775         (__sync_nand_and_fetch_4): New function.
3776         (__sync_add_and_fetch_8): New function.
3777         (__sync_sub_and_fetch_8): New function.
3778         (__sync_or_and_fetch_8): New function.
3779         (__sync_and_and_fetch_8): New function.
3780         (__sync_xor_and_fetch_8): New function.
3781         (__sync_nand_and_fetch_8): New function.
3782         (__sync_exchange_methods): New macro.
3783         (__sync_val_compare_and_swap_4): New function.
3784         (__sync_bool_compare_and_swap_4): New function.
3785         (__sync_lock_test_and_test_4): New function.
3786         (__sync_val_compare_and_swap_8): New function.
3787         (__sync_bool_compare_and_swap_8): New function.
3788         (__sync_lock_test_and_test_8): New function.
3789         (__subword_cmpxchg_body): New macro.
3790         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
3791         (__atomic_compare_exchange_2): Ditto.
3792         (__sync_subword_cmpxchg): New macro.
3793         (__sync_val_compare_and_swap_1): New function.
3794         (__sync_bool_compare_and_swap_1): New function.
3795         (__sync_val_compare_and_swap_2): New function.
3796         (__sync_bool_compare_and_swap_2): New function.
3797         (__atomic_subword): Rename to ...
3798         (__subword): ... New name.
3799         (__atomic_subword_fetch): Use __subword.
3800         (__sync_subword_fetch): New macro.
3801         (__sync_fetch_and_add_1): New function.
3802         (__sync_fetch_and_sub_1): New function.
3803         (__sync_fetch_and_or_1): New function.
3804         (__sync_fetch_and_and_1): New function.
3805         (__sync_fetch_and_xor_1): New function.
3806         (__sync_fetch_and_nand_1): New function.
3807         (__sync_fetch_and_add_2): New function.
3808         (__sync_fetch_and_sub_2): New function.
3809         (__sync_fetch_and_or_2): New function.
3810         (__sync_fetch_and_and_2): New function.
3811         (__sync_fetch_and_xor_2): New function.
3812         (__sync_fetch_and_nand_2): New function.
3813         (__sync_add_and_fetch_1): New function.
3814         (__sync_sub_and_fetch_1): New function.
3815         (__sync_or_and_fetch_1): New function.
3816         (__sync_and_and_fetch_1): New function.
3817         (__sync_xor_and_fetch_1): New function.
3818         (__sync_nand_and_fetch_1): New function.
3819         (__sync_add_and_fetch_2): New function.
3820         (__sync_sub_and_fetch_2): New function.
3821         (__sync_or_and_fetch_2): New function.
3822         (__sync_and_and_fetch_2): New function.
3823         (__sync_xor_and_fetch_2): New function.
3824         (__sync_nand_and_fetch_2): New function.
3825         (__atomic_subword_lock): Use __subword.
3826         (__sync_subword_lock): New macro.
3827         (__sync_lock_test_and_set_1): New function.
3828         (__sync_lock_test_and_set_2): New function.
3830 2014-01-25  Walter Lee  <walt@tilera.com>
3832         * config/tilepro/atomic.c (BIT_OFFSET): Define.
3833         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
3834         (__atomic_subword): Ditto.
3836 2014-01-25  Walter Lee  <walt@tilera.com>
3838         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
3839         a prefix op argument.
3840         (__atomic_nand_fetch_4): Add prefix op.
3841         (__atomic_nand_fetch_8): Ditto.
3843 2014-01-21  Baruch Siach  <barch@tkos.co.il>
3845         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
3847 2014-01-09  Rong Xu  <xur@google.com>
3849         * libgcov-driver.c (this_prg): make it local to save
3850         bss space.
3851         (gcov_exit_compute_summary): Ditto.
3852         (gcov_exit_merge_gcda): Ditto.
3853         (gcov_exit_merge_summary): Ditto.
3854         (gcov_exit_dump_gcov): Ditto.
3856 2014-01-08  Rong Xu  <xur@google.com>
3858         * libgcov-driver.c: Use libgcov.h.
3859         (buffer_fn_data): Use xmalloc instead of malloc.
3860         (gcov_exit_merge_gcda): Ditto.
3861         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
3862         * libgcov.h: New common header files for libgcov-*.h.
3863         * libgcov-interface.c: Use libgcov.h
3864         * libgcov-merge.c: Ditto.
3865         * libgcov-profiler.c: Ditto.
3866         * Makefile.in: Add dependence to libgcov.h
3868 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
3870         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
3871         case of small numerator and finite nonzero result.
3873 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
3875         Update copyright years
3877 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
3879         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
3880         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
3881         config/arc/dp-hack.h, config/arc/fp-hack.h,
3882         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
3883         config/arc/ieee-754/arc600-dsp/divdf3.S,
3884         config/arc/ieee-754/arc600-dsp/divsf3.S,
3885         config/arc/ieee-754/arc600-dsp/muldf3.S,
3886         config/arc/ieee-754/arc600-dsp/mulsf3.S,
3887         config/arc/ieee-754/arc600-mul64/divdf3.S,
3888         config/arc/ieee-754/arc600-mul64/divsf3.S,
3889         config/arc/ieee-754/arc600-mul64/muldf3.S,
3890         config/arc/ieee-754/arc600-mul64/mulsf3.S,
3891         config/arc/ieee-754/arc600/divsf3.S,
3892         config/arc/ieee-754/arc600/mulsf3.S,
3893         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
3894         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
3895         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
3896         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
3897         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
3898         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
3899         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
3900         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
3901         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
3902         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
3903         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
3904         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
3905         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
3906         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
3907         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
3908         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
3909         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
3910         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
3911         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
3912         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
3913         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
3914         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
3915         vtv_start_preinit.c: Use the standard form for the copyright notice.
3917 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
3918             Chung-Lin Tang  <cltang@codesourcery.com>
3919             Based on patches from Altera Corporation
3921         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
3922         * config/nios2/lib2-nios2.h: New file.
3923         * config/nios2/lib2-divmod-hi.c: New file.
3924         * config/nios2/linux-unwind.h: New file.
3925         * config/nios2/lib2-divmod.c: New file.
3926         * config/nios2/linux-atomic.c: New file.
3927         * config/nios2/t-nios2: New file.
3928         * config/nios2/crti.asm: New file.
3929         * config/nios2/t-linux: New file.
3930         * config/nios2/lib2-divtable.c: New file.
3931         * config/nios2/lib2-mul.c: New file.
3932         * config/nios2/tramp.c: New file.
3933         * config/nios2/crtn.asm: New file.
3935 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
3937         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
3938         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
3939         from cpuid.h to check vendor signatures.
3941 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
3943         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
3944         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
3945         (get_amd_cpu): Likewise.
3947 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
3949         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
3950         Haswell.
3952 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
3953             H.J. Lu  <hongjiu.lu@intel.com>
3955         PR target/59422
3956         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
3957         and AMD_JAGUAR.
3958         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
3959         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
3960         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
3961         FEATURE_XOP and FEATURE_FMA.
3962         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
3963         AMDFAM15H_BDVER3.
3964         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
3965         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
3966         FEATURE_FMA4 and FEATURE_XOP.
3968 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
3970         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
3971         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
3972         (get_intel_cpu): Updated.
3974 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
3976         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
3978 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
3980         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
3981         instructions when __SSE_MATH__ is defined.
3983 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
3985         * config.host (microblaze-*-rtems*): New.
3987 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
3989         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
3990         architectures that do not have hardware divide instruction.
3991         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
3993 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
3995         * longlong.h: Delete (moved to include/).
3997 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3999         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4000         of normal number and qNaN to not raise an inexact exception.
4002 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
4004         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4006 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
4008         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4009         for correct opcodes on BE.
4011 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
4013         * soft-fp/op-4.h: Update from glibc.
4015 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
4017         * libgcc2.c (__udivmoddi4): Define new implementation when
4018         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4019         divide instructions.
4021 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
4023         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4025 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4027         * config/t-softfp (soft-fp-objects-base): New variable.
4028         (soft-fp-objects): Use it.
4030 2013-11-23  David Edelson  <dje.gcc@gmail.com>
4031             Andrew Dixie  <andrewd@gentrack.com>
4033         PR target/33704
4034         * config/rs6000/aixinitfini.c: New file.
4035         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4036         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4037         symbols.
4039 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
4041         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
4043 2013-11-18  Jan Hubicka  <jh@suse.cz>
4045         * libgcov-driver.c (run_accounted): Make global level static.
4046         (gcov_exit_merge_summary): Silence warning; do not clear
4047         run_accounted here.
4048         (gcov_exit): Clear it here.
4050         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4051         run_accounted.
4053         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4054         (all_prg, crc32): Remove static vars.
4055         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4056         all_prg.
4057         (gcov_exit_merge_gcda): Add crc32 parameter.
4058         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4059         do not account run if it was already accounted.
4060         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4061         (gcov_exit): Initialize all_prg; update.
4063 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
4065         * configure: Regenerate.
4067 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4068             Alan Modra  <amodra@gmail.com>
4070         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4071         (frob_update_context): Use it.
4073 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4074             Alan Modra  <amodra@gmail.com>
4076         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4077         (trampoline_initial): Provide ELFv2 variant.
4078         (__trampoline_setup): Likewise.
4080         * config/rs6000/linux-unwind.h (frob_update_context): Do not
4081         check for AIX indirect function call sequence if _CALL_ELF == 2.
4083 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4084             Alan Modra  <amodra@gmail.com>
4086         * config/rs6000/linux-unwind.h (get_regs): Do not support
4087         old kernel versions if _CALL_ELF == 2.
4088         (frob_update_context): Do not support PLT stub variants only
4089         generated by old linkers if _CALL_ELF == 2.
4091 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4092             Alan Modra  <amodra@gmail.com>
4094         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4095         location of CR save area for 64-bit little-endian systems.
4097 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
4099         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4100         in tmake_file.
4101         * config/arm/t-vxworks: Delete.
4103 2013-11-10  Kai Tietz  <ktietz@redhat.com>
4105         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4106         Increment load-count on use of LIBGCC_SONAME DLL.
4107         (hmod_libgcc): New static variable to hold handle of
4108         LIBGCC_SONAME DLL.
4109         (__gcc_deregister_frame): Decrement load-count of
4110         LIBGCC_SONAME DLL.
4112 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
4114         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4115         availability.
4116         * configure: Regenerate
4118 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
4120         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4121         FP_EX_DENORM.  Store result to volatile location after SSE division
4122         to close interrupt window.  Remove unneeded fwait after x87
4123         division since interrupt window will be closed by emitted fstp.
4124         Rewrite FP_EX_INEXACT handling.
4126 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
4128         * soft-fp/README: Update.
4129         * soft-fp/adddf3.c: Update from glibc.
4130         * soft-fp/addsf3.c: Likewise.
4131         * soft-fp/addtf3.c: Likewise.
4132         * soft-fp/divdf3.c: Likewise.
4133         * soft-fp/divsf3.c: Likewise.
4134         * soft-fp/divtf3.c: Likewise.
4135         * soft-fp/double.h: Likewise.
4136         * soft-fp/eqdf2.c: Likewise.
4137         * soft-fp/eqsf2.c: Likewise.
4138         * soft-fp/eqtf2.c: Likewise.
4139         * soft-fp/extenddftf2.c: Likewise.
4140         * soft-fp/extended.h: Likewise.
4141         * soft-fp/extendsfdf2.c: Likewise.
4142         * soft-fp/extendsftf2.c: Likewise.
4143         * soft-fp/extendxftf2.c: Likewise.
4144         * soft-fp/fixdfdi.c: Likewise.
4145         * soft-fp/fixdfsi.c: Likewise.
4146         * soft-fp/fixdfti.c: Likewise.
4147         * soft-fp/fixsfdi.c: Likewise.
4148         * soft-fp/fixsfsi.c: Likewise.
4149         * soft-fp/fixsfti.c: Likewise.
4150         * soft-fp/fixtfdi.c: Likewise.
4151         * soft-fp/fixtfsi.c: Likewise.
4152         * soft-fp/fixtfti.c: Likewise.
4153         * soft-fp/fixunsdfdi.c: Likewise.
4154         * soft-fp/fixunsdfsi.c: Likewise.
4155         * soft-fp/fixunsdfti.c: Likewise.
4156         * soft-fp/fixunssfdi.c: Likewise.
4157         * soft-fp/fixunssfsi.c: Likewise.
4158         * soft-fp/fixunssfti.c: Likewise.
4159         * soft-fp/fixunstfdi.c: Likewise.
4160         * soft-fp/fixunstfsi.c: Likewise.
4161         * soft-fp/fixunstfti.c: Likewise.
4162         * soft-fp/floatdidf.c: Likewise.
4163         * soft-fp/floatdisf.c: Likewise.
4164         * soft-fp/floatditf.c: Likewise.
4165         * soft-fp/floatsidf.c: Likewise.
4166         * soft-fp/floatsisf.c: Likewise.
4167         * soft-fp/floatsitf.c: Likewise.
4168         * soft-fp/floattidf.c: Likewise.
4169         * soft-fp/floattisf.c: Likewise.
4170         * soft-fp/floattitf.c: Likewise.
4171         * soft-fp/floatundidf.c: Likewise.
4172         * soft-fp/floatundisf.c: Likewise.
4173         * soft-fp/floatunditf.c: Likewise.
4174         * soft-fp/floatunsidf.c: Likewise.
4175         * soft-fp/floatunsisf.c: Likewise.
4176         * soft-fp/floatunsitf.c: Likewise.
4177         * soft-fp/floatuntidf.c: Likewise.
4178         * soft-fp/floatuntisf.c: Likewise.
4179         * soft-fp/floatuntitf.c: Likewise.
4180         * soft-fp/gedf2.c: Likewise.
4181         * soft-fp/gesf2.c: Likewise.
4182         * soft-fp/getf2.c: Likewise.
4183         * soft-fp/ledf2.c: Likewise.
4184         * soft-fp/lesf2.c: Likewise.
4185         * soft-fp/letf2.c: Likewise.
4186         * soft-fp/muldf3.c: Likewise.
4187         * soft-fp/mulsf3.c: Likewise.
4188         * soft-fp/multf3.c: Likewise.
4189         * soft-fp/negdf2.c: Likewise.
4190         * soft-fp/negsf2.c: Likewise.
4191         * soft-fp/negtf2.c: Likewise.
4192         * soft-fp/op-1.h: Likewise.
4193         * soft-fp/op-2.h: Likewise.
4194         * soft-fp/op-4.h: Likewise.
4195         * soft-fp/op-8.h: Likewise.
4196         * soft-fp/op-common.h: Likewise.
4197         * soft-fp/quad.h: Likewise.
4198         * soft-fp/single.h: Likewise.
4199         * soft-fp/soft-fp.h: Likewise.
4200         * soft-fp/subdf3.c: Likewise.
4201         * soft-fp/subsf3.c: Likewise.
4202         * soft-fp/subtf3.c: Likewise.
4203         * soft-fp/truncdfsf2.c: Likewise.
4204         * soft-fp/trunctfdf2.c: Likewise.
4205         * soft-fp/trunctfsf2.c: Likewise.
4206         * soft-fp/trunctfxf2.c: Likewise.
4207         * soft-fp/unorddf2.c: Likewise.
4208         * soft-fp/unordsf2.c: Likewise.
4209         * soft-fp/unordtf2.c: Likewise.
4211 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
4213         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4214         (_FP_MUL_MEAT_D): Ditto.
4215         (_FP_DIV_MEAT_S): Ditto.
4216         (_FP_DIV_MEAT_D): Ditto.
4217         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4218         t-softfp-sfdf and t-softfp to tmake_file.
4220 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
4222         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4223         * config/i386/crtprec.c: Ditto.
4225 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
4226             Shiva Chen  <shiva0217@gmail.com>
4228         * config.host (nds32*-elf*): Add nds32 target.
4229         * config/nds32 : New directory and files.
4231 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
4233         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
4234         * config.host (cpu_type) <Setting default>: Add entry for
4235         crisv32-*-*.
4236         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4237         <crisv32-*-linux*>: Adjust.
4238         * longlong.h: Wrap the whole CRIS section in a single
4239         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
4240         and sub_ddmmss.
4241         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4242         defined.
4243         [__CRIS__] (__umulsidi3): Define.
4244         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4245         * config/cris/sfp-machine.h: New file.
4246         * config/cris/umulsidi3.S: New file.
4247         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4248         * config/cris/arit.c (SIGNMULT): New macro.
4249         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4250         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4251         saving 3 out of originally 33 cycles from the fastest
4252         path, 3 out of 54 from the medium path and one from the longest
4253         path.  Improve comments.
4255 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
4257         * sync.c: Remove static aliases and define each function directly
4258         under its real name.
4260 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
4262         * config.host (hppa*64*-*-linux*): Define extra_parts.
4263         (hppa*-*-linux*): Likewise.
4265 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
4267         * config/arc/crtgend.S: Add 2013 to Copyright years.
4268         * config/arc/gmon/atomic.h: Likewise.
4269         * config/arc/gmon/auxreg.h: Likewise.
4270         * config/arc/gmon/sys/gmon_out.h: Likewise.
4271         * config/arc/gmon/sys/gmon.h: Likewise.
4272         * config/arc/gmon/prof-freq.c: Likewise.
4273         * config/arc/gmon/mcount.c: Likewise.
4274         * config/arc/gmon/prof-freq-stub.S: Likewise.
4275         * config/arc/gmon/gmon.c: Likewise.
4276         * config/arc/gmon/machine-gmon.h: Likewise.
4277         * config/arc/gmon/profil.S: Likewise.
4278         * config/arc/gmon/dcache_linesz.S: Likewise.
4279         * config/arc/crtg.S: Likewise.
4280         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4281         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4282         * config/arc/ieee-754/adddf3.S: Likewise.
4283         * config/arc/ieee-754/truncdfsf2.S: Likewise.
4284         * config/arc/ieee-754/fixsfsi.S: Likewise.
4285         * config/arc/ieee-754/gtsf2.S: Likewise.
4286         * config/arc/ieee-754/floatsisf.S: Likewise.
4287         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4288         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4289         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4290         * config/arc/ieee-754/fixdfsi.S: Likewise.
4291         * config/arc/ieee-754/addsf3.S: Likewise.
4292         * config/arc/ieee-754/gesf2.S: Likewise.
4293         * config/arc/ieee-754/floatsidf.S: Likewise.
4294         * config/arc/ieee-754/extendsfdf2.S: Likewise.
4295         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4296         * config/arc/ieee-754/gtdf2.S: Likewise.
4297         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4298         * config/arc/ieee-754/uneqdf2.S: Likewise.
4299         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4300         * config/arc/ieee-754/uneqsf2.S: Likewise.
4301         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4302         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4303         * config/arc/ieee-754/eqdf2.S: Likewise.
4304         * config/arc/ieee-754/ordsf2.S: Likewise.
4305         * config/arc/ieee-754/divsf3.S: Likewise.
4306         * config/arc/ieee-754/divdf3.S: Likewise.
4307         * config/arc/ieee-754/floatunsidf.S: Likewise.
4308         * config/arc/ieee-754/orddf2.S: Likewise.
4309         * config/arc/ieee-754/eqsf2.S: Likewise.
4310         * config/arc/ieee-754/gedf2.S: Likewise.
4311         * config/arc/crtn.S: Likewise.
4312         * config/arc/crti.S: Likewise.
4313         * config/arc/t-arc700-uClibc: Likewise.
4314         * config/arc/asm.h: Likewise.
4315         * config/arc/libgcc-excl.ver: Likewise.
4316         * config/arc/t-arc-newlib: Likewise.
4317         * config/arc/divtab-arc700.c: Likewise.
4318         * config/arc/initfini.c: Likewise.
4319         * config/arc/fp-hack.h: Likewise.
4321 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
4322             Diego Novillo  <dnovillo@google.com>
4324         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
4325         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4326         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4327         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
4329 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
4330             Brendan Kehoe  <brendan@zen.org>
4331             Simon Cook  <simon.cook@embecosm.com>
4333         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4334         * config/arc: New directory.
4335         * longlong.h [__arc__] (umul_ppmm): Remove.
4336         [__arc__] (__umulsidi3): Define.
4337         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4338         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4340 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
4342         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4343         CreateSemaphoreA.
4344         * config/i386/gthr-win32.h: Likewise.
4346 2013-09-16  DJ Delorie  <dj@redhat.com>
4348         * config/rl78/vregs.h: Add G10 register definitions.
4349         * config/rl78/lib2mul.c: Enable for RL78/G10.
4350         * config/rl78/lib2div.c: Likewise.
4351         * config/rl78/lshrsi3.S: Use vregs.h.
4352         * config/rl78/cmpsi2.S: Likewise.
4353         * config/rl78/trampoline.S: Likewise.
4354         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
4356 2013-09-14  DJ Delorie  <dj@redhat.com>
4357             Nick Clifton  <nickc@redhat.com>
4359         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4360         * config/rl78/vregs.h: New.
4361         * config/rl78/signbit.S: New file.  Implements signbit function.
4362         * config/rl78/divmodsi.S: New.
4363         * config/rl78/divmodhi.S: New.
4364         * config/rl78/divmodqi.S: New.
4365         * config/rl78/t-rl78: Build them here...
4366         * config/rl78/lib2div.c: ...but not here.
4368 2013-09-12  DJ Delorie  <dj@redhat.com>
4370         * config.host (msp*-*-elf): New.
4371         * config/msp430/: New port.
4373 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
4375         PR gcov-profile/58127
4376         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4377         __thread var for emulated TLS.
4378         (__gcov_indirect_call_counters): Likewise.
4380 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
4381             Catherine Moore  <clm@codesourcery.com>
4382             Richard Sandiford  <rdsandiford@googlemail.com>
4384         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4385         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4386         (CALL_STUB_NO_RET): Likewise.
4387         (CALL_STUB_RET): Likewise.
4388         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4389         __mips16_ret call/return stub symbols.
4390         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4391         to tmake_file.
4393 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
4395         * config.host <mips*-*-linux*>: Remove a stray comment.
4397 2013-08-10  Jan Hubicka  <jh@suse.cz>
4399         Work around binutils PR14342
4400         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4401         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4402         (L_gcov_indirect_call_profiler_v2): New.
4404 2013-08-06  Jan Hubicka  <jh@suse.cz>
4406         * libgcov.c (__gcov_indirect_call_callee,
4407         __gcov_indirect_call_counters): New global vars.
4408         (__gcov_indirect_call_profiler): replace by ...
4409         (__gcov_indirect_call_profiler_v2) ... this one.
4411 2013-08-06  Caroline Tice  <cmtice@google.com>
4413         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
4414         vtv_start_preinit.o and vtv_end_preinit.o.
4415         * configure.ac: Add code to check/set enable_vtable_verify.
4416         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
4417         true.
4418         * vtv_start_preinit.c: New file.
4419         * vtv_end_preinit.c: New file.
4420         * vtv_start.c: New file.
4421         * vtv_end.c: New file.
4422         * configure: Regenerated.
4424 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
4426         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4427         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4428         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4429         GPL-3.0-with-GCC-exception.
4431 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
4433         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4434         ISA and up.
4436 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4438         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4439         mapping for FPRs when creating the fallback framestate.
4441 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
4443         PR target/57516
4444         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4445         (__round_s2_const, __round_u2_const)
4446         (__round_s4_const, __round_u4_const, __round_x8):
4447         Saturate result if addition result cannot be represented.
4449 2013-07-15  Matthias Klose  <doko@ubuntu.com>
4451         * libgcc2.c: Don't include <limits.h>.
4453 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
4455         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4457 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
4459         PR target/29776
4460         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4462 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
4464         PR middle-end/36041
4465         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4466         Define.
4467         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4468         instead of table lookups.
4469         (__popcountDI2): Likewise.
4471 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
4473         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4474         correctly.
4476 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
4478         PR other/53317
4479         * soft-fp/adddf3.c: Update from glibc.
4480         * soft-fp/addsf3.c: Likewise.
4481         * soft-fp/addtf3.c: Likewise.
4482         * soft-fp/divdf3.c: Likewise.
4483         * soft-fp/divsf3.c: Likewise.
4484         * soft-fp/divtf3.c: Likewise.
4485         * soft-fp/double.h: Likewise.
4486         * soft-fp/eqdf2.c: Likewise.
4487         * soft-fp/eqsf2.c: Likewise.
4488         * soft-fp/eqtf2.c: Likewise.
4489         * soft-fp/extenddftf2.c: Likewise.
4490         * soft-fp/extended.h: Likewise.
4491         * soft-fp/extendsfdf2.c: Likewise.
4492         * soft-fp/extendsftf2.c: Likewise.
4493         * soft-fp/fixdfdi.c: Likewise.
4494         * soft-fp/fixdfsi.c: Likewise.
4495         * soft-fp/fixsfdi.c: Likewise.
4496         * soft-fp/fixsfsi.c: Likewise.
4497         * soft-fp/fixtfdi.c: Likewise.
4498         * soft-fp/fixtfsi.c: Likewise.
4499         * soft-fp/fixunsdfdi.c: Likewise.
4500         * soft-fp/fixunsdfsi.c: Likewise.
4501         * soft-fp/fixunssfdi.c: Likewise.
4502         * soft-fp/fixunssfsi.c: Likewise.
4503         * soft-fp/fixunstfdi.c: Likewise.
4504         * soft-fp/fixunstfsi.c: Likewise.
4505         * soft-fp/floatdidf.c: Likewise.
4506         * soft-fp/floatdisf.c: Likewise.
4507         * soft-fp/floatditf.c: Likewise.
4508         * soft-fp/floatsidf.c: Likewise.
4509         * soft-fp/floatsisf.c: Likewise.
4510         * soft-fp/floatsitf.c: Likewise.
4511         * soft-fp/floatundidf.c: Likewise.
4512         * soft-fp/floatundisf.c: Likewise.
4513         * soft-fp/floatunditf.c: Likewise.
4514         * soft-fp/floatunsidf.c: Likewise.
4515         * soft-fp/floatunsisf.c: Likewise.
4516         * soft-fp/floatunsitf.c: Likewise.
4517         * soft-fp/gedf2.c: Likewise.
4518         * soft-fp/gesf2.c: Likewise.
4519         * soft-fp/getf2.c: Likewise.
4520         * soft-fp/ledf2.c: Likewise.
4521         * soft-fp/lesf2.c: Likewise.
4522         * soft-fp/letf2.c: Likewise.
4523         * soft-fp/muldf3.c: Likewise.
4524         * soft-fp/mulsf3.c: Likewise.
4525         * soft-fp/multf3.c: Likewise.
4526         * soft-fp/negdf2.c: Likewise.
4527         * soft-fp/negsf2.c: Likewise.
4528         * soft-fp/negtf2.c: Likewise.
4529         * soft-fp/op-1.h: Likewise.
4530         * soft-fp/op-2.h: Likewise.
4531         * soft-fp/op-4.h: Likewise.
4532         * soft-fp/op-8.h: Likewise.
4533         * soft-fp/op-common.h: Likewise.
4534         * soft-fp/quad.h: Likewise.
4535         * soft-fp/single.h: Likewise.
4536         * soft-fp/soft-fp.h: Likewise.
4537         * soft-fp/subdf3.c: Likewise.
4538         * soft-fp/subsf3.c: Likewise.
4539         * soft-fp/subtf3.c: Likewise.
4540         * soft-fp/truncdfsf2.c: Likewise.
4541         * soft-fp/trunctfdf2.c: Likewise.
4542         * soft-fp/trunctfsf2.c: Likewise.
4543         * soft-fp/unorddf2.c: Likewise.
4544         * soft-fp/unordsf2.c: Likewise.
4545         * soft-fp/unordtf2.c: Likewise.
4546         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
4547         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4548         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4549         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4550         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4551         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4552         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4553         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4554         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4555         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
4556         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
4557         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4559 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
4561         * config/mips/lib2funcs.c: New file.
4562         * config/mips/t-mips (LIB2ADD_ST): Add it.
4564 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
4566         PR target/6526
4567         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
4568         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
4570 2013-06-08  Walter Lee  <walt@tilera.com>
4572         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
4573         Replace int64_t with long long.  Add __extension__ where
4574         appropriate.
4575         * config/tilepro/atomic.c: Include config.h.
4577 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
4579         * config.host (arm-wrs-vxworks): Configure with other soft float.
4581 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
4583         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
4584         (mips64r5900el-*-elf*): New configurations.
4586 2013-06-04  Alan Modra  <amodra@gmail.com>
4588         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
4590 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
4592         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
4594 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
4596         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
4597         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
4598         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
4600 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
4602         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
4603         (powerpc-wrs-vxworks): Likewise.
4605 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
4607         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
4608         signal frames as well.
4609         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
4610         STACK_BIAS to the CFA offset.
4612 2013-05-17  Richard Henderson  <rth@redhat.com>
4614         PR target/49146
4615         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
4616         (execute_cfa_program): Use it when storing to fs->regs.
4618 2013-05-08  Kai Tietz  <ktietz@redhat.com>
4620         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
4621         (__deregister_frame_info): Likewise.
4623 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
4625         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
4626         NaN's payload.
4628         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
4630 2013-04-25  Alan Modra  <amodra@gmail.com>
4632         * config.host: Match little-endian powerpc-linux.
4634 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
4636         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
4637         as 'unsigned long long' instead of 'unsigned long'.
4638         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
4639         'signed long'.
4641 2013-04-10  Julian Brown  <julian@codesourcery.com>
4643         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
4644         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
4645         unsigned char/unsigned short.
4646         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
4648 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4650         PR other/55274
4651         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
4653 2013-04-04  Meador Inge  <meadori@codesourcery.com>
4655         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
4656         computing the location of the link register.
4657         (aeabi_uldivmod): Ditto.
4659 2013-03-27  Kai Tietz  <ktietz@redhat.com>
4661         * config.host: Add support for cygwin x64 target.
4662         * configure: Regenerated.
4664 2013-03-26  Walter Lee  <walt@tilera.com>
4666         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
4667         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
4669 2013-03-25  Kai Tietz  <ktietz@redhat.com>
4671         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
4673 2013-03-20  Robert Mason  <rbmj@verizon.net>
4675         * config/vxlib-tls.c (__gthread_get_tsd_data,)
4676         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
4677         (__gthread_leave_tsd_dtor_context): Add prototypes.
4678         (tls_delete_hook): Update.
4680 2013-03-20  Catherine Moore  <clm@codesourcery.com>
4681             Joseph Myers  <joseph@codesourcery.com>
4682             Chao-ying Fu  <fu@mips.com>
4684         * config/mips/mips16.S:  Don't build for microMIPS.
4685         * config/mips/linux-unwind.h: Handle microMIPS frame.
4686         * config/mips/crtn.S (fini, init): New labels.
4688 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
4690         PR tree-optimization/53265
4691         * unwind-dw2.c (execute_cfa_program): Avoid
4692         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
4693         on targets with DWARF_FRAME_REGISTERS < 32.
4695 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
4697         PR target/49880
4698         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
4699         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
4701 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
4703         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
4704         sandybridge processors.
4706 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
4708         PR target/56529
4709         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
4710         inclusion list.
4712 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4714         * config/microblaze/crti.S: Setup stack protection at entry
4716 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
4718         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
4719         (__rotldi3): Shift bytewise if applicable.
4721 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
4723         * config/aarch64/sync-cache.c
4724         (__aarch64_sync_cache_range): Silence warnings.
4726 2013-02-25  Catherine Moore  <clm@codesourcery.com>
4728         Revert:
4729         2013-02-24  Catherine Moore  <clm@codesourcery.com>
4730             Joseph Myers  <joseph@codesourcery.com>
4731             Chao-ying Fu  <fu@mips.com>
4733         * config/mips/mips16.S:  Don't build for microMIPS.
4734         * config/mips/linux-unwind.h: Handle microMIPS frame.
4735         * config/mips/crtn.S (fini, init): New labels.
4737 2013-02-24  Catherine Moore  <clm@codesourcery.com>
4738             Joseph Myers  <joseph@codesourcery.com>
4739             Chao-ying Fu  <fu@mips.com>
4741         * config/mips/mips16.S:  Don't build for microMIPS.
4742         * config/mips/linux-unwind.h: Handle microMIPS frame.
4743         * config/mips/crtn.S (fini, init): New labels.
4745 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4746         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
4747         as dividend.
4749 2013-02-16  Alan Modra  <amodra@gmail.com>
4751         PR target/55431
4752         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
4753         (ppc_fallback_frame_state): Always set up save locations for fp
4754         and altivec.  Don't bother with non-callee-saved regs, r0-r13
4755         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
4757 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
4759         PR target/54222
4760         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
4761         _ssmulHA, _ssmulSA.
4762         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
4763         _ssmulha3, _usmulusa3, _ssmulsa3.
4764         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
4765         (__muldi3): XCALL __muldi3_6 instead of rcall.
4766         (__umulsidi3, __mulsidi3): New functions.
4767         (do_prologue_saves, do_epilogue_restores): New .macros.
4768         (__divdi3_moddi3): Use them.
4769         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
4770         (__usmulusa3, __ssmulsa3): New functions.
4772 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
4773             Jack Howarth  <howarth@bromo.med.uc.edu>
4774             Patrick Marlier  <patrick.marlier@gmail.com>
4776         PR libitm/55693
4777         * config/darwin-crt-tm.c: Remove dummy functions hack.
4779 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
4781         PR target/54222
4782         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
4783         * config/avr/lib2-object.mk: New iterator to build objects from it.
4784         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
4785         lib2funcs.c.
4786         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
4787         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
4788         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
4789         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
4790         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
4791         * config/avr/lib1funcs-fixed.S: Implement them.
4793 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
4795         Update copyright years.
4797 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
4799         PR target/54601
4800         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
4801         Add crtcxa to extra_parts.
4802         * config/rs6000/exit.h: New file.
4803         * config/rs6000/cxa_atexit.c: New file.
4804         * config/rs6000/cxa_finalize.c: New file.
4805         * config/rs6000/crtcxa.c: New file.
4806         * config/rs6000/t-aix-cxa: New file.
4807         * config/rs6000/libgcc-aix-cxa.ver: New file.
4809 2013-01-31  Nick Clifton  <nickc@redhat.com>
4811         * config/v850/lib1funcs.S: Add support for e3v5 architecture
4812         variant.
4814 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
4816         PR target/54222
4817         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
4818         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
4819         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
4820         _divQQ,  _divHQ,  _divHA,  _divSA,
4821         _divUQQ, _divUHQ, _divUHA, _divUSA.
4823 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
4825         * config.host(microblaze*-linux*): tmake_file: Remove
4826         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
4827         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
4828         to exclude functions from being built with libgcc.c and use
4829         the microblaze assembly.
4831 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4833         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
4834         extra_parts.
4836 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
4838         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
4839         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
4840         __UINTPTR_TYPE__; also cast 'base' to the same type before the
4841         alignment operation.
4843 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
4845         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
4846         loop start address for cache clearing.
4848 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
4850         * config/avr/lib1funcs.S: Remove trailing blanks.
4851         * config/avr/lib1funcs-fixed.S: Ditto.
4853 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
4855         * config/avr/avr-lib.h: Add GPL copyright notice.
4857 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
4859         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
4860         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
4861         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
4862         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
4864 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
4866         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
4867         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
4869 2013-01-04  Nick Clifton  <nickc@redhat.com>
4871         * config/v850/lib1funcs.S: Only provide CALLT support functions if
4872         the CALLT instruction is supported.
4874 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
4876         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
4877         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
4879 2012-12-13  John Tytgat  <John@bass-software.com>
4881         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
4882         is 25.
4884 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
4886         PR libgcc/55451
4887         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
4888         undefined signed overflows.
4890 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
4892         PR target/55344
4893         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
4895 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
4897         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
4898         (FP_TRAPPING_EXCEPTIONS): Define.
4899         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
4900         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
4902 2012-12-04  Richard Henderson  <rth@redhat.com>
4904         PR bootstrap/55571
4905         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
4907 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4909         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
4910         (FP_EX_SHIFT): Define.
4911         (FP_TRAPPING_EXCEPTIONS): Define.
4913 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4915         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
4916         (FP_ROUNDMODE): Use FP_RND_MASK.
4917         * config/aarch64/sfp-exceptions.c: New.
4918         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4919         Use __sfp_handle_exceptions.
4921 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
4923         * config.host: (arm*-*-freebsd*): Remove.
4924         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
4925         (arm*-*-elf*): Remove.
4926         (arm*-*-wince-pe*): Remove.
4927         * arm/unwind-arm.c (struct fpa_reg): Delete.
4928         (struct fpa_regs): Delete.
4929         (phase1_vrs): Remove fpa element.
4930         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
4931         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
4932         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
4933         * ieee754-sf.S (floatundisf): Remove FPA support.
4934         (floatdisf): Likewise.
4935         * ieee75f-df.S (floatundidf): Likewise.
4936         (floatdidf): Likewise.
4938 2012-11-29  Kai Tietz  <ktietz@redhat.com>
4940         PR target/55445
4941         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
4942         * unwind-generic.h: Likewise.
4943         * unwind-seh.c: Likewise.
4945 2012-11-28  Richard Henderson  <rth@redhat.com>
4947         PR libgcc/48076
4948         * emutls.c (__emutls_get_address): Avoid race condition between
4949         obj->loc.offset read and emutls_key initialization.
4951 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
4953         Adjust decimal point of signed accum mode to GCC default.
4955         PR target/54222
4956         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
4957         _divqq_helper.
4958         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
4959         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
4960         (__mulha3, __mulsa3)
4961         (__divqq3, __divha3, __divsa3): Adjust to new position of
4962         decimal point of signed accum types.
4964         (__mulusa3_round): New function.
4965         (__mulusa3): Use it.
4966         (__divqq_helper): New function.
4967         (__udivuqq3): Use it.
4969 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
4971         PR bootstrap/55370
4972         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
4974 2012-11-18  Teresa Johnson  <tejohnson@google.com>
4976         PR bootstrap/55051
4977         * libgcov.c (gcov_exit): Remove merged program summary
4978         comparison unless !GCOV_LOCKED.
4980 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4982         * soft-fp: Updated from glibc upstream.
4984 2012-11-06  Ian Lance Taylor  <iant@google.com>
4986         * generic-morestack.c (__generic_morestack): Align the returned
4987         stack pointer to a 32 byte boundary.
4988         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
4989         increment the return address until we have decided that we don't
4990         have a varargs function.
4991         (__morestack) [32-bit]: Align stack correctly when calling C
4992         functions.
4993         (__morestack) [64-bit]: Likewise.
4995 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
4997         * configure: Regenerate.
4999 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
5001         PR target/55175
5002         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5003         * config/i386/sfp-machine.h: Guard exception handling
5004         code with _SOFT_FLOAT.
5005         * config/i386/32/sfp-machine.h: Guard rounding handling
5006         code with _SOFT_FLOAT.
5007         * config/i386/64/sfp-machine.h: Ditto.
5009 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
5011         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5012         as extra_parts.
5014 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
5016         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5017         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
5018         when appropriate.  Correct structure element types.
5019         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5020         -minline-all-stringops from compile flags.
5022 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
5024         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5026 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
5028         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
5030 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5032         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5033         tmake_file.
5035 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
5036             Jim MacArthur  <jim.macarthur@arm.com>
5037             Marcus Shawcroft  <marcus.shawcroft@arm.com>
5038             Nigel Stephens  <nigel.stephens@arm.com>
5039             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
5040             Richard Earnshaw  <rearnsha@arm.com>
5041             Sofiane Naci  <sofiane.naci@arm.com>
5042             Stephen Thomas  <stephen.thomas@arm.com>
5043             Tejas Belagod  <tejas.belagod@arm.com>
5044             Yufeng Zhang  <yufeng.zhang@arm.com>
5046         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5047         * config/aarch64/crti.S: New file.
5048         * config/aarch64/crtn.S: New file.
5049         * config/aarch64/linux-unwind.h: New file.
5050         * config/aarch64/sfp-machine.h: New file.
5051         * config/aarch64/sync-cache.c: New file.
5052         * config/aarch64/t-aarch64: New file.
5053         * config/aarch64/t-softfp: New file.
5055 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
5057         * config/mmix/crti.S: Mark program and data addresses using PRELD.
5058         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
5059         no-longer-needed LDBU insns.
5061 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5063         * config.host
5064         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5065         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5067 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
5069         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5071 2012-10-15  Matthias Klose  <doko@ubuntu.com>
5073         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5075 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
5077         * configure: Regenerate.
5078         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5080 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
5082         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5083         instructions for 64bit targets only.
5085 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
5087         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5088         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5089         * config/i386/32/sfp-machine.h: ... here.
5090         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5091         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5092         New defines.
5094 2012-10-07  Matthias Klose  <doko@ubuntu.com>
5096         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5097         as unused.
5098         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5100 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
5102         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5103         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5104         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5105         (ElfW): Likewise.
5107 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
5109         PR other/53889
5110         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5111         Fix parameter names.
5113 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
5115         PR target/33135
5116         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5117         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5118         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5120 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
5122         PR target/50457
5123         * config/sh/linux-atomic.S: Delete.
5124         * config/sh/linux-atomic.c: New.
5125         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5126         linux-atomic.c.  Add cflags to disable warnings.
5128 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
5130         PR other/53889
5131         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5132         function.
5133         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5134         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5135         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5136         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5137         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5138         Likewise.
5139         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5140         Likewise.
5141         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5142         Likewise.
5143         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5144         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5146 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
5148         * config.host (hppa-*-openbsd*): New target.
5149         * config/pa/t-openbsd: New file.
5151 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
5153         PR target/54222
5154         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5155         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5156         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5157         (__divsa3): Use __negsi2 to negate r_quoL.
5158         * config/avr/lib1funcs.S (FALIAS): New macro.
5159         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5160         (__negsi2): ...this new function.
5161         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5162         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5163         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5164         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5165         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5166         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5168 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
5170         PR target/54089
5171         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5172         (lshrsi3): Reimplement as lshrsi3_r0.
5174 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
5176         PR target/46191
5177         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5178         of libgcc.a.
5180 2012-09-07  Teresa Johnson  <tejohnson@google.com>
5182         PR gcov-profile/54487
5183         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
5184         differences.
5186 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
5188         PR target/54461
5189         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5190         not configured --with-avrlibc=no.
5191         * config/avr/t-avrlibc: New file.
5192         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5193         (DPBIT_FUNCS): Ditto.
5194         (TPBIT_FUNCS): Ditto.
5196 2012-09-04  Teresa Johnson  <tejohnson@google.com>
5198         * libgcov.c (struct gcov_summary_buffer): New structure.
5199         (gcov_histogram_insert): New function.
5200         (gcov_compute_histogram): Ditto.
5201         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5202         histograms during summary merging.
5204 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
5206         * config.host (x86_64-*-openbsd*): New target.
5208 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
5210         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5211         attribute.
5213 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
5215         PR target/54222
5216         * config/avr/t-avr (conv_X): Rename to func_X.
5218 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
5220         PR target/54222
5221         * config/avr/lib1funcs-fixed.S: New file.
5222         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
5223         after they are used.
5224         (neg2, neg4): New macros.
5225         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5226         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5227         (__umulhisi3): Speed up MUL variant if there is enough flash.
5228         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5229         avr-modes.def.
5230         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5231         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5232         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5233         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5234         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5235         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5236         (LIB2FUNCS_EXCLUDE): Add supported functions.
5238 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
5240         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5241         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5242         libgcc-s-objects.
5243         * fixed-obj.mk: Only expand dependency if $o is not in
5244         LIB2FUNCS_EXCLUDE.
5246 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
5248         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5250 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
5252         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5253         depend on --enable-shared.
5254         ($(lib1asmfuncs-o)): Use %.vis files independent of
5255         --enable-shared.
5256         * static-object.mk ($(base)$(objext), $(base).vis)
5257         ($(base)_s$(objext)): Use same rules for visibility handling as in
5258         shared-object.mk.
5260 2012-08-21  Ian Lance Taylor  <iant@google.com>
5262         * config/i386/morestack.S (__morestack_non_split): Increase amount
5263         of space allocated for non-split code stack.
5265 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
5267         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5268         even if inhibit_libc.
5270 2012-08-17  Julian Brown  <julian@codesourcery.com>
5272         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5273         -fexceptions -fnon-call-exceptions if not defined.
5274         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5275         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5277 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
5279         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5280         type.
5282 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
5284         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5285         rs6000/t-slibgcc-aix.
5287 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
5289         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5291 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
5293         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5295 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
5297         PR driver/54171
5298         * Makefile.in (version): Replace top_srcdir with srcdir.
5300 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
5302         * Makefile.in (version): set to BASE-VER file from gcc directory.
5304 2012-08-01  Nick Clifton  <nickc@redhat.com>
5306         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5307         Implements __clrsb for an HImode argument.
5309 2012-07-31  Nick Clifton  <nickc@redhat.com>
5311         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5312         Implements __clrsb for an HImode argument.
5313         * config/stormy16/clrsbhi2.c: New file:
5314         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5316 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
5318         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5320 2012-07-19  Tristan Gingold  <gingold@adacore.com>
5321             Richard Henderson  <rth@redhat.com>
5323         * unwind-seh.c: New file.
5324         * unwind-generic.h: Include windows.h for SEH.
5325         (_Unwind_Exception): Use 6 private fields for SEH.
5326         (_GCC_specific_handler): Declare.
5327         * unwind-c.c (__gcc_personality_seh0): New function.
5328         Adjust for SEH.
5329         * config/i386/libgcc-cygming.ver: New file.
5330         * config/i386/t-seh-eh: New file.
5331         * config.host (x86_64-*-mingw*): Default to seh.
5333 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
5335         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5337 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
5339         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5340         __builtin_expect when checking for exceptions.
5341         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5343 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
5345         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5346         function declaration.
5347         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5348         (FP_RND_MASK): New.
5349         * config/ia64/sfp-exceptions.c: New.
5350         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
5352 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
5354         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5355         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5356         * config/i386/64/sfp-machine: ... (delete here) ...
5357         * config/i386/sfp-machine.h: ... to here.
5358         (FP_EX_MASK): Remove.
5359         (FP_RND_MASK): New.
5360         (FP_INIT_ROUNDMODE): Declare asm as volatile.
5362 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
5364         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5365         * config/i386/libgcc-sol2.ver: Ditto.
5366         * config/i386/libgcc-glibc.ver: Ditto.
5368 2012-06-11  Roland McGrath  <mcgrathr@google.com>
5370         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5371         If __GLIBC__ is defined, refer to __pthread_key_create instead of
5372         pthread_cancel.
5374 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
5376         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5377         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5378         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5379         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5380         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5381         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5382         * config/i386/64/sfp-machine: ... (delete here) ...
5383         * config/i386/sfp-machine.h: ... to here.
5384         (FP_EX_MASK): New.
5385         (__sfp_handle_exceptions): New function declaration.
5386         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5387         * config/i386/sfp-exceptions.c: New.
5388         * config/i386/t-softfp: New.
5389         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5390         i386/t-softfp to tmake_file.
5392 2012-06-03  David S. Miller  <davem@davemloft.net>
5394         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5395         change.
5397 2012-05-31  David S. Miller  <davem@davemloft.net>
5399         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5400         multiply and divide instructions on 32-bit when V9.
5401         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5403 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
5405         * config/arm/ieee754-df.S: Fix typos.
5406         * config/arm/ieee754-sf.S: Fix typos.
5407         * config/c6x/libunwind.S: Fix typos.
5408         * config/epiphany/udivsi3-float.c: Fix typos.
5409         * config/microblaze/muldi3_hard.S: Fix typos.
5410         * config/picochip/adddi3.S: Fix typos.
5411         * config/picochip/ashlsi3.S: Fix typos.
5412         * config/picochip/ashrsi3.S: Fix typos.
5413         * config/picochip/clzsi2.S: Fix typos.
5414         * config/picochip/cmpsi2.S: Fix typos.
5415         * config/picochip/divmod15.S: Fix typos.
5416         * config/picochip/divmodhi4.S: Fix typos.
5417         * config/picochip/divmodsi4.S: Fix typos.
5418         * config/picochip/longjmp.S: Fix typos.
5419         * config/picochip/lshrsi3.S: Fix typos.
5420         * config/picochip/parityhi2.S: Fix typos.
5421         * config/picochip/popcounthi2.S: Fix typos.
5422         * config/picochip/setjmp.S: Fix typos.
5423         * config/picochip/subdi3.S: Fix typos.
5424         * config/picochip/ucmpsi2.S: Fix typos.
5425         * config/picochip/udivmodhi4.S: Fix typos.
5426         * config/picochip/udivmodsi4.S: Fix typos.
5427         * config/spu/divv2df3.c: Fix typos.
5428         * config/spu/mfc_multi_tag_release.c: Fix typos.
5429         * config/spu/mfc_tag_release.c: Fix typos.
5430         * configure.ac: Fix typos.
5431         * configure: Regenerate.
5433 2012-05-25  Ian Lance Taylor  <iant@google.com>
5435         * config/i386/morestack.S (__morestack_non_split): Check whether
5436         caller is varargs and needs %bp to hold the stack frame on return.
5438 2012-05-25  Olivier Hainque  <hainque@adacore.com>
5440         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5441         sequence in the non pic case on VxWorks.
5443 2012-05-24  Olivier Hainque  <hainque@adacore.com>
5445         * Makefile.in: Move dependency on install-unwind_h from
5446         "install-leaf" to "install".
5448 2012-05-24  Olivier Hainque  <hainque@adacore.com>
5450         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5451         Use a separate command for stamp removals.
5453 2012-05-21  Andrew Pinski  <apinski@cavium.com>
5455         PR bootstrap/53183
5456         * configure.ac: Define the default includes to being none.
5457         * configure: Regenerate.
5459 2012-05-16  Olivier Hainque  <hainque@adacore.com>
5461         * Makefile.in (install-unwind_h): Rename into ...
5462         (install-unwind_h-forbuild): New target.
5463         (all): Use it instead of the former install-unwind_h.
5464         (install-unwind_h): Reinstate, copy to user install destination
5465         for include files, not to the internal gcc object directory one.
5466         (install-leaf): Depend on it.
5468 2012-05-15  Olivier Hainque  <hainque@adacore.com>
5470         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5471         register numbers. LR_REGNO replaces R_LR.
5472         (ucontext_for): New, helper for ...
5473         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5474         and 5.3 of ...
5475         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5477 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5479         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
5480         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
5481         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
5482         i386/t-cpuinfo ...
5483         (i[34567]86-*-*, x86_64-*-*): ... here.
5485         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
5486         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
5488         * config/i386/i386-cpuinfo.c: Rename to ...
5489         * config/i386/cpuinfo.c: ... this.
5490         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
5492         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
5493         (libgcc_cv_init_priority): New test.
5494         * configure: Regenerate.
5495         * config.in: New file.
5496         * Makefile.in (clean): Rename config.h to auto-target.h.
5497         (config.h): Likewise.
5498         (stamp-h): Likewise.
5500         * config/i386/cpuinfo.c (auto-target.h): Include.
5501         (CONSTRUCTOR_PRIORITY): Define.
5502         (__cpu_indicator_init): Use it.
5504 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
5506         * longlong.h: Use a URL instead of an FSF postal address.
5507         Replace spaces with tab.
5509 2012-05-08  Teresa Johnson  <tejohnson@google.com>
5511         * libgcov.c (gcov_clear, __gcov_reset): New functions.
5512         (__gcov_dump): Ditto.
5513         (gcov_dump_complete): New global variable.
5514         (gcov_exit): Export hidden to enable use in L_gcov_dump.
5515         (__gcov_flush): Outline functionality now in gcov_clear.
5516         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
5518 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
5520         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
5521         (mips*-*-linux*): Include mips/t-tpbit when long double is
5522         16 bytes long.
5524 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
5526         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
5527         (get_available_features): New argument. Check for AVX2.
5528         (__cpu_indicator_init): Modify call to get_available_features.
5530 2012-04-25  Alan Modra  <amodra@gmail.com>
5532         * config/rs6000/crtsavevr.S: New file.
5533         * config/rs6000/crtrestvr.S: New file.
5534         * config/rs6000/t-savresfgpr: Build the above.
5535         * config/rs6000/t-netbsd: Likewise.
5537 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
5539         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
5541 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
5543         * libgcc/config/i386/i386-cpuinfo.c: New file.
5544         * libgcc/config/i386/t-cpuinfo: New file.
5545         * libgcc/config.host: Include t-cpuinfo.
5546         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
5548 2012-04-24  Chao-ying Fu  <fu@mips.com>
5550         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
5552 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
5554         struct siginfo vs. siginfo_t
5556         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
5557         siginfo_t instead of struct siginfo.
5558         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
5559         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
5560         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
5561         (ia64_handle_unwabi): Likewise.
5562         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
5563         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
5564         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
5565         (sh_fallback_frame_state): Likewise.
5566         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
5567         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
5569 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
5571         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
5572         system call number.
5574 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
5576         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
5577         if it hasn't been previously saved.
5579 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
5581         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
5582         only for glibc.
5584 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
5586         PR target/52737
5587         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
5588         instead of __AVR_HAVE_8BIT_SP__.
5590 2012-03-26  Tristan Gingold  <gingold@adacore.com>
5592         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
5593         (unw_table_entry): Use unw_word instead of unsigned long.
5594         (_Unwind_FindTableEntry): Likewise.
5595         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
5596         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
5597         (_Unwind_FindTableEntry): Likewise.
5598         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
5599         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
5600         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
5601         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
5602         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
5603         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
5604         (uw_init_context_1, uw_install_context): Likewise.
5605         (unw_word): Move to unwind-ia64.h
5607 2012-03-26  Tristan Gingold  <gingold@adacore.com>
5609         * config/vms/vms-ucrt0.c: Update copyright years.
5610         Add a sanity check.
5611         (___gcc_main_flags): Declare.
5612         (__main): Check flags to remap argv and exit code.
5613         * config.host (*-*-*vms*): Adjust extra_parts.
5614         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
5615         (crt0.o): Add.
5617 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
5619         * arm/lib1funcs.asm (ctzsi2): New function.
5620         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
5621         * arm/t-linux (LIB1ASMFUNCS): Likewise.
5622         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
5623         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
5624         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
5625         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
5627 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
5629         * config.host: Add bits to support powerpc64-*-freebsd*.
5630         * config/rs6000/freebsd-unwind.h: New file.
5631         * config/rs6000/t-freebsd64: New file.
5633 2012-03-20  Richard Guenther  <rguenther@suse.de>
5635         PR gcov-profile/52627
5636         * libgcov.c (init_mx): Fix mutex name.
5638 2012-03-16  Tristan Gingold  <gingold@adacore.com>
5640         * config/ia64/vms-unwind.h: Remove ulong (and replace
5641         it by unw_reg where used).  Define unw_reg with __int64.
5643 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5645         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5646         Solaris 8 handling.
5647         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5648         Solaris 8 handling.
5649         (sparc_is_sighandler): Likewise.
5651 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
5653         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
5654         <= saved reg size.
5656 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5658         * config/arm/crtn.S: Fix typo.
5660 2012-03-13  Richard Guenther  <rguenther@suse.de>
5662         * libgcov.c: Remove stdio.h include and NULL un-define.
5664 2012-03-13  Richard Guenther  <rguenther@suse.de>
5666         PR target/52569
5667         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
5669 2012-03-13  Richard Guenther  <rguenther@suse.de>
5671         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
5673 2012-03-13  Richard Guenther  <rguenther@suse.de>
5675         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
5676         and __gthread_mutex_init_function definitions.
5678 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5680         * config.host (mips*-*-openbsd*): Remove.
5682 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5684         * config.host: Remove alpha*-dec-osf5.1* handling.
5685         * config/alpha/gthr-posix.c: Remove.
5686         * config/alpha/libgcc-osf5.ver: Remove.
5687         * config/alpha/osf5-unwind.h: Remove.
5688         * config/alpha/t-osf-pthread: Remove.
5689         * config/alpha/t-slibgcc-osf: Remove.
5690         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
5691         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
5692         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
5693         * mkmap-flat.awk: Remove osf_export handling.
5695 2012-03-12  Richard Guenther  <rguenther@suse.de>
5697         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
5698         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5699         (__gthread_mutex_init_function): New function.
5700         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5702         PR gcov/49484
5703         * libgcov.c: Include gthr.h.
5704         (__gcov_flush_mx): New global variable.
5705         (init_mx, init_mx_once): New functions.
5706         (__gcov_flush): Protect self with a mutex.
5707         (__gcov_fork): Re-initialize mutex after forking.
5708         * unwind-dw2-fde.c: Change condition under which to use
5709         __GTHREAD_MUTEX_INIT_FUNCTION.
5711 2012-03-12  Tristan Gingold  <gingold@adacore.com>
5713         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
5714         * config/ia64/t-vms: Likewise.
5716 2012-03-11  Michael Hope  <michael.hope@linaro.org>
5718         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
5719         for Thumb-2.
5721 2012-03-07  Walter Lee  <walt@tilera.com>
5723         * config/tilepro/atomic.c: Rename "atomic_" prefix to
5724         "arch_atomic_".
5725         (atomic_xor): Rename and move definition to
5726         config/tilepro/atomic.h.
5727         (atomic_nand): Ditto.
5728         * config/tilepro/atomic.h: Rename "atomic_" prefix to
5729         "arch_atomic_".
5730         (arch_atomic_xor): Move from config/tilepro/atomic.c.
5731         (arch_atomic_nand): Ditto.
5733 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5735         PR target/52507
5736         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
5738 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5740         PR target/52505
5741         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
5742         from RAM.
5744 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5746         PR target/52461
5747         PR target/52508
5748         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
5749         if RAMPZ affects reading from RAM.
5750         (__tablejump_elpm__): Ditto.
5751         (.xload): Ditto.
5752         (__movmemx_hi): Ditto.
5753         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
5754         (__do_global_dtors): Ditto.
5755         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
5756         (__movmemx_hi): Ditto.
5758 2012-03-05  Richard Henderson  <rth@redhat.com>
5760         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
5761         [ARM] (count_trailing_zeros): Use the builtin.
5763 2012-03-01  Kai Tietz  <ktietz@redhat.com>
5765         * soft-fp: Imported from glibc upstream.
5767 2012-02-28  Kai Tietz  <ktietz@redhat.com>
5769         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
5770         for mingw-targets as attribute gcc_struct.
5772 2012-02-28  Ian Lance Taylor  <iant@google.com>
5774         * generic-morestack.c (__splitstack_releasecontext): Correct call
5775         to __morestack_release_segments.
5777 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5779         PR target/52390
5780         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
5781         for __linux__ when removing signals from __morestack_fullmask.
5783 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
5785         PR target/52261
5786         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
5788 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5790         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
5791         instead of HAVE_INITFINI_ARRAY.
5792         * config/ia64/crtend.S: Likewise.
5794 2012-02-20  Kai Tietz  <ktietz@redhat.com>
5796         PR libstdc++/52300
5797         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
5799         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
5800         to w32-unwind.h header.
5802 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
5804         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
5805         (mips*-*-linux*): Remove t-slibgcc-libgcc.
5806         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
5807         * config/mips/mips16.S (__mips16_rdhwr): Delete.
5809 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
5811         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
5813 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
5815         PR libitm/52220
5816         * config/darwin-crt-tm.c: Correct typo.
5818 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
5819             Patrick Marlier  <patrick.marlier@gmail.com>
5821         PR libitm/52220
5822         * config/darwin-crt-tm.c: Generate dummy functions.
5824 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
5825             Patrick Marlier  <patrick.marlier@gmail.com>
5827         PR libitm/52042
5828         * config/darwin-crt-tm.c (getTMCloneTable): New function.
5829         (__doTMRegistrations): Call it.
5830         (__doTMdeRegistrations): Likewise.
5832 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
5833             Anatoly Sokolov  <aesok@post.ru>
5834             Eric Weddington  <eric.weddington@atmel.com>
5836         PR target/52261
5837         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
5838         (__epilogue_restores__): Ditto.
5840 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
5842         PR target/51921
5843         PR target/52205
5844         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
5845         Solaris 11 and slightly reformat.
5846         (sparc_is_sighandler): Likewise.
5848 2012-02-14  Walter Lee  <walt@tilera.com>
5850         * config.host: Handle tilegx and tilepro.
5851         * config/tilegx/sfp-machine.h: New file.
5852         * config/tilegx/sfp-machine32.h: New file.
5853         * config/tilegx/sfp-machine64.h: New file.
5854         * config/tilegx/t-crtstuff: New file.
5855         * config/tilegx/t-softfp: New file.
5856         * config/tilegx/t-tilegx: New file.
5857         * config/tilepro/atomic.c: New file.
5858         * config/tilepro/atomic.h: New file.
5859         * config/tilepro/linux-unwind.h: New file.
5860         * config/tilepro/sfp-machine.h: New file.
5861         * config/tilepro/softdivide.c: New file.
5862         * config/tilepro/softmpy.S: New file.
5863         * config/tilepro/t-crtstuff: New file.
5864         * config/tilepro/t-tilepro: New file.
5866 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
5868         PR libstdc++/51296
5869         PR libstdc++/51906
5870         * gthr-posix.h: Allow static initializer macros to be disabled.
5871         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
5873 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
5875         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
5876         Add t-slibgcc-libgcc to tmake_file.
5877         * config/mips/libgcc-mips16.ver: Revert previous patch.
5878         * config/mips/mips16.S (__mips16_rdhwr): Hide.
5880 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
5881             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
5883         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
5884         * config/cr16/crti.S: New file.
5885         * config/cr16/crtlibid.S: New file.
5886         * config/cr16/crtn.S: New file.
5887         * config/cr16/lib1funcs.S: New file.
5888         * config/cr16/t-cr16: New file.
5889         * config/cr16/t-crtlibid: New file.
5890         * config/cr16/unwind-dw2.h: New file.
5891         * config/cr16/unwind-cr16.c: New file.
5892         * config/cr16/divmodhi3.c: New file.
5894 2012-01-25  Alan Modra  <amodra@gmail.com>
5896         * config/rs6000/t-linux64: Delete.  Move..
5897         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
5898         * config/rs6000/t-linux: ..and libgcc flags to here.
5900 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
5902         * config.host (i[34567]86-*-interix3*):
5903         Change triplet to i[34567]86-*-interix[3-9]*.
5904         * configure: Regenerate.
5906 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
5907             Richard Sandiford  <rdsandiford@googlemail.com>
5909         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
5910         * config/mips/mips16.S (__mips16_rdhwr): New function.
5911         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
5913 2012-01-11  Nathan Sidwell  <nathan@acm.org>
5915         * libgcov.c (__gcov_init): Ignore objects with no functions.
5917 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
5919         PR target/49868
5920         Extend __pgmx semantics to linearize memory.
5921         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
5922         * config/avr/lib1funcs.S (__xload_1): New function.
5923         (__movmemx_qi, __movmemx_hi): New functions.
5924         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
5925         semantics.
5927 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
5929         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
5930         purported sigacthandler address isn't null before dereferencing it.
5931         (sparc_is_sighandler): Likewise.
5933 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
5935         PR ada/41929
5936         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
5937         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
5938         (sparc_is_sighandler): Likewise.
5939         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
5941 2012-01-06  Tristan Gingold  <gingold@adacore.com>
5943         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
5944         compatibility thunks...
5945         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
5946         (crtbeginS.o, crtendS.o): ... and these to ...
5947         * config/ia64/t-ia64-elf: ... this new file.
5948         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
5949         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
5951 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5953         * configure: Regenerate.
5954         * config/s390/t-crtstuff: Remove -fPIC.
5956 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
5958         PR bootstrap/51006
5959         * enable-execute-stack-mprotect.c (getpagesize): Do not define
5960         for NetBSD.
5962 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
5964         PR target/51345
5965         * config/avr/lib1funcs.S: Remove FIXME comments.
5966         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
5968 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
5970         Implement light-weight DImode support.
5971         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
5972         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
5973         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
5974         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
5976 2011-12-30  Nathan Sidwell  <nathan@acm.org>
5978         * libgcov.c (gcov_crc32): Remove global var.
5979         (free_fn_data): New function.
5980         (buffer_fn_data): Pass in filename, more robust error recovery.
5981         (crc32_unsigned): New function.
5982         (gcov_exit): More robust detection of new program. More robust
5983         error recovery.
5984         (__gcov_init): Do not update program's crc here.
5986 2011-12-21  Tristan Gingold  <gingold@adacore.com>
5988         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
5990 2011-12-21  Ian Lance Taylor  <iant@google.com>
5992         * config/i386/morestack.S: Simplify CFI opcodes throughout.
5994 2011-12-20  Ian Lance Taylor  <iant@google.com>
5996         * config/i386/morestack.S (__morestack_non_split): If there is
5997         enough stack space already, don't split.  Ask for more stack space
5998         than we required.
6000 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
6002         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6003         `sys/sdt.h'.
6004         (_Unwind_DebugHook): New function.
6005         (uw_restore_core_regs): New define.
6006         (unwind_phase2): Use uw_restore_core_regs instead of
6007         restore_core_regs.
6008         (unwind_phase2_forced): Likewise.
6009         (__gnu_Unwind_Resume): Likewise.
6011 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
6013         * config/alpha/linux-unwind.h: Update copyright years.
6014         (MD_FROB_UPDATE_CONTEXT): New define.
6015         (alpha_frob_update_context): New function.
6017 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
6019         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6020         tmake_file rather replacing it.
6022 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
6024         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
6025         function is not used for PPC64.
6026         (save_world): Amend comments.  Update the VRsave mask to reflect the
6027         saved regs.
6028         (rest_world): Update comments, do not  clobber r10, do not use r8.
6029         (eh_rest_world_r10): Amend comments, do not use r8.
6030         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6031         no longer used, move restore of CR and target address to the end of
6032         the routine.
6034 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
6036         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6037         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6039 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
6041         PR target/49313
6042         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6043         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6045 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
6047         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6049 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
6051         PR target/49313
6052         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6053         * config/avr/lib1funcs.S (__muldi3): New function.
6055 2011-12-06  Andrew Pinski  <apinski@cavium.com>
6057         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6058         size of func_ptr.
6059         (__frame_dummy_init_array_entry): Likewise.
6061 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
6063         Forward-port from gcc-4_6-branch r181936 2011-12-02.
6065         PR target/51345
6066         PR target/51002
6067         * config/avr/lib1funcs.S (__prologue_saves__,
6068         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6069         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
6071 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
6073         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6075 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6077         PR other/51272
6078         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6079         (_ITM_deregisterTMCloneTable): Likewise.
6080         (__register_frame_info): Fix unused warning.
6081         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6082         pthread_default_stacksize_np): Likewise.
6083         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
6085 2011-11-29  DJ Delorie  <dj@redhat.com>
6087         * config.host (rl78-*-elf): New case.
6088         * config/rl78: New directory for the Renesas RL78.
6090 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
6092         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
6093         formatting.
6095 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6097         PR other/51022
6098         * config/rs6000/t-savresfgpr: New file.
6099         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6100         $(srcdir)/config/rs6000/eabi.S.
6101         * config/rs6000/t-ppccomm-ldbl: Remove.
6102         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6103         tmake_file.
6104         (powerpc-*-eabispe*): Likewise.
6105         (powerpc-*-eabi*): Likewise.
6106         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6107         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6108         to tmake_file, remove rs6000/t-ppccomm-ldbl.
6109         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6110         tmake_file.
6111         (powerpc-*-eabisim*): Likewise.
6112         (powerpc-*-elf*): Likewise.
6113         (powerpc-*-eabialtivec*): Likewise.
6114         (powerpc-xilinx-eabi*): Likewise.
6115         (powerpc-*-rtems*): Likewise.
6116         (powerpcle-*-elf*): Likewise.
6117         (powerpcle-*-eabisim*): Likewise.
6118         (powerpcle-*-eabi*): Likewise.
6120 2011-11-27  Ian Lance Taylor  <iant@google.com>
6122         * generic-morestack.c (__splitstack_find): Check for NULL old
6123         stack value.
6124         (__splitstack_resetcontext): New function.
6125         (__splitstack_releasecontext): New function.
6126         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6128 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
6130         * config/darwin-crt-tm.c: Correct comments, use correct licence.
6132 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
6134         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6136 2011-11-26  Richard Henderson  <rth@redhat.com>
6138         * config/m68k/linux-atomic.c: New file.
6139         * config/m68k/t-linux: New file.
6140         * config.host (m68k-uclinux, m68k-linux): Use it.
6142 2011-11-26  Richard Henderson  <rth@redhat.com>
6144         * crtstuff.c (__TMC_LIST__): Mark used not unused.
6145         (__TMC_END__): Only declare if hidden is available; in the definition,
6146         if hidden is unavailable add a null record.
6147         (deregister_tm_clones, register_tm_clones): New.
6148         (__do_global_dtors_aux, frame_dummy): Use them.
6149         (__do_global_dtors, __do_global_ctors_1): Likewise.
6151 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
6153         * config/darwin-crt-tm.c: New file.
6154         * config.host (darwin): Build crttms.o crttme.o to provide
6155         startup and shutdown for tm clones.
6156         * config/t-darwin (crttms.o): New build rule.
6157         (crttme.o): Likewise.
6159 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
6161         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6162         et al.
6164 2011-11-21  Richard Henderson  <rth@redhat.com>
6166         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6167         (__TMC_LIST__, __TMC_END__): New.
6168         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6169         (__do_global_dtors): Likewise.
6170         (frame_dummy): Call _ITM_registerTMCloneTable.
6171         (__do_global_ctors_1): Likewise.
6173 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6175         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6176         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6177         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6178         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6179         * config/i386/t-darwin64: Remove.
6180         * config/sh/t-netbsd (LIB2ADD): Remove.
6182 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
6184         PR target/49313
6185         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6186         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6187         * config/avr/lib1funcs.S (wmov): New assembler macro.
6188         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6189         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6190         (__udivmod64): New function.
6191         (__negdi2): New function.
6193 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
6195         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6196         *-*-freebsd*aout*): Remove.
6198 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
6200         * static-object.mk (c_flags-$o): Save c_flags.
6201         ($(base)$(objext)): Use it.
6203 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
6205         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6207 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
6209         PR target/49868
6210         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6211         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6212         New functions.
6214 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
6216         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6217         functions.
6218         (aeabi_uidivmod): Likewise.
6219         (umodsi3): Likewise.
6220         (divsi3): Likewise.
6221         (aeabi_idivmod): Likewise.
6222         (modsi3): Likewise.
6224 2011-11-16  Tristan Gingold  <gingold@adacore.com>
6226         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6228 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
6230         PR target/49868
6231         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
6232         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6234 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6236         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6237         tmake_file list.
6238         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6239         * config/pa/t-stublib64: Delete.
6241 2011-11-12  Richard Henderson  <rth@redhat.com>
6243         * config/rs6000/linux-unwind.h (frob_update_context): Properly
6244         cast the pointer argument to _Unwind_SetGRPtr.
6246 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6248         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6250 2011-11-09  Ian Lance Taylor  <iant@google.com>
6252         * generic-morestack.c: Include <string.h>.
6253         (uintptr_type): Define.
6254         (struct initial_sp): Add dont_block_signals field.  Reduce size of
6255         extra array by 1.
6256         (allocate_segment): Set prev field to NULL.  Don't set
6257         __morestack_current_segment or __morestack_segments.
6258         (__generic_morestack): Update current->prev and *pp after calling
6259         allocate_segment.
6260         (__morestack_block_signals): Don't do anything if
6261         dont_block_signals is set.
6262         (__morestack_unblock_signals): Likewise.
6263         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
6264         uintptr_type.
6265         (__splitstack_block_signals): New function.
6266         (enum __splitstack_content_offsets): Define.
6267         (__splitstack_getcontext, __splitstack_setcontext): New functions.
6268         (__splitstack_makecontext): New function.
6269         (__splitstack_block_signals_context): New function.
6270         (__splitstack_find_context): New function.
6271         * config/i386/morestack.S (__morestack_get_guard): New function.
6272         (__morestack_set_guard, __morestack_make_guard): New functions.
6273         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6275 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6277         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6278         (i[34567]86-*-mingw*): ... here.
6279         (x86_64-*-mingw*): ... here.
6281 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6283         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6285 2011-11-07  Nathan Sidwell  <nathan@acm.org>
6287         * libgcov.c (struct gcov_fn_buffer): New struct.
6288         (buffer_fn_data): New helper.
6289         (gcov_exit): Rework for new gcov data structures.
6291 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
6293         PR target/49313
6294         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6296 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6298         * config.host (tmake_file): Correct comment.
6299         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6300         t-libgcc-pic.
6301         (bfin*-uclinux*): Likewise.
6302         (bfin*-linux-uclibc*): Likewise.
6303         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6305         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6306         assigning.
6307         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6308         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6309         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6310         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6311         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6312         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6313         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6314         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6315         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6316         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6317         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6318         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6319         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6321         * config/bfin/t-elf: Remove.
6322         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6324 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6326         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6327         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6328         (lm32-*-elf*, lm32-*-rtems*): Split into ...
6329         (lm32-*-elf*): ... this.
6330         (lm32-*-rtems*): ... and this.
6331         Add to tmake_file.
6332         (m32r-*-rtems*): Add to tmake_file.
6333         (moxie-*-rtems*): Likewise.
6334         (sparc-*-rtems*): Likewise.
6335         Remove t-rtems from tmake_file.
6336         (sparc64-*-rtems*): Likewise.
6337         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6338         instead.
6340 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6342         PR bootstrap/50982
6343         * config/gthr-posix.h: Move ...
6344         * gthr-posix.h: ... here.
6345         * config/gthr-lynx.h: Reflect this.
6346         * config/gthr-vxworks.h: Likewise.
6347         * config/rs6000/gthr-aix.h: Likewise.
6348         * configure.ac (target_thread_file): Likewise.
6349         * configure: Regenerate.
6351 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
6353         * config.host (arm*-*-rtemseabi*): New target.
6355 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6357         PR other/50991
6358         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6359         extra-parts.
6361 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
6363         * config.host (epiphany-*-elf*): New configuration.
6364         * config/epiphany: New Directory.
6366 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
6368         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6369         * config/avr/t-rtems: New.
6370         Filter out _exit from LIB1ASMFUNCS.
6372 2011-11-04  David S. Miller  <davem@davemloft.net>
6374         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6375         * configure: Rebuild.
6377 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6379         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6380         variable.
6382 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
6384         PR target/50931
6385         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6386         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6388 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
6390         PR target/50989
6391         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6393 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6395         * config/c6x/t-elf (LIB2ADDEH): Set.
6396         * config/c6x/t-c6x-elf: Remove.
6398 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6400         * config/i386/sol2-ci.S: Rename to ...
6401         * config/i386/crti.S: ... this.
6402         * config/i386/sol2-cn.S: Rename to ...
6403         * config/i386/crtn.S: ... this.
6404         * config/sparc/sol2-ci.S: Rename to ...
6405         * config/sparc/crti.S: ... this.
6406         * config/sparc/sol2-cn.S: Rename to ...
6407         * config/sparc/crtn.S: ... this.
6408         * config/t-sol2 (CUSTOM_CRTIN): Remove.
6409         (crti.o, crtn.o): Remove.
6411 2011-11-04  Tristan Gingold  <gingold@adacore.com>
6413         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6415 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
6417         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6419 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
6421         * config.host (crisv32-*-none, cris-*-none): Remove.
6422         (crisv32-*-elf): Append to tmake_file, don't just set it.
6423         (cris-*-elf): Add missing t-fdpbit to tmake_file.
6425 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6427         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6428         (ecrtn$(objext)): Likewise.
6429         (ncrti$(objext)): Likewise.
6430         (ncrtn$(objext)): Likewise.
6432 2011-11-03  Andreas Schwab  <schwab@redhat.com>
6434         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6436 2011-11-02  David S. Miller  <davem@davemloft.net>
6438         * configure.ac: Set host_address on sparc too.
6439         * configure: Regenerate.
6440         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6441         based upon host_address.
6442         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6444 2011-11-02  Jason Merrill  <jason@redhat.com>
6446         * config/rs6000/t-ppccomm: Add missing \.
6448 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6450         * gthr-single.h, gthr.h: New files.
6451         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6452         config/gthr-vxworks.h, config/i386/gthr-win32.h,
6453         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6454         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6455         * config/i386/gthr-win32.c: Include "gthr-win32.h".
6456         * configure.ac (thread_header): New variable.
6457         Set it depending on target_thread_file.
6458         (gthr-default.h): Link from $thread_header.
6459         * configure: Regenerate.
6460         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6462 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6464         * configure.ac (tm_file_): New variable.
6465         Determine from tm_file.
6466         (tm_file, tm_defines): Substitute.
6467         * configure: Regenerate.
6468         * mkheader.sh: New file.
6469         * Makefile.in (clean): Remove libgcc_tm.h.
6470         ($(objects)): Depend on libgcc_tm.h.
6471         (libgcc_tm_defines, libgcc_tm_file): New variables.
6472         (libgcc_tm.h, libgcc_tm.stamp): New targets.
6473         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6474         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6475         ($(extra-parts)): Depend on libgcc_tm.h.
6476         * config.host (tm_defines, tm_file): New variable.
6477         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6478         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6479         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
6480         (avr-*-rtems*): Likewise.
6481         (avr-*-*): Likewise.
6482         (frv-*-elf): Likewise.
6483         (frv-*-*linux*): Likewise.
6484         (h8300-*-rtems*): Likewise.
6485         (h8300-*-elf*): Likewise.
6486         (i[34567]86-*-darwin*): Likewise.
6487         (x86_64-*-darwin*): Likewise.
6488         (rx-*-elf): Likewise.
6489         (tic6x-*-uclinux): Likewise.
6490         (tic6x-*-elf): Likewise.
6491         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
6492         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
6493         * config/i386/cygming-crtbegin.c: Likewise.
6494         * config/i386/cygming-crtend.c: Likewise.
6495         * config/ia64/fde-vms.c: Likewise.
6496         * config/ia64/unwind-ia64.c: Likewise.
6497         * config/libbid/bid_gcc_intrinsics.h: Likewise.
6498         * config/rs6000/darwin-fallback.c: Likewise.
6499         * config/stormy16/lib2funcs.c: Likewise.
6500         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
6501         * crtstuff.c: Likewise.
6502         * dfp-bit.h: Likewise.
6503         * emutls.c: Likewise.
6504         * fixed-bit.c: Likewise.
6505         * fp-bit.c: Likewise.
6506         * generic-morestack-thread.c: Likewise.
6507         * generic-morestack.c: Likewise.
6508         * libgcc2.c: Likewise.
6509         * libgcov.c: Likewise.
6510         * unwind-dw2-fde-dip.c: Likewise.
6511         * unwind-dw2-fde.c: Likewise.
6512         * unwind-dw2.c: Likewise.
6513         * unwind-sjlj.c: Likewise.
6515 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6517         * configure.ac: Include ../config/picflag.m4.
6518         (GCC_PICFLAG): Call it.
6519         Substitute.
6520         * configure: Regenerate.
6521         * Makefile.in (gcc_srcdir): Remove.
6522         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
6523         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
6524         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
6525         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
6526         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
6527         Use $<.
6528         Remove comment.
6529         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
6530         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
6531         to refer to libgcc2.c.
6532         Use $<.
6533         * config/darwin-64.c: New file.
6534         * config/darwin-crt3.c: Remove comment.
6535         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
6536         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
6537         config/udivmodsi4.c: New files.
6538         * config/memcmp.c, config/memcpy.c, config/memmove.c,
6539         config/memset.c: New files.
6540         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
6541         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
6542         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
6543         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
6544         * config/t-openbsd-thread: New file.
6545         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
6546         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
6547         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
6548         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
6549         qrnnd.S.
6550         Adapt filename.
6551         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
6552         to refer to gthr-posix.c.
6553         * config/alpha/t-vms (LIB2ADD): Set.
6554         * config/alpha/vms-gcc_shell_handler.c: New file.
6555         * config/arm/bpabi.c, config/arm/fp16.c,
6556         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
6557         config/arm/unaligned-funcs.c: New files.
6558         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
6559         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6560         * config/arm/t-linux: Likewise.
6561         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
6562         * config/arm/t-netbsd: New file.
6563         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
6564         * config/arm/t-symbian (LIB2ADD_ST): Set.
6565         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
6566         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6567         * config/bfin/t-elf: New file.
6568         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
6569         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
6570         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
6571         config/c6x/ltf.c: New files.
6572         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
6573         (HOST_LIBGCC2_CFLAGS): Set.
6574         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
6575         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6576         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
6577         New files.
6578         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
6579         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
6580         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
6581         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
6582         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
6583         files.
6584         * config/frv/t-frv (LIB2ADD): Set.
6585         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6586         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
6587         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
6588         config/h8300/popcounthi2.c: New files.
6589         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6590         * config/i386/gthr-win32.c: New file.
6591         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
6592         * config/i386/t-cygwin: Likewise.
6593         * config/i386/t-darwin, config/i386/t-darwin64,
6594         config/i386/t-gthr-win32, config/i386/t-interix: New files.
6595         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
6596         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6597         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6598         * config/ia64/quadlib.c: New file.
6599         * config/ia64/t-hpux (LIB2ADD): Set.
6600         * config/ia64/t-ia64: Add comment.
6601         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
6602         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6603         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
6604         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
6605         * config/m32c/t-m32c (LIB2ADD): Set.
6606         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6607         * config/m32r/t-m32r: Likewise.
6608         * config/m68k/fpgnulib.c: New file.
6609         * config/m68k/t-floatlib (LIB2ADD): Set.
6610         (xfgnulib.c): New target.
6611         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
6612         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
6613         * config/mep/t-mep (LIB2ADD): Set.
6614         * config/microblaze/divsi3.asm: Rename to divsi3.S.
6615         * config/microblaze/moddi3.asm: Rename to moddi3.S.
6616         * config/microblaze/modsi3.asm: Rename to modsi3.S.
6617         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
6618         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
6619         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
6620         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
6621         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
6622         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
6623         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
6624         New files.
6625         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
6626         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
6627         * config/pa/fptr.c, config/pa/lib2funcs.S,
6628         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
6629         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6630         (LIB2ADD, LIB2ADD_ST): Set.
6631         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
6632         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
6633         Set.
6634         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
6635         * config/pdp11/t-pdp11: New file.
6636         * config/picochip/libgccExtras/adddi3.S,
6637         config/picochip/libgccExtras/ashlsi3.S,
6638         config/picochip/libgccExtras/ashrsi3.S,
6639         config/picochip/libgccExtras/clzsi2.S,
6640         config/picochip/libgccExtras/cmpsi2.S,
6641         config/picochip/libgccExtras/divmod15.S,
6642         config/picochip/libgccExtras/divmodhi4.S,
6643         config/picochip/libgccExtras/divmodsi4.S,
6644         config/picochip/libgccExtras/lshrsi3.S,
6645         config/picochip/libgccExtras/parityhi2.S,
6646         config/picochip/libgccExtras/popcounthi2.S,
6647         config/picochip/libgccExtras/subdi3.S,
6648         config/picochip/libgccExtras/ucmpsi2.S,
6649         config/picochip/libgccExtras/udivmodhi4.S,
6650         config/picochip/libgccExtras/udivmodsi4.S: New files.
6651         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
6652         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
6653         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
6654         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
6655         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
6656         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
6657         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
6658         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
6659         files.
6660         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
6661         (HOST_LIBGCC2_CFLAGS): Set.
6662         * config/rs6000/t-darwin64: New file.
6663         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
6664         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
6665         * config/rs6000/t-ppccomm (LIB2ADD): Add
6666         $(srcdir)/config/rs6000/tramp.S.
6667         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
6668         Add  $(srcdir)/config/rs6000/eabi.S.
6669         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
6670         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
6671         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
6672         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
6673         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
6674         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
6675         * config/rs6000/tramp.S: New file.
6676         * config/s390/t-tpf: Remove.
6677         * config/sh/linux-atomic.S: New file.
6678         * config/sh/t-linux (LIB2ADD): Set.
6679         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
6680         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6681         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
6682         to unwind-dw2.c.
6683         (HOST_LIBGCC2_CFLAGS): Set.
6684         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6685         * config/spu/divmodti4.c, config/spu/divv2df3.c,
6686         config/spu/float_disf.c, config/spu/float_unsdidf.c,
6687         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
6688         config/spu/mfc_multi_tag_release.c,
6689         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
6690         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
6691         config/spu/multi3.c: New files.
6692         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
6693         (HOST_LIBGCC2_CFLAGS): Set.
6694         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
6695         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
6696         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
6697         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
6698         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
6699         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
6700         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
6701         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
6702         config/stormy16/umodsi3.c: New files.
6703         * config/xtensa/lib2funcs.S: New file.
6704         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6705         * config/xtensa/t-xtensa (LIB2ADD): Set.
6706         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
6707         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
6708         Add t-freebsd-thread to tmake_file for posix threads.
6709         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
6710         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
6711         (*-*-lynxos*): Likewise.
6712         (*-*-netbsd*): Likewise.
6713         (*-*-openbsd*): Likewise.
6714         Add t-openbsd-thread to tmake_file for posix threads.
6715         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
6716         (*-*-vxworks*): Set tmake_file.
6717         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6718         (alpha*-*-freebsd*): Likewise.
6719         (alpha*-*-netbsd*): Likewise.
6720         (alpha*-*-openbsd*): Likewise.
6721         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
6722         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6723         (alpha*-dec-*vms*): Likewise.
6724         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
6725         (bfin*-elf*): Add bfin/t-elf to tmake_file.
6726         (bfin*-uclinux*): Likewise.
6727         (bfin*-linux-uclibc*): Likewise.
6728         (crisv32-*-elf): Add cris/t-cris to tmake_file.
6729         (crisv32-*-none): Likewise.
6730         (cris-*-elf): Likewise.
6731         (cris-*-none): Likewise.
6732         (cris-*-linux*, crisv32-*-linux*): Likewise.
6733         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
6734         tmake_file.
6735         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
6736         tmake_file.
6737         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
6738         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
6739         (x86_64-*-elf*): Likewise.
6740         (i[34567]86-*-nto-qnx*): Likewise.
6741         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
6742         win32 threads.
6743         (x86_64-*-mingw*): Likewise.
6744         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
6745         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
6746         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6747         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6748         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
6749         tmake_file.
6750         (mipsisa64sr71k-*-elf*): Likewise.
6751         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6752         (mips-*-elf*, mipsel-*-elf*): Likewise.
6753         (mips64-*-elf*, mips64el-*-elf*): Likewise.
6754         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6755         (mips*-*-rtems*): Likewise.
6756         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
6757         to tmake_file.
6758         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
6759         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
6760         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
6761         (spu-*-elf*): Likewise.
6762         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
6764 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6766         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
6767         $(srcdir) to refer to $(LIB1ASMSRC).
6768         Use $<.
6769         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
6770         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
6771         config/arm/lib1funcs.S: New files.
6772         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
6773         * config/arm/t-arm: New file.
6774         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
6775         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
6776         config/arm/t-strongarm-elf: New files.
6777         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
6778         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
6779         * config/avr/lib1funcs.S: New file.
6780         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6781         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
6782         * config/c6x/lib1funcs.S: New file.
6783         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6784         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
6785         * config/frv/lib1funcs.S: New file.
6786         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6787         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
6788         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
6789         * config/ia64/__divxf3.asm: Rename to ...
6790         * config/ia64/__divxf3.S: ... this.
6791         Adapt lib1funcs.asm filename.
6792         * config/ia64/_fixtfdi.asm: Rename to ...
6793         * config/ia64/_fixtfdi.S: ... this.
6794         Adapt lib1funcs.asm filename.
6795         * config/ia64/_fixunstfdi.asm: Rename to ...
6796         * config/ia64/_fixunstfdi.S: ... this.
6797         Adapt lib1funcs.asm filename.
6798         * config/ia64/_floatditf.asm: Rename to ...
6799         * config/ia64/_floatditf.S: ... this.
6800         Adapt lib1funcs.asm filename.
6801         * config/ia64/lib1funcs.S: New file.
6802         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
6803         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6804         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
6805         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
6806         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
6807         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
6808         * config/mep/lib1funcs.S: New file.
6809         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6810         * config/mips/mips16.S: New file.
6811         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6812         * config/pa/milli64.S: New file.
6813         * config/pa/t-linux, config/pa/t-linux64: New files.
6814         * config/picochip/lib1funcs.S: New file.
6815         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6816         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
6817         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
6818         * config/sh/t-netbsd: New file.
6819         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
6820         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
6821         * config/sh/t-sh64: New file.
6822         * config/sparc/lb1spc.S: New file.
6823         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
6824         filename.
6825         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
6826         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
6827         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
6828         config/xtensa/lib1funcs.S: New files.
6829         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6830         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
6831         tmake_file.
6832         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
6833         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
6834         (arm*-*-linux*): Likewise.
6835         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
6836         arm*-*-linux-*eabi, add arm/t-linux otherwise.
6837         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
6838         (arm*-*-ecos-elf): Likewise.
6839         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6840         (arm*-*-rtems*): Likewise.
6841         (arm*-*-elf): Likewise.
6842         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
6843         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
6844         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
6845         (bfin*-uclinux*): Likewise.
6846         (bfin*-linux-uclibc*): Likewise.
6847         (bfin*-rtems*): Likewise.
6848         (bfin*-*): Likewise.
6849         (fido-*-elf): Merge into m68k-*-elf*.
6850         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
6851         (frv-*-*linux*): Add frv/t-frv to tmake_file.
6852         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
6853         (h8300-*-elf*): Likewise.
6854         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
6855         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
6856         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
6857         (i[34567]86-*-mingw*): Likewise.
6858         (x86_64-*-mingw*): Likewise.
6859         (i[34567]86-*-interix3*): Likewise.
6860         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
6861         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
6862         (m68k-*-elf*): Also handle fido-*-elf.
6863         Add m68k/t-floatlib to tmake_file.
6864         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
6865         (m68k-*-linux*): Likewise.
6866         (m68k-*-rtems*): Likewise.
6867         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
6868         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
6869         sh64*-*-*.
6870         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
6871         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
6872         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
6873         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
6874         sh/t-netbsd to tmake_file.
6875         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
6876         (sh-*-rtems*): Add sh/t-sh to tmake_file.
6877         (sh-wrs-vxworks): Likewise.
6878         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
6879         *-leon[3-9]*.
6880         (v850*-*-*): Add v850/t-v850 to tmake_file.
6881         (vax-*-linux*): Add vax/t-linux to tmake_file.
6882         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
6884 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6886         * crtstuff.c: New file.
6887         * Makefile.in (CRTSTUFF_CFLAGS): Define.
6888         (CRTSTUFF_T_CFLAGS): Define.
6889         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
6890         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
6891         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
6892         crtstuff.c.
6893         Use $<.
6894         (crtbeginT.o): Use $(objext).
6895         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
6896         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
6897         (gcc-extra-parts): Remove.
6898         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
6899         Set extra_parts.
6900         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6901         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
6902         Add t-crtstuff-pic to tmake_file.
6903         (*-*-lynxos*): New case.
6904         Set tmake_file, extra_parts.
6905         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
6906         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
6907         *-*-netbsdelf[2-9]*.
6908         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
6909         (*-*-rtems*): Set extra_parts.
6910         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
6911         (*-*-uclinux*): New case.
6912         Set extra_parts.
6913         (*-*-vms*): New case.
6914         Set tmake_file, extra_parts.
6915         (*-*-elf): Set extra_parts.
6916         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
6917         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
6918         vms/t-vms64.
6919         Set extra_parts.
6920         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
6921         Set extra_parts.
6922         (arm*-*-freebsd*): Add t-crtin to tmake_file.
6923         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
6924         (arm-wrs-vxworks): Append to tmake_file.
6925         Set extra_parts.
6926         (arm*-*-uclinux*): Set extra_parts.
6927         (arm*-*-ecos-elf): Likewise.
6928         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
6929         arm*-*-eabi*.
6930         (arm*-*-rtems*): Set extra_parts.
6931         (arm*-*-elf): Likewise.
6932         (avr-*-rtems*): Clear extra_parts.
6933         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
6934         Set extra_parts.
6935         (bfin*-uclinux*): Likewise.
6936         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
6937         (bfin*-rtems*): Append to tmake_file.
6938         Set extra_parts.
6939         (bfin*-*): Likewise.
6940         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
6941         (crisv32-*-elf): ... this.
6942         (crisv32-*-none): ... this.
6943         (cris-*-elf, cris-*-none): New cases.
6944         Add cris/t-elfmulti to tmake_file.
6945         (fr30-*-elf): Append to tmake_file.
6946         Set extra_parts.
6947         (frv-*-elf): Append to tmake_file, add frv/t-frv.
6948         Set extra_parts.
6949         (h8300-*-rtems*): Append to tmake_file.
6950         Set extra_parts.
6951         (h8300-*-elf*): Likewise.
6952         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
6953         Set extra_parts.
6954         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
6955         Set extra_parts.
6956         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
6957         (x86_64-*-elf*): Likewise.
6958         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
6959         (x86_64-*-freebsd*): Likewise.
6960         (x86_64-*-netbsd*): Likewise.
6961         (i[34567]86-*-linux*): Likewise.
6962         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
6963         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
6964         (x86_64-*-linux*): Likewise.
6965         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
6966         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
6967         tmake_file.
6968         Set extra_parts.
6969         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
6970         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
6971         Append to extra_parts, remove crtbegin.o, crtend.o.
6972         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
6973         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
6974         crtend.o, crtbeginS.o, crtendS.o.
6975         (ia64*-*-linux*): Comment extra_parts.
6976         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
6977         Set extra_parts.
6978         (iq2000*-*-elf*): Clear extra_parts.
6979         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
6980         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
6981         (m32r-*-elf*, m32r-*-rtems*): Split off ...
6982         (m32r-*-rtems*): ... this.
6983         Add m32r/t-m32r to tmake_file.
6984         (m68k-*-elf*): Add t-crtin to tmake_file.
6985         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
6986         (mcore-*-elf): Likewise.
6987         (microblaze*-*-*): Set extra_parts.
6988         (mips*-sde-elf*): New case.
6989         Set tmake_file, extra_parts.
6990         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6991         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6992         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
6993         tmake_file.
6994         Set extra_parts.
6995         (mipsisa64sr71k-*-elf*): Likewise.
6996         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6997         (mips-*-elf*, mipsel-*-elf*): Likewise.
6998         (mips64-*-elf*, mips64el-*-elf*): Likewise.
6999         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7000         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
7001         (mips*-*-rtems*): Likewise.
7002         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7003         (moxie-*-*): Split into ...
7004         (moxie-*-elf, moxie-*-uclinux*): ... this.
7005         Add to extra_parts, remove crtbegin.o, crtend.o.
7006         (moxie-*-rtems*): New case.
7007         Set tmake_file.
7008         Clear extra_parts.
7009         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7010         Set extra_parts.
7011         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7012         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7013         tmake_file.
7014         Set extra_parts.
7015         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7016         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7017         Set extra_parts.
7018         (powerpc-*-eabisim*): Likewise.
7019         (powerpc-*-elf*): Likewise.
7020         (powerpc-*-eabialtivec*): Likewise.
7021         (powerpc-xilinx-eabi*): Likewise.
7022         (powerpc-*-eabi*): Likewise.
7023         (powerpc-*-rtems*): Likewise.
7024         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7025         tmake_file.
7026         Set extra_parts.
7027         (powerpc-*-lynxos*): Add to tmake_file.
7028         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7029         rs6000/t-crtstuff, t-crtstuff-pic.
7030         Set extra_parts.
7031         (powerpcle-*-eabisim*): Likewise.
7032         (powerpcle-*-eabi*): Likewise.
7033         (rx-*-elf): Remove extra_parts.
7034         (s390x-ibm-tpf*): Set extra_parts.
7035         (score-*-elf): Set extra_parts.
7036         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7037         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7038         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7039         (sh64l*-*-netbsd*): Split into ...
7040         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7041         Add t-crtstuff-pic to tmake_file.
7042         Set extra_parts.
7043         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7044         Set extra_parts.
7045         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7046         (sparc-*-elf*): Remove t-crtin from tmake_file.
7047         Add to extra_parts, remove crtbegin.o, crtend.o.
7048         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7049         (sparc64-*-linux*): Likewise.
7050         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7051         Add to extra_parts, remove crtbegin.o, crtend.o.
7052         (sparc64-*-elf*): Remove t-crtin from tmake_file.
7053         Add to extra_parts, remove crtbegin.o, crtend.o.
7054         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7055         Add to extra_parts, remove crtbegin.o, crtend.o.
7056         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7057         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7058         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7059         Set extra_parts.
7060         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7061         Set extra_parts.
7062         (tic6x-*-*): Change to ...
7063         (tic6x-*-elf): ... this.
7064         Set extra_parts.
7065         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7066         Set extra_parts.
7067         (am33_2.0-*-linux*): Add comment.
7068         (mep*-*-*): Add mep/t-mep to tmake_file.
7069         Set extra_parts.
7070         * config/alpha/t-vms: New file.
7071         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7072         * config/arm/crti.S, config/arm/crtn.S: New files.
7073         * config/bfin/crti.S, config/bfin/crtn.S: New files.
7074         * config/bfin/crtlibid.S: New file.
7075         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7076         * config/c6x/crti.S, config/c6x/crtn.S: New files.
7077         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7078         (crti.o, crtin.o): New rules.
7079         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7080         * config/c6x/t-uclinux: New file.
7081         * config/cris/t-elfmulti: New file.
7082         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7083         * config/fr30/crti.S, config/fr30/crtn.S: New files.
7084         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7085         * config/frv/t-frv: New file.
7086         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7087         * config/h8300/crti.S, config/h8300/crtn.S: New files.
7088         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7089         New files.
7090         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7091         refer to cygming-crtbegin.c, cygming-crtend.c.
7092         Use $<.
7093         * config/i386/t-nto: New file.
7094         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7095         * config/ia64/crti.S, config/ia64/crtn.S: New files.
7096         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7097         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7098         Use .S extension.
7099         Use $<.
7100         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7101         (crtinitS.o): New rule.
7102         * config/ia64/vms-crtinit.S: New file.
7103         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7104         * config/m32r/initfini.c: New file.
7105         * config/m32r/t-linux, config/m32r/t-m32r: New files.
7106         * config/m68k/crti.S, config/m68k/crtn.S: New files.
7107         * config/mcore/crti.S, config/mcore/crtn.S: New files.
7108         * config/mep/t-mep: New file.
7109         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7110         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7111         * config/mips/crti.S, config/mips/crtn.S: New files.
7112         * config/mips/t-crtstuff: New file.
7113         * config/mmix/crti.S, config/mmix/crtn.S: New files.
7114         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7115         (CUSTOM_CRTIN): Set.
7116         ($(T)crti.o, $(T)crtn.o): Remove $(T),
7117         dependencies.
7118         Use $(srcdir) to refer to crti.S, crtn.S.
7119         Use .S extension, $<.
7120         * config/moxie/crti.asm: Rename to ...
7121         * config/moxie/crti.S: ... this.
7122         * config/moxie/crtn.asm: Rename to ...
7123         * config/moxie/crtn.S: ... this.
7124         * config/moxie/t-moxie: Remove.
7125         * config/pa/stublib.c: New file.
7126         * config/pa/t-stublib, config/pa/t-stublib64: New files.
7127         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7128         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7129         * config/rs6000/t-crtstuff: New file.
7130         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7131         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7132         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7133         Make output file explicit.
7134         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7135         Make output file explicit.
7136         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7137         Make output file explicit.
7138         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7139         Make output file explicit.
7140         * config/score/crti.S, config/score/crtn.S: New files.
7141         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7142         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7143         files.
7144         * config/sh/t-sh, config/sh/t-superh: New files.
7145         * config/sparc/t-linux64: New file.
7146         * config/spu/cache.S, config/spu/cachemgr.c: New files.
7147         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7148         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7149         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7150         * config/t-crtin: Remove.
7151         * config/t-crtstuff-pic: New file.
7152         * config/t-sol2 (CUSTOM_CRTIN): Set.
7153         (crti.o, crtn.o): New rules.
7154         * config/vms/t-vms: New file.
7155         * config/vms/vms-ucrt0.c: New file.
7156         * config/xtensa/t-elf: New file.
7158 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7160         * Makefile.in (SHLIB_NM_FLAGS): Set.
7161         * mkmap-flat.awk, mkmap-symver.awk: New files.
7162         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7163         exceptions.
7164         * configure: Regenerate.
7165         * config/libgcc-glibc.ver: New file.
7166         * config/libgcc-libsystem.ver: New file.
7167         * config/t-libunwind (SHLIB_LC): Set.
7168         * config/t-linux: New file.
7169         * config/t-slibgcc (INSTALL_SHLIB): New.
7170         (SHLIB_INSTALL): Use it.
7171         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7172         to mkmap-symver.awk.
7173         (SHLIB_MAPFILES): Don't append, adapt pathname.
7174         (SHLIB_VERPFX): Set.
7175         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7176         to mkmap-symver.awk.
7177         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7178         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7179         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7180         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7181         to mkmap-flat.awk.
7182         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7183         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7184         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7185         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7186         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7187         * config/i386/libgcc-darwin.10.4.ver,
7188         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7189         New files.
7190         * config/i386/t-darwin: Remove.
7191         * config/i386/t-darwin64: Likewise.
7192         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7193         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7194         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7195         * config/i386/t-linux: New file.
7196         * config/i386/t-mingw32: New file.
7197         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7198         * config/ia64/t-glibc: Rename to ...
7199         * config/ia64/t-linux: ... this.
7200         (SHLIB_MAPFILES): Set.
7201         * config/ia64/t-glibc-libunwind: Rename to ...
7202         * config/ia64/t-linux-libunwind: ... this.
7203         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7204         * config/ia64/t-slibgcc-hpux: New file.
7205         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7206         * config/m68k/t-slibgcc-elf-ver: New file.
7207         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7208         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7209         to mkmap-flat.awk.
7210         * config/pa/t-slibgcc-hpux: New file.
7211         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7212         files.
7213         * config/rs6000/libgcc-darwin.10.4.ver,
7214         config/rs6000/libgcc-darwin.10.5.ver: New files.
7215         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7216         config/rs6000/libgcc-glibc.ver.
7217         * config/rs6000/libgcc-ppc64.ver: Rename to
7218         config/rs6000/libgcc-ibm-ldouble.ver.
7219         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7220         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7221         * config/rs6000/t-ldbl128: Rename to ...
7222         * config/rs6000/t-linux: ... this.
7223         (SHLIB_MAPFILES): Adapt filename.
7224         * config/rs6000/t-slibgcc-aix: New file.
7225         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7226         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7227         libgcc-excl.ver, libgcc-glibc.ver.
7228         (SHLIB_LINK, SHLIB_INSTALL): Remove.
7229         * config/sparc/libgcc-glibc.ver: New file.
7230         * config/sparc/t-linux: New file.
7231         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7232         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7233         t-slibgcc-elf-ver to tmake_file.
7234         Add t-slibgcc-nolc-override to tmake_file for posix threads on
7235         *-*-freebsd[34].
7236         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7237         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7238         t-slibgcc-elf-ver, t-linux to tmake_file.
7239         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7240         tmake_file.
7241         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7242         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7243         (alpha*-dec-*vms*): Likewise.
7244         (arm*-*-freebsd*): Append to tmake_file.
7245         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7246         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7247         arm*-*-linux-*eabi.
7248         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7249         tmake_file for arm*-*-symbianelf*.
7250         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7251         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7252         cris/t-linux.
7253         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7254         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7255         pa/t-slibgcc-dwarf-ver to tmake_file.
7256         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7257         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7258         (hppa*64*-*-hpux11*): Likewise.
7259         (hppa[12]*-*-hpux11*): Likewise.
7260         (x86_64-*-darwin*): Don't override tmake_file, but only keep
7261         i386/t-crtpc, i386/t-crtfm.
7262         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7263         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7264         to tmake_file.
7265         Add i386/t-cygwin to tmake_file.
7266         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7267         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7268         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7269         to tmake_file.
7270         Add i386/t-mingw32 to tmake_file.
7271         (x86_64-*-mingw*): Likewise.
7272         (ia64*-*-freebsd*): Append to tmake_file.
7273         (ia64*-*-linux*): Append to tmake_file.
7274         Replace ia64/t-glibc by ia64/t-linux.
7275         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7276         system libunwind.
7277         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7278         t-slibgcc-hpux to tmake_file.
7279         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7280         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7281         (m32rle-*-linux*): Likewise.
7282         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7283         sjlj exceptions.
7284         (microblaze*-linux*): New case.
7285         Append to tmake_file, add t-slibgcc-nolc-override.
7286         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7287         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7288         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7289         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7290         rs6000/t-slibgcc-aix to tmake_file.
7291         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7292         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7293         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7294         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7295         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7296         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7297         sh*-*-linux*.
7298         (sparc-*-linux*): Append to tmake_file for *-leon*.
7299         Add sparc/t-linux to tmake_file for non-Leon targets.
7300         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7301         (tic6x-*-uclinux): New case.
7302         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7303         (tic6x-*-*): Add c6x/t-elf to tmake_file.
7304         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7305         (am33_2.0-*-linux*): Append to tmake_file.
7306         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7307         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7308         x86_64-*-kfreebsd*-gnu.
7309         Add i386/t-linux to tmake_file.
7311 2011-10-28  Ian Lance Taylor  <iant@google.com>
7313         * config/i386/morestack.S: Correct CFI information to do proper
7314         returns throughout function.  In 32-bit mode, save %ebx so that it
7315         is restored on unwind.
7317 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
7319         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7320         case where B3 isn't the return register.
7322         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7323         logic for doubleword pops.
7325 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
7327         * config/rs6000/t-freebsd: Add wildcard.
7329 2011-10-21  Paul Brook  <paul@codesourcery.com>
7331         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7333 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
7334             Eric Botcazou  <ebotcazou@adacore.com>
7336         PR target/50737
7337         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7338         fs->signal_frame to 1.
7340 2011-10-07  Ian Lance Taylor  <iant@google.com>
7342         * generic-morestack-thread.c: #include <errno.h>.
7344 2011-10-07  Ian Lance Taylor  <iant@google.com>
7346         PR target/46093
7347         * generic-morestack.c (__generic_morestack): Make sure the segment
7348         is large enough for both the stack frame and the copied
7349         parameters.
7351 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7353         PR bootstrap/49804
7354         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7355         extra_parts.
7357 2011-09-28  Nick Clifton  <nickc@redhat.com>
7359         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7360         64-bit doubles are not enabled.
7361         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7362         and floatunsisf functions.
7364 2011-09-13  Paul Brook  <paul@codesourcery.com>
7366         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
7367         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7368         * unwind-arm-common.inc: New file.
7369         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7370         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7371         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7372         * config/c6x/libunwind.S: New file.
7373         * config/c6x/pr-support.c: New file.
7374         * config/c6x/unwind-c6x.c: New file.
7375         * config/c6x/unwind-c6x.h: New file.
7376         * config/c6x/t-c6x-elf: New file.
7378 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
7380         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7381         (ASM_DIVZERO): Ditto.
7382         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7384 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
7386         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7388 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
7390         PR target/50090
7391         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7392         instead of an assembly one.
7394 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
7396         PR bootstrap/50047
7397         * Makefile.in (install-unwind_h): Create
7398         $(gcc_objdir)/include/unwind.h atomically.
7400 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7402         * Makefile.in (install-unwind_h): Remove destination file first.
7404 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7406         * sync.c: New file.
7407         * config/mips/t-mips16: New file.
7408         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7409         (mips*-*-linux*): Likewise.
7410         (mips*-sde-elf*): Likewise.
7411         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7412         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7413         Add mips/t-mips16 to tmake_file.
7414         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7415         (mips-*-elf*): Likewise.
7416         (mips64-*-elf*): Likewise.
7417         (mips64orion-*-elf*): Likewise.
7418         (mips*-*-rtems*): Likewise.
7419         (mipstx39-*-elf*): Likewise.
7420         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7421         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7422         LIBGCC_SYNC_CFLAGS.
7423         Use $(srcdir) to refer to sync.c.
7424         Use $<.
7425         ($(libgcc-sync-funcs-o)): Likewise.
7426         ($(libgcc-sync-size-funcs-s-o)): Likewise.
7427         ($(libgcc-sync-funcs-s-o)): Likewise.
7429 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
7431         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7432         t-libunwind.
7434 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
7436         PR other/48007
7437         * config/i386/value-unwind.h: New.
7439 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
7441         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7442         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7443         Add to tmake_file rather than overriding it.
7445 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7447         * config/t-softfp: Remove.
7448         * soft-fp: Moved from ../gcc/config.
7449         * soft-fp/README: Remove t-softfp reference.
7450         * soft-fp/t-softfp: Move to config/t-softfp.
7451         (softfp_machine_header): Remove.
7452         (softfp_file_list): Remove config subdir.
7453         (soft-fp-objects): New variable.
7454         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7455         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7456         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7457         * config/t-softfp-excl: New file.
7458         * config/t-softfp-sfdf: New file.
7459         * config/t-softfp-tf: New file.
7460         * config/no-sfp-machine.h: New file.
7461         * config/arm/sfp-machine.h: New file.
7462         * config/arm/t-softfp: New file.
7463         * config/c6x/sfp-machine.h: New file.
7464         * config/i386/32/t-fprules-softfp: Rename to ...
7465         * config/i386/32/t-softfp: ... this.
7466         (tifunctions, LIB2ADD): Remove.
7467         (softfp_int_modes): Override.
7468         * config/i386/64/t-softfp-compat (tf-functions): Remove config
7469         subdir.
7470         * config/i386/64/eqtf2.c: Likewise.
7471         * config/i386/64/getf2.c: Likewise.
7472         * config/i386/64/letf2.c: Likewise.
7473         * config/ia64/sft-machine.h: New file.
7474         * config/ia64/t-fprules-softfp: Rename to ...
7475         * config/ia64/t-softfp: ... this.
7476         * config/lm32/sfp-machine.h: New file.
7477         * config/moxie/t-moxie-softfp: Remove.
7478         * config/rs6000/ibm-ldouble-format: New file.
7479         * config/rs6000/ibm-ldouble.c: New file.
7480         * config/rs6000/libgcc-ppc-glibc.ver: New file
7481         * config/rs6000/libgcc-ppc64.ver: New file
7482         * config/rs6000/sfp-machine.h: New file.
7483         * config/rs6000/t-freebsd: New file.
7484         * config/rs6000/t-ibm-ldouble: New file.
7485         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
7486         libgcc-ppc-glibc.ver.
7487         * config/rs6000/t-linux64: New file.
7488         * config/rs6000/t-ppccomm (LIB2ADD): Add
7489         $(srcdir)/config/rs6000/ibm-ldouble.c.
7490         * config/rs6000/t-ppccomm-ldbl: New file.
7491         * config/score/sfp-machine.h: New file.
7492         * config.host (sfp_machine_header): Explain.
7493         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
7494         t-softfp to tmake_file.
7495         (arm*-*-uclinux*): Likewise.
7496         (arm*-*-ecos-elf): Likewise.
7497         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7498         (arm*-*-rtems*): Likewise.
7499         (arm*-*-elf): Likewise.
7500         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
7501         in tmake_file.
7502         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
7503         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
7504         (lm32-*-uclinux*): Likewise.
7505         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
7506         t-softfp-excl, t-softfp.
7507         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
7508         (powerpc64-*-darwin*): Likewise.
7509         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
7510         to tmake_file.
7511         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
7512         tmake_file.
7513         (powerpc-*-eabisim*): Likewise.
7514         (powerpc-*-elf*): Likewise.
7515         (powerpc-*-eabialtivec*): Likewise.
7516         (powerpc-xilinx-eabi*): Likewise.
7517         (powerpc-*-rtems*): Likewise.
7518         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
7519         t-softfp-excl, t-softfp to tmake_file.
7520         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
7521         rs6000/t-ppccomm-ldbl to tmake_file.
7522         (powerpcle-*-elf*): Likewise.
7523         (powerpcle-*-eabisim*): Likewise.
7524         (powerpcle-*-eabi*): Likewise.
7525         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7526         rs6000/t-ibm-ldouble to tmake_file.
7527         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7528         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7529         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
7530         (tic6x-*-*): Likewise.
7531         (i[34567]86-*-darwin*, x86_64-*-darwin*,
7532         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
7533         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
7534         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
7535         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
7536         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
7537         t-softfp to tmake_file.
7538         * configure.ac (sfp_machine_header): Provide default if unset.
7539         Substitute.
7540         Link sfp-machine.h to config/$sfp_machine_header.
7541         * configure: Regenerate.
7543 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7545         * Makefile.in (double_type_size, long_double_type_size): Set.
7546         Remove $(fpbit-in-libgcc) support.
7547         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
7548         (fpbit-src): New variable.
7549         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
7550         Compile with -DFLOAT $(FPBIT_CFLAGS).
7551         Use $<.
7552         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
7553         Compile with $(FPBIT_CFLAGS).
7554         Use $<.
7555         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
7556         Compile with -DFLOAT $(TPBIT_CFLAGS).
7557         Use $<.
7558         * configure.ac (double_type_size, long_double_type_size):
7559         Determine and substitute.
7560         * configure: Regenerate.
7561         * fp-bit.c, fp-bit.h: New files.
7562         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
7563         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
7564         * config/mips/t-mips: New file.
7565         * config/mips/t-sdemtk: New file.
7566         * config/rs6000/ppc64-fp.c: New file.
7567         * config/rs6000/t-darwin (LIB2ADD): Add
7568         $(srcdir)/config/rs6000/ppc64-fp.c.
7569         * config/rs6000/t-ppc64-fp: New file.
7570         * config/rx/rx-lib.h: New file.
7571         * config/rx/t-rx (FPBIT): Set to true.
7572         ($(gcc_objdir)/fp-bit.c): Remove.
7573         (DPBIT): Set to true only with -m64bit-doubles.
7574         ($(gcc_objdir)/dp-bit.c): Remove.
7575         * config/sparc/t-softfp: Remove.
7576         * config/spu/t-elf: New file.
7577         * config/t-fdpbit, config/t-fpbit: New files.
7578         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
7579         (mips*-*-*): Likewise.
7580         (arm-wrs-vxworks): Likewise.
7581         (arm*-*-freebsd*): Likewise.
7582         (avr-*-rtems*): Add t-fpbit to tmake_file.
7583         (avr-*-*): Likewise.
7584         (bfin*-elf*): Add t-fdpbit to tmake_file.
7585         (bfin*-uclinux*): Likewise.
7586         (bfin*-linux-uclibc*): Likewise.
7587         (bfin*-rtems*): New case.
7588         Add t-fdpbit to tmake_file.
7589         (bfin*-*): Add t-fdpbit to tmake_file.
7590         (crisv32-*-elf): Likewise.
7591         (cris-*-linux*): Likewise.
7592         (fr30-*-elf): Likewise.
7593         (frv-*-elf, frv-*-*linux*): Likewise.
7594         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
7595         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
7596         (m32r-*-elf*): Likewise.
7597         (m32rle-*-elf*): Likewise.
7598         (m32r-*-linux*): Likewise.
7599         (m32rle-*-linux*): Likewise.
7600         (mcore-*-elf): Add t-fdpbit to tmake_file.
7601         (microblaze*-*-*): Likewise.
7602         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
7603         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
7604         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
7605         Fix typo.
7606         Add mips/t-tpbit to tmake-file.
7607         (mips*-*-linux*): Fix typo.
7608         (mips*-sde-elf*): New case
7609         Add mips/t-sdemtk unless using newlib.
7610         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
7611         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
7612         (mn10300-*-*): Likewise.
7613         (pdp11-*-*): Likewise.
7614         (picochip-*-*): Add t-fpbit to tmake_file.
7615         (powerpc-*-eabisimaltivec*): Likewise.
7616         (powerpc-*-eabisim*): Likewise.
7617         (powerpc-*-elf*): Likewise.
7618         (powerpc-*-eabialtivec*): Likewise.
7619         (powerpc-xilinx-eabi*): New case.
7620         Add t-fdpbit to tmake_file.
7621         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
7622         (powerpc-*-rtems*): Likewise.
7623         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
7624         tmake_file.
7625         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
7626         tmake_file.
7627         (powerpc-*-lynxos*): Likewise.
7628         (powerpcle-*-elf*): Likewise.
7629         (powerpcle-*-eabisim*): Likewise.
7630         (powerpcle-*-eabi*): Likewise.
7631         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7632         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
7633         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7634         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7635         (rx-*-elf): Add t-fdpbit to tmake_file.
7636         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7637         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7638         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7639         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
7640         sh*-*-netbsd*.
7641         (sh-*-rtems*): Add t-fdpbit to tmake_file.
7642         (sh-wrs-vxworks): Likewise.
7643         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
7644         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
7645         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
7646         (sparc64-*-rtems*): ... new case.
7647         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
7648         (spu-*-elf*): Likewise.
7649         Add spu/t-elf to tmake_file.
7650         (v850*-*-*): Add t-fdpbit to tmake_file.
7651         (xstormy16-*-elf): Likewise.
7652         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
7653         (mep*-*-*): Likewise.
7655 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7657         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
7658         variables.
7659         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
7660         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
7661         (install-unwind_h): New target.
7662         (all): Depend on it.
7663         * config.host (unwind_header): New variable.
7664         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
7665         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7666         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
7667         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
7668         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
7669         Set unwind_header.
7670         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
7671         Set unwind_header.
7672         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
7673         arm*-*-eabi*.
7674         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
7675         Set unwind_header.
7676         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
7677         (ia64*-*-freebsd*): Likewise.
7678         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
7679         tmake_file.
7680         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
7681         $with_system_libunwind.
7682         (ia64*-*-hpux*): Set tmake_file.
7683         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
7684         (picochip-*-*): Set tmake_file.
7685         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
7686         md_unwind_header.
7687         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7688         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7689         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
7690         (xtensa*-*-elf*): Set tmake_file.
7691         (xtensa*-*-linux*): Likewise.
7692         * configure.ac: Include ../config/unwind_ipinfo.m4.
7693         Call GCC_CHECK_UNWIND_GETIPINFO.
7694         Link unwind.h to $unwind_header.
7695         * configure: Regenerate.
7696         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
7697         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
7698         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
7699         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
7700         * config/unwind-dw2-fde-darwin.c: New file.
7701         * config/arm/libunwind.S, config/arm/pr-support.c,
7702         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
7703         config/arm/unwind-arm.h,: New files.
7704         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
7705         config/ia64/t-eh-ia64, config/ia64/t-glibc,
7706         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
7707         config/ia64/t-vms, config/ia64/unwind-ia64.c,
7708         config/ia64/unwind-ia64.h: New files.
7709         * config/picochip/t-picochip: New file.
7710         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
7711         files.
7712         * config/rs6000/t-darwin (LIB2ADDEH): Set.
7713         * config/s390/t-tpf (LIB2ADDEH): Remove.
7714         * config/t-darwin (LIB2ADDEH): Set.
7715         * config/t-eh-dw2-dip: New file.
7716         * config/t-libunwind, config/t-libunwind-elf: New files.
7717         * config/t-sol2 (LIB2ADDEH): Remove.
7718         * config/xtensa/t-xtensa: New file.
7720 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
7722         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
7723         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
7724         long long to check rt_sigreturn syscall.
7726 2011-08-02  Alan Modra  <amodra@gmail.com>
7728         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7729         Restore for indirect call bcrtl from correct stack slot, and only
7730         if cfa+40 isn't valid.
7732 2011-08-01  Julian Brown  <julian@codesourcery.com>
7734         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
7735         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
7736         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
7738 2011-08-01  Julian Brown  <julian@codesourcery.com>
7740         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
7741         (libgcc-std.ver.in): Use above.
7742         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
7743         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
7744         throughout file.
7745         * config/t-fixedpoint-gnu-prefix: New file.
7746         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
7747         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
7748         instead of __PFX__.
7750 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
7752         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
7753         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
7754         for x86-64.  Properly check __x86_64__ and __LP64__.
7756 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
7758         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
7759         version.
7760         (_FP_WS_TYPE): Likewise.
7761         (_FP_I_TYPE): Likewise.
7763 2011-07-28  Alan Modra  <amodra@gmail.com>
7765         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7766         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
7767         in a plt call stub.  Do restore r2 if stopped on bctrl.
7769 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7771         * config.host (i[3456x]86-*-netware*): Remove.
7772         * config/i386/netware-crt0.c, config/i386/t-nwld,
7773         config/i386/t-slibgcc-nwld: Remove.
7775 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
7777         * config.host: Handle tic6x-*-*.
7778         * config/c6x/c6x-abi.h: New file.
7780 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7782         * config/i386/crtprec.c: New file.
7783         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
7784         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
7785         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
7786         (x86_64-*-darwin*): Likewise.
7787         (i[34567]86-*-solaris2*: Likewise.
7789 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7791         * config/alpha/crtfastmath.c: New file.
7792         * config/i386/crtfastmath.c: New file.
7793         * config/ia64/crtfastmath.c: New file.
7794         * config/mips/crtfastmath.c: New file.
7795         * config/sparc/crtfastmath.c: New file.
7797         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
7798         crtfastmath.c.
7799         Add -frandom-seed=gcc-crtfastmath.
7800         * config/alpha/t-crtfm: Remove.
7801         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
7802         * config/ia64/t-ia64 (crtfastmath.o): Remove.
7804         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
7805         (alpha*-dec-osf5.1*): Likewise.
7806         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
7807         Add crtfastmath.o to extra_parts.
7808         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
7809         Add crtfastmath.o to extra_parts.
7810         (x86_64-*-darwin*): Likewise.
7811         (x86_64-*-mingw*): Likewise.
7812         (ia64*-*-elf*): Add t-crtfm to tmake_file.
7813         (ia64*-*-freebsd*): Likewise.
7814         (ia64*-*-linux*): Likewise.
7815         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
7816         Add crtfastmath.o to extra_parts.
7818 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7820         * config/darwin-crt3.o: New file.
7821         * config/rs6000/darwin-crt2.c: New file.
7822         * config/t-darwin: New file.
7823         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
7824         (crt2.o): New rule.
7825         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
7826         (powerpc-*-darwin*): Add crt2.o to extra_parts.
7827         (powerpc64-*-darwin*): Likewise.
7829 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7831         * config/i386/netware-crt0.c: New file.
7832         * config/i386/t-nwld: Rename to ...
7833         * config/i386/t-slibgcc-nwld: ... this.
7834         * config/i386/t-nwld: New file.
7835         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
7836         tmake_file.
7837         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
7838         extra_parts.
7840 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7842         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
7843         i386/t-crtstuff.
7844         * configure: Regenerate.
7846 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7848         * dfp-bit.c, dfp-bit.h: New files.
7849         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
7850         variables.
7851         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
7852         ($(d64pbit-o)): Likewise.
7853         ($(d128pbit-o)): Likewise.
7854         * config/t-dfprules: New file.
7855         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
7856         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
7857         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7858         (x86_64-*-linux*): Likewise.
7859         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7860         (i[34567]86-*-cygwin*): Likewise.
7861         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
7862         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7864 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7866         * Makfile.in (LIBGCOV): New variable.
7867         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
7868         * libgcov.c: New file.
7870 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7872         * fixed-bit.c, fixed-bit.h: New files.
7873         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
7874         refer to fixed-bit.c.
7876 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
7878         * config.host (*local*): Remove.
7880 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7882         PR target/39150
7883         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
7884         like i?86-*-solaris2.1[0-9]*.
7885         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
7886         * configure.ac (i?86-*-solaris2*): Likewise.
7887         * configure: Regenerate.
7889 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
7891         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7892         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
7893         md_unwind_header by splitting out of...
7894         (i[34567]86-*-linux*): ... this.
7895         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
7896         Remove md_unwind_header by splitting out of...
7897         (x86_64-*-linux*): ... this.
7899 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
7901         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
7903 2011-06-28  Nick Clifton  <nickc@redhat.com>
7905         * config.host: Recognize all V850 variants.
7907 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
7909         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
7911 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7913         * shared-object.mk (c_flags-$o): Save c_flags.
7914         ($(base)$(objext)): Use it.
7915         ($(base)_s$(objext)): Likewise.
7917 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
7919         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
7920         * libgcc-std.ver.in (GCC_4.7.0): New section.
7922 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
7924         PR target/49313
7925         PR target/29524
7926         * config/avr/t-avr: Fix line endings.
7927         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
7928         _parityXX2.
7930 2011-06-14  Olivier Hainque  <hainque@adacore.com>
7931             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7933         * config/mips/irix6-unwind.h: New file.
7934         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
7936 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
7938         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
7939         (sparc64_fallback_frame_state): Use it.
7940         (sparc64_frob_update_context): Further adjust context.
7941         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
7942         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
7943         * config/sparc/sol2-cn.S: Likewise.
7945 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7947         * enable-execute-stack-empty.c: New file.
7948         * enable-execute-stack-mprotect.c: New file.
7949         * config/i386/enable-execute-stack-mingw32.c: New file.
7950         * config.host (enable_execute_stack): New variable.
7951         Select appropriate variants.
7952         * configure.ac: Link enable-execute-stack.c to
7953         $enable_execute_stack.
7954         * configure: Regenerate.
7955         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
7956         (lib2funcs): Remove _enable_execute_stack.
7958 2011-06-09  David S. Miller  <davem@davemloft.net>
7959             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7961         * config.host (sparc-*-linux*): Correct md_unwind_header
7962         filename.
7963         (s390x-ibm-tpf*): Fix typo.
7965 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7967         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
7968         Add crtfastmath.o to extra_parts.
7969         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
7970         mips/t-crtfm.
7971         * config/mips/t-crtfm: Remove.
7973 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7975         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
7977 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
7979         * config.host (sh*-*-linux*): Fix typo.
7981 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7983         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
7984         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
7985         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
7986         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
7987         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
7988         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
7989         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
7990         Wrap in !__MINGW64__.
7991         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
7992         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
7993         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
7994         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
7995         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
7996         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
7997         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
7998         Wrap in !__LP64__.
7999         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8000         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8001         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8002         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8003         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8004         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8005         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8006         * config/no-unwind.h: New file.
8007         * config.host (md_unwind_header): Document.
8008         Define.
8009         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8010         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8011         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8012         hppa[12]*-*-hpux11*): Set md_unwind_header.
8013         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8014         Set md_unwind_header.
8015         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8016         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8017         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8018         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8019         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8020         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8021         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8022         md_unwind_header.
8023         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8024         * configure: Regenerate.
8026 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8028         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8029         Set tmake_file, extra_parts.
8030         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8031         Remove O32 support.
8032         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8033         Remove O32 support.
8034         * config/mips/t-irix6: New file.
8035         * config/mips/t-slibgcc-irix: New file.
8037 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8039         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8040         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8042 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8044         * configure.ac (target_thread_file): Determine thread model.
8045         * configure: Regenerate.
8046         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8047         * config/alpha/t-alpha: New file.
8048         * config/alpha/t-crtfm: Use $<.
8049         * config/alpha/t-ieee: New file.
8050         * config/alpha/t-osf-pthread: New file.
8051         * config/alpha/t-slibgcc-osf: New file.
8052         * config/alpha/libgcc-osf5.ver: New file.
8054 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8056         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8057         tmake_file.
8058         Add crtfastmath.o to extra_parts.
8060 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8062         * config/gmon-sol2.c: Reindent.
8063         Cleanup comments.
8064         Remove, correct casts.
8065         Use STDERR_FILENO, NULL.
8066         (BASEADDRESS): Remove.
8067         (minbrk): Remove.
8068         (errno, sbrk): Remove declarations.
8069         (monstartup) [hp300]: Remove.
8070         (mcount): Remove.
8072 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8074         * Makefile.in (cpu_type): Define.
8075         * config.host (i[34567]86-*-rtems*): Handle it.
8076         (i[34567]86-*-solaris2*): Move body ...
8077         (*-*-solaris2*): ... here.
8078         New case, generalize.
8079         (sparc-*-elf*): Handle it.
8080         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8081         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8082         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8083         Fold into ...
8084         (sparc*-*-solaris2*): ... this.
8085         New case.
8086         (sparc64-*-elf*): Handle it.
8087         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8088         Merge ../gcc/config/i386/gmon-sol2.c.
8089         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8090         Use C comments.
8091         Merge ../gcc/config/i386/sol2-gc1.asm.
8092         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8093         Use C comments.
8094         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8095         Use C comments.
8096         * config/i386/t-crtfm (crtfastmath.o): Use $<.
8097         * config/i386/t-crtstuff: New file.
8098         * config/i386/t-softfp: New file.
8099         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8100         $(T)crti.o, $(T)crtn.o): Remove.
8101         (gcrt1.o): New rule.
8102         (TARGET_LIBGCC2_CFLAGS): Remove.
8103         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8104         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8105         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8106         * config/sparc/t-sol2: New file.
8107         * config/sparc/t-crtfm: Move to ...
8108         * config/t-crtfm: ... this.
8109         Use $(cpu_type), $<.
8110         * config/t-crtin: New file.
8111         * config/sparc/t-softfp: New file.
8112         * config/sparc/t-softmul: New file.
8113         * config/t-rtems: New file.
8114         * config/t-slibgcc: New file.
8115         * config/t-slibgcc-elf-ver: New file.
8116         * config/t-slibgcc-gld: New file.
8117         * config/t-slibgcc-sld: New file.
8118         * config/t-sol2: New file.
8119         * configure.ac: Include ../config/lib-ld.m4.
8120         Call AC_LIB_PROG_LD_GNU.
8121         Substitute cpu_type.
8122         * configure: Regenerate.
8124 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
8126         PR bootstrap/49173
8127         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8128         libgcc-std.ver in the build directory.
8129         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8130         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8132 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
8134         * libgcc-std.ver.in: New file.
8135         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8136         variables.
8137         (libgcc-std.ver): New rule.
8138         * config/t-gnu-prefix: New file.
8140 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8142         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8144 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
8146         * config/i386/darwin-lib.h: New file.
8148 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
8150         * config/arm/symbian-lib.h: New.
8152 2011-05-04  Chris Demetriou  <cgd@google.com>
8154         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8155         (__x86.get_pc_thunk.bx): ...this.
8156         (__morestack): Adjust for rename, remove undef of __i686.
8158 2011-05-03  Chris Demetriou  <cgd@google.com>
8160         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8162 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
8164         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8165         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8166         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8167         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8168         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8169         Remove cases.
8171 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
8173         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8174         Adjust copyright year.
8176 2011-03-07  Ian Lance Taylor  <iant@google.com>
8178         * generic-morestack.c (__splitstack_find): Adjust returned stack
8179         pointer to include all registers pushed by __morestack.
8181 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
8183         PR target/40125
8184         * configure.ac: Call ACX_NONCANONICAL_TARGET.
8185         (toolexecdir): Calculate and AC_SUBST.
8186         (toolexeclibdir): Likewise.
8187         * Makefile.in (target_noncanonical): Import.
8188         (toolexecdir): Likewise.
8189         (toolexeclibdir): Likewise.
8190         * configure: Regenerate.
8192 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
8194         PR target/46040
8195         * config/arm/bpabi.h: Rename to...
8196         * config/arm/bpabi-lib.h: ...this.
8198 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8200         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8201         appropriate.
8202         * configure: Regenerate.
8204 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
8206         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8207         __FLOAT_WORD_ORDER__.
8208         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8209         Delete.
8211 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8213         PR other/46202
8214         * Makefile.in (install-strip): New phony target.
8216 2010-11-07  Ian Lance Taylor  <iant@google.com>
8218         PR target/46089
8219         * config/i386/morestack.S (__morestack_large_model): New
8220         function.
8222 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
8224         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8225         Delete.
8226         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8228 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
8230         * config/arm/bpabi.h: New file.
8231         * config/frv/frv-abi.h: New file.
8233 2010-10-01  Ian Lance Taylor  <iant@google.com>
8235         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8236         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8238 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
8240         PR target/45858
8241         * config.host: Add the missing `$'.
8243 2010-09-30  Michael Eager  <eager@eagercon.com>
8245         * config.host: Add microblaze*-*-*.
8246         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8247         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8248         udivsi3.asm,umodsi3.asm}:  New.
8250 2010-09-28  Ian Lance Taylor  <iant@google.com>
8252         * configure.ac: Adjust CFI test to test assembler directly rather
8253         than checking gcc preprocessor macro.
8254         * configure: Rebuild.
8256 2010-09-27  Ian Lance Taylor  <iant@google.com>
8258         * configure.ac: Test whether assembler supports CFI directives.
8259         * config.host: Only add t-stack and i386/t-stack-i386 to
8260         tmake_file if libgcc_cv_cfi is "yes".
8261         * configure: Rebuild.
8263 2010-09-27  Ian Lance Taylor  <iant@google.com>
8265         * generic-morestack.h: New file.
8266         * generic-morestack.c: New file.
8267         * generic-morestack-thread.c: New file.
8268         * config/i386/morestack.S: New file.
8269         * config/t-stack: New file.
8270         * config/i386/t-stack-i386: New file.
8271         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8272         i386/t-stack-i386 to tmake_file.
8274 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
8276         * Makefile.in (libgcc-extra-parts):  Check for static archives and
8277         invoke ranlib after installing them.
8278         (gcc-extra-parts): Likewise.
8279         (install-leaf): Likewise.
8281 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
8283         * configure: Regenerated.
8285 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
8287         * configure: Regenerated.
8289 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
8290             Andrew Pinski  <pinskia@gmail.com>
8292         PR target/40959
8293         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
8295 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8297         PR target/45524
8298         * configure: Regenerated.
8300 2010-09-06  Andreas Schwab  <schwab@redhat.com>
8302         * configure: Regenerate.
8304 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
8306         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8307         64bit targets.
8308         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8309         for 64bit targets.
8311 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
8312             Iain Sandoe  <iains@gcc.gnu.org>
8314         PR target/45476
8315         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8316         LIB2FUNCS_EXCLUDE functions.
8318 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8320         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8321         Include dfp.m4.
8322         * configure: Regenerate.
8324 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
8326         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8327         i386/t-freebsd to tmake_file.
8328         * config/i386/t-freebsd: New file.
8329         * config/i386/libgcc-bsd.ver: New file.
8331 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
8333         * config.host (powerpc*-eabispe*): Set tmake_file.
8334         (powerpc*-eabi*): Likewise.
8335         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8336         crtbeginS, crtendS, crtbeginT.
8338 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
8340         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8341         to tmake_file.  Add crtfastmath.o to extra_parts.
8342         * config/mips/t-crtfm: New.
8344 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
8346         * config.host (sparc64-*-rtems*): New target.
8348 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8350         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8351         assembler syntax.
8353 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
8355         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8357 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8359         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8360         alpha-dec-osf5.0* support.
8362 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
8364         * config.host: Add lm32-*-rtems*.
8366 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8367             Uros Bizjak  <ubizjak@gmail.com>
8369         PR target/39048
8370         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8371         like other remaining 32-bit x86 OSes.
8372         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8373         assembler syntax.
8374         * config/i386/libgcc-sol2.ver: New file.
8375         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8377 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
8379         PR c/43553
8380         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8381         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8382         is used and substitute set_use_emutls.
8383         * configure: Regenerated.
8385 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
8387         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8389 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8391         PR target/38085
8392         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8393         MULTILIB_CFLAGS.
8394         ($(T)gcrt1.o): Likewise.
8395         ($(T)crt1.o): Likewise.
8396         ($(T)crti.o): Likewise.
8397         ($(T)crtn.o): Likewise.
8399 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8401         PR other/42980
8402         * Makefile.in (install): Use $(MAKE) string in rule, for
8403         parallel make.
8405 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
8407         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8408         * config/mmix/t-mmix: New file.
8409         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8411 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
8413         PR java/41991
8414         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8415         SHLIB_MAPFILES.
8417 2010-01-04  Anthony Green  <green@moxielogic.com>
8419         * config/moxie/crti.asm, config/moxie/crtn.asm,
8420         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8421         config/moxie/t-moxie: New files.
8422         * config.host: Add t-moxie-softfp reference.
8424 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
8426         PR other/39888
8427         * config/t-slibgcc-darwin: Fix embedded rpaths for
8428         --enable-version-specific-runtime-libs, build extension stub
8429         libs exposing features available from current libgcc_s.
8431 2009-11-11  Jon Beniston  <jon@beniston.com>
8433         * config.host: Add lm32 targets.
8434         * config/lm32: New directory.
8435         * config/lm32/libgcc_lm32.h: New file.
8436         * config/lm32/_mulsi3.c: New file.
8437         * config/lm32/_udivmodsi4.c: New file.
8438         * config/lm32/_divsi3.c: New file.
8439         * config/lm32/_modsi3.c: New file.
8440         * config/lm32/_udivsi3.c: New file.
8441         * config/lm32/_umodsi3.c: New file.
8442         * config/lm32/_lshrsi3.S: New file.
8443         * config/lm32/_ashrsi3.S: New file.
8444         * config/lm32/_ashlsi3.S: New file.
8445         * config/lm32/crti.S: New file.
8446         * config/lm32/crtn.S: New file.
8447         * config/lm32/t-lm32: New file.
8448         * config/lm32/t-elf: New file.
8449         * config/lm32/t-uclinux: New file.
8451 2009-10-26  Nick Clifton  <nickc@redhat.com>
8453         * config.host: Add support for RX target.
8454         * config/rx: New directory.
8455         * config/rx/rx-abi-functions.c: New file. Supplementary
8456         functions for libgcc to support the RX ABI.
8457         * config/rx/rx-abi.h: New file.  Supplementary header file for
8458         libgcc RX ABI functions.
8459         * config/rx/t-rx: New file: Makefile fragment for building
8460         libgcc for the RX.
8462 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
8464         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8465         constraint of y0 to "g".
8467 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8469         * config.host: Include the s390 makefile fragments.
8470         * config/s390/32/_fixdfdi.c: New file.
8471         * config/s390/32/_fixsfdi.c: New file.
8472         * config/s390/32/_fixtfdi.c: New file.
8473         * config/s390/32/_fixunsdfdi.c: New file.
8474         * config/s390/32/_fixunssfdi.c: New file.
8475         * config/s390/32/_fixunstfdi.c: New file.
8476         * config/s390/32/t-floattodi: New file.
8477         * config/s390/libgcc-glibc.ver: New file.
8478         * config/s390/t-crtstuff: New file.
8479         * config/s390/t-linux: New file.
8480         * config/s390/t-tpf: New file.
8482 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8484         * configure.ac (AC_PREREQ): Bump to 2.64.
8486 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
8488         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8490 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8492         * configure: Regenerate.
8494 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
8496         * config.host (ia64-hp-*vms*): New target.
8497         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
8498         with ia64-hp-*vms*.
8500 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8502         * configure.ac: Add snippet for maintainer-mode.
8503         * configure: Regenerate.
8504         * Makefile.in (AUTOCONF, configure_deps): New variables.
8505         ($(srcdir)/configure)): New rule, active only with maintainer
8506         mode turned on.
8508 2009-06-23  DJ Delorie  <dj@redhat.com>
8510         Add MeP port.
8511         * config.host: Add mep support.
8513 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
8515         * config.host: Add i386/${host_address}/t-fprules-softfp and
8516         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
8518         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
8519         for mingw targets.
8520         * config/i386/64/_multc3.c: Likewise.
8521         * config/i386/64/_powitf2.c: Likewise.
8522         * config/i386/64/eqtf2.c: Likewise.
8523         * config/i386/64/getf2.c: Likewise.
8524         * config/i386/64/letf2.c: Likewise.
8525         * config/i386/64/letf2.c: Likewise.
8526         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
8527         unsigned long long for x64 mingw targets.
8528         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
8529         (_FP_I_TYPE): Define as long long for x64 mingw target.
8531 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
8533         * config.host (vax-*-linux*): New.
8535 2009-05-31  Anthony Green  <green@moxielogic.com>
8537         * config.host: Add moxie support.
8538         * config/moxie/t-moxie: New file.
8540 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
8542         * config.host: Add i386/${host_address}/t-fprules-softfp and
8543         t-softfp to tmake_file for i[34567]86-*-cygwin*.
8545 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
8547         * config.host: Add i386/${host_address}/t-fprules-softfp to
8548         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
8550 2009-04-09  Nick Clifton  <nickc@redhat.com>
8552         * config/ia64/tf-signs.c: Change copyright header to refer to
8553         version 3 of the GNU General Public License with version 3.1
8554         of the GCC Runtime Library Exception and to point readers at
8555         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
8556         web page.
8557         * config/i386/32/tf-signs.c: Likewise.
8558         * config/libbid/_addsub_dd.c: Likewise.
8559         * config/libbid/_addsub_sd.c: Likewise.
8560         * config/libbid/_addsub_td.c: Likewise.
8561         * config/libbid/_dd_to_df.c: Likewise.
8562         * config/libbid/_dd_to_di.c: Likewise.
8563         * config/libbid/_dd_to_sd.c: Likewise.
8564         * config/libbid/_dd_to_sf.c: Likewise.
8565         * config/libbid/_dd_to_si.c: Likewise.
8566         * config/libbid/_dd_to_td.c: Likewise.
8567         * config/libbid/_dd_to_tf.c: Likewise.
8568         * config/libbid/_dd_to_udi.c: Likewise.
8569         * config/libbid/_dd_to_usi.c: Likewise.
8570         * config/libbid/_dd_to_xf.c: Likewise.
8571         * config/libbid/_df_to_dd.c: Likewise.
8572         * config/libbid/_df_to_sd.c: Likewise.
8573         * config/libbid/_df_to_td.c: Likewise.
8574         * config/libbid/_di_to_dd.c: Likewise.
8575         * config/libbid/_di_to_sd.c: Likewise.
8576         * config/libbid/_di_to_td.c: Likewise.
8577         * config/libbid/_div_dd.c: Likewise.
8578         * config/libbid/_div_sd.c: Likewise.
8579         * config/libbid/_div_td.c: Likewise.
8580         * config/libbid/_eq_dd.c: Likewise.
8581         * config/libbid/_eq_sd.c: Likewise.
8582         * config/libbid/_eq_td.c: Likewise.
8583         * config/libbid/_ge_dd.c: Likewise.
8584         * config/libbid/_ge_sd.c: Likewise.
8585         * config/libbid/_ge_td.c: Likewise.
8586         * config/libbid/_gt_dd.c: Likewise.
8587         * config/libbid/_gt_sd.c: Likewise.
8588         * config/libbid/_gt_td.c: Likewise.
8589         * config/libbid/_isinfd128.c: Likewise.
8590         * config/libbid/_isinfd32.c: Likewise.
8591         * config/libbid/_isinfd64.c: Likewise.
8592         * config/libbid/_le_dd.c: Likewise.
8593         * config/libbid/_le_sd.c: Likewise.
8594         * config/libbid/_le_td.c: Likewise.
8595         * config/libbid/_lt_dd.c: Likewise.
8596         * config/libbid/_lt_sd.c: Likewise.
8597         * config/libbid/_lt_td.c: Likewise.
8598         * config/libbid/_mul_dd.c: Likewise.
8599         * config/libbid/_mul_sd.c: Likewise.
8600         * config/libbid/_mul_td.c: Likewise.
8601         * config/libbid/_ne_dd.c: Likewise.
8602         * config/libbid/_ne_sd.c: Likewise.
8603         * config/libbid/_ne_td.c: Likewise.
8604         * config/libbid/_sd_to_dd.c: Likewise.
8605         * config/libbid/_sd_to_df.c: Likewise.
8606         * config/libbid/_sd_to_di.c: Likewise.
8607         * config/libbid/_sd_to_sf.c: Likewise.
8608         * config/libbid/_sd_to_si.c: Likewise.
8609         * config/libbid/_sd_to_td.c: Likewise.
8610         * config/libbid/_sd_to_tf.c: Likewise.
8611         * config/libbid/_sd_to_udi.c: Likewise.
8612         * config/libbid/_sd_to_usi.c: Likewise.
8613         * config/libbid/_sd_to_xf.c: Likewise.
8614         * config/libbid/_sf_to_dd.c: Likewise.
8615         * config/libbid/_sf_to_sd.c: Likewise.
8616         * config/libbid/_sf_to_td.c: Likewise.
8617         * config/libbid/_si_to_dd.c: Likewise.
8618         * config/libbid/_si_to_sd.c: Likewise.
8619         * config/libbid/_si_to_td.c: Likewise.
8620         * config/libbid/_td_to_dd.c: Likewise.
8621         * config/libbid/_td_to_df.c: Likewise.
8622         * config/libbid/_td_to_di.c: Likewise.
8623         * config/libbid/_td_to_sd.c: Likewise.
8624         * config/libbid/_td_to_sf.c: Likewise.
8625         * config/libbid/_td_to_si.c: Likewise.
8626         * config/libbid/_td_to_tf.c: Likewise.
8627         * config/libbid/_td_to_udi.c: Likewise.
8628         * config/libbid/_td_to_usi.c: Likewise.
8629         * config/libbid/_td_to_xf.c: Likewise.
8630         * config/libbid/_tf_to_dd.c: Likewise.
8631         * config/libbid/_tf_to_sd.c: Likewise.
8632         * config/libbid/_tf_to_td.c: Likewise.
8633         * config/libbid/_udi_to_dd.c: Likewise.
8634         * config/libbid/_udi_to_sd.c: Likewise.
8635         * config/libbid/_udi_to_td.c: Likewise.
8636         * config/libbid/_unord_dd.c: Likewise.
8637         * config/libbid/_unord_sd.c: Likewise.
8638         * config/libbid/_unord_td.c: Likewise.
8639         * config/libbid/_usi_to_dd.c: Likewise.
8640         * config/libbid/_usi_to_sd.c: Likewise.
8641         * config/libbid/_usi_to_td.c: Likewise.
8642         * config/libbid/_xf_to_dd.c: Likewise.
8643         * config/libbid/_xf_to_sd.c: Likewise.
8644         * config/libbid/_xf_to_td.c: Likewise.
8645         * config/libbid/bid128.c: Likewise.
8646         * config/libbid/bid128_2_str.h: Likewise.
8647         * config/libbid/bid128_2_str_macros.h: Likewise.
8648         * config/libbid/bid128_2_str_tables.c: Likewise.
8649         * config/libbid/bid128_add.c: Likewise.
8650         * config/libbid/bid128_compare.c: Likewise.
8651         * config/libbid/bid128_div.c: Likewise.
8652         * config/libbid/bid128_fma.c: Likewise.
8653         * config/libbid/bid128_logb.c: Likewise.
8654         * config/libbid/bid128_minmax.c: Likewise.
8655         * config/libbid/bid128_mul.c: Likewise.
8656         * config/libbid/bid128_next.c: Likewise.
8657         * config/libbid/bid128_noncomp.c: Likewise.
8658         * config/libbid/bid128_quantize.c: Likewise.
8659         * config/libbid/bid128_rem.c: Likewise.
8660         * config/libbid/bid128_round_integral.c: Likewise.
8661         * config/libbid/bid128_scalb.c: Likewise.
8662         * config/libbid/bid128_sqrt.c: Likewise.
8663         * config/libbid/bid128_string.c: Likewise.
8664         * config/libbid/bid128_to_int16.c: Likewise.
8665         * config/libbid/bid128_to_int32.c: Likewise.
8666         * config/libbid/bid128_to_int64.c: Likewise.
8667         * config/libbid/bid128_to_int8.c: Likewise.
8668         * config/libbid/bid128_to_uint16.c: Likewise.
8669         * config/libbid/bid128_to_uint32.c: Likewise.
8670         * config/libbid/bid128_to_uint64.c: Likewise.
8671         * config/libbid/bid128_to_uint8.c: Likewise.
8672         * config/libbid/bid32_to_bid128.c: Likewise.
8673         * config/libbid/bid32_to_bid64.c: Likewise.
8674         * config/libbid/bid64_add.c: Likewise.
8675         * config/libbid/bid64_compare.c: Likewise.
8676         * config/libbid/bid64_div.c: Likewise.
8677         * config/libbid/bid64_fma.c: Likewise.
8678         * config/libbid/bid64_logb.c: Likewise.
8679         * config/libbid/bid64_minmax.c: Likewise.
8680         * config/libbid/bid64_mul.c: Likewise.
8681         * config/libbid/bid64_next.c: Likewise.
8682         * config/libbid/bid64_noncomp.c: Likewise.
8683         * config/libbid/bid64_quantize.c: Likewise.
8684         * config/libbid/bid64_rem.c: Likewise.
8685         * config/libbid/bid64_round_integral.c: Likewise.
8686         * config/libbid/bid64_scalb.c: Likewise.
8687         * config/libbid/bid64_sqrt.c: Likewise.
8688         * config/libbid/bid64_string.c: Likewise.
8689         * config/libbid/bid64_to_bid128.c: Likewise.
8690         * config/libbid/bid64_to_int16.c: Likewise.
8691         * config/libbid/bid64_to_int32.c: Likewise.
8692         * config/libbid/bid64_to_int64.c: Likewise.
8693         * config/libbid/bid64_to_int8.c: Likewise.
8694         * config/libbid/bid64_to_uint16.c: Likewise.
8695         * config/libbid/bid64_to_uint32.c: Likewise.
8696         * config/libbid/bid64_to_uint64.c: Likewise.
8697         * config/libbid/bid64_to_uint8.c: Likewise.
8698         * config/libbid/bid_b2d.h: Likewise.
8699         * config/libbid/bid_binarydecimal.c: Likewise.
8700         * config/libbid/bid_conf.h: Likewise.
8701         * config/libbid/bid_convert_data.c: Likewise.
8702         * config/libbid/bid_decimal_data.c: Likewise.
8703         * config/libbid/bid_decimal_globals.c: Likewise.
8704         * config/libbid/bid_div_macros.h: Likewise.
8705         * config/libbid/bid_dpd.c: Likewise.
8706         * config/libbid/bid_flag_operations.c: Likewise.
8707         * config/libbid/bid_from_int.c: Likewise.
8708         * config/libbid/bid_functions.h: Likewise.
8709         * config/libbid/bid_gcc_intrinsics.h: Likewise.
8710         * config/libbid/bid_inline_add.h: Likewise.
8711         * config/libbid/bid_internal.h: Likewise.
8712         * config/libbid/bid_round.c: Likewise.
8713         * config/libbid/bid_sqrt_macros.h: Likewise.
8715 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
8717         * Makefile.in: Change copyright header to refer to version
8718         3 of the GNU General Public License and to point readers at the
8719         COPYING3 file and the FSF's license web page.
8720         * config.host: Likewise.
8722 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
8724         * config.host: Reorder and merge to match config.gcc change.
8726 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
8728         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
8730 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
8732         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
8733         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
8734         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
8735         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
8737 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
8739         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
8740         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8742 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
8744         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
8745         ia64/t-softfp-compat to tmake_file.
8747         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
8749         * config/ia64/__divxf3.asm: New.
8750         * config/ia64/_fixtfdi.asm: Likewise.
8751         * config/ia64/_fixunstfdi.asm: Likewise.
8752         * config/ia64/_floatditf.asm: Likewise.
8753         * config/ia64/t-fprules-softfp: Likewise.
8754         * config/ia64/t-softfp-compat: Likewise.
8755         * config/ia64/tf-signs.c: Likewise.
8757 2009-01-18  Ben Elliston  <bje@au.ibm.com>
8759         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8761 2009-01-16  Ben Elliston  <bje@au.ibm.com>
8763         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
8764         to tmake_file.
8766 2009-01-13  Ben Elliston  <bje@au.ibm.com>
8768         * config/t-softfp: New file.
8769         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
8770         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
8772 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
8774         * config.host: Add m32r*-*-rtems*.
8776 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
8778         * config.host: Add m32c*-*-rtems*.
8780 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8782         PR bootstrap/33100
8783         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
8784         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
8785         * configure: Regenerate.
8786         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
8787         tmake_file here from gcc/config.gcc.
8788         Move extra_parts here from gcc/config.gcc.
8789         * config/i386/t-sol2: Move here from gcc/config/i386.
8790         Use gcc_srcdir instead of srcdir.
8792 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
8794         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
8795         case.
8797 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
8799         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
8801 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
8803         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
8805 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
8807         Add picoChip port.
8808         * config.host: Add picochip-*-*.
8810 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
8812         * config.host: Match more processor names for Xtensa.
8814 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
8816         * config/i386/64/t-softfp-compat: Update comments.
8818 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8820         * config/i386/64/_divtc3-compat.c: Moved to ...
8821         * config/i386/64/_divtc3.c: Here.
8823         * config/i386/64/_multc3-compat.c: Moved to ...
8824         * config/i386/64/_multc3.c: Here.
8826         * config/i386/64/_powitf2-compat.c: Moved to ...
8827         * config/i386/64/_powitf2.c: Here.
8829         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
8830         .c suffix instead of -compat.c.
8832 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
8834         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
8835         (_FP_MUL_MEAT_D): Ditto.
8836         (_FP_DIV_MEAT_S): Ditto.
8837         (_FP_DIV_MEAT_D): Ditto.
8839 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
8841         * Makefile.in: Add support for __sync_* libgcc functions.
8843 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
8845         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
8847 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8849         PR boostrap/36702
8850         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
8851         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
8853         * config/i386/64/t-fprules-softfp: Moved to ...
8854         * config/i386/64/t-softfp-compat: This.  New.
8856 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
8858         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
8859         Initialize f with 0.0.
8861 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8863         PR target/36669
8864         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
8866         * config/i386/64/_divtc3-compat.c: New.
8867         * config/i386/64/_multc3-compat.c: Likewise.
8868         * config/i386/64/_powitf2-compat.c: Likewise.
8869         * config/i386/64/eqtf2.c: Likewise.
8870         * config/i386/64/getf2.c: Likewise.
8871         * config/i386/64/letf2.c: Likewise.
8872         * config/i386/64/t-fprules-softfp: Likewise.
8874 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8876         * config.host: Add i386/${host_address}/t-fprules-softfp to
8877         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
8878         i[34567]86-*-linux*, x86_64-*-linux*.
8880         * configure.ac: Set host_address to 64 or 32 for x86.
8881         * configure: Regenerated.
8883         * Makefile.in (config.status): Also depend on
8884         $(srcdir)/config.host.
8886         * config/i386/32/t-fprules-softfp: New.
8887         * config/i386/32/tf-signs.c: Likewise.
8889         * config/i386/64/sfp-machine.h: New. Moved from gcc.
8891 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8892             Uros Bizjak  <ubizjak@gmail.com>
8894         * config/i386/32/sfp-machine.h: New.
8896 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
8898         * config/rs6000/t-ppccomm: Remove rules that conflict with
8899         auto-generated rules.
8901 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8903         * configure.ac: sinclude override.m4.
8904         * configure: Regenerate.
8906 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
8908         * configure: Regenerate.
8910 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
8912         * Makefile.in (DECNUMINC): Remove
8913         -I$(MULTIBUILDTOP)../../libdecnumber.
8914         * gstdint.h: New.
8916 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
8918         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
8919         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
8920         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
8921         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
8922         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
8923         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
8924         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
8925         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
8926         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
8927         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
8928         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
8929         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
8930         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
8931         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
8933 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
8935         * config.host (sh2[lbe]*-*-linux*): Allow target.
8937 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
8939         * config/rs6000/t-ppccomm: Add build rules for new files.
8940         (LIB2ADD_ST): New variable.
8942 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
8944         PR target/34210
8945         PR target/35508
8946         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
8947         * config/t-avr: New file. Build 16bit libgcc functions.
8949 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
8951         PR target/35401
8952         * config/t-slibgcc-darwin: Make install-leaf dependent on
8953         install-darwin-libgcc-stubs instead of install.
8955 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
8957         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
8958         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
8959         sh-*-rtemscoff*): Remove cases.
8961 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
8963         * Makefile.in (all): Use install-leaf rather than install.
8964         (install): Split most of the rule into...
8965         (install-leaf): ...this new one.
8967 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
8968             Paolo Bonzini  <bonzini@gnu.org>
8970         PR target/30572
8971         * Makefile.in: Use @shlib_slibdir@ substitution to get
8972         correct install name on darwin.
8973         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
8975 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
8977         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
8978         cris-*-elf and cris-*-none.
8979         (crisv32-*-linux*): Similar, as cris-*-linux*.
8981 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
8983         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
8985 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
8987         PR regression/33926
8988         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
8989         * configure: Regenerated.
8991 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
8993         * Makefile.in (dfp-filenames): Replace decimal_globals,
8994         decimal_data, binarydecimal and convert_data with
8995         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
8996         and bid_convert_data, respectively.
8998 2007-09-17  Chao-ying Fu  <fu@mips.com>
8999             Nigel Stephens  <nigel@mips.com>
9001         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9002         * Makefile.in (fixed_point): Define.
9003         Check if fixed_point is yes to build support functions.
9004         * configure.ac: Check for fixed_point support.
9005         * configure: Regenerated.
9006         * gen-fixed.sh: New file to generate lists of fixed-point labels,
9007         funcs, modes, from, to.
9009 2007-09-11  Janis Johnson  <janis187@us.ibm.com
9011         * Makefile.in (dfp-filenames): Add bid128_noncomp.
9013 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
9015         * Makefile.in (dfp-filenames): Remove decUtility, add
9016         decDouble, decPacked, decQuad, decSingle.
9018 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
9020         * config.host : Add x86_64-elf target.
9022 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
9024         * configure.ac (set_have_cc_tls): Add a missing =.
9025         * configure: Regenerated.
9027 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
9029         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9030         and x86_64-*-linux*.
9032         * config/t-tls: New file.
9034         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
9036         * configure.ac: Include ../config/enable.m4 and
9037         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
9038         supports TLS and substitute set_have_cc_tls.
9039         * configure: Regenerated.
9041 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
9043         * Makefile.in: Use libbid for DFP when BID is enabled.
9045 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
9047         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
9048         extra_parts. Add config/i386/t-cygming to tmake_file.
9049         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9051 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
9052             Danny Smith  <dannysmith@users.sourceforge.net>
9054         PR target/29498
9055         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9056         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
9057         * config/i386/t-crtfm: Compile crtfastmath.o with
9058         -minline-all-stringops.
9060 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
9062         * config.host (sparc-wrs-vxworks): New target.
9064 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
9066         * config.host: Recognize fido.
9068 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
9070         * configure: Check host, not target, for decimal float support.
9072 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
9074         * config/i386/t-crtpc: New file.
9075         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
9076         (x86_64-*-linux*): Ditto.
9078 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
9080         * config.host (x86_64-*-mingw*): New target.
9082 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
9083             H.J. Lu  <hongjiu.lu@intel.com>
9085         * Makefile.in (enable_decimal_float): New.
9086         (DECNUMINC): Add
9087         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9088         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9089         (decbits-filenames): This.
9090         (decbits-objects): New.
9091         (libgcc-objects): Add $(decbits-objects).
9093         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9094         Substitute enable_decimal_float.
9095         * configure: Regenerated.
9097 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
9099         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9101 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
9103         * Makefile.in (install-info): New dummy target.
9105 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
9107         * config.host (bfin*-linux-uclibc*): Set extra_parts.
9109 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
9111         * Makefile.in: Add install-html and install-pdf dummy
9112         targets.
9114 2007-02-05  Roger Sayle  <roger@eyesopen.com>
9115             Daniel Jacobowitz  <dan@codesourcery.com>
9117         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9118         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9119         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9121 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
9123         * Makefile.in (dec-filenames): Add decExcept.
9125 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
9127         PR bootstrap/30469
9128         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9129         -fprofile-use.
9131 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
9133         * configure.ac: Add --enable-version-specific-runtime-libs.
9134         Correct $slibdir default.
9135         * configure: Regenerated.
9137 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
9139         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9141 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
9143         PR target/30519
9144         * config.host (alpha*-*-linux*): Set extra_parts.
9146 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
9148         * config/sh/t-linux: New.
9149         * config.host (sh*-*-linux*): Set tmake_file.
9151 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
9153         * Makefile.in (install): Handle multilibs.
9155 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
9157         * Makefile.in: Added .PHONY entry for documentation targets.
9159 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
9161         * Makefile.in: Add empty info, html, dvi, pdf targets.
9163 2007-01-04  Mike Stump  <mrs@apple.com>
9165         * Makefile.in (MAKEINFO): Remove.
9166         (PERL): Likewise.
9168 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
9170         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9171         * configure: Regenerate.
9172         * Makefile.in (host_subdir): Substitute it.
9173         (gcc_objdir): Use it.
9175 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
9177         * config.host (ia64*-*-linux*): Set tmake_file.
9179 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
9181         * Makefile.in (version): Define.
9183 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
9184             Paolo Bonzini  <bonzini@gnu.org>
9186         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9187         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9188         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9189         config/sparc/t-crtfm, config/t-slibgcc-darwin,
9190         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9191         shared-object.mk, siditi-object.mk, static-object.mk: New files.
9192         * configure: Generated.
9194 Copyright (C) 2007-2018 Free Software Foundation, Inc.
9196 Copying and distribution of this file, with or without modification,
9197 are permitted in any medium without royalty provided the copyright
9198 notice and this notice are preserved.