PR testsuite/77734
[official-gcc.git] / libgcc / ChangeLog
blob85738df894f2565c17e61c37e9119ce882e306c5
1 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
3         * config/aarch64/value-unwind.h (aarch64_vg): New function.
4         (DWARF_LAZY_REGISTER_VALUE): Define.
5         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
6         to provide a fallback register value.
8 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
10         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
11         __ibm128, instead of trying to use long double.
12         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
13         accomidate -mabi=ieeelongdouble multilibs.
14         (CVT_IBM128_TO_FLOAT128): Likewise.
15         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
16         the appropriate IBM extended double type.
17         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
18         (__gcc_qsub): Likewise.
19         (__gcc_qmul): Likewise.
20         (__gcc_qdiv): Likewise.
21         (pack_ldouble): Likewise.
22         (__gcc_qneg): Likewise.
23         (__gcc_qeq): Likewise.
24         (__gcc_qne): Likewise.
25         (__gcc_qge): Likewise.
26         (__gcc_qle): Likewise.
27         (__gcc_stoq): Likewise.
28         (__gcc_dtoq): Likewise.
29         (__gcc_itoq): Likewise.
30         (__gcc_utoq): Likewise.
31         (__gcc_qunord): Likewise.
32         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
33         quad-float128.h for the definitions.
34         (COPYSIGN): Use the f128 version instead of the q version.
35         (INFINITY): Likewise.
36         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
37         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
38         quad-float128.h for the definitions.
39         (COPYSIGN): Use the f128 version instead of the q version.
40         (INFINITY): Likewise.
41         (FABS): Likewise.
42         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
43         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
44         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
46 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
48         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
49         configuration.
51 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
53         Update copyright years.
55 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
57         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
58         * config/riscv/multi3.c: New file.
59         * config/riscv/multi3.S: Remove.
61 2017-12-08  Jim Wilson  <jimw@sifive.com>
63         * config/riscv/div.S: Use FUNC_* macros.
64         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
65         * config/riscv/save-restore.S: Likewise.
66         * config/riscv/riscv-asm.h: New.
68 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
70         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
71         * config/rs6000/_divkc3.c (__divkc3): Likewise.
73         PR libgcc/83112
74         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
75         correct type for all ifunc resolvers to silence -Wattribute-alias
76         warnings.  Eliminate the forward declaration of the resolver
77         functions which is no longer needed.
78         (__subkf3_resolve): Likewise.
79         (__mulkf3_resolve): Likewise.
80         (__divkf3_resolve): Likewise.
81         (__negkf2_resolve): Likewise.
82         (__eqkf2_resolve): Likewise.
83         (__nekf2_resolve): Likewise.
84         (__gekf2_resolve): Likewise.
85         (__gtkf2_resolve): Likewise.
86         (__lekf2_resolve): Likewise.
87         (__ltkf2_resolve): Likewise.
88         (__unordkf2_resolve): Likewise.
89         (__extendsfkf2_resolve): Likewise.
90         (__extenddfkf2_resolve): Likewise.
91         (__trunckfsf2_resolve): Likewise.
92         (__trunckfdf2_resolve): Likewise.
93         (__fixkfsi_resolve): Likewise.
94         (__fixkfdi_resolve): Likewise.
95         (__fixunskfsi_resolve): Likewise.
96         (__fixunskfdi_resolve): Likewise.
97         (__floatsikf_resolve): Likewise.
98         (__floatdikf_resolve): Likewise.
99         (__floatunsikf_resolve): Likewise.
100         (__floatundikf_resolve): Likewise.
101         (__extendkftf2_resolve): Likewise.
102         (__trunctfkf2_resolve): Likewise.
104         PR libgcc/83103
105         * config/rs6000/quad-float128.h (TF): Don't define if long double
106         is IEEE 128-bit floating point.
107         (TCtype): Define as either TCmode or KCmode, depending on whether
108         long double is IEEE 128-bit floating point.
109         (__mulkc3_sw): Add declarations for software/hardware versions of
110         complex multiply/divide.
111         (__divkc3_sw): Likewise.
112         (__mulkc3_hw): Likewise.
113         (__divkc3_hw): Likewise.
114         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
115         handlers to switch between using software emulation and hardware
116         float128 instructions, build the complex multiply/divide functions
117         for both software and hardware support.
118         * config/rs6000/_divkc3.c (_divkc3): Likewise.
119         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
120         (__divkc3_resolve): Likewise.
121         (__mulkc3): Likewise.
122         (__divkc3): Likewise.
123         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
124         (fp128_hw_src): Likewise.
125         (fp128_hw_static_obj): Likewise.
126         (fp128_hw_shared_obj): Likewise.
127         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
128         _mulkc3.c and _divkc3.c, changing the function name.
129         (_divkc3-hw.c): Likewise.
130         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
131         and _divkc3-hw.c.
133 2017-11-26  Julia Koval  <julia.koval@intel.com>
135         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
136         * config/i386/cpuinfo.h (processor_subtypes): Add
137         INTEL_COREI7_CANNONLAKE.
139 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
141         PR bootstrap/83015
142         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
143         parameter.
144         * config/xtensa/unwind-dw2-xtensa.c: Likewise
145         * config/ia64/unwind-ia64.c: Add frames parameter.
146         * unwind-sjlj.c: Likewise.
148 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
150         * config/i386/linux-unwind.h: Include
151         config/i386/shadow-stack-unwind.h.
152         * config/i386/shadow-stack-unwind.h: New file.
153         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
154         pass it to _Unwind_Frames_Extra.
155         * unwind-generic.h (_Unwind_Frames_Extra): New.
156         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
157         parameter. Add local variable frames to count number of frames.
158         (_Unwind_ForcedUnwind_Phase2): Likewise.
159         (_Unwind_RaiseException): Add local variable frames to count
160         number of frames, pass it to _Unwind_RaiseException_Phase2 and
161         uw_install_context.
162         (_Unwind_ForcedUnwind): Likewise.
163         (_Unwind_Resume): Likewise.
164         (_Unwind_Resume_or_Rethrow): Likewise.
166 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
168         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
169         (CET_FLAGS): New.
170         * config/i386/morestack.S: Include <cet.h>.
171         (__morestack_large_model): Add _CET_ENDBR at function entrance.
172         * config/i386/resms64.h: Include <cet.h>.
173         * config/i386/resms64f.h: Likewise.
174         * config/i386/resms64fx.h: Likewise.
175         * config/i386/resms64x.h: Likewise.
176         * config/i386/savms64.h: Likewise.
177         * config/i386/savms64f.h: Likewise.
178         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
179         (CRTSTUFF_T_CFLAGS): Likewise.
180         * configure.ac: Include ../config/cet.m4.
181         Set and substitute CET_FLAGS.
182         * configure: Regenerated.
184 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
186         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
187         renaming.
188         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
189         * configure.ac (libgcc_cv_solaris_crts): Likewise.
190         * configure: Regenerate.
192 2017-11-07  Tom de Vries  <tom@codesourcery.com>
194         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
195         after "do {} while (0)".
197 2017-11-07  Tom de Vries  <tom@codesourcery.com>
199         PR other/82784
200         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
201         semicolon after "do {} while (0)".
202         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
203         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
204         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
205         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
207 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
209         PR libgcc/82635
210         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
211         sysctl to determine whether we're in a trampoline.
212         Keep the pattern matching method for systems without
213         KERN_PROC_SIGTRAMP sysctl.
215 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
216             Vineet Gupta <vgupta@synopsys.com>
218         * config.host (arc*-*-linux*): Set md_unwind_header variable.
219         * config/arc/linux-unwind-reg.def: New file.
220         * config/arc/linux-unwind-reg.h: Likewise.
222 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
224         * config/rl78/subdi3.S: New assembly file.
225         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
227 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
229         * config/rl78/adddi3.S: New assembly file.
230         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
232 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
234         PR target/82274
235         * libgcc2.c (__mulvDI3): If both operands have
236         the same highpart of -1 and the topmost bit of lowpart is 0,
237         multiplication overflows even if both lowparts are 0.
239 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
241         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
243 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
245         * config/microblaze/crti.S, config/microblaze/crtn.S,
246         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
247         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
248         config/microblaze/mulsi3.S,
249         config/microblaze/stack_overflow_exit.S,
250         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
251         config/pa/milli64.S: Add .note.GNU-stack section.
253 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
255         * configure.ac: Add Check for HAVE_AS_AVX.
256         * config.in: Regenerate.
257         * configure: Likewise.
258         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
259         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
260         Correct out-of-date comments.
262 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
264         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
265         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
267 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
269         * config/i386/i386-asm.h (PASTE2): New macro.
270         (ASMNAME): Modify to use PASTE2.
271         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
272         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
273         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
274         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
275         * config/i386/resms64f.S: Likewise.
276         * config/i386/resms64fx.S: Likewise.
277         * config/i386/resms64x.S: Likewise.
278         * config/i386/savms64.S: Likewise.
279         * config/i386/savms64f.S: Likewise.
280         * config/i386/avx_resms64.S: New file that only defines a macro and
281         includes it's corresponding header file.
282         * config/i386/avx_resms64f.S: Likewise.
283         * config/i386/avx_resms64fx.S: Likewise.
284         * config/i386/avx_resms64x.S: Likewise.
285         * config/i386/avx_savms64.S: Likewise.
286         * config/i386/avx_savms64f.S: Likewise.
287         * config/i386/sse_resms64.S: Likewise.
288         * config/i386/sse_resms64f.S: Likewise.
289         * config/i386/sse_resms64fx.S: Likewise.
290         * config/i386/sse_resms64x.S: Likewise.
291         * config/i386/sse_savms64.S: Likewise.
292         * config/i386/sse_savms64f.S: Likewise.
293         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
295 2017-09-01  Olivier Hainque  <hainque@adacore.com>
297         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
299 2017-08-31  Olivier Hainque  <hainque@adacore.com>
301         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
302         match as powerpc-wrs-vxworks*.
304 2017-08-07  Jonathan Yong  <10walls@gmail.com>
306         * config.host (*-cygwin): Include file from mingw
307         config/i386/enable-execute-stack-mingw32.c
309 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
310             Doug Rupp  <rupp@adacore.com>
311             Olivier Hainque  <hainque@adacore.com>
313         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
314         as well as arm-wrs-vxworks.
315         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
316         LIB2ADDEH.
317         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
318         __exidx_start and __exidx_end for downloadable modules.
320 2017-08-01  Olivier Hainque  <hainque@adacore.com>
322         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
323         * config/t-vxworks7: Likewise.
325 2017-08-01  Olivier Hainque  <hainque@adacore.com>
327         * config/t-vxworks: Instead of redefining LIB2ADD,
328         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
330 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
332         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
334 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
336         PR testsuite/80759
337         * config.host: include i386/t-msabi for darwin and solaris.
338         * config/i386/i386-asm.h
339         (ELFFN): Rename to FN_TYPE.
340         (FN_SIZE): New macro.
341         (FN_HIDDEN): Likewise.
342         (ASMNAME): Likewise.
343         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
344         .globl.
345         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
346         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
347         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
348         .macro.
349         * config/i386/resms64f.S: Likewise.
350         * config/i386/resms64fx.S: Likewise.
351         * config/i386/resms64x.S: Likewise.
352         * config/i386/savms64.S: Likewise.
353         * config/i386/savms64f.S: Likewise.
355 2017-07-19  John Marino  <gnugcc@marino.st>
357         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
359 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
361         PR target/81193
362         * configure.ac (PowerPC float128 hardware support): Test whether
363         we can use __builtin_cpu_supports before enabling the ifunc
364         handler.
365         * configure: Regenerate.
367 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
369         * config.host: Remove uclibc from arc target spec.
371 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
373         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
375 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
377         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
378         (have_ieee_hw_p): Delete function.
379         (SW_OR_HW) Use __builtin_cpu_supports().
381 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
383         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
385 2017-07-03  Olivier Hainque  <hainque@adacore.com>
387         * config/t-vxworks7: New file, really.
389 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
391         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
392         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
393         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
394         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
395         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
396         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
397         config/pa/linux-unwind.h (pa32_fallback_frame_state),
398         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
399         config/sh/linux-unwind.h (sh_fallback_frame_state),
400         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
401         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
402         ucontext_t instead of struct ucontext.
404 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
406         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
407         (x86_64-wrs-vxworks7): Likewise.
409 2017-06-27  Olivier Hainque  <hainque@adacore.com>
411         * config/t-vxworks7: New file.
412         * config.host (*-*-vxworks7): Use it.
414 2017-06-22  Matt Turner  <mattst88@gmail.com>
416         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
417         skylake case.
419 2017-06-21  Richard Biener  <rguenther@suse.de>
421         PR gcov-profile/81080
422         * configure.ac: Add AC_SYS_LARGEFILE.
423         * libgcov.h: Include auto-target.h before tsystem.h to pick
424         up _FILE_OFFSET_BITS which might differ for multilibs.
425         * config.in: Regenerate.
426         * configure: Likewise.
428 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
430         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
432 2017-06-09  Martin Liska  <mliska@suse.cz>
434         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
435         Reset __gcov_indirect_call_callee to NULL.
437 2017-06-08  Olivier Hainque  <hainque@adacore.com>
439         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
440         the set of -I options, support for direct inclusions of net/uio.h
441         by VxWorks header files via ioLib.h.
443 2017-06-07  Tony Reix  <tony.reix@atos.net>
444             Matthieu Sarter  <matthieu.sarter.external@atos.net>
445             David Edelsohn  <dje.gcc@gmail.com>
447         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
448         unconditionally.
449         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
450         AIX 7.2 support.
452 2017-06-02  Olivier Hainque  <hainque@adacore.com>
454         * config/vxlib.c (__gthread_once): Add missing value to
455         return statement.
457 2017-05-30  Olivier Hainque  <hainque@adacore.com>
459         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
460         dollar sign before $(MULTIDIR).
462 2017-05-26  Richard Henderson  <rth@redhat.com>
464         PR libgcc/80037
465         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
467 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
469         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
470         _Unwind_SetIP available as functions for arm*-*-freebsd*.
471         * config/arm/unwind-arm.c: Implement the above.
473 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
475         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
476         section for a non-executable stack.
478 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
480         PR target/80600
481         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
483 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
485         * config.host: Add i386/t-msabi to i386/t-linux file list.
486         * config/i386/i386-asm.h: New file.
487         * config/i386/resms64.S: New file.
488         * config/i386/resms64f.S: New file.
489         * config/i386/resms64fx.S: New file.
490         * config/i386/resms64x.S: New file.
491         * config/i386/savms64.S: New file.
492         * config/i386/savms64f.S: New file.
493         * config/i386/t-msabi: New file.
495 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
497         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
498         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
500 2017-05-05  Joshua Conner  <joshconner@google.com>
502         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
503         pc-relative indirect handling for fuchsia.
504         * config/t-slibgcc-fuchsia: New file.
505         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
506         x86_64-*-fuchsia*): Add definitions.
508 2017-04-19  Martin Liska  <mliska@suse.cz>
510         PR gcov-profile/80435
511         * Makefile.in: Install gcov.h.
512         * gcov.h: New file.
513         * libgcov.h: Use the header and make __gcov_flush publicly
514         visible.
516 2017-04-18  Martin Liska  <mliska@suse.cz>
518         PR gcov-profile/78783
519         * libgcov-driver.c (gcov_get_filename): New function.
521 2017-04-07  Jeff Law  <law@redhat.com>
523         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
524         target makefile fragment.
525         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
527 2017-04-07  Alan Modra  <amodra@gmail.com>
529         PR target/45053
530         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
532 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
534         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
536 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
538         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
540 2017-03-10  John Marino  <gnugcc@marino.st>
542         * config/aarch64/freebsd-unwind.h: New file.
543         * config.host: Add aarch64-*-freebsd unwinder.
545 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
547         * config/rs6000/crtrestvr.s: Use .machine altivec.
548         * config/rs6000/crtsavevr.s: Ditto.
550 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
552         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
553         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
554         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
555         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
556         * configure: Regenerate.
557         * config.in: Regenerate.
559 2017-03-02  Jonathan Yong <10walls@gmail.com>
561         * config/i386/gthr-win32.h: Define NOGDI before
562         windows.h include to prevent w32api CC_NONE macro
563         clash with libgfortran.
565 2017-03-02  Jonathan Yong <10walls@gmail.com>
567         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
569 2017-02-16  Andrew Pinski  <apinski@cavium.com>
571         * config/aarch64/value-unwind.h: New file.
572         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
573         to tm_file.
575 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
577         * config.host: Add RISC-V tuples.
578         * config/riscv/atomic.c: New file.
579         * config/riscv/crti.S: Likewise.
580         * config/riscv/crtn.S: Likewise.
581         * config/riscv/div.S: Likewise.
582         * config/riscv/linux-unwind.h: Likewise.
583         * config/riscv/muldi3.S: Likewise.
584         * config/riscv/multi3.S: Likewise.
585         * config/riscv/save-restore.S: Likewise.
586         * config/riscv/sfp-machine.h: Likewise.
587         * config/riscv/t-elf: Likewise.
588         * config/riscv/t-elf32: Likewise.
589         * config/riscv/t-elf64: Likewise.
590         * config/riscv/t-softfp32: Likewise.
591         * config/riscv/t-softfp64: Likewise.
593 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
595         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
596         /* FALLTHRU */ comments.
598 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
600         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
602 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
604         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
605         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
606         DW_CFA_GNU_window_save for AArch64 and LP64.
608 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
610         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
612 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
614         * config/aarch64/aarch64-unwind.h: New file.
615         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
616         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
617         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
618         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
619         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
620         (aarch64_post_extract_frame_addr): New function.
621         (aarch64_post_frob_eh_handler_addr): New function.
622         (aarch64_frob_update_context): New function.
623         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
624         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
625         aarch64*-*-freebsd*):
626         Initialize md_unwind_header to include aarch64-unwind.h.
627         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
628         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
629         __aarch64__.
630         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
631         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
632         (uw_frob_return_addr): New function.
633         (uw_install_context): Use uw_frob_return_addr.
635 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
637         PR other/79046
638         * configure.ac: Add GCC_BASE_VER.
639         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
640         version from BASE-VER file.
641         * configure: Regenerated.
643 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
645         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
646         libmul_f5.a): Filter archived prerequisites.
648 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
650         * config/i386/cpuinfo.h (processor_features): Add
651         FEATURE_AVX512VPOPCNTDQ.
652         * config/i386/cpuinfo.c (get_available_features): Habdle new
653         feature.
655 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
657         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
658         payload if [__mips_nan2008].
660 2017-01-04  Alan Modra  <amodra@gmail.com>
662         * Makefile.in (configure_deps): Update.
663         * configure: Regenerate.
665 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
667         Update copyright years.
669 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
671         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
672         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
673         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
675 2016-12-17  Matthias Klose  <doko@ubuntu.com>
677         * config/arc/gmon: Remove empty directory.
679 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
681         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
682         crtgend.
683         (arc*-*-elf*): Likewise.
684         * config/arc/t-arc: Remove old gmon lib targets.
685         * config/arc/crtg.S: Remove.
686         * config/arc/crtgend.S: Likewise.
687         * config/arc/gmon/atomic.h: Likewise.
688         * config/arc/gmon/auxreg.h: Likewise.
689         * config/arc/gmon/dcache_linesz.S: Likewise.
690         * config/arc/gmon/gmon.c: Likewise.
691         * config/arc/gmon/machine-gmon.h: Likewise.
692         * config/arc/gmon/mcount.c: Likewise.
693         * config/arc/gmon/prof-freq-stub.S: Likewise.
694         * config/arc/gmon/prof-freq.c: Likewise.
695         * config/arc/gmon/profil.S: Likewise.
696         * config/arc/gmon/sys/gmon.h: Likewise.
697         * config/arc/gmon/sys/gmon_out.h: Likewise.
698         * config/arc/t-arc-newlib: Likewise.
699         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
701 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
703         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
705 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
707         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
708         R16 instead of push + pop.
709         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
711 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
713         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
714         tmake_file.
716 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
718         * config.host (arc*-*-linux-uclibc*): Use default extra
719         objects. Include linux-android header.
720         * config/arc/crti.S (_init): Declare symbol as function.
721         (_fini): Likewise.
723 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
725         PR fortran/78379
726         * config/i386/cpuinfo.c:  Move denums for processor vendors,
727         processor type, processor subtypes and declaration of
728         struct __processor_model into
729         * config/i386/cpuinfo.h:  New header file.
731 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
732             Thomas Preud'homme  <thomas.preudhomme@arm.com>
734         * config/arm/cmse_nonsecure_call.S: New.
735         * config/arm/t-arm: Compile cmse_nonsecure_call.S
737 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
738             Thomas Preud'homme  <thomas.preudhomme@arm.com>
740         * config/arm/t-arm (HAVE_CMSE): New.
741         * config/arm/cmse.c: New.
743 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
745         PR gcc/74748
746         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
747         use generic linker version information on Blackfin.
749         PR gcc/74748
750         * libgcc/mkmap-symver.awk: add support for skip_underscore
752 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
753             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
755         PR target/67710
756         *  config/t-darwin: Default builds to 10.5 codegen.
758 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
760         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
761         (_FP_NANSIGN_H): Likewise.
762         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
763         (softfp_truncations): Add tfhf.
764         (softfp_extras): Add required conversion functions.
766 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
767             Matthew Wahab  <matthew.wahab@arm.com>
769         * config/arm/fp16.c (binary64): New.
770         (__gnu_d2h_internal): New.
771         (__gnu_d2h_ieee): New.
772         (__gnu_d2h_alternative): New.
774 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
775             Matthew Wahab  <matthew.wahab@arm.com>
777         * config/arm/fp16.c (struct format): New.
778         (binary32): New.
779         (__gnu_float2h_internal): New.  Body moved from
780         __gnu_f2h_internal and generalize.
781         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
782         Call it with binary32.
784 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
786         * soft-fp/extendhftf2.c: Update from glibc.
787         * soft-fp/fixhfti.c: Likewise.
788         * soft-fp/fixunshfti.c: Likewise.
789         * soft-fp/floattihf.c: Likewise.
790         * soft-fp/floatuntihf.c: Likewise.
791         * soft-fp/half.h: Likewise.
792         * soft-fp/trunctfhf2.c: Likewise.
794 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
796         PR libgcc/77813
797         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
798         __TMC_END__ behind a passthrough asm.
800 2016-11-18  Walter Lee  <walt@tilera.com>
802         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
804 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
806         * config/i386/cpuinfo.c (processor_features): Add
807         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
809 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
811         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
812         (__ARC_NORM__): Use instead ARC_OPTFPE.
813         * config/arc/fp-hack.h: Likewise.
814         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
815         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
817 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
819         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
820         * config/nvptx/mgomp.c: New file.
821         * config/nvptx/t-nvptx: Add mgomp.c
823 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
825         PR libgcc/68468
826         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
828 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
830         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
831         of checking for cpus.
832         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
833         (__modsi3, __clzsi2): Likewise.
835 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
837         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
838         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
839         * config/i386/t-cpuinfo-static: New.
841 2016-11-03  Martin Liska  <mliska@suse.cz>
843         * libgcov-profiler.c (__gcov_time_profiler): Remove.
844         (__gcov_time_profiler_atomic): Likewise.
846 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
848         PR libgcc/78067
849         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
850         count_leading_zeros.
852 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
854         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
855         * libgcc2.c (__divmoddi4): New function.
856         * libgcc2.h (__divmoddi4): Declare.
857         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
858         and __PFX_divmodti4.
860 2016-10-24  Florian Weimer  <fweimer@redhat.com>
862         PR libgcc/78064
863         * unwind-c.c: Include auto-target.h.
865 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
867         * config/pa/pa64-hpux-lib.h: New file.
868         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
869         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
870         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
871         hppa*64*-*-hpux11*.
873 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
875         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
876         definition.
877         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
878         definition.
879         * config/xtensa/t-windowed (LIB2ADDEH): Use
880         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
881         or xtensa/t-linux.
883 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
885         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
886         __ieee754_sqrt): New functions.
887         (__divdf3): Add implementation with new FPU instructions under
888         #if XCHAL_HAVE_DFP_DIV.
889         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
890         __ieee754_sqrtf): New functions.
891         (__divsf3): Add implementation with new FPU instructions under
892         #if XCHAL_HAVE_FP_DIV.
893         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
894         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
896 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
898         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
899         equivalent.
900         * config/tilepro/atomic.c: Likewise and stop casting model to
901         enum memmodel.
903 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
905         PR target/77586
906         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
907         soft-fp.
909 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
911         * config.host: Add support for aarch64-*-freebsd*.
913 2016-10-05  Andreas Schwab  <schwab@suse.de>
915         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
916         (.section .init_array): Don't call __do_jv_register_classes.
917         (.section .init): Likewise.
919 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
921         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
922         (__JCR_LIST__): Remove.
923         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
924         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
925         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
926         * config/ia64/crtend.S (__JCR_END__): Remove.
927         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
928         conditionals.
929         (__JCR_LIST__, __JCR_END__): Remove.
930         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
931         (__do_global_ctors_1): Likewise.
933 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
935         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
936         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
938 2016-09-27  Martin Liska  <mliska@suse.cz>
940         PR gcov-profile/7970
941         PR gcov-profile/16855
942         PR gcov-profile/44779
943         * libgcov-driver.c (__gcov_init): Do not register a atexit
944         handler.
945         (__gcov_exit): Rename from gcov_exit.
946         * libgcov.h (__gcov_exit): Declare.
948 2016-09-27  Martin Liska  <mliska@suse.cz>
950         PR bootstrap/77749
951         * Makefile.in: Remove _gcov_merge_delta.
952         * libgcov-merge.c (void __gcov_merge_delta): Remove.
953         * libgcov-util.c (__gcov_delta_counter_op): Remove.
954         * libgcov.h: Remove declaration of __gcov_merge_delta.
956 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
958         * configure.ac: Do not create links, only substitute the filenames.
959         * configure: Regenerate.
960         * Makefile.in: Assign the substitution results to variables.
961         (LIBGCC_LINKS): Define.
962         (enable-execute-stack.c): New rule.
963         (unwind.h): Likewise.
964         (md-unwind-support.h): Likewise.
965         (sfp-machine.h): Likewise.
966         (gthr-default.h): Likewise.
967         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
968         unwind.h as prerequisite of install-unwind_h-forbuild.
970 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
972         PR libgcc/71744
973         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
974         is not the primary registry and atomics are available.
975         (any_objects_registered): New variable.
976         (__register_frame_info_bases, __register_frame_info_table_bases):
977         Atomically store 1 to any_objects_registered after registering first
978         unwind info.
979         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
981 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
983         PR target/63250
984         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
985         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
986         (HFtype): Likewise.
987         (HCtype): Likewise.
988         (__divhc3): Likewise.
989         (__mulhc3): Likewise.
990         * libgcc2.c: Support _mulhc3 and _divhc3.
992 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
994         PR libgcc/77519
995         * libgcc2.c (NOTRUNC): Invert settings.
997 2016-09-06  Martin Liska  <mliska@suse.cz>
999         PR gcov-profile/77378
1000         PR gcov-profile/77466
1001         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1002         conditionaly enable/disable *_atomic functions.
1004 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
1006         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1007         where not already enabled.
1009 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1011         * config/mips/linux-unwind.h: Use sys/syscall.h.
1013 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
1015         PR libgcc/77265
1016         * soft-fp/adddf3.c: Update from glibc.
1017         * soft-fp/addsf3.c: Likewise.
1018         * soft-fp/addtf3.c: Likewise.
1019         * soft-fp/divdf3.c: Likewise.
1020         * soft-fp/divsf3.c: Likewise.
1021         * soft-fp/divtf3.c: Likewise.
1022         * soft-fp/double.h: Likewise.
1023         * soft-fp/eqdf2.c: Likewise.
1024         * soft-fp/eqsf2.c: Likewise.
1025         * soft-fp/eqtf2.c: Likewise.
1026         * soft-fp/extenddftf2.c: Likewise.
1027         * soft-fp/extended.h: Likewise.
1028         * soft-fp/extendsfdf2.c: Likewise.
1029         * soft-fp/extendsftf2.c: Likewise.
1030         * soft-fp/extendxftf2.c: Likewise.
1031         * soft-fp/fixdfdi.c: Likewise.
1032         * soft-fp/fixdfsi.c: Likewise.
1033         * soft-fp/fixdfti.c: Likewise.
1034         * soft-fp/fixsfdi.c: Likewise.
1035         * soft-fp/fixsfsi.c: Likewise.
1036         * soft-fp/fixsfti.c: Likewise.
1037         * soft-fp/fixtfdi.c: Likewise.
1038         * soft-fp/fixtfsi.c: Likewise.
1039         * soft-fp/fixtfti.c: Likewise.
1040         * soft-fp/fixunsdfdi.c: Likewise.
1041         * soft-fp/fixunsdfsi.c: Likewise.
1042         * soft-fp/fixunsdfti.c: Likewise.
1043         * soft-fp/fixunssfdi.c: Likewise.
1044         * soft-fp/fixunssfsi.c: Likewise.
1045         * soft-fp/fixunssfti.c: Likewise.
1046         * soft-fp/fixunstfdi.c: Likewise.
1047         * soft-fp/fixunstfsi.c: Likewise.
1048         * soft-fp/fixunstfti.c: Likewise.
1049         * soft-fp/floatdidf.c: Likewise.
1050         * soft-fp/floatdisf.c: Likewise.
1051         * soft-fp/floatditf.c: Likewise.
1052         * soft-fp/floatsidf.c: Likewise.
1053         * soft-fp/floatsisf.c: Likewise.
1054         * soft-fp/floatsitf.c: Likewise.
1055         * soft-fp/floattidf.c: Likewise.
1056         * soft-fp/floattisf.c: Likewise.
1057         * soft-fp/floattitf.c: Likewise.
1058         * soft-fp/floatundidf.c: Likewise.
1059         * soft-fp/floatundisf.c: Likewise.
1060         * soft-fp/floatunditf.c: Likewise.
1061         * soft-fp/floatunsidf.c: Likewise.
1062         * soft-fp/floatunsisf.c: Likewise.
1063         * soft-fp/floatunsitf.c: Likewise.
1064         * soft-fp/floatuntidf.c: Likewise.
1065         * soft-fp/floatuntisf.c: Likewise.
1066         * soft-fp/floatuntitf.c: Likewise.
1067         * soft-fp/gedf2.c: Likewise.
1068         * soft-fp/gesf2.c: Likewise.
1069         * soft-fp/getf2.c: Likewise.
1070         * soft-fp/ledf2.c: Likewise.
1071         * soft-fp/lesf2.c: Likewise.
1072         * soft-fp/letf2.c: Likewise.
1073         * soft-fp/muldf3.c: Likewise.
1074         * soft-fp/mulsf3.c: Likewise.
1075         * soft-fp/multf3.c: Likewise.
1076         * soft-fp/negdf2.c: Likewise.
1077         * soft-fp/negsf2.c: Likewise.
1078         * soft-fp/negtf2.c: Likewise.
1079         * soft-fp/op-1.h: Likewise.
1080         * soft-fp/op-2.h: Likewise.
1081         * soft-fp/op-4.h: Likewise.
1082         * soft-fp/op-8.h: Likewise.
1083         * soft-fp/op-common.h: Likewise.
1084         * soft-fp/quad.h: Likewise.
1085         * soft-fp/single.h: Likewise.
1086         * soft-fp/soft-fp.h: Likewise.
1087         * soft-fp/subdf3.c: Likewise.
1088         * soft-fp/subsf3.c: Likewise.
1089         * soft-fp/subtf3.c: Likewise.
1090         * soft-fp/truncdfsf2.c: Likewise.
1091         * soft-fp/trunctfdf2.c: Likewise.
1092         * soft-fp/trunctfsf2.c: Likewise.
1093         * soft-fp/trunctfxf2.c: Likewise.
1094         * soft-fp/unorddf2.c: Likewise.
1095         * soft-fp/unordsf2.c: Likewise.
1096         * soft-fp/unordtf2.c: Likewise.
1098 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
1100         PR gcov-profile/67097
1101         * libgcov-util.c (gcov_profile_merge): Skip missing files.
1103 2016-08-10  Martin Liska  <mliska@suse.cz>
1105         PR gcov-profile/58306
1106         * Makefile.in: New functions (modules) are added.
1107         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1108         function.
1109         (__gcov_pow2_profiler_atomic): New function.
1110         (__gcov_one_value_profiler_body): New argument is instroduced.
1111         (__gcov_one_value_profiler): Call with the new argument.
1112         (__gcov_one_value_profiler_atomic): Likewise.
1113         (__gcov_indirect_call_profiler_v2): Likewise.
1114         (__gcov_time_profiler_atomic): New function.
1115         (__gcov_average_profiler_atomic): Likewise.
1116         (__gcov_ior_profiler_atomic): Likewise.
1117         * libgcov.h: Declare the aforementioned functions.
1119 2016-08-09  Martin Liska  <mliska@suse.cz>
1121         * libgcov-util.c: Fix typo and GNU coding style.
1123 2016-08-09  Martin Liska  <mliska@suse.cz>
1125         * Makefile.in: Remove __gcov_indirect_call_profiler.
1126         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1127         function.
1128         * libgcov.h: And the declaration of the function.
1130 2016-08-09  Martin Liska  <mliska@suse.cz>
1132         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1133         power of two.
1135 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1137         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1138         * config/rs6000/_mulkc3.c: Likewise.
1140 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
1142         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1143         zero_reg as previous call to __umulhisi3 already cleared it.
1145 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
1147         PR target/59833
1148         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1150 2016-07-19  Nick Clifton  <nickc@redhat.com>
1152         * config.host (m32r): Add m32r/t-m32r to tmake_file.
1153         Add crtinit.o and crtfini.o to extra_parts.
1155 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1157         * config/rs6000/_divkc3.c: New.
1158         * config/rs6000/_mulkc3.c: New.
1159         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1160         and _divkc3.
1161         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1162         fp128_ppc_funcs.
1164 2016-07-11  Hale Wang  <hale.wang@arm.com>
1165             Andre Vieira  <andre.simoesdiasvieira@arm.com>
1167         * config/arm/lib1funcs.S: Add new wrapper.
1169 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1171         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1173 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1175         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1176         and ARMv5t* rather than for a fixed list of architectures.
1178 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1180         * config/arm/bpabi-v6m.S: Clarify what architectures is the
1181         implementation suitable for.
1182         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1183         for all Thumb-1 only targets.
1184         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1185         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1186         __ARM_ARCH_6M__.
1187         (EQUIV): Likewise.
1188         (ARM_FUNC_ALIAS): Likewise.
1189         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1190         version.
1191         (modsi3): Likewise.
1192         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1193         (clzdi2): Likewise.
1194         (ctzsi2): Likewise.
1195         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1196         __ARM_ARCH_6M__ in guard for checking whether it is defined.
1197         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1198         __ARM_ARCH_6M__ and add comment to indicate the connection between
1199         this condition and the one in gcc/config/arm/elf.h.
1200         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1201         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1202         * config/arm/t-softfp: Likewise.
1204 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1206         * libgcc2.c (SYMBOL__MAIN): Remove checks for
1207         CTOR_LISTS_DEFINED_EXTERNALLY.
1209 2016-06-28  Walter Lee  <walt@tilera.com>
1211         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
1212         asm/unistd.h.
1213         (SPR_CMPEXCH_VALUE): Define for tilegx.
1214         (__NR_FAST_cmpxchg): Define for tilepro.
1215         (__NR_FAST_atomic_update): Define for tilepro.
1216         (__NR_FAST_cmpxchg64): Define for tilepro.
1218 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
1220         * config.host: Add suport for arm*-*-phoenix* targets.
1222 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1224         * config.host: Remove support for mep-*.
1225         * config/mep/lib1funcs.S: Remove.
1226         * config/mep/lib2funcs.c: Remove.
1227         * config/mep/t-mep: Remove.
1228         * config/mep/tramp.c: Remove.
1230 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1232         * config.host: Remove support for avr-rtems.
1233         * config/avr/t-rtems: Remove.
1235 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1237         * config.host: Remove m32r-rtems support.
1239 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1241         * config.host: Remove h8300-rtems support.
1243 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1245         * config.host: Remove support for knetbsd.
1247 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1249         * config.host: Remove support for openbsd 2 and 3.
1251 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1253         * config.host: Remove interix support.
1254         * config/i386/t-interix: Remove.
1256 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
1258         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
1259         least-significant bit in function pointer for fixup.
1261 2016-06-05  Aaron Conole  <aconole@redhat.com>
1262             Nathan Sidwell  <nathan@acm.org>
1264         PR libgcc/71400
1265         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
1266         (get_gcov_error_file): Check __gcov_error_file before trying to
1267         initialize it.
1268         (gcov_error): Always use get_gcov_error_file.
1270 2016-06-02  Aaron Conole  <aconole@redhat.com>
1272         * libgcov-driver-system.c (__gcov_error_file): New.
1273         (get_gcov_error_file): New.
1274         (gcov_error): Use and set __gcov_error_file.
1275         (gcov_error_exit): New.
1276         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
1278 2016-05-26  Nathan Sidwell  <nathan@acm.org>
1280         * config/nvptx/free.asm: Delete.
1281         * config/nvptx/malloc.asm: Delete.
1282         * config/nvptx/realloc.c: Delete.
1283         * t-nvptx: Update.
1285 2016-05-25  Nathan Sidwell  <nathan@acm.org>
1287         * config/nvptx/crt0.s: Delete.
1288         * config/nvptx/crt0.c: New.
1289         * t-nvptx: Update.
1291 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
1293         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
1294         dw2/seh configuration.
1295         [x86_64-*-mingw*]: Likewise.
1297 2016-05-10  Joel Sherrill <joel@rtems.org>
1299         PR libgcc/70720
1300         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
1301         targets so the same extra_parts are built.  Also have tmake_file add
1302         on to its value rather than override.
1304 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
1306         * config.host: Remove SH5 support.
1307         * configure: Likewise.
1309 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
1311         * config/sh/crt1.S: Remove SH5 support.
1312         * config/sh/crti.S: Likewise.
1313         * config/sh/crtn.S: Likewise.
1314         * config/sh/lib1funcs-4-300.S: Likewise.
1315         * config/sh/lib1funcs-Os-4-200.S: Likewise.
1316         * config/sh/lib1funcs.S: Likewise.
1317         * config/sh/linux-unwind.h: Likewise.
1318         * config/sh/t-sh64: Delete.
1320 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
1322         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
1324 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
1325             Joern Rennecke  <joern.rennecke@embecosm.com>
1327         * config/arc/crttls.S: New file.
1328         * config/arc/t-arc: New rule.
1329         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
1331 2016-04-25  Nick Clifton  <nickc@redhat.com>
1333         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
1334         (__mspabi_cmpd): Likewise.
1335         * config/msp430/floathidf.c (__floathidf): Likewise.
1336         * config/msp430/floathisf.c (__floathisf): Likewise
1337         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
1338         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
1339         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
1340         second parameter.
1341         (__ashrsi3): Likewise.
1343 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
1345         * config/m68k/linux-atomic.c: Do not include unistd.h
1347 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
1349         * config/arm/ieee754-df.S: Fix typos in comments.
1351 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
1353         PR target/70381
1354         * configure.ac (powerpc*-*-linux*): Rework tests to build
1355         __float128 emulation routines to not depend on using #pragma GCC
1356         target to enable -mfloat128.
1357         * configure: Regnerate.
1359 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
1361         PR target/67172
1362         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
1363         __MINGW32__ is defined.
1365 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
1367         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
1369 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
1371         PR libgcc/70363
1372         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
1373         built with an assembler that does not support ISA 3.0
1374         instructions, rename __extendkftf2_sw to __extendkftf2.
1376 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1378         PR target/38239
1379         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
1380         call-clobbered registers.
1381         (internal_mcount): Remove __i386__ handling.
1383 2016-02-26  Joel Sherrill <joel@rtems.org>
1385         * config.host: Add x86_64-*-rtems*.
1387 2016-02-26  Joel Sherrill <joel@rtems.org>
1389         * libgcc/config.host: Add aarch64-*-rtems*.
1391 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1392             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1394         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
1395         union of u64 and double.
1396         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
1397         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
1398         value.
1399         (FP_ROUNDMODE): Update the usage of _fpscr.
1401 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
1403         PR driver/68463
1404         * Makefile.in (crtoffloadtable$(objext)): New rule.
1405         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
1406         enable_offload_targets is not empty.
1407         * configure: Regenerate.
1408         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
1409         crtoffloadtable.
1411 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
1413         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
1414         .literal_position before the function.
1415         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
1416         Likewise.
1418 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
1420         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
1421         * config/s390/morestack.S: New file.
1422         * config/s390/t-stack-s390: New file.
1423         * generic-morestack.c (__splitstack_find): Add s390-specific code.
1425 2016-02-12  Walter Lee  <walt@tilera.com>
1427         * config.host (tilegx*-*-linux*): remove ti from
1428         softfp_int_modes for 32-bit configs.
1430 2016-02-10  Ian Lance Taylor  <iant@google.com>
1432         PR go/68562
1433         * config/i386/morestack.S (__stack_split_initialize): Align
1434         stack.
1436 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
1438         PR bootstrap/69611
1439         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
1440         __FLOAT128__ to compile only for __float128 capable targets.
1442 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
1444         PR target/69444
1445         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
1446         instead of ___NO_FPRS__.
1448 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
1449             Steven Munroe  <munroesj@linux.vnet.ibm.com>
1450             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
1452         * config/rs6000/float128-sed: New files to convert TF names to KF
1453         names for PowerPC IEEE 128-bit floating point support.
1454         * config/rs6000/float128-sed-hw: Likewise.
1456         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1457         floating point hardware support.
1459         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1460         128-bit floating point software emulation or use ISA 3.0 hardware
1461         support if it is available.
1463         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1464         floating point.
1466         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
1467         floating point to IBM extended double.
1469         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
1470         double to IEEE 128-bit floating point.
1472         * config/rs6000/t-float128: New Makefile fragments to enable
1473         building __float128 emulation support.
1474         * config/rs6000/t-float128-hw: Likewise.
1476         * config/rs6000/sfp-exceptions.c: New file to provide exception
1477         support for IEEE 128-bit floating point.
1479         * config/rs6000/floattikf.c: New files for converting between IEEE
1480         128-bit floating point and signed/unsigned 128-bit integers.
1481         * config/rs6000/fixunskfti.c: Likewise.
1482         * config/rs6000/fixkfti.c: Likewise.
1483         * config/rs6000/floatuntikf.c: Likewise.
1485         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1486         when building on 64-bit systems, or when VSX is enabled.
1487         (_FP_W_TYPE): Likewise.
1488         (_FP_WS_TYPE): Likewise.
1489         (_FP_I_TYPE): Likewise.
1490         (TItype): Define on 64-bit systems.
1491         (UTItype): Likewise.
1492         (TI_BITS): Likewise.
1493         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1494         (_FP_MUL_MEAT_Q): Likewise.
1495         (_FP_DIV_MEAT_D): Likewise.
1496         (_FP_DIV_MEAT_Q): Likewise.
1497         (_FP_NANFRAC_D): Likewise.
1498         (_FP_NANFRAC_Q): Likewise.
1499         (ISA_BIT): Add exception support if we are being compiled on a
1500         machine with hardware floating point support to build the IEEE
1501         128-bit emulation functions.
1502         (FP_EX_INVALID): Likewise.
1503         (FP_EX_OVERFLOW): Likewise.
1504         (FP_EX_UNDERFLOW): Likewise.
1505         (FP_EX_DIVZERO): Likewise.
1506         (FP_EX_INEXACT): Likewise.
1507         (FP_EX_ALL): Likewise.
1508         (__sfp_handle_exceptions): Likewise.
1509         (FP_HANDLE_EXCEPTIONS): Likewise.
1510         (FP_RND_NEAREST): Likewise.
1511         (FP_RND_ZERO): Likewise.
1512         (FP_RND_PINF): Likewise.
1513         (FP_RND_MINF): Likewise.
1514         (FP_RND_MASK): Likewise.
1515         (_FP_DECL_EX): Likewise.
1516         (FP_INIT_ROUNDMODE): Likewise.
1517         (FP_ROUNDMODE): Likewise.
1519         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1520         VSX code, enable IEEE 128-bit floating point.  If the compiler can
1521         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
1522         floating point hardware instructions and it supports declaring
1523         functions with the ifunc attribute, enable ifunc functions to
1524         switch between software and hardware support.
1525         * configure.ac (powerpc*-*-linux*): Likewise.
1526         * configure: Regenerate.
1528 2016-01-15  Nick Clifton  <nickc@redhat.com>
1530         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
1531         dependency as the source file to be compiled.
1532         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
1533         (lib2hw_mul_f5.o): Likewise.
1535 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
1537         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
1538         * libgcc/config/rs6000/fixkfti.c: Likewise.
1539         * libgcc/config/rs6000/fixunskfti.c: Likewise.
1540         * libgcc/config/rs6000/float128-hw.c: Likewise.
1541         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
1542         * libgcc/config/rs6000/float128-sed: Likewise.
1543         * libgcc/config/rs6000/floattikf.c: Likewise.
1544         * libgcc/config/rs6000/floatuntikf.c: Likewise.
1545         * libgcc/config/rs6000/quad-float128.h: Likewise.
1546         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
1547         * libgcc/config/rs6000/sfp-machine.h: Likewise.
1548         * libgcc/config/rs6000/t-float128: Likewise.
1549         * libgcc/config/rs6000/t-float128-hw: Likewise.
1550         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
1551         * libgcc/config.host: Likewise.
1552         * libgcc/configure: Likewise.
1553         * libgcc/configure.ac: Likewise.
1555 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
1556             Steven Munroe  <munroesj@linux.vnet.ibm.com>
1557             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
1559         * config/rs6000/sfp-exceptions.c: New file to provide exception
1560         support for IEEE 128-bit floating point.
1562         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1563         floating point hardware support.
1565         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
1566         point conversions.
1567         * config/rs6000/fixunskfti.c: Likewise.
1568         * config/rs6000/fixkfti.c: Likewise.
1569         * config/rs6000/floatuntikf.c: Likewise.
1570         * config/rs6000/extendkftf2-sw.c: Likewise.
1571         * config/rs6000/trunctfkf2-sw.c: Likewise.
1573         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1574         128-bit floating point software emulation or use ISA 3.0 hardware
1575         support if it is available.
1577         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1578         floating point.
1580         * config/rs6000/t-float128: New Makefile fragments to enable
1581         building __float128 emulation support.
1582         * config/rs6000/t-float128-hw: Likewise.
1584         * config/rs6000/float128-sed: New file to convert TF names to KF
1585         names for PowerPC IEEE 128-bit floating point support.
1587         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1588         when building on 64-bit systems, or when VSX is enabled.
1589         (_FP_W_TYPE): Likewise.
1590         (_FP_WS_TYPE): Likewise.
1591         (_FP_I_TYPE): Likewise.
1592         (TItype): Define on 64-bit systems.
1593         (UTItype): Likewise.
1594         (TI_BITS): Likewise.
1595         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1596         (_FP_MUL_MEAT_Q): Likewise.
1597         (_FP_DIV_MEAT_D): Likewise.
1598         (_FP_DIV_MEAT_Q): Likewise.
1599         (_FP_NANFRAC_D): Likewise.
1600         (_FP_NANFRAC_Q): Likewise.
1601         (ISA_BIT): Add exception support if we are being compiled on a
1602         machine with hardware floating point support to build the IEEE
1603         128-bit emulation functions.
1604         (FP_EX_INVALID): Likewise.
1605         (FP_EX_OVERFLOW): Likewise.
1606         (FP_EX_UNDERFLOW): Likewise.
1607         (FP_EX_DIVZERO): Likewise.
1608         (FP_EX_INEXACT): Likewise.
1609         (FP_EX_ALL): Likewise.
1610         (__sfp_handle_exceptions): Likewise.
1611         (FP_HANDLE_EXCEPTIONS): Likewise.
1612         (FP_RND_NEAREST): Likewise.
1613         (FP_RND_ZERO): Likewise.
1614         (FP_RND_PINF): Likewise.
1615         (FP_RND_MINF): Likewise.
1616         (FP_RND_MASK): Likewise.
1617         (_FP_DECL_EX): Likewise.
1618         (FP_INIT_ROUNDMODE): Likewise.
1619         (FP_ROUNDMODE): Likewise.
1621         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
1622         compiler can do __float128.
1623         * configure: Regenerate.
1625         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1626         VSX code, enable IEEE 128-bit floating point.
1628 2016-01-05  Olivier Hainque  <hainque@adacore.com>
1630         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
1631         specificities.
1633 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
1635         Update copyright years.
1637 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
1639         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
1640         soft-fp targets.
1642 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1644         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
1645         instead of abort to avoid dependency on stdlib.h.
1647 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
1649         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
1650         to initialize call to __dl_fixup once.
1652 2015-12-04  Nick Clifton  <nickc@redhat.com>
1654         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
1655         Allow for the second argument being negative.
1656         * config.host (extra_parts): Define for MSP430.  Create separate
1657         libraries for each of the hardware multiply formats.
1658         * config/msp430/lib2hw_mul.S: Build only the multiply routines
1659         that are needed.
1660         * config/msp430/lib2mul.c: Likewise.
1661         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
1662         Add rules to build hardware multiply libraries.
1663         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
1664         __mspabi_divul function.
1665         (__mspabi_divllu): New stub function.
1667 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
1669         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
1670         fixup values if saved GOT address doesn't match runtime address.
1671         (fixup_branch_offset): Reorder list.
1673 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1675         * Makefile.in (VTV_CFLAGS): New variable.
1676         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
1677         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
1678         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1679         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
1680         to extra_parts if $enable_vtable_verify = yes.
1682 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1684         PR target/68059
1685         * config/arm/linux-atomic-64bit.c (__write): Rename to...
1686         (write): ...this and fix the return type.
1688 2015-11-19  DJ Delorie  <dj@redhat.com>
1690         * config/msp430/lib2hw_mul.S: Fix alignment.
1692 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
1694         * config/nvptx/reduction.c: New.
1695         * config/nvptx/t-nvptx (LIB2ADD): Add it.
1697 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
1699         * config/rs6000/on_exit.c: New file.
1700         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
1701         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
1703 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
1705         * config/arc/dp-hack.h: Add support for ARCHS.
1706         * config/arc/ieee-754/divdf3.S: Likewise.
1707         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
1708         * config/arc/ieee-754/muldf3.S: Likewise.
1709         * config/arc/ieee-754/mulsf3.S: Likewise
1710         * config/arc/lib1funcs.S: Likewise
1711         * config/arc/gmon/dcache_linesz.S: Don't read the build register
1712         for ARCv2 cores.
1713         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
1714         for ARCv2 cores.
1715         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
1716         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
1717         cores.
1719 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1721         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
1722         value.
1723         * config/ia64/crtend.S: Likewise.
1725 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1727         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
1728         __CHAR_BIT__ instead of BITS_PER_UNIT.
1729         * fixed-bit.h: Likewise.
1730         * fp-bit.h: Likewise.
1731         * libgcc2.c (__popcountSI2): Likewise.
1732         (__popcountDI2): Likewise.
1733         * libgcc2.h: Likewise.
1734         * libgcov.h: Likewise.
1736 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
1738         * config/rs6000/atexit.c: New file.
1739         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
1740         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
1741         * config/rs6000/cxa_finalize.c
1742         (catomic_compare_and_exchange_bool_acq): Negate return value.
1744 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
1746         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
1747         (processor_subtypes): Add znver1.
1748         (get_amd_cpu): Detect znver1.
1750 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
1752         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
1753         Include crtfastmath.o.
1755 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
1757         PR libgcc/66883
1758         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1760 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
1762         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
1763         * config/rl78/divmodsi.S: Update return register to r8.
1764         * config/rl78/divmodhi.S: Update return register to r8,r9.
1765         Branch to main_loop_done_himode to pop registers before return.
1767 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
1769         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
1770         (__cpu_indicator_init): Fix model selection for AMD CPUs.
1772 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
1774         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
1776 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
1778         * config.host (xtensa*-*-uclinux*): New configuration.
1780 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
1782         * config/i386/cpuinfo.c (processor_features): Add
1783         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
1785 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
1787         * soft-fp/adddf3.c: Update from glibc.
1788         * soft-fp/addsf3.c: Likewise.
1789         * soft-fp/addtf3.c: Likewise.
1790         * soft-fp/divdf3.c: Likewise.
1791         * soft-fp/divsf3.c: Likewise.
1792         * soft-fp/divtf3.c: Likewise.
1793         * soft-fp/double.h: Likewise.
1794         * soft-fp/eqdf2.c: Likewise.
1795         * soft-fp/eqsf2.c: Likewise.
1796         * soft-fp/eqtf2.c: Likewise.
1797         * soft-fp/extenddftf2.c: Likewise.
1798         * soft-fp/extended.h: Likewise.
1799         * soft-fp/extendsfdf2.c: Likewise.
1800         * soft-fp/extendsftf2.c: Likewise.
1801         * soft-fp/extendxftf2.c: Likewise.
1802         * soft-fp/fixdfdi.c: Likewise.
1803         * soft-fp/fixdfsi.c: Likewise.
1804         * soft-fp/fixdfti.c: Likewise.
1805         * soft-fp/fixsfdi.c: Likewise.
1806         * soft-fp/fixsfsi.c: Likewise.
1807         * soft-fp/fixsfti.c: Likewise.
1808         * soft-fp/fixtfdi.c: Likewise.
1809         * soft-fp/fixtfsi.c: Likewise.
1810         * soft-fp/fixtfti.c: Likewise.
1811         * soft-fp/fixunsdfdi.c: Likewise.
1812         * soft-fp/fixunsdfsi.c: Likewise.
1813         * soft-fp/fixunsdfti.c: Likewise.
1814         * soft-fp/fixunssfdi.c: Likewise.
1815         * soft-fp/fixunssfsi.c: Likewise.
1816         * soft-fp/fixunssfti.c: Likewise.
1817         * soft-fp/fixunstfdi.c: Likewise.
1818         * soft-fp/fixunstfsi.c: Likewise.
1819         * soft-fp/fixunstfti.c: Likewise.
1820         * soft-fp/floatdidf.c: Likewise.
1821         * soft-fp/floatdisf.c: Likewise.
1822         * soft-fp/floatditf.c: Likewise.
1823         * soft-fp/floatsidf.c: Likewise.
1824         * soft-fp/floatsisf.c: Likewise.
1825         * soft-fp/floatsitf.c: Likewise.
1826         * soft-fp/floattidf.c: Likewise.
1827         * soft-fp/floattisf.c: Likewise.
1828         * soft-fp/floattitf.c: Likewise.
1829         * soft-fp/floatundidf.c: Likewise.
1830         * soft-fp/floatundisf.c: Likewise.
1831         * soft-fp/floatunditf.c: Likewise.
1832         * soft-fp/floatunsidf.c: Likewise.
1833         * soft-fp/floatunsisf.c: Likewise.
1834         * soft-fp/floatunsitf.c: Likewise.
1835         * soft-fp/floatuntidf.c: Likewise.
1836         * soft-fp/floatuntisf.c: Likewise.
1837         * soft-fp/floatuntitf.c: Likewise.
1838         * soft-fp/gedf2.c: Likewise.
1839         * soft-fp/gesf2.c: Likewise.
1840         * soft-fp/getf2.c: Likewise.
1841         * soft-fp/ledf2.c: Likewise.
1842         * soft-fp/lesf2.c: Likewise.
1843         * soft-fp/letf2.c: Likewise.
1844         * soft-fp/muldf3.c: Likewise.
1845         * soft-fp/mulsf3.c: Likewise.
1846         * soft-fp/multf3.c: Likewise.
1847         * soft-fp/negdf2.c: Likewise.
1848         * soft-fp/negsf2.c: Likewise.
1849         * soft-fp/negtf2.c: Likewise.
1850         * soft-fp/op-1.h: Likewise.
1851         * soft-fp/op-2.h: Likewise.
1852         * soft-fp/op-4.h: Likewise.
1853         * soft-fp/op-8.h: Likewise.
1854         * soft-fp/op-common.h: Likewise.
1855         * soft-fp/quad.h: Likewise.
1856         * soft-fp/single.h: Likewise.
1857         * soft-fp/soft-fp.h: Likewise.
1858         * soft-fp/subdf3.c: Likewise.
1859         * soft-fp/subsf3.c: Likewise.
1860         * soft-fp/subtf3.c: Likewise.
1861         * soft-fp/truncdfsf2.c: Likewise.
1862         * soft-fp/trunctfdf2.c: Likewise.
1863         * soft-fp/trunctfsf2.c: Likewise.
1864         * soft-fp/trunctfxf2.c: Likewise.
1865         * soft-fp/unorddf2.c: Likewise.
1866         * soft-fp/unordsf2.c: Likewise.
1867         * soft-fp/unordtf2.c: Likewise.
1869 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
1871         PR libgcc/67624
1872         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
1874 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1876         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1877         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
1878         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
1879         messages.
1880         (internal_mcount): Likewise.
1881         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
1882         crt_compile, add CRTSTUFF_T_CFLAGS_S.
1884 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1886         * configure.ac (libgcc_cv_solaris_crts): New test.
1887         * configure: Regenerate.
1888         * config.in: Regenerate.
1889         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
1890         * config/gmon-sol2.c: Rename to ...
1891         * config/sol2/gmon.c: ... this.
1892         Include auto-target.h.
1893         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
1894         * config/t-sol2: Rename to ...
1895         * config/sol2/t-sol2: ... this.
1896         (gmon.o): Reflect renaming.
1897         (crtp.o, crtpg.o): New rules.
1898         * config.host (*-*-solaris2*): Reflect renaming.
1899         Use system CRTs if present.
1900         Remove default CRT case.
1902 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
1904         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
1905         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
1906         __kernel_cmpxchg2.
1907         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
1908         (__sync_val_compare_and_swap_##WIDTH): Likewise.
1909         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
1910         (__sync_lock_test_and_set_##WIDTH): Likewise.
1911         (__sync_lock_release_##WIDTH): Likewise.
1912         (__sync_fetch_and_##OP##_4): Change result to match type of
1913         __kernel_cmpxchg.
1914         (__sync_##OP##_and_fetch_4): Likewise.
1915         (__sync_val_compare_and_swap_4): Likewise.
1916         (__sync_bool_compare_and_swap_4): likewise.
1917         (__sync_lock_test_and_set_4): Likewise.
1918         (__sync_lock_release_4): Likewise.
1919         (FETCH_AND_OP_2): Add long long variants.
1920         (OP_AND_FETCH_2): Likewise.
1921         (COMPARE_AND_SWAP_2 ): Likewise.
1922         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1923         (SYNC_LOCK_RELEASE_2): Likewise.
1924         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
1926 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
1928         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
1929         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
1930         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
1931         (get_available_features): Habdle new features.
1933 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
1935         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
1936         memory layout. Deal correctly with BSS region larger than 32K.
1937         Handle a watchdog reset like a power-on reset. Clean up unused
1938         code.
1940 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
1941             David Edelsohn  <dje.gcc@gmail.com>
1943         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
1944         * config/rs6000/crtdbase.S: New file.
1945         * config/rs6000/t-aix-cxa: Build crtdbase.o.
1947 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
1949         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1950         Add support for call0 ABI.
1952 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
1954         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
1956 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1958         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
1959         (__GTHREAD_HAS_COND): Likewise.
1960         (__gthread_t): Likewise.
1961         (__gthread_cond_t): Likewise.
1962         (__gthread_time_t): Likewise.
1963         (__GTHREAD_MUTEX_INIT): Likewise.
1964         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
1965         (__GTHREAD_COND_INIT): Likewise.
1966         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
1967         (__GTHREAD_TIME_INIT): Likewise.
1968         (__gthread_create): Likewise.
1969         (__gthread_join): Likewise.
1970         (__gthread_detach): Likewise.
1971         (__gthread_equal): Likewise.
1972         (__gthread_self): Likewise.
1973         (__gthread_yield): Likewise.
1974         (__gthread_cond_broadcast): Likewise.
1975         (__gthread_cond_signal): Likewise.
1976         (__gthread_cond_wait): Likewise.
1977         (__gthread_cond_timedwait): Likewise.
1978         (__gthread_cond_wait_recursive): Likewise.
1979         (__gthread_cond_destroy): Likewise.
1980         (rtems_gxx_once): Delete.
1981         (rtems_gxx_key_create): Likewise.
1982         (rtems_gxx_key_delete): Likewise.
1983         (rtems_gxx_getspecific): Likewise.
1984         (rtems_gxx_setspecific): Likewise.
1985         (rtems_gxx_mutex_init): Likewise.
1986         (rtems_gxx_mutex_destroy): Likewise.
1987         (rtems_gxx_mutex_lock): Likewise.
1988         (rtems_gxx_mutex_trylock): Likewise.
1989         (rtems_gxx_mutex_unlock): Likewise.
1990         (rtems_gxx_recursive_mutex_init): Likewise.
1991         (rtems_gxx_recursive_mutex_lock): Likewise.
1992         (rtems_gxx_recursive_mutex_trylock): Likewise.
1993         (rtems_gxx_recursive_mutex_unlock): Likewise.
1994         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
1995         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
1996         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
1997         (__gthread_once): Likewise.
1998         (__gthread_key_create): Likewise.
1999         (__gthread_key_delete): Likewise.
2000         (__gthread_getspecific): Likewise.
2001         (__gthread_setspecific): Likewise.
2002         (__gthread_key_t): Use <pthread.h> type.
2003         (__gthread_once_t): Likewise
2004         (__gthread_mutex_t): Use <sys/lock.h> type.
2005         (__gthread_recursive_mutex_t): Likewise
2006         (__gthread_mutex_lock): Use <sys/lock.h> function.
2007         (__gthread_mutex_trylock): Likewise.
2008         (__gthread_mutex_timedlock): Likewise.
2009         (__gthread_mutex_unlock): Likewise.
2010         (__gthread_mutex_destroy): Likewise.
2011         (__gthread_recursive_mutex_lock): Likewise.
2012         (__gthread_recursive_mutex_trylock): Likewise.
2013         (__gthread_recursive_mutex_timedlock): Likewise.
2014         (__gthread_recursive_mutex_unlock): Likewise.
2015         (__gthread_recursive_mutex_destroy): Likewise.
2017 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
2019         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2020         context->sp instead of context->cfa.
2022 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
2024         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2025         with unwind-dw2-fde-dip.
2027 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
2029         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2030         CALL12 followed by series of ENTRY to spill windowed registers.
2031         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2032         instead of making linux spill syscall.
2034 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
2036         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2037         (get_intel_cpu): Likewise.
2039 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
2041         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2042         (get_intel_cpu): Add Knights Landing support.
2044 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
2046         PR target/66954
2047         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2048         (get_available_features): Handle FEATURE_PCLMUL.
2050 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
2052         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2053         Broadwell.
2055 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
2057         PR target/66954
2058         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2059         (get_available_features): Handle FEATURE_AES.
2061 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
2063         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2064         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2066 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
2068         * offloadstuff.c: Constify host data.
2070 2015-07-17  Jan Beulich  <jbeulich@suse.com>
2072         * config/t-softfp: Split up "else ifneq".
2074 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
2075             Cesar Philippidis  <cesar@codesourcery.com>
2076             Chung-Lin Tang  <cltang@codesourcery.com>
2078         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2079         for __nios2_arch__ level.
2081 2015-07-13  John Marino  <gnugcc@marino.st>
2083         * config/i386/t-dragonfly: New.
2085 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
2087         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2088         better match light-weight syscall argument order.
2089         (__kernel_cmpxchg2): Likewise.
2090         Adjust callers.
2092 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
2094         * config.host: Support i[34567]86-*-elfiamcu target.
2095         * config/t-softfp-sfdftf: New file.
2096         * config/i386/32/t-iamcu: Likewise.
2097         * configure: Regenerated.
2099 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
2101         libgcc/config/arm/
2102         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2104 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
2106         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2108 2015-05-27  John Marino  <gnugcc@marino.st>
2110         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2111         md_unwind_header
2112         * config/i386/freebsd-unwind.h: New.
2114 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
2116         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2117         i386/t-crtfm to tmake_file.
2118         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2119         (set_fast_math): Use set_fast_math_sse for SSE targets.
2120         * config/i386/t-crtfm: Remove.
2122 2015-05-21  Alan Modra  <amodra@gmail.com>
2124         PR libgcc/66225
2125         * config/rs6000/morestack.S: Remove ".abiversion 1".
2127 2015-05-20  Alan Modra  <amodra@gmail.com>
2129         * config/rs6000/morestack.S: New.
2130         * config/rs6000/t-stack-rs6000: New.
2131         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2132         to tmake_file.
2133         * generic-morestack.c: Don't build for powerpc 32-bit.
2135 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
2137         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2138         Remove useless endif/ifneq ($(enable_shared),yes) pair.
2140 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
2142         * config.host: FT32 target added.
2143         * config/ft32/*: New files for FT32 target.
2145 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
2147         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2148         New macros.
2149         * config/arm/ieee754-df.S: Add CFI directives.
2150         * config/arm/ieee754-sf.S: Add CFI directives.
2152 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
2154         * configure.ac: Include config/sjlj.m4.
2155         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2156         * config.in: Regenerate.
2157         * configure: Likewise.
2158         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2160 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
2162         * libgcov-util.c: Add space between string literal and macro name.
2164 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
2165             Chris Jones  <chrisj@nvidia.com>
2166             Joshua Conner  <jconner@nvidia.com>
2168         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2169         (arm*-*-uclinux*): Likewise.
2170         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2171         * config/arm/crtfastmath.c: New file.
2173 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
2175         * Makefile.in (real_host_noncanonical): New variable.
2176         (libsubdir): Use it.
2177         * configure.ac (real_host_noncanonical): Compute.  Remove special
2178         case for intelmicemul.
2179         * configure: Regenerate.
2181 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
2183         * config/frv/elf-lib.h: New file.
2184         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2185         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2186         to tm_file.
2188 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
2190         * config/frv/frvbengin.c: Do not include defaults.h
2191         * config/frv/frvend.c: Ditto.
2193 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
2195         * config.host: Add h8300-*-linux
2196         * config/h8300/t-linux: New file.
2197         * config/h8300/lib1funs.s: Change symbol prefix.
2198         * config/h8300/sfp-machine.h: 64bit double support.
2200 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
2201             Szabolcs Nagy  <szabolcs.nagy@arm.com>
2203         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2204         Linux if target provides dl_iterate_phdr.
2206 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
2208         PR target/65612
2209         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2210         * config/i386/cpuinfo.c (__cpu_model): Initialize.
2211         (__cpu_indicator_init@GCC_4.8.0): New.
2212         (__cpu_model@GCC_4.8.0): Likewise.
2213         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
2214         -DUSE_ELF_SYMVER.
2216 2015-04-16  Nick Clifton  <nickc@redhat.com>
2218         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
2219         and __modhi3 functions.
2220         * config/rl78/divmodso.S: Add G14 and G13 versions of the
2221         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
2223 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
2225         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
2226         do-while loop as macro body to avoid warnings.
2228 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
2229             Iain Sandoe  <iain@codesourcery.com>
2231         PR target/65351
2232         * configure: Regenerate.
2234 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
2235             Iain Sandoe  <iain@codesourcery.com>
2237         PR target/65351
2238         * configure: Regenerate.
2240 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
2242         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
2244 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
2246         Implement call0 ABI for xtensa
2247         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
2248         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
2249         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
2250         use ret in call0 ABI.
2251         * config/xtensa/t-windowed: New file.
2252         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
2253         * libgcc/configure: Regenerated.
2254         * libgcc/configure.ac: Check if xtensa target is configured for
2255         windowed ABI and thus needs to use custom unwind code.
2257 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
2259         PR libgcc/64885
2260         * gthr-single.h: Use __unused__ attribute instead of unused.
2261         * config/gthr-vxworks.h: Likewise.
2262         * config/i386/gthr-win32.h: Likewise.
2264 2015-02-27  Kai Tietz  <ktietz@redhat.com>
2266         PR target/65038
2267         * config.in: Regenerated.
2268         * configure: Likewise.
2269         * configure.ac (AC_HEADER_STDC): Added explicit.
2270         (AC_CHECK_HEADERS): Check for default headers  plus
2271         for ftw.h header.
2272         * libgcov-util.c (gcov_read_profile_dir): Disable use
2273         of ftw-function, if header is not found.
2274         (ftw_read_file): Likewise.
2276 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
2278         PR target/65181
2279         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
2280         -Dinhibit_libc.
2282 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
2284         * config/arm/bpabi.S (test_div_by_zero): Make label names
2285         consistent between thumb2 and arm mode cases.  Separate the
2286         signed comparison on the high word of the numerator from the
2287         unsigned comparison on the low word.
2288         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
2289         signed comparison.
2291 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
2293         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
2294         and <string.h>.
2295         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
2297 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
2299         PR gcov-profile/61889
2300         * libgcov-driver-system.c: undefine clashing macro for mkdir.
2302 2015-02-02  Nick Clifton  <nickc@redhat.com>
2304         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
2305         rounding up the fraction.
2307 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
2309         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
2310         oldval and newval to const void *.  Fix typo.
2311         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
2312         (FETCH_AND_OP_WORD): Likewise.
2313         (OP_AND_FETCH_WORD): Likewise.
2314         (COMPARE_AND_SWAP_2): Likewise.
2315         (__sync_val_compare_and_swap_4): Likewise.
2316         (__sync_lock_test_and_set_4): Likewise.
2317         (SYNC_LOCK_RELEASE_2): Likewise.
2318         Remove support for long long atomic operations.
2320 2015-01-27  Caroline Tice  <cmtice@google.com>
2322         Committing VTV Cywin/Ming patch for Patrick Wollgast
2323         * Makefile.in: Move rules to build vtv_*.o out of the check
2324         for CUSTOM_CRTSTUFF.
2325         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
2326         i[34567]86-*-mingw*)
2327          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
2328         enable_vtable_verify.
2330 2015-01-27  Nick Clifton  <nickc@redhat.com>
2332         * config/rl78/cmpsi2.S: Use function start and end macros.
2333         (__gcc_bcmp): New function.
2334         * config/rl78/lshrsi3.S: Use function start and end macros.
2335         * config/rl78/mulsi3.S: Add support for G10.
2336         (__mulqi3): New function for G10.
2337         * config/rl78/signbit.S: Use function start and end macros.
2338         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
2339         fpmath-sf.S.
2340         (LIB2FUNCS_EXCLUDE): Define.
2341         (LIB2FUNCS_ST): Define.
2342         * config/rl78/trampoline.S: Use function start and end macros.
2343         * config/rl78/vregs.h (START_FUNC): New macro.
2344         (START_ANOTHER_FUNC): New macro.
2345         (END_FUNC): New macro.
2346         (END_ANOTHER_FUNC): New macro.
2347         * config/rl78/bit-count.S: New file.  Contains assembler
2348         implementations of the bit counting functions: ___clzhi2,
2349         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
2350         __paritysi2, __popcounthi2 and __popcountsi2.
2351         * config/rl78/fpbit-sf.S: New file.  Contains assembler
2352         implementationas of the math functions: __negsf2, __cmpsf2,
2353         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
2354         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
2355         * config/rl78/fpmath-sf.S: New file.  Contains assembler
2356         implementations of the math functions: __subsf3, __addsf3,
2357         __mulsf3 and __divsf3
2359 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2361         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
2362         Add i386/elf-lib.h to tm_file.
2363         * config/i386/elf-lib.h: Fix comment.
2364         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
2365         && __sun__ && __svr4__]: Remove workaround.
2367 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
2369         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
2370         FEATURE_BMI2.
2371         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
2373 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
2375         * config/i386/cpuinfo.c (processor_subtypes): Add
2376         INTEL_COREI7_BROADWELL.
2377         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
2378         model numbers.
2380 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
2382         * config/i386/elf-lib.h: New file.
2383         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
2384         Wrap definition in #ifdef __i386__.
2385         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2386         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
2387         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
2388         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
2389         to tm_file.
2391 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
2393         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
2394         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
2396 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
2398         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
2399         Update rt_sigframe format and address for current Nios II
2400         Linux conventions.
2402 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
2404         * config.host (arm*-*-freebsd*): Add new configuration for
2405         arm*-*-freebsd*.
2406         * config/arm/freebsd-atomic.c: New file.
2407         * config/arm/t-freebsd: Likewise.
2408         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
2409         'PC-relative indirect' OS's.
2411 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
2413         * config.host: Add Visium support.
2414         * config/visium: New directory.
2416 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
2418         Update copyright years.
2420 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
2422         * config.host: Support mipsisa32r6 and mipsisa64r6.
2423         * config/mips/mips16.S: Do not build for R6.
2425 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
2427         * config/sh/crt.h: New.
2428         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
2429         symbols.
2430         * config/sh/crt1.S: Likewise.
2432 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
2434         PR libgcc/63832
2435         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
2436         func_ptr *dtor_list temporary variable to avoid "array subscript
2437         is above array bounds" warnings.
2439 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
2441         * Makefile.in (with_aix_soname): Define.
2442         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
2443         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
2444         * configure: Recreate.
2446 2014-12-05  Olivier Hainque  <hainque@adacore.com>
2448         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
2449         now provided by defaults.h.
2451 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
2453         PR target/55351
2454         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
2455         whether it's defined.
2457 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
2459         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
2460         * config/i386/cpuinfo.c (get_available_features): Detect it.
2462 2014-11-27  Tony Wang  <tony.wang@arm.com>
2464         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
2465         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
2466         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
2468 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
2470         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
2472 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
2474         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
2475         instead.
2477 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
2478             John David Anglin  <danglin@gcc.gnu.org>
2480         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
2481         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
2482         (OP_AND_FETCH_2): Likewise.
2483         (COMPARE_AND_SWAP_2): Likewise.
2484         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2485         (SYNC_LOCK_RELEASE_2): Likewise.
2486         (SUBWORD_SYNC_OP): Remove.
2487         (SUBWORD_VAL_CAS): Likewise.
2488         (SUBWORD_BOOL_CAS): Likewise.
2489         (FETCH_AND_OP_WORD): Update.
2490         Consistently use signed types.
2492 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
2493             Thomas Schwinge  <thomas@codesourcery.com>
2494             Ilya Verbin  <ilya.verbin@intel.com>
2495             Andrey Turetskiy  <andrey.turetskiy@intel.com>
2497         * Makefile.in (crtoffloadbegin$(objext)): New rule.
2498         (crtoffloadend$(objext)): Likewise.
2499         * configure: Regenerate.
2500         * configure.ac (accel_dir_suffix): Compute new variable.
2501         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
2502         if enable_offload_targets is not empty.
2503         * offloadstuff.c: New file.
2505 2014-11-13  Nick Clifton  <nickc@redhat.com>
2507         * config/rl78/divmodhi.S: Add support for the G10 architecture.
2508         Use START_FUNC and END_FUNC macros to enable linker garbage
2509         collection.
2510         * config/rl78/divmodqi.S: Likewise.
2511         * config/rl78/divmodsi.S: Likewise.
2512         * config/rl78/mulsi3.S: Likewise.
2513         * config/rl78/lib2div.c: Remove G10 functions.
2514         * config/rl78/lib2muls.c: Likewise.
2515         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
2516         * config/rl78/vregs.h (START_FUNC): New macro.
2517         (END_FUNC): New macro.
2519 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
2521         * config/mips/mips16.S: Set .module when supported.  Update O32
2522         FP64 calling convention and use for FPXX when possible.  Add FPXX
2523         calling convention fallback case.
2525 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
2527         * config.host: Handle nvptx-*-*.
2528         * shared-object.mk (as-flags-$o): Define.
2529         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
2530         -xassembler-with-cpp.
2531         * static-object.mk: Identical changes.
2532         * config/nvptx/t-nvptx: New file.
2533         * config/nvptx/crt0.s: New file.
2534         * config/nvptx/free.asm: New file.
2535         * config/nvptx/malloc.asm: New file.
2536         * config/nvptx/realloc.c: New file.
2538 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
2540         * Makefile.in (libgcc.map.in): New target.
2541         (libgcc.map): Use libgcc.map.in.
2542         * config/t-softfp (softfp_compat): New variable to be set by
2543         users.
2544         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
2545         variables.
2546         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
2547         directory.
2548         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
2549         that use compat symbols and disable all code unless [SHARED].
2550         * config/t-softfp-compat: New file.
2551         * find-symver.awk: New file.
2552         * configure.ac (--with-glibc-version): New configure option.
2553         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
2554         * configure: Regenerate.
2555         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
2556         soft-float and e500.
2558 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
2560         * config/t-hardfp (hardfp_exclusions): Document new variable for
2561         user to define.
2562         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
2563         * config/t-softfp (softfp_extras): Document new variable for user
2564         to define.
2565         (softfp_func_list): Add functions from $(softfp_extras).
2566         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
2567         * config.host (powerpc*-*-linux*): For e500v1, use
2568         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
2569         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
2570         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
2572 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
2574         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
2575         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
2576         memory read accesses are ok.
2578 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
2580         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
2581         * configure: Regenerate.
2582         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
2583         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
2584         of soft-fp for 32-bit classic hard float.  Do not use
2585         t-softfp-excl for soft float.
2587 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
2589         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
2590         configurations.
2591         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
2592         Remove variables.
2594 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
2596         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
2597         introduced with 2014-10-21 trunk r216525.
2599 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
2600             Vidya Praveen  <vidya.praveen@atmel.com>
2601             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
2602             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
2603             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
2605         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
2606         order.
2608         Updated library functions for AVRTINY arch.
2609         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
2610         Replaced occurrences of r0/r1 with tmp/zero reg macros.
2611         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
2612         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
2613         wsubi/wadi macors.
2614         (__mulsi3_helper): Update stack, preserve callee saved regs and
2615         argument from stack. Restore callee save registers.
2616         (__mulpsi3): Likewise.
2617         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
2618         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
2619         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
2620         AVRTINY.
2621         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
2622         (__do_copy_data): Added new definition for AVRTINY.
2623         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
2624         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
2625         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
2626         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
2627         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
2628         macors.
2629         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
2630         AVRTINY.
2632         Fix broken long multiplication on tiny arch.
2634 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
2636         * soft-fp/double.h: Update from glibc.
2637         * soft-fp/eqdf2.c: Likewise.
2638         * soft-fp/eqsf2.c: Likewise.
2639         * soft-fp/eqtf2.c: Likewise.
2640         * soft-fp/extenddftf2.c: Likewise.
2641         * soft-fp/extended.h: Likewise.
2642         * soft-fp/extendsfdf2.c: Likewise.
2643         * soft-fp/extendsftf2.c: Likewise.
2644         * soft-fp/extendxftf2.c: Likewise.
2645         * soft-fp/gedf2.c: Likewise.
2646         * soft-fp/gesf2.c: Likewise.
2647         * soft-fp/getf2.c: Likewise.
2648         * soft-fp/ledf2.c: Likewise.
2649         * soft-fp/lesf2.c: Likewise.
2650         * soft-fp/letf2.c: Likewise.
2651         * soft-fp/op-1.h: Likewise.
2652         * soft-fp/op-2.h: Likewise.
2653         * soft-fp/op-4.h: Likewise.
2654         * soft-fp/op-8.h: Likewise.
2655         * soft-fp/op-common.h: Likewise.
2656         * soft-fp/quad.h: Likewise.
2657         * soft-fp/single.h: Likewise.
2658         * soft-fp/soft-fp.h: Likewise.
2659         * soft-fp/unorddf2.c: Likewise.
2660         * soft-fp/unordsf2.c: Likewise.
2661         * soft-fp/unordtf2.c: Likewise.
2662         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
2663         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
2664         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
2665         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
2666         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
2667         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
2668         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
2669         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
2670         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
2671         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
2673 2014-10-08  Rong Xu  <xur@google.com>
2675         * libgcov-util.c (read_gcda_file): Fix format.
2676         (find_match_gcov_info): Ditto.
2677         (calculate_2_entries): New.
2678         (compute_one_gcov): Ditto.
2679         (gcov_info_count_all_cold): Ditto.
2680         (gcov_info_count_all_zero): Ditto.
2681         (extract_file_basename): Ditto.
2682         (get_file_basename): Ditto.
2683         (set_flag): Ditto.
2684         (matched_gcov_info): Ditto.
2685         (calculate_overlap): Ditto.
2686         (gcov_profile_overlap): Ditto.
2687         * libgcov-driver.c (compute_summary): Make
2688         it avavilable for external calls.
2690 2014-10-06  Rong Xu  <xur@google.com>
2692         * Makefile.in: Ditto.
2693         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
2694         (gcov_sort_icall_topn_counter): Ditto.
2695         (gcov_sort_topn_counter_arrays): Ditto.
2696         (dump_one_gcov): Sort indirect_call topn counters.
2697         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
2698         function.
2699         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
2700         utility function.
2701         (__gcov_indirect_call_topn_profiler): New profiler function.
2702         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
2703         * libgcov.h: New decls.
2705 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
2707         * config.host: Remove support for score-*.
2709 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
2711         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2712         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
2713         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
2714         __LIBGCC_XF_MANT_DIG__.
2715         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
2716         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
2717         __LIBGCC_TF_MANT_DIG__.
2718         * libgcc2.c (NOTRUNC): Define in terms of
2719         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
2720         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2722 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
2724         PR target/63312
2725         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
2726         New macros.
2728 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
2730         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
2731         override USE_PT_GNU_EH_FRAME.
2732         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
2733         check USE_EH_FRAME_REGISTRY_ALWAYS against
2734         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
2735         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
2736         variable for substituted force_explicit_eh_registry.
2737         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
2738         * configure.ac (explicit-exception-frame-registration):
2739         New AC_ARG_ENABLE.
2740         * configure: Regenerate.
2742 2014-09-19  Olivier Hainque  <hainque@adacore.com>
2744         * config.host (powerpc-wrs-vxworksmils): New configuration,
2745         same as vxworksae.
2747 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
2749         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
2751 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
2753         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
2754         bits not set bits as indicating trapping exceptions.
2756 2014-09-17  Nathan sidwell  <nathan@acm.org>
2758         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
2759         (LIBGCOV_DRIVER): ... here.
2760         * libgcov-driver.c (gcov_master): New.
2761         (gcov_exit): Remove from master chain.
2762         (__gcov_init): Add to master chain if version compatible.  Don't
2763         clear the version.
2764         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
2765         (gcov_reset_int): Clear master chain, if compatible.
2766         (gcov_dump_int): New internal interface.  Dump master chain, if
2767         compatible.
2768         (gcov_dump): Alias for gcov_dump_int.
2769         * libgcov.h (struct gcov_root): Add next and prev fields.
2770         (struct gcov_master): New struct.
2771         (__gcov_master): New.
2772         (gcov_dump_int): Declare.
2774 2014-09-17  Olivier Hainque  <hainque@adacore.com>
2776         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
2777         and crtbegin.o + crtend.o to extra_parts.
2779 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
2781         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
2782         __LIBGCC_HAS_SF_MODE__.
2783         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2784         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2785         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2786         * config/libbid/bid_gcc_intrinsics.h
2787         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2788         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2789         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2790         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2791         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
2792         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2794 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
2796         PR target/63223
2797         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
2798         and R24 as needed.  Make work for all devices and .text locations.
2799         (__do_global_ctors, __do_global_dtors): Use word addresses.
2800         (__tablejump__, __tablejump_elpm__): Remove functions.
2801         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
2802         Add _tablejump2.
2803         (XICALL, XIJMP): New macros.
2805 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2806         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
2808         * config.host (aarch64*): Include crtfastmath.o and
2809         t-crtfm.
2810         * config/aarch64/crtfastmath.c: New file.
2812 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
2814         * config.host: Remove picochip support.
2815         * config/picochip/adddi3.S: Remove.
2816         * config/picochip/ashlsi3.S: Remove.
2817         * config/picochip/ashlsi3.c: Remove.
2818         * config/picochip/ashrsi3.S: Remove.
2819         * config/picochip/ashrsi3.c: Remove.
2820         * config/picochip/clzsi2.S: Remove.
2821         * config/picochip/cmpsi2.S: Remove.
2822         * config/picochip/divmod15.S: Remove.
2823         * config/picochip/divmodhi4.S: Remove.
2824         * config/picochip/divmodsi4.S: Remove.
2825         * config/picochip/lib1funcs.S: Remove.
2826         * config/picochip/longjmp.S: Remove.
2827         * config/picochip/lshrsi3.S: Remove.
2828         * config/picochip/lshrsi3.c: Remove.
2829         * config/picochip/parityhi2.S: Remove.
2830         * config/picochip/popcounthi2.S: Remove.
2831         * config/picochip/setjmp.S: Remove.
2832         * config/picochip/subdi3.S: Remove.
2833         * config/picochip/t-picochip: Remove.
2834         * config/picochip/ucmpsi2.S: Remove.
2835         * config/picochip/udivmodhi4.S: Remove.
2836         * config/picochip/udivmodsi4.S: Remove.
2838 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
2840         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
2841         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
2842         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
2843         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
2844         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
2845         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
2846         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
2847         defined and LIBGCC2_HAS_DF_MODE is defined.
2848         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
2849         defined and LIBGCC2_HAS_XF_MODE is defined.
2850         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
2851         defined and LIBGCC2_HAS_TF_MODE is defined.
2853 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
2855         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
2856         and ROUND_TOWARDS_ZERO conditionals.
2858 2014-09-07  Nathan sidwell  <nathan@acm.org>
2860         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
2861         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
2863 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
2865         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
2866         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2867         uses to __LIBGCC_STACK_POINTER_REGNUM__.
2868         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2869         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2870         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2871         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2872         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
2873         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
2874         (DWARF_FRAME_REGISTERS): Change all uses to
2875         __LIBGCC_DWARF_FRAME_REGISTERS__.
2876         (EH_RETURN_STACKADJ_RTX): Change all uses to
2877         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2878         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
2879         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
2880         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
2881         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
2882         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
2883         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
2884         to __LIBGCC_EH_FRAME_SECTION_NAME__.
2885         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
2886         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
2887         __LIBGCC_STACK_POINTER_REGNUM__.
2888         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2889         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2890         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2891         to __LIBGCC_STACK_POINTER_REGNUM__.
2892         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2893         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2894         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2895         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2896         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2897         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2898         (STACK_POINTER_REGNUM): Change all uses to
2899         __LIBGCC_STACK_POINTER_REGNUM__.
2900         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
2901         use to __LIBGCC_STACK_POINTER_REGNUM__.
2902         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2903         uses to __LIBGCC_STACK_POINTER_REGNUM__.
2904         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
2905         to __LIBGCC_DWARF_FRAME_REGISTERS__.
2906         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
2907         to __LIBGCC_DWARF_FRAME_REGISTERS__.
2908         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2909         to __LIBGCC_STACK_POINTER_REGNUM__.
2910         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
2911         Remove conditional definition.
2912         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
2913         __LIBGCC_TEXT_SECTION_ASM_OP__.
2914         (EH_FRAME_SECTION_NAME): Change all uses to
2915         __LIBGCC_EH_FRAME_SECTION_NAME__.
2916         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
2917         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
2918         (CTORS_SECTION_ASM_OP): Change all uses to
2919         __LIBGCC_CTORS_SECTION_ASM_OP__.
2920         (DTORS_SECTION_ASM_OP): Change all uses to
2921         __LIBGCC_DTORS_SECTION_ASM_OP__.
2922         (JCR_SECTION_NAME): Change all uses to
2923         __LIBGCC_JCR_SECTION_NAME__.
2924         (INIT_SECTION_ASM_OP): Change all uses to
2925         __LIBGCC_INIT_SECTION_ASM_OP__.
2926         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2927         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2928         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
2929         __LIBGCC_STACK_GROWS_DOWNWARD__.
2930         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
2931         __LIBGCC_INIT_SECTION_ASM_OP__.
2932         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2933         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2934         (EH_FRAME_SECTION_NAME): Change all uses to
2935         __LIBGCC_EH_FRAME_SECTION_NAME__.
2936         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
2937         definitions.  Change all uses to
2938         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
2939         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
2940         __LIBGCC_STACK_GROWS_DOWNWARD__.
2941         (DWARF_FRAME_REGISTERS): Change all uses to
2942         __LIBGCC_DWARF_FRAME_REGISTERS__.
2943         (EH_RETURN_STACKADJ_RTX): Change all uses to
2944         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2945         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
2946         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
2947         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
2948         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
2949         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
2951 2014-09-02  Nathan sidwell  <nathan@acm.org>
2953         * libgcov-interface.c (STRONG_ALIAS): New.
2954         (__gcov_flush): Call __gcov_reset_int.
2955         (__gcov_reset): Strong alias for ...
2956         (__gcov_reset_ing): ... this renamed hidden version.
2957         * libgcov.h (__gcov_reset_int): New declaration.
2959 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
2961         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
2962         call from here...
2963         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
2964         (__dso_handle): Define on Cygwin.
2965         * config/i386/t-cygming (crtbeginS.o): New rule.
2966         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
2968         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
2969         declaration syntax.
2971 2014-08-13  Steve Ellcey  <sellcey@mips.com>
2973         * crtstuff.c: Undef caddr_t.
2975 2014-08-12  Steve Ellcey  <sellcey@mips.com>
2977         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
2979 2014-08-07  Nathan Sidwell  <nathan@acm.org>
2981         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
2982         (LIBGCOV_DRIVER): ... to here.
2983         * libgcov.h (gcov_do_dump): New #define.
2984         (struct gcov_root): New.
2985         (__gcov_root): New declaration.
2986         (__gcov_dump_one): Declare.
2987         * libgcov-driver.c (gcov_list, gcov_dump_complete,
2988         run_accounted): Delete.
2989         (gcov_compute_histogram): Add LIST argument, adjust.
2990         (compute_summary): Adjust gcov_compute_histogram call.
2991         (gcov_do_dump): Not hidden, static in libgcov.
2992         (gcov_clear): Move  to interface.c.
2993         (__gcov_dump_one): New, broken out of ...
2994         (gcov_exit): ... here.  Make static.
2995         (__gcov_root): New.
2996         (__gcov_init): Adjust.
2997         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
2998         declarations.
2999         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3000         (gcov_clear): Moved from driver.c.   Add LIST argument.
3001         (__gcov_reset): Adjust for changed interfaces.
3002         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3004 2014-08-04  Rohit  <rohitarulraj@freescale.com>
3006         PR target/60102
3007         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
3008         based on change in SPE high register numbers and 3 HTM registers.
3010 2014-08-01  Nathan Sidwell  <nathan@acm.org>
3012         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3013         LIBGCOV_INTERFACE): Reformat.
3014         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3015         IN_GCOV_TOOL.
3016         * libgcov-interface.c: Reformat some comments.
3017         (__gcov_flush_mx): Add declaration.  Tidy up definition.
3019 2014-07-31  Alan Modra  <amodra@gmail.com>
3020             Peter Bergner  <bergner@vnet.ibm.com>
3022         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3023         (pack_ldouble): New function.
3024         (__gcc_qadd): Use it.
3025         (__gcc_qmul): Likewise.
3026         (__gcc_qdiv): Likewise.
3027         (__gcc_qneg): Likewise.
3028         (__gcc_stoq): Likewise.
3029         (__gcc_dtoq): Likewise.
3031 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
3033         * config/s390/tpf-unwind.h: Include <stdbool.h>.
3034         (__tpf_eh_return): Add original return address as second parameter.
3035         Handle cases where unwinder routines were called directly, instead
3036         of from within the C++ library.
3038 2014-07-29  Nathan Sidwell  <nathan@acm.org>
3040         * libgcov.h: Move renaming of entry points to lib gcov specific
3041         portion.
3042         (gcov_do_dump): New rename.
3043         (gcov_rewrite): Remove inline, make HIDDEN.
3044         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3045         (gcov_exit_compute_summary): Rename to ...
3046         (compute_summary): ... here.  Add LIST argument.
3047         (gcov_exit_merge_gcda): Rename to ...
3048         (merge_one_data): ... here.
3049         (gcov_exit_write_gcda): Rename to ...
3050         (write_one_data): ... here.
3051         (gcov_exit_merge_summary): Rename to ...
3052         (merge_summary): Add RUN_COUNTED argument.
3053         (gcov_exit_dump_gcov): Rename to ...
3054         (dump_one_gcov): Add RUN_COUNTED argument.
3055         (gcov_do_dump): New function, broken out of ...
3056         (gcov_exit): ... here.  Call it.
3058 2014-07-27  Anthony Green  <green@moxielogic.com>
3060         * config.host: Add moxiebox configuration suppport.
3062 2014-07-27  Nathan Sidwell  <nathan@acm.org>
3064         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3065         (struct gcov_filename): ... here.  Include buffer and max length
3066         fields.
3067         (gcov_max_filename): Remove.
3068         (gi_filename): Remove.
3069         (gcov_exit_compute_summary): Compute max filename here.
3070         (gcov_exit_merge_gcda): Add filename parm, adjust.
3071         (gcov_exit_merge_summary): Likewise.
3072         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3073         (gcov_exit): Likewise.
3074         (__gcov_init): Don't calculate max length here.
3075         * libgcov_util.c (max_filename_len): Remove.
3076         (read_gcda_file): Don't calculate max length here.
3077         (gcov_read_profile_dir): Don't propagate here.
3078         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3079         struct gcov_filename changes.
3080         (gcov_exit_open_gcda_file): Likewise.
3082 2014-07-25  Nathan Sidwell  <nathan@acm.org>
3084         * libgcov-driver.c (set_gcov_dump_complete,
3085         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3086         functions polluting user's namespace.
3087         (gcov_exit): Set variable directly.
3088         (gcov_clear): Reset variable directly.
3089         * libgcov-interface.c (get_gcov_dymp_complete,
3090         reset_gov_dump_complete): Remove declarations.
3091         (__gcov_reset, __gcov_dump): Don't call them.
3093 2014-07-24  DJ Delorie  <dj@redhat.com>
3095         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
3096         (__gcc_deregister_frame): Move logic to detect deregister function
3097         to ...
3098         (__gcc_register_frame): here, so it's consistent with the register
3099         logic.
3101 2014-07-23  Nathan Sidwell  <nathan@acm.org>
3103         * libgcov-driver.c (set_gcov_list): Remove.
3104         (gcov_list): Make non-static in GCOV_TOOL.
3105         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3107 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
3109         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3110         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3111         Don't use SYNC_LOCK_RELEASE for int type.
3113 2014-07-14  Richard Biener  <rguenther@suse.de>
3115         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3117 2014-07-11  Rong Xu  <xur@google.com>
3119         * libgcov-util.c (gcov_max_filename): Fix declartion.
3121 2014-07-10  Rong Xu  <xur@google.com>
3123         Add gcov-tool: an offline gcda profile processing tool
3124         Support.
3125         * libgcov-driver.c (gcov_max_filename): Make available
3126         to gcov-tool.
3127         * libgcov-merge.c (__gcov_merge_add): Replace
3128         gcov_read_counter() with a Macro.
3129         (__gcov_merge_ior): Ditto.
3130         (__gcov_merge_time_profile): Ditto.
3131         (__gcov_merge_single): Ditto.
3132         (__gcov_merge_delta): Ditto.
3133         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3134         in the utility functions.
3135         (set_fn_ctrs): Utility function for reading gcda files to in-memory
3136         gcov_list object link lists.
3137         (tag_function): Ditto.
3138         (tag_blocks): Ditto.
3139         (tag_arcs): Ditto.
3140         (tag_lines): Ditto.
3141         (tag_counters): Ditto.
3142         (tag_summary): Ditto.
3143         (read_gcda_finalize): Ditto.
3144         (read_gcda_file): Ditto.
3145         (ftw_read_file): Ditto.
3146         (read_profile_dir_init): Ditto.
3147         (gcov_read_profile_dir): Ditto.
3148         (gcov_read_counter_mem): Ditto.
3149         (gcov_get_merge_weight): Ditto.
3150         (merge_wrapper): A wrapper function that calls merging handler.
3151         (gcov_merge): Merge two gcov_info objects with weights.
3152         (find_match_gcov_info): Find the matched gcov_info in the list.
3153         (gcov_profile_merge): Merge two gcov_info object lists.
3154         (__gcov_add_counter_op): Process edge profile counter values.
3155         (__gcov_ior_counter_op): Process IOR profile counter values.
3156         (__gcov_delta_counter_op): Process delta profile counter values.
3157         (__gcov_single_counter_op): Process single  profile counter values.
3158         (fp_scale): Callback function for float-point scaling.
3159         (int_scale): Callback function for integer fraction scaling.
3160         (gcov_profile_scale): Scaling profile counters.
3161         (gcov_profile_normalize): Normalize profile counters.
3162         * libgcov.h: Add headers and functions for gcov-tool use.
3163         (gcov_get_counter): New.
3164         (gcov_get_counter_target): Ditto.
3165         (struct gcov_info): Make the functions field mutable in gcov-tool
3166         compilation.
3168 2014-06-23  Kai Tietz  <ktietz@redhat.com>
3170         PR libgcc/61585
3171         * unwind-seh.c (_Unwind_GetGR): Check for proper
3172         index range.
3173         (_Unwind_SetGR): Likewise.
3175 2014-05-22  Nick Clifton  <nickc@redhat.com>
3177         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3178         -mhwmult=none.
3180 2014-05-22  Teresa Johnson  <tejohnson@google.com>
3182         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3183         include.
3185 2014-05-20  John Marino  <gnugcc@marino.st>
3187         * config.host (*-*-dragonfly*): New target.
3188         * crtstuff.c: Make dl_iterate_support generic on *bsd.
3189         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3190         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3191         * config/i386/dragonfly-unwind.h: New.
3193 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
3195         PR libgcc/60166
3196         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3197         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3199 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3201         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3202         implementation.
3204 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
3206         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3208 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3210         PR libgcc/61097
3211         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
3212         if --enable-shared.
3214 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3216         Work around for current cygwin32 build problems.
3217         * config/i386/cygming-crtbegin.c (__register_frame_info,
3218         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
3219         functions only for 64-bit systems.
3221 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3223         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
3224         (sigill_caught, sigill_hdlr): Remove.
3226 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3228         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
3229         check.
3230         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3231         Solaris 9 single-threaded support.
3232         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3233         Solaris 9 single-threaded support.  Add call_user_handler code
3234         sequences.
3235         (sparc_is_sighandler): Likewise.
3237 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3239         * config.host: Append t-floattodi to tmake_file depending on
3240         host_address.
3242 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
3244         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
3246 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
3248         PR libgcc/60472
3249         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
3250         variable to avoid "array subscript is above array bounds" warnings.
3251         Use __builtin_expect when checking *jcr_list for NULL.
3253 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3255         PR libgcc/59339
3256         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
3257         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
3258         vtv_*.o to extra_parts if enable_vtable_verify.
3260 2014-03-06  Nick Clifton  <nickc@redhat.com>
3262         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
3263         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
3265 2014-02-28  Joey Ye  <joey.ye@arm.com>
3267         PR libgcc/60166
3268         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
3269         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
3270         Set to zero.
3272 2014-02-24  Walter Lee  <walt@tilera.com>
3274         * config.host: Support "tilegx*" and "tilepro*" triplets.
3275         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
3276         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
3278 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
3279             Chung-Lin Tang  <cltang@codesourcery.com>
3281         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
3282         * config/nios2/crti.S: Remove .file directive.
3283         * config/nios2/crtn.S: Likewise.
3285 2014-02-18  Kai Tietz  <ktietz@redhat.com>
3286         Jonathan Schleifer  <js@webkeks.org>
3288         PR objc/56870
3289         * unwind-seh.c (_GCC_specific_handler): Pass proper
3290         value to unwind-handler.
3292 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
3294         * soft-fp/adddf3.c: Update from glibc.
3295         * soft-fp/addsf3.c: Likewise.
3296         * soft-fp/addtf3.c: Likewise.
3297         * soft-fp/divdf3.c: Likewise.
3298         * soft-fp/divsf3.c: Likewise.
3299         * soft-fp/divtf3.c: Likewise.
3300         * soft-fp/double.h: Likewise.
3301         * soft-fp/eqdf2.c: Likewise.
3302         * soft-fp/eqsf2.c: Likewise.
3303         * soft-fp/eqtf2.c: Likewise.
3304         * soft-fp/extenddftf2.c: Likewise.
3305         * soft-fp/extended.h: Likewise.
3306         * soft-fp/extendsfdf2.c: Likewise.
3307         * soft-fp/extendsftf2.c: Likewise.
3308         * soft-fp/extendxftf2.c: Likewise.
3309         * soft-fp/fixdfdi.c: Likewise.
3310         * soft-fp/fixdfsi.c: Likewise.
3311         * soft-fp/fixdfti.c: Likewise.
3312         * soft-fp/fixsfdi.c: Likewise.
3313         * soft-fp/fixsfsi.c: Likewise.
3314         * soft-fp/fixsfti.c: Likewise.
3315         * soft-fp/fixtfdi.c: Likewise.
3316         * soft-fp/fixtfsi.c: Likewise.
3317         * soft-fp/fixtfti.c: Likewise.
3318         * soft-fp/fixunsdfdi.c: Likewise.
3319         * soft-fp/fixunsdfsi.c: Likewise.
3320         * soft-fp/fixunsdfti.c: Likewise.
3321         * soft-fp/fixunssfdi.c: Likewise.
3322         * soft-fp/fixunssfsi.c: Likewise.
3323         * soft-fp/fixunssfti.c: Likewise.
3324         * soft-fp/fixunstfdi.c: Likewise.
3325         * soft-fp/fixunstfsi.c: Likewise.
3326         * soft-fp/fixunstfti.c: Likewise.
3327         * soft-fp/floatdidf.c: Likewise.
3328         * soft-fp/floatdisf.c: Likewise.
3329         * soft-fp/floatditf.c: Likewise.
3330         * soft-fp/floatsidf.c: Likewise.
3331         * soft-fp/floatsisf.c: Likewise.
3332         * soft-fp/floatsitf.c: Likewise.
3333         * soft-fp/floattidf.c: Likewise.
3334         * soft-fp/floattisf.c: Likewise.
3335         * soft-fp/floattitf.c: Likewise.
3336         * soft-fp/floatundidf.c: Likewise.
3337         * soft-fp/floatundisf.c: Likewise.
3338         * soft-fp/floatunditf.c: Likewise.
3339         * soft-fp/floatunsidf.c: Likewise.
3340         * soft-fp/floatunsisf.c: Likewise.
3341         * soft-fp/floatunsitf.c: Likewise.
3342         * soft-fp/floatuntidf.c: Likewise.
3343         * soft-fp/floatuntisf.c: Likewise.
3344         * soft-fp/floatuntitf.c: Likewise.
3345         * soft-fp/gedf2.c: Likewise.
3346         * soft-fp/gesf2.c: Likewise.
3347         * soft-fp/getf2.c: Likewise.
3348         * soft-fp/ledf2.c: Likewise.
3349         * soft-fp/lesf2.c: Likewise.
3350         * soft-fp/letf2.c: Likewise.
3351         * soft-fp/muldf3.c: Likewise.
3352         * soft-fp/mulsf3.c: Likewise.
3353         * soft-fp/multf3.c: Likewise.
3354         * soft-fp/negdf2.c: Likewise.
3355         * soft-fp/negsf2.c: Likewise.
3356         * soft-fp/negtf2.c: Likewise.
3357         * soft-fp/op-1.h: Likewise.
3358         * soft-fp/op-2.h: Likewise.
3359         * soft-fp/op-4.h: Likewise.
3360         * soft-fp/op-8.h: Likewise.
3361         * soft-fp/op-common.h: Likewise.
3362         * soft-fp/quad.h: Likewise.
3363         * soft-fp/single.h: Likewise.
3364         * soft-fp/soft-fp.h: Likewise.
3365         * soft-fp/subdf3.c: Likewise.
3366         * soft-fp/subsf3.c: Likewise.
3367         * soft-fp/subtf3.c: Likewise.
3368         * soft-fp/truncdfsf2.c: Likewise.
3369         * soft-fp/trunctfdf2.c: Likewise.
3370         * soft-fp/trunctfsf2.c: Likewise.
3371         * soft-fp/trunctfxf2.c: Likewise.
3372         * soft-fp/unorddf2.c: Likewise.
3373         * soft-fp/unordsf2.c: Likewise.
3374         * soft-fp/unordtf2.c: Likewise.
3375         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
3376         macro.
3377         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3378         Likewise.
3379         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3380         Likewise.
3381         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3382         Likewise.
3383         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3384         Likewise.
3385         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3386         Likewise.
3387         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3388         Likewise.
3389         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3390         Likewise.
3391         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3392         Likewise.
3393         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3394         Likewise.
3395         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3396         Likewise.
3397         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3398         Likewise.
3399         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3400         Likewise.
3401         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
3402         Likewise.
3403         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
3404         Likewise.
3405         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3406         Likewise.
3408 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3410         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
3411         cannot be represented.
3412         * config/s390/32/_fixsfdi.c: Likewise.
3413         * config/s390/32/_fixtfdi.c: Likewise.
3414         * config/s390/32/_fixunsdfdi.c: Likewise.
3415         * config/s390/32/_fixunssfdi.c: Likewise.
3416         * config/s390/32/_fixunstfdi.c: Likewise.
3418 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
3420         * configure.ac (libgcc_cv_mips_hard_float): New.
3421         * configure: Regenerate.
3422         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
3423         t-softfp-sfdf for hard-float targets.
3424         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
3425         (softfp_float_modes, softfp_int_modes, softfp_extensions)
3426         (softfp_truncations, softfp_exclude_libgcc2): New.
3427         * config/t-hardfp: New file.
3428         * config/t-hardfp-sfdf: Likewise.
3429         * config/hardfp.c: Likewise.
3431 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3433         * config.host: Include t-floattodi also for s390x.
3434         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
3435         * config/s390/32/_fixsfdi.c: Likewise.
3436         * config/s390/32/_fixtfdi.c: Likewise.
3437         * config/s390/32/_fixunsdfdi.c: Likewise.
3438         * config/s390/32/_fixunssfdi.c: Likewise.
3439         * config/s390/32/_fixunstfdi.c: Likewise.
3441 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3443         PR target/59788
3444         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
3445         (install-libgcc-unwind-map-forbuild): New target.
3446         (all): Depend on install-libgcc-unwind-map-forbuild.
3447         (install-libgcc-unwind-map): New target.
3448         (install): Depend on install-libgcc-unwind-map.
3450 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
3452         * config/nios2/crti.S (_init): Initialize GOT pointer from
3453         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
3455 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
3457         * configure.ac: Check __mips64 when setting host_address.
3458         * configure: Regenerate.
3459         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
3460         mips/t-mips64 and t-softfp.
3461         (mips*-*-linux*): Don't add mips/t-tpbit.
3462         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
3463         (DPBIT, DPBIT_CFLAGS): Delete.
3464         * config/mips/sfp-machine.h: New file.
3465         * config/mips/t-mips64: Likewise.
3466         * config/mips/t-softfp-tf: Likewise.
3467         * config/mips/t-tpbit: Delete.
3469 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3471         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
3472         as long long.
3474 2014-01-25  Walter Lee  <walt@tilera.com>
3476         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
3477         config.h or system.h.
3478         (bool) Define.
3480 2014-01-25  Walter Lee  <walt@tilera.com>
3482         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
3483         (post_atomic_barrier): Ditto.
3484         (__fetch_and_do): New macro.
3485         (__atomic_fetch_and_do): Use __fetch_and_do.
3486         (__sync_fetch_and_do): New macro.
3487         (__sync_fetch_and_add_4): New function.
3488         (__sync_fetch_and_sub_4): New function.
3489         (__sync_fetch_and_or_4): New function.
3490         (__sync_fetch_and_and_4): New function.
3491         (__sync_fetch_and_xor_4): New function.
3492         (__sync_fetch_and_nand_4): New function.
3493         (__sync_fetch_and_add_8): New function.
3494         (__sync_fetch_and_sub_8): New function.
3495         (__sync_fetch_and_or_8): New function.
3496         (__sync_fetch_and_and_8): New function.
3497         (__sync_fetch_and_xor_8): New function.
3498         (__sync_fetch_and_nand_8): New function.
3499         (__do_and_fetch): New macro.
3500         (__atomic_do_and_fetch): Use __do_and_fetch.
3501         (__sync_do_and_fetch): New macro.
3502         (__sync_add_and_fetch_4): New function.
3503         (__sync_sub_and_fetch_4): New function.
3504         (__sync_or_and_fetch_4): New function.
3505         (__sync_and_and_fetch_4): New function.
3506         (__sync_xor_and_fetch_4): New function.
3507         (__sync_nand_and_fetch_4): New function.
3508         (__sync_add_and_fetch_8): New function.
3509         (__sync_sub_and_fetch_8): New function.
3510         (__sync_or_and_fetch_8): New function.
3511         (__sync_and_and_fetch_8): New function.
3512         (__sync_xor_and_fetch_8): New function.
3513         (__sync_nand_and_fetch_8): New function.
3514         (__sync_exchange_methods): New macro.
3515         (__sync_val_compare_and_swap_4): New function.
3516         (__sync_bool_compare_and_swap_4): New function.
3517         (__sync_lock_test_and_test_4): New function.
3518         (__sync_val_compare_and_swap_8): New function.
3519         (__sync_bool_compare_and_swap_8): New function.
3520         (__sync_lock_test_and_test_8): New function.
3521         (__subword_cmpxchg_body): New macro.
3522         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
3523         (__atomic_compare_exchange_2): Ditto.
3524         (__sync_subword_cmpxchg): New macro.
3525         (__sync_val_compare_and_swap_1): New function.
3526         (__sync_bool_compare_and_swap_1): New function.
3527         (__sync_val_compare_and_swap_2): New function.
3528         (__sync_bool_compare_and_swap_2): New function.
3529         (__atomic_subword): Rename to ...
3530         (__subword): ... New name.
3531         (__atomic_subword_fetch): Use __subword.
3532         (__sync_subword_fetch): New macro.
3533         (__sync_fetch_and_add_1): New function.
3534         (__sync_fetch_and_sub_1): New function.
3535         (__sync_fetch_and_or_1): New function.
3536         (__sync_fetch_and_and_1): New function.
3537         (__sync_fetch_and_xor_1): New function.
3538         (__sync_fetch_and_nand_1): New function.
3539         (__sync_fetch_and_add_2): New function.
3540         (__sync_fetch_and_sub_2): New function.
3541         (__sync_fetch_and_or_2): New function.
3542         (__sync_fetch_and_and_2): New function.
3543         (__sync_fetch_and_xor_2): New function.
3544         (__sync_fetch_and_nand_2): New function.
3545         (__sync_add_and_fetch_1): New function.
3546         (__sync_sub_and_fetch_1): New function.
3547         (__sync_or_and_fetch_1): New function.
3548         (__sync_and_and_fetch_1): New function.
3549         (__sync_xor_and_fetch_1): New function.
3550         (__sync_nand_and_fetch_1): New function.
3551         (__sync_add_and_fetch_2): New function.
3552         (__sync_sub_and_fetch_2): New function.
3553         (__sync_or_and_fetch_2): New function.
3554         (__sync_and_and_fetch_2): New function.
3555         (__sync_xor_and_fetch_2): New function.
3556         (__sync_nand_and_fetch_2): New function.
3557         (__atomic_subword_lock): Use __subword.
3558         (__sync_subword_lock): New macro.
3559         (__sync_lock_test_and_set_1): New function.
3560         (__sync_lock_test_and_set_2): New function.
3562 2014-01-25  Walter Lee  <walt@tilera.com>
3564         * config/tilepro/atomic.c (BIT_OFFSET): Define.
3565         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
3566         (__atomic_subword): Ditto.
3568 2014-01-25  Walter Lee  <walt@tilera.com>
3570         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
3571         a prefix op argument.
3572         (__atomic_nand_fetch_4): Add prefix op.
3573         (__atomic_nand_fetch_8): Ditto.
3575 2014-01-21  Baruch Siach  <barch@tkos.co.il>
3577         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
3579 2014-01-09  Rong Xu  <xur@google.com>
3581         * libgcov-driver.c (this_prg): make it local to save
3582         bss space.
3583         (gcov_exit_compute_summary): Ditto.
3584         (gcov_exit_merge_gcda): Ditto.
3585         (gcov_exit_merge_summary): Ditto.
3586         (gcov_exit_dump_gcov): Ditto.
3588 2014-01-08  Rong Xu  <xur@google.com>
3590         * libgcov-driver.c: Use libgcov.h.
3591         (buffer_fn_data): Use xmalloc instead of malloc.
3592         (gcov_exit_merge_gcda): Ditto.
3593         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
3594         * libgcov.h: New common header files for libgcov-*.h.
3595         * libgcov-interface.c: Use libgcov.h
3596         * libgcov-merge.c: Ditto.
3597         * libgcov-profiler.c: Ditto.
3598         * Makefile.in: Add dependence to libgcov.h
3600 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
3602         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
3603         case of small numerator and finite nonzero result.
3605 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
3607         Update copyright years
3609 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
3611         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
3612         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
3613         config/arc/dp-hack.h, config/arc/fp-hack.h,
3614         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
3615         config/arc/ieee-754/arc600-dsp/divdf3.S,
3616         config/arc/ieee-754/arc600-dsp/divsf3.S,
3617         config/arc/ieee-754/arc600-dsp/muldf3.S,
3618         config/arc/ieee-754/arc600-dsp/mulsf3.S,
3619         config/arc/ieee-754/arc600-mul64/divdf3.S,
3620         config/arc/ieee-754/arc600-mul64/divsf3.S,
3621         config/arc/ieee-754/arc600-mul64/muldf3.S,
3622         config/arc/ieee-754/arc600-mul64/mulsf3.S,
3623         config/arc/ieee-754/arc600/divsf3.S,
3624         config/arc/ieee-754/arc600/mulsf3.S,
3625         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
3626         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
3627         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
3628         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
3629         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
3630         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
3631         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
3632         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
3633         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
3634         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
3635         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
3636         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
3637         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
3638         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
3639         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
3640         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
3641         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
3642         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
3643         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
3644         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
3645         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
3646         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
3647         vtv_start_preinit.c: Use the standard form for the copyright notice.
3649 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
3650             Chung-Lin Tang  <cltang@codesourcery.com>
3651             Based on patches from Altera Corporation
3653         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
3654         * config/nios2/lib2-nios2.h: New file.
3655         * config/nios2/lib2-divmod-hi.c: New file.
3656         * config/nios2/linux-unwind.h: New file.
3657         * config/nios2/lib2-divmod.c: New file.
3658         * config/nios2/linux-atomic.c: New file.
3659         * config/nios2/t-nios2: New file.
3660         * config/nios2/crti.asm: New file.
3661         * config/nios2/t-linux: New file.
3662         * config/nios2/lib2-divtable.c: New file.
3663         * config/nios2/lib2-mul.c: New file.
3664         * config/nios2/tramp.c: New file.
3665         * config/nios2/crtn.asm: New file.
3667 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
3669         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
3670         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
3671         from cpuid.h to check vendor signatures.
3673 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
3675         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
3676         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
3677         (get_amd_cpu): Likewise.
3679 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
3681         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
3682         Haswell.
3684 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
3685             H.J. Lu  <hongjiu.lu@intel.com>
3687         PR target/59422
3688         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
3689         and AMD_JAGUAR.
3690         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
3691         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
3692         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
3693         FEATURE_XOP and FEATURE_FMA.
3694         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
3695         AMDFAM15H_BDVER3.
3696         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
3697         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
3698         FEATURE_FMA4 and FEATURE_XOP.
3700 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
3702         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
3703         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
3704         (get_intel_cpu): Updated.
3706 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
3708         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
3710 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
3712         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
3713         instructions when __SSE_MATH__ is defined.
3715 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
3717         * config.host (microblaze-*-rtems*): New.
3719 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
3721         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
3722         architectures that do not have hardware divide instruction.
3723         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
3725 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
3727         * longlong.h: Delete (moved to include/).
3729 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3731         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
3732         of normal number and qNaN to not raise an inexact exception.
3734 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
3736         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
3738 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
3740         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
3741         for correct opcodes on BE.
3743 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
3745         * soft-fp/op-4.h: Update from glibc.
3747 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
3749         * libgcc2.c (__udivmoddi4): Define new implementation when
3750         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
3751         divide instructions.
3753 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
3755         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
3757 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3759         * config/t-softfp (soft-fp-objects-base): New variable.
3760         (soft-fp-objects): Use it.
3762 2013-11-23  David Edelson  <dje.gcc@gmail.com>
3763             Andrew Dixie  <andrewd@gentrack.com>
3765         PR target/33704
3766         * config/rs6000/aixinitfini.c: New file.
3767         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
3768         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
3769         symbols.
3771 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
3773         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
3775 2013-11-18  Jan Hubicka  <jh@suse.cz>
3777         * libgcov-driver.c (run_accounted): Make global level static.
3778         (gcov_exit_merge_summary): Silence warning; do not clear
3779         run_accounted here.
3780         (gcov_exit): Clear it here.
3782         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
3783         run_accounted.
3785         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
3786         (all_prg, crc32): Remove static vars.
3787         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
3788         all_prg.
3789         (gcov_exit_merge_gcda): Add crc32 parameter.
3790         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
3791         do not account run if it was already accounted.
3792         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
3793         (gcov_exit): Initialize all_prg; update.
3795 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
3797         * configure: Regenerate.
3799 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3800             Alan Modra  <amodra@gmail.com>
3802         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
3803         (frob_update_context): Use it.
3805 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3806             Alan Modra  <amodra@gmail.com>
3808         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
3809         (trampoline_initial): Provide ELFv2 variant.
3810         (__trampoline_setup): Likewise.
3812         * config/rs6000/linux-unwind.h (frob_update_context): Do not
3813         check for AIX indirect function call sequence if _CALL_ELF == 2.
3815 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3816             Alan Modra  <amodra@gmail.com>
3818         * config/rs6000/linux-unwind.h (get_regs): Do not support
3819         old kernel versions if _CALL_ELF == 2.
3820         (frob_update_context): Do not support PLT stub variants only
3821         generated by old linkers if _CALL_ELF == 2.
3823 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3824             Alan Modra  <amodra@gmail.com>
3826         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
3827         location of CR save area for 64-bit little-endian systems.
3829 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
3831         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
3832         in tmake_file.
3833         * config/arm/t-vxworks: Delete.
3835 2013-11-10  Kai Tietz  <ktietz@redhat.com>
3837         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
3838         Increment load-count on use of LIBGCC_SONAME DLL.
3839         (hmod_libgcc): New static variable to hold handle of
3840         LIBGCC_SONAME DLL.
3841         (__gcc_deregister_frame): Decrement load-count of
3842         LIBGCC_SONAME DLL.
3844 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3846         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
3847         availability.
3848         * configure: Regenerate
3850 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
3852         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
3853         FP_EX_DENORM.  Store result to volatile location after SSE division
3854         to close interrupt window.  Remove unneeded fwait after x87
3855         division since interrupt window will be closed by emitted fstp.
3856         Rewrite FP_EX_INEXACT handling.
3858 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
3860         * soft-fp/README: Update.
3861         * soft-fp/adddf3.c: Update from glibc.
3862         * soft-fp/addsf3.c: Likewise.
3863         * soft-fp/addtf3.c: Likewise.
3864         * soft-fp/divdf3.c: Likewise.
3865         * soft-fp/divsf3.c: Likewise.
3866         * soft-fp/divtf3.c: Likewise.
3867         * soft-fp/double.h: Likewise.
3868         * soft-fp/eqdf2.c: Likewise.
3869         * soft-fp/eqsf2.c: Likewise.
3870         * soft-fp/eqtf2.c: Likewise.
3871         * soft-fp/extenddftf2.c: Likewise.
3872         * soft-fp/extended.h: Likewise.
3873         * soft-fp/extendsfdf2.c: Likewise.
3874         * soft-fp/extendsftf2.c: Likewise.
3875         * soft-fp/extendxftf2.c: Likewise.
3876         * soft-fp/fixdfdi.c: Likewise.
3877         * soft-fp/fixdfsi.c: Likewise.
3878         * soft-fp/fixdfti.c: Likewise.
3879         * soft-fp/fixsfdi.c: Likewise.
3880         * soft-fp/fixsfsi.c: Likewise.
3881         * soft-fp/fixsfti.c: Likewise.
3882         * soft-fp/fixtfdi.c: Likewise.
3883         * soft-fp/fixtfsi.c: Likewise.
3884         * soft-fp/fixtfti.c: Likewise.
3885         * soft-fp/fixunsdfdi.c: Likewise.
3886         * soft-fp/fixunsdfsi.c: Likewise.
3887         * soft-fp/fixunsdfti.c: Likewise.
3888         * soft-fp/fixunssfdi.c: Likewise.
3889         * soft-fp/fixunssfsi.c: Likewise.
3890         * soft-fp/fixunssfti.c: Likewise.
3891         * soft-fp/fixunstfdi.c: Likewise.
3892         * soft-fp/fixunstfsi.c: Likewise.
3893         * soft-fp/fixunstfti.c: Likewise.
3894         * soft-fp/floatdidf.c: Likewise.
3895         * soft-fp/floatdisf.c: Likewise.
3896         * soft-fp/floatditf.c: Likewise.
3897         * soft-fp/floatsidf.c: Likewise.
3898         * soft-fp/floatsisf.c: Likewise.
3899         * soft-fp/floatsitf.c: Likewise.
3900         * soft-fp/floattidf.c: Likewise.
3901         * soft-fp/floattisf.c: Likewise.
3902         * soft-fp/floattitf.c: Likewise.
3903         * soft-fp/floatundidf.c: Likewise.
3904         * soft-fp/floatundisf.c: Likewise.
3905         * soft-fp/floatunditf.c: Likewise.
3906         * soft-fp/floatunsidf.c: Likewise.
3907         * soft-fp/floatunsisf.c: Likewise.
3908         * soft-fp/floatunsitf.c: Likewise.
3909         * soft-fp/floatuntidf.c: Likewise.
3910         * soft-fp/floatuntisf.c: Likewise.
3911         * soft-fp/floatuntitf.c: Likewise.
3912         * soft-fp/gedf2.c: Likewise.
3913         * soft-fp/gesf2.c: Likewise.
3914         * soft-fp/getf2.c: Likewise.
3915         * soft-fp/ledf2.c: Likewise.
3916         * soft-fp/lesf2.c: Likewise.
3917         * soft-fp/letf2.c: Likewise.
3918         * soft-fp/muldf3.c: Likewise.
3919         * soft-fp/mulsf3.c: Likewise.
3920         * soft-fp/multf3.c: Likewise.
3921         * soft-fp/negdf2.c: Likewise.
3922         * soft-fp/negsf2.c: Likewise.
3923         * soft-fp/negtf2.c: Likewise.
3924         * soft-fp/op-1.h: Likewise.
3925         * soft-fp/op-2.h: Likewise.
3926         * soft-fp/op-4.h: Likewise.
3927         * soft-fp/op-8.h: Likewise.
3928         * soft-fp/op-common.h: Likewise.
3929         * soft-fp/quad.h: Likewise.
3930         * soft-fp/single.h: Likewise.
3931         * soft-fp/soft-fp.h: Likewise.
3932         * soft-fp/subdf3.c: Likewise.
3933         * soft-fp/subsf3.c: Likewise.
3934         * soft-fp/subtf3.c: Likewise.
3935         * soft-fp/truncdfsf2.c: Likewise.
3936         * soft-fp/trunctfdf2.c: Likewise.
3937         * soft-fp/trunctfsf2.c: Likewise.
3938         * soft-fp/trunctfxf2.c: Likewise.
3939         * soft-fp/unorddf2.c: Likewise.
3940         * soft-fp/unordsf2.c: Likewise.
3941         * soft-fp/unordtf2.c: Likewise.
3943 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
3945         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
3946         (_FP_MUL_MEAT_D): Ditto.
3947         (_FP_DIV_MEAT_S): Ditto.
3948         (_FP_DIV_MEAT_D): Ditto.
3949         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
3950         t-softfp-sfdf and t-softfp to tmake_file.
3952 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
3954         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
3955         * config/i386/crtprec.c: Ditto.
3957 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
3958             Shiva Chen  <shiva0217@gmail.com>
3960         * config.host (nds32*-elf*): Add nds32 target.
3961         * config/nds32 : New directory and files.
3963 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
3965         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
3966         * config.host (cpu_type) <Setting default>: Add entry for
3967         crisv32-*-*.
3968         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
3969         <crisv32-*-linux*>: Adjust.
3970         * longlong.h: Wrap the whole CRIS section in a single
3971         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
3972         and sub_ddmmss.
3973         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
3974         defined.
3975         [__CRIS__] (__umulsidi3): Define.
3976         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
3977         * config/cris/sfp-machine.h: New file.
3978         * config/cris/umulsidi3.S: New file.
3979         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
3980         * config/cris/arit.c (SIGNMULT): New macro.
3981         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
3982         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
3983         saving 3 out of originally 33 cycles from the fastest
3984         path, 3 out of 54 from the medium path and one from the longest
3985         path.  Improve comments.
3987 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
3989         * sync.c: Remove static aliases and define each function directly
3990         under its real name.
3992 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
3994         * config.host (hppa*64*-*-linux*): Define extra_parts.
3995         (hppa*-*-linux*): Likewise.
3997 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
3999         * config/arc/crtgend.S: Add 2013 to Copyright years.
4000         * config/arc/gmon/atomic.h: Likewise.
4001         * config/arc/gmon/auxreg.h: Likewise.
4002         * config/arc/gmon/sys/gmon_out.h: Likewise.
4003         * config/arc/gmon/sys/gmon.h: Likewise.
4004         * config/arc/gmon/prof-freq.c: Likewise.
4005         * config/arc/gmon/mcount.c: Likewise.
4006         * config/arc/gmon/prof-freq-stub.S: Likewise.
4007         * config/arc/gmon/gmon.c: Likewise.
4008         * config/arc/gmon/machine-gmon.h: Likewise.
4009         * config/arc/gmon/profil.S: Likewise.
4010         * config/arc/gmon/dcache_linesz.S: Likewise.
4011         * config/arc/crtg.S: Likewise.
4012         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4013         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4014         * config/arc/ieee-754/adddf3.S: Likewise.
4015         * config/arc/ieee-754/truncdfsf2.S: Likewise.
4016         * config/arc/ieee-754/fixsfsi.S: Likewise.
4017         * config/arc/ieee-754/gtsf2.S: Likewise.
4018         * config/arc/ieee-754/floatsisf.S: Likewise.
4019         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4020         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4021         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4022         * config/arc/ieee-754/fixdfsi.S: Likewise.
4023         * config/arc/ieee-754/addsf3.S: Likewise.
4024         * config/arc/ieee-754/gesf2.S: Likewise.
4025         * config/arc/ieee-754/floatsidf.S: Likewise.
4026         * config/arc/ieee-754/extendsfdf2.S: Likewise.
4027         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4028         * config/arc/ieee-754/gtdf2.S: Likewise.
4029         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4030         * config/arc/ieee-754/uneqdf2.S: Likewise.
4031         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4032         * config/arc/ieee-754/uneqsf2.S: Likewise.
4033         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4034         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4035         * config/arc/ieee-754/eqdf2.S: Likewise.
4036         * config/arc/ieee-754/ordsf2.S: Likewise.
4037         * config/arc/ieee-754/divsf3.S: Likewise.
4038         * config/arc/ieee-754/divdf3.S: Likewise.
4039         * config/arc/ieee-754/floatunsidf.S: Likewise.
4040         * config/arc/ieee-754/orddf2.S: Likewise.
4041         * config/arc/ieee-754/eqsf2.S: Likewise.
4042         * config/arc/ieee-754/gedf2.S: Likewise.
4043         * config/arc/crtn.S: Likewise.
4044         * config/arc/crti.S: Likewise.
4045         * config/arc/t-arc700-uClibc: Likewise.
4046         * config/arc/asm.h: Likewise.
4047         * config/arc/libgcc-excl.ver: Likewise.
4048         * config/arc/t-arc-newlib: Likewise.
4049         * config/arc/divtab-arc700.c: Likewise.
4050         * config/arc/initfini.c: Likewise.
4051         * config/arc/fp-hack.h: Likewise.
4053 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
4054             Diego Novillo  <dnovillo@google.com>
4056         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
4057         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4058         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4059         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
4061 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
4062             Brendan Kehoe  <brendan@zen.org>
4063             Simon Cook  <simon.cook@embecosm.com>
4065         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4066         * config/arc: New directory.
4067         * longlong.h [__arc__] (umul_ppmm): Remove.
4068         [__arc__] (__umulsidi3): Define.
4069         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4070         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4072 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
4074         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4075         CreateSemaphoreA.
4076         * config/i386/gthr-win32.h: Likewise.
4078 2013-09-16  DJ Delorie  <dj@redhat.com>
4080         * config/rl78/vregs.h: Add G10 register definitions.
4081         * config/rl78/lib2mul.c: Enable for RL78/G10.
4082         * config/rl78/lib2div.c: Likewise.
4083         * config/rl78/lshrsi3.S: Use vregs.h.
4084         * config/rl78/cmpsi2.S: Likewise.
4085         * config/rl78/trampoline.S: Likewise.
4086         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
4088 2013-09-14  DJ Delorie  <dj@redhat.com>
4089             Nick Clifton  <nickc@redhat.com>
4091         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4092         * config/rl78/vregs.h: New.
4093         * config/rl78/signbit.S: New file.  Implements signbit function.
4094         * config/rl78/divmodsi.S: New.
4095         * config/rl78/divmodhi.S: New.
4096         * config/rl78/divmodqi.S: New.
4097         * config/rl78/t-rl78: Build them here...
4098         * config/rl78/lib2div.c: ...but not here.
4100 2013-09-12  DJ Delorie  <dj@redhat.com>
4102         * config.host (msp*-*-elf): New.
4103         * config/msp430/: New port.
4105 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
4107         PR gcov-profile/58127
4108         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4109         __thread var for emulated TLS.
4110         (__gcov_indirect_call_counters): Likewise.
4112 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
4113             Catherine Moore  <clm@codesourcery.com>
4114             Richard Sandiford  <rdsandiford@googlemail.com>
4116         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4117         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4118         (CALL_STUB_NO_RET): Likewise.
4119         (CALL_STUB_RET): Likewise.
4120         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4121         __mips16_ret call/return stub symbols.
4122         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4123         to tmake_file.
4125 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
4127         * config.host <mips*-*-linux*>: Remove a stray comment.
4129 2013-08-10  Jan Hubicka  <jh@suse.cz>
4131         Work around binutils PR14342
4132         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4133         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4134         (L_gcov_indirect_call_profiler_v2): New.
4136 2013-08-06  Jan Hubicka  <jh@suse.cz>
4138         * libgcov.c (__gcov_indirect_call_callee,
4139         __gcov_indirect_call_counters): New global vars.
4140         (__gcov_indirect_call_profiler): replace by ...
4141         (__gcov_indirect_call_profiler_v2) ... this one.
4143 2013-08-06  Caroline Tice  <cmtice@google.com>
4145         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
4146         vtv_start_preinit.o and vtv_end_preinit.o.
4147         * configure.ac: Add code to check/set enable_vtable_verify.
4148         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
4149         true.
4150         * vtv_start_preinit.c: New file.
4151         * vtv_end_preinit.c: New file.
4152         * vtv_start.c: New file.
4153         * vtv_end.c: New file.
4154         * configure: Regenerated.
4156 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
4158         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4159         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4160         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4161         GPL-3.0-with-GCC-exception.
4163 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
4165         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4166         ISA and up.
4168 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4170         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4171         mapping for FPRs when creating the fallback framestate.
4173 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
4175         PR target/57516
4176         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4177         (__round_s2_const, __round_u2_const)
4178         (__round_s4_const, __round_u4_const, __round_x8):
4179         Saturate result if addition result cannot be represented.
4181 2013-07-15  Matthias Klose  <doko@ubuntu.com>
4183         * libgcc2.c: Don't include <limits.h>.
4185 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
4187         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4189 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
4191         PR target/29776
4192         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4194 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
4196         PR middle-end/36041
4197         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4198         Define.
4199         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4200         instead of table lookups.
4201         (__popcountDI2): Likewise.
4203 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
4205         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4206         correctly.
4208 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
4210         PR other/53317
4211         * soft-fp/adddf3.c: Update from glibc.
4212         * soft-fp/addsf3.c: Likewise.
4213         * soft-fp/addtf3.c: Likewise.
4214         * soft-fp/divdf3.c: Likewise.
4215         * soft-fp/divsf3.c: Likewise.
4216         * soft-fp/divtf3.c: Likewise.
4217         * soft-fp/double.h: Likewise.
4218         * soft-fp/eqdf2.c: Likewise.
4219         * soft-fp/eqsf2.c: Likewise.
4220         * soft-fp/eqtf2.c: Likewise.
4221         * soft-fp/extenddftf2.c: Likewise.
4222         * soft-fp/extended.h: Likewise.
4223         * soft-fp/extendsfdf2.c: Likewise.
4224         * soft-fp/extendsftf2.c: Likewise.
4225         * soft-fp/fixdfdi.c: Likewise.
4226         * soft-fp/fixdfsi.c: Likewise.
4227         * soft-fp/fixsfdi.c: Likewise.
4228         * soft-fp/fixsfsi.c: Likewise.
4229         * soft-fp/fixtfdi.c: Likewise.
4230         * soft-fp/fixtfsi.c: Likewise.
4231         * soft-fp/fixunsdfdi.c: Likewise.
4232         * soft-fp/fixunsdfsi.c: Likewise.
4233         * soft-fp/fixunssfdi.c: Likewise.
4234         * soft-fp/fixunssfsi.c: Likewise.
4235         * soft-fp/fixunstfdi.c: Likewise.
4236         * soft-fp/fixunstfsi.c: Likewise.
4237         * soft-fp/floatdidf.c: Likewise.
4238         * soft-fp/floatdisf.c: Likewise.
4239         * soft-fp/floatditf.c: Likewise.
4240         * soft-fp/floatsidf.c: Likewise.
4241         * soft-fp/floatsisf.c: Likewise.
4242         * soft-fp/floatsitf.c: Likewise.
4243         * soft-fp/floatundidf.c: Likewise.
4244         * soft-fp/floatundisf.c: Likewise.
4245         * soft-fp/floatunditf.c: Likewise.
4246         * soft-fp/floatunsidf.c: Likewise.
4247         * soft-fp/floatunsisf.c: Likewise.
4248         * soft-fp/floatunsitf.c: Likewise.
4249         * soft-fp/gedf2.c: Likewise.
4250         * soft-fp/gesf2.c: Likewise.
4251         * soft-fp/getf2.c: Likewise.
4252         * soft-fp/ledf2.c: Likewise.
4253         * soft-fp/lesf2.c: Likewise.
4254         * soft-fp/letf2.c: Likewise.
4255         * soft-fp/muldf3.c: Likewise.
4256         * soft-fp/mulsf3.c: Likewise.
4257         * soft-fp/multf3.c: Likewise.
4258         * soft-fp/negdf2.c: Likewise.
4259         * soft-fp/negsf2.c: Likewise.
4260         * soft-fp/negtf2.c: Likewise.
4261         * soft-fp/op-1.h: Likewise.
4262         * soft-fp/op-2.h: Likewise.
4263         * soft-fp/op-4.h: Likewise.
4264         * soft-fp/op-8.h: Likewise.
4265         * soft-fp/op-common.h: Likewise.
4266         * soft-fp/quad.h: Likewise.
4267         * soft-fp/single.h: Likewise.
4268         * soft-fp/soft-fp.h: Likewise.
4269         * soft-fp/subdf3.c: Likewise.
4270         * soft-fp/subsf3.c: Likewise.
4271         * soft-fp/subtf3.c: Likewise.
4272         * soft-fp/truncdfsf2.c: Likewise.
4273         * soft-fp/trunctfdf2.c: Likewise.
4274         * soft-fp/trunctfsf2.c: Likewise.
4275         * soft-fp/unorddf2.c: Likewise.
4276         * soft-fp/unordsf2.c: Likewise.
4277         * soft-fp/unordtf2.c: Likewise.
4278         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
4279         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4280         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4281         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4282         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4283         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4284         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4285         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4286         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4287         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
4288         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
4289         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4291 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
4293         * config/mips/lib2funcs.c: New file.
4294         * config/mips/t-mips (LIB2ADD_ST): Add it.
4296 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
4298         PR target/6526
4299         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
4300         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
4302 2013-06-08  Walter Lee  <walt@tilera.com>
4304         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
4305         Replace int64_t with long long.  Add __extension__ where
4306         appropriate.
4307         * config/tilepro/atomic.c: Include config.h.
4309 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
4311         * config.host (arm-wrs-vxworks): Configure with other soft float.
4313 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
4315         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
4316         (mips64r5900el-*-elf*): New configurations.
4318 2013-06-04  Alan Modra  <amodra@gmail.com>
4320         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
4322 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
4324         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
4326 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
4328         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
4329         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
4330         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
4332 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
4334         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
4335         (powerpc-wrs-vxworks): Likewise.
4337 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
4339         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
4340         signal frames as well.
4341         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
4342         STACK_BIAS to the CFA offset.
4344 2013-05-17  Richard Henderson  <rth@redhat.com>
4346         PR target/49146
4347         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
4348         (execute_cfa_program): Use it when storing to fs->regs.
4350 2013-05-08  Kai Tietz  <ktietz@redhat.com>
4352         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
4353         (__deregister_frame_info): Likewise.
4355 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
4357         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
4358         NaN's payload.
4360         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
4362 2013-04-25  Alan Modra  <amodra@gmail.com>
4364         * config.host: Match little-endian powerpc-linux.
4366 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
4368         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
4369         as 'unsigned long long' instead of 'unsigned long'.
4370         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
4371         'signed long'.
4373 2013-04-10  Julian Brown  <julian@codesourcery.com>
4375         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
4376         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
4377         unsigned char/unsigned short.
4378         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
4380 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4382         PR other/55274
4383         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
4385 2013-04-04  Meador Inge  <meadori@codesourcery.com>
4387         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
4388         computing the location of the link register.
4389         (aeabi_uldivmod): Ditto.
4391 2013-03-27  Kai Tietz  <ktietz@redhat.com>
4393         * config.host: Add support for cygwin x64 target.
4394         * configure: Regenerated.
4396 2013-03-26  Walter Lee  <walt@tilera.com>
4398         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
4399         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
4401 2013-03-25  Kai Tietz  <ktietz@redhat.com>
4403         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
4405 2013-03-20  Robert Mason  <rbmj@verizon.net>
4407         * config/vxlib-tls.c (__gthread_get_tsd_data,)
4408         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
4409         (__gthread_leave_tsd_dtor_context): Add prototypes.
4410         (tls_delete_hook): Update.
4412 2013-03-20  Catherine Moore  <clm@codesourcery.com>
4413             Joseph Myers  <joseph@codesourcery.com>
4414             Chao-ying Fu  <fu@mips.com>
4416         * config/mips/mips16.S:  Don't build for microMIPS.
4417         * config/mips/linux-unwind.h: Handle microMIPS frame.
4418         * config/mips/crtn.S (fini, init): New labels.
4420 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
4422         PR tree-optimization/53265
4423         * unwind-dw2.c (execute_cfa_program): Avoid
4424         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
4425         on targets with DWARF_FRAME_REGISTERS < 32.
4427 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
4429         PR target/49880
4430         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
4431         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
4433 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
4435         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
4436         sandybridge processors.
4438 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
4440         PR target/56529
4441         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
4442         inclusion list.
4444 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4446         * config/microblaze/crti.S: Setup stack protection at entry
4448 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
4450         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
4451         (__rotldi3): Shift bytewise if applicable.
4453 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
4455         * config/aarch64/sync-cache.c
4456         (__aarch64_sync_cache_range): Silence warnings.
4458 2013-02-25  Catherine Moore  <clm@codesourcery.com>
4460         Revert:
4461         2013-02-24  Catherine Moore  <clm@codesourcery.com>
4462             Joseph Myers  <joseph@codesourcery.com>
4463             Chao-ying Fu  <fu@mips.com>
4465         * config/mips/mips16.S:  Don't build for microMIPS.
4466         * config/mips/linux-unwind.h: Handle microMIPS frame.
4467         * config/mips/crtn.S (fini, init): New labels.
4469 2013-02-24  Catherine Moore  <clm@codesourcery.com>
4470             Joseph Myers  <joseph@codesourcery.com>
4471             Chao-ying Fu  <fu@mips.com>
4473         * config/mips/mips16.S:  Don't build for microMIPS.
4474         * config/mips/linux-unwind.h: Handle microMIPS frame.
4475         * config/mips/crtn.S (fini, init): New labels.
4477 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4478         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
4479         as dividend.
4481 2013-02-16  Alan Modra  <amodra@gmail.com>
4483         PR target/55431
4484         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
4485         (ppc_fallback_frame_state): Always set up save locations for fp
4486         and altivec.  Don't bother with non-callee-saved regs, r0-r13
4487         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
4489 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
4491         PR target/54222
4492         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
4493         _ssmulHA, _ssmulSA.
4494         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
4495         _ssmulha3, _usmulusa3, _ssmulsa3.
4496         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
4497         (__muldi3): XCALL __muldi3_6 instead of rcall.
4498         (__umulsidi3, __mulsidi3): New functions.
4499         (do_prologue_saves, do_epilogue_restores): New .macros.
4500         (__divdi3_moddi3): Use them.
4501         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
4502         (__usmulusa3, __ssmulsa3): New functions.
4504 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
4505             Jack Howarth  <howarth@bromo.med.uc.edu>
4506             Patrick Marlier  <patrick.marlier@gmail.com>
4508         PR libitm/55693
4509         * config/darwin-crt-tm.c: Remove dummy functions hack.
4511 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
4513         PR target/54222
4514         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
4515         * config/avr/lib2-object.mk: New iterator to build objects from it.
4516         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
4517         lib2funcs.c.
4518         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
4519         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
4520         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
4521         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
4522         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
4523         * config/avr/lib1funcs-fixed.S: Implement them.
4525 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
4527         Update copyright years.
4529 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
4531         PR target/54601
4532         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
4533         Add crtcxa to extra_parts.
4534         * config/rs6000/exit.h: New file.
4535         * config/rs6000/cxa_atexit.c: New file.
4536         * config/rs6000/cxa_finalize.c: New file.
4537         * config/rs6000/crtcxa.c: New file.
4538         * config/rs6000/t-aix-cxa: New file.
4539         * config/rs6000/libgcc-aix-cxa.ver: New file.
4541 2013-01-31  Nick Clifton  <nickc@redhat.com>
4543         * config/v850/lib1funcs.S: Add support for e3v5 architecture
4544         variant.
4546 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
4548         PR target/54222
4549         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
4550         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
4551         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
4552         _divQQ,  _divHQ,  _divHA,  _divSA,
4553         _divUQQ, _divUHQ, _divUHA, _divUSA.
4555 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
4557         * config.host(microblaze*-linux*): tmake_file: Remove
4558         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
4559         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
4560         to exclude functions from being built with libgcc.c and use
4561         the microblaze assembly.
4563 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4565         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
4566         extra_parts.
4568 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
4570         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
4571         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
4572         __UINTPTR_TYPE__; also cast 'base' to the same type before the
4573         alignment operation.
4575 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
4577         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
4578         loop start address for cache clearing.
4580 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
4582         * config/avr/lib1funcs.S: Remove trailing blanks.
4583         * config/avr/lib1funcs-fixed.S: Ditto.
4585 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
4587         * config/avr/avr-lib.h: Add GPL copyright notice.
4589 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
4591         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
4592         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
4593         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
4594         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
4596 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
4598         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
4599         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
4601 2013-01-04  Nick Clifton  <nickc@redhat.com>
4603         * config/v850/lib1funcs.S: Only provide CALLT support functions if
4604         the CALLT instruction is supported.
4606 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
4608         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
4609         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
4611 2012-12-13  John Tytgat  <John@bass-software.com>
4613         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
4614         is 25.
4616 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
4618         PR libgcc/55451
4619         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
4620         undefined signed overflows.
4622 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
4624         PR target/55344
4625         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
4627 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
4629         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
4630         (FP_TRAPPING_EXCEPTIONS): Define.
4631         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
4632         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
4634 2012-12-04  Richard Henderson  <rth@redhat.com>
4636         PR bootstrap/55571
4637         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
4639 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4641         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
4642         (FP_EX_SHIFT): Define.
4643         (FP_TRAPPING_EXCEPTIONS): Define.
4645 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4647         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
4648         (FP_ROUNDMODE): Use FP_RND_MASK.
4649         * config/aarch64/sfp-exceptions.c: New.
4650         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4651         Use __sfp_handle_exceptions.
4653 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
4655         * config.host: (arm*-*-freebsd*): Remove.
4656         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
4657         (arm*-*-elf*): Remove.
4658         (arm*-*-wince-pe*): Remove.
4659         * arm/unwind-arm.c (struct fpa_reg): Delete.
4660         (struct fpa_regs): Delete.
4661         (phase1_vrs): Remove fpa element.
4662         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
4663         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
4664         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
4665         * ieee754-sf.S (floatundisf): Remove FPA support.
4666         (floatdisf): Likewise.
4667         * ieee75f-df.S (floatundidf): Likewise.
4668         (floatdidf): Likewise.
4670 2012-11-29  Kai Tietz  <ktietz@redhat.com>
4672         PR target/55445
4673         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
4674         * unwind-generic.h: Likewise.
4675         * unwind-seh.c: Likewise.
4677 2012-11-28  Richard Henderson  <rth@redhat.com>
4679         PR libgcc/48076
4680         * emutls.c (__emutls_get_address): Avoid race condition between
4681         obj->loc.offset read and emutls_key initialization.
4683 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
4685         Adjust decimal point of signed accum mode to GCC default.
4687         PR target/54222
4688         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
4689         _divqq_helper.
4690         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
4691         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
4692         (__mulha3, __mulsa3)
4693         (__divqq3, __divha3, __divsa3): Adjust to new position of
4694         decimal point of signed accum types.
4696         (__mulusa3_round): New function.
4697         (__mulusa3): Use it.
4698         (__divqq_helper): New function.
4699         (__udivuqq3): Use it.
4701 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
4703         PR bootstrap/55370
4704         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
4706 2012-11-18  Teresa Johnson  <tejohnson@google.com>
4708         PR bootstrap/55051
4709         * libgcov.c (gcov_exit): Remove merged program summary
4710         comparison unless !GCOV_LOCKED.
4712 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4714         * soft-fp: Updated from glibc upstream.
4716 2012-11-06  Ian Lance Taylor  <iant@google.com>
4718         * generic-morestack.c (__generic_morestack): Align the returned
4719         stack pointer to a 32 byte boundary.
4720         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
4721         increment the return address until we have decided that we don't
4722         have a varargs function.
4723         (__morestack) [32-bit]: Align stack correctly when calling C
4724         functions.
4725         (__morestack) [64-bit]: Likewise.
4727 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
4729         * configure: Regenerate.
4731 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
4733         PR target/55175
4734         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
4735         * config/i386/sfp-machine.h: Guard exception handling
4736         code with _SOFT_FLOAT.
4737         * config/i386/32/sfp-machine.h: Guard rounding handling
4738         code with _SOFT_FLOAT.
4739         * config/i386/64/sfp-machine.h: Ditto.
4741 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
4743         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
4744         as extra_parts.
4746 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
4748         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
4749         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
4750         when appropriate.  Correct structure element types.
4751         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
4752         -minline-all-stringops from compile flags.
4754 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
4756         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
4758 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
4760         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
4762 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4764         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
4765         tmake_file.
4767 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
4768             Jim MacArthur  <jim.macarthur@arm.com>
4769             Marcus Shawcroft  <marcus.shawcroft@arm.com>
4770             Nigel Stephens  <nigel.stephens@arm.com>
4771             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
4772             Richard Earnshaw  <rearnsha@arm.com>
4773             Sofiane Naci  <sofiane.naci@arm.com>
4774             Stephen Thomas  <stephen.thomas@arm.com>
4775             Tejas Belagod  <tejas.belagod@arm.com>
4776             Yufeng Zhang  <yufeng.zhang@arm.com>
4778         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
4779         * config/aarch64/crti.S: New file.
4780         * config/aarch64/crtn.S: New file.
4781         * config/aarch64/linux-unwind.h: New file.
4782         * config/aarch64/sfp-machine.h: New file.
4783         * config/aarch64/sync-cache.c: New file.
4784         * config/aarch64/t-aarch64: New file.
4785         * config/aarch64/t-softfp: New file.
4787 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
4789         * config/mmix/crti.S: Mark program and data addresses using PRELD.
4790         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
4791         no-longer-needed LDBU insns.
4793 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4795         * config.host
4796         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
4797         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
4799 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
4801         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
4803 2012-10-15  Matthias Klose  <doko@ubuntu.com>
4805         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
4807 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
4809         * configure: Regenerate.
4810         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
4812 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
4814         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4815         instructions for 64bit targets only.
4817 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
4819         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4820         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
4821         * config/i386/32/sfp-machine.h: ... here.
4822         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
4823         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
4824         New defines.
4826 2012-10-07  Matthias Klose  <doko@ubuntu.com>
4828         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
4829         as unused.
4830         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
4832 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
4834         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
4835         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
4836         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
4837         (ElfW): Likewise.
4839 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
4841         PR other/53889
4842         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4843         Fix parameter names.
4845 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
4847         PR target/33135
4848         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
4849         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
4850         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
4852 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
4854         PR target/50457
4855         * config/sh/linux-atomic.S: Delete.
4856         * config/sh/linux-atomic.c: New.
4857         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
4858         linux-atomic.c.  Add cflags to disable warnings.
4860 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
4862         PR other/53889
4863         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
4864         function.
4865         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
4866         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
4867         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
4868         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
4869         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
4870         Likewise.
4871         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4872         Likewise.
4873         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
4874         Likewise.
4875         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
4876         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
4878 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
4880         * config.host (hppa-*-openbsd*): New target.
4881         * config/pa/t-openbsd: New file.
4883 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
4885         PR target/54222
4886         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
4887         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
4888         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
4889         (__divsa3): Use __negsi2 to negate r_quoL.
4890         * config/avr/lib1funcs.S (FALIAS): New macro.
4891         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
4892         (__negsi2): ...this new function.
4893         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
4894         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
4895         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
4896         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
4897         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
4898         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
4900 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
4902         PR target/54089
4903         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
4904         (lshrsi3): Reimplement as lshrsi3_r0.
4906 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
4908         PR target/46191
4909         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
4910         of libgcc.a.
4912 2012-09-07  Teresa Johnson  <tejohnson@google.com>
4914         PR gcov-profile/54487
4915         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
4916         differences.
4918 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
4920         PR target/54461
4921         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
4922         not configured --with-avrlibc=no.
4923         * config/avr/t-avrlibc: New file.
4924         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
4925         (DPBIT_FUNCS): Ditto.
4926         (TPBIT_FUNCS): Ditto.
4928 2012-09-04  Teresa Johnson  <tejohnson@google.com>
4930         * libgcov.c (struct gcov_summary_buffer): New structure.
4931         (gcov_histogram_insert): New function.
4932         (gcov_compute_histogram): Ditto.
4933         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
4934         histograms during summary merging.
4936 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
4938         * config.host (x86_64-*-openbsd*): New target.
4940 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
4942         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
4943         attribute.
4945 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
4947         PR target/54222
4948         * config/avr/t-avr (conv_X): Rename to func_X.
4950 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
4952         PR target/54222
4953         * config/avr/lib1funcs-fixed.S: New file.
4954         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
4955         after they are used.
4956         (neg2, neg4): New macros.
4957         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
4958         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
4959         (__umulhisi3): Speed up MUL variant if there is enough flash.
4960         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
4961         avr-modes.def.
4962         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
4963         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
4964         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
4965         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
4966         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
4967         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
4968         (LIB2FUNCS_EXCLUDE): Add supported functions.
4970 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
4972         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
4973         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
4974         libgcc-s-objects.
4975         * fixed-obj.mk: Only expand dependency if $o is not in
4976         LIB2FUNCS_EXCLUDE.
4978 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
4980         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
4982 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
4984         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
4985         depend on --enable-shared.
4986         ($(lib1asmfuncs-o)): Use %.vis files independent of
4987         --enable-shared.
4988         * static-object.mk ($(base)$(objext), $(base).vis)
4989         ($(base)_s$(objext)): Use same rules for visibility handling as in
4990         shared-object.mk.
4992 2012-08-21  Ian Lance Taylor  <iant@google.com>
4994         * config/i386/morestack.S (__morestack_non_split): Increase amount
4995         of space allocated for non-split code stack.
4997 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
4999         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5000         even if inhibit_libc.
5002 2012-08-17  Julian Brown  <julian@codesourcery.com>
5004         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5005         -fexceptions -fnon-call-exceptions if not defined.
5006         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5007         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5009 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
5011         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5012         type.
5014 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
5016         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5017         rs6000/t-slibgcc-aix.
5019 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
5021         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5023 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
5025         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5027 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
5029         PR driver/54171
5030         * Makefile.in (version): Replace top_srcdir with srcdir.
5032 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
5034         * Makefile.in (version): set to BASE-VER file from gcc directory.
5036 2012-08-01  Nick Clifton  <nickc@redhat.com>
5038         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5039         Implements __clrsb for an HImode argument.
5041 2012-07-31  Nick Clifton  <nickc@redhat.com>
5043         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5044         Implements __clrsb for an HImode argument.
5045         * config/stormy16/clrsbhi2.c: New file:
5046         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5048 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
5050         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5052 2012-07-19  Tristan Gingold  <gingold@adacore.com>
5053             Richard Henderson  <rth@redhat.com>
5055         * unwind-seh.c: New file.
5056         * unwind-generic.h: Include windows.h for SEH.
5057         (_Unwind_Exception): Use 6 private fields for SEH.
5058         (_GCC_specific_handler): Declare.
5059         * unwind-c.c (__gcc_personality_seh0): New function.
5060         Adjust for SEH.
5061         * config/i386/libgcc-cygming.ver: New file.
5062         * config/i386/t-seh-eh: New file.
5063         * config.host (x86_64-*-mingw*): Default to seh.
5065 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
5067         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5069 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
5071         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5072         __builtin_expect when checking for exceptions.
5073         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5075 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
5077         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5078         function declaration.
5079         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5080         (FP_RND_MASK): New.
5081         * config/ia64/sfp-exceptions.c: New.
5082         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
5084 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
5086         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5087         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5088         * config/i386/64/sfp-machine: ... (delete here) ...
5089         * config/i386/sfp-machine.h: ... to here.
5090         (FP_EX_MASK): Remove.
5091         (FP_RND_MASK): New.
5092         (FP_INIT_ROUNDMODE): Declare asm as volatile.
5094 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
5096         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5097         * config/i386/libgcc-sol2.ver: Ditto.
5098         * config/i386/libgcc-glibc.ver: Ditto.
5100 2012-06-11  Roland McGrath  <mcgrathr@google.com>
5102         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5103         If __GLIBC__ is defined, refer to __pthread_key_create instead of
5104         pthread_cancel.
5106 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
5108         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5109         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5110         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5111         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5112         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5113         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5114         * config/i386/64/sfp-machine: ... (delete here) ...
5115         * config/i386/sfp-machine.h: ... to here.
5116         (FP_EX_MASK): New.
5117         (__sfp_handle_exceptions): New function declaration.
5118         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5119         * config/i386/sfp-exceptions.c: New.
5120         * config/i386/t-softfp: New.
5121         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5122         i386/t-softfp to tmake_file.
5124 2012-06-03  David S. Miller  <davem@davemloft.net>
5126         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5127         change.
5129 2012-05-31  David S. Miller  <davem@davemloft.net>
5131         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5132         multiply and divide instructions on 32-bit when V9.
5133         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5135 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
5137         * config/arm/ieee754-df.S: Fix typos.
5138         * config/arm/ieee754-sf.S: Fix typos.
5139         * config/c6x/libunwind.S: Fix typos.
5140         * config/epiphany/udivsi3-float.c: Fix typos.
5141         * config/microblaze/muldi3_hard.S: Fix typos.
5142         * config/picochip/adddi3.S: Fix typos.
5143         * config/picochip/ashlsi3.S: Fix typos.
5144         * config/picochip/ashrsi3.S: Fix typos.
5145         * config/picochip/clzsi2.S: Fix typos.
5146         * config/picochip/cmpsi2.S: Fix typos.
5147         * config/picochip/divmod15.S: Fix typos.
5148         * config/picochip/divmodhi4.S: Fix typos.
5149         * config/picochip/divmodsi4.S: Fix typos.
5150         * config/picochip/longjmp.S: Fix typos.
5151         * config/picochip/lshrsi3.S: Fix typos.
5152         * config/picochip/parityhi2.S: Fix typos.
5153         * config/picochip/popcounthi2.S: Fix typos.
5154         * config/picochip/setjmp.S: Fix typos.
5155         * config/picochip/subdi3.S: Fix typos.
5156         * config/picochip/ucmpsi2.S: Fix typos.
5157         * config/picochip/udivmodhi4.S: Fix typos.
5158         * config/picochip/udivmodsi4.S: Fix typos.
5159         * config/spu/divv2df3.c: Fix typos.
5160         * config/spu/mfc_multi_tag_release.c: Fix typos.
5161         * config/spu/mfc_tag_release.c: Fix typos.
5162         * configure.ac: Fix typos.
5163         * configure: Regenerate.
5165 2012-05-25  Ian Lance Taylor  <iant@google.com>
5167         * config/i386/morestack.S (__morestack_non_split): Check whether
5168         caller is varargs and needs %bp to hold the stack frame on return.
5170 2012-05-25  Olivier Hainque  <hainque@adacore.com>
5172         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5173         sequence in the non pic case on VxWorks.
5175 2012-05-24  Olivier Hainque  <hainque@adacore.com>
5177         * Makefile.in: Move dependency on install-unwind_h from
5178         "install-leaf" to "install".
5180 2012-05-24  Olivier Hainque  <hainque@adacore.com>
5182         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5183         Use a separate command for stamp removals.
5185 2012-05-21  Andrew Pinski  <apinski@cavium.com>
5187         PR bootstrap/53183
5188         * configure.ac: Define the default includes to being none.
5189         * configure: Regenerate.
5191 2012-05-16  Olivier Hainque  <hainque@adacore.com>
5193         * Makefile.in (install-unwind_h): Rename into ...
5194         (install-unwind_h-forbuild): New target.
5195         (all): Use it instead of the former install-unwind_h.
5196         (install-unwind_h): Reinstate, copy to user install destination
5197         for include files, not to the internal gcc object directory one.
5198         (install-leaf): Depend on it.
5200 2012-05-15  Olivier Hainque  <hainque@adacore.com>
5202         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5203         register numbers. LR_REGNO replaces R_LR.
5204         (ucontext_for): New, helper for ...
5205         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5206         and 5.3 of ...
5207         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5209 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5211         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
5212         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
5213         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
5214         i386/t-cpuinfo ...
5215         (i[34567]86-*-*, x86_64-*-*): ... here.
5217         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
5218         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
5220         * config/i386/i386-cpuinfo.c: Rename to ...
5221         * config/i386/cpuinfo.c: ... this.
5222         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
5224         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
5225         (libgcc_cv_init_priority): New test.
5226         * configure: Regenerate.
5227         * config.in: New file.
5228         * Makefile.in (clean): Rename config.h to auto-target.h.
5229         (config.h): Likewise.
5230         (stamp-h): Likewise.
5232         * config/i386/cpuinfo.c (auto-target.h): Include.
5233         (CONSTRUCTOR_PRIORITY): Define.
5234         (__cpu_indicator_init): Use it.
5236 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
5238         * longlong.h: Use a URL instead of an FSF postal address.
5239         Replace spaces with tab.
5241 2012-05-08  Teresa Johnson  <tejohnson@google.com>
5243         * libgcov.c (gcov_clear, __gcov_reset): New functions.
5244         (__gcov_dump): Ditto.
5245         (gcov_dump_complete): New global variable.
5246         (gcov_exit): Export hidden to enable use in L_gcov_dump.
5247         (__gcov_flush): Outline functionality now in gcov_clear.
5248         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
5250 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
5252         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
5253         (mips*-*-linux*): Include mips/t-tpbit when long double is
5254         16 bytes long.
5256 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
5258         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
5259         (get_available_features): New argument. Check for AVX2.
5260         (__cpu_indicator_init): Modify call to get_available_features.
5262 2012-04-25  Alan Modra  <amodra@gmail.com>
5264         * config/rs6000/crtsavevr.S: New file.
5265         * config/rs6000/crtrestvr.S: New file.
5266         * config/rs6000/t-savresfgpr: Build the above.
5267         * config/rs6000/t-netbsd: Likewise.
5269 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
5271         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
5273 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
5275         * libgcc/config/i386/i386-cpuinfo.c: New file.
5276         * libgcc/config/i386/t-cpuinfo: New file.
5277         * libgcc/config.host: Include t-cpuinfo.
5278         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
5280 2012-04-24  Chao-ying Fu  <fu@mips.com>
5282         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
5284 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
5286         struct siginfo vs. siginfo_t
5288         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
5289         siginfo_t instead of struct siginfo.
5290         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
5291         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
5292         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
5293         (ia64_handle_unwabi): Likewise.
5294         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
5295         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
5296         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
5297         (sh_fallback_frame_state): Likewise.
5298         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
5299         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
5301 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
5303         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
5304         system call number.
5306 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
5308         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
5309         if it hasn't been previously saved.
5311 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
5313         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
5314         only for glibc.
5316 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
5318         PR target/52737
5319         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
5320         instead of __AVR_HAVE_8BIT_SP__.
5322 2012-03-26  Tristan Gingold  <gingold@adacore.com>
5324         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
5325         (unw_table_entry): Use unw_word instead of unsigned long.
5326         (_Unwind_FindTableEntry): Likewise.
5327         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
5328         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
5329         (_Unwind_FindTableEntry): Likewise.
5330         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
5331         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
5332         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
5333         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
5334         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
5335         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
5336         (uw_init_context_1, uw_install_context): Likewise.
5337         (unw_word): Move to unwind-ia64.h
5339 2012-03-26  Tristan Gingold  <gingold@adacore.com>
5341         * config/vms/vms-ucrt0.c: Update copyright years.
5342         Add a sanity check.
5343         (___gcc_main_flags): Declare.
5344         (__main): Check flags to remap argv and exit code.
5345         * config.host (*-*-*vms*): Adjust extra_parts.
5346         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
5347         (crt0.o): Add.
5349 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
5351         * arm/lib1funcs.asm (ctzsi2): New function.
5352         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
5353         * arm/t-linux (LIB1ASMFUNCS): Likewise.
5354         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
5355         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
5356         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
5357         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
5359 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
5361         * config.host: Add bits to support powerpc64-*-freebsd*.
5362         * config/rs6000/freebsd-unwind.h: New file.
5363         * config/rs6000/t-freebsd64: New file.
5365 2012-03-20  Richard Guenther  <rguenther@suse.de>
5367         PR gcov-profile/52627
5368         * libgcov.c (init_mx): Fix mutex name.
5370 2012-03-16  Tristan Gingold  <gingold@adacore.com>
5372         * config/ia64/vms-unwind.h: Remove ulong (and replace
5373         it by unw_reg where used).  Define unw_reg with __int64.
5375 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5377         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5378         Solaris 8 handling.
5379         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5380         Solaris 8 handling.
5381         (sparc_is_sighandler): Likewise.
5383 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
5385         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
5386         <= saved reg size.
5388 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5390         * config/arm/crtn.S: Fix typo.
5392 2012-03-13  Richard Guenther  <rguenther@suse.de>
5394         * libgcov.c: Remove stdio.h include and NULL un-define.
5396 2012-03-13  Richard Guenther  <rguenther@suse.de>
5398         PR target/52569
5399         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
5401 2012-03-13  Richard Guenther  <rguenther@suse.de>
5403         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
5405 2012-03-13  Richard Guenther  <rguenther@suse.de>
5407         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
5408         and __gthread_mutex_init_function definitions.
5410 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5412         * config.host (mips*-*-openbsd*): Remove.
5414 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5416         * config.host: Remove alpha*-dec-osf5.1* handling.
5417         * config/alpha/gthr-posix.c: Remove.
5418         * config/alpha/libgcc-osf5.ver: Remove.
5419         * config/alpha/osf5-unwind.h: Remove.
5420         * config/alpha/t-osf-pthread: Remove.
5421         * config/alpha/t-slibgcc-osf: Remove.
5422         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
5423         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
5424         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
5425         * mkmap-flat.awk: Remove osf_export handling.
5427 2012-03-12  Richard Guenther  <rguenther@suse.de>
5429         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
5430         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5431         (__gthread_mutex_init_function): New function.
5432         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5434         PR gcov/49484
5435         * libgcov.c: Include gthr.h.
5436         (__gcov_flush_mx): New global variable.
5437         (init_mx, init_mx_once): New functions.
5438         (__gcov_flush): Protect self with a mutex.
5439         (__gcov_fork): Re-initialize mutex after forking.
5440         * unwind-dw2-fde.c: Change condition under which to use
5441         __GTHREAD_MUTEX_INIT_FUNCTION.
5443 2012-03-12  Tristan Gingold  <gingold@adacore.com>
5445         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
5446         * config/ia64/t-vms: Likewise.
5448 2012-03-11  Michael Hope  <michael.hope@linaro.org>
5450         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
5451         for Thumb-2.
5453 2012-03-07  Walter Lee  <walt@tilera.com>
5455         * config/tilepro/atomic.c: Rename "atomic_" prefix to
5456         "arch_atomic_".
5457         (atomic_xor): Rename and move definition to
5458         config/tilepro/atomic.h.
5459         (atomic_nand): Ditto.
5460         * config/tilepro/atomic.h: Rename "atomic_" prefix to
5461         "arch_atomic_".
5462         (arch_atomic_xor): Move from config/tilepro/atomic.c.
5463         (arch_atomic_nand): Ditto.
5465 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5467         PR target/52507
5468         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
5470 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5472         PR target/52505
5473         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
5474         from RAM.
5476 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5478         PR target/52461
5479         PR target/52508
5480         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
5481         if RAMPZ affects reading from RAM.
5482         (__tablejump_elpm__): Ditto.
5483         (.xload): Ditto.
5484         (__movmemx_hi): Ditto.
5485         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
5486         (__do_global_dtors): Ditto.
5487         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
5488         (__movmemx_hi): Ditto.
5490 2012-03-05  Richard Henderson  <rth@redhat.com>
5492         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
5493         [ARM] (count_trailing_zeros): Use the builtin.
5495 2012-03-01  Kai Tietz  <ktietz@redhat.com>
5497         * soft-fp: Imported from glibc upstream.
5499 2012-02-28  Kai Tietz  <ktietz@redhat.com>
5501         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
5502         for mingw-targets as attribute gcc_struct.
5504 2012-02-28  Ian Lance Taylor  <iant@google.com>
5506         * generic-morestack.c (__splitstack_releasecontext): Correct call
5507         to __morestack_release_segments.
5509 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5511         PR target/52390
5512         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
5513         for __linux__ when removing signals from __morestack_fullmask.
5515 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
5517         PR target/52261
5518         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
5520 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5522         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
5523         instead of HAVE_INITFINI_ARRAY.
5524         * config/ia64/crtend.S: Likewise.
5526 2012-02-20  Kai Tietz  <ktietz@redhat.com>
5528         PR libstdc++/52300
5529         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
5531         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
5532         to w32-unwind.h header.
5534 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
5536         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
5537         (mips*-*-linux*): Remove t-slibgcc-libgcc.
5538         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
5539         * config/mips/mips16.S (__mips16_rdhwr): Delete.
5541 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
5543         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
5545 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
5547         PR libitm/52220
5548         * config/darwin-crt-tm.c: Correct typo.
5550 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
5551             Patrick Marlier  <patrick.marlier@gmail.com>
5553         PR libitm/52220
5554         * config/darwin-crt-tm.c: Generate dummy functions.
5556 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
5557             Patrick Marlier  <patrick.marlier@gmail.com>
5559         PR libitm/52042
5560         * config/darwin-crt-tm.c (getTMCloneTable): New function.
5561         (__doTMRegistrations): Call it.
5562         (__doTMdeRegistrations): Likewise.
5564 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
5565             Anatoly Sokolov  <aesok@post.ru>
5566             Eric Weddington  <eric.weddington@atmel.com>
5568         PR target/52261
5569         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
5570         (__epilogue_restores__): Ditto.
5572 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
5574         PR target/51921
5575         PR target/52205
5576         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
5577         Solaris 11 and slightly reformat.
5578         (sparc_is_sighandler): Likewise.
5580 2012-02-14  Walter Lee  <walt@tilera.com>
5582         * config.host: Handle tilegx and tilepro.
5583         * config/tilegx/sfp-machine.h: New file.
5584         * config/tilegx/sfp-machine32.h: New file.
5585         * config/tilegx/sfp-machine64.h: New file.
5586         * config/tilegx/t-crtstuff: New file.
5587         * config/tilegx/t-softfp: New file.
5588         * config/tilegx/t-tilegx: New file.
5589         * config/tilepro/atomic.c: New file.
5590         * config/tilepro/atomic.h: New file.
5591         * config/tilepro/linux-unwind.h: New file.
5592         * config/tilepro/sfp-machine.h: New file.
5593         * config/tilepro/softdivide.c: New file.
5594         * config/tilepro/softmpy.S: New file.
5595         * config/tilepro/t-crtstuff: New file.
5596         * config/tilepro/t-tilepro: New file.
5598 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
5600         PR libstdc++/51296
5601         PR libstdc++/51906
5602         * gthr-posix.h: Allow static initializer macros to be disabled.
5603         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
5605 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
5607         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
5608         Add t-slibgcc-libgcc to tmake_file.
5609         * config/mips/libgcc-mips16.ver: Revert previous patch.
5610         * config/mips/mips16.S (__mips16_rdhwr): Hide.
5612 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
5613             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
5615         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
5616         * config/cr16/crti.S: New file.
5617         * config/cr16/crtlibid.S: New file.
5618         * config/cr16/crtn.S: New file.
5619         * config/cr16/lib1funcs.S: New file.
5620         * config/cr16/t-cr16: New file.
5621         * config/cr16/t-crtlibid: New file.
5622         * config/cr16/unwind-dw2.h: New file.
5623         * config/cr16/unwind-cr16.c: New file.
5624         * config/cr16/divmodhi3.c: New file.
5626 2012-01-25  Alan Modra  <amodra@gmail.com>
5628         * config/rs6000/t-linux64: Delete.  Move..
5629         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
5630         * config/rs6000/t-linux: ..and libgcc flags to here.
5632 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
5634         * config.host (i[34567]86-*-interix3*):
5635         Change triplet to i[34567]86-*-interix[3-9]*.
5636         * configure: Regenerate.
5638 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
5639             Richard Sandiford  <rdsandiford@googlemail.com>
5641         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
5642         * config/mips/mips16.S (__mips16_rdhwr): New function.
5643         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
5645 2012-01-11  Nathan Sidwell  <nathan@acm.org>
5647         * libgcov.c (__gcov_init): Ignore objects with no functions.
5649 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
5651         PR target/49868
5652         Extend __pgmx semantics to linearize memory.
5653         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
5654         * config/avr/lib1funcs.S (__xload_1): New function.
5655         (__movmemx_qi, __movmemx_hi): New functions.
5656         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
5657         semantics.
5659 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
5661         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
5662         purported sigacthandler address isn't null before dereferencing it.
5663         (sparc_is_sighandler): Likewise.
5665 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
5667         PR ada/41929
5668         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
5669         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
5670         (sparc_is_sighandler): Likewise.
5671         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
5673 2012-01-06  Tristan Gingold  <gingold@adacore.com>
5675         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
5676         compatibility thunks...
5677         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
5678         (crtbeginS.o, crtendS.o): ... and these to ...
5679         * config/ia64/t-ia64-elf: ... this new file.
5680         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
5681         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
5683 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5685         * configure: Regenerate.
5686         * config/s390/t-crtstuff: Remove -fPIC.
5688 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
5690         PR bootstrap/51006
5691         * enable-execute-stack-mprotect.c (getpagesize): Do not define
5692         for NetBSD.
5694 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
5696         PR target/51345
5697         * config/avr/lib1funcs.S: Remove FIXME comments.
5698         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
5700 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
5702         Implement light-weight DImode support.
5703         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
5704         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
5705         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
5706         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
5708 2011-12-30  Nathan Sidwell  <nathan@acm.org>
5710         * libgcov.c (gcov_crc32): Remove global var.
5711         (free_fn_data): New function.
5712         (buffer_fn_data): Pass in filename, more robust error recovery.
5713         (crc32_unsigned): New function.
5714         (gcov_exit): More robust detection of new program. More robust
5715         error recovery.
5716         (__gcov_init): Do not update program's crc here.
5718 2011-12-21  Tristan Gingold  <gingold@adacore.com>
5720         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
5722 2011-12-21  Ian Lance Taylor  <iant@google.com>
5724         * config/i386/morestack.S: Simplify CFI opcodes throughout.
5726 2011-12-20  Ian Lance Taylor  <iant@google.com>
5728         * config/i386/morestack.S (__morestack_non_split): If there is
5729         enough stack space already, don't split.  Ask for more stack space
5730         than we required.
5732 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
5734         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
5735         `sys/sdt.h'.
5736         (_Unwind_DebugHook): New function.
5737         (uw_restore_core_regs): New define.
5738         (unwind_phase2): Use uw_restore_core_regs instead of
5739         restore_core_regs.
5740         (unwind_phase2_forced): Likewise.
5741         (__gnu_Unwind_Resume): Likewise.
5743 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
5745         * config/alpha/linux-unwind.h: Update copyright years.
5746         (MD_FROB_UPDATE_CONTEXT): New define.
5747         (alpha_frob_update_context): New function.
5749 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
5751         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
5752         tmake_file rather replacing it.
5754 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
5756         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
5757         function is not used for PPC64.
5758         (save_world): Amend comments.  Update the VRsave mask to reflect the
5759         saved regs.
5760         (rest_world): Update comments, do not  clobber r10, do not use r8.
5761         (eh_rest_world_r10): Amend comments, do not use r8.
5762         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
5763         no longer used, move restore of CR and target address to the end of
5764         the routine.
5766 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
5768         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
5769         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
5771 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
5773         PR target/49313
5774         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
5775         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
5777 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
5779         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
5781 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
5783         PR target/49313
5784         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
5785         * config/avr/lib1funcs.S (__muldi3): New function.
5787 2011-12-06  Andrew Pinski  <apinski@cavium.com>
5789         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
5790         size of func_ptr.
5791         (__frame_dummy_init_array_entry): Likewise.
5793 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
5795         Forward-port from gcc-4_6-branch r181936 2011-12-02.
5797         PR target/51345
5798         PR target/51002
5799         * config/avr/lib1funcs.S (__prologue_saves__,
5800         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
5801         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
5803 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
5805         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
5807 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5809         PR other/51272
5810         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
5811         (_ITM_deregisterTMCloneTable): Likewise.
5812         (__register_frame_info): Fix unused warning.
5813         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
5814         pthread_default_stacksize_np): Likewise.
5815         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
5817 2011-11-29  DJ Delorie  <dj@redhat.com>
5819         * config.host (rl78-*-elf): New case.
5820         * config/rl78: New directory for the Renesas RL78.
5822 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
5824         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
5825         formatting.
5827 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5829         PR other/51022
5830         * config/rs6000/t-savresfgpr: New file.
5831         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
5832         $(srcdir)/config/rs6000/eabi.S.
5833         * config/rs6000/t-ppccomm-ldbl: Remove.
5834         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
5835         tmake_file.
5836         (powerpc-*-eabispe*): Likewise.
5837         (powerpc-*-eabi*): Likewise.
5838         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5839         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
5840         to tmake_file, remove rs6000/t-ppccomm-ldbl.
5841         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
5842         tmake_file.
5843         (powerpc-*-eabisim*): Likewise.
5844         (powerpc-*-elf*): Likewise.
5845         (powerpc-*-eabialtivec*): Likewise.
5846         (powerpc-xilinx-eabi*): Likewise.
5847         (powerpc-*-rtems*): Likewise.
5848         (powerpcle-*-elf*): Likewise.
5849         (powerpcle-*-eabisim*): Likewise.
5850         (powerpcle-*-eabi*): Likewise.
5852 2011-11-27  Ian Lance Taylor  <iant@google.com>
5854         * generic-morestack.c (__splitstack_find): Check for NULL old
5855         stack value.
5856         (__splitstack_resetcontext): New function.
5857         (__splitstack_releasecontext): New function.
5858         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5860 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
5862         * config/darwin-crt-tm.c: Correct comments, use correct licence.
5864 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
5866         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
5868 2011-11-26  Richard Henderson  <rth@redhat.com>
5870         * config/m68k/linux-atomic.c: New file.
5871         * config/m68k/t-linux: New file.
5872         * config.host (m68k-uclinux, m68k-linux): Use it.
5874 2011-11-26  Richard Henderson  <rth@redhat.com>
5876         * crtstuff.c (__TMC_LIST__): Mark used not unused.
5877         (__TMC_END__): Only declare if hidden is available; in the definition,
5878         if hidden is unavailable add a null record.
5879         (deregister_tm_clones, register_tm_clones): New.
5880         (__do_global_dtors_aux, frame_dummy): Use them.
5881         (__do_global_dtors, __do_global_ctors_1): Likewise.
5883 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
5885         * config/darwin-crt-tm.c: New file.
5886         * config.host (darwin): Build crttms.o crttme.o to provide
5887         startup and shutdown for tm clones.
5888         * config/t-darwin (crttms.o): New build rule.
5889         (crttme.o): Likewise.
5891 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
5893         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
5894         et al.
5896 2011-11-21  Richard Henderson  <rth@redhat.com>
5898         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
5899         (__TMC_LIST__, __TMC_END__): New.
5900         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
5901         (__do_global_dtors): Likewise.
5902         (frame_dummy): Call _ITM_registerTMCloneTable.
5903         (__do_global_ctors_1): Likewise.
5905 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5907         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
5908         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5909         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
5910         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
5911         * config/i386/t-darwin64: Remove.
5912         * config/sh/t-netbsd (LIB2ADD): Remove.
5914 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
5916         PR target/49313
5917         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
5918         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
5919         * config/avr/lib1funcs.S (wmov): New assembler macro.
5920         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
5921         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
5922         (__udivmod64): New function.
5923         (__negdi2): New function.
5925 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
5927         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
5928         *-*-freebsd*aout*): Remove.
5930 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
5932         * static-object.mk (c_flags-$o): Save c_flags.
5933         ($(base)$(objext)): Use it.
5935 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
5937         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
5939 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
5941         PR target/49868
5942         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
5943         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
5944         New functions.
5946 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
5948         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
5949         functions.
5950         (aeabi_uidivmod): Likewise.
5951         (umodsi3): Likewise.
5952         (divsi3): Likewise.
5953         (aeabi_idivmod): Likewise.
5954         (modsi3): Likewise.
5956 2011-11-16  Tristan Gingold  <gingold@adacore.com>
5958         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
5960 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
5962         PR target/49868
5963         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
5964         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
5966 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5968         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
5969         tmake_file list.
5970         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
5971         * config/pa/t-stublib64: Delete.
5973 2011-11-12  Richard Henderson  <rth@redhat.com>
5975         * config/rs6000/linux-unwind.h (frob_update_context): Properly
5976         cast the pointer argument to _Unwind_SetGRPtr.
5978 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5980         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
5982 2011-11-09  Ian Lance Taylor  <iant@google.com>
5984         * generic-morestack.c: Include <string.h>.
5985         (uintptr_type): Define.
5986         (struct initial_sp): Add dont_block_signals field.  Reduce size of
5987         extra array by 1.
5988         (allocate_segment): Set prev field to NULL.  Don't set
5989         __morestack_current_segment or __morestack_segments.
5990         (__generic_morestack): Update current->prev and *pp after calling
5991         allocate_segment.
5992         (__morestack_block_signals): Don't do anything if
5993         dont_block_signals is set.
5994         (__morestack_unblock_signals): Likewise.
5995         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
5996         uintptr_type.
5997         (__splitstack_block_signals): New function.
5998         (enum __splitstack_content_offsets): Define.
5999         (__splitstack_getcontext, __splitstack_setcontext): New functions.
6000         (__splitstack_makecontext): New function.
6001         (__splitstack_block_signals_context): New function.
6002         (__splitstack_find_context): New function.
6003         * config/i386/morestack.S (__morestack_get_guard): New function.
6004         (__morestack_set_guard, __morestack_make_guard): New functions.
6005         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6007 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6009         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6010         (i[34567]86-*-mingw*): ... here.
6011         (x86_64-*-mingw*): ... here.
6013 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6015         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6017 2011-11-07  Nathan Sidwell  <nathan@acm.org>
6019         * libgcov.c (struct gcov_fn_buffer): New struct.
6020         (buffer_fn_data): New helper.
6021         (gcov_exit): Rework for new gcov data structures.
6023 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
6025         PR target/49313
6026         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6028 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6030         * config.host (tmake_file): Correct comment.
6031         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6032         t-libgcc-pic.
6033         (bfin*-uclinux*): Likewise.
6034         (bfin*-linux-uclibc*): Likewise.
6035         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6037         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6038         assigning.
6039         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6040         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6041         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6042         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6043         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6044         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6045         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6046         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6047         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6048         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6049         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6050         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6051         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6053         * config/bfin/t-elf: Remove.
6054         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6056 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6058         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6059         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6060         (lm32-*-elf*, lm32-*-rtems*): Split into ...
6061         (lm32-*-elf*): ... this.
6062         (lm32-*-rtems*): ... and this.
6063         Add to tmake_file.
6064         (m32r-*-rtems*): Add to tmake_file.
6065         (moxie-*-rtems*): Likewise.
6066         (sparc-*-rtems*): Likewise.
6067         Remove t-rtems from tmake_file.
6068         (sparc64-*-rtems*): Likewise.
6069         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6070         instead.
6072 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6074         PR bootstrap/50982
6075         * config/gthr-posix.h: Move ...
6076         * gthr-posix.h: ... here.
6077         * config/gthr-lynx.h: Reflect this.
6078         * config/gthr-vxworks.h: Likewise.
6079         * config/rs6000/gthr-aix.h: Likewise.
6080         * configure.ac (target_thread_file): Likewise.
6081         * configure: Regenerate.
6083 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
6085         * config.host (arm*-*-rtemseabi*): New target.
6087 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6089         PR other/50991
6090         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6091         extra-parts.
6093 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
6095         * config.host (epiphany-*-elf*): New configuration.
6096         * config/epiphany: New Directory.
6098 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
6100         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6101         * config/avr/t-rtems: New.
6102         Filter out _exit from LIB1ASMFUNCS.
6104 2011-11-04  David S. Miller  <davem@davemloft.net>
6106         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6107         * configure: Rebuild.
6109 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6111         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6112         variable.
6114 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
6116         PR target/50931
6117         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6118         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6120 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
6122         PR target/50989
6123         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6125 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6127         * config/c6x/t-elf (LIB2ADDEH): Set.
6128         * config/c6x/t-c6x-elf: Remove.
6130 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6132         * config/i386/sol2-ci.S: Rename to ...
6133         * config/i386/crti.S: ... this.
6134         * config/i386/sol2-cn.S: Rename to ...
6135         * config/i386/crtn.S: ... this.
6136         * config/sparc/sol2-ci.S: Rename to ...
6137         * config/sparc/crti.S: ... this.
6138         * config/sparc/sol2-cn.S: Rename to ...
6139         * config/sparc/crtn.S: ... this.
6140         * config/t-sol2 (CUSTOM_CRTIN): Remove.
6141         (crti.o, crtn.o): Remove.
6143 2011-11-04  Tristan Gingold  <gingold@adacore.com>
6145         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6147 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
6149         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6151 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
6153         * config.host (crisv32-*-none, cris-*-none): Remove.
6154         (crisv32-*-elf): Append to tmake_file, don't just set it.
6155         (cris-*-elf): Add missing t-fdpbit to tmake_file.
6157 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6159         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6160         (ecrtn$(objext)): Likewise.
6161         (ncrti$(objext)): Likewise.
6162         (ncrtn$(objext)): Likewise.
6164 2011-11-03  Andreas Schwab  <schwab@redhat.com>
6166         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6168 2011-11-02  David S. Miller  <davem@davemloft.net>
6170         * configure.ac: Set host_address on sparc too.
6171         * configure: Regenerate.
6172         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6173         based upon host_address.
6174         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6176 2011-11-02  Jason Merrill  <jason@redhat.com>
6178         * config/rs6000/t-ppccomm: Add missing \.
6180 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6182         * gthr-single.h, gthr.h: New files.
6183         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6184         config/gthr-vxworks.h, config/i386/gthr-win32.h,
6185         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6186         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6187         * config/i386/gthr-win32.c: Include "gthr-win32.h".
6188         * configure.ac (thread_header): New variable.
6189         Set it depending on target_thread_file.
6190         (gthr-default.h): Link from $thread_header.
6191         * configure: Regenerate.
6192         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6194 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6196         * configure.ac (tm_file_): New variable.
6197         Determine from tm_file.
6198         (tm_file, tm_defines): Substitute.
6199         * configure: Regenerate.
6200         * mkheader.sh: New file.
6201         * Makefile.in (clean): Remove libgcc_tm.h.
6202         ($(objects)): Depend on libgcc_tm.h.
6203         (libgcc_tm_defines, libgcc_tm_file): New variables.
6204         (libgcc_tm.h, libgcc_tm.stamp): New targets.
6205         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6206         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6207         ($(extra-parts)): Depend on libgcc_tm.h.
6208         * config.host (tm_defines, tm_file): New variable.
6209         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6210         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6211         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
6212         (avr-*-rtems*): Likewise.
6213         (avr-*-*): Likewise.
6214         (frv-*-elf): Likewise.
6215         (frv-*-*linux*): Likewise.
6216         (h8300-*-rtems*): Likewise.
6217         (h8300-*-elf*): Likewise.
6218         (i[34567]86-*-darwin*): Likewise.
6219         (x86_64-*-darwin*): Likewise.
6220         (rx-*-elf): Likewise.
6221         (tic6x-*-uclinux): Likewise.
6222         (tic6x-*-elf): Likewise.
6223         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
6224         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
6225         * config/i386/cygming-crtbegin.c: Likewise.
6226         * config/i386/cygming-crtend.c: Likewise.
6227         * config/ia64/fde-vms.c: Likewise.
6228         * config/ia64/unwind-ia64.c: Likewise.
6229         * config/libbid/bid_gcc_intrinsics.h: Likewise.
6230         * config/rs6000/darwin-fallback.c: Likewise.
6231         * config/stormy16/lib2funcs.c: Likewise.
6232         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
6233         * crtstuff.c: Likewise.
6234         * dfp-bit.h: Likewise.
6235         * emutls.c: Likewise.
6236         * fixed-bit.c: Likewise.
6237         * fp-bit.c: Likewise.
6238         * generic-morestack-thread.c: Likewise.
6239         * generic-morestack.c: Likewise.
6240         * libgcc2.c: Likewise.
6241         * libgcov.c: Likewise.
6242         * unwind-dw2-fde-dip.c: Likewise.
6243         * unwind-dw2-fde.c: Likewise.
6244         * unwind-dw2.c: Likewise.
6245         * unwind-sjlj.c: Likewise.
6247 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6249         * configure.ac: Include ../config/picflag.m4.
6250         (GCC_PICFLAG): Call it.
6251         Substitute.
6252         * configure: Regenerate.
6253         * Makefile.in (gcc_srcdir): Remove.
6254         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
6255         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
6256         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
6257         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
6258         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
6259         Use $<.
6260         Remove comment.
6261         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
6262         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
6263         to refer to libgcc2.c.
6264         Use $<.
6265         * config/darwin-64.c: New file.
6266         * config/darwin-crt3.c: Remove comment.
6267         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
6268         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
6269         config/udivmodsi4.c: New files.
6270         * config/memcmp.c, config/memcpy.c, config/memmove.c,
6271         config/memset.c: New files.
6272         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
6273         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
6274         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
6275         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
6276         * config/t-openbsd-thread: New file.
6277         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
6278         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
6279         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
6280         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
6281         qrnnd.S.
6282         Adapt filename.
6283         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
6284         to refer to gthr-posix.c.
6285         * config/alpha/t-vms (LIB2ADD): Set.
6286         * config/alpha/vms-gcc_shell_handler.c: New file.
6287         * config/arm/bpabi.c, config/arm/fp16.c,
6288         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
6289         config/arm/unaligned-funcs.c: New files.
6290         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
6291         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6292         * config/arm/t-linux: Likewise.
6293         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
6294         * config/arm/t-netbsd: New file.
6295         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
6296         * config/arm/t-symbian (LIB2ADD_ST): Set.
6297         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
6298         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6299         * config/bfin/t-elf: New file.
6300         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
6301         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
6302         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
6303         config/c6x/ltf.c: New files.
6304         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
6305         (HOST_LIBGCC2_CFLAGS): Set.
6306         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
6307         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6308         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
6309         New files.
6310         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
6311         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
6312         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
6313         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
6314         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
6315         files.
6316         * config/frv/t-frv (LIB2ADD): Set.
6317         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6318         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
6319         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
6320         config/h8300/popcounthi2.c: New files.
6321         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6322         * config/i386/gthr-win32.c: New file.
6323         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
6324         * config/i386/t-cygwin: Likewise.
6325         * config/i386/t-darwin, config/i386/t-darwin64,
6326         config/i386/t-gthr-win32, config/i386/t-interix: New files.
6327         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
6328         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6329         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6330         * config/ia64/quadlib.c: New file.
6331         * config/ia64/t-hpux (LIB2ADD): Set.
6332         * config/ia64/t-ia64: Add comment.
6333         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
6334         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6335         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
6336         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
6337         * config/m32c/t-m32c (LIB2ADD): Set.
6338         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6339         * config/m32r/t-m32r: Likewise.
6340         * config/m68k/fpgnulib.c: New file.
6341         * config/m68k/t-floatlib (LIB2ADD): Set.
6342         (xfgnulib.c): New target.
6343         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
6344         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
6345         * config/mep/t-mep (LIB2ADD): Set.
6346         * config/microblaze/divsi3.asm: Rename to divsi3.S.
6347         * config/microblaze/moddi3.asm: Rename to moddi3.S.
6348         * config/microblaze/modsi3.asm: Rename to modsi3.S.
6349         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
6350         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
6351         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
6352         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
6353         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
6354         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
6355         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
6356         New files.
6357         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
6358         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
6359         * config/pa/fptr.c, config/pa/lib2funcs.S,
6360         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
6361         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6362         (LIB2ADD, LIB2ADD_ST): Set.
6363         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
6364         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
6365         Set.
6366         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
6367         * config/pdp11/t-pdp11: New file.
6368         * config/picochip/libgccExtras/adddi3.S,
6369         config/picochip/libgccExtras/ashlsi3.S,
6370         config/picochip/libgccExtras/ashrsi3.S,
6371         config/picochip/libgccExtras/clzsi2.S,
6372         config/picochip/libgccExtras/cmpsi2.S,
6373         config/picochip/libgccExtras/divmod15.S,
6374         config/picochip/libgccExtras/divmodhi4.S,
6375         config/picochip/libgccExtras/divmodsi4.S,
6376         config/picochip/libgccExtras/lshrsi3.S,
6377         config/picochip/libgccExtras/parityhi2.S,
6378         config/picochip/libgccExtras/popcounthi2.S,
6379         config/picochip/libgccExtras/subdi3.S,
6380         config/picochip/libgccExtras/ucmpsi2.S,
6381         config/picochip/libgccExtras/udivmodhi4.S,
6382         config/picochip/libgccExtras/udivmodsi4.S: New files.
6383         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
6384         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
6385         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
6386         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
6387         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
6388         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
6389         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
6390         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
6391         files.
6392         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
6393         (HOST_LIBGCC2_CFLAGS): Set.
6394         * config/rs6000/t-darwin64: New file.
6395         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
6396         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
6397         * config/rs6000/t-ppccomm (LIB2ADD): Add
6398         $(srcdir)/config/rs6000/tramp.S.
6399         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
6400         Add  $(srcdir)/config/rs6000/eabi.S.
6401         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
6402         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
6403         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
6404         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
6405         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
6406         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
6407         * config/rs6000/tramp.S: New file.
6408         * config/s390/t-tpf: Remove.
6409         * config/sh/linux-atomic.S: New file.
6410         * config/sh/t-linux (LIB2ADD): Set.
6411         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
6412         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6413         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
6414         to unwind-dw2.c.
6415         (HOST_LIBGCC2_CFLAGS): Set.
6416         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6417         * config/spu/divmodti4.c, config/spu/divv2df3.c,
6418         config/spu/float_disf.c, config/spu/float_unsdidf.c,
6419         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
6420         config/spu/mfc_multi_tag_release.c,
6421         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
6422         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
6423         config/spu/multi3.c: New files.
6424         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
6425         (HOST_LIBGCC2_CFLAGS): Set.
6426         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
6427         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
6428         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
6429         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
6430         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
6431         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
6432         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
6433         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
6434         config/stormy16/umodsi3.c: New files.
6435         * config/xtensa/lib2funcs.S: New file.
6436         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6437         * config/xtensa/t-xtensa (LIB2ADD): Set.
6438         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
6439         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
6440         Add t-freebsd-thread to tmake_file for posix threads.
6441         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
6442         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
6443         (*-*-lynxos*): Likewise.
6444         (*-*-netbsd*): Likewise.
6445         (*-*-openbsd*): Likewise.
6446         Add t-openbsd-thread to tmake_file for posix threads.
6447         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
6448         (*-*-vxworks*): Set tmake_file.
6449         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6450         (alpha*-*-freebsd*): Likewise.
6451         (alpha*-*-netbsd*): Likewise.
6452         (alpha*-*-openbsd*): Likewise.
6453         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
6454         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6455         (alpha*-dec-*vms*): Likewise.
6456         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
6457         (bfin*-elf*): Add bfin/t-elf to tmake_file.
6458         (bfin*-uclinux*): Likewise.
6459         (bfin*-linux-uclibc*): Likewise.
6460         (crisv32-*-elf): Add cris/t-cris to tmake_file.
6461         (crisv32-*-none): Likewise.
6462         (cris-*-elf): Likewise.
6463         (cris-*-none): Likewise.
6464         (cris-*-linux*, crisv32-*-linux*): Likewise.
6465         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
6466         tmake_file.
6467         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
6468         tmake_file.
6469         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
6470         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
6471         (x86_64-*-elf*): Likewise.
6472         (i[34567]86-*-nto-qnx*): Likewise.
6473         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
6474         win32 threads.
6475         (x86_64-*-mingw*): Likewise.
6476         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
6477         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
6478         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6479         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6480         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
6481         tmake_file.
6482         (mipsisa64sr71k-*-elf*): Likewise.
6483         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6484         (mips-*-elf*, mipsel-*-elf*): Likewise.
6485         (mips64-*-elf*, mips64el-*-elf*): Likewise.
6486         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6487         (mips*-*-rtems*): Likewise.
6488         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
6489         to tmake_file.
6490         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
6491         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
6492         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
6493         (spu-*-elf*): Likewise.
6494         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
6496 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6498         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
6499         $(srcdir) to refer to $(LIB1ASMSRC).
6500         Use $<.
6501         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
6502         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
6503         config/arm/lib1funcs.S: New files.
6504         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
6505         * config/arm/t-arm: New file.
6506         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
6507         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
6508         config/arm/t-strongarm-elf: New files.
6509         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
6510         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
6511         * config/avr/lib1funcs.S: New file.
6512         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6513         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
6514         * config/c6x/lib1funcs.S: New file.
6515         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6516         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
6517         * config/frv/lib1funcs.S: New file.
6518         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6519         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
6520         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
6521         * config/ia64/__divxf3.asm: Rename to ...
6522         * config/ia64/__divxf3.S: ... this.
6523         Adapt lib1funcs.asm filename.
6524         * config/ia64/_fixtfdi.asm: Rename to ...
6525         * config/ia64/_fixtfdi.S: ... this.
6526         Adapt lib1funcs.asm filename.
6527         * config/ia64/_fixunstfdi.asm: Rename to ...
6528         * config/ia64/_fixunstfdi.S: ... this.
6529         Adapt lib1funcs.asm filename.
6530         * config/ia64/_floatditf.asm: Rename to ...
6531         * config/ia64/_floatditf.S: ... this.
6532         Adapt lib1funcs.asm filename.
6533         * config/ia64/lib1funcs.S: New file.
6534         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
6535         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6536         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
6537         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
6538         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
6539         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
6540         * config/mep/lib1funcs.S: New file.
6541         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6542         * config/mips/mips16.S: New file.
6543         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6544         * config/pa/milli64.S: New file.
6545         * config/pa/t-linux, config/pa/t-linux64: New files.
6546         * config/picochip/lib1funcs.S: New file.
6547         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6548         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
6549         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
6550         * config/sh/t-netbsd: New file.
6551         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
6552         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
6553         * config/sh/t-sh64: New file.
6554         * config/sparc/lb1spc.S: New file.
6555         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
6556         filename.
6557         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
6558         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
6559         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
6560         config/xtensa/lib1funcs.S: New files.
6561         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6562         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
6563         tmake_file.
6564         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
6565         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
6566         (arm*-*-linux*): Likewise.
6567         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
6568         arm*-*-linux-*eabi, add arm/t-linux otherwise.
6569         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
6570         (arm*-*-ecos-elf): Likewise.
6571         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6572         (arm*-*-rtems*): Likewise.
6573         (arm*-*-elf): Likewise.
6574         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
6575         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
6576         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
6577         (bfin*-uclinux*): Likewise.
6578         (bfin*-linux-uclibc*): Likewise.
6579         (bfin*-rtems*): Likewise.
6580         (bfin*-*): Likewise.
6581         (fido-*-elf): Merge into m68k-*-elf*.
6582         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
6583         (frv-*-*linux*): Add frv/t-frv to tmake_file.
6584         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
6585         (h8300-*-elf*): Likewise.
6586         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
6587         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
6588         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
6589         (i[34567]86-*-mingw*): Likewise.
6590         (x86_64-*-mingw*): Likewise.
6591         (i[34567]86-*-interix3*): Likewise.
6592         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
6593         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
6594         (m68k-*-elf*): Also handle fido-*-elf.
6595         Add m68k/t-floatlib to tmake_file.
6596         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
6597         (m68k-*-linux*): Likewise.
6598         (m68k-*-rtems*): Likewise.
6599         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
6600         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
6601         sh64*-*-*.
6602         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
6603         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
6604         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
6605         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
6606         sh/t-netbsd to tmake_file.
6607         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
6608         (sh-*-rtems*): Add sh/t-sh to tmake_file.
6609         (sh-wrs-vxworks): Likewise.
6610         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
6611         *-leon[3-9]*.
6612         (v850*-*-*): Add v850/t-v850 to tmake_file.
6613         (vax-*-linux*): Add vax/t-linux to tmake_file.
6614         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
6616 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6618         * crtstuff.c: New file.
6619         * Makefile.in (CRTSTUFF_CFLAGS): Define.
6620         (CRTSTUFF_T_CFLAGS): Define.
6621         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
6622         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
6623         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
6624         crtstuff.c.
6625         Use $<.
6626         (crtbeginT.o): Use $(objext).
6627         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
6628         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
6629         (gcc-extra-parts): Remove.
6630         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
6631         Set extra_parts.
6632         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6633         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
6634         Add t-crtstuff-pic to tmake_file.
6635         (*-*-lynxos*): New case.
6636         Set tmake_file, extra_parts.
6637         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
6638         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
6639         *-*-netbsdelf[2-9]*.
6640         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
6641         (*-*-rtems*): Set extra_parts.
6642         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
6643         (*-*-uclinux*): New case.
6644         Set extra_parts.
6645         (*-*-vms*): New case.
6646         Set tmake_file, extra_parts.
6647         (*-*-elf): Set extra_parts.
6648         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
6649         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
6650         vms/t-vms64.
6651         Set extra_parts.
6652         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
6653         Set extra_parts.
6654         (arm*-*-freebsd*): Add t-crtin to tmake_file.
6655         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
6656         (arm-wrs-vxworks): Append to tmake_file.
6657         Set extra_parts.
6658         (arm*-*-uclinux*): Set extra_parts.
6659         (arm*-*-ecos-elf): Likewise.
6660         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
6661         arm*-*-eabi*.
6662         (arm*-*-rtems*): Set extra_parts.
6663         (arm*-*-elf): Likewise.
6664         (avr-*-rtems*): Clear extra_parts.
6665         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
6666         Set extra_parts.
6667         (bfin*-uclinux*): Likewise.
6668         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
6669         (bfin*-rtems*): Append to tmake_file.
6670         Set extra_parts.
6671         (bfin*-*): Likewise.
6672         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
6673         (crisv32-*-elf): ... this.
6674         (crisv32-*-none): ... this.
6675         (cris-*-elf, cris-*-none): New cases.
6676         Add cris/t-elfmulti to tmake_file.
6677         (fr30-*-elf): Append to tmake_file.
6678         Set extra_parts.
6679         (frv-*-elf): Append to tmake_file, add frv/t-frv.
6680         Set extra_parts.
6681         (h8300-*-rtems*): Append to tmake_file.
6682         Set extra_parts.
6683         (h8300-*-elf*): Likewise.
6684         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
6685         Set extra_parts.
6686         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
6687         Set extra_parts.
6688         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
6689         (x86_64-*-elf*): Likewise.
6690         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
6691         (x86_64-*-freebsd*): Likewise.
6692         (x86_64-*-netbsd*): Likewise.
6693         (i[34567]86-*-linux*): Likewise.
6694         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
6695         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
6696         (x86_64-*-linux*): Likewise.
6697         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
6698         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
6699         tmake_file.
6700         Set extra_parts.
6701         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
6702         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
6703         Append to extra_parts, remove crtbegin.o, crtend.o.
6704         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
6705         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
6706         crtend.o, crtbeginS.o, crtendS.o.
6707         (ia64*-*-linux*): Comment extra_parts.
6708         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
6709         Set extra_parts.
6710         (iq2000*-*-elf*): Clear extra_parts.
6711         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
6712         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
6713         (m32r-*-elf*, m32r-*-rtems*): Split off ...
6714         (m32r-*-rtems*): ... this.
6715         Add m32r/t-m32r to tmake_file.
6716         (m68k-*-elf*): Add t-crtin to tmake_file.
6717         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
6718         (mcore-*-elf): Likewise.
6719         (microblaze*-*-*): Set extra_parts.
6720         (mips*-sde-elf*): New case.
6721         Set tmake_file, extra_parts.
6722         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6723         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6724         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
6725         tmake_file.
6726         Set extra_parts.
6727         (mipsisa64sr71k-*-elf*): Likewise.
6728         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6729         (mips-*-elf*, mipsel-*-elf*): Likewise.
6730         (mips64-*-elf*, mips64el-*-elf*): Likewise.
6731         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
6732         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
6733         (mips*-*-rtems*): Likewise.
6734         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
6735         (moxie-*-*): Split into ...
6736         (moxie-*-elf, moxie-*-uclinux*): ... this.
6737         Add to extra_parts, remove crtbegin.o, crtend.o.
6738         (moxie-*-rtems*): New case.
6739         Set tmake_file.
6740         Clear extra_parts.
6741         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
6742         Set extra_parts.
6743         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6744         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
6745         tmake_file.
6746         Set extra_parts.
6747         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
6748         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
6749         Set extra_parts.
6750         (powerpc-*-eabisim*): Likewise.
6751         (powerpc-*-elf*): Likewise.
6752         (powerpc-*-eabialtivec*): Likewise.
6753         (powerpc-xilinx-eabi*): Likewise.
6754         (powerpc-*-eabi*): Likewise.
6755         (powerpc-*-rtems*): Likewise.
6756         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
6757         tmake_file.
6758         Set extra_parts.
6759         (powerpc-*-lynxos*): Add to tmake_file.
6760         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
6761         rs6000/t-crtstuff, t-crtstuff-pic.
6762         Set extra_parts.
6763         (powerpcle-*-eabisim*): Likewise.
6764         (powerpcle-*-eabi*): Likewise.
6765         (rx-*-elf): Remove extra_parts.
6766         (s390x-ibm-tpf*): Set extra_parts.
6767         (score-*-elf): Set extra_parts.
6768         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6769         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6770         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6771         (sh64l*-*-netbsd*): Split into ...
6772         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
6773         Add t-crtstuff-pic to tmake_file.
6774         Set extra_parts.
6775         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
6776         Set extra_parts.
6777         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
6778         (sparc-*-elf*): Remove t-crtin from tmake_file.
6779         Add to extra_parts, remove crtbegin.o, crtend.o.
6780         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
6781         (sparc64-*-linux*): Likewise.
6782         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
6783         Add to extra_parts, remove crtbegin.o, crtend.o.
6784         (sparc64-*-elf*): Remove t-crtin from tmake_file.
6785         Add to extra_parts, remove crtbegin.o, crtend.o.
6786         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
6787         Add to extra_parts, remove crtbegin.o, crtend.o.
6788         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
6789         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
6790         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
6791         Set extra_parts.
6792         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
6793         Set extra_parts.
6794         (tic6x-*-*): Change to ...
6795         (tic6x-*-elf): ... this.
6796         Set extra_parts.
6797         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
6798         Set extra_parts.
6799         (am33_2.0-*-linux*): Add comment.
6800         (mep*-*-*): Add mep/t-mep to tmake_file.
6801         Set extra_parts.
6802         * config/alpha/t-vms: New file.
6803         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
6804         * config/arm/crti.S, config/arm/crtn.S: New files.
6805         * config/bfin/crti.S, config/bfin/crtn.S: New files.
6806         * config/bfin/crtlibid.S: New file.
6807         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
6808         * config/c6x/crti.S, config/c6x/crtn.S: New files.
6809         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
6810         (crti.o, crtin.o): New rules.
6811         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6812         * config/c6x/t-uclinux: New file.
6813         * config/cris/t-elfmulti: New file.
6814         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
6815         * config/fr30/crti.S, config/fr30/crtn.S: New files.
6816         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
6817         * config/frv/t-frv: New file.
6818         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
6819         * config/h8300/crti.S, config/h8300/crtn.S: New files.
6820         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
6821         New files.
6822         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
6823         refer to cygming-crtbegin.c, cygming-crtend.c.
6824         Use $<.
6825         * config/i386/t-nto: New file.
6826         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
6827         * config/ia64/crti.S, config/ia64/crtn.S: New files.
6828         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
6829         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
6830         Use .S extension.
6831         Use $<.
6832         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6833         (crtinitS.o): New rule.
6834         * config/ia64/vms-crtinit.S: New file.
6835         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
6836         * config/m32r/initfini.c: New file.
6837         * config/m32r/t-linux, config/m32r/t-m32r: New files.
6838         * config/m68k/crti.S, config/m68k/crtn.S: New files.
6839         * config/mcore/crti.S, config/mcore/crtn.S: New files.
6840         * config/mep/t-mep: New file.
6841         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
6842         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
6843         * config/mips/crti.S, config/mips/crtn.S: New files.
6844         * config/mips/t-crtstuff: New file.
6845         * config/mmix/crti.S, config/mmix/crtn.S: New files.
6846         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
6847         (CUSTOM_CRTIN): Set.
6848         ($(T)crti.o, $(T)crtn.o): Remove $(T),
6849         dependencies.
6850         Use $(srcdir) to refer to crti.S, crtn.S.
6851         Use .S extension, $<.
6852         * config/moxie/crti.asm: Rename to ...
6853         * config/moxie/crti.S: ... this.
6854         * config/moxie/crtn.asm: Rename to ...
6855         * config/moxie/crtn.S: ... this.
6856         * config/moxie/t-moxie: Remove.
6857         * config/pa/stublib.c: New file.
6858         * config/pa/t-stublib, config/pa/t-stublib64: New files.
6859         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
6860         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
6861         * config/rs6000/t-crtstuff: New file.
6862         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
6863         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
6864         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
6865         Make output file explicit.
6866         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
6867         Make output file explicit.
6868         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
6869         Make output file explicit.
6870         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
6871         Make output file explicit.
6872         * config/score/crti.S, config/score/crtn.S: New files.
6873         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
6874         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
6875         files.
6876         * config/sh/t-sh, config/sh/t-superh: New files.
6877         * config/sparc/t-linux64: New file.
6878         * config/spu/cache.S, config/spu/cachemgr.c: New files.
6879         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
6880         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
6881         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
6882         * config/t-crtin: Remove.
6883         * config/t-crtstuff-pic: New file.
6884         * config/t-sol2 (CUSTOM_CRTIN): Set.
6885         (crti.o, crtn.o): New rules.
6886         * config/vms/t-vms: New file.
6887         * config/vms/vms-ucrt0.c: New file.
6888         * config/xtensa/t-elf: New file.
6890 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6892         * Makefile.in (SHLIB_NM_FLAGS): Set.
6893         * mkmap-flat.awk, mkmap-symver.awk: New files.
6894         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
6895         exceptions.
6896         * configure: Regenerate.
6897         * config/libgcc-glibc.ver: New file.
6898         * config/libgcc-libsystem.ver: New file.
6899         * config/t-libunwind (SHLIB_LC): Set.
6900         * config/t-linux: New file.
6901         * config/t-slibgcc (INSTALL_SHLIB): New.
6902         (SHLIB_INSTALL): Use it.
6903         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
6904         to mkmap-symver.awk.
6905         (SHLIB_MAPFILES): Don't append, adapt pathname.
6906         (SHLIB_VERPFX): Set.
6907         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
6908         to mkmap-symver.awk.
6909         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
6910         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
6911         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
6912         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
6913         to mkmap-flat.awk.
6914         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
6915         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
6916         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
6917         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
6918         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
6919         * config/i386/libgcc-darwin.10.4.ver,
6920         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
6921         New files.
6922         * config/i386/t-darwin: Remove.
6923         * config/i386/t-darwin64: Likewise.
6924         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
6925         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
6926         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
6927         * config/i386/t-linux: New file.
6928         * config/i386/t-mingw32: New file.
6929         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
6930         * config/ia64/t-glibc: Rename to ...
6931         * config/ia64/t-linux: ... this.
6932         (SHLIB_MAPFILES): Set.
6933         * config/ia64/t-glibc-libunwind: Rename to ...
6934         * config/ia64/t-linux-libunwind: ... this.
6935         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
6936         * config/ia64/t-slibgcc-hpux: New file.
6937         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
6938         * config/m68k/t-slibgcc-elf-ver: New file.
6939         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
6940         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
6941         to mkmap-flat.awk.
6942         * config/pa/t-slibgcc-hpux: New file.
6943         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
6944         files.
6945         * config/rs6000/libgcc-darwin.10.4.ver,
6946         config/rs6000/libgcc-darwin.10.5.ver: New files.
6947         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
6948         config/rs6000/libgcc-glibc.ver.
6949         * config/rs6000/libgcc-ppc64.ver: Rename to
6950         config/rs6000/libgcc-ibm-ldouble.ver.
6951         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
6952         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
6953         * config/rs6000/t-ldbl128: Rename to ...
6954         * config/rs6000/t-linux: ... this.
6955         (SHLIB_MAPFILES): Adapt filename.
6956         * config/rs6000/t-slibgcc-aix: New file.
6957         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
6958         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
6959         libgcc-excl.ver, libgcc-glibc.ver.
6960         (SHLIB_LINK, SHLIB_INSTALL): Remove.
6961         * config/sparc/libgcc-glibc.ver: New file.
6962         * config/sparc/t-linux: New file.
6963         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
6964         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
6965         t-slibgcc-elf-ver to tmake_file.
6966         Add t-slibgcc-nolc-override to tmake_file for posix threads on
6967         *-*-freebsd[34].
6968         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6969         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
6970         t-slibgcc-elf-ver, t-linux to tmake_file.
6971         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
6972         tmake_file.
6973         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
6974         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
6975         (alpha*-dec-*vms*): Likewise.
6976         (arm*-*-freebsd*): Append to tmake_file.
6977         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
6978         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
6979         arm*-*-linux-*eabi.
6980         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
6981         tmake_file for arm*-*-symbianelf*.
6982         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
6983         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
6984         cris/t-linux.
6985         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
6986         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
6987         pa/t-slibgcc-dwarf-ver to tmake_file.
6988         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
6989         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
6990         (hppa*64*-*-hpux11*): Likewise.
6991         (hppa[12]*-*-hpux11*): Likewise.
6992         (x86_64-*-darwin*): Don't override tmake_file, but only keep
6993         i386/t-crtpc, i386/t-crtfm.
6994         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
6995         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6996         to tmake_file.
6997         Add i386/t-cygwin to tmake_file.
6998         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
6999         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7000         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7001         to tmake_file.
7002         Add i386/t-mingw32 to tmake_file.
7003         (x86_64-*-mingw*): Likewise.
7004         (ia64*-*-freebsd*): Append to tmake_file.
7005         (ia64*-*-linux*): Append to tmake_file.
7006         Replace ia64/t-glibc by ia64/t-linux.
7007         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7008         system libunwind.
7009         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7010         t-slibgcc-hpux to tmake_file.
7011         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7012         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7013         (m32rle-*-linux*): Likewise.
7014         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7015         sjlj exceptions.
7016         (microblaze*-linux*): New case.
7017         Append to tmake_file, add t-slibgcc-nolc-override.
7018         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7019         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7020         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7021         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7022         rs6000/t-slibgcc-aix to tmake_file.
7023         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7024         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7025         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7026         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7027         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7028         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7029         sh*-*-linux*.
7030         (sparc-*-linux*): Append to tmake_file for *-leon*.
7031         Add sparc/t-linux to tmake_file for non-Leon targets.
7032         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7033         (tic6x-*-uclinux): New case.
7034         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7035         (tic6x-*-*): Add c6x/t-elf to tmake_file.
7036         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7037         (am33_2.0-*-linux*): Append to tmake_file.
7038         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7039         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7040         x86_64-*-kfreebsd*-gnu.
7041         Add i386/t-linux to tmake_file.
7043 2011-10-28  Ian Lance Taylor  <iant@google.com>
7045         * config/i386/morestack.S: Correct CFI information to do proper
7046         returns throughout function.  In 32-bit mode, save %ebx so that it
7047         is restored on unwind.
7049 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
7051         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7052         case where B3 isn't the return register.
7054         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7055         logic for doubleword pops.
7057 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
7059         * config/rs6000/t-freebsd: Add wildcard.
7061 2011-10-21  Paul Brook  <paul@codesourcery.com>
7063         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7065 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
7066             Eric Botcazou  <ebotcazou@adacore.com>
7068         PR target/50737
7069         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7070         fs->signal_frame to 1.
7072 2011-10-07  Ian Lance Taylor  <iant@google.com>
7074         * generic-morestack-thread.c: #include <errno.h>.
7076 2011-10-07  Ian Lance Taylor  <iant@google.com>
7078         PR target/46093
7079         * generic-morestack.c (__generic_morestack): Make sure the segment
7080         is large enough for both the stack frame and the copied
7081         parameters.
7083 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7085         PR bootstrap/49804
7086         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7087         extra_parts.
7089 2011-09-28  Nick Clifton  <nickc@redhat.com>
7091         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7092         64-bit doubles are not enabled.
7093         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7094         and floatunsisf functions.
7096 2011-09-13  Paul Brook  <paul@codesourcery.com>
7098         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
7099         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7100         * unwind-arm-common.inc: New file.
7101         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7102         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7103         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7104         * config/c6x/libunwind.S: New file.
7105         * config/c6x/pr-support.c: New file.
7106         * config/c6x/unwind-c6x.c: New file.
7107         * config/c6x/unwind-c6x.h: New file.
7108         * config/c6x/t-c6x-elf: New file.
7110 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
7112         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7113         (ASM_DIVZERO): Ditto.
7114         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7116 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
7118         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7120 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
7122         PR target/50090
7123         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7124         instead of an assembly one.
7126 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
7128         PR bootstrap/50047
7129         * Makefile.in (install-unwind_h): Create
7130         $(gcc_objdir)/include/unwind.h atomically.
7132 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7134         * Makefile.in (install-unwind_h): Remove destination file first.
7136 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7138         * sync.c: New file.
7139         * config/mips/t-mips16: New file.
7140         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7141         (mips*-*-linux*): Likewise.
7142         (mips*-sde-elf*): Likewise.
7143         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7144         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7145         Add mips/t-mips16 to tmake_file.
7146         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7147         (mips-*-elf*): Likewise.
7148         (mips64-*-elf*): Likewise.
7149         (mips64orion-*-elf*): Likewise.
7150         (mips*-*-rtems*): Likewise.
7151         (mipstx39-*-elf*): Likewise.
7152         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7153         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7154         LIBGCC_SYNC_CFLAGS.
7155         Use $(srcdir) to refer to sync.c.
7156         Use $<.
7157         ($(libgcc-sync-funcs-o)): Likewise.
7158         ($(libgcc-sync-size-funcs-s-o)): Likewise.
7159         ($(libgcc-sync-funcs-s-o)): Likewise.
7161 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
7163         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7164         t-libunwind.
7166 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
7168         PR other/48007
7169         * config/i386/value-unwind.h: New.
7171 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
7173         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7174         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7175         Add to tmake_file rather than overriding it.
7177 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7179         * config/t-softfp: Remove.
7180         * soft-fp: Moved from ../gcc/config.
7181         * soft-fp/README: Remove t-softfp reference.
7182         * soft-fp/t-softfp: Move to config/t-softfp.
7183         (softfp_machine_header): Remove.
7184         (softfp_file_list): Remove config subdir.
7185         (soft-fp-objects): New variable.
7186         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7187         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7188         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7189         * config/t-softfp-excl: New file.
7190         * config/t-softfp-sfdf: New file.
7191         * config/t-softfp-tf: New file.
7192         * config/no-sfp-machine.h: New file.
7193         * config/arm/sfp-machine.h: New file.
7194         * config/arm/t-softfp: New file.
7195         * config/c6x/sfp-machine.h: New file.
7196         * config/i386/32/t-fprules-softfp: Rename to ...
7197         * config/i386/32/t-softfp: ... this.
7198         (tifunctions, LIB2ADD): Remove.
7199         (softfp_int_modes): Override.
7200         * config/i386/64/t-softfp-compat (tf-functions): Remove config
7201         subdir.
7202         * config/i386/64/eqtf2.c: Likewise.
7203         * config/i386/64/getf2.c: Likewise.
7204         * config/i386/64/letf2.c: Likewise.
7205         * config/ia64/sft-machine.h: New file.
7206         * config/ia64/t-fprules-softfp: Rename to ...
7207         * config/ia64/t-softfp: ... this.
7208         * config/lm32/sfp-machine.h: New file.
7209         * config/moxie/t-moxie-softfp: Remove.
7210         * config/rs6000/ibm-ldouble-format: New file.
7211         * config/rs6000/ibm-ldouble.c: New file.
7212         * config/rs6000/libgcc-ppc-glibc.ver: New file
7213         * config/rs6000/libgcc-ppc64.ver: New file
7214         * config/rs6000/sfp-machine.h: New file.
7215         * config/rs6000/t-freebsd: New file.
7216         * config/rs6000/t-ibm-ldouble: New file.
7217         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
7218         libgcc-ppc-glibc.ver.
7219         * config/rs6000/t-linux64: New file.
7220         * config/rs6000/t-ppccomm (LIB2ADD): Add
7221         $(srcdir)/config/rs6000/ibm-ldouble.c.
7222         * config/rs6000/t-ppccomm-ldbl: New file.
7223         * config/score/sfp-machine.h: New file.
7224         * config.host (sfp_machine_header): Explain.
7225         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
7226         t-softfp to tmake_file.
7227         (arm*-*-uclinux*): Likewise.
7228         (arm*-*-ecos-elf): Likewise.
7229         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7230         (arm*-*-rtems*): Likewise.
7231         (arm*-*-elf): Likewise.
7232         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
7233         in tmake_file.
7234         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
7235         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
7236         (lm32-*-uclinux*): Likewise.
7237         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
7238         t-softfp-excl, t-softfp.
7239         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
7240         (powerpc64-*-darwin*): Likewise.
7241         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
7242         to tmake_file.
7243         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
7244         tmake_file.
7245         (powerpc-*-eabisim*): Likewise.
7246         (powerpc-*-elf*): Likewise.
7247         (powerpc-*-eabialtivec*): Likewise.
7248         (powerpc-xilinx-eabi*): Likewise.
7249         (powerpc-*-rtems*): Likewise.
7250         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
7251         t-softfp-excl, t-softfp to tmake_file.
7252         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
7253         rs6000/t-ppccomm-ldbl to tmake_file.
7254         (powerpcle-*-elf*): Likewise.
7255         (powerpcle-*-eabisim*): Likewise.
7256         (powerpcle-*-eabi*): Likewise.
7257         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7258         rs6000/t-ibm-ldouble to tmake_file.
7259         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7260         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7261         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
7262         (tic6x-*-*): Likewise.
7263         (i[34567]86-*-darwin*, x86_64-*-darwin*,
7264         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
7265         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
7266         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
7267         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
7268         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
7269         t-softfp to tmake_file.
7270         * configure.ac (sfp_machine_header): Provide default if unset.
7271         Substitute.
7272         Link sfp-machine.h to config/$sfp_machine_header.
7273         * configure: Regenerate.
7275 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7277         * Makefile.in (double_type_size, long_double_type_size): Set.
7278         Remove $(fpbit-in-libgcc) support.
7279         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
7280         (fpbit-src): New variable.
7281         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
7282         Compile with -DFLOAT $(FPBIT_CFLAGS).
7283         Use $<.
7284         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
7285         Compile with $(FPBIT_CFLAGS).
7286         Use $<.
7287         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
7288         Compile with -DFLOAT $(TPBIT_CFLAGS).
7289         Use $<.
7290         * configure.ac (double_type_size, long_double_type_size):
7291         Determine and substitute.
7292         * configure: Regenerate.
7293         * fp-bit.c, fp-bit.h: New files.
7294         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
7295         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
7296         * config/mips/t-mips: New file.
7297         * config/mips/t-sdemtk: New file.
7298         * config/rs6000/ppc64-fp.c: New file.
7299         * config/rs6000/t-darwin (LIB2ADD): Add
7300         $(srcdir)/config/rs6000/ppc64-fp.c.
7301         * config/rs6000/t-ppc64-fp: New file.
7302         * config/rx/rx-lib.h: New file.
7303         * config/rx/t-rx (FPBIT): Set to true.
7304         ($(gcc_objdir)/fp-bit.c): Remove.
7305         (DPBIT): Set to true only with -m64bit-doubles.
7306         ($(gcc_objdir)/dp-bit.c): Remove.
7307         * config/sparc/t-softfp: Remove.
7308         * config/spu/t-elf: New file.
7309         * config/t-fdpbit, config/t-fpbit: New files.
7310         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
7311         (mips*-*-*): Likewise.
7312         (arm-wrs-vxworks): Likewise.
7313         (arm*-*-freebsd*): Likewise.
7314         (avr-*-rtems*): Add t-fpbit to tmake_file.
7315         (avr-*-*): Likewise.
7316         (bfin*-elf*): Add t-fdpbit to tmake_file.
7317         (bfin*-uclinux*): Likewise.
7318         (bfin*-linux-uclibc*): Likewise.
7319         (bfin*-rtems*): New case.
7320         Add t-fdpbit to tmake_file.
7321         (bfin*-*): Add t-fdpbit to tmake_file.
7322         (crisv32-*-elf): Likewise.
7323         (cris-*-linux*): Likewise.
7324         (fr30-*-elf): Likewise.
7325         (frv-*-elf, frv-*-*linux*): Likewise.
7326         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
7327         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
7328         (m32r-*-elf*): Likewise.
7329         (m32rle-*-elf*): Likewise.
7330         (m32r-*-linux*): Likewise.
7331         (m32rle-*-linux*): Likewise.
7332         (mcore-*-elf): Add t-fdpbit to tmake_file.
7333         (microblaze*-*-*): Likewise.
7334         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
7335         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
7336         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
7337         Fix typo.
7338         Add mips/t-tpbit to tmake-file.
7339         (mips*-*-linux*): Fix typo.
7340         (mips*-sde-elf*): New case
7341         Add mips/t-sdemtk unless using newlib.
7342         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
7343         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
7344         (mn10300-*-*): Likewise.
7345         (pdp11-*-*): Likewise.
7346         (picochip-*-*): Add t-fpbit to tmake_file.
7347         (powerpc-*-eabisimaltivec*): Likewise.
7348         (powerpc-*-eabisim*): Likewise.
7349         (powerpc-*-elf*): Likewise.
7350         (powerpc-*-eabialtivec*): Likewise.
7351         (powerpc-xilinx-eabi*): New case.
7352         Add t-fdpbit to tmake_file.
7353         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
7354         (powerpc-*-rtems*): Likewise.
7355         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
7356         tmake_file.
7357         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
7358         tmake_file.
7359         (powerpc-*-lynxos*): Likewise.
7360         (powerpcle-*-elf*): Likewise.
7361         (powerpcle-*-eabisim*): Likewise.
7362         (powerpcle-*-eabi*): Likewise.
7363         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7364         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
7365         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7366         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7367         (rx-*-elf): Add t-fdpbit to tmake_file.
7368         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7369         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7370         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7371         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
7372         sh*-*-netbsd*.
7373         (sh-*-rtems*): Add t-fdpbit to tmake_file.
7374         (sh-wrs-vxworks): Likewise.
7375         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
7376         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
7377         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
7378         (sparc64-*-rtems*): ... new case.
7379         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
7380         (spu-*-elf*): Likewise.
7381         Add spu/t-elf to tmake_file.
7382         (v850*-*-*): Add t-fdpbit to tmake_file.
7383         (xstormy16-*-elf): Likewise.
7384         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
7385         (mep*-*-*): Likewise.
7387 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7389         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
7390         variables.
7391         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
7392         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
7393         (install-unwind_h): New target.
7394         (all): Depend on it.
7395         * config.host (unwind_header): New variable.
7396         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
7397         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7398         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
7399         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
7400         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
7401         Set unwind_header.
7402         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
7403         Set unwind_header.
7404         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
7405         arm*-*-eabi*.
7406         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
7407         Set unwind_header.
7408         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
7409         (ia64*-*-freebsd*): Likewise.
7410         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
7411         tmake_file.
7412         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
7413         $with_system_libunwind.
7414         (ia64*-*-hpux*): Set tmake_file.
7415         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
7416         (picochip-*-*): Set tmake_file.
7417         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
7418         md_unwind_header.
7419         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7420         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7421         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
7422         (xtensa*-*-elf*): Set tmake_file.
7423         (xtensa*-*-linux*): Likewise.
7424         * configure.ac: Include ../config/unwind_ipinfo.m4.
7425         Call GCC_CHECK_UNWIND_GETIPINFO.
7426         Link unwind.h to $unwind_header.
7427         * configure: Regenerate.
7428         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
7429         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
7430         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
7431         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
7432         * config/unwind-dw2-fde-darwin.c: New file.
7433         * config/arm/libunwind.S, config/arm/pr-support.c,
7434         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
7435         config/arm/unwind-arm.h,: New files.
7436         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
7437         config/ia64/t-eh-ia64, config/ia64/t-glibc,
7438         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
7439         config/ia64/t-vms, config/ia64/unwind-ia64.c,
7440         config/ia64/unwind-ia64.h: New files.
7441         * config/picochip/t-picochip: New file.
7442         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
7443         files.
7444         * config/rs6000/t-darwin (LIB2ADDEH): Set.
7445         * config/s390/t-tpf (LIB2ADDEH): Remove.
7446         * config/t-darwin (LIB2ADDEH): Set.
7447         * config/t-eh-dw2-dip: New file.
7448         * config/t-libunwind, config/t-libunwind-elf: New files.
7449         * config/t-sol2 (LIB2ADDEH): Remove.
7450         * config/xtensa/t-xtensa: New file.
7452 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
7454         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
7455         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
7456         long long to check rt_sigreturn syscall.
7458 2011-08-02  Alan Modra  <amodra@gmail.com>
7460         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7461         Restore for indirect call bcrtl from correct stack slot, and only
7462         if cfa+40 isn't valid.
7464 2011-08-01  Julian Brown  <julian@codesourcery.com>
7466         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
7467         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
7468         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
7470 2011-08-01  Julian Brown  <julian@codesourcery.com>
7472         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
7473         (libgcc-std.ver.in): Use above.
7474         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
7475         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
7476         throughout file.
7477         * config/t-fixedpoint-gnu-prefix: New file.
7478         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
7479         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
7480         instead of __PFX__.
7482 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
7484         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
7485         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
7486         for x86-64.  Properly check __x86_64__ and __LP64__.
7488 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
7490         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
7491         version.
7492         (_FP_WS_TYPE): Likewise.
7493         (_FP_I_TYPE): Likewise.
7495 2011-07-28  Alan Modra  <amodra@gmail.com>
7497         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7498         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
7499         in a plt call stub.  Do restore r2 if stopped on bctrl.
7501 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7503         * config.host (i[3456x]86-*-netware*): Remove.
7504         * config/i386/netware-crt0.c, config/i386/t-nwld,
7505         config/i386/t-slibgcc-nwld: Remove.
7507 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
7509         * config.host: Handle tic6x-*-*.
7510         * config/c6x/c6x-abi.h: New file.
7512 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7514         * config/i386/crtprec.c: New file.
7515         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
7516         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
7517         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
7518         (x86_64-*-darwin*): Likewise.
7519         (i[34567]86-*-solaris2*: Likewise.
7521 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7523         * config/alpha/crtfastmath.c: New file.
7524         * config/i386/crtfastmath.c: New file.
7525         * config/ia64/crtfastmath.c: New file.
7526         * config/mips/crtfastmath.c: New file.
7527         * config/sparc/crtfastmath.c: New file.
7529         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
7530         crtfastmath.c.
7531         Add -frandom-seed=gcc-crtfastmath.
7532         * config/alpha/t-crtfm: Remove.
7533         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
7534         * config/ia64/t-ia64 (crtfastmath.o): Remove.
7536         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
7537         (alpha*-dec-osf5.1*): Likewise.
7538         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
7539         Add crtfastmath.o to extra_parts.
7540         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
7541         Add crtfastmath.o to extra_parts.
7542         (x86_64-*-darwin*): Likewise.
7543         (x86_64-*-mingw*): Likewise.
7544         (ia64*-*-elf*): Add t-crtfm to tmake_file.
7545         (ia64*-*-freebsd*): Likewise.
7546         (ia64*-*-linux*): Likewise.
7547         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
7548         Add crtfastmath.o to extra_parts.
7550 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7552         * config/darwin-crt3.o: New file.
7553         * config/rs6000/darwin-crt2.c: New file.
7554         * config/t-darwin: New file.
7555         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
7556         (crt2.o): New rule.
7557         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
7558         (powerpc-*-darwin*): Add crt2.o to extra_parts.
7559         (powerpc64-*-darwin*): Likewise.
7561 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7563         * config/i386/netware-crt0.c: New file.
7564         * config/i386/t-nwld: Rename to ...
7565         * config/i386/t-slibgcc-nwld: ... this.
7566         * config/i386/t-nwld: New file.
7567         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
7568         tmake_file.
7569         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
7570         extra_parts.
7572 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7574         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
7575         i386/t-crtstuff.
7576         * configure: Regenerate.
7578 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7580         * dfp-bit.c, dfp-bit.h: New files.
7581         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
7582         variables.
7583         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
7584         ($(d64pbit-o)): Likewise.
7585         ($(d128pbit-o)): Likewise.
7586         * config/t-dfprules: New file.
7587         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
7588         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
7589         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7590         (x86_64-*-linux*): Likewise.
7591         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7592         (i[34567]86-*-cygwin*): Likewise.
7593         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
7594         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7596 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7598         * Makfile.in (LIBGCOV): New variable.
7599         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
7600         * libgcov.c: New file.
7602 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7604         * fixed-bit.c, fixed-bit.h: New files.
7605         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
7606         refer to fixed-bit.c.
7608 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
7610         * config.host (*local*): Remove.
7612 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7614         PR target/39150
7615         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
7616         like i?86-*-solaris2.1[0-9]*.
7617         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
7618         * configure.ac (i?86-*-solaris2*): Likewise.
7619         * configure: Regenerate.
7621 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
7623         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7624         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
7625         md_unwind_header by splitting out of...
7626         (i[34567]86-*-linux*): ... this.
7627         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
7628         Remove md_unwind_header by splitting out of...
7629         (x86_64-*-linux*): ... this.
7631 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
7633         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
7635 2011-06-28  Nick Clifton  <nickc@redhat.com>
7637         * config.host: Recognize all V850 variants.
7639 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
7641         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
7643 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7645         * shared-object.mk (c_flags-$o): Save c_flags.
7646         ($(base)$(objext)): Use it.
7647         ($(base)_s$(objext)): Likewise.
7649 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
7651         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
7652         * libgcc-std.ver.in (GCC_4.7.0): New section.
7654 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
7656         PR target/49313
7657         PR target/29524
7658         * config/avr/t-avr: Fix line endings.
7659         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
7660         _parityXX2.
7662 2011-06-14  Olivier Hainque  <hainque@adacore.com>
7663             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7665         * config/mips/irix6-unwind.h: New file.
7666         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
7668 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
7670         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
7671         (sparc64_fallback_frame_state): Use it.
7672         (sparc64_frob_update_context): Further adjust context.
7673         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
7674         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
7675         * config/sparc/sol2-cn.S: Likewise.
7677 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7679         * enable-execute-stack-empty.c: New file.
7680         * enable-execute-stack-mprotect.c: New file.
7681         * config/i386/enable-execute-stack-mingw32.c: New file.
7682         * config.host (enable_execute_stack): New variable.
7683         Select appropriate variants.
7684         * configure.ac: Link enable-execute-stack.c to
7685         $enable_execute_stack.
7686         * configure: Regenerate.
7687         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
7688         (lib2funcs): Remove _enable_execute_stack.
7690 2011-06-09  David S. Miller  <davem@davemloft.net>
7691             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7693         * config.host (sparc-*-linux*): Correct md_unwind_header
7694         filename.
7695         (s390x-ibm-tpf*): Fix typo.
7697 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7699         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
7700         Add crtfastmath.o to extra_parts.
7701         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
7702         mips/t-crtfm.
7703         * config/mips/t-crtfm: Remove.
7705 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7707         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
7709 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
7711         * config.host (sh*-*-linux*): Fix typo.
7713 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7715         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
7716         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
7717         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
7718         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
7719         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
7720         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
7721         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
7722         Wrap in !__MINGW64__.
7723         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
7724         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
7725         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
7726         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
7727         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
7728         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
7729         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
7730         Wrap in !__LP64__.
7731         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
7732         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
7733         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
7734         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
7735         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
7736         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
7737         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
7738         * config/no-unwind.h: New file.
7739         * config.host (md_unwind_header): Document.
7740         Define.
7741         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
7742         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
7743         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
7744         hppa[12]*-*-hpux11*): Set md_unwind_header.
7745         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
7746         Set md_unwind_header.
7747         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
7748         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
7749         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
7750         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
7751         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
7752         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
7753         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
7754         md_unwind_header.
7755         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
7756         * configure: Regenerate.
7758 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7760         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
7761         Set tmake_file, extra_parts.
7762         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
7763         Remove O32 support.
7764         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
7765         Remove O32 support.
7766         * config/mips/t-irix6: New file.
7767         * config/mips/t-slibgcc-irix: New file.
7769 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7771         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
7772         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
7774 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7776         * configure.ac (target_thread_file): Determine thread model.
7777         * configure: Regenerate.
7778         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
7779         * config/alpha/t-alpha: New file.
7780         * config/alpha/t-crtfm: Use $<.
7781         * config/alpha/t-ieee: New file.
7782         * config/alpha/t-osf-pthread: New file.
7783         * config/alpha/t-slibgcc-osf: New file.
7784         * config/alpha/libgcc-osf5.ver: New file.
7786 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7788         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
7789         tmake_file.
7790         Add crtfastmath.o to extra_parts.
7792 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7794         * config/gmon-sol2.c: Reindent.
7795         Cleanup comments.
7796         Remove, correct casts.
7797         Use STDERR_FILENO, NULL.
7798         (BASEADDRESS): Remove.
7799         (minbrk): Remove.
7800         (errno, sbrk): Remove declarations.
7801         (monstartup) [hp300]: Remove.
7802         (mcount): Remove.
7804 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7806         * Makefile.in (cpu_type): Define.
7807         * config.host (i[34567]86-*-rtems*): Handle it.
7808         (i[34567]86-*-solaris2*): Move body ...
7809         (*-*-solaris2*): ... here.
7810         New case, generalize.
7811         (sparc-*-elf*): Handle it.
7812         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
7813         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
7814         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
7815         Fold into ...
7816         (sparc*-*-solaris2*): ... this.
7817         New case.
7818         (sparc64-*-elf*): Handle it.
7819         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
7820         Merge ../gcc/config/i386/gmon-sol2.c.
7821         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
7822         Use C comments.
7823         Merge ../gcc/config/i386/sol2-gc1.asm.
7824         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
7825         Use C comments.
7826         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
7827         Use C comments.
7828         * config/i386/t-crtfm (crtfastmath.o): Use $<.
7829         * config/i386/t-crtstuff: New file.
7830         * config/i386/t-softfp: New file.
7831         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
7832         $(T)crti.o, $(T)crtn.o): Remove.
7833         (gcrt1.o): New rule.
7834         (TARGET_LIBGCC2_CFLAGS): Remove.
7835         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
7836         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
7837         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
7838         * config/sparc/t-sol2: New file.
7839         * config/sparc/t-crtfm: Move to ...
7840         * config/t-crtfm: ... this.
7841         Use $(cpu_type), $<.
7842         * config/t-crtin: New file.
7843         * config/sparc/t-softfp: New file.
7844         * config/sparc/t-softmul: New file.
7845         * config/t-rtems: New file.
7846         * config/t-slibgcc: New file.
7847         * config/t-slibgcc-elf-ver: New file.
7848         * config/t-slibgcc-gld: New file.
7849         * config/t-slibgcc-sld: New file.
7850         * config/t-sol2: New file.
7851         * configure.ac: Include ../config/lib-ld.m4.
7852         Call AC_LIB_PROG_LD_GNU.
7853         Substitute cpu_type.
7854         * configure: Regenerate.
7856 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
7858         PR bootstrap/49173
7859         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
7860         libgcc-std.ver in the build directory.
7861         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
7862         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
7864 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
7866         * libgcc-std.ver.in: New file.
7867         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
7868         variables.
7869         (libgcc-std.ver): New rule.
7870         * config/t-gnu-prefix: New file.
7872 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7874         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
7876 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
7878         * config/i386/darwin-lib.h: New file.
7880 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
7882         * config/arm/symbian-lib.h: New.
7884 2011-05-04  Chris Demetriou  <cgd@google.com>
7886         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
7887         (__x86.get_pc_thunk.bx): ...this.
7888         (__morestack): Adjust for rename, remove undef of __i686.
7890 2011-05-03  Chris Demetriou  <cgd@google.com>
7892         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
7894 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
7896         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
7897         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
7898         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
7899         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
7900         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
7901         Remove cases.
7903 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
7905         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
7906         Adjust copyright year.
7908 2011-03-07  Ian Lance Taylor  <iant@google.com>
7910         * generic-morestack.c (__splitstack_find): Adjust returned stack
7911         pointer to include all registers pushed by __morestack.
7913 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
7915         PR target/40125
7916         * configure.ac: Call ACX_NONCANONICAL_TARGET.
7917         (toolexecdir): Calculate and AC_SUBST.
7918         (toolexeclibdir): Likewise.
7919         * Makefile.in (target_noncanonical): Import.
7920         (toolexecdir): Likewise.
7921         (toolexeclibdir): Likewise.
7922         * configure: Regenerate.
7924 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
7926         PR target/46040
7927         * config/arm/bpabi.h: Rename to...
7928         * config/arm/bpabi-lib.h: ...this.
7930 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7932         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
7933         appropriate.
7934         * configure: Regenerate.
7936 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
7938         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
7939         __FLOAT_WORD_ORDER__.
7940         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
7941         Delete.
7943 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7945         PR other/46202
7946         * Makefile.in (install-strip): New phony target.
7948 2010-11-07  Ian Lance Taylor  <iant@google.com>
7950         PR target/46089
7951         * config/i386/morestack.S (__morestack_large_model): New
7952         function.
7954 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
7956         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
7957         Delete.
7958         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
7960 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
7962         * config/arm/bpabi.h: New file.
7963         * config/frv/frv-abi.h: New file.
7965 2010-10-01  Ian Lance Taylor  <iant@google.com>
7967         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
7968         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
7970 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
7972         PR target/45858
7973         * config.host: Add the missing `$'.
7975 2010-09-30  Michael Eager  <eager@eagercon.com>
7977         * config.host: Add microblaze*-*-*.
7978         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
7979         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
7980         udivsi3.asm,umodsi3.asm}:  New.
7982 2010-09-28  Ian Lance Taylor  <iant@google.com>
7984         * configure.ac: Adjust CFI test to test assembler directly rather
7985         than checking gcc preprocessor macro.
7986         * configure: Rebuild.
7988 2010-09-27  Ian Lance Taylor  <iant@google.com>
7990         * configure.ac: Test whether assembler supports CFI directives.
7991         * config.host: Only add t-stack and i386/t-stack-i386 to
7992         tmake_file if libgcc_cv_cfi is "yes".
7993         * configure: Rebuild.
7995 2010-09-27  Ian Lance Taylor  <iant@google.com>
7997         * generic-morestack.h: New file.
7998         * generic-morestack.c: New file.
7999         * generic-morestack-thread.c: New file.
8000         * config/i386/morestack.S: New file.
8001         * config/t-stack: New file.
8002         * config/i386/t-stack-i386: New file.
8003         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8004         i386/t-stack-i386 to tmake_file.
8006 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
8008         * Makefile.in (libgcc-extra-parts):  Check for static archives and
8009         invoke ranlib after installing them.
8010         (gcc-extra-parts): Likewise.
8011         (install-leaf): Likewise.
8013 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
8015         * configure: Regenerated.
8017 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
8019         * configure: Regenerated.
8021 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
8022             Andrew Pinski  <pinskia@gmail.com>
8024         PR target/40959
8025         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
8027 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8029         PR target/45524
8030         * configure: Regenerated.
8032 2010-09-06  Andreas Schwab  <schwab@redhat.com>
8034         * configure: Regenerate.
8036 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
8038         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8039         64bit targets.
8040         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8041         for 64bit targets.
8043 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
8044             Iain Sandoe  <iains@gcc.gnu.org>
8046         PR target/45476
8047         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8048         LIB2FUNCS_EXCLUDE functions.
8050 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8052         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8053         Include dfp.m4.
8054         * configure: Regenerate.
8056 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
8058         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8059         i386/t-freebsd to tmake_file.
8060         * config/i386/t-freebsd: New file.
8061         * config/i386/libgcc-bsd.ver: New file.
8063 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
8065         * config.host (powerpc*-eabispe*): Set tmake_file.
8066         (powerpc*-eabi*): Likewise.
8067         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8068         crtbeginS, crtendS, crtbeginT.
8070 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
8072         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8073         to tmake_file.  Add crtfastmath.o to extra_parts.
8074         * config/mips/t-crtfm: New.
8076 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
8078         * config.host (sparc64-*-rtems*): New target.
8080 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8082         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8083         assembler syntax.
8085 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
8087         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8089 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8091         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8092         alpha-dec-osf5.0* support.
8094 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
8096         * config.host: Add lm32-*-rtems*.
8098 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8099             Uros Bizjak  <ubizjak@gmail.com>
8101         PR target/39048
8102         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8103         like other remaining 32-bit x86 OSes.
8104         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8105         assembler syntax.
8106         * config/i386/libgcc-sol2.ver: New file.
8107         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8109 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
8111         PR c/43553
8112         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8113         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8114         is used and substitute set_use_emutls.
8115         * configure: Regenerated.
8117 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
8119         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8121 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8123         PR target/38085
8124         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8125         MULTILIB_CFLAGS.
8126         ($(T)gcrt1.o): Likewise.
8127         ($(T)crt1.o): Likewise.
8128         ($(T)crti.o): Likewise.
8129         ($(T)crtn.o): Likewise.
8131 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8133         PR other/42980
8134         * Makefile.in (install): Use $(MAKE) string in rule, for
8135         parallel make.
8137 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
8139         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8140         * config/mmix/t-mmix: New file.
8141         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8143 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
8145         PR java/41991
8146         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8147         SHLIB_MAPFILES.
8149 2010-01-04  Anthony Green  <green@moxielogic.com>
8151         * config/moxie/crti.asm, config/moxie/crtn.asm,
8152         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8153         config/moxie/t-moxie: New files.
8154         * config.host: Add t-moxie-softfp reference.
8156 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
8158         PR other/39888
8159         * config/t-slibgcc-darwin: Fix embedded rpaths for
8160         --enable-version-specific-runtime-libs, build extension stub
8161         libs exposing features available from current libgcc_s.
8163 2009-11-11  Jon Beniston  <jon@beniston.com>
8165         * config.host: Add lm32 targets.
8166         * config/lm32: New directory.
8167         * config/lm32/libgcc_lm32.h: New file.
8168         * config/lm32/_mulsi3.c: New file.
8169         * config/lm32/_udivmodsi4.c: New file.
8170         * config/lm32/_divsi3.c: New file.
8171         * config/lm32/_modsi3.c: New file.
8172         * config/lm32/_udivsi3.c: New file.
8173         * config/lm32/_umodsi3.c: New file.
8174         * config/lm32/_lshrsi3.S: New file.
8175         * config/lm32/_ashrsi3.S: New file.
8176         * config/lm32/_ashlsi3.S: New file.
8177         * config/lm32/crti.S: New file.
8178         * config/lm32/crtn.S: New file.
8179         * config/lm32/t-lm32: New file.
8180         * config/lm32/t-elf: New file.
8181         * config/lm32/t-uclinux: New file.
8183 2009-10-26  Nick Clifton  <nickc@redhat.com>
8185         * config.host: Add support for RX target.
8186         * config/rx: New directory.
8187         * config/rx/rx-abi-functions.c: New file. Supplementary
8188         functions for libgcc to support the RX ABI.
8189         * config/rx/rx-abi.h: New file.  Supplementary header file for
8190         libgcc RX ABI functions.
8191         * config/rx/t-rx: New file: Makefile fragment for building
8192         libgcc for the RX.
8194 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
8196         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8197         constraint of y0 to "g".
8199 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8201         * config.host: Include the s390 makefile fragments.
8202         * config/s390/32/_fixdfdi.c: New file.
8203         * config/s390/32/_fixsfdi.c: New file.
8204         * config/s390/32/_fixtfdi.c: New file.
8205         * config/s390/32/_fixunsdfdi.c: New file.
8206         * config/s390/32/_fixunssfdi.c: New file.
8207         * config/s390/32/_fixunstfdi.c: New file.
8208         * config/s390/32/t-floattodi: New file.
8209         * config/s390/libgcc-glibc.ver: New file.
8210         * config/s390/t-crtstuff: New file.
8211         * config/s390/t-linux: New file.
8212         * config/s390/t-tpf: New file.
8214 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8216         * configure.ac (AC_PREREQ): Bump to 2.64.
8218 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
8220         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8222 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8224         * configure: Regenerate.
8226 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
8228         * config.host (ia64-hp-*vms*): New target.
8229         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
8230         with ia64-hp-*vms*.
8232 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8234         * configure.ac: Add snippet for maintainer-mode.
8235         * configure: Regenerate.
8236         * Makefile.in (AUTOCONF, configure_deps): New variables.
8237         ($(srcdir)/configure)): New rule, active only with maintainer
8238         mode turned on.
8240 2009-06-23  DJ Delorie  <dj@redhat.com>
8242         Add MeP port.
8243         * config.host: Add mep support.
8245 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
8247         * config.host: Add i386/${host_address}/t-fprules-softfp and
8248         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
8250         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
8251         for mingw targets.
8252         * config/i386/64/_multc3.c: Likewise.
8253         * config/i386/64/_powitf2.c: Likewise.
8254         * config/i386/64/eqtf2.c: Likewise.
8255         * config/i386/64/getf2.c: Likewise.
8256         * config/i386/64/letf2.c: Likewise.
8257         * config/i386/64/letf2.c: Likewise.
8258         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
8259         unsigned long long for x64 mingw targets.
8260         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
8261         (_FP_I_TYPE): Define as long long for x64 mingw target.
8263 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
8265         * config.host (vax-*-linux*): New.
8267 2009-05-31  Anthony Green  <green@moxielogic.com>
8269         * config.host: Add moxie support.
8270         * config/moxie/t-moxie: New file.
8272 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
8274         * config.host: Add i386/${host_address}/t-fprules-softfp and
8275         t-softfp to tmake_file for i[34567]86-*-cygwin*.
8277 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
8279         * config.host: Add i386/${host_address}/t-fprules-softfp to
8280         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
8282 2009-04-09  Nick Clifton  <nickc@redhat.com>
8284         * config/ia64/tf-signs.c: Change copyright header to refer to
8285         version 3 of the GNU General Public License with version 3.1
8286         of the GCC Runtime Library Exception and to point readers at
8287         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
8288         web page.
8289         * config/i386/32/tf-signs.c: Likewise.
8290         * config/libbid/_addsub_dd.c: Likewise.
8291         * config/libbid/_addsub_sd.c: Likewise.
8292         * config/libbid/_addsub_td.c: Likewise.
8293         * config/libbid/_dd_to_df.c: Likewise.
8294         * config/libbid/_dd_to_di.c: Likewise.
8295         * config/libbid/_dd_to_sd.c: Likewise.
8296         * config/libbid/_dd_to_sf.c: Likewise.
8297         * config/libbid/_dd_to_si.c: Likewise.
8298         * config/libbid/_dd_to_td.c: Likewise.
8299         * config/libbid/_dd_to_tf.c: Likewise.
8300         * config/libbid/_dd_to_udi.c: Likewise.
8301         * config/libbid/_dd_to_usi.c: Likewise.
8302         * config/libbid/_dd_to_xf.c: Likewise.
8303         * config/libbid/_df_to_dd.c: Likewise.
8304         * config/libbid/_df_to_sd.c: Likewise.
8305         * config/libbid/_df_to_td.c: Likewise.
8306         * config/libbid/_di_to_dd.c: Likewise.
8307         * config/libbid/_di_to_sd.c: Likewise.
8308         * config/libbid/_di_to_td.c: Likewise.
8309         * config/libbid/_div_dd.c: Likewise.
8310         * config/libbid/_div_sd.c: Likewise.
8311         * config/libbid/_div_td.c: Likewise.
8312         * config/libbid/_eq_dd.c: Likewise.
8313         * config/libbid/_eq_sd.c: Likewise.
8314         * config/libbid/_eq_td.c: Likewise.
8315         * config/libbid/_ge_dd.c: Likewise.
8316         * config/libbid/_ge_sd.c: Likewise.
8317         * config/libbid/_ge_td.c: Likewise.
8318         * config/libbid/_gt_dd.c: Likewise.
8319         * config/libbid/_gt_sd.c: Likewise.
8320         * config/libbid/_gt_td.c: Likewise.
8321         * config/libbid/_isinfd128.c: Likewise.
8322         * config/libbid/_isinfd32.c: Likewise.
8323         * config/libbid/_isinfd64.c: Likewise.
8324         * config/libbid/_le_dd.c: Likewise.
8325         * config/libbid/_le_sd.c: Likewise.
8326         * config/libbid/_le_td.c: Likewise.
8327         * config/libbid/_lt_dd.c: Likewise.
8328         * config/libbid/_lt_sd.c: Likewise.
8329         * config/libbid/_lt_td.c: Likewise.
8330         * config/libbid/_mul_dd.c: Likewise.
8331         * config/libbid/_mul_sd.c: Likewise.
8332         * config/libbid/_mul_td.c: Likewise.
8333         * config/libbid/_ne_dd.c: Likewise.
8334         * config/libbid/_ne_sd.c: Likewise.
8335         * config/libbid/_ne_td.c: Likewise.
8336         * config/libbid/_sd_to_dd.c: Likewise.
8337         * config/libbid/_sd_to_df.c: Likewise.
8338         * config/libbid/_sd_to_di.c: Likewise.
8339         * config/libbid/_sd_to_sf.c: Likewise.
8340         * config/libbid/_sd_to_si.c: Likewise.
8341         * config/libbid/_sd_to_td.c: Likewise.
8342         * config/libbid/_sd_to_tf.c: Likewise.
8343         * config/libbid/_sd_to_udi.c: Likewise.
8344         * config/libbid/_sd_to_usi.c: Likewise.
8345         * config/libbid/_sd_to_xf.c: Likewise.
8346         * config/libbid/_sf_to_dd.c: Likewise.
8347         * config/libbid/_sf_to_sd.c: Likewise.
8348         * config/libbid/_sf_to_td.c: Likewise.
8349         * config/libbid/_si_to_dd.c: Likewise.
8350         * config/libbid/_si_to_sd.c: Likewise.
8351         * config/libbid/_si_to_td.c: Likewise.
8352         * config/libbid/_td_to_dd.c: Likewise.
8353         * config/libbid/_td_to_df.c: Likewise.
8354         * config/libbid/_td_to_di.c: Likewise.
8355         * config/libbid/_td_to_sd.c: Likewise.
8356         * config/libbid/_td_to_sf.c: Likewise.
8357         * config/libbid/_td_to_si.c: Likewise.
8358         * config/libbid/_td_to_tf.c: Likewise.
8359         * config/libbid/_td_to_udi.c: Likewise.
8360         * config/libbid/_td_to_usi.c: Likewise.
8361         * config/libbid/_td_to_xf.c: Likewise.
8362         * config/libbid/_tf_to_dd.c: Likewise.
8363         * config/libbid/_tf_to_sd.c: Likewise.
8364         * config/libbid/_tf_to_td.c: Likewise.
8365         * config/libbid/_udi_to_dd.c: Likewise.
8366         * config/libbid/_udi_to_sd.c: Likewise.
8367         * config/libbid/_udi_to_td.c: Likewise.
8368         * config/libbid/_unord_dd.c: Likewise.
8369         * config/libbid/_unord_sd.c: Likewise.
8370         * config/libbid/_unord_td.c: Likewise.
8371         * config/libbid/_usi_to_dd.c: Likewise.
8372         * config/libbid/_usi_to_sd.c: Likewise.
8373         * config/libbid/_usi_to_td.c: Likewise.
8374         * config/libbid/_xf_to_dd.c: Likewise.
8375         * config/libbid/_xf_to_sd.c: Likewise.
8376         * config/libbid/_xf_to_td.c: Likewise.
8377         * config/libbid/bid128.c: Likewise.
8378         * config/libbid/bid128_2_str.h: Likewise.
8379         * config/libbid/bid128_2_str_macros.h: Likewise.
8380         * config/libbid/bid128_2_str_tables.c: Likewise.
8381         * config/libbid/bid128_add.c: Likewise.
8382         * config/libbid/bid128_compare.c: Likewise.
8383         * config/libbid/bid128_div.c: Likewise.
8384         * config/libbid/bid128_fma.c: Likewise.
8385         * config/libbid/bid128_logb.c: Likewise.
8386         * config/libbid/bid128_minmax.c: Likewise.
8387         * config/libbid/bid128_mul.c: Likewise.
8388         * config/libbid/bid128_next.c: Likewise.
8389         * config/libbid/bid128_noncomp.c: Likewise.
8390         * config/libbid/bid128_quantize.c: Likewise.
8391         * config/libbid/bid128_rem.c: Likewise.
8392         * config/libbid/bid128_round_integral.c: Likewise.
8393         * config/libbid/bid128_scalb.c: Likewise.
8394         * config/libbid/bid128_sqrt.c: Likewise.
8395         * config/libbid/bid128_string.c: Likewise.
8396         * config/libbid/bid128_to_int16.c: Likewise.
8397         * config/libbid/bid128_to_int32.c: Likewise.
8398         * config/libbid/bid128_to_int64.c: Likewise.
8399         * config/libbid/bid128_to_int8.c: Likewise.
8400         * config/libbid/bid128_to_uint16.c: Likewise.
8401         * config/libbid/bid128_to_uint32.c: Likewise.
8402         * config/libbid/bid128_to_uint64.c: Likewise.
8403         * config/libbid/bid128_to_uint8.c: Likewise.
8404         * config/libbid/bid32_to_bid128.c: Likewise.
8405         * config/libbid/bid32_to_bid64.c: Likewise.
8406         * config/libbid/bid64_add.c: Likewise.
8407         * config/libbid/bid64_compare.c: Likewise.
8408         * config/libbid/bid64_div.c: Likewise.
8409         * config/libbid/bid64_fma.c: Likewise.
8410         * config/libbid/bid64_logb.c: Likewise.
8411         * config/libbid/bid64_minmax.c: Likewise.
8412         * config/libbid/bid64_mul.c: Likewise.
8413         * config/libbid/bid64_next.c: Likewise.
8414         * config/libbid/bid64_noncomp.c: Likewise.
8415         * config/libbid/bid64_quantize.c: Likewise.
8416         * config/libbid/bid64_rem.c: Likewise.
8417         * config/libbid/bid64_round_integral.c: Likewise.
8418         * config/libbid/bid64_scalb.c: Likewise.
8419         * config/libbid/bid64_sqrt.c: Likewise.
8420         * config/libbid/bid64_string.c: Likewise.
8421         * config/libbid/bid64_to_bid128.c: Likewise.
8422         * config/libbid/bid64_to_int16.c: Likewise.
8423         * config/libbid/bid64_to_int32.c: Likewise.
8424         * config/libbid/bid64_to_int64.c: Likewise.
8425         * config/libbid/bid64_to_int8.c: Likewise.
8426         * config/libbid/bid64_to_uint16.c: Likewise.
8427         * config/libbid/bid64_to_uint32.c: Likewise.
8428         * config/libbid/bid64_to_uint64.c: Likewise.
8429         * config/libbid/bid64_to_uint8.c: Likewise.
8430         * config/libbid/bid_b2d.h: Likewise.
8431         * config/libbid/bid_binarydecimal.c: Likewise.
8432         * config/libbid/bid_conf.h: Likewise.
8433         * config/libbid/bid_convert_data.c: Likewise.
8434         * config/libbid/bid_decimal_data.c: Likewise.
8435         * config/libbid/bid_decimal_globals.c: Likewise.
8436         * config/libbid/bid_div_macros.h: Likewise.
8437         * config/libbid/bid_dpd.c: Likewise.
8438         * config/libbid/bid_flag_operations.c: Likewise.
8439         * config/libbid/bid_from_int.c: Likewise.
8440         * config/libbid/bid_functions.h: Likewise.
8441         * config/libbid/bid_gcc_intrinsics.h: Likewise.
8442         * config/libbid/bid_inline_add.h: Likewise.
8443         * config/libbid/bid_internal.h: Likewise.
8444         * config/libbid/bid_round.c: Likewise.
8445         * config/libbid/bid_sqrt_macros.h: Likewise.
8447 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
8449         * Makefile.in: Change copyright header to refer to version
8450         3 of the GNU General Public License and to point readers at the
8451         COPYING3 file and the FSF's license web page.
8452         * config.host: Likewise.
8454 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
8456         * config.host: Reorder and merge to match config.gcc change.
8458 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
8460         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
8462 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
8464         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
8465         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
8466         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
8467         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
8469 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
8471         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
8472         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8474 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
8476         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
8477         ia64/t-softfp-compat to tmake_file.
8479         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
8481         * config/ia64/__divxf3.asm: New.
8482         * config/ia64/_fixtfdi.asm: Likewise.
8483         * config/ia64/_fixunstfdi.asm: Likewise.
8484         * config/ia64/_floatditf.asm: Likewise.
8485         * config/ia64/t-fprules-softfp: Likewise.
8486         * config/ia64/t-softfp-compat: Likewise.
8487         * config/ia64/tf-signs.c: Likewise.
8489 2009-01-18  Ben Elliston  <bje@au.ibm.com>
8491         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8493 2009-01-16  Ben Elliston  <bje@au.ibm.com>
8495         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
8496         to tmake_file.
8498 2009-01-13  Ben Elliston  <bje@au.ibm.com>
8500         * config/t-softfp: New file.
8501         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
8502         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
8504 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
8506         * config.host: Add m32r*-*-rtems*.
8508 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
8510         * config.host: Add m32c*-*-rtems*.
8512 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8514         PR bootstrap/33100
8515         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
8516         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
8517         * configure: Regenerate.
8518         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
8519         tmake_file here from gcc/config.gcc.
8520         Move extra_parts here from gcc/config.gcc.
8521         * config/i386/t-sol2: Move here from gcc/config/i386.
8522         Use gcc_srcdir instead of srcdir.
8524 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
8526         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
8527         case.
8529 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
8531         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
8533 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
8535         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
8537 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
8539         Add picoChip port.
8540         * config.host: Add picochip-*-*.
8542 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
8544         * config.host: Match more processor names for Xtensa.
8546 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
8548         * config/i386/64/t-softfp-compat: Update comments.
8550 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8552         * config/i386/64/_divtc3-compat.c: Moved to ...
8553         * config/i386/64/_divtc3.c: Here.
8555         * config/i386/64/_multc3-compat.c: Moved to ...
8556         * config/i386/64/_multc3.c: Here.
8558         * config/i386/64/_powitf2-compat.c: Moved to ...
8559         * config/i386/64/_powitf2.c: Here.
8561         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
8562         .c suffix instead of -compat.c.
8564 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
8566         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
8567         (_FP_MUL_MEAT_D): Ditto.
8568         (_FP_DIV_MEAT_S): Ditto.
8569         (_FP_DIV_MEAT_D): Ditto.
8571 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
8573         * Makefile.in: Add support for __sync_* libgcc functions.
8575 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
8577         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
8579 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8581         PR boostrap/36702
8582         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
8583         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
8585         * config/i386/64/t-fprules-softfp: Moved to ...
8586         * config/i386/64/t-softfp-compat: This.  New.
8588 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
8590         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
8591         Initialize f with 0.0.
8593 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8595         PR target/36669
8596         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
8598         * config/i386/64/_divtc3-compat.c: New.
8599         * config/i386/64/_multc3-compat.c: Likewise.
8600         * config/i386/64/_powitf2-compat.c: Likewise.
8601         * config/i386/64/eqtf2.c: Likewise.
8602         * config/i386/64/getf2.c: Likewise.
8603         * config/i386/64/letf2.c: Likewise.
8604         * config/i386/64/t-fprules-softfp: Likewise.
8606 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8608         * config.host: Add i386/${host_address}/t-fprules-softfp to
8609         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
8610         i[34567]86-*-linux*, x86_64-*-linux*.
8612         * configure.ac: Set host_address to 64 or 32 for x86.
8613         * configure: Regenerated.
8615         * Makefile.in (config.status): Also depend on
8616         $(srcdir)/config.host.
8618         * config/i386/32/t-fprules-softfp: New.
8619         * config/i386/32/tf-signs.c: Likewise.
8621         * config/i386/64/sfp-machine.h: New. Moved from gcc.
8623 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8624             Uros Bizjak  <ubizjak@gmail.com>
8626         * config/i386/32/sfp-machine.h: New.
8628 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
8630         * config/rs6000/t-ppccomm: Remove rules that conflict with
8631         auto-generated rules.
8633 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8635         * configure.ac: sinclude override.m4.
8636         * configure: Regenerate.
8638 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
8640         * configure: Regenerate.
8642 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
8644         * Makefile.in (DECNUMINC): Remove
8645         -I$(MULTIBUILDTOP)../../libdecnumber.
8646         * gstdint.h: New.
8648 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
8650         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
8651         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
8652         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
8653         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
8654         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
8655         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
8656         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
8657         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
8658         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
8659         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
8660         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
8661         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
8662         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
8663         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
8665 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
8667         * config.host (sh2[lbe]*-*-linux*): Allow target.
8669 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
8671         * config/rs6000/t-ppccomm: Add build rules for new files.
8672         (LIB2ADD_ST): New variable.
8674 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
8676         PR target/34210
8677         PR target/35508
8678         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
8679         * config/t-avr: New file. Build 16bit libgcc functions.
8681 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
8683         PR target/35401
8684         * config/t-slibgcc-darwin: Make install-leaf dependent on
8685         install-darwin-libgcc-stubs instead of install.
8687 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
8689         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
8690         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
8691         sh-*-rtemscoff*): Remove cases.
8693 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
8695         * Makefile.in (all): Use install-leaf rather than install.
8696         (install): Split most of the rule into...
8697         (install-leaf): ...this new one.
8699 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
8700             Paolo Bonzini  <bonzini@gnu.org>
8702         PR target/30572
8703         * Makefile.in: Use @shlib_slibdir@ substitution to get
8704         correct install name on darwin.
8705         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
8707 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
8709         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
8710         cris-*-elf and cris-*-none.
8711         (crisv32-*-linux*): Similar, as cris-*-linux*.
8713 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
8715         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
8717 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
8719         PR regression/33926
8720         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
8721         * configure: Regenerated.
8723 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
8725         * Makefile.in (dfp-filenames): Replace decimal_globals,
8726         decimal_data, binarydecimal and convert_data with
8727         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
8728         and bid_convert_data, respectively.
8730 2007-09-17  Chao-ying Fu  <fu@mips.com>
8731             Nigel Stephens  <nigel@mips.com>
8733         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
8734         * Makefile.in (fixed_point): Define.
8735         Check if fixed_point is yes to build support functions.
8736         * configure.ac: Check for fixed_point support.
8737         * configure: Regenerated.
8738         * gen-fixed.sh: New file to generate lists of fixed-point labels,
8739         funcs, modes, from, to.
8741 2007-09-11  Janis Johnson  <janis187@us.ibm.com
8743         * Makefile.in (dfp-filenames): Add bid128_noncomp.
8745 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
8747         * Makefile.in (dfp-filenames): Remove decUtility, add
8748         decDouble, decPacked, decQuad, decSingle.
8750 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
8752         * config.host : Add x86_64-elf target.
8754 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
8756         * configure.ac (set_have_cc_tls): Add a missing =.
8757         * configure: Regenerated.
8759 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
8761         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
8762         and x86_64-*-linux*.
8764         * config/t-tls: New file.
8766         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
8768         * configure.ac: Include ../config/enable.m4 and
8769         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
8770         supports TLS and substitute set_have_cc_tls.
8771         * configure: Regenerated.
8773 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
8775         * Makefile.in: Use libbid for DFP when BID is enabled.
8777 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
8779         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
8780         extra_parts. Add config/i386/t-cygming to tmake_file.
8781         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
8783 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
8784             Danny Smith  <dannysmith@users.sourceforge.net>
8786         PR target/29498
8787         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
8788         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
8789         * config/i386/t-crtfm: Compile crtfastmath.o with
8790         -minline-all-stringops.
8792 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
8794         * config.host (sparc-wrs-vxworks): New target.
8796 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
8798         * config.host: Recognize fido.
8800 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
8802         * configure: Check host, not target, for decimal float support.
8804 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
8806         * config/i386/t-crtpc: New file.
8807         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
8808         (x86_64-*-linux*): Ditto.
8810 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
8812         * config.host (x86_64-*-mingw*): New target.
8814 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
8815             H.J. Lu  <hongjiu.lu@intel.com>
8817         * Makefile.in (enable_decimal_float): New.
8818         (DECNUMINC): Add
8819         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
8820         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
8821         (decbits-filenames): This.
8822         (decbits-objects): New.
8823         (libgcc-objects): Add $(decbits-objects).
8825         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
8826         Substitute enable_decimal_float.
8827         * configure: Regenerated.
8829 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
8831         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
8833 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
8835         * Makefile.in (install-info): New dummy target.
8837 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
8839         * config.host (bfin*-linux-uclibc*): Set extra_parts.
8841 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
8843         * Makefile.in: Add install-html and install-pdf dummy
8844         targets.
8846 2007-02-05  Roger Sayle  <roger@eyesopen.com>
8847             Daniel Jacobowitz  <dan@codesourcery.com>
8849         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
8850         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
8851         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
8853 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
8855         * Makefile.in (dec-filenames): Add decExcept.
8857 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
8859         PR bootstrap/30469
8860         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
8861         -fprofile-use.
8863 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
8865         * configure.ac: Add --enable-version-specific-runtime-libs.
8866         Correct $slibdir default.
8867         * configure: Regenerated.
8869 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
8871         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
8873 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
8875         PR target/30519
8876         * config.host (alpha*-*-linux*): Set extra_parts.
8878 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
8880         * config/sh/t-linux: New.
8881         * config.host (sh*-*-linux*): Set tmake_file.
8883 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
8885         * Makefile.in (install): Handle multilibs.
8887 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
8889         * Makefile.in: Added .PHONY entry for documentation targets.
8891 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
8893         * Makefile.in: Add empty info, html, dvi, pdf targets.
8895 2007-01-04  Mike Stump  <mrs@apple.com>
8897         * Makefile.in (MAKEINFO): Remove.
8898         (PERL): Likewise.
8900 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
8902         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
8903         * configure: Regenerate.
8904         * Makefile.in (host_subdir): Substitute it.
8905         (gcc_objdir): Use it.
8907 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
8909         * config.host (ia64*-*-linux*): Set tmake_file.
8911 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
8913         * Makefile.in (version): Define.
8915 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
8916             Paolo Bonzini  <bonzini@gnu.org>
8918         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
8919         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
8920         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
8921         config/sparc/t-crtfm, config/t-slibgcc-darwin,
8922         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
8923         shared-object.mk, siditi-object.mk, static-object.mk: New files.
8924         * configure: Generated.
8926 Copyright (C) 2007-2018 Free Software Foundation, Inc.
8928 Copying and distribution of this file, with or without modification,
8929 are permitted in any medium without royalty provided the copyright
8930 notice and this notice are preserved.