PR rtl-optimization/83496
[official-gcc.git] / libgcc / ChangeLog
blob0e9e7759f627ab2d1394b47c831de3ff25f77f8e
1 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
3         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
4         .literal_position directive.
5         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
7 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
9         PR target/84148
10         * configure: Regenerate.
12 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
14         PR target/84239
15         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
16         Include cetintrin.h not x86intrin.h.
18 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
20         PR target/84239
21         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
22         Use new _get_ssp and _inc_ssp intrinsics.
24 2018-02-02  Julia Koval  <julia.koval@intel.com>
26         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
28 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
30         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
31         option.
32         (__divsi3): Use RF16 safe registers.
33         (__modsi3): Likewise.
35 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
37         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
38         (__divsf3): Make NaN return value quiet.
39         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
40         (__divdf3): Make NaN return value quiet.
42 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
44         * config/rl78/anddi3.S: New assembly file.
45         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
47 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
49         * config/rl78/umindi3.S: New assembly file.
50         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
52 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
54         * config/rl78/smindi3.S: New assembly file.
55         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
57 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
59         * config/rl78/smaxdi3.S: New assembly file.
60         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
62 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
64         * config/rl78/umaxdi3.S: New assembly file.
65         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
66         
67 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
69         PR lto/83452
70         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
71         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
72         
73 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
75         * config/aarch64/value-unwind.h (aarch64_vg): New function.
76         (DWARF_LAZY_REGISTER_VALUE): Define.
77         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
78         to provide a fallback register value.
80 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
82         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
83         __ibm128, instead of trying to use long double.
84         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
85         accomidate -mabi=ieeelongdouble multilibs.
86         (CVT_IBM128_TO_FLOAT128): Likewise.
87         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
88         the appropriate IBM extended double type.
89         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
90         (__gcc_qsub): Likewise.
91         (__gcc_qmul): Likewise.
92         (__gcc_qdiv): Likewise.
93         (pack_ldouble): Likewise.
94         (__gcc_qneg): Likewise.
95         (__gcc_qeq): Likewise.
96         (__gcc_qne): Likewise.
97         (__gcc_qge): Likewise.
98         (__gcc_qle): Likewise.
99         (__gcc_stoq): Likewise.
100         (__gcc_dtoq): Likewise.
101         (__gcc_itoq): Likewise.
102         (__gcc_utoq): Likewise.
103         (__gcc_qunord): Likewise.
104         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
105         quad-float128.h for the definitions.
106         (COPYSIGN): Use the f128 version instead of the q version.
107         (INFINITY): Likewise.
108         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
109         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
110         quad-float128.h for the definitions.
111         (COPYSIGN): Use the f128 version instead of the q version.
112         (INFINITY): Likewise.
113         (FABS): Likewise.
114         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
115         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
116         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
118 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
120         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
121         configuration.
123 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
125         Update copyright years.
127 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
129         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
130         * config/riscv/multi3.c: New file.
131         * config/riscv/multi3.S: Remove.
133 2017-12-08  Jim Wilson  <jimw@sifive.com>
135         * config/riscv/div.S: Use FUNC_* macros.
136         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
137         * config/riscv/save-restore.S: Likewise.
138         * config/riscv/riscv-asm.h: New.
140 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
142         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
143         * config/rs6000/_divkc3.c (__divkc3): Likewise.
145         PR libgcc/83112
146         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
147         correct type for all ifunc resolvers to silence -Wattribute-alias
148         warnings.  Eliminate the forward declaration of the resolver
149         functions which is no longer needed.
150         (__subkf3_resolve): Likewise.
151         (__mulkf3_resolve): Likewise.
152         (__divkf3_resolve): Likewise.
153         (__negkf2_resolve): Likewise.
154         (__eqkf2_resolve): Likewise.
155         (__nekf2_resolve): Likewise.
156         (__gekf2_resolve): Likewise.
157         (__gtkf2_resolve): Likewise.
158         (__lekf2_resolve): Likewise.
159         (__ltkf2_resolve): Likewise.
160         (__unordkf2_resolve): Likewise.
161         (__extendsfkf2_resolve): Likewise.
162         (__extenddfkf2_resolve): Likewise.
163         (__trunckfsf2_resolve): Likewise.
164         (__trunckfdf2_resolve): Likewise.
165         (__fixkfsi_resolve): Likewise.
166         (__fixkfdi_resolve): Likewise.
167         (__fixunskfsi_resolve): Likewise.
168         (__fixunskfdi_resolve): Likewise.
169         (__floatsikf_resolve): Likewise.
170         (__floatdikf_resolve): Likewise.
171         (__floatunsikf_resolve): Likewise.
172         (__floatundikf_resolve): Likewise.
173         (__extendkftf2_resolve): Likewise.
174         (__trunctfkf2_resolve): Likewise.
176         PR libgcc/83103
177         * config/rs6000/quad-float128.h (TF): Don't define if long double
178         is IEEE 128-bit floating point.
179         (TCtype): Define as either TCmode or KCmode, depending on whether
180         long double is IEEE 128-bit floating point.
181         (__mulkc3_sw): Add declarations for software/hardware versions of
182         complex multiply/divide.
183         (__divkc3_sw): Likewise.
184         (__mulkc3_hw): Likewise.
185         (__divkc3_hw): Likewise.
186         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
187         handlers to switch between using software emulation and hardware
188         float128 instructions, build the complex multiply/divide functions
189         for both software and hardware support.
190         * config/rs6000/_divkc3.c (_divkc3): Likewise.
191         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
192         (__divkc3_resolve): Likewise.
193         (__mulkc3): Likewise.
194         (__divkc3): Likewise.
195         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
196         (fp128_hw_src): Likewise.
197         (fp128_hw_static_obj): Likewise.
198         (fp128_hw_shared_obj): Likewise.
199         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
200         _mulkc3.c and _divkc3.c, changing the function name.
201         (_divkc3-hw.c): Likewise.
202         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
203         and _divkc3-hw.c.
205 2017-11-26  Julia Koval  <julia.koval@intel.com>
207         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
208         * config/i386/cpuinfo.h (processor_subtypes): Add
209         INTEL_COREI7_CANNONLAKE.
211 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
213         PR bootstrap/83015
214         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
215         parameter.
216         * config/xtensa/unwind-dw2-xtensa.c: Likewise
217         * config/ia64/unwind-ia64.c: Add frames parameter.
218         * unwind-sjlj.c: Likewise.
220 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
222         * config/i386/linux-unwind.h: Include
223         config/i386/shadow-stack-unwind.h.
224         * config/i386/shadow-stack-unwind.h: New file.
225         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
226         pass it to _Unwind_Frames_Extra.
227         * unwind-generic.h (_Unwind_Frames_Extra): New.
228         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
229         parameter. Add local variable frames to count number of frames.
230         (_Unwind_ForcedUnwind_Phase2): Likewise.
231         (_Unwind_RaiseException): Add local variable frames to count
232         number of frames, pass it to _Unwind_RaiseException_Phase2 and
233         uw_install_context.
234         (_Unwind_ForcedUnwind): Likewise.
235         (_Unwind_Resume): Likewise.
236         (_Unwind_Resume_or_Rethrow): Likewise.
238 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
240         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
241         (CET_FLAGS): New.
242         * config/i386/morestack.S: Include <cet.h>.
243         (__morestack_large_model): Add _CET_ENDBR at function entrance.
244         * config/i386/resms64.h: Include <cet.h>.
245         * config/i386/resms64f.h: Likewise.
246         * config/i386/resms64fx.h: Likewise.
247         * config/i386/resms64x.h: Likewise.
248         * config/i386/savms64.h: Likewise.
249         * config/i386/savms64f.h: Likewise.
250         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
251         (CRTSTUFF_T_CFLAGS): Likewise.
252         * configure.ac: Include ../config/cet.m4.
253         Set and substitute CET_FLAGS.
254         * configure: Regenerated.
256 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
258         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
259         renaming.
260         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
261         * configure.ac (libgcc_cv_solaris_crts): Likewise.
262         * configure: Regenerate.
264 2017-11-07  Tom de Vries  <tom@codesourcery.com>
266         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
267         after "do {} while (0)".
269 2017-11-07  Tom de Vries  <tom@codesourcery.com>
271         PR other/82784
272         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
273         semicolon after "do {} while (0)".
274         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
275         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
276         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
277         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
279 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
281         PR libgcc/82635
282         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
283         sysctl to determine whether we're in a trampoline.
284         Keep the pattern matching method for systems without
285         KERN_PROC_SIGTRAMP sysctl.
287 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
288             Vineet Gupta <vgupta@synopsys.com>
290         * config.host (arc*-*-linux*): Set md_unwind_header variable.
291         * config/arc/linux-unwind-reg.def: New file.
292         * config/arc/linux-unwind-reg.h: Likewise.
294 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
296         * config/rl78/subdi3.S: New assembly file.
297         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
299 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
301         * config/rl78/adddi3.S: New assembly file.
302         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
304 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
306         PR target/82274
307         * libgcc2.c (__mulvDI3): If both operands have
308         the same highpart of -1 and the topmost bit of lowpart is 0,
309         multiplication overflows even if both lowparts are 0.
311 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
313         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
315 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
317         * config/microblaze/crti.S, config/microblaze/crtn.S,
318         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
319         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
320         config/microblaze/mulsi3.S,
321         config/microblaze/stack_overflow_exit.S,
322         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
323         config/pa/milli64.S: Add .note.GNU-stack section.
325 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
327         * configure.ac: Add Check for HAVE_AS_AVX.
328         * config.in: Regenerate.
329         * configure: Likewise.
330         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
331         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
332         Correct out-of-date comments.
334 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
336         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
337         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
339 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
341         * config/i386/i386-asm.h (PASTE2): New macro.
342         (ASMNAME): Modify to use PASTE2.
343         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
344         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
345         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
346         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
347         * config/i386/resms64f.S: Likewise.
348         * config/i386/resms64fx.S: Likewise.
349         * config/i386/resms64x.S: Likewise.
350         * config/i386/savms64.S: Likewise.
351         * config/i386/savms64f.S: Likewise.
352         * config/i386/avx_resms64.S: New file that only defines a macro and
353         includes it's corresponding header file.
354         * config/i386/avx_resms64f.S: Likewise.
355         * config/i386/avx_resms64fx.S: Likewise.
356         * config/i386/avx_resms64x.S: Likewise.
357         * config/i386/avx_savms64.S: Likewise.
358         * config/i386/avx_savms64f.S: Likewise.
359         * config/i386/sse_resms64.S: Likewise.
360         * config/i386/sse_resms64f.S: Likewise.
361         * config/i386/sse_resms64fx.S: Likewise.
362         * config/i386/sse_resms64x.S: Likewise.
363         * config/i386/sse_savms64.S: Likewise.
364         * config/i386/sse_savms64f.S: Likewise.
365         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
367 2017-09-01  Olivier Hainque  <hainque@adacore.com>
369         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
371 2017-08-31  Olivier Hainque  <hainque@adacore.com>
373         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
374         match as powerpc-wrs-vxworks*.
376 2017-08-07  Jonathan Yong  <10walls@gmail.com>
378         * config.host (*-cygwin): Include file from mingw
379         config/i386/enable-execute-stack-mingw32.c
381 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
382             Doug Rupp  <rupp@adacore.com>
383             Olivier Hainque  <hainque@adacore.com>
385         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
386         as well as arm-wrs-vxworks.
387         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
388         LIB2ADDEH.
389         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
390         __exidx_start and __exidx_end for downloadable modules.
392 2017-08-01  Olivier Hainque  <hainque@adacore.com>
394         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
395         * config/t-vxworks7: Likewise.
397 2017-08-01  Olivier Hainque  <hainque@adacore.com>
399         * config/t-vxworks: Instead of redefining LIB2ADD,
400         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
402 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
404         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
406 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
408         PR testsuite/80759
409         * config.host: include i386/t-msabi for darwin and solaris.
410         * config/i386/i386-asm.h
411         (ELFFN): Rename to FN_TYPE.
412         (FN_SIZE): New macro.
413         (FN_HIDDEN): Likewise.
414         (ASMNAME): Likewise.
415         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
416         .globl.
417         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
418         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
419         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
420         .macro.
421         * config/i386/resms64f.S: Likewise.
422         * config/i386/resms64fx.S: Likewise.
423         * config/i386/resms64x.S: Likewise.
424         * config/i386/savms64.S: Likewise.
425         * config/i386/savms64f.S: Likewise.
427 2017-07-19  John Marino  <gnugcc@marino.st>
429         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
431 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
433         PR target/81193
434         * configure.ac (PowerPC float128 hardware support): Test whether
435         we can use __builtin_cpu_supports before enabling the ifunc
436         handler.
437         * configure: Regenerate.
439 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
441         * config.host: Remove uclibc from arc target spec.
443 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
445         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
447 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
449         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
450         (have_ieee_hw_p): Delete function.
451         (SW_OR_HW) Use __builtin_cpu_supports().
453 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
455         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
457 2017-07-03  Olivier Hainque  <hainque@adacore.com>
459         * config/t-vxworks7: New file, really.
461 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
463         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
464         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
465         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
466         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
467         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
468         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
469         config/pa/linux-unwind.h (pa32_fallback_frame_state),
470         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
471         config/sh/linux-unwind.h (sh_fallback_frame_state),
472         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
473         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
474         ucontext_t instead of struct ucontext.
476 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
478         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
479         (x86_64-wrs-vxworks7): Likewise.
481 2017-06-27  Olivier Hainque  <hainque@adacore.com>
483         * config/t-vxworks7: New file.
484         * config.host (*-*-vxworks7): Use it.
486 2017-06-22  Matt Turner  <mattst88@gmail.com>
488         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
489         skylake case.
491 2017-06-21  Richard Biener  <rguenther@suse.de>
493         PR gcov-profile/81080
494         * configure.ac: Add AC_SYS_LARGEFILE.
495         * libgcov.h: Include auto-target.h before tsystem.h to pick
496         up _FILE_OFFSET_BITS which might differ for multilibs.
497         * config.in: Regenerate.
498         * configure: Likewise.
500 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
502         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
504 2017-06-09  Martin Liska  <mliska@suse.cz>
506         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
507         Reset __gcov_indirect_call_callee to NULL.
509 2017-06-08  Olivier Hainque  <hainque@adacore.com>
511         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
512         the set of -I options, support for direct inclusions of net/uio.h
513         by VxWorks header files via ioLib.h.
515 2017-06-07  Tony Reix  <tony.reix@atos.net>
516             Matthieu Sarter  <matthieu.sarter.external@atos.net>
517             David Edelsohn  <dje.gcc@gmail.com>
519         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
520         unconditionally.
521         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
522         AIX 7.2 support.
524 2017-06-02  Olivier Hainque  <hainque@adacore.com>
526         * config/vxlib.c (__gthread_once): Add missing value to
527         return statement.
529 2017-05-30  Olivier Hainque  <hainque@adacore.com>
531         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
532         dollar sign before $(MULTIDIR).
534 2017-05-26  Richard Henderson  <rth@redhat.com>
536         PR libgcc/80037
537         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
539 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
541         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
542         _Unwind_SetIP available as functions for arm*-*-freebsd*.
543         * config/arm/unwind-arm.c: Implement the above.
545 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
547         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
548         section for a non-executable stack.
550 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
552         PR target/80600
553         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
555 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
557         * config.host: Add i386/t-msabi to i386/t-linux file list.
558         * config/i386/i386-asm.h: New file.
559         * config/i386/resms64.S: New file.
560         * config/i386/resms64f.S: New file.
561         * config/i386/resms64fx.S: New file.
562         * config/i386/resms64x.S: New file.
563         * config/i386/savms64.S: New file.
564         * config/i386/savms64f.S: New file.
565         * config/i386/t-msabi: New file.
567 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
569         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
570         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
572 2017-05-05  Joshua Conner  <joshconner@google.com>
574         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
575         pc-relative indirect handling for fuchsia.
576         * config/t-slibgcc-fuchsia: New file.
577         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
578         x86_64-*-fuchsia*): Add definitions.
580 2017-04-19  Martin Liska  <mliska@suse.cz>
582         PR gcov-profile/80435
583         * Makefile.in: Install gcov.h.
584         * gcov.h: New file.
585         * libgcov.h: Use the header and make __gcov_flush publicly
586         visible.
588 2017-04-18  Martin Liska  <mliska@suse.cz>
590         PR gcov-profile/78783
591         * libgcov-driver.c (gcov_get_filename): New function.
593 2017-04-07  Jeff Law  <law@redhat.com>
595         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
596         target makefile fragment.
597         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
599 2017-04-07  Alan Modra  <amodra@gmail.com>
601         PR target/45053
602         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
604 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
606         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
608 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
610         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
612 2017-03-10  John Marino  <gnugcc@marino.st>
614         * config/aarch64/freebsd-unwind.h: New file.
615         * config.host: Add aarch64-*-freebsd unwinder.
617 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
619         * config/rs6000/crtrestvr.s: Use .machine altivec.
620         * config/rs6000/crtsavevr.s: Ditto.
622 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
624         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
625         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
626         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
627         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
628         * configure: Regenerate.
629         * config.in: Regenerate.
631 2017-03-02  Jonathan Yong <10walls@gmail.com>
633         * config/i386/gthr-win32.h: Define NOGDI before
634         windows.h include to prevent w32api CC_NONE macro
635         clash with libgfortran.
637 2017-03-02  Jonathan Yong <10walls@gmail.com>
639         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
641 2017-02-16  Andrew Pinski  <apinski@cavium.com>
643         * config/aarch64/value-unwind.h: New file.
644         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
645         to tm_file.
647 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
649         * config.host: Add RISC-V tuples.
650         * config/riscv/atomic.c: New file.
651         * config/riscv/crti.S: Likewise.
652         * config/riscv/crtn.S: Likewise.
653         * config/riscv/div.S: Likewise.
654         * config/riscv/linux-unwind.h: Likewise.
655         * config/riscv/muldi3.S: Likewise.
656         * config/riscv/multi3.S: Likewise.
657         * config/riscv/save-restore.S: Likewise.
658         * config/riscv/sfp-machine.h: Likewise.
659         * config/riscv/t-elf: Likewise.
660         * config/riscv/t-elf32: Likewise.
661         * config/riscv/t-elf64: Likewise.
662         * config/riscv/t-softfp32: Likewise.
663         * config/riscv/t-softfp64: Likewise.
665 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
667         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
668         /* FALLTHRU */ comments.
670 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
672         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
674 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
676         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
677         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
678         DW_CFA_GNU_window_save for AArch64 and LP64.
680 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
682         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
684 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
686         * config/aarch64/aarch64-unwind.h: New file.
687         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
688         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
689         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
690         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
691         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
692         (aarch64_post_extract_frame_addr): New function.
693         (aarch64_post_frob_eh_handler_addr): New function.
694         (aarch64_frob_update_context): New function.
695         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
696         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
697         aarch64*-*-freebsd*):
698         Initialize md_unwind_header to include aarch64-unwind.h.
699         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
700         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
701         __aarch64__.
702         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
703         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
704         (uw_frob_return_addr): New function.
705         (uw_install_context): Use uw_frob_return_addr.
707 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
709         PR other/79046
710         * configure.ac: Add GCC_BASE_VER.
711         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
712         version from BASE-VER file.
713         * configure: Regenerated.
715 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
717         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
718         libmul_f5.a): Filter archived prerequisites.
720 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
722         * config/i386/cpuinfo.h (processor_features): Add
723         FEATURE_AVX512VPOPCNTDQ.
724         * config/i386/cpuinfo.c (get_available_features): Habdle new
725         feature.
727 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
729         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
730         payload if [__mips_nan2008].
732 2017-01-04  Alan Modra  <amodra@gmail.com>
734         * Makefile.in (configure_deps): Update.
735         * configure: Regenerate.
737 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
739         Update copyright years.
741 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
743         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
744         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
745         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
747 2016-12-17  Matthias Klose  <doko@ubuntu.com>
749         * config/arc/gmon: Remove empty directory.
751 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
753         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
754         crtgend.
755         (arc*-*-elf*): Likewise.
756         * config/arc/t-arc: Remove old gmon lib targets.
757         * config/arc/crtg.S: Remove.
758         * config/arc/crtgend.S: Likewise.
759         * config/arc/gmon/atomic.h: Likewise.
760         * config/arc/gmon/auxreg.h: Likewise.
761         * config/arc/gmon/dcache_linesz.S: Likewise.
762         * config/arc/gmon/gmon.c: Likewise.
763         * config/arc/gmon/machine-gmon.h: Likewise.
764         * config/arc/gmon/mcount.c: Likewise.
765         * config/arc/gmon/prof-freq-stub.S: Likewise.
766         * config/arc/gmon/prof-freq.c: Likewise.
767         * config/arc/gmon/profil.S: Likewise.
768         * config/arc/gmon/sys/gmon.h: Likewise.
769         * config/arc/gmon/sys/gmon_out.h: Likewise.
770         * config/arc/t-arc-newlib: Likewise.
771         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
773 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
775         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
777 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
779         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
780         R16 instead of push + pop.
781         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
783 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
785         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
786         tmake_file.
788 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
790         * config.host (arc*-*-linux-uclibc*): Use default extra
791         objects. Include linux-android header.
792         * config/arc/crti.S (_init): Declare symbol as function.
793         (_fini): Likewise.
795 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
797         PR fortran/78379
798         * config/i386/cpuinfo.c:  Move denums for processor vendors,
799         processor type, processor subtypes and declaration of
800         struct __processor_model into
801         * config/i386/cpuinfo.h:  New header file.
803 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
804             Thomas Preud'homme  <thomas.preudhomme@arm.com>
806         * config/arm/cmse_nonsecure_call.S: New.
807         * config/arm/t-arm: Compile cmse_nonsecure_call.S
809 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
810             Thomas Preud'homme  <thomas.preudhomme@arm.com>
812         * config/arm/t-arm (HAVE_CMSE): New.
813         * config/arm/cmse.c: New.
815 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
817         PR gcc/74748
818         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
819         use generic linker version information on Blackfin.
821         PR gcc/74748
822         * libgcc/mkmap-symver.awk: add support for skip_underscore
824 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
825             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
827         PR target/67710
828         *  config/t-darwin: Default builds to 10.5 codegen.
830 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
832         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
833         (_FP_NANSIGN_H): Likewise.
834         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
835         (softfp_truncations): Add tfhf.
836         (softfp_extras): Add required conversion functions.
838 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
839             Matthew Wahab  <matthew.wahab@arm.com>
841         * config/arm/fp16.c (binary64): New.
842         (__gnu_d2h_internal): New.
843         (__gnu_d2h_ieee): New.
844         (__gnu_d2h_alternative): New.
846 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
847             Matthew Wahab  <matthew.wahab@arm.com>
849         * config/arm/fp16.c (struct format): New.
850         (binary32): New.
851         (__gnu_float2h_internal): New.  Body moved from
852         __gnu_f2h_internal and generalize.
853         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
854         Call it with binary32.
856 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
858         * soft-fp/extendhftf2.c: Update from glibc.
859         * soft-fp/fixhfti.c: Likewise.
860         * soft-fp/fixunshfti.c: Likewise.
861         * soft-fp/floattihf.c: Likewise.
862         * soft-fp/floatuntihf.c: Likewise.
863         * soft-fp/half.h: Likewise.
864         * soft-fp/trunctfhf2.c: Likewise.
866 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
868         PR libgcc/77813
869         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
870         __TMC_END__ behind a passthrough asm.
872 2016-11-18  Walter Lee  <walt@tilera.com>
874         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
876 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
878         * config/i386/cpuinfo.c (processor_features): Add
879         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
881 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
883         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
884         (__ARC_NORM__): Use instead ARC_OPTFPE.
885         * config/arc/fp-hack.h: Likewise.
886         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
887         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
889 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
891         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
892         * config/nvptx/mgomp.c: New file.
893         * config/nvptx/t-nvptx: Add mgomp.c
895 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
897         PR libgcc/68468
898         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
900 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
902         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
903         of checking for cpus.
904         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
905         (__modsi3, __clzsi2): Likewise.
907 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
909         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
910         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
911         * config/i386/t-cpuinfo-static: New.
913 2016-11-03  Martin Liska  <mliska@suse.cz>
915         * libgcov-profiler.c (__gcov_time_profiler): Remove.
916         (__gcov_time_profiler_atomic): Likewise.
918 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
920         PR libgcc/78067
921         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
922         count_leading_zeros.
924 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
926         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
927         * libgcc2.c (__divmoddi4): New function.
928         * libgcc2.h (__divmoddi4): Declare.
929         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
930         and __PFX_divmodti4.
932 2016-10-24  Florian Weimer  <fweimer@redhat.com>
934         PR libgcc/78064
935         * unwind-c.c: Include auto-target.h.
937 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
939         * config/pa/pa64-hpux-lib.h: New file.
940         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
941         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
942         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
943         hppa*64*-*-hpux11*.
945 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
947         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
948         definition.
949         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
950         definition.
951         * config/xtensa/t-windowed (LIB2ADDEH): Use
952         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
953         or xtensa/t-linux.
955 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
957         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
958         __ieee754_sqrt): New functions.
959         (__divdf3): Add implementation with new FPU instructions under
960         #if XCHAL_HAVE_DFP_DIV.
961         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
962         __ieee754_sqrtf): New functions.
963         (__divsf3): Add implementation with new FPU instructions under
964         #if XCHAL_HAVE_FP_DIV.
965         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
966         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
968 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
970         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
971         equivalent.
972         * config/tilepro/atomic.c: Likewise and stop casting model to
973         enum memmodel.
975 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
977         PR target/77586
978         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
979         soft-fp.
981 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
983         * config.host: Add support for aarch64-*-freebsd*.
985 2016-10-05  Andreas Schwab  <schwab@suse.de>
987         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
988         (.section .init_array): Don't call __do_jv_register_classes.
989         (.section .init): Likewise.
991 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
993         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
994         (__JCR_LIST__): Remove.
995         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
996         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
997         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
998         * config/ia64/crtend.S (__JCR_END__): Remove.
999         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1000         conditionals.
1001         (__JCR_LIST__, __JCR_END__): Remove.
1002         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1003         (__do_global_ctors_1): Likewise.
1005 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
1007         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1008         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1010 2016-09-27  Martin Liska  <mliska@suse.cz>
1012         PR gcov-profile/7970
1013         PR gcov-profile/16855
1014         PR gcov-profile/44779
1015         * libgcov-driver.c (__gcov_init): Do not register a atexit
1016         handler.
1017         (__gcov_exit): Rename from gcov_exit.
1018         * libgcov.h (__gcov_exit): Declare.
1020 2016-09-27  Martin Liska  <mliska@suse.cz>
1022         PR bootstrap/77749
1023         * Makefile.in: Remove _gcov_merge_delta.
1024         * libgcov-merge.c (void __gcov_merge_delta): Remove.
1025         * libgcov-util.c (__gcov_delta_counter_op): Remove.
1026         * libgcov.h: Remove declaration of __gcov_merge_delta.
1028 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
1030         * configure.ac: Do not create links, only substitute the filenames.
1031         * configure: Regenerate.
1032         * Makefile.in: Assign the substitution results to variables.
1033         (LIBGCC_LINKS): Define.
1034         (enable-execute-stack.c): New rule.
1035         (unwind.h): Likewise.
1036         (md-unwind-support.h): Likewise.
1037         (sfp-machine.h): Likewise.
1038         (gthr-default.h): Likewise.
1039         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1040         unwind.h as prerequisite of install-unwind_h-forbuild.
1042 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
1044         PR libgcc/71744
1045         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1046         is not the primary registry and atomics are available.
1047         (any_objects_registered): New variable.
1048         (__register_frame_info_bases, __register_frame_info_table_bases):
1049         Atomically store 1 to any_objects_registered after registering first
1050         unwind info.
1051         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1053 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
1055         PR target/63250
1056         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1057         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1058         (HFtype): Likewise.
1059         (HCtype): Likewise.
1060         (__divhc3): Likewise.
1061         (__mulhc3): Likewise.
1062         * libgcc2.c: Support _mulhc3 and _divhc3.
1064 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
1066         PR libgcc/77519
1067         * libgcc2.c (NOTRUNC): Invert settings.
1069 2016-09-06  Martin Liska  <mliska@suse.cz>
1071         PR gcov-profile/77378
1072         PR gcov-profile/77466
1073         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1074         conditionaly enable/disable *_atomic functions.
1076 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
1078         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1079         where not already enabled.
1081 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1083         * config/mips/linux-unwind.h: Use sys/syscall.h.
1085 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
1087         PR libgcc/77265
1088         * soft-fp/adddf3.c: Update from glibc.
1089         * soft-fp/addsf3.c: Likewise.
1090         * soft-fp/addtf3.c: Likewise.
1091         * soft-fp/divdf3.c: Likewise.
1092         * soft-fp/divsf3.c: Likewise.
1093         * soft-fp/divtf3.c: Likewise.
1094         * soft-fp/double.h: Likewise.
1095         * soft-fp/eqdf2.c: Likewise.
1096         * soft-fp/eqsf2.c: Likewise.
1097         * soft-fp/eqtf2.c: Likewise.
1098         * soft-fp/extenddftf2.c: Likewise.
1099         * soft-fp/extended.h: Likewise.
1100         * soft-fp/extendsfdf2.c: Likewise.
1101         * soft-fp/extendsftf2.c: Likewise.
1102         * soft-fp/extendxftf2.c: Likewise.
1103         * soft-fp/fixdfdi.c: Likewise.
1104         * soft-fp/fixdfsi.c: Likewise.
1105         * soft-fp/fixdfti.c: Likewise.
1106         * soft-fp/fixsfdi.c: Likewise.
1107         * soft-fp/fixsfsi.c: Likewise.
1108         * soft-fp/fixsfti.c: Likewise.
1109         * soft-fp/fixtfdi.c: Likewise.
1110         * soft-fp/fixtfsi.c: Likewise.
1111         * soft-fp/fixtfti.c: Likewise.
1112         * soft-fp/fixunsdfdi.c: Likewise.
1113         * soft-fp/fixunsdfsi.c: Likewise.
1114         * soft-fp/fixunsdfti.c: Likewise.
1115         * soft-fp/fixunssfdi.c: Likewise.
1116         * soft-fp/fixunssfsi.c: Likewise.
1117         * soft-fp/fixunssfti.c: Likewise.
1118         * soft-fp/fixunstfdi.c: Likewise.
1119         * soft-fp/fixunstfsi.c: Likewise.
1120         * soft-fp/fixunstfti.c: Likewise.
1121         * soft-fp/floatdidf.c: Likewise.
1122         * soft-fp/floatdisf.c: Likewise.
1123         * soft-fp/floatditf.c: Likewise.
1124         * soft-fp/floatsidf.c: Likewise.
1125         * soft-fp/floatsisf.c: Likewise.
1126         * soft-fp/floatsitf.c: Likewise.
1127         * soft-fp/floattidf.c: Likewise.
1128         * soft-fp/floattisf.c: Likewise.
1129         * soft-fp/floattitf.c: Likewise.
1130         * soft-fp/floatundidf.c: Likewise.
1131         * soft-fp/floatundisf.c: Likewise.
1132         * soft-fp/floatunditf.c: Likewise.
1133         * soft-fp/floatunsidf.c: Likewise.
1134         * soft-fp/floatunsisf.c: Likewise.
1135         * soft-fp/floatunsitf.c: Likewise.
1136         * soft-fp/floatuntidf.c: Likewise.
1137         * soft-fp/floatuntisf.c: Likewise.
1138         * soft-fp/floatuntitf.c: Likewise.
1139         * soft-fp/gedf2.c: Likewise.
1140         * soft-fp/gesf2.c: Likewise.
1141         * soft-fp/getf2.c: Likewise.
1142         * soft-fp/ledf2.c: Likewise.
1143         * soft-fp/lesf2.c: Likewise.
1144         * soft-fp/letf2.c: Likewise.
1145         * soft-fp/muldf3.c: Likewise.
1146         * soft-fp/mulsf3.c: Likewise.
1147         * soft-fp/multf3.c: Likewise.
1148         * soft-fp/negdf2.c: Likewise.
1149         * soft-fp/negsf2.c: Likewise.
1150         * soft-fp/negtf2.c: Likewise.
1151         * soft-fp/op-1.h: Likewise.
1152         * soft-fp/op-2.h: Likewise.
1153         * soft-fp/op-4.h: Likewise.
1154         * soft-fp/op-8.h: Likewise.
1155         * soft-fp/op-common.h: Likewise.
1156         * soft-fp/quad.h: Likewise.
1157         * soft-fp/single.h: Likewise.
1158         * soft-fp/soft-fp.h: Likewise.
1159         * soft-fp/subdf3.c: Likewise.
1160         * soft-fp/subsf3.c: Likewise.
1161         * soft-fp/subtf3.c: Likewise.
1162         * soft-fp/truncdfsf2.c: Likewise.
1163         * soft-fp/trunctfdf2.c: Likewise.
1164         * soft-fp/trunctfsf2.c: Likewise.
1165         * soft-fp/trunctfxf2.c: Likewise.
1166         * soft-fp/unorddf2.c: Likewise.
1167         * soft-fp/unordsf2.c: Likewise.
1168         * soft-fp/unordtf2.c: Likewise.
1170 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
1172         PR gcov-profile/67097
1173         * libgcov-util.c (gcov_profile_merge): Skip missing files.
1175 2016-08-10  Martin Liska  <mliska@suse.cz>
1177         PR gcov-profile/58306
1178         * Makefile.in: New functions (modules) are added.
1179         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1180         function.
1181         (__gcov_pow2_profiler_atomic): New function.
1182         (__gcov_one_value_profiler_body): New argument is instroduced.
1183         (__gcov_one_value_profiler): Call with the new argument.
1184         (__gcov_one_value_profiler_atomic): Likewise.
1185         (__gcov_indirect_call_profiler_v2): Likewise.
1186         (__gcov_time_profiler_atomic): New function.
1187         (__gcov_average_profiler_atomic): Likewise.
1188         (__gcov_ior_profiler_atomic): Likewise.
1189         * libgcov.h: Declare the aforementioned functions.
1191 2016-08-09  Martin Liska  <mliska@suse.cz>
1193         * libgcov-util.c: Fix typo and GNU coding style.
1195 2016-08-09  Martin Liska  <mliska@suse.cz>
1197         * Makefile.in: Remove __gcov_indirect_call_profiler.
1198         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1199         function.
1200         * libgcov.h: And the declaration of the function.
1202 2016-08-09  Martin Liska  <mliska@suse.cz>
1204         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1205         power of two.
1207 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1209         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1210         * config/rs6000/_mulkc3.c: Likewise.
1212 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
1214         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1215         zero_reg as previous call to __umulhisi3 already cleared it.
1217 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
1219         PR target/59833
1220         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1222 2016-07-19  Nick Clifton  <nickc@redhat.com>
1224         * config.host (m32r): Add m32r/t-m32r to tmake_file.
1225         Add crtinit.o and crtfini.o to extra_parts.
1227 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1229         * config/rs6000/_divkc3.c: New.
1230         * config/rs6000/_mulkc3.c: New.
1231         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1232         and _divkc3.
1233         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1234         fp128_ppc_funcs.
1236 2016-07-11  Hale Wang  <hale.wang@arm.com>
1237             Andre Vieira  <andre.simoesdiasvieira@arm.com>
1239         * config/arm/lib1funcs.S: Add new wrapper.
1241 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1243         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1245 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1247         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1248         and ARMv5t* rather than for a fixed list of architectures.
1250 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1252         * config/arm/bpabi-v6m.S: Clarify what architectures is the
1253         implementation suitable for.
1254         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1255         for all Thumb-1 only targets.
1256         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1257         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1258         __ARM_ARCH_6M__.
1259         (EQUIV): Likewise.
1260         (ARM_FUNC_ALIAS): Likewise.
1261         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1262         version.
1263         (modsi3): Likewise.
1264         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1265         (clzdi2): Likewise.
1266         (ctzsi2): Likewise.
1267         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1268         __ARM_ARCH_6M__ in guard for checking whether it is defined.
1269         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1270         __ARM_ARCH_6M__ and add comment to indicate the connection between
1271         this condition and the one in gcc/config/arm/elf.h.
1272         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1273         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1274         * config/arm/t-softfp: Likewise.
1276 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1278         * libgcc2.c (SYMBOL__MAIN): Remove checks for
1279         CTOR_LISTS_DEFINED_EXTERNALLY.
1281 2016-06-28  Walter Lee  <walt@tilera.com>
1283         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
1284         asm/unistd.h.
1285         (SPR_CMPEXCH_VALUE): Define for tilegx.
1286         (__NR_FAST_cmpxchg): Define for tilepro.
1287         (__NR_FAST_atomic_update): Define for tilepro.
1288         (__NR_FAST_cmpxchg64): Define for tilepro.
1290 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
1292         * config.host: Add suport for arm*-*-phoenix* targets.
1294 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1296         * config.host: Remove support for mep-*.
1297         * config/mep/lib1funcs.S: Remove.
1298         * config/mep/lib2funcs.c: Remove.
1299         * config/mep/t-mep: Remove.
1300         * config/mep/tramp.c: Remove.
1302 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1304         * config.host: Remove support for avr-rtems.
1305         * config/avr/t-rtems: Remove.
1307 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1309         * config.host: Remove m32r-rtems support.
1311 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1313         * config.host: Remove h8300-rtems support.
1315 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1317         * config.host: Remove support for knetbsd.
1319 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1321         * config.host: Remove support for openbsd 2 and 3.
1323 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1325         * config.host: Remove interix support.
1326         * config/i386/t-interix: Remove.
1328 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
1330         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
1331         least-significant bit in function pointer for fixup.
1333 2016-06-05  Aaron Conole  <aconole@redhat.com>
1334             Nathan Sidwell  <nathan@acm.org>
1336         PR libgcc/71400
1337         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
1338         (get_gcov_error_file): Check __gcov_error_file before trying to
1339         initialize it.
1340         (gcov_error): Always use get_gcov_error_file.
1342 2016-06-02  Aaron Conole  <aconole@redhat.com>
1344         * libgcov-driver-system.c (__gcov_error_file): New.
1345         (get_gcov_error_file): New.
1346         (gcov_error): Use and set __gcov_error_file.
1347         (gcov_error_exit): New.
1348         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
1350 2016-05-26  Nathan Sidwell  <nathan@acm.org>
1352         * config/nvptx/free.asm: Delete.
1353         * config/nvptx/malloc.asm: Delete.
1354         * config/nvptx/realloc.c: Delete.
1355         * t-nvptx: Update.
1357 2016-05-25  Nathan Sidwell  <nathan@acm.org>
1359         * config/nvptx/crt0.s: Delete.
1360         * config/nvptx/crt0.c: New.
1361         * t-nvptx: Update.
1363 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
1365         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
1366         dw2/seh configuration.
1367         [x86_64-*-mingw*]: Likewise.
1369 2016-05-10  Joel Sherrill <joel@rtems.org>
1371         PR libgcc/70720
1372         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
1373         targets so the same extra_parts are built.  Also have tmake_file add
1374         on to its value rather than override.
1376 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
1378         * config.host: Remove SH5 support.
1379         * configure: Likewise.
1381 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
1383         * config/sh/crt1.S: Remove SH5 support.
1384         * config/sh/crti.S: Likewise.
1385         * config/sh/crtn.S: Likewise.
1386         * config/sh/lib1funcs-4-300.S: Likewise.
1387         * config/sh/lib1funcs-Os-4-200.S: Likewise.
1388         * config/sh/lib1funcs.S: Likewise.
1389         * config/sh/linux-unwind.h: Likewise.
1390         * config/sh/t-sh64: Delete.
1392 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
1394         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
1396 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
1397             Joern Rennecke  <joern.rennecke@embecosm.com>
1399         * config/arc/crttls.S: New file.
1400         * config/arc/t-arc: New rule.
1401         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
1403 2016-04-25  Nick Clifton  <nickc@redhat.com>
1405         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
1406         (__mspabi_cmpd): Likewise.
1407         * config/msp430/floathidf.c (__floathidf): Likewise.
1408         * config/msp430/floathisf.c (__floathisf): Likewise
1409         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
1410         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
1411         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
1412         second parameter.
1413         (__ashrsi3): Likewise.
1415 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
1417         * config/m68k/linux-atomic.c: Do not include unistd.h
1419 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
1421         * config/arm/ieee754-df.S: Fix typos in comments.
1423 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
1425         PR target/70381
1426         * configure.ac (powerpc*-*-linux*): Rework tests to build
1427         __float128 emulation routines to not depend on using #pragma GCC
1428         target to enable -mfloat128.
1429         * configure: Regnerate.
1431 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
1433         PR target/67172
1434         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
1435         __MINGW32__ is defined.
1437 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
1439         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
1441 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
1443         PR libgcc/70363
1444         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
1445         built with an assembler that does not support ISA 3.0
1446         instructions, rename __extendkftf2_sw to __extendkftf2.
1448 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1450         PR target/38239
1451         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
1452         call-clobbered registers.
1453         (internal_mcount): Remove __i386__ handling.
1455 2016-02-26  Joel Sherrill <joel@rtems.org>
1457         * config.host: Add x86_64-*-rtems*.
1459 2016-02-26  Joel Sherrill <joel@rtems.org>
1461         * libgcc/config.host: Add aarch64-*-rtems*.
1463 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1464             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1466         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
1467         union of u64 and double.
1468         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
1469         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
1470         value.
1471         (FP_ROUNDMODE): Update the usage of _fpscr.
1473 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
1475         PR driver/68463
1476         * Makefile.in (crtoffloadtable$(objext)): New rule.
1477         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
1478         enable_offload_targets is not empty.
1479         * configure: Regenerate.
1480         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
1481         crtoffloadtable.
1483 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
1485         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
1486         .literal_position before the function.
1487         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
1488         Likewise.
1490 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
1492         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
1493         * config/s390/morestack.S: New file.
1494         * config/s390/t-stack-s390: New file.
1495         * generic-morestack.c (__splitstack_find): Add s390-specific code.
1497 2016-02-12  Walter Lee  <walt@tilera.com>
1499         * config.host (tilegx*-*-linux*): remove ti from
1500         softfp_int_modes for 32-bit configs.
1502 2016-02-10  Ian Lance Taylor  <iant@google.com>
1504         PR go/68562
1505         * config/i386/morestack.S (__stack_split_initialize): Align
1506         stack.
1508 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
1510         PR bootstrap/69611
1511         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
1512         __FLOAT128__ to compile only for __float128 capable targets.
1514 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
1516         PR target/69444
1517         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
1518         instead of ___NO_FPRS__.
1520 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
1521             Steven Munroe  <munroesj@linux.vnet.ibm.com>
1522             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
1524         * config/rs6000/float128-sed: New files to convert TF names to KF
1525         names for PowerPC IEEE 128-bit floating point support.
1526         * config/rs6000/float128-sed-hw: Likewise.
1528         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1529         floating point hardware support.
1531         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1532         128-bit floating point software emulation or use ISA 3.0 hardware
1533         support if it is available.
1535         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1536         floating point.
1538         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
1539         floating point to IBM extended double.
1541         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
1542         double to IEEE 128-bit floating point.
1544         * config/rs6000/t-float128: New Makefile fragments to enable
1545         building __float128 emulation support.
1546         * config/rs6000/t-float128-hw: Likewise.
1548         * config/rs6000/sfp-exceptions.c: New file to provide exception
1549         support for IEEE 128-bit floating point.
1551         * config/rs6000/floattikf.c: New files for converting between IEEE
1552         128-bit floating point and signed/unsigned 128-bit integers.
1553         * config/rs6000/fixunskfti.c: Likewise.
1554         * config/rs6000/fixkfti.c: Likewise.
1555         * config/rs6000/floatuntikf.c: Likewise.
1557         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1558         when building on 64-bit systems, or when VSX is enabled.
1559         (_FP_W_TYPE): Likewise.
1560         (_FP_WS_TYPE): Likewise.
1561         (_FP_I_TYPE): Likewise.
1562         (TItype): Define on 64-bit systems.
1563         (UTItype): Likewise.
1564         (TI_BITS): Likewise.
1565         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1566         (_FP_MUL_MEAT_Q): Likewise.
1567         (_FP_DIV_MEAT_D): Likewise.
1568         (_FP_DIV_MEAT_Q): Likewise.
1569         (_FP_NANFRAC_D): Likewise.
1570         (_FP_NANFRAC_Q): Likewise.
1571         (ISA_BIT): Add exception support if we are being compiled on a
1572         machine with hardware floating point support to build the IEEE
1573         128-bit emulation functions.
1574         (FP_EX_INVALID): Likewise.
1575         (FP_EX_OVERFLOW): Likewise.
1576         (FP_EX_UNDERFLOW): Likewise.
1577         (FP_EX_DIVZERO): Likewise.
1578         (FP_EX_INEXACT): Likewise.
1579         (FP_EX_ALL): Likewise.
1580         (__sfp_handle_exceptions): Likewise.
1581         (FP_HANDLE_EXCEPTIONS): Likewise.
1582         (FP_RND_NEAREST): Likewise.
1583         (FP_RND_ZERO): Likewise.
1584         (FP_RND_PINF): Likewise.
1585         (FP_RND_MINF): Likewise.
1586         (FP_RND_MASK): Likewise.
1587         (_FP_DECL_EX): Likewise.
1588         (FP_INIT_ROUNDMODE): Likewise.
1589         (FP_ROUNDMODE): Likewise.
1591         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1592         VSX code, enable IEEE 128-bit floating point.  If the compiler can
1593         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
1594         floating point hardware instructions and it supports declaring
1595         functions with the ifunc attribute, enable ifunc functions to
1596         switch between software and hardware support.
1597         * configure.ac (powerpc*-*-linux*): Likewise.
1598         * configure: Regenerate.
1600 2016-01-15  Nick Clifton  <nickc@redhat.com>
1602         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
1603         dependency as the source file to be compiled.
1604         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
1605         (lib2hw_mul_f5.o): Likewise.
1607 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
1609         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
1610         * libgcc/config/rs6000/fixkfti.c: Likewise.
1611         * libgcc/config/rs6000/fixunskfti.c: Likewise.
1612         * libgcc/config/rs6000/float128-hw.c: Likewise.
1613         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
1614         * libgcc/config/rs6000/float128-sed: Likewise.
1615         * libgcc/config/rs6000/floattikf.c: Likewise.
1616         * libgcc/config/rs6000/floatuntikf.c: Likewise.
1617         * libgcc/config/rs6000/quad-float128.h: Likewise.
1618         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
1619         * libgcc/config/rs6000/sfp-machine.h: Likewise.
1620         * libgcc/config/rs6000/t-float128: Likewise.
1621         * libgcc/config/rs6000/t-float128-hw: Likewise.
1622         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
1623         * libgcc/config.host: Likewise.
1624         * libgcc/configure: Likewise.
1625         * libgcc/configure.ac: Likewise.
1627 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
1628             Steven Munroe  <munroesj@linux.vnet.ibm.com>
1629             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
1631         * config/rs6000/sfp-exceptions.c: New file to provide exception
1632         support for IEEE 128-bit floating point.
1634         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1635         floating point hardware support.
1637         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
1638         point conversions.
1639         * config/rs6000/fixunskfti.c: Likewise.
1640         * config/rs6000/fixkfti.c: Likewise.
1641         * config/rs6000/floatuntikf.c: Likewise.
1642         * config/rs6000/extendkftf2-sw.c: Likewise.
1643         * config/rs6000/trunctfkf2-sw.c: Likewise.
1645         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1646         128-bit floating point software emulation or use ISA 3.0 hardware
1647         support if it is available.
1649         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1650         floating point.
1652         * config/rs6000/t-float128: New Makefile fragments to enable
1653         building __float128 emulation support.
1654         * config/rs6000/t-float128-hw: Likewise.
1656         * config/rs6000/float128-sed: New file to convert TF names to KF
1657         names for PowerPC IEEE 128-bit floating point support.
1659         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1660         when building on 64-bit systems, or when VSX is enabled.
1661         (_FP_W_TYPE): Likewise.
1662         (_FP_WS_TYPE): Likewise.
1663         (_FP_I_TYPE): Likewise.
1664         (TItype): Define on 64-bit systems.
1665         (UTItype): Likewise.
1666         (TI_BITS): Likewise.
1667         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1668         (_FP_MUL_MEAT_Q): Likewise.
1669         (_FP_DIV_MEAT_D): Likewise.
1670         (_FP_DIV_MEAT_Q): Likewise.
1671         (_FP_NANFRAC_D): Likewise.
1672         (_FP_NANFRAC_Q): Likewise.
1673         (ISA_BIT): Add exception support if we are being compiled on a
1674         machine with hardware floating point support to build the IEEE
1675         128-bit emulation functions.
1676         (FP_EX_INVALID): Likewise.
1677         (FP_EX_OVERFLOW): Likewise.
1678         (FP_EX_UNDERFLOW): Likewise.
1679         (FP_EX_DIVZERO): Likewise.
1680         (FP_EX_INEXACT): Likewise.
1681         (FP_EX_ALL): Likewise.
1682         (__sfp_handle_exceptions): Likewise.
1683         (FP_HANDLE_EXCEPTIONS): Likewise.
1684         (FP_RND_NEAREST): Likewise.
1685         (FP_RND_ZERO): Likewise.
1686         (FP_RND_PINF): Likewise.
1687         (FP_RND_MINF): Likewise.
1688         (FP_RND_MASK): Likewise.
1689         (_FP_DECL_EX): Likewise.
1690         (FP_INIT_ROUNDMODE): Likewise.
1691         (FP_ROUNDMODE): Likewise.
1693         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
1694         compiler can do __float128.
1695         * configure: Regenerate.
1697         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1698         VSX code, enable IEEE 128-bit floating point.
1700 2016-01-05  Olivier Hainque  <hainque@adacore.com>
1702         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
1703         specificities.
1705 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
1707         Update copyright years.
1709 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
1711         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
1712         soft-fp targets.
1714 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1716         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
1717         instead of abort to avoid dependency on stdlib.h.
1719 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
1721         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
1722         to initialize call to __dl_fixup once.
1724 2015-12-04  Nick Clifton  <nickc@redhat.com>
1726         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
1727         Allow for the second argument being negative.
1728         * config.host (extra_parts): Define for MSP430.  Create separate
1729         libraries for each of the hardware multiply formats.
1730         * config/msp430/lib2hw_mul.S: Build only the multiply routines
1731         that are needed.
1732         * config/msp430/lib2mul.c: Likewise.
1733         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
1734         Add rules to build hardware multiply libraries.
1735         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
1736         __mspabi_divul function.
1737         (__mspabi_divllu): New stub function.
1739 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
1741         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
1742         fixup values if saved GOT address doesn't match runtime address.
1743         (fixup_branch_offset): Reorder list.
1745 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1747         * Makefile.in (VTV_CFLAGS): New variable.
1748         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
1749         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
1750         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1751         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
1752         to extra_parts if $enable_vtable_verify = yes.
1754 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1756         PR target/68059
1757         * config/arm/linux-atomic-64bit.c (__write): Rename to...
1758         (write): ...this and fix the return type.
1760 2015-11-19  DJ Delorie  <dj@redhat.com>
1762         * config/msp430/lib2hw_mul.S: Fix alignment.
1764 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
1766         * config/nvptx/reduction.c: New.
1767         * config/nvptx/t-nvptx (LIB2ADD): Add it.
1769 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
1771         * config/rs6000/on_exit.c: New file.
1772         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
1773         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
1775 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
1777         * config/arc/dp-hack.h: Add support for ARCHS.
1778         * config/arc/ieee-754/divdf3.S: Likewise.
1779         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
1780         * config/arc/ieee-754/muldf3.S: Likewise.
1781         * config/arc/ieee-754/mulsf3.S: Likewise
1782         * config/arc/lib1funcs.S: Likewise
1783         * config/arc/gmon/dcache_linesz.S: Don't read the build register
1784         for ARCv2 cores.
1785         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
1786         for ARCv2 cores.
1787         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
1788         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
1789         cores.
1791 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1793         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
1794         value.
1795         * config/ia64/crtend.S: Likewise.
1797 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1799         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
1800         __CHAR_BIT__ instead of BITS_PER_UNIT.
1801         * fixed-bit.h: Likewise.
1802         * fp-bit.h: Likewise.
1803         * libgcc2.c (__popcountSI2): Likewise.
1804         (__popcountDI2): Likewise.
1805         * libgcc2.h: Likewise.
1806         * libgcov.h: Likewise.
1808 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
1810         * config/rs6000/atexit.c: New file.
1811         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
1812         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
1813         * config/rs6000/cxa_finalize.c
1814         (catomic_compare_and_exchange_bool_acq): Negate return value.
1816 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
1818         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
1819         (processor_subtypes): Add znver1.
1820         (get_amd_cpu): Detect znver1.
1822 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
1824         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
1825         Include crtfastmath.o.
1827 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
1829         PR libgcc/66883
1830         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1832 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
1834         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
1835         * config/rl78/divmodsi.S: Update return register to r8.
1836         * config/rl78/divmodhi.S: Update return register to r8,r9.
1837         Branch to main_loop_done_himode to pop registers before return.
1839 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
1841         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
1842         (__cpu_indicator_init): Fix model selection for AMD CPUs.
1844 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
1846         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
1848 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
1850         * config.host (xtensa*-*-uclinux*): New configuration.
1852 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
1854         * config/i386/cpuinfo.c (processor_features): Add
1855         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
1857 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
1859         * soft-fp/adddf3.c: Update from glibc.
1860         * soft-fp/addsf3.c: Likewise.
1861         * soft-fp/addtf3.c: Likewise.
1862         * soft-fp/divdf3.c: Likewise.
1863         * soft-fp/divsf3.c: Likewise.
1864         * soft-fp/divtf3.c: Likewise.
1865         * soft-fp/double.h: Likewise.
1866         * soft-fp/eqdf2.c: Likewise.
1867         * soft-fp/eqsf2.c: Likewise.
1868         * soft-fp/eqtf2.c: Likewise.
1869         * soft-fp/extenddftf2.c: Likewise.
1870         * soft-fp/extended.h: Likewise.
1871         * soft-fp/extendsfdf2.c: Likewise.
1872         * soft-fp/extendsftf2.c: Likewise.
1873         * soft-fp/extendxftf2.c: Likewise.
1874         * soft-fp/fixdfdi.c: Likewise.
1875         * soft-fp/fixdfsi.c: Likewise.
1876         * soft-fp/fixdfti.c: Likewise.
1877         * soft-fp/fixsfdi.c: Likewise.
1878         * soft-fp/fixsfsi.c: Likewise.
1879         * soft-fp/fixsfti.c: Likewise.
1880         * soft-fp/fixtfdi.c: Likewise.
1881         * soft-fp/fixtfsi.c: Likewise.
1882         * soft-fp/fixtfti.c: Likewise.
1883         * soft-fp/fixunsdfdi.c: Likewise.
1884         * soft-fp/fixunsdfsi.c: Likewise.
1885         * soft-fp/fixunsdfti.c: Likewise.
1886         * soft-fp/fixunssfdi.c: Likewise.
1887         * soft-fp/fixunssfsi.c: Likewise.
1888         * soft-fp/fixunssfti.c: Likewise.
1889         * soft-fp/fixunstfdi.c: Likewise.
1890         * soft-fp/fixunstfsi.c: Likewise.
1891         * soft-fp/fixunstfti.c: Likewise.
1892         * soft-fp/floatdidf.c: Likewise.
1893         * soft-fp/floatdisf.c: Likewise.
1894         * soft-fp/floatditf.c: Likewise.
1895         * soft-fp/floatsidf.c: Likewise.
1896         * soft-fp/floatsisf.c: Likewise.
1897         * soft-fp/floatsitf.c: Likewise.
1898         * soft-fp/floattidf.c: Likewise.
1899         * soft-fp/floattisf.c: Likewise.
1900         * soft-fp/floattitf.c: Likewise.
1901         * soft-fp/floatundidf.c: Likewise.
1902         * soft-fp/floatundisf.c: Likewise.
1903         * soft-fp/floatunditf.c: Likewise.
1904         * soft-fp/floatunsidf.c: Likewise.
1905         * soft-fp/floatunsisf.c: Likewise.
1906         * soft-fp/floatunsitf.c: Likewise.
1907         * soft-fp/floatuntidf.c: Likewise.
1908         * soft-fp/floatuntisf.c: Likewise.
1909         * soft-fp/floatuntitf.c: Likewise.
1910         * soft-fp/gedf2.c: Likewise.
1911         * soft-fp/gesf2.c: Likewise.
1912         * soft-fp/getf2.c: Likewise.
1913         * soft-fp/ledf2.c: Likewise.
1914         * soft-fp/lesf2.c: Likewise.
1915         * soft-fp/letf2.c: Likewise.
1916         * soft-fp/muldf3.c: Likewise.
1917         * soft-fp/mulsf3.c: Likewise.
1918         * soft-fp/multf3.c: Likewise.
1919         * soft-fp/negdf2.c: Likewise.
1920         * soft-fp/negsf2.c: Likewise.
1921         * soft-fp/negtf2.c: Likewise.
1922         * soft-fp/op-1.h: Likewise.
1923         * soft-fp/op-2.h: Likewise.
1924         * soft-fp/op-4.h: Likewise.
1925         * soft-fp/op-8.h: Likewise.
1926         * soft-fp/op-common.h: Likewise.
1927         * soft-fp/quad.h: Likewise.
1928         * soft-fp/single.h: Likewise.
1929         * soft-fp/soft-fp.h: Likewise.
1930         * soft-fp/subdf3.c: Likewise.
1931         * soft-fp/subsf3.c: Likewise.
1932         * soft-fp/subtf3.c: Likewise.
1933         * soft-fp/truncdfsf2.c: Likewise.
1934         * soft-fp/trunctfdf2.c: Likewise.
1935         * soft-fp/trunctfsf2.c: Likewise.
1936         * soft-fp/trunctfxf2.c: Likewise.
1937         * soft-fp/unorddf2.c: Likewise.
1938         * soft-fp/unordsf2.c: Likewise.
1939         * soft-fp/unordtf2.c: Likewise.
1941 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
1943         PR libgcc/67624
1944         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
1946 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1948         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1949         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
1950         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
1951         messages.
1952         (internal_mcount): Likewise.
1953         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
1954         crt_compile, add CRTSTUFF_T_CFLAGS_S.
1956 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1958         * configure.ac (libgcc_cv_solaris_crts): New test.
1959         * configure: Regenerate.
1960         * config.in: Regenerate.
1961         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
1962         * config/gmon-sol2.c: Rename to ...
1963         * config/sol2/gmon.c: ... this.
1964         Include auto-target.h.
1965         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
1966         * config/t-sol2: Rename to ...
1967         * config/sol2/t-sol2: ... this.
1968         (gmon.o): Reflect renaming.
1969         (crtp.o, crtpg.o): New rules.
1970         * config.host (*-*-solaris2*): Reflect renaming.
1971         Use system CRTs if present.
1972         Remove default CRT case.
1974 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
1976         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
1977         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
1978         __kernel_cmpxchg2.
1979         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
1980         (__sync_val_compare_and_swap_##WIDTH): Likewise.
1981         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
1982         (__sync_lock_test_and_set_##WIDTH): Likewise.
1983         (__sync_lock_release_##WIDTH): Likewise.
1984         (__sync_fetch_and_##OP##_4): Change result to match type of
1985         __kernel_cmpxchg.
1986         (__sync_##OP##_and_fetch_4): Likewise.
1987         (__sync_val_compare_and_swap_4): Likewise.
1988         (__sync_bool_compare_and_swap_4): likewise.
1989         (__sync_lock_test_and_set_4): Likewise.
1990         (__sync_lock_release_4): Likewise.
1991         (FETCH_AND_OP_2): Add long long variants.
1992         (OP_AND_FETCH_2): Likewise.
1993         (COMPARE_AND_SWAP_2 ): Likewise.
1994         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1995         (SYNC_LOCK_RELEASE_2): Likewise.
1996         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
1998 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
2000         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2001         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2002         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2003         (get_available_features): Habdle new features.
2005 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
2007         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2008         memory layout. Deal correctly with BSS region larger than 32K.
2009         Handle a watchdog reset like a power-on reset. Clean up unused
2010         code.
2012 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
2013             David Edelsohn  <dje.gcc@gmail.com>
2015         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2016         * config/rs6000/crtdbase.S: New file.
2017         * config/rs6000/t-aix-cxa: Build crtdbase.o.
2019 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
2021         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2022         Add support for call0 ABI.
2024 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
2026         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2028 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2030         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2031         (__GTHREAD_HAS_COND): Likewise.
2032         (__gthread_t): Likewise.
2033         (__gthread_cond_t): Likewise.
2034         (__gthread_time_t): Likewise.
2035         (__GTHREAD_MUTEX_INIT): Likewise.
2036         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2037         (__GTHREAD_COND_INIT): Likewise.
2038         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2039         (__GTHREAD_TIME_INIT): Likewise.
2040         (__gthread_create): Likewise.
2041         (__gthread_join): Likewise.
2042         (__gthread_detach): Likewise.
2043         (__gthread_equal): Likewise.
2044         (__gthread_self): Likewise.
2045         (__gthread_yield): Likewise.
2046         (__gthread_cond_broadcast): Likewise.
2047         (__gthread_cond_signal): Likewise.
2048         (__gthread_cond_wait): Likewise.
2049         (__gthread_cond_timedwait): Likewise.
2050         (__gthread_cond_wait_recursive): Likewise.
2051         (__gthread_cond_destroy): Likewise.
2052         (rtems_gxx_once): Delete.
2053         (rtems_gxx_key_create): Likewise.
2054         (rtems_gxx_key_delete): Likewise.
2055         (rtems_gxx_getspecific): Likewise.
2056         (rtems_gxx_setspecific): Likewise.
2057         (rtems_gxx_mutex_init): Likewise.
2058         (rtems_gxx_mutex_destroy): Likewise.
2059         (rtems_gxx_mutex_lock): Likewise.
2060         (rtems_gxx_mutex_trylock): Likewise.
2061         (rtems_gxx_mutex_unlock): Likewise.
2062         (rtems_gxx_recursive_mutex_init): Likewise.
2063         (rtems_gxx_recursive_mutex_lock): Likewise.
2064         (rtems_gxx_recursive_mutex_trylock): Likewise.
2065         (rtems_gxx_recursive_mutex_unlock): Likewise.
2066         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2067         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2068         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2069         (__gthread_once): Likewise.
2070         (__gthread_key_create): Likewise.
2071         (__gthread_key_delete): Likewise.
2072         (__gthread_getspecific): Likewise.
2073         (__gthread_setspecific): Likewise.
2074         (__gthread_key_t): Use <pthread.h> type.
2075         (__gthread_once_t): Likewise
2076         (__gthread_mutex_t): Use <sys/lock.h> type.
2077         (__gthread_recursive_mutex_t): Likewise
2078         (__gthread_mutex_lock): Use <sys/lock.h> function.
2079         (__gthread_mutex_trylock): Likewise.
2080         (__gthread_mutex_timedlock): Likewise.
2081         (__gthread_mutex_unlock): Likewise.
2082         (__gthread_mutex_destroy): Likewise.
2083         (__gthread_recursive_mutex_lock): Likewise.
2084         (__gthread_recursive_mutex_trylock): Likewise.
2085         (__gthread_recursive_mutex_timedlock): Likewise.
2086         (__gthread_recursive_mutex_unlock): Likewise.
2087         (__gthread_recursive_mutex_destroy): Likewise.
2089 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
2091         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2092         context->sp instead of context->cfa.
2094 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
2096         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2097         with unwind-dw2-fde-dip.
2099 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
2101         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2102         CALL12 followed by series of ENTRY to spill windowed registers.
2103         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2104         instead of making linux spill syscall.
2106 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
2108         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2109         (get_intel_cpu): Likewise.
2111 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
2113         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2114         (get_intel_cpu): Add Knights Landing support.
2116 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
2118         PR target/66954
2119         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2120         (get_available_features): Handle FEATURE_PCLMUL.
2122 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
2124         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2125         Broadwell.
2127 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
2129         PR target/66954
2130         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2131         (get_available_features): Handle FEATURE_AES.
2133 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
2135         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2136         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2138 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
2140         * offloadstuff.c: Constify host data.
2142 2015-07-17  Jan Beulich  <jbeulich@suse.com>
2144         * config/t-softfp: Split up "else ifneq".
2146 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
2147             Cesar Philippidis  <cesar@codesourcery.com>
2148             Chung-Lin Tang  <cltang@codesourcery.com>
2150         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2151         for __nios2_arch__ level.
2153 2015-07-13  John Marino  <gnugcc@marino.st>
2155         * config/i386/t-dragonfly: New.
2157 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
2159         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2160         better match light-weight syscall argument order.
2161         (__kernel_cmpxchg2): Likewise.
2162         Adjust callers.
2164 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
2166         * config.host: Support i[34567]86-*-elfiamcu target.
2167         * config/t-softfp-sfdftf: New file.
2168         * config/i386/32/t-iamcu: Likewise.
2169         * configure: Regenerated.
2171 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
2173         libgcc/config/arm/
2174         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2176 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
2178         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2180 2015-05-27  John Marino  <gnugcc@marino.st>
2182         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2183         md_unwind_header
2184         * config/i386/freebsd-unwind.h: New.
2186 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
2188         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2189         i386/t-crtfm to tmake_file.
2190         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2191         (set_fast_math): Use set_fast_math_sse for SSE targets.
2192         * config/i386/t-crtfm: Remove.
2194 2015-05-21  Alan Modra  <amodra@gmail.com>
2196         PR libgcc/66225
2197         * config/rs6000/morestack.S: Remove ".abiversion 1".
2199 2015-05-20  Alan Modra  <amodra@gmail.com>
2201         * config/rs6000/morestack.S: New.
2202         * config/rs6000/t-stack-rs6000: New.
2203         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2204         to tmake_file.
2205         * generic-morestack.c: Don't build for powerpc 32-bit.
2207 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
2209         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2210         Remove useless endif/ifneq ($(enable_shared),yes) pair.
2212 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
2214         * config.host: FT32 target added.
2215         * config/ft32/*: New files for FT32 target.
2217 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
2219         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2220         New macros.
2221         * config/arm/ieee754-df.S: Add CFI directives.
2222         * config/arm/ieee754-sf.S: Add CFI directives.
2224 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
2226         * configure.ac: Include config/sjlj.m4.
2227         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2228         * config.in: Regenerate.
2229         * configure: Likewise.
2230         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2232 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
2234         * libgcov-util.c: Add space between string literal and macro name.
2236 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
2237             Chris Jones  <chrisj@nvidia.com>
2238             Joshua Conner  <jconner@nvidia.com>
2240         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2241         (arm*-*-uclinux*): Likewise.
2242         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2243         * config/arm/crtfastmath.c: New file.
2245 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
2247         * Makefile.in (real_host_noncanonical): New variable.
2248         (libsubdir): Use it.
2249         * configure.ac (real_host_noncanonical): Compute.  Remove special
2250         case for intelmicemul.
2251         * configure: Regenerate.
2253 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
2255         * config/frv/elf-lib.h: New file.
2256         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2257         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2258         to tm_file.
2260 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
2262         * config/frv/frvbengin.c: Do not include defaults.h
2263         * config/frv/frvend.c: Ditto.
2265 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
2267         * config.host: Add h8300-*-linux
2268         * config/h8300/t-linux: New file.
2269         * config/h8300/lib1funs.s: Change symbol prefix.
2270         * config/h8300/sfp-machine.h: 64bit double support.
2272 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
2273             Szabolcs Nagy  <szabolcs.nagy@arm.com>
2275         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2276         Linux if target provides dl_iterate_phdr.
2278 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
2280         PR target/65612
2281         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2282         * config/i386/cpuinfo.c (__cpu_model): Initialize.
2283         (__cpu_indicator_init@GCC_4.8.0): New.
2284         (__cpu_model@GCC_4.8.0): Likewise.
2285         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
2286         -DUSE_ELF_SYMVER.
2288 2015-04-16  Nick Clifton  <nickc@redhat.com>
2290         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
2291         and __modhi3 functions.
2292         * config/rl78/divmodso.S: Add G14 and G13 versions of the
2293         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
2295 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
2297         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
2298         do-while loop as macro body to avoid warnings.
2300 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
2301             Iain Sandoe  <iain@codesourcery.com>
2303         PR target/65351
2304         * configure: Regenerate.
2306 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
2307             Iain Sandoe  <iain@codesourcery.com>
2309         PR target/65351
2310         * configure: Regenerate.
2312 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
2314         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
2316 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
2318         Implement call0 ABI for xtensa
2319         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
2320         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
2321         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
2322         use ret in call0 ABI.
2323         * config/xtensa/t-windowed: New file.
2324         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
2325         * libgcc/configure: Regenerated.
2326         * libgcc/configure.ac: Check if xtensa target is configured for
2327         windowed ABI and thus needs to use custom unwind code.
2329 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
2331         PR libgcc/64885
2332         * gthr-single.h: Use __unused__ attribute instead of unused.
2333         * config/gthr-vxworks.h: Likewise.
2334         * config/i386/gthr-win32.h: Likewise.
2336 2015-02-27  Kai Tietz  <ktietz@redhat.com>
2338         PR target/65038
2339         * config.in: Regenerated.
2340         * configure: Likewise.
2341         * configure.ac (AC_HEADER_STDC): Added explicit.
2342         (AC_CHECK_HEADERS): Check for default headers  plus
2343         for ftw.h header.
2344         * libgcov-util.c (gcov_read_profile_dir): Disable use
2345         of ftw-function, if header is not found.
2346         (ftw_read_file): Likewise.
2348 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
2350         PR target/65181
2351         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
2352         -Dinhibit_libc.
2354 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
2356         * config/arm/bpabi.S (test_div_by_zero): Make label names
2357         consistent between thumb2 and arm mode cases.  Separate the
2358         signed comparison on the high word of the numerator from the
2359         unsigned comparison on the low word.
2360         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
2361         signed comparison.
2363 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
2365         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
2366         and <string.h>.
2367         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
2369 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
2371         PR gcov-profile/61889
2372         * libgcov-driver-system.c: undefine clashing macro for mkdir.
2374 2015-02-02  Nick Clifton  <nickc@redhat.com>
2376         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
2377         rounding up the fraction.
2379 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
2381         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
2382         oldval and newval to const void *.  Fix typo.
2383         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
2384         (FETCH_AND_OP_WORD): Likewise.
2385         (OP_AND_FETCH_WORD): Likewise.
2386         (COMPARE_AND_SWAP_2): Likewise.
2387         (__sync_val_compare_and_swap_4): Likewise.
2388         (__sync_lock_test_and_set_4): Likewise.
2389         (SYNC_LOCK_RELEASE_2): Likewise.
2390         Remove support for long long atomic operations.
2392 2015-01-27  Caroline Tice  <cmtice@google.com>
2394         Committing VTV Cywin/Ming patch for Patrick Wollgast
2395         * Makefile.in: Move rules to build vtv_*.o out of the check
2396         for CUSTOM_CRTSTUFF.
2397         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
2398         i[34567]86-*-mingw*)
2399          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
2400         enable_vtable_verify.
2402 2015-01-27  Nick Clifton  <nickc@redhat.com>
2404         * config/rl78/cmpsi2.S: Use function start and end macros.
2405         (__gcc_bcmp): New function.
2406         * config/rl78/lshrsi3.S: Use function start and end macros.
2407         * config/rl78/mulsi3.S: Add support for G10.
2408         (__mulqi3): New function for G10.
2409         * config/rl78/signbit.S: Use function start and end macros.
2410         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
2411         fpmath-sf.S.
2412         (LIB2FUNCS_EXCLUDE): Define.
2413         (LIB2FUNCS_ST): Define.
2414         * config/rl78/trampoline.S: Use function start and end macros.
2415         * config/rl78/vregs.h (START_FUNC): New macro.
2416         (START_ANOTHER_FUNC): New macro.
2417         (END_FUNC): New macro.
2418         (END_ANOTHER_FUNC): New macro.
2419         * config/rl78/bit-count.S: New file.  Contains assembler
2420         implementations of the bit counting functions: ___clzhi2,
2421         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
2422         __paritysi2, __popcounthi2 and __popcountsi2.
2423         * config/rl78/fpbit-sf.S: New file.  Contains assembler
2424         implementationas of the math functions: __negsf2, __cmpsf2,
2425         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
2426         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
2427         * config/rl78/fpmath-sf.S: New file.  Contains assembler
2428         implementations of the math functions: __subsf3, __addsf3,
2429         __mulsf3 and __divsf3
2431 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2433         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
2434         Add i386/elf-lib.h to tm_file.
2435         * config/i386/elf-lib.h: Fix comment.
2436         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
2437         && __sun__ && __svr4__]: Remove workaround.
2439 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
2441         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
2442         FEATURE_BMI2.
2443         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
2445 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
2447         * config/i386/cpuinfo.c (processor_subtypes): Add
2448         INTEL_COREI7_BROADWELL.
2449         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
2450         model numbers.
2452 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
2454         * config/i386/elf-lib.h: New file.
2455         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
2456         Wrap definition in #ifdef __i386__.
2457         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2458         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
2459         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
2460         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
2461         to tm_file.
2463 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
2465         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
2466         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
2468 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
2470         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
2471         Update rt_sigframe format and address for current Nios II
2472         Linux conventions.
2474 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
2476         * config.host (arm*-*-freebsd*): Add new configuration for
2477         arm*-*-freebsd*.
2478         * config/arm/freebsd-atomic.c: New file.
2479         * config/arm/t-freebsd: Likewise.
2480         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
2481         'PC-relative indirect' OS's.
2483 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
2485         * config.host: Add Visium support.
2486         * config/visium: New directory.
2488 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
2490         Update copyright years.
2492 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
2494         * config.host: Support mipsisa32r6 and mipsisa64r6.
2495         * config/mips/mips16.S: Do not build for R6.
2497 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
2499         * config/sh/crt.h: New.
2500         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
2501         symbols.
2502         * config/sh/crt1.S: Likewise.
2504 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
2506         PR libgcc/63832
2507         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
2508         func_ptr *dtor_list temporary variable to avoid "array subscript
2509         is above array bounds" warnings.
2511 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
2513         * Makefile.in (with_aix_soname): Define.
2514         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
2515         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
2516         * configure: Recreate.
2518 2014-12-05  Olivier Hainque  <hainque@adacore.com>
2520         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
2521         now provided by defaults.h.
2523 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
2525         PR target/55351
2526         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
2527         whether it's defined.
2529 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
2531         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
2532         * config/i386/cpuinfo.c (get_available_features): Detect it.
2534 2014-11-27  Tony Wang  <tony.wang@arm.com>
2536         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
2537         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
2538         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
2540 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
2542         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
2544 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
2546         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
2547         instead.
2549 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
2550             John David Anglin  <danglin@gcc.gnu.org>
2552         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
2553         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
2554         (OP_AND_FETCH_2): Likewise.
2555         (COMPARE_AND_SWAP_2): Likewise.
2556         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2557         (SYNC_LOCK_RELEASE_2): Likewise.
2558         (SUBWORD_SYNC_OP): Remove.
2559         (SUBWORD_VAL_CAS): Likewise.
2560         (SUBWORD_BOOL_CAS): Likewise.
2561         (FETCH_AND_OP_WORD): Update.
2562         Consistently use signed types.
2564 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
2565             Thomas Schwinge  <thomas@codesourcery.com>
2566             Ilya Verbin  <ilya.verbin@intel.com>
2567             Andrey Turetskiy  <andrey.turetskiy@intel.com>
2569         * Makefile.in (crtoffloadbegin$(objext)): New rule.
2570         (crtoffloadend$(objext)): Likewise.
2571         * configure: Regenerate.
2572         * configure.ac (accel_dir_suffix): Compute new variable.
2573         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
2574         if enable_offload_targets is not empty.
2575         * offloadstuff.c: New file.
2577 2014-11-13  Nick Clifton  <nickc@redhat.com>
2579         * config/rl78/divmodhi.S: Add support for the G10 architecture.
2580         Use START_FUNC and END_FUNC macros to enable linker garbage
2581         collection.
2582         * config/rl78/divmodqi.S: Likewise.
2583         * config/rl78/divmodsi.S: Likewise.
2584         * config/rl78/mulsi3.S: Likewise.
2585         * config/rl78/lib2div.c: Remove G10 functions.
2586         * config/rl78/lib2muls.c: Likewise.
2587         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
2588         * config/rl78/vregs.h (START_FUNC): New macro.
2589         (END_FUNC): New macro.
2591 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
2593         * config/mips/mips16.S: Set .module when supported.  Update O32
2594         FP64 calling convention and use for FPXX when possible.  Add FPXX
2595         calling convention fallback case.
2597 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
2599         * config.host: Handle nvptx-*-*.
2600         * shared-object.mk (as-flags-$o): Define.
2601         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
2602         -xassembler-with-cpp.
2603         * static-object.mk: Identical changes.
2604         * config/nvptx/t-nvptx: New file.
2605         * config/nvptx/crt0.s: New file.
2606         * config/nvptx/free.asm: New file.
2607         * config/nvptx/malloc.asm: New file.
2608         * config/nvptx/realloc.c: New file.
2610 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
2612         * Makefile.in (libgcc.map.in): New target.
2613         (libgcc.map): Use libgcc.map.in.
2614         * config/t-softfp (softfp_compat): New variable to be set by
2615         users.
2616         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
2617         variables.
2618         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
2619         directory.
2620         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
2621         that use compat symbols and disable all code unless [SHARED].
2622         * config/t-softfp-compat: New file.
2623         * find-symver.awk: New file.
2624         * configure.ac (--with-glibc-version): New configure option.
2625         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
2626         * configure: Regenerate.
2627         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
2628         soft-float and e500.
2630 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
2632         * config/t-hardfp (hardfp_exclusions): Document new variable for
2633         user to define.
2634         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
2635         * config/t-softfp (softfp_extras): Document new variable for user
2636         to define.
2637         (softfp_func_list): Add functions from $(softfp_extras).
2638         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
2639         * config.host (powerpc*-*-linux*): For e500v1, use
2640         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
2641         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
2642         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
2644 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
2646         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
2647         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
2648         memory read accesses are ok.
2650 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
2652         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
2653         * configure: Regenerate.
2654         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
2655         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
2656         of soft-fp for 32-bit classic hard float.  Do not use
2657         t-softfp-excl for soft float.
2659 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
2661         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
2662         configurations.
2663         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
2664         Remove variables.
2666 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
2668         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
2669         introduced with 2014-10-21 trunk r216525.
2671 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
2672             Vidya Praveen  <vidya.praveen@atmel.com>
2673             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
2674             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
2675             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
2677         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
2678         order.
2680         Updated library functions for AVRTINY arch.
2681         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
2682         Replaced occurrences of r0/r1 with tmp/zero reg macros.
2683         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
2684         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
2685         wsubi/wadi macors.
2686         (__mulsi3_helper): Update stack, preserve callee saved regs and
2687         argument from stack. Restore callee save registers.
2688         (__mulpsi3): Likewise.
2689         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
2690         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
2691         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
2692         AVRTINY.
2693         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
2694         (__do_copy_data): Added new definition for AVRTINY.
2695         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
2696         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
2697         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
2698         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
2699         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
2700         macors.
2701         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
2702         AVRTINY.
2704         Fix broken long multiplication on tiny arch.
2706 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
2708         * soft-fp/double.h: Update from glibc.
2709         * soft-fp/eqdf2.c: Likewise.
2710         * soft-fp/eqsf2.c: Likewise.
2711         * soft-fp/eqtf2.c: Likewise.
2712         * soft-fp/extenddftf2.c: Likewise.
2713         * soft-fp/extended.h: Likewise.
2714         * soft-fp/extendsfdf2.c: Likewise.
2715         * soft-fp/extendsftf2.c: Likewise.
2716         * soft-fp/extendxftf2.c: Likewise.
2717         * soft-fp/gedf2.c: Likewise.
2718         * soft-fp/gesf2.c: Likewise.
2719         * soft-fp/getf2.c: Likewise.
2720         * soft-fp/ledf2.c: Likewise.
2721         * soft-fp/lesf2.c: Likewise.
2722         * soft-fp/letf2.c: Likewise.
2723         * soft-fp/op-1.h: Likewise.
2724         * soft-fp/op-2.h: Likewise.
2725         * soft-fp/op-4.h: Likewise.
2726         * soft-fp/op-8.h: Likewise.
2727         * soft-fp/op-common.h: Likewise.
2728         * soft-fp/quad.h: Likewise.
2729         * soft-fp/single.h: Likewise.
2730         * soft-fp/soft-fp.h: Likewise.
2731         * soft-fp/unorddf2.c: Likewise.
2732         * soft-fp/unordsf2.c: Likewise.
2733         * soft-fp/unordtf2.c: Likewise.
2734         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
2735         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
2736         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
2737         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
2738         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
2739         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
2740         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
2741         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
2742         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
2743         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
2745 2014-10-08  Rong Xu  <xur@google.com>
2747         * libgcov-util.c (read_gcda_file): Fix format.
2748         (find_match_gcov_info): Ditto.
2749         (calculate_2_entries): New.
2750         (compute_one_gcov): Ditto.
2751         (gcov_info_count_all_cold): Ditto.
2752         (gcov_info_count_all_zero): Ditto.
2753         (extract_file_basename): Ditto.
2754         (get_file_basename): Ditto.
2755         (set_flag): Ditto.
2756         (matched_gcov_info): Ditto.
2757         (calculate_overlap): Ditto.
2758         (gcov_profile_overlap): Ditto.
2759         * libgcov-driver.c (compute_summary): Make
2760         it avavilable for external calls.
2762 2014-10-06  Rong Xu  <xur@google.com>
2764         * Makefile.in: Ditto.
2765         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
2766         (gcov_sort_icall_topn_counter): Ditto.
2767         (gcov_sort_topn_counter_arrays): Ditto.
2768         (dump_one_gcov): Sort indirect_call topn counters.
2769         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
2770         function.
2771         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
2772         utility function.
2773         (__gcov_indirect_call_topn_profiler): New profiler function.
2774         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
2775         * libgcov.h: New decls.
2777 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
2779         * config.host: Remove support for score-*.
2781 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
2783         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2784         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
2785         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
2786         __LIBGCC_XF_MANT_DIG__.
2787         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
2788         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
2789         __LIBGCC_TF_MANT_DIG__.
2790         * libgcc2.c (NOTRUNC): Define in terms of
2791         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
2792         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2794 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
2796         PR target/63312
2797         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
2798         New macros.
2800 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
2802         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
2803         override USE_PT_GNU_EH_FRAME.
2804         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
2805         check USE_EH_FRAME_REGISTRY_ALWAYS against
2806         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
2807         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
2808         variable for substituted force_explicit_eh_registry.
2809         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
2810         * configure.ac (explicit-exception-frame-registration):
2811         New AC_ARG_ENABLE.
2812         * configure: Regenerate.
2814 2014-09-19  Olivier Hainque  <hainque@adacore.com>
2816         * config.host (powerpc-wrs-vxworksmils): New configuration,
2817         same as vxworksae.
2819 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
2821         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
2823 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
2825         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
2826         bits not set bits as indicating trapping exceptions.
2828 2014-09-17  Nathan sidwell  <nathan@acm.org>
2830         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
2831         (LIBGCOV_DRIVER): ... here.
2832         * libgcov-driver.c (gcov_master): New.
2833         (gcov_exit): Remove from master chain.
2834         (__gcov_init): Add to master chain if version compatible.  Don't
2835         clear the version.
2836         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
2837         (gcov_reset_int): Clear master chain, if compatible.
2838         (gcov_dump_int): New internal interface.  Dump master chain, if
2839         compatible.
2840         (gcov_dump): Alias for gcov_dump_int.
2841         * libgcov.h (struct gcov_root): Add next and prev fields.
2842         (struct gcov_master): New struct.
2843         (__gcov_master): New.
2844         (gcov_dump_int): Declare.
2846 2014-09-17  Olivier Hainque  <hainque@adacore.com>
2848         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
2849         and crtbegin.o + crtend.o to extra_parts.
2851 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
2853         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
2854         __LIBGCC_HAS_SF_MODE__.
2855         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2856         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2857         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2858         * config/libbid/bid_gcc_intrinsics.h
2859         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2860         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2861         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2862         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2863         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
2864         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2866 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
2868         PR target/63223
2869         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
2870         and R24 as needed.  Make work for all devices and .text locations.
2871         (__do_global_ctors, __do_global_dtors): Use word addresses.
2872         (__tablejump__, __tablejump_elpm__): Remove functions.
2873         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
2874         Add _tablejump2.
2875         (XICALL, XIJMP): New macros.
2877 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2878         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
2880         * config.host (aarch64*): Include crtfastmath.o and
2881         t-crtfm.
2882         * config/aarch64/crtfastmath.c: New file.
2884 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
2886         * config.host: Remove picochip support.
2887         * config/picochip/adddi3.S: Remove.
2888         * config/picochip/ashlsi3.S: Remove.
2889         * config/picochip/ashlsi3.c: Remove.
2890         * config/picochip/ashrsi3.S: Remove.
2891         * config/picochip/ashrsi3.c: Remove.
2892         * config/picochip/clzsi2.S: Remove.
2893         * config/picochip/cmpsi2.S: Remove.
2894         * config/picochip/divmod15.S: Remove.
2895         * config/picochip/divmodhi4.S: Remove.
2896         * config/picochip/divmodsi4.S: Remove.
2897         * config/picochip/lib1funcs.S: Remove.
2898         * config/picochip/longjmp.S: Remove.
2899         * config/picochip/lshrsi3.S: Remove.
2900         * config/picochip/lshrsi3.c: Remove.
2901         * config/picochip/parityhi2.S: Remove.
2902         * config/picochip/popcounthi2.S: Remove.
2903         * config/picochip/setjmp.S: Remove.
2904         * config/picochip/subdi3.S: Remove.
2905         * config/picochip/t-picochip: Remove.
2906         * config/picochip/ucmpsi2.S: Remove.
2907         * config/picochip/udivmodhi4.S: Remove.
2908         * config/picochip/udivmodsi4.S: Remove.
2910 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
2912         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
2913         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
2914         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
2915         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
2916         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
2917         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
2918         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
2919         defined and LIBGCC2_HAS_DF_MODE is defined.
2920         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
2921         defined and LIBGCC2_HAS_XF_MODE is defined.
2922         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
2923         defined and LIBGCC2_HAS_TF_MODE is defined.
2925 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
2927         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
2928         and ROUND_TOWARDS_ZERO conditionals.
2930 2014-09-07  Nathan sidwell  <nathan@acm.org>
2932         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
2933         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
2935 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
2937         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
2938         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2939         uses to __LIBGCC_STACK_POINTER_REGNUM__.
2940         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2941         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2942         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2943         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2944         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
2945         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
2946         (DWARF_FRAME_REGISTERS): Change all uses to
2947         __LIBGCC_DWARF_FRAME_REGISTERS__.
2948         (EH_RETURN_STACKADJ_RTX): Change all uses to
2949         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2950         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
2951         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
2952         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
2953         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
2954         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
2955         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
2956         to __LIBGCC_EH_FRAME_SECTION_NAME__.
2957         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
2958         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
2959         __LIBGCC_STACK_POINTER_REGNUM__.
2960         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2961         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2962         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2963         to __LIBGCC_STACK_POINTER_REGNUM__.
2964         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2965         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2966         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2967         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2968         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2969         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2970         (STACK_POINTER_REGNUM): Change all uses to
2971         __LIBGCC_STACK_POINTER_REGNUM__.
2972         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
2973         use to __LIBGCC_STACK_POINTER_REGNUM__.
2974         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2975         uses to __LIBGCC_STACK_POINTER_REGNUM__.
2976         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
2977         to __LIBGCC_DWARF_FRAME_REGISTERS__.
2978         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
2979         to __LIBGCC_DWARF_FRAME_REGISTERS__.
2980         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2981         to __LIBGCC_STACK_POINTER_REGNUM__.
2982         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
2983         Remove conditional definition.
2984         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
2985         __LIBGCC_TEXT_SECTION_ASM_OP__.
2986         (EH_FRAME_SECTION_NAME): Change all uses to
2987         __LIBGCC_EH_FRAME_SECTION_NAME__.
2988         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
2989         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
2990         (CTORS_SECTION_ASM_OP): Change all uses to
2991         __LIBGCC_CTORS_SECTION_ASM_OP__.
2992         (DTORS_SECTION_ASM_OP): Change all uses to
2993         __LIBGCC_DTORS_SECTION_ASM_OP__.
2994         (JCR_SECTION_NAME): Change all uses to
2995         __LIBGCC_JCR_SECTION_NAME__.
2996         (INIT_SECTION_ASM_OP): Change all uses to
2997         __LIBGCC_INIT_SECTION_ASM_OP__.
2998         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2999         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3000         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3001         __LIBGCC_STACK_GROWS_DOWNWARD__.
3002         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3003         __LIBGCC_INIT_SECTION_ASM_OP__.
3004         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3005         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3006         (EH_FRAME_SECTION_NAME): Change all uses to
3007         __LIBGCC_EH_FRAME_SECTION_NAME__.
3008         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3009         definitions.  Change all uses to
3010         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3011         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3012         __LIBGCC_STACK_GROWS_DOWNWARD__.
3013         (DWARF_FRAME_REGISTERS): Change all uses to
3014         __LIBGCC_DWARF_FRAME_REGISTERS__.
3015         (EH_RETURN_STACKADJ_RTX): Change all uses to
3016         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3017         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3018         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3019         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3020         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3021         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3023 2014-09-02  Nathan sidwell  <nathan@acm.org>
3025         * libgcov-interface.c (STRONG_ALIAS): New.
3026         (__gcov_flush): Call __gcov_reset_int.
3027         (__gcov_reset): Strong alias for ...
3028         (__gcov_reset_ing): ... this renamed hidden version.
3029         * libgcov.h (__gcov_reset_int): New declaration.
3031 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
3033         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3034         call from here...
3035         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3036         (__dso_handle): Define on Cygwin.
3037         * config/i386/t-cygming (crtbeginS.o): New rule.
3038         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3040         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3041         declaration syntax.
3043 2014-08-13  Steve Ellcey  <sellcey@mips.com>
3045         * crtstuff.c: Undef caddr_t.
3047 2014-08-12  Steve Ellcey  <sellcey@mips.com>
3049         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
3051 2014-08-07  Nathan Sidwell  <nathan@acm.org>
3053         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3054         (LIBGCOV_DRIVER): ... to here.
3055         * libgcov.h (gcov_do_dump): New #define.
3056         (struct gcov_root): New.
3057         (__gcov_root): New declaration.
3058         (__gcov_dump_one): Declare.
3059         * libgcov-driver.c (gcov_list, gcov_dump_complete,
3060         run_accounted): Delete.
3061         (gcov_compute_histogram): Add LIST argument, adjust.
3062         (compute_summary): Adjust gcov_compute_histogram call.
3063         (gcov_do_dump): Not hidden, static in libgcov.
3064         (gcov_clear): Move  to interface.c.
3065         (__gcov_dump_one): New, broken out of ...
3066         (gcov_exit): ... here.  Make static.
3067         (__gcov_root): New.
3068         (__gcov_init): Adjust.
3069         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3070         declarations.
3071         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3072         (gcov_clear): Moved from driver.c.   Add LIST argument.
3073         (__gcov_reset): Adjust for changed interfaces.
3074         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3076 2014-08-04  Rohit  <rohitarulraj@freescale.com>
3078         PR target/60102
3079         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
3080         based on change in SPE high register numbers and 3 HTM registers.
3082 2014-08-01  Nathan Sidwell  <nathan@acm.org>
3084         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3085         LIBGCOV_INTERFACE): Reformat.
3086         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3087         IN_GCOV_TOOL.
3088         * libgcov-interface.c: Reformat some comments.
3089         (__gcov_flush_mx): Add declaration.  Tidy up definition.
3091 2014-07-31  Alan Modra  <amodra@gmail.com>
3092             Peter Bergner  <bergner@vnet.ibm.com>
3094         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3095         (pack_ldouble): New function.
3096         (__gcc_qadd): Use it.
3097         (__gcc_qmul): Likewise.
3098         (__gcc_qdiv): Likewise.
3099         (__gcc_qneg): Likewise.
3100         (__gcc_stoq): Likewise.
3101         (__gcc_dtoq): Likewise.
3103 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
3105         * config/s390/tpf-unwind.h: Include <stdbool.h>.
3106         (__tpf_eh_return): Add original return address as second parameter.
3107         Handle cases where unwinder routines were called directly, instead
3108         of from within the C++ library.
3110 2014-07-29  Nathan Sidwell  <nathan@acm.org>
3112         * libgcov.h: Move renaming of entry points to lib gcov specific
3113         portion.
3114         (gcov_do_dump): New rename.
3115         (gcov_rewrite): Remove inline, make HIDDEN.
3116         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3117         (gcov_exit_compute_summary): Rename to ...
3118         (compute_summary): ... here.  Add LIST argument.
3119         (gcov_exit_merge_gcda): Rename to ...
3120         (merge_one_data): ... here.
3121         (gcov_exit_write_gcda): Rename to ...
3122         (write_one_data): ... here.
3123         (gcov_exit_merge_summary): Rename to ...
3124         (merge_summary): Add RUN_COUNTED argument.
3125         (gcov_exit_dump_gcov): Rename to ...
3126         (dump_one_gcov): Add RUN_COUNTED argument.
3127         (gcov_do_dump): New function, broken out of ...
3128         (gcov_exit): ... here.  Call it.
3130 2014-07-27  Anthony Green  <green@moxielogic.com>
3132         * config.host: Add moxiebox configuration suppport.
3134 2014-07-27  Nathan Sidwell  <nathan@acm.org>
3136         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3137         (struct gcov_filename): ... here.  Include buffer and max length
3138         fields.
3139         (gcov_max_filename): Remove.
3140         (gi_filename): Remove.
3141         (gcov_exit_compute_summary): Compute max filename here.
3142         (gcov_exit_merge_gcda): Add filename parm, adjust.
3143         (gcov_exit_merge_summary): Likewise.
3144         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3145         (gcov_exit): Likewise.
3146         (__gcov_init): Don't calculate max length here.
3147         * libgcov_util.c (max_filename_len): Remove.
3148         (read_gcda_file): Don't calculate max length here.
3149         (gcov_read_profile_dir): Don't propagate here.
3150         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3151         struct gcov_filename changes.
3152         (gcov_exit_open_gcda_file): Likewise.
3154 2014-07-25  Nathan Sidwell  <nathan@acm.org>
3156         * libgcov-driver.c (set_gcov_dump_complete,
3157         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3158         functions polluting user's namespace.
3159         (gcov_exit): Set variable directly.
3160         (gcov_clear): Reset variable directly.
3161         * libgcov-interface.c (get_gcov_dymp_complete,
3162         reset_gov_dump_complete): Remove declarations.
3163         (__gcov_reset, __gcov_dump): Don't call them.
3165 2014-07-24  DJ Delorie  <dj@redhat.com>
3167         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
3168         (__gcc_deregister_frame): Move logic to detect deregister function
3169         to ...
3170         (__gcc_register_frame): here, so it's consistent with the register
3171         logic.
3173 2014-07-23  Nathan Sidwell  <nathan@acm.org>
3175         * libgcov-driver.c (set_gcov_list): Remove.
3176         (gcov_list): Make non-static in GCOV_TOOL.
3177         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3179 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
3181         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3182         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3183         Don't use SYNC_LOCK_RELEASE for int type.
3185 2014-07-14  Richard Biener  <rguenther@suse.de>
3187         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3189 2014-07-11  Rong Xu  <xur@google.com>
3191         * libgcov-util.c (gcov_max_filename): Fix declartion.
3193 2014-07-10  Rong Xu  <xur@google.com>
3195         Add gcov-tool: an offline gcda profile processing tool
3196         Support.
3197         * libgcov-driver.c (gcov_max_filename): Make available
3198         to gcov-tool.
3199         * libgcov-merge.c (__gcov_merge_add): Replace
3200         gcov_read_counter() with a Macro.
3201         (__gcov_merge_ior): Ditto.
3202         (__gcov_merge_time_profile): Ditto.
3203         (__gcov_merge_single): Ditto.
3204         (__gcov_merge_delta): Ditto.
3205         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3206         in the utility functions.
3207         (set_fn_ctrs): Utility function for reading gcda files to in-memory
3208         gcov_list object link lists.
3209         (tag_function): Ditto.
3210         (tag_blocks): Ditto.
3211         (tag_arcs): Ditto.
3212         (tag_lines): Ditto.
3213         (tag_counters): Ditto.
3214         (tag_summary): Ditto.
3215         (read_gcda_finalize): Ditto.
3216         (read_gcda_file): Ditto.
3217         (ftw_read_file): Ditto.
3218         (read_profile_dir_init): Ditto.
3219         (gcov_read_profile_dir): Ditto.
3220         (gcov_read_counter_mem): Ditto.
3221         (gcov_get_merge_weight): Ditto.
3222         (merge_wrapper): A wrapper function that calls merging handler.
3223         (gcov_merge): Merge two gcov_info objects with weights.
3224         (find_match_gcov_info): Find the matched gcov_info in the list.
3225         (gcov_profile_merge): Merge two gcov_info object lists.
3226         (__gcov_add_counter_op): Process edge profile counter values.
3227         (__gcov_ior_counter_op): Process IOR profile counter values.
3228         (__gcov_delta_counter_op): Process delta profile counter values.
3229         (__gcov_single_counter_op): Process single  profile counter values.
3230         (fp_scale): Callback function for float-point scaling.
3231         (int_scale): Callback function for integer fraction scaling.
3232         (gcov_profile_scale): Scaling profile counters.
3233         (gcov_profile_normalize): Normalize profile counters.
3234         * libgcov.h: Add headers and functions for gcov-tool use.
3235         (gcov_get_counter): New.
3236         (gcov_get_counter_target): Ditto.
3237         (struct gcov_info): Make the functions field mutable in gcov-tool
3238         compilation.
3240 2014-06-23  Kai Tietz  <ktietz@redhat.com>
3242         PR libgcc/61585
3243         * unwind-seh.c (_Unwind_GetGR): Check for proper
3244         index range.
3245         (_Unwind_SetGR): Likewise.
3247 2014-05-22  Nick Clifton  <nickc@redhat.com>
3249         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3250         -mhwmult=none.
3252 2014-05-22  Teresa Johnson  <tejohnson@google.com>
3254         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3255         include.
3257 2014-05-20  John Marino  <gnugcc@marino.st>
3259         * config.host (*-*-dragonfly*): New target.
3260         * crtstuff.c: Make dl_iterate_support generic on *bsd.
3261         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3262         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3263         * config/i386/dragonfly-unwind.h: New.
3265 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
3267         PR libgcc/60166
3268         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3269         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3271 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3273         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3274         implementation.
3276 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
3278         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3280 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3282         PR libgcc/61097
3283         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
3284         if --enable-shared.
3286 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3288         Work around for current cygwin32 build problems.
3289         * config/i386/cygming-crtbegin.c (__register_frame_info,
3290         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
3291         functions only for 64-bit systems.
3293 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3295         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
3296         (sigill_caught, sigill_hdlr): Remove.
3298 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3300         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
3301         check.
3302         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3303         Solaris 9 single-threaded support.
3304         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3305         Solaris 9 single-threaded support.  Add call_user_handler code
3306         sequences.
3307         (sparc_is_sighandler): Likewise.
3309 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3311         * config.host: Append t-floattodi to tmake_file depending on
3312         host_address.
3314 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
3316         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
3318 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
3320         PR libgcc/60472
3321         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
3322         variable to avoid "array subscript is above array bounds" warnings.
3323         Use __builtin_expect when checking *jcr_list for NULL.
3325 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3327         PR libgcc/59339
3328         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
3329         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
3330         vtv_*.o to extra_parts if enable_vtable_verify.
3332 2014-03-06  Nick Clifton  <nickc@redhat.com>
3334         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
3335         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
3337 2014-02-28  Joey Ye  <joey.ye@arm.com>
3339         PR libgcc/60166
3340         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
3341         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
3342         Set to zero.
3344 2014-02-24  Walter Lee  <walt@tilera.com>
3346         * config.host: Support "tilegx*" and "tilepro*" triplets.
3347         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
3348         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
3350 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
3351             Chung-Lin Tang  <cltang@codesourcery.com>
3353         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
3354         * config/nios2/crti.S: Remove .file directive.
3355         * config/nios2/crtn.S: Likewise.
3357 2014-02-18  Kai Tietz  <ktietz@redhat.com>
3358         Jonathan Schleifer  <js@webkeks.org>
3360         PR objc/56870
3361         * unwind-seh.c (_GCC_specific_handler): Pass proper
3362         value to unwind-handler.
3364 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
3366         * soft-fp/adddf3.c: Update from glibc.
3367         * soft-fp/addsf3.c: Likewise.
3368         * soft-fp/addtf3.c: Likewise.
3369         * soft-fp/divdf3.c: Likewise.
3370         * soft-fp/divsf3.c: Likewise.
3371         * soft-fp/divtf3.c: Likewise.
3372         * soft-fp/double.h: Likewise.
3373         * soft-fp/eqdf2.c: Likewise.
3374         * soft-fp/eqsf2.c: Likewise.
3375         * soft-fp/eqtf2.c: Likewise.
3376         * soft-fp/extenddftf2.c: Likewise.
3377         * soft-fp/extended.h: Likewise.
3378         * soft-fp/extendsfdf2.c: Likewise.
3379         * soft-fp/extendsftf2.c: Likewise.
3380         * soft-fp/extendxftf2.c: Likewise.
3381         * soft-fp/fixdfdi.c: Likewise.
3382         * soft-fp/fixdfsi.c: Likewise.
3383         * soft-fp/fixdfti.c: Likewise.
3384         * soft-fp/fixsfdi.c: Likewise.
3385         * soft-fp/fixsfsi.c: Likewise.
3386         * soft-fp/fixsfti.c: Likewise.
3387         * soft-fp/fixtfdi.c: Likewise.
3388         * soft-fp/fixtfsi.c: Likewise.
3389         * soft-fp/fixtfti.c: Likewise.
3390         * soft-fp/fixunsdfdi.c: Likewise.
3391         * soft-fp/fixunsdfsi.c: Likewise.
3392         * soft-fp/fixunsdfti.c: Likewise.
3393         * soft-fp/fixunssfdi.c: Likewise.
3394         * soft-fp/fixunssfsi.c: Likewise.
3395         * soft-fp/fixunssfti.c: Likewise.
3396         * soft-fp/fixunstfdi.c: Likewise.
3397         * soft-fp/fixunstfsi.c: Likewise.
3398         * soft-fp/fixunstfti.c: Likewise.
3399         * soft-fp/floatdidf.c: Likewise.
3400         * soft-fp/floatdisf.c: Likewise.
3401         * soft-fp/floatditf.c: Likewise.
3402         * soft-fp/floatsidf.c: Likewise.
3403         * soft-fp/floatsisf.c: Likewise.
3404         * soft-fp/floatsitf.c: Likewise.
3405         * soft-fp/floattidf.c: Likewise.
3406         * soft-fp/floattisf.c: Likewise.
3407         * soft-fp/floattitf.c: Likewise.
3408         * soft-fp/floatundidf.c: Likewise.
3409         * soft-fp/floatundisf.c: Likewise.
3410         * soft-fp/floatunditf.c: Likewise.
3411         * soft-fp/floatunsidf.c: Likewise.
3412         * soft-fp/floatunsisf.c: Likewise.
3413         * soft-fp/floatunsitf.c: Likewise.
3414         * soft-fp/floatuntidf.c: Likewise.
3415         * soft-fp/floatuntisf.c: Likewise.
3416         * soft-fp/floatuntitf.c: Likewise.
3417         * soft-fp/gedf2.c: Likewise.
3418         * soft-fp/gesf2.c: Likewise.
3419         * soft-fp/getf2.c: Likewise.
3420         * soft-fp/ledf2.c: Likewise.
3421         * soft-fp/lesf2.c: Likewise.
3422         * soft-fp/letf2.c: Likewise.
3423         * soft-fp/muldf3.c: Likewise.
3424         * soft-fp/mulsf3.c: Likewise.
3425         * soft-fp/multf3.c: Likewise.
3426         * soft-fp/negdf2.c: Likewise.
3427         * soft-fp/negsf2.c: Likewise.
3428         * soft-fp/negtf2.c: Likewise.
3429         * soft-fp/op-1.h: Likewise.
3430         * soft-fp/op-2.h: Likewise.
3431         * soft-fp/op-4.h: Likewise.
3432         * soft-fp/op-8.h: Likewise.
3433         * soft-fp/op-common.h: Likewise.
3434         * soft-fp/quad.h: Likewise.
3435         * soft-fp/single.h: Likewise.
3436         * soft-fp/soft-fp.h: Likewise.
3437         * soft-fp/subdf3.c: Likewise.
3438         * soft-fp/subsf3.c: Likewise.
3439         * soft-fp/subtf3.c: Likewise.
3440         * soft-fp/truncdfsf2.c: Likewise.
3441         * soft-fp/trunctfdf2.c: Likewise.
3442         * soft-fp/trunctfsf2.c: Likewise.
3443         * soft-fp/trunctfxf2.c: Likewise.
3444         * soft-fp/unorddf2.c: Likewise.
3445         * soft-fp/unordsf2.c: Likewise.
3446         * soft-fp/unordtf2.c: Likewise.
3447         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
3448         macro.
3449         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3450         Likewise.
3451         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3452         Likewise.
3453         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3454         Likewise.
3455         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3456         Likewise.
3457         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3458         Likewise.
3459         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3460         Likewise.
3461         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3462         Likewise.
3463         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3464         Likewise.
3465         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3466         Likewise.
3467         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3468         Likewise.
3469         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3470         Likewise.
3471         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3472         Likewise.
3473         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
3474         Likewise.
3475         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
3476         Likewise.
3477         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3478         Likewise.
3480 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3482         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
3483         cannot be represented.
3484         * config/s390/32/_fixsfdi.c: Likewise.
3485         * config/s390/32/_fixtfdi.c: Likewise.
3486         * config/s390/32/_fixunsdfdi.c: Likewise.
3487         * config/s390/32/_fixunssfdi.c: Likewise.
3488         * config/s390/32/_fixunstfdi.c: Likewise.
3490 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
3492         * configure.ac (libgcc_cv_mips_hard_float): New.
3493         * configure: Regenerate.
3494         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
3495         t-softfp-sfdf for hard-float targets.
3496         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
3497         (softfp_float_modes, softfp_int_modes, softfp_extensions)
3498         (softfp_truncations, softfp_exclude_libgcc2): New.
3499         * config/t-hardfp: New file.
3500         * config/t-hardfp-sfdf: Likewise.
3501         * config/hardfp.c: Likewise.
3503 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3505         * config.host: Include t-floattodi also for s390x.
3506         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
3507         * config/s390/32/_fixsfdi.c: Likewise.
3508         * config/s390/32/_fixtfdi.c: Likewise.
3509         * config/s390/32/_fixunsdfdi.c: Likewise.
3510         * config/s390/32/_fixunssfdi.c: Likewise.
3511         * config/s390/32/_fixunstfdi.c: Likewise.
3513 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3515         PR target/59788
3516         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
3517         (install-libgcc-unwind-map-forbuild): New target.
3518         (all): Depend on install-libgcc-unwind-map-forbuild.
3519         (install-libgcc-unwind-map): New target.
3520         (install): Depend on install-libgcc-unwind-map.
3522 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
3524         * config/nios2/crti.S (_init): Initialize GOT pointer from
3525         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
3527 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
3529         * configure.ac: Check __mips64 when setting host_address.
3530         * configure: Regenerate.
3531         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
3532         mips/t-mips64 and t-softfp.
3533         (mips*-*-linux*): Don't add mips/t-tpbit.
3534         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
3535         (DPBIT, DPBIT_CFLAGS): Delete.
3536         * config/mips/sfp-machine.h: New file.
3537         * config/mips/t-mips64: Likewise.
3538         * config/mips/t-softfp-tf: Likewise.
3539         * config/mips/t-tpbit: Delete.
3541 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3543         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
3544         as long long.
3546 2014-01-25  Walter Lee  <walt@tilera.com>
3548         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
3549         config.h or system.h.
3550         (bool) Define.
3552 2014-01-25  Walter Lee  <walt@tilera.com>
3554         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
3555         (post_atomic_barrier): Ditto.
3556         (__fetch_and_do): New macro.
3557         (__atomic_fetch_and_do): Use __fetch_and_do.
3558         (__sync_fetch_and_do): New macro.
3559         (__sync_fetch_and_add_4): New function.
3560         (__sync_fetch_and_sub_4): New function.
3561         (__sync_fetch_and_or_4): New function.
3562         (__sync_fetch_and_and_4): New function.
3563         (__sync_fetch_and_xor_4): New function.
3564         (__sync_fetch_and_nand_4): New function.
3565         (__sync_fetch_and_add_8): New function.
3566         (__sync_fetch_and_sub_8): New function.
3567         (__sync_fetch_and_or_8): New function.
3568         (__sync_fetch_and_and_8): New function.
3569         (__sync_fetch_and_xor_8): New function.
3570         (__sync_fetch_and_nand_8): New function.
3571         (__do_and_fetch): New macro.
3572         (__atomic_do_and_fetch): Use __do_and_fetch.
3573         (__sync_do_and_fetch): New macro.
3574         (__sync_add_and_fetch_4): New function.
3575         (__sync_sub_and_fetch_4): New function.
3576         (__sync_or_and_fetch_4): New function.
3577         (__sync_and_and_fetch_4): New function.
3578         (__sync_xor_and_fetch_4): New function.
3579         (__sync_nand_and_fetch_4): New function.
3580         (__sync_add_and_fetch_8): New function.
3581         (__sync_sub_and_fetch_8): New function.
3582         (__sync_or_and_fetch_8): New function.
3583         (__sync_and_and_fetch_8): New function.
3584         (__sync_xor_and_fetch_8): New function.
3585         (__sync_nand_and_fetch_8): New function.
3586         (__sync_exchange_methods): New macro.
3587         (__sync_val_compare_and_swap_4): New function.
3588         (__sync_bool_compare_and_swap_4): New function.
3589         (__sync_lock_test_and_test_4): New function.
3590         (__sync_val_compare_and_swap_8): New function.
3591         (__sync_bool_compare_and_swap_8): New function.
3592         (__sync_lock_test_and_test_8): New function.
3593         (__subword_cmpxchg_body): New macro.
3594         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
3595         (__atomic_compare_exchange_2): Ditto.
3596         (__sync_subword_cmpxchg): New macro.
3597         (__sync_val_compare_and_swap_1): New function.
3598         (__sync_bool_compare_and_swap_1): New function.
3599         (__sync_val_compare_and_swap_2): New function.
3600         (__sync_bool_compare_and_swap_2): New function.
3601         (__atomic_subword): Rename to ...
3602         (__subword): ... New name.
3603         (__atomic_subword_fetch): Use __subword.
3604         (__sync_subword_fetch): New macro.
3605         (__sync_fetch_and_add_1): New function.
3606         (__sync_fetch_and_sub_1): New function.
3607         (__sync_fetch_and_or_1): New function.
3608         (__sync_fetch_and_and_1): New function.
3609         (__sync_fetch_and_xor_1): New function.
3610         (__sync_fetch_and_nand_1): New function.
3611         (__sync_fetch_and_add_2): New function.
3612         (__sync_fetch_and_sub_2): New function.
3613         (__sync_fetch_and_or_2): New function.
3614         (__sync_fetch_and_and_2): New function.
3615         (__sync_fetch_and_xor_2): New function.
3616         (__sync_fetch_and_nand_2): New function.
3617         (__sync_add_and_fetch_1): New function.
3618         (__sync_sub_and_fetch_1): New function.
3619         (__sync_or_and_fetch_1): New function.
3620         (__sync_and_and_fetch_1): New function.
3621         (__sync_xor_and_fetch_1): New function.
3622         (__sync_nand_and_fetch_1): New function.
3623         (__sync_add_and_fetch_2): New function.
3624         (__sync_sub_and_fetch_2): New function.
3625         (__sync_or_and_fetch_2): New function.
3626         (__sync_and_and_fetch_2): New function.
3627         (__sync_xor_and_fetch_2): New function.
3628         (__sync_nand_and_fetch_2): New function.
3629         (__atomic_subword_lock): Use __subword.
3630         (__sync_subword_lock): New macro.
3631         (__sync_lock_test_and_set_1): New function.
3632         (__sync_lock_test_and_set_2): New function.
3634 2014-01-25  Walter Lee  <walt@tilera.com>
3636         * config/tilepro/atomic.c (BIT_OFFSET): Define.
3637         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
3638         (__atomic_subword): Ditto.
3640 2014-01-25  Walter Lee  <walt@tilera.com>
3642         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
3643         a prefix op argument.
3644         (__atomic_nand_fetch_4): Add prefix op.
3645         (__atomic_nand_fetch_8): Ditto.
3647 2014-01-21  Baruch Siach  <barch@tkos.co.il>
3649         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
3651 2014-01-09  Rong Xu  <xur@google.com>
3653         * libgcov-driver.c (this_prg): make it local to save
3654         bss space.
3655         (gcov_exit_compute_summary): Ditto.
3656         (gcov_exit_merge_gcda): Ditto.
3657         (gcov_exit_merge_summary): Ditto.
3658         (gcov_exit_dump_gcov): Ditto.
3660 2014-01-08  Rong Xu  <xur@google.com>
3662         * libgcov-driver.c: Use libgcov.h.
3663         (buffer_fn_data): Use xmalloc instead of malloc.
3664         (gcov_exit_merge_gcda): Ditto.
3665         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
3666         * libgcov.h: New common header files for libgcov-*.h.
3667         * libgcov-interface.c: Use libgcov.h
3668         * libgcov-merge.c: Ditto.
3669         * libgcov-profiler.c: Ditto.
3670         * Makefile.in: Add dependence to libgcov.h
3672 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
3674         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
3675         case of small numerator and finite nonzero result.
3677 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
3679         Update copyright years
3681 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
3683         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
3684         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
3685         config/arc/dp-hack.h, config/arc/fp-hack.h,
3686         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
3687         config/arc/ieee-754/arc600-dsp/divdf3.S,
3688         config/arc/ieee-754/arc600-dsp/divsf3.S,
3689         config/arc/ieee-754/arc600-dsp/muldf3.S,
3690         config/arc/ieee-754/arc600-dsp/mulsf3.S,
3691         config/arc/ieee-754/arc600-mul64/divdf3.S,
3692         config/arc/ieee-754/arc600-mul64/divsf3.S,
3693         config/arc/ieee-754/arc600-mul64/muldf3.S,
3694         config/arc/ieee-754/arc600-mul64/mulsf3.S,
3695         config/arc/ieee-754/arc600/divsf3.S,
3696         config/arc/ieee-754/arc600/mulsf3.S,
3697         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
3698         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
3699         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
3700         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
3701         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
3702         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
3703         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
3704         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
3705         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
3706         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
3707         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
3708         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
3709         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
3710         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
3711         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
3712         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
3713         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
3714         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
3715         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
3716         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
3717         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
3718         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
3719         vtv_start_preinit.c: Use the standard form for the copyright notice.
3721 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
3722             Chung-Lin Tang  <cltang@codesourcery.com>
3723             Based on patches from Altera Corporation
3725         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
3726         * config/nios2/lib2-nios2.h: New file.
3727         * config/nios2/lib2-divmod-hi.c: New file.
3728         * config/nios2/linux-unwind.h: New file.
3729         * config/nios2/lib2-divmod.c: New file.
3730         * config/nios2/linux-atomic.c: New file.
3731         * config/nios2/t-nios2: New file.
3732         * config/nios2/crti.asm: New file.
3733         * config/nios2/t-linux: New file.
3734         * config/nios2/lib2-divtable.c: New file.
3735         * config/nios2/lib2-mul.c: New file.
3736         * config/nios2/tramp.c: New file.
3737         * config/nios2/crtn.asm: New file.
3739 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
3741         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
3742         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
3743         from cpuid.h to check vendor signatures.
3745 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
3747         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
3748         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
3749         (get_amd_cpu): Likewise.
3751 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
3753         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
3754         Haswell.
3756 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
3757             H.J. Lu  <hongjiu.lu@intel.com>
3759         PR target/59422
3760         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
3761         and AMD_JAGUAR.
3762         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
3763         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
3764         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
3765         FEATURE_XOP and FEATURE_FMA.
3766         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
3767         AMDFAM15H_BDVER3.
3768         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
3769         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
3770         FEATURE_FMA4 and FEATURE_XOP.
3772 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
3774         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
3775         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
3776         (get_intel_cpu): Updated.
3778 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
3780         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
3782 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
3784         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
3785         instructions when __SSE_MATH__ is defined.
3787 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
3789         * config.host (microblaze-*-rtems*): New.
3791 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
3793         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
3794         architectures that do not have hardware divide instruction.
3795         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
3797 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
3799         * longlong.h: Delete (moved to include/).
3801 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3803         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
3804         of normal number and qNaN to not raise an inexact exception.
3806 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
3808         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
3810 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
3812         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
3813         for correct opcodes on BE.
3815 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
3817         * soft-fp/op-4.h: Update from glibc.
3819 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
3821         * libgcc2.c (__udivmoddi4): Define new implementation when
3822         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
3823         divide instructions.
3825 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
3827         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
3829 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3831         * config/t-softfp (soft-fp-objects-base): New variable.
3832         (soft-fp-objects): Use it.
3834 2013-11-23  David Edelson  <dje.gcc@gmail.com>
3835             Andrew Dixie  <andrewd@gentrack.com>
3837         PR target/33704
3838         * config/rs6000/aixinitfini.c: New file.
3839         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
3840         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
3841         symbols.
3843 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
3845         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
3847 2013-11-18  Jan Hubicka  <jh@suse.cz>
3849         * libgcov-driver.c (run_accounted): Make global level static.
3850         (gcov_exit_merge_summary): Silence warning; do not clear
3851         run_accounted here.
3852         (gcov_exit): Clear it here.
3854         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
3855         run_accounted.
3857         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
3858         (all_prg, crc32): Remove static vars.
3859         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
3860         all_prg.
3861         (gcov_exit_merge_gcda): Add crc32 parameter.
3862         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
3863         do not account run if it was already accounted.
3864         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
3865         (gcov_exit): Initialize all_prg; update.
3867 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
3869         * configure: Regenerate.
3871 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3872             Alan Modra  <amodra@gmail.com>
3874         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
3875         (frob_update_context): Use it.
3877 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3878             Alan Modra  <amodra@gmail.com>
3880         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
3881         (trampoline_initial): Provide ELFv2 variant.
3882         (__trampoline_setup): Likewise.
3884         * config/rs6000/linux-unwind.h (frob_update_context): Do not
3885         check for AIX indirect function call sequence if _CALL_ELF == 2.
3887 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3888             Alan Modra  <amodra@gmail.com>
3890         * config/rs6000/linux-unwind.h (get_regs): Do not support
3891         old kernel versions if _CALL_ELF == 2.
3892         (frob_update_context): Do not support PLT stub variants only
3893         generated by old linkers if _CALL_ELF == 2.
3895 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3896             Alan Modra  <amodra@gmail.com>
3898         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
3899         location of CR save area for 64-bit little-endian systems.
3901 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
3903         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
3904         in tmake_file.
3905         * config/arm/t-vxworks: Delete.
3907 2013-11-10  Kai Tietz  <ktietz@redhat.com>
3909         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
3910         Increment load-count on use of LIBGCC_SONAME DLL.
3911         (hmod_libgcc): New static variable to hold handle of
3912         LIBGCC_SONAME DLL.
3913         (__gcc_deregister_frame): Decrement load-count of
3914         LIBGCC_SONAME DLL.
3916 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3918         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
3919         availability.
3920         * configure: Regenerate
3922 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
3924         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
3925         FP_EX_DENORM.  Store result to volatile location after SSE division
3926         to close interrupt window.  Remove unneeded fwait after x87
3927         division since interrupt window will be closed by emitted fstp.
3928         Rewrite FP_EX_INEXACT handling.
3930 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
3932         * soft-fp/README: Update.
3933         * soft-fp/adddf3.c: Update from glibc.
3934         * soft-fp/addsf3.c: Likewise.
3935         * soft-fp/addtf3.c: Likewise.
3936         * soft-fp/divdf3.c: Likewise.
3937         * soft-fp/divsf3.c: Likewise.
3938         * soft-fp/divtf3.c: Likewise.
3939         * soft-fp/double.h: Likewise.
3940         * soft-fp/eqdf2.c: Likewise.
3941         * soft-fp/eqsf2.c: Likewise.
3942         * soft-fp/eqtf2.c: Likewise.
3943         * soft-fp/extenddftf2.c: Likewise.
3944         * soft-fp/extended.h: Likewise.
3945         * soft-fp/extendsfdf2.c: Likewise.
3946         * soft-fp/extendsftf2.c: Likewise.
3947         * soft-fp/extendxftf2.c: Likewise.
3948         * soft-fp/fixdfdi.c: Likewise.
3949         * soft-fp/fixdfsi.c: Likewise.
3950         * soft-fp/fixdfti.c: Likewise.
3951         * soft-fp/fixsfdi.c: Likewise.
3952         * soft-fp/fixsfsi.c: Likewise.
3953         * soft-fp/fixsfti.c: Likewise.
3954         * soft-fp/fixtfdi.c: Likewise.
3955         * soft-fp/fixtfsi.c: Likewise.
3956         * soft-fp/fixtfti.c: Likewise.
3957         * soft-fp/fixunsdfdi.c: Likewise.
3958         * soft-fp/fixunsdfsi.c: Likewise.
3959         * soft-fp/fixunsdfti.c: Likewise.
3960         * soft-fp/fixunssfdi.c: Likewise.
3961         * soft-fp/fixunssfsi.c: Likewise.
3962         * soft-fp/fixunssfti.c: Likewise.
3963         * soft-fp/fixunstfdi.c: Likewise.
3964         * soft-fp/fixunstfsi.c: Likewise.
3965         * soft-fp/fixunstfti.c: Likewise.
3966         * soft-fp/floatdidf.c: Likewise.
3967         * soft-fp/floatdisf.c: Likewise.
3968         * soft-fp/floatditf.c: Likewise.
3969         * soft-fp/floatsidf.c: Likewise.
3970         * soft-fp/floatsisf.c: Likewise.
3971         * soft-fp/floatsitf.c: Likewise.
3972         * soft-fp/floattidf.c: Likewise.
3973         * soft-fp/floattisf.c: Likewise.
3974         * soft-fp/floattitf.c: Likewise.
3975         * soft-fp/floatundidf.c: Likewise.
3976         * soft-fp/floatundisf.c: Likewise.
3977         * soft-fp/floatunditf.c: Likewise.
3978         * soft-fp/floatunsidf.c: Likewise.
3979         * soft-fp/floatunsisf.c: Likewise.
3980         * soft-fp/floatunsitf.c: Likewise.
3981         * soft-fp/floatuntidf.c: Likewise.
3982         * soft-fp/floatuntisf.c: Likewise.
3983         * soft-fp/floatuntitf.c: Likewise.
3984         * soft-fp/gedf2.c: Likewise.
3985         * soft-fp/gesf2.c: Likewise.
3986         * soft-fp/getf2.c: Likewise.
3987         * soft-fp/ledf2.c: Likewise.
3988         * soft-fp/lesf2.c: Likewise.
3989         * soft-fp/letf2.c: Likewise.
3990         * soft-fp/muldf3.c: Likewise.
3991         * soft-fp/mulsf3.c: Likewise.
3992         * soft-fp/multf3.c: Likewise.
3993         * soft-fp/negdf2.c: Likewise.
3994         * soft-fp/negsf2.c: Likewise.
3995         * soft-fp/negtf2.c: Likewise.
3996         * soft-fp/op-1.h: Likewise.
3997         * soft-fp/op-2.h: Likewise.
3998         * soft-fp/op-4.h: Likewise.
3999         * soft-fp/op-8.h: Likewise.
4000         * soft-fp/op-common.h: Likewise.
4001         * soft-fp/quad.h: Likewise.
4002         * soft-fp/single.h: Likewise.
4003         * soft-fp/soft-fp.h: Likewise.
4004         * soft-fp/subdf3.c: Likewise.
4005         * soft-fp/subsf3.c: Likewise.
4006         * soft-fp/subtf3.c: Likewise.
4007         * soft-fp/truncdfsf2.c: Likewise.
4008         * soft-fp/trunctfdf2.c: Likewise.
4009         * soft-fp/trunctfsf2.c: Likewise.
4010         * soft-fp/trunctfxf2.c: Likewise.
4011         * soft-fp/unorddf2.c: Likewise.
4012         * soft-fp/unordsf2.c: Likewise.
4013         * soft-fp/unordtf2.c: Likewise.
4015 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
4017         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4018         (_FP_MUL_MEAT_D): Ditto.
4019         (_FP_DIV_MEAT_S): Ditto.
4020         (_FP_DIV_MEAT_D): Ditto.
4021         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4022         t-softfp-sfdf and t-softfp to tmake_file.
4024 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
4026         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4027         * config/i386/crtprec.c: Ditto.
4029 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
4030             Shiva Chen  <shiva0217@gmail.com>
4032         * config.host (nds32*-elf*): Add nds32 target.
4033         * config/nds32 : New directory and files.
4035 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
4037         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
4038         * config.host (cpu_type) <Setting default>: Add entry for
4039         crisv32-*-*.
4040         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4041         <crisv32-*-linux*>: Adjust.
4042         * longlong.h: Wrap the whole CRIS section in a single
4043         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
4044         and sub_ddmmss.
4045         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4046         defined.
4047         [__CRIS__] (__umulsidi3): Define.
4048         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4049         * config/cris/sfp-machine.h: New file.
4050         * config/cris/umulsidi3.S: New file.
4051         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4052         * config/cris/arit.c (SIGNMULT): New macro.
4053         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4054         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4055         saving 3 out of originally 33 cycles from the fastest
4056         path, 3 out of 54 from the medium path and one from the longest
4057         path.  Improve comments.
4059 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
4061         * sync.c: Remove static aliases and define each function directly
4062         under its real name.
4064 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
4066         * config.host (hppa*64*-*-linux*): Define extra_parts.
4067         (hppa*-*-linux*): Likewise.
4069 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
4071         * config/arc/crtgend.S: Add 2013 to Copyright years.
4072         * config/arc/gmon/atomic.h: Likewise.
4073         * config/arc/gmon/auxreg.h: Likewise.
4074         * config/arc/gmon/sys/gmon_out.h: Likewise.
4075         * config/arc/gmon/sys/gmon.h: Likewise.
4076         * config/arc/gmon/prof-freq.c: Likewise.
4077         * config/arc/gmon/mcount.c: Likewise.
4078         * config/arc/gmon/prof-freq-stub.S: Likewise.
4079         * config/arc/gmon/gmon.c: Likewise.
4080         * config/arc/gmon/machine-gmon.h: Likewise.
4081         * config/arc/gmon/profil.S: Likewise.
4082         * config/arc/gmon/dcache_linesz.S: Likewise.
4083         * config/arc/crtg.S: Likewise.
4084         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4085         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4086         * config/arc/ieee-754/adddf3.S: Likewise.
4087         * config/arc/ieee-754/truncdfsf2.S: Likewise.
4088         * config/arc/ieee-754/fixsfsi.S: Likewise.
4089         * config/arc/ieee-754/gtsf2.S: Likewise.
4090         * config/arc/ieee-754/floatsisf.S: Likewise.
4091         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4092         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4093         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4094         * config/arc/ieee-754/fixdfsi.S: Likewise.
4095         * config/arc/ieee-754/addsf3.S: Likewise.
4096         * config/arc/ieee-754/gesf2.S: Likewise.
4097         * config/arc/ieee-754/floatsidf.S: Likewise.
4098         * config/arc/ieee-754/extendsfdf2.S: Likewise.
4099         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4100         * config/arc/ieee-754/gtdf2.S: Likewise.
4101         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4102         * config/arc/ieee-754/uneqdf2.S: Likewise.
4103         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4104         * config/arc/ieee-754/uneqsf2.S: Likewise.
4105         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4106         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4107         * config/arc/ieee-754/eqdf2.S: Likewise.
4108         * config/arc/ieee-754/ordsf2.S: Likewise.
4109         * config/arc/ieee-754/divsf3.S: Likewise.
4110         * config/arc/ieee-754/divdf3.S: Likewise.
4111         * config/arc/ieee-754/floatunsidf.S: Likewise.
4112         * config/arc/ieee-754/orddf2.S: Likewise.
4113         * config/arc/ieee-754/eqsf2.S: Likewise.
4114         * config/arc/ieee-754/gedf2.S: Likewise.
4115         * config/arc/crtn.S: Likewise.
4116         * config/arc/crti.S: Likewise.
4117         * config/arc/t-arc700-uClibc: Likewise.
4118         * config/arc/asm.h: Likewise.
4119         * config/arc/libgcc-excl.ver: Likewise.
4120         * config/arc/t-arc-newlib: Likewise.
4121         * config/arc/divtab-arc700.c: Likewise.
4122         * config/arc/initfini.c: Likewise.
4123         * config/arc/fp-hack.h: Likewise.
4125 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
4126             Diego Novillo  <dnovillo@google.com>
4128         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
4129         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4130         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4131         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
4133 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
4134             Brendan Kehoe  <brendan@zen.org>
4135             Simon Cook  <simon.cook@embecosm.com>
4137         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4138         * config/arc: New directory.
4139         * longlong.h [__arc__] (umul_ppmm): Remove.
4140         [__arc__] (__umulsidi3): Define.
4141         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4142         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4144 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
4146         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4147         CreateSemaphoreA.
4148         * config/i386/gthr-win32.h: Likewise.
4150 2013-09-16  DJ Delorie  <dj@redhat.com>
4152         * config/rl78/vregs.h: Add G10 register definitions.
4153         * config/rl78/lib2mul.c: Enable for RL78/G10.
4154         * config/rl78/lib2div.c: Likewise.
4155         * config/rl78/lshrsi3.S: Use vregs.h.
4156         * config/rl78/cmpsi2.S: Likewise.
4157         * config/rl78/trampoline.S: Likewise.
4158         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
4160 2013-09-14  DJ Delorie  <dj@redhat.com>
4161             Nick Clifton  <nickc@redhat.com>
4163         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4164         * config/rl78/vregs.h: New.
4165         * config/rl78/signbit.S: New file.  Implements signbit function.
4166         * config/rl78/divmodsi.S: New.
4167         * config/rl78/divmodhi.S: New.
4168         * config/rl78/divmodqi.S: New.
4169         * config/rl78/t-rl78: Build them here...
4170         * config/rl78/lib2div.c: ...but not here.
4172 2013-09-12  DJ Delorie  <dj@redhat.com>
4174         * config.host (msp*-*-elf): New.
4175         * config/msp430/: New port.
4177 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
4179         PR gcov-profile/58127
4180         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4181         __thread var for emulated TLS.
4182         (__gcov_indirect_call_counters): Likewise.
4184 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
4185             Catherine Moore  <clm@codesourcery.com>
4186             Richard Sandiford  <rdsandiford@googlemail.com>
4188         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4189         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4190         (CALL_STUB_NO_RET): Likewise.
4191         (CALL_STUB_RET): Likewise.
4192         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4193         __mips16_ret call/return stub symbols.
4194         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4195         to tmake_file.
4197 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
4199         * config.host <mips*-*-linux*>: Remove a stray comment.
4201 2013-08-10  Jan Hubicka  <jh@suse.cz>
4203         Work around binutils PR14342
4204         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4205         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4206         (L_gcov_indirect_call_profiler_v2): New.
4208 2013-08-06  Jan Hubicka  <jh@suse.cz>
4210         * libgcov.c (__gcov_indirect_call_callee,
4211         __gcov_indirect_call_counters): New global vars.
4212         (__gcov_indirect_call_profiler): replace by ...
4213         (__gcov_indirect_call_profiler_v2) ... this one.
4215 2013-08-06  Caroline Tice  <cmtice@google.com>
4217         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
4218         vtv_start_preinit.o and vtv_end_preinit.o.
4219         * configure.ac: Add code to check/set enable_vtable_verify.
4220         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
4221         true.
4222         * vtv_start_preinit.c: New file.
4223         * vtv_end_preinit.c: New file.
4224         * vtv_start.c: New file.
4225         * vtv_end.c: New file.
4226         * configure: Regenerated.
4228 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
4230         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4231         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4232         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4233         GPL-3.0-with-GCC-exception.
4235 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
4237         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4238         ISA and up.
4240 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4242         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4243         mapping for FPRs when creating the fallback framestate.
4245 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
4247         PR target/57516
4248         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4249         (__round_s2_const, __round_u2_const)
4250         (__round_s4_const, __round_u4_const, __round_x8):
4251         Saturate result if addition result cannot be represented.
4253 2013-07-15  Matthias Klose  <doko@ubuntu.com>
4255         * libgcc2.c: Don't include <limits.h>.
4257 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
4259         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4261 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
4263         PR target/29776
4264         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4266 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
4268         PR middle-end/36041
4269         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4270         Define.
4271         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4272         instead of table lookups.
4273         (__popcountDI2): Likewise.
4275 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
4277         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4278         correctly.
4280 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
4282         PR other/53317
4283         * soft-fp/adddf3.c: Update from glibc.
4284         * soft-fp/addsf3.c: Likewise.
4285         * soft-fp/addtf3.c: Likewise.
4286         * soft-fp/divdf3.c: Likewise.
4287         * soft-fp/divsf3.c: Likewise.
4288         * soft-fp/divtf3.c: Likewise.
4289         * soft-fp/double.h: Likewise.
4290         * soft-fp/eqdf2.c: Likewise.
4291         * soft-fp/eqsf2.c: Likewise.
4292         * soft-fp/eqtf2.c: Likewise.
4293         * soft-fp/extenddftf2.c: Likewise.
4294         * soft-fp/extended.h: Likewise.
4295         * soft-fp/extendsfdf2.c: Likewise.
4296         * soft-fp/extendsftf2.c: Likewise.
4297         * soft-fp/fixdfdi.c: Likewise.
4298         * soft-fp/fixdfsi.c: Likewise.
4299         * soft-fp/fixsfdi.c: Likewise.
4300         * soft-fp/fixsfsi.c: Likewise.
4301         * soft-fp/fixtfdi.c: Likewise.
4302         * soft-fp/fixtfsi.c: Likewise.
4303         * soft-fp/fixunsdfdi.c: Likewise.
4304         * soft-fp/fixunsdfsi.c: Likewise.
4305         * soft-fp/fixunssfdi.c: Likewise.
4306         * soft-fp/fixunssfsi.c: Likewise.
4307         * soft-fp/fixunstfdi.c: Likewise.
4308         * soft-fp/fixunstfsi.c: Likewise.
4309         * soft-fp/floatdidf.c: Likewise.
4310         * soft-fp/floatdisf.c: Likewise.
4311         * soft-fp/floatditf.c: Likewise.
4312         * soft-fp/floatsidf.c: Likewise.
4313         * soft-fp/floatsisf.c: Likewise.
4314         * soft-fp/floatsitf.c: Likewise.
4315         * soft-fp/floatundidf.c: Likewise.
4316         * soft-fp/floatundisf.c: Likewise.
4317         * soft-fp/floatunditf.c: Likewise.
4318         * soft-fp/floatunsidf.c: Likewise.
4319         * soft-fp/floatunsisf.c: Likewise.
4320         * soft-fp/floatunsitf.c: Likewise.
4321         * soft-fp/gedf2.c: Likewise.
4322         * soft-fp/gesf2.c: Likewise.
4323         * soft-fp/getf2.c: Likewise.
4324         * soft-fp/ledf2.c: Likewise.
4325         * soft-fp/lesf2.c: Likewise.
4326         * soft-fp/letf2.c: Likewise.
4327         * soft-fp/muldf3.c: Likewise.
4328         * soft-fp/mulsf3.c: Likewise.
4329         * soft-fp/multf3.c: Likewise.
4330         * soft-fp/negdf2.c: Likewise.
4331         * soft-fp/negsf2.c: Likewise.
4332         * soft-fp/negtf2.c: Likewise.
4333         * soft-fp/op-1.h: Likewise.
4334         * soft-fp/op-2.h: Likewise.
4335         * soft-fp/op-4.h: Likewise.
4336         * soft-fp/op-8.h: Likewise.
4337         * soft-fp/op-common.h: Likewise.
4338         * soft-fp/quad.h: Likewise.
4339         * soft-fp/single.h: Likewise.
4340         * soft-fp/soft-fp.h: Likewise.
4341         * soft-fp/subdf3.c: Likewise.
4342         * soft-fp/subsf3.c: Likewise.
4343         * soft-fp/subtf3.c: Likewise.
4344         * soft-fp/truncdfsf2.c: Likewise.
4345         * soft-fp/trunctfdf2.c: Likewise.
4346         * soft-fp/trunctfsf2.c: Likewise.
4347         * soft-fp/unorddf2.c: Likewise.
4348         * soft-fp/unordsf2.c: Likewise.
4349         * soft-fp/unordtf2.c: Likewise.
4350         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
4351         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4352         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4353         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4354         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4355         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4356         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4357         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4358         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4359         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
4360         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
4361         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4363 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
4365         * config/mips/lib2funcs.c: New file.
4366         * config/mips/t-mips (LIB2ADD_ST): Add it.
4368 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
4370         PR target/6526
4371         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
4372         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
4374 2013-06-08  Walter Lee  <walt@tilera.com>
4376         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
4377         Replace int64_t with long long.  Add __extension__ where
4378         appropriate.
4379         * config/tilepro/atomic.c: Include config.h.
4381 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
4383         * config.host (arm-wrs-vxworks): Configure with other soft float.
4385 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
4387         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
4388         (mips64r5900el-*-elf*): New configurations.
4390 2013-06-04  Alan Modra  <amodra@gmail.com>
4392         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
4394 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
4396         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
4398 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
4400         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
4401         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
4402         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
4404 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
4406         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
4407         (powerpc-wrs-vxworks): Likewise.
4409 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
4411         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
4412         signal frames as well.
4413         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
4414         STACK_BIAS to the CFA offset.
4416 2013-05-17  Richard Henderson  <rth@redhat.com>
4418         PR target/49146
4419         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
4420         (execute_cfa_program): Use it when storing to fs->regs.
4422 2013-05-08  Kai Tietz  <ktietz@redhat.com>
4424         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
4425         (__deregister_frame_info): Likewise.
4427 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
4429         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
4430         NaN's payload.
4432         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
4434 2013-04-25  Alan Modra  <amodra@gmail.com>
4436         * config.host: Match little-endian powerpc-linux.
4438 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
4440         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
4441         as 'unsigned long long' instead of 'unsigned long'.
4442         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
4443         'signed long'.
4445 2013-04-10  Julian Brown  <julian@codesourcery.com>
4447         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
4448         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
4449         unsigned char/unsigned short.
4450         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
4452 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4454         PR other/55274
4455         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
4457 2013-04-04  Meador Inge  <meadori@codesourcery.com>
4459         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
4460         computing the location of the link register.
4461         (aeabi_uldivmod): Ditto.
4463 2013-03-27  Kai Tietz  <ktietz@redhat.com>
4465         * config.host: Add support for cygwin x64 target.
4466         * configure: Regenerated.
4468 2013-03-26  Walter Lee  <walt@tilera.com>
4470         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
4471         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
4473 2013-03-25  Kai Tietz  <ktietz@redhat.com>
4475         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
4477 2013-03-20  Robert Mason  <rbmj@verizon.net>
4479         * config/vxlib-tls.c (__gthread_get_tsd_data,)
4480         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
4481         (__gthread_leave_tsd_dtor_context): Add prototypes.
4482         (tls_delete_hook): Update.
4484 2013-03-20  Catherine Moore  <clm@codesourcery.com>
4485             Joseph Myers  <joseph@codesourcery.com>
4486             Chao-ying Fu  <fu@mips.com>
4488         * config/mips/mips16.S:  Don't build for microMIPS.
4489         * config/mips/linux-unwind.h: Handle microMIPS frame.
4490         * config/mips/crtn.S (fini, init): New labels.
4492 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
4494         PR tree-optimization/53265
4495         * unwind-dw2.c (execute_cfa_program): Avoid
4496         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
4497         on targets with DWARF_FRAME_REGISTERS < 32.
4499 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
4501         PR target/49880
4502         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
4503         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
4505 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
4507         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
4508         sandybridge processors.
4510 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
4512         PR target/56529
4513         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
4514         inclusion list.
4516 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4518         * config/microblaze/crti.S: Setup stack protection at entry
4520 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
4522         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
4523         (__rotldi3): Shift bytewise if applicable.
4525 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
4527         * config/aarch64/sync-cache.c
4528         (__aarch64_sync_cache_range): Silence warnings.
4530 2013-02-25  Catherine Moore  <clm@codesourcery.com>
4532         Revert:
4533         2013-02-24  Catherine Moore  <clm@codesourcery.com>
4534             Joseph Myers  <joseph@codesourcery.com>
4535             Chao-ying Fu  <fu@mips.com>
4537         * config/mips/mips16.S:  Don't build for microMIPS.
4538         * config/mips/linux-unwind.h: Handle microMIPS frame.
4539         * config/mips/crtn.S (fini, init): New labels.
4541 2013-02-24  Catherine Moore  <clm@codesourcery.com>
4542             Joseph Myers  <joseph@codesourcery.com>
4543             Chao-ying Fu  <fu@mips.com>
4545         * config/mips/mips16.S:  Don't build for microMIPS.
4546         * config/mips/linux-unwind.h: Handle microMIPS frame.
4547         * config/mips/crtn.S (fini, init): New labels.
4549 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4550         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
4551         as dividend.
4553 2013-02-16  Alan Modra  <amodra@gmail.com>
4555         PR target/55431
4556         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
4557         (ppc_fallback_frame_state): Always set up save locations for fp
4558         and altivec.  Don't bother with non-callee-saved regs, r0-r13
4559         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
4561 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
4563         PR target/54222
4564         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
4565         _ssmulHA, _ssmulSA.
4566         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
4567         _ssmulha3, _usmulusa3, _ssmulsa3.
4568         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
4569         (__muldi3): XCALL __muldi3_6 instead of rcall.
4570         (__umulsidi3, __mulsidi3): New functions.
4571         (do_prologue_saves, do_epilogue_restores): New .macros.
4572         (__divdi3_moddi3): Use them.
4573         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
4574         (__usmulusa3, __ssmulsa3): New functions.
4576 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
4577             Jack Howarth  <howarth@bromo.med.uc.edu>
4578             Patrick Marlier  <patrick.marlier@gmail.com>
4580         PR libitm/55693
4581         * config/darwin-crt-tm.c: Remove dummy functions hack.
4583 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
4585         PR target/54222
4586         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
4587         * config/avr/lib2-object.mk: New iterator to build objects from it.
4588         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
4589         lib2funcs.c.
4590         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
4591         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
4592         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
4593         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
4594         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
4595         * config/avr/lib1funcs-fixed.S: Implement them.
4597 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
4599         Update copyright years.
4601 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
4603         PR target/54601
4604         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
4605         Add crtcxa to extra_parts.
4606         * config/rs6000/exit.h: New file.
4607         * config/rs6000/cxa_atexit.c: New file.
4608         * config/rs6000/cxa_finalize.c: New file.
4609         * config/rs6000/crtcxa.c: New file.
4610         * config/rs6000/t-aix-cxa: New file.
4611         * config/rs6000/libgcc-aix-cxa.ver: New file.
4613 2013-01-31  Nick Clifton  <nickc@redhat.com>
4615         * config/v850/lib1funcs.S: Add support for e3v5 architecture
4616         variant.
4618 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
4620         PR target/54222
4621         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
4622         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
4623         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
4624         _divQQ,  _divHQ,  _divHA,  _divSA,
4625         _divUQQ, _divUHQ, _divUHA, _divUSA.
4627 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
4629         * config.host(microblaze*-linux*): tmake_file: Remove
4630         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
4631         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
4632         to exclude functions from being built with libgcc.c and use
4633         the microblaze assembly.
4635 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4637         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
4638         extra_parts.
4640 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
4642         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
4643         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
4644         __UINTPTR_TYPE__; also cast 'base' to the same type before the
4645         alignment operation.
4647 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
4649         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
4650         loop start address for cache clearing.
4652 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
4654         * config/avr/lib1funcs.S: Remove trailing blanks.
4655         * config/avr/lib1funcs-fixed.S: Ditto.
4657 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
4659         * config/avr/avr-lib.h: Add GPL copyright notice.
4661 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
4663         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
4664         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
4665         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
4666         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
4668 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
4670         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
4671         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
4673 2013-01-04  Nick Clifton  <nickc@redhat.com>
4675         * config/v850/lib1funcs.S: Only provide CALLT support functions if
4676         the CALLT instruction is supported.
4678 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
4680         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
4681         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
4683 2012-12-13  John Tytgat  <John@bass-software.com>
4685         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
4686         is 25.
4688 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
4690         PR libgcc/55451
4691         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
4692         undefined signed overflows.
4694 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
4696         PR target/55344
4697         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
4699 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
4701         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
4702         (FP_TRAPPING_EXCEPTIONS): Define.
4703         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
4704         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
4706 2012-12-04  Richard Henderson  <rth@redhat.com>
4708         PR bootstrap/55571
4709         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
4711 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4713         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
4714         (FP_EX_SHIFT): Define.
4715         (FP_TRAPPING_EXCEPTIONS): Define.
4717 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4719         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
4720         (FP_ROUNDMODE): Use FP_RND_MASK.
4721         * config/aarch64/sfp-exceptions.c: New.
4722         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4723         Use __sfp_handle_exceptions.
4725 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
4727         * config.host: (arm*-*-freebsd*): Remove.
4728         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
4729         (arm*-*-elf*): Remove.
4730         (arm*-*-wince-pe*): Remove.
4731         * arm/unwind-arm.c (struct fpa_reg): Delete.
4732         (struct fpa_regs): Delete.
4733         (phase1_vrs): Remove fpa element.
4734         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
4735         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
4736         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
4737         * ieee754-sf.S (floatundisf): Remove FPA support.
4738         (floatdisf): Likewise.
4739         * ieee75f-df.S (floatundidf): Likewise.
4740         (floatdidf): Likewise.
4742 2012-11-29  Kai Tietz  <ktietz@redhat.com>
4744         PR target/55445
4745         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
4746         * unwind-generic.h: Likewise.
4747         * unwind-seh.c: Likewise.
4749 2012-11-28  Richard Henderson  <rth@redhat.com>
4751         PR libgcc/48076
4752         * emutls.c (__emutls_get_address): Avoid race condition between
4753         obj->loc.offset read and emutls_key initialization.
4755 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
4757         Adjust decimal point of signed accum mode to GCC default.
4759         PR target/54222
4760         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
4761         _divqq_helper.
4762         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
4763         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
4764         (__mulha3, __mulsa3)
4765         (__divqq3, __divha3, __divsa3): Adjust to new position of
4766         decimal point of signed accum types.
4768         (__mulusa3_round): New function.
4769         (__mulusa3): Use it.
4770         (__divqq_helper): New function.
4771         (__udivuqq3): Use it.
4773 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
4775         PR bootstrap/55370
4776         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
4778 2012-11-18  Teresa Johnson  <tejohnson@google.com>
4780         PR bootstrap/55051
4781         * libgcov.c (gcov_exit): Remove merged program summary
4782         comparison unless !GCOV_LOCKED.
4784 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4786         * soft-fp: Updated from glibc upstream.
4788 2012-11-06  Ian Lance Taylor  <iant@google.com>
4790         * generic-morestack.c (__generic_morestack): Align the returned
4791         stack pointer to a 32 byte boundary.
4792         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
4793         increment the return address until we have decided that we don't
4794         have a varargs function.
4795         (__morestack) [32-bit]: Align stack correctly when calling C
4796         functions.
4797         (__morestack) [64-bit]: Likewise.
4799 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
4801         * configure: Regenerate.
4803 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
4805         PR target/55175
4806         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
4807         * config/i386/sfp-machine.h: Guard exception handling
4808         code with _SOFT_FLOAT.
4809         * config/i386/32/sfp-machine.h: Guard rounding handling
4810         code with _SOFT_FLOAT.
4811         * config/i386/64/sfp-machine.h: Ditto.
4813 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
4815         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
4816         as extra_parts.
4818 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
4820         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
4821         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
4822         when appropriate.  Correct structure element types.
4823         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
4824         -minline-all-stringops from compile flags.
4826 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
4828         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
4830 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
4832         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
4834 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4836         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
4837         tmake_file.
4839 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
4840             Jim MacArthur  <jim.macarthur@arm.com>
4841             Marcus Shawcroft  <marcus.shawcroft@arm.com>
4842             Nigel Stephens  <nigel.stephens@arm.com>
4843             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
4844             Richard Earnshaw  <rearnsha@arm.com>
4845             Sofiane Naci  <sofiane.naci@arm.com>
4846             Stephen Thomas  <stephen.thomas@arm.com>
4847             Tejas Belagod  <tejas.belagod@arm.com>
4848             Yufeng Zhang  <yufeng.zhang@arm.com>
4850         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
4851         * config/aarch64/crti.S: New file.
4852         * config/aarch64/crtn.S: New file.
4853         * config/aarch64/linux-unwind.h: New file.
4854         * config/aarch64/sfp-machine.h: New file.
4855         * config/aarch64/sync-cache.c: New file.
4856         * config/aarch64/t-aarch64: New file.
4857         * config/aarch64/t-softfp: New file.
4859 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
4861         * config/mmix/crti.S: Mark program and data addresses using PRELD.
4862         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
4863         no-longer-needed LDBU insns.
4865 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4867         * config.host
4868         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
4869         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
4871 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
4873         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
4875 2012-10-15  Matthias Klose  <doko@ubuntu.com>
4877         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
4879 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
4881         * configure: Regenerate.
4882         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
4884 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
4886         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4887         instructions for 64bit targets only.
4889 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
4891         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4892         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
4893         * config/i386/32/sfp-machine.h: ... here.
4894         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
4895         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
4896         New defines.
4898 2012-10-07  Matthias Klose  <doko@ubuntu.com>
4900         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
4901         as unused.
4902         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
4904 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
4906         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
4907         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
4908         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
4909         (ElfW): Likewise.
4911 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
4913         PR other/53889
4914         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4915         Fix parameter names.
4917 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
4919         PR target/33135
4920         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
4921         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
4922         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
4924 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
4926         PR target/50457
4927         * config/sh/linux-atomic.S: Delete.
4928         * config/sh/linux-atomic.c: New.
4929         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
4930         linux-atomic.c.  Add cflags to disable warnings.
4932 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
4934         PR other/53889
4935         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
4936         function.
4937         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
4938         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
4939         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
4940         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
4941         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
4942         Likewise.
4943         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4944         Likewise.
4945         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
4946         Likewise.
4947         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
4948         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
4950 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
4952         * config.host (hppa-*-openbsd*): New target.
4953         * config/pa/t-openbsd: New file.
4955 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
4957         PR target/54222
4958         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
4959         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
4960         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
4961         (__divsa3): Use __negsi2 to negate r_quoL.
4962         * config/avr/lib1funcs.S (FALIAS): New macro.
4963         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
4964         (__negsi2): ...this new function.
4965         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
4966         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
4967         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
4968         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
4969         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
4970         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
4972 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
4974         PR target/54089
4975         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
4976         (lshrsi3): Reimplement as lshrsi3_r0.
4978 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
4980         PR target/46191
4981         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
4982         of libgcc.a.
4984 2012-09-07  Teresa Johnson  <tejohnson@google.com>
4986         PR gcov-profile/54487
4987         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
4988         differences.
4990 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
4992         PR target/54461
4993         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
4994         not configured --with-avrlibc=no.
4995         * config/avr/t-avrlibc: New file.
4996         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
4997         (DPBIT_FUNCS): Ditto.
4998         (TPBIT_FUNCS): Ditto.
5000 2012-09-04  Teresa Johnson  <tejohnson@google.com>
5002         * libgcov.c (struct gcov_summary_buffer): New structure.
5003         (gcov_histogram_insert): New function.
5004         (gcov_compute_histogram): Ditto.
5005         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5006         histograms during summary merging.
5008 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
5010         * config.host (x86_64-*-openbsd*): New target.
5012 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
5014         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5015         attribute.
5017 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
5019         PR target/54222
5020         * config/avr/t-avr (conv_X): Rename to func_X.
5022 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
5024         PR target/54222
5025         * config/avr/lib1funcs-fixed.S: New file.
5026         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
5027         after they are used.
5028         (neg2, neg4): New macros.
5029         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5030         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5031         (__umulhisi3): Speed up MUL variant if there is enough flash.
5032         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5033         avr-modes.def.
5034         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5035         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5036         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5037         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5038         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5039         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5040         (LIB2FUNCS_EXCLUDE): Add supported functions.
5042 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
5044         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5045         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5046         libgcc-s-objects.
5047         * fixed-obj.mk: Only expand dependency if $o is not in
5048         LIB2FUNCS_EXCLUDE.
5050 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
5052         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5054 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
5056         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5057         depend on --enable-shared.
5058         ($(lib1asmfuncs-o)): Use %.vis files independent of
5059         --enable-shared.
5060         * static-object.mk ($(base)$(objext), $(base).vis)
5061         ($(base)_s$(objext)): Use same rules for visibility handling as in
5062         shared-object.mk.
5064 2012-08-21  Ian Lance Taylor  <iant@google.com>
5066         * config/i386/morestack.S (__morestack_non_split): Increase amount
5067         of space allocated for non-split code stack.
5069 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
5071         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5072         even if inhibit_libc.
5074 2012-08-17  Julian Brown  <julian@codesourcery.com>
5076         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5077         -fexceptions -fnon-call-exceptions if not defined.
5078         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5079         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5081 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
5083         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5084         type.
5086 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
5088         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5089         rs6000/t-slibgcc-aix.
5091 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
5093         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5095 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
5097         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5099 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
5101         PR driver/54171
5102         * Makefile.in (version): Replace top_srcdir with srcdir.
5104 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
5106         * Makefile.in (version): set to BASE-VER file from gcc directory.
5108 2012-08-01  Nick Clifton  <nickc@redhat.com>
5110         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5111         Implements __clrsb for an HImode argument.
5113 2012-07-31  Nick Clifton  <nickc@redhat.com>
5115         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5116         Implements __clrsb for an HImode argument.
5117         * config/stormy16/clrsbhi2.c: New file:
5118         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5120 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
5122         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5124 2012-07-19  Tristan Gingold  <gingold@adacore.com>
5125             Richard Henderson  <rth@redhat.com>
5127         * unwind-seh.c: New file.
5128         * unwind-generic.h: Include windows.h for SEH.
5129         (_Unwind_Exception): Use 6 private fields for SEH.
5130         (_GCC_specific_handler): Declare.
5131         * unwind-c.c (__gcc_personality_seh0): New function.
5132         Adjust for SEH.
5133         * config/i386/libgcc-cygming.ver: New file.
5134         * config/i386/t-seh-eh: New file.
5135         * config.host (x86_64-*-mingw*): Default to seh.
5137 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
5139         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5141 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
5143         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5144         __builtin_expect when checking for exceptions.
5145         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5147 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
5149         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5150         function declaration.
5151         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5152         (FP_RND_MASK): New.
5153         * config/ia64/sfp-exceptions.c: New.
5154         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
5156 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
5158         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5159         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5160         * config/i386/64/sfp-machine: ... (delete here) ...
5161         * config/i386/sfp-machine.h: ... to here.
5162         (FP_EX_MASK): Remove.
5163         (FP_RND_MASK): New.
5164         (FP_INIT_ROUNDMODE): Declare asm as volatile.
5166 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
5168         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5169         * config/i386/libgcc-sol2.ver: Ditto.
5170         * config/i386/libgcc-glibc.ver: Ditto.
5172 2012-06-11  Roland McGrath  <mcgrathr@google.com>
5174         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5175         If __GLIBC__ is defined, refer to __pthread_key_create instead of
5176         pthread_cancel.
5178 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
5180         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5181         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5182         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5183         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5184         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5185         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5186         * config/i386/64/sfp-machine: ... (delete here) ...
5187         * config/i386/sfp-machine.h: ... to here.
5188         (FP_EX_MASK): New.
5189         (__sfp_handle_exceptions): New function declaration.
5190         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5191         * config/i386/sfp-exceptions.c: New.
5192         * config/i386/t-softfp: New.
5193         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5194         i386/t-softfp to tmake_file.
5196 2012-06-03  David S. Miller  <davem@davemloft.net>
5198         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5199         change.
5201 2012-05-31  David S. Miller  <davem@davemloft.net>
5203         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5204         multiply and divide instructions on 32-bit when V9.
5205         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5207 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
5209         * config/arm/ieee754-df.S: Fix typos.
5210         * config/arm/ieee754-sf.S: Fix typos.
5211         * config/c6x/libunwind.S: Fix typos.
5212         * config/epiphany/udivsi3-float.c: Fix typos.
5213         * config/microblaze/muldi3_hard.S: Fix typos.
5214         * config/picochip/adddi3.S: Fix typos.
5215         * config/picochip/ashlsi3.S: Fix typos.
5216         * config/picochip/ashrsi3.S: Fix typos.
5217         * config/picochip/clzsi2.S: Fix typos.
5218         * config/picochip/cmpsi2.S: Fix typos.
5219         * config/picochip/divmod15.S: Fix typos.
5220         * config/picochip/divmodhi4.S: Fix typos.
5221         * config/picochip/divmodsi4.S: Fix typos.
5222         * config/picochip/longjmp.S: Fix typos.
5223         * config/picochip/lshrsi3.S: Fix typos.
5224         * config/picochip/parityhi2.S: Fix typos.
5225         * config/picochip/popcounthi2.S: Fix typos.
5226         * config/picochip/setjmp.S: Fix typos.
5227         * config/picochip/subdi3.S: Fix typos.
5228         * config/picochip/ucmpsi2.S: Fix typos.
5229         * config/picochip/udivmodhi4.S: Fix typos.
5230         * config/picochip/udivmodsi4.S: Fix typos.
5231         * config/spu/divv2df3.c: Fix typos.
5232         * config/spu/mfc_multi_tag_release.c: Fix typos.
5233         * config/spu/mfc_tag_release.c: Fix typos.
5234         * configure.ac: Fix typos.
5235         * configure: Regenerate.
5237 2012-05-25  Ian Lance Taylor  <iant@google.com>
5239         * config/i386/morestack.S (__morestack_non_split): Check whether
5240         caller is varargs and needs %bp to hold the stack frame on return.
5242 2012-05-25  Olivier Hainque  <hainque@adacore.com>
5244         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5245         sequence in the non pic case on VxWorks.
5247 2012-05-24  Olivier Hainque  <hainque@adacore.com>
5249         * Makefile.in: Move dependency on install-unwind_h from
5250         "install-leaf" to "install".
5252 2012-05-24  Olivier Hainque  <hainque@adacore.com>
5254         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5255         Use a separate command for stamp removals.
5257 2012-05-21  Andrew Pinski  <apinski@cavium.com>
5259         PR bootstrap/53183
5260         * configure.ac: Define the default includes to being none.
5261         * configure: Regenerate.
5263 2012-05-16  Olivier Hainque  <hainque@adacore.com>
5265         * Makefile.in (install-unwind_h): Rename into ...
5266         (install-unwind_h-forbuild): New target.
5267         (all): Use it instead of the former install-unwind_h.
5268         (install-unwind_h): Reinstate, copy to user install destination
5269         for include files, not to the internal gcc object directory one.
5270         (install-leaf): Depend on it.
5272 2012-05-15  Olivier Hainque  <hainque@adacore.com>
5274         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5275         register numbers. LR_REGNO replaces R_LR.
5276         (ucontext_for): New, helper for ...
5277         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5278         and 5.3 of ...
5279         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5281 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5283         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
5284         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
5285         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
5286         i386/t-cpuinfo ...
5287         (i[34567]86-*-*, x86_64-*-*): ... here.
5289         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
5290         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
5292         * config/i386/i386-cpuinfo.c: Rename to ...
5293         * config/i386/cpuinfo.c: ... this.
5294         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
5296         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
5297         (libgcc_cv_init_priority): New test.
5298         * configure: Regenerate.
5299         * config.in: New file.
5300         * Makefile.in (clean): Rename config.h to auto-target.h.
5301         (config.h): Likewise.
5302         (stamp-h): Likewise.
5304         * config/i386/cpuinfo.c (auto-target.h): Include.
5305         (CONSTRUCTOR_PRIORITY): Define.
5306         (__cpu_indicator_init): Use it.
5308 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
5310         * longlong.h: Use a URL instead of an FSF postal address.
5311         Replace spaces with tab.
5313 2012-05-08  Teresa Johnson  <tejohnson@google.com>
5315         * libgcov.c (gcov_clear, __gcov_reset): New functions.
5316         (__gcov_dump): Ditto.
5317         (gcov_dump_complete): New global variable.
5318         (gcov_exit): Export hidden to enable use in L_gcov_dump.
5319         (__gcov_flush): Outline functionality now in gcov_clear.
5320         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
5322 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
5324         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
5325         (mips*-*-linux*): Include mips/t-tpbit when long double is
5326         16 bytes long.
5328 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
5330         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
5331         (get_available_features): New argument. Check for AVX2.
5332         (__cpu_indicator_init): Modify call to get_available_features.
5334 2012-04-25  Alan Modra  <amodra@gmail.com>
5336         * config/rs6000/crtsavevr.S: New file.
5337         * config/rs6000/crtrestvr.S: New file.
5338         * config/rs6000/t-savresfgpr: Build the above.
5339         * config/rs6000/t-netbsd: Likewise.
5341 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
5343         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
5345 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
5347         * libgcc/config/i386/i386-cpuinfo.c: New file.
5348         * libgcc/config/i386/t-cpuinfo: New file.
5349         * libgcc/config.host: Include t-cpuinfo.
5350         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
5352 2012-04-24  Chao-ying Fu  <fu@mips.com>
5354         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
5356 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
5358         struct siginfo vs. siginfo_t
5360         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
5361         siginfo_t instead of struct siginfo.
5362         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
5363         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
5364         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
5365         (ia64_handle_unwabi): Likewise.
5366         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
5367         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
5368         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
5369         (sh_fallback_frame_state): Likewise.
5370         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
5371         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
5373 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
5375         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
5376         system call number.
5378 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
5380         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
5381         if it hasn't been previously saved.
5383 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
5385         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
5386         only for glibc.
5388 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
5390         PR target/52737
5391         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
5392         instead of __AVR_HAVE_8BIT_SP__.
5394 2012-03-26  Tristan Gingold  <gingold@adacore.com>
5396         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
5397         (unw_table_entry): Use unw_word instead of unsigned long.
5398         (_Unwind_FindTableEntry): Likewise.
5399         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
5400         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
5401         (_Unwind_FindTableEntry): Likewise.
5402         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
5403         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
5404         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
5405         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
5406         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
5407         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
5408         (uw_init_context_1, uw_install_context): Likewise.
5409         (unw_word): Move to unwind-ia64.h
5411 2012-03-26  Tristan Gingold  <gingold@adacore.com>
5413         * config/vms/vms-ucrt0.c: Update copyright years.
5414         Add a sanity check.
5415         (___gcc_main_flags): Declare.
5416         (__main): Check flags to remap argv and exit code.
5417         * config.host (*-*-*vms*): Adjust extra_parts.
5418         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
5419         (crt0.o): Add.
5421 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
5423         * arm/lib1funcs.asm (ctzsi2): New function.
5424         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
5425         * arm/t-linux (LIB1ASMFUNCS): Likewise.
5426         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
5427         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
5428         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
5429         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
5431 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
5433         * config.host: Add bits to support powerpc64-*-freebsd*.
5434         * config/rs6000/freebsd-unwind.h: New file.
5435         * config/rs6000/t-freebsd64: New file.
5437 2012-03-20  Richard Guenther  <rguenther@suse.de>
5439         PR gcov-profile/52627
5440         * libgcov.c (init_mx): Fix mutex name.
5442 2012-03-16  Tristan Gingold  <gingold@adacore.com>
5444         * config/ia64/vms-unwind.h: Remove ulong (and replace
5445         it by unw_reg where used).  Define unw_reg with __int64.
5447 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5449         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5450         Solaris 8 handling.
5451         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5452         Solaris 8 handling.
5453         (sparc_is_sighandler): Likewise.
5455 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
5457         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
5458         <= saved reg size.
5460 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5462         * config/arm/crtn.S: Fix typo.
5464 2012-03-13  Richard Guenther  <rguenther@suse.de>
5466         * libgcov.c: Remove stdio.h include and NULL un-define.
5468 2012-03-13  Richard Guenther  <rguenther@suse.de>
5470         PR target/52569
5471         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
5473 2012-03-13  Richard Guenther  <rguenther@suse.de>
5475         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
5477 2012-03-13  Richard Guenther  <rguenther@suse.de>
5479         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
5480         and __gthread_mutex_init_function definitions.
5482 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5484         * config.host (mips*-*-openbsd*): Remove.
5486 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5488         * config.host: Remove alpha*-dec-osf5.1* handling.
5489         * config/alpha/gthr-posix.c: Remove.
5490         * config/alpha/libgcc-osf5.ver: Remove.
5491         * config/alpha/osf5-unwind.h: Remove.
5492         * config/alpha/t-osf-pthread: Remove.
5493         * config/alpha/t-slibgcc-osf: Remove.
5494         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
5495         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
5496         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
5497         * mkmap-flat.awk: Remove osf_export handling.
5499 2012-03-12  Richard Guenther  <rguenther@suse.de>
5501         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
5502         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5503         (__gthread_mutex_init_function): New function.
5504         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5506         PR gcov/49484
5507         * libgcov.c: Include gthr.h.
5508         (__gcov_flush_mx): New global variable.
5509         (init_mx, init_mx_once): New functions.
5510         (__gcov_flush): Protect self with a mutex.
5511         (__gcov_fork): Re-initialize mutex after forking.
5512         * unwind-dw2-fde.c: Change condition under which to use
5513         __GTHREAD_MUTEX_INIT_FUNCTION.
5515 2012-03-12  Tristan Gingold  <gingold@adacore.com>
5517         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
5518         * config/ia64/t-vms: Likewise.
5520 2012-03-11  Michael Hope  <michael.hope@linaro.org>
5522         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
5523         for Thumb-2.
5525 2012-03-07  Walter Lee  <walt@tilera.com>
5527         * config/tilepro/atomic.c: Rename "atomic_" prefix to
5528         "arch_atomic_".
5529         (atomic_xor): Rename and move definition to
5530         config/tilepro/atomic.h.
5531         (atomic_nand): Ditto.
5532         * config/tilepro/atomic.h: Rename "atomic_" prefix to
5533         "arch_atomic_".
5534         (arch_atomic_xor): Move from config/tilepro/atomic.c.
5535         (arch_atomic_nand): Ditto.
5537 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5539         PR target/52507
5540         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
5542 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5544         PR target/52505
5545         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
5546         from RAM.
5548 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5550         PR target/52461
5551         PR target/52508
5552         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
5553         if RAMPZ affects reading from RAM.
5554         (__tablejump_elpm__): Ditto.
5555         (.xload): Ditto.
5556         (__movmemx_hi): Ditto.
5557         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
5558         (__do_global_dtors): Ditto.
5559         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
5560         (__movmemx_hi): Ditto.
5562 2012-03-05  Richard Henderson  <rth@redhat.com>
5564         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
5565         [ARM] (count_trailing_zeros): Use the builtin.
5567 2012-03-01  Kai Tietz  <ktietz@redhat.com>
5569         * soft-fp: Imported from glibc upstream.
5571 2012-02-28  Kai Tietz  <ktietz@redhat.com>
5573         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
5574         for mingw-targets as attribute gcc_struct.
5576 2012-02-28  Ian Lance Taylor  <iant@google.com>
5578         * generic-morestack.c (__splitstack_releasecontext): Correct call
5579         to __morestack_release_segments.
5581 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5583         PR target/52390
5584         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
5585         for __linux__ when removing signals from __morestack_fullmask.
5587 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
5589         PR target/52261
5590         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
5592 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5594         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
5595         instead of HAVE_INITFINI_ARRAY.
5596         * config/ia64/crtend.S: Likewise.
5598 2012-02-20  Kai Tietz  <ktietz@redhat.com>
5600         PR libstdc++/52300
5601         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
5603         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
5604         to w32-unwind.h header.
5606 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
5608         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
5609         (mips*-*-linux*): Remove t-slibgcc-libgcc.
5610         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
5611         * config/mips/mips16.S (__mips16_rdhwr): Delete.
5613 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
5615         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
5617 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
5619         PR libitm/52220
5620         * config/darwin-crt-tm.c: Correct typo.
5622 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
5623             Patrick Marlier  <patrick.marlier@gmail.com>
5625         PR libitm/52220
5626         * config/darwin-crt-tm.c: Generate dummy functions.
5628 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
5629             Patrick Marlier  <patrick.marlier@gmail.com>
5631         PR libitm/52042
5632         * config/darwin-crt-tm.c (getTMCloneTable): New function.
5633         (__doTMRegistrations): Call it.
5634         (__doTMdeRegistrations): Likewise.
5636 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
5637             Anatoly Sokolov  <aesok@post.ru>
5638             Eric Weddington  <eric.weddington@atmel.com>
5640         PR target/52261
5641         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
5642         (__epilogue_restores__): Ditto.
5644 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
5646         PR target/51921
5647         PR target/52205
5648         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
5649         Solaris 11 and slightly reformat.
5650         (sparc_is_sighandler): Likewise.
5652 2012-02-14  Walter Lee  <walt@tilera.com>
5654         * config.host: Handle tilegx and tilepro.
5655         * config/tilegx/sfp-machine.h: New file.
5656         * config/tilegx/sfp-machine32.h: New file.
5657         * config/tilegx/sfp-machine64.h: New file.
5658         * config/tilegx/t-crtstuff: New file.
5659         * config/tilegx/t-softfp: New file.
5660         * config/tilegx/t-tilegx: New file.
5661         * config/tilepro/atomic.c: New file.
5662         * config/tilepro/atomic.h: New file.
5663         * config/tilepro/linux-unwind.h: New file.
5664         * config/tilepro/sfp-machine.h: New file.
5665         * config/tilepro/softdivide.c: New file.
5666         * config/tilepro/softmpy.S: New file.
5667         * config/tilepro/t-crtstuff: New file.
5668         * config/tilepro/t-tilepro: New file.
5670 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
5672         PR libstdc++/51296
5673         PR libstdc++/51906
5674         * gthr-posix.h: Allow static initializer macros to be disabled.
5675         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
5677 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
5679         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
5680         Add t-slibgcc-libgcc to tmake_file.
5681         * config/mips/libgcc-mips16.ver: Revert previous patch.
5682         * config/mips/mips16.S (__mips16_rdhwr): Hide.
5684 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
5685             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
5687         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
5688         * config/cr16/crti.S: New file.
5689         * config/cr16/crtlibid.S: New file.
5690         * config/cr16/crtn.S: New file.
5691         * config/cr16/lib1funcs.S: New file.
5692         * config/cr16/t-cr16: New file.
5693         * config/cr16/t-crtlibid: New file.
5694         * config/cr16/unwind-dw2.h: New file.
5695         * config/cr16/unwind-cr16.c: New file.
5696         * config/cr16/divmodhi3.c: New file.
5698 2012-01-25  Alan Modra  <amodra@gmail.com>
5700         * config/rs6000/t-linux64: Delete.  Move..
5701         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
5702         * config/rs6000/t-linux: ..and libgcc flags to here.
5704 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
5706         * config.host (i[34567]86-*-interix3*):
5707         Change triplet to i[34567]86-*-interix[3-9]*.
5708         * configure: Regenerate.
5710 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
5711             Richard Sandiford  <rdsandiford@googlemail.com>
5713         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
5714         * config/mips/mips16.S (__mips16_rdhwr): New function.
5715         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
5717 2012-01-11  Nathan Sidwell  <nathan@acm.org>
5719         * libgcov.c (__gcov_init): Ignore objects with no functions.
5721 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
5723         PR target/49868
5724         Extend __pgmx semantics to linearize memory.
5725         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
5726         * config/avr/lib1funcs.S (__xload_1): New function.
5727         (__movmemx_qi, __movmemx_hi): New functions.
5728         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
5729         semantics.
5731 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
5733         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
5734         purported sigacthandler address isn't null before dereferencing it.
5735         (sparc_is_sighandler): Likewise.
5737 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
5739         PR ada/41929
5740         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
5741         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
5742         (sparc_is_sighandler): Likewise.
5743         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
5745 2012-01-06  Tristan Gingold  <gingold@adacore.com>
5747         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
5748         compatibility thunks...
5749         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
5750         (crtbeginS.o, crtendS.o): ... and these to ...
5751         * config/ia64/t-ia64-elf: ... this new file.
5752         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
5753         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
5755 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5757         * configure: Regenerate.
5758         * config/s390/t-crtstuff: Remove -fPIC.
5760 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
5762         PR bootstrap/51006
5763         * enable-execute-stack-mprotect.c (getpagesize): Do not define
5764         for NetBSD.
5766 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
5768         PR target/51345
5769         * config/avr/lib1funcs.S: Remove FIXME comments.
5770         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
5772 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
5774         Implement light-weight DImode support.
5775         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
5776         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
5777         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
5778         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
5780 2011-12-30  Nathan Sidwell  <nathan@acm.org>
5782         * libgcov.c (gcov_crc32): Remove global var.
5783         (free_fn_data): New function.
5784         (buffer_fn_data): Pass in filename, more robust error recovery.
5785         (crc32_unsigned): New function.
5786         (gcov_exit): More robust detection of new program. More robust
5787         error recovery.
5788         (__gcov_init): Do not update program's crc here.
5790 2011-12-21  Tristan Gingold  <gingold@adacore.com>
5792         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
5794 2011-12-21  Ian Lance Taylor  <iant@google.com>
5796         * config/i386/morestack.S: Simplify CFI opcodes throughout.
5798 2011-12-20  Ian Lance Taylor  <iant@google.com>
5800         * config/i386/morestack.S (__morestack_non_split): If there is
5801         enough stack space already, don't split.  Ask for more stack space
5802         than we required.
5804 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
5806         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
5807         `sys/sdt.h'.
5808         (_Unwind_DebugHook): New function.
5809         (uw_restore_core_regs): New define.
5810         (unwind_phase2): Use uw_restore_core_regs instead of
5811         restore_core_regs.
5812         (unwind_phase2_forced): Likewise.
5813         (__gnu_Unwind_Resume): Likewise.
5815 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
5817         * config/alpha/linux-unwind.h: Update copyright years.
5818         (MD_FROB_UPDATE_CONTEXT): New define.
5819         (alpha_frob_update_context): New function.
5821 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
5823         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
5824         tmake_file rather replacing it.
5826 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
5828         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
5829         function is not used for PPC64.
5830         (save_world): Amend comments.  Update the VRsave mask to reflect the
5831         saved regs.
5832         (rest_world): Update comments, do not  clobber r10, do not use r8.
5833         (eh_rest_world_r10): Amend comments, do not use r8.
5834         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
5835         no longer used, move restore of CR and target address to the end of
5836         the routine.
5838 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
5840         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
5841         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
5843 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
5845         PR target/49313
5846         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
5847         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
5849 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
5851         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
5853 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
5855         PR target/49313
5856         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
5857         * config/avr/lib1funcs.S (__muldi3): New function.
5859 2011-12-06  Andrew Pinski  <apinski@cavium.com>
5861         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
5862         size of func_ptr.
5863         (__frame_dummy_init_array_entry): Likewise.
5865 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
5867         Forward-port from gcc-4_6-branch r181936 2011-12-02.
5869         PR target/51345
5870         PR target/51002
5871         * config/avr/lib1funcs.S (__prologue_saves__,
5872         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
5873         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
5875 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
5877         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
5879 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5881         PR other/51272
5882         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
5883         (_ITM_deregisterTMCloneTable): Likewise.
5884         (__register_frame_info): Fix unused warning.
5885         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
5886         pthread_default_stacksize_np): Likewise.
5887         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
5889 2011-11-29  DJ Delorie  <dj@redhat.com>
5891         * config.host (rl78-*-elf): New case.
5892         * config/rl78: New directory for the Renesas RL78.
5894 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
5896         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
5897         formatting.
5899 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5901         PR other/51022
5902         * config/rs6000/t-savresfgpr: New file.
5903         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
5904         $(srcdir)/config/rs6000/eabi.S.
5905         * config/rs6000/t-ppccomm-ldbl: Remove.
5906         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
5907         tmake_file.
5908         (powerpc-*-eabispe*): Likewise.
5909         (powerpc-*-eabi*): Likewise.
5910         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5911         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
5912         to tmake_file, remove rs6000/t-ppccomm-ldbl.
5913         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
5914         tmake_file.
5915         (powerpc-*-eabisim*): Likewise.
5916         (powerpc-*-elf*): Likewise.
5917         (powerpc-*-eabialtivec*): Likewise.
5918         (powerpc-xilinx-eabi*): Likewise.
5919         (powerpc-*-rtems*): Likewise.
5920         (powerpcle-*-elf*): Likewise.
5921         (powerpcle-*-eabisim*): Likewise.
5922         (powerpcle-*-eabi*): Likewise.
5924 2011-11-27  Ian Lance Taylor  <iant@google.com>
5926         * generic-morestack.c (__splitstack_find): Check for NULL old
5927         stack value.
5928         (__splitstack_resetcontext): New function.
5929         (__splitstack_releasecontext): New function.
5930         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5932 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
5934         * config/darwin-crt-tm.c: Correct comments, use correct licence.
5936 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
5938         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
5940 2011-11-26  Richard Henderson  <rth@redhat.com>
5942         * config/m68k/linux-atomic.c: New file.
5943         * config/m68k/t-linux: New file.
5944         * config.host (m68k-uclinux, m68k-linux): Use it.
5946 2011-11-26  Richard Henderson  <rth@redhat.com>
5948         * crtstuff.c (__TMC_LIST__): Mark used not unused.
5949         (__TMC_END__): Only declare if hidden is available; in the definition,
5950         if hidden is unavailable add a null record.
5951         (deregister_tm_clones, register_tm_clones): New.
5952         (__do_global_dtors_aux, frame_dummy): Use them.
5953         (__do_global_dtors, __do_global_ctors_1): Likewise.
5955 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
5957         * config/darwin-crt-tm.c: New file.
5958         * config.host (darwin): Build crttms.o crttme.o to provide
5959         startup and shutdown for tm clones.
5960         * config/t-darwin (crttms.o): New build rule.
5961         (crttme.o): Likewise.
5963 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
5965         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
5966         et al.
5968 2011-11-21  Richard Henderson  <rth@redhat.com>
5970         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
5971         (__TMC_LIST__, __TMC_END__): New.
5972         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
5973         (__do_global_dtors): Likewise.
5974         (frame_dummy): Call _ITM_registerTMCloneTable.
5975         (__do_global_ctors_1): Likewise.
5977 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5979         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
5980         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5981         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
5982         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
5983         * config/i386/t-darwin64: Remove.
5984         * config/sh/t-netbsd (LIB2ADD): Remove.
5986 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
5988         PR target/49313
5989         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
5990         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
5991         * config/avr/lib1funcs.S (wmov): New assembler macro.
5992         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
5993         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
5994         (__udivmod64): New function.
5995         (__negdi2): New function.
5997 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
5999         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6000         *-*-freebsd*aout*): Remove.
6002 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
6004         * static-object.mk (c_flags-$o): Save c_flags.
6005         ($(base)$(objext)): Use it.
6007 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
6009         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6011 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
6013         PR target/49868
6014         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6015         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6016         New functions.
6018 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
6020         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6021         functions.
6022         (aeabi_uidivmod): Likewise.
6023         (umodsi3): Likewise.
6024         (divsi3): Likewise.
6025         (aeabi_idivmod): Likewise.
6026         (modsi3): Likewise.
6028 2011-11-16  Tristan Gingold  <gingold@adacore.com>
6030         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6032 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
6034         PR target/49868
6035         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
6036         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6038 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6040         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6041         tmake_file list.
6042         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6043         * config/pa/t-stublib64: Delete.
6045 2011-11-12  Richard Henderson  <rth@redhat.com>
6047         * config/rs6000/linux-unwind.h (frob_update_context): Properly
6048         cast the pointer argument to _Unwind_SetGRPtr.
6050 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6052         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6054 2011-11-09  Ian Lance Taylor  <iant@google.com>
6056         * generic-morestack.c: Include <string.h>.
6057         (uintptr_type): Define.
6058         (struct initial_sp): Add dont_block_signals field.  Reduce size of
6059         extra array by 1.
6060         (allocate_segment): Set prev field to NULL.  Don't set
6061         __morestack_current_segment or __morestack_segments.
6062         (__generic_morestack): Update current->prev and *pp after calling
6063         allocate_segment.
6064         (__morestack_block_signals): Don't do anything if
6065         dont_block_signals is set.
6066         (__morestack_unblock_signals): Likewise.
6067         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
6068         uintptr_type.
6069         (__splitstack_block_signals): New function.
6070         (enum __splitstack_content_offsets): Define.
6071         (__splitstack_getcontext, __splitstack_setcontext): New functions.
6072         (__splitstack_makecontext): New function.
6073         (__splitstack_block_signals_context): New function.
6074         (__splitstack_find_context): New function.
6075         * config/i386/morestack.S (__morestack_get_guard): New function.
6076         (__morestack_set_guard, __morestack_make_guard): New functions.
6077         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6079 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6081         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6082         (i[34567]86-*-mingw*): ... here.
6083         (x86_64-*-mingw*): ... here.
6085 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6087         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6089 2011-11-07  Nathan Sidwell  <nathan@acm.org>
6091         * libgcov.c (struct gcov_fn_buffer): New struct.
6092         (buffer_fn_data): New helper.
6093         (gcov_exit): Rework for new gcov data structures.
6095 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
6097         PR target/49313
6098         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6100 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6102         * config.host (tmake_file): Correct comment.
6103         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6104         t-libgcc-pic.
6105         (bfin*-uclinux*): Likewise.
6106         (bfin*-linux-uclibc*): Likewise.
6107         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6109         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6110         assigning.
6111         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6112         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6113         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6114         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6115         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6116         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6117         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6118         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6119         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6120         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6121         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6122         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6123         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6125         * config/bfin/t-elf: Remove.
6126         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6128 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6130         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6131         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6132         (lm32-*-elf*, lm32-*-rtems*): Split into ...
6133         (lm32-*-elf*): ... this.
6134         (lm32-*-rtems*): ... and this.
6135         Add to tmake_file.
6136         (m32r-*-rtems*): Add to tmake_file.
6137         (moxie-*-rtems*): Likewise.
6138         (sparc-*-rtems*): Likewise.
6139         Remove t-rtems from tmake_file.
6140         (sparc64-*-rtems*): Likewise.
6141         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6142         instead.
6144 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6146         PR bootstrap/50982
6147         * config/gthr-posix.h: Move ...
6148         * gthr-posix.h: ... here.
6149         * config/gthr-lynx.h: Reflect this.
6150         * config/gthr-vxworks.h: Likewise.
6151         * config/rs6000/gthr-aix.h: Likewise.
6152         * configure.ac (target_thread_file): Likewise.
6153         * configure: Regenerate.
6155 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
6157         * config.host (arm*-*-rtemseabi*): New target.
6159 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6161         PR other/50991
6162         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6163         extra-parts.
6165 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
6167         * config.host (epiphany-*-elf*): New configuration.
6168         * config/epiphany: New Directory.
6170 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
6172         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6173         * config/avr/t-rtems: New.
6174         Filter out _exit from LIB1ASMFUNCS.
6176 2011-11-04  David S. Miller  <davem@davemloft.net>
6178         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6179         * configure: Rebuild.
6181 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6183         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6184         variable.
6186 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
6188         PR target/50931
6189         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6190         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6192 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
6194         PR target/50989
6195         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6197 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6199         * config/c6x/t-elf (LIB2ADDEH): Set.
6200         * config/c6x/t-c6x-elf: Remove.
6202 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6204         * config/i386/sol2-ci.S: Rename to ...
6205         * config/i386/crti.S: ... this.
6206         * config/i386/sol2-cn.S: Rename to ...
6207         * config/i386/crtn.S: ... this.
6208         * config/sparc/sol2-ci.S: Rename to ...
6209         * config/sparc/crti.S: ... this.
6210         * config/sparc/sol2-cn.S: Rename to ...
6211         * config/sparc/crtn.S: ... this.
6212         * config/t-sol2 (CUSTOM_CRTIN): Remove.
6213         (crti.o, crtn.o): Remove.
6215 2011-11-04  Tristan Gingold  <gingold@adacore.com>
6217         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6219 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
6221         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6223 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
6225         * config.host (crisv32-*-none, cris-*-none): Remove.
6226         (crisv32-*-elf): Append to tmake_file, don't just set it.
6227         (cris-*-elf): Add missing t-fdpbit to tmake_file.
6229 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6231         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6232         (ecrtn$(objext)): Likewise.
6233         (ncrti$(objext)): Likewise.
6234         (ncrtn$(objext)): Likewise.
6236 2011-11-03  Andreas Schwab  <schwab@redhat.com>
6238         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6240 2011-11-02  David S. Miller  <davem@davemloft.net>
6242         * configure.ac: Set host_address on sparc too.
6243         * configure: Regenerate.
6244         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6245         based upon host_address.
6246         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6248 2011-11-02  Jason Merrill  <jason@redhat.com>
6250         * config/rs6000/t-ppccomm: Add missing \.
6252 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6254         * gthr-single.h, gthr.h: New files.
6255         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6256         config/gthr-vxworks.h, config/i386/gthr-win32.h,
6257         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6258         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6259         * config/i386/gthr-win32.c: Include "gthr-win32.h".
6260         * configure.ac (thread_header): New variable.
6261         Set it depending on target_thread_file.
6262         (gthr-default.h): Link from $thread_header.
6263         * configure: Regenerate.
6264         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6266 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6268         * configure.ac (tm_file_): New variable.
6269         Determine from tm_file.
6270         (tm_file, tm_defines): Substitute.
6271         * configure: Regenerate.
6272         * mkheader.sh: New file.
6273         * Makefile.in (clean): Remove libgcc_tm.h.
6274         ($(objects)): Depend on libgcc_tm.h.
6275         (libgcc_tm_defines, libgcc_tm_file): New variables.
6276         (libgcc_tm.h, libgcc_tm.stamp): New targets.
6277         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6278         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6279         ($(extra-parts)): Depend on libgcc_tm.h.
6280         * config.host (tm_defines, tm_file): New variable.
6281         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6282         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6283         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
6284         (avr-*-rtems*): Likewise.
6285         (avr-*-*): Likewise.
6286         (frv-*-elf): Likewise.
6287         (frv-*-*linux*): Likewise.
6288         (h8300-*-rtems*): Likewise.
6289         (h8300-*-elf*): Likewise.
6290         (i[34567]86-*-darwin*): Likewise.
6291         (x86_64-*-darwin*): Likewise.
6292         (rx-*-elf): Likewise.
6293         (tic6x-*-uclinux): Likewise.
6294         (tic6x-*-elf): Likewise.
6295         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
6296         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
6297         * config/i386/cygming-crtbegin.c: Likewise.
6298         * config/i386/cygming-crtend.c: Likewise.
6299         * config/ia64/fde-vms.c: Likewise.
6300         * config/ia64/unwind-ia64.c: Likewise.
6301         * config/libbid/bid_gcc_intrinsics.h: Likewise.
6302         * config/rs6000/darwin-fallback.c: Likewise.
6303         * config/stormy16/lib2funcs.c: Likewise.
6304         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
6305         * crtstuff.c: Likewise.
6306         * dfp-bit.h: Likewise.
6307         * emutls.c: Likewise.
6308         * fixed-bit.c: Likewise.
6309         * fp-bit.c: Likewise.
6310         * generic-morestack-thread.c: Likewise.
6311         * generic-morestack.c: Likewise.
6312         * libgcc2.c: Likewise.
6313         * libgcov.c: Likewise.
6314         * unwind-dw2-fde-dip.c: Likewise.
6315         * unwind-dw2-fde.c: Likewise.
6316         * unwind-dw2.c: Likewise.
6317         * unwind-sjlj.c: Likewise.
6319 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6321         * configure.ac: Include ../config/picflag.m4.
6322         (GCC_PICFLAG): Call it.
6323         Substitute.
6324         * configure: Regenerate.
6325         * Makefile.in (gcc_srcdir): Remove.
6326         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
6327         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
6328         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
6329         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
6330         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
6331         Use $<.
6332         Remove comment.
6333         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
6334         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
6335         to refer to libgcc2.c.
6336         Use $<.
6337         * config/darwin-64.c: New file.
6338         * config/darwin-crt3.c: Remove comment.
6339         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
6340         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
6341         config/udivmodsi4.c: New files.
6342         * config/memcmp.c, config/memcpy.c, config/memmove.c,
6343         config/memset.c: New files.
6344         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
6345         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
6346         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
6347         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
6348         * config/t-openbsd-thread: New file.
6349         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
6350         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
6351         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
6352         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
6353         qrnnd.S.
6354         Adapt filename.
6355         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
6356         to refer to gthr-posix.c.
6357         * config/alpha/t-vms (LIB2ADD): Set.
6358         * config/alpha/vms-gcc_shell_handler.c: New file.
6359         * config/arm/bpabi.c, config/arm/fp16.c,
6360         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
6361         config/arm/unaligned-funcs.c: New files.
6362         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
6363         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6364         * config/arm/t-linux: Likewise.
6365         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
6366         * config/arm/t-netbsd: New file.
6367         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
6368         * config/arm/t-symbian (LIB2ADD_ST): Set.
6369         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
6370         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6371         * config/bfin/t-elf: New file.
6372         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
6373         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
6374         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
6375         config/c6x/ltf.c: New files.
6376         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
6377         (HOST_LIBGCC2_CFLAGS): Set.
6378         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
6379         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6380         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
6381         New files.
6382         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
6383         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
6384         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
6385         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
6386         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
6387         files.
6388         * config/frv/t-frv (LIB2ADD): Set.
6389         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6390         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
6391         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
6392         config/h8300/popcounthi2.c: New files.
6393         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6394         * config/i386/gthr-win32.c: New file.
6395         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
6396         * config/i386/t-cygwin: Likewise.
6397         * config/i386/t-darwin, config/i386/t-darwin64,
6398         config/i386/t-gthr-win32, config/i386/t-interix: New files.
6399         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
6400         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6401         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6402         * config/ia64/quadlib.c: New file.
6403         * config/ia64/t-hpux (LIB2ADD): Set.
6404         * config/ia64/t-ia64: Add comment.
6405         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
6406         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6407         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
6408         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
6409         * config/m32c/t-m32c (LIB2ADD): Set.
6410         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6411         * config/m32r/t-m32r: Likewise.
6412         * config/m68k/fpgnulib.c: New file.
6413         * config/m68k/t-floatlib (LIB2ADD): Set.
6414         (xfgnulib.c): New target.
6415         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
6416         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
6417         * config/mep/t-mep (LIB2ADD): Set.
6418         * config/microblaze/divsi3.asm: Rename to divsi3.S.
6419         * config/microblaze/moddi3.asm: Rename to moddi3.S.
6420         * config/microblaze/modsi3.asm: Rename to modsi3.S.
6421         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
6422         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
6423         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
6424         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
6425         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
6426         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
6427         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
6428         New files.
6429         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
6430         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
6431         * config/pa/fptr.c, config/pa/lib2funcs.S,
6432         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
6433         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6434         (LIB2ADD, LIB2ADD_ST): Set.
6435         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
6436         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
6437         Set.
6438         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
6439         * config/pdp11/t-pdp11: New file.
6440         * config/picochip/libgccExtras/adddi3.S,
6441         config/picochip/libgccExtras/ashlsi3.S,
6442         config/picochip/libgccExtras/ashrsi3.S,
6443         config/picochip/libgccExtras/clzsi2.S,
6444         config/picochip/libgccExtras/cmpsi2.S,
6445         config/picochip/libgccExtras/divmod15.S,
6446         config/picochip/libgccExtras/divmodhi4.S,
6447         config/picochip/libgccExtras/divmodsi4.S,
6448         config/picochip/libgccExtras/lshrsi3.S,
6449         config/picochip/libgccExtras/parityhi2.S,
6450         config/picochip/libgccExtras/popcounthi2.S,
6451         config/picochip/libgccExtras/subdi3.S,
6452         config/picochip/libgccExtras/ucmpsi2.S,
6453         config/picochip/libgccExtras/udivmodhi4.S,
6454         config/picochip/libgccExtras/udivmodsi4.S: New files.
6455         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
6456         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
6457         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
6458         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
6459         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
6460         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
6461         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
6462         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
6463         files.
6464         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
6465         (HOST_LIBGCC2_CFLAGS): Set.
6466         * config/rs6000/t-darwin64: New file.
6467         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
6468         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
6469         * config/rs6000/t-ppccomm (LIB2ADD): Add
6470         $(srcdir)/config/rs6000/tramp.S.
6471         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
6472         Add  $(srcdir)/config/rs6000/eabi.S.
6473         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
6474         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
6475         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
6476         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
6477         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
6478         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
6479         * config/rs6000/tramp.S: New file.
6480         * config/s390/t-tpf: Remove.
6481         * config/sh/linux-atomic.S: New file.
6482         * config/sh/t-linux (LIB2ADD): Set.
6483         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
6484         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6485         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
6486         to unwind-dw2.c.
6487         (HOST_LIBGCC2_CFLAGS): Set.
6488         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6489         * config/spu/divmodti4.c, config/spu/divv2df3.c,
6490         config/spu/float_disf.c, config/spu/float_unsdidf.c,
6491         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
6492         config/spu/mfc_multi_tag_release.c,
6493         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
6494         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
6495         config/spu/multi3.c: New files.
6496         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
6497         (HOST_LIBGCC2_CFLAGS): Set.
6498         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
6499         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
6500         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
6501         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
6502         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
6503         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
6504         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
6505         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
6506         config/stormy16/umodsi3.c: New files.
6507         * config/xtensa/lib2funcs.S: New file.
6508         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6509         * config/xtensa/t-xtensa (LIB2ADD): Set.
6510         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
6511         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
6512         Add t-freebsd-thread to tmake_file for posix threads.
6513         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
6514         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
6515         (*-*-lynxos*): Likewise.
6516         (*-*-netbsd*): Likewise.
6517         (*-*-openbsd*): Likewise.
6518         Add t-openbsd-thread to tmake_file for posix threads.
6519         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
6520         (*-*-vxworks*): Set tmake_file.
6521         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6522         (alpha*-*-freebsd*): Likewise.
6523         (alpha*-*-netbsd*): Likewise.
6524         (alpha*-*-openbsd*): Likewise.
6525         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
6526         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6527         (alpha*-dec-*vms*): Likewise.
6528         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
6529         (bfin*-elf*): Add bfin/t-elf to tmake_file.
6530         (bfin*-uclinux*): Likewise.
6531         (bfin*-linux-uclibc*): Likewise.
6532         (crisv32-*-elf): Add cris/t-cris to tmake_file.
6533         (crisv32-*-none): Likewise.
6534         (cris-*-elf): Likewise.
6535         (cris-*-none): Likewise.
6536         (cris-*-linux*, crisv32-*-linux*): Likewise.
6537         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
6538         tmake_file.
6539         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
6540         tmake_file.
6541         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
6542         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
6543         (x86_64-*-elf*): Likewise.
6544         (i[34567]86-*-nto-qnx*): Likewise.
6545         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
6546         win32 threads.
6547         (x86_64-*-mingw*): Likewise.
6548         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
6549         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
6550         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6551         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6552         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
6553         tmake_file.
6554         (mipsisa64sr71k-*-elf*): Likewise.
6555         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6556         (mips-*-elf*, mipsel-*-elf*): Likewise.
6557         (mips64-*-elf*, mips64el-*-elf*): Likewise.
6558         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6559         (mips*-*-rtems*): Likewise.
6560         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
6561         to tmake_file.
6562         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
6563         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
6564         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
6565         (spu-*-elf*): Likewise.
6566         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
6568 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6570         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
6571         $(srcdir) to refer to $(LIB1ASMSRC).
6572         Use $<.
6573         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
6574         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
6575         config/arm/lib1funcs.S: New files.
6576         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
6577         * config/arm/t-arm: New file.
6578         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
6579         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
6580         config/arm/t-strongarm-elf: New files.
6581         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
6582         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
6583         * config/avr/lib1funcs.S: New file.
6584         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6585         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
6586         * config/c6x/lib1funcs.S: New file.
6587         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6588         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
6589         * config/frv/lib1funcs.S: New file.
6590         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6591         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
6592         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
6593         * config/ia64/__divxf3.asm: Rename to ...
6594         * config/ia64/__divxf3.S: ... this.
6595         Adapt lib1funcs.asm filename.
6596         * config/ia64/_fixtfdi.asm: Rename to ...
6597         * config/ia64/_fixtfdi.S: ... this.
6598         Adapt lib1funcs.asm filename.
6599         * config/ia64/_fixunstfdi.asm: Rename to ...
6600         * config/ia64/_fixunstfdi.S: ... this.
6601         Adapt lib1funcs.asm filename.
6602         * config/ia64/_floatditf.asm: Rename to ...
6603         * config/ia64/_floatditf.S: ... this.
6604         Adapt lib1funcs.asm filename.
6605         * config/ia64/lib1funcs.S: New file.
6606         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
6607         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6608         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
6609         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
6610         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
6611         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
6612         * config/mep/lib1funcs.S: New file.
6613         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6614         * config/mips/mips16.S: New file.
6615         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6616         * config/pa/milli64.S: New file.
6617         * config/pa/t-linux, config/pa/t-linux64: New files.
6618         * config/picochip/lib1funcs.S: New file.
6619         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6620         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
6621         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
6622         * config/sh/t-netbsd: New file.
6623         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
6624         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
6625         * config/sh/t-sh64: New file.
6626         * config/sparc/lb1spc.S: New file.
6627         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
6628         filename.
6629         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
6630         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
6631         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
6632         config/xtensa/lib1funcs.S: New files.
6633         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6634         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
6635         tmake_file.
6636         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
6637         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
6638         (arm*-*-linux*): Likewise.
6639         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
6640         arm*-*-linux-*eabi, add arm/t-linux otherwise.
6641         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
6642         (arm*-*-ecos-elf): Likewise.
6643         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6644         (arm*-*-rtems*): Likewise.
6645         (arm*-*-elf): Likewise.
6646         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
6647         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
6648         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
6649         (bfin*-uclinux*): Likewise.
6650         (bfin*-linux-uclibc*): Likewise.
6651         (bfin*-rtems*): Likewise.
6652         (bfin*-*): Likewise.
6653         (fido-*-elf): Merge into m68k-*-elf*.
6654         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
6655         (frv-*-*linux*): Add frv/t-frv to tmake_file.
6656         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
6657         (h8300-*-elf*): Likewise.
6658         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
6659         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
6660         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
6661         (i[34567]86-*-mingw*): Likewise.
6662         (x86_64-*-mingw*): Likewise.
6663         (i[34567]86-*-interix3*): Likewise.
6664         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
6665         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
6666         (m68k-*-elf*): Also handle fido-*-elf.
6667         Add m68k/t-floatlib to tmake_file.
6668         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
6669         (m68k-*-linux*): Likewise.
6670         (m68k-*-rtems*): Likewise.
6671         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
6672         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
6673         sh64*-*-*.
6674         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
6675         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
6676         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
6677         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
6678         sh/t-netbsd to tmake_file.
6679         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
6680         (sh-*-rtems*): Add sh/t-sh to tmake_file.
6681         (sh-wrs-vxworks): Likewise.
6682         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
6683         *-leon[3-9]*.
6684         (v850*-*-*): Add v850/t-v850 to tmake_file.
6685         (vax-*-linux*): Add vax/t-linux to tmake_file.
6686         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
6688 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6690         * crtstuff.c: New file.
6691         * Makefile.in (CRTSTUFF_CFLAGS): Define.
6692         (CRTSTUFF_T_CFLAGS): Define.
6693         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
6694         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
6695         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
6696         crtstuff.c.
6697         Use $<.
6698         (crtbeginT.o): Use $(objext).
6699         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
6700         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
6701         (gcc-extra-parts): Remove.
6702         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
6703         Set extra_parts.
6704         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6705         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
6706         Add t-crtstuff-pic to tmake_file.
6707         (*-*-lynxos*): New case.
6708         Set tmake_file, extra_parts.
6709         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
6710         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
6711         *-*-netbsdelf[2-9]*.
6712         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
6713         (*-*-rtems*): Set extra_parts.
6714         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
6715         (*-*-uclinux*): New case.
6716         Set extra_parts.
6717         (*-*-vms*): New case.
6718         Set tmake_file, extra_parts.
6719         (*-*-elf): Set extra_parts.
6720         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
6721         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
6722         vms/t-vms64.
6723         Set extra_parts.
6724         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
6725         Set extra_parts.
6726         (arm*-*-freebsd*): Add t-crtin to tmake_file.
6727         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
6728         (arm-wrs-vxworks): Append to tmake_file.
6729         Set extra_parts.
6730         (arm*-*-uclinux*): Set extra_parts.
6731         (arm*-*-ecos-elf): Likewise.
6732         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
6733         arm*-*-eabi*.
6734         (arm*-*-rtems*): Set extra_parts.
6735         (arm*-*-elf): Likewise.
6736         (avr-*-rtems*): Clear extra_parts.
6737         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
6738         Set extra_parts.
6739         (bfin*-uclinux*): Likewise.
6740         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
6741         (bfin*-rtems*): Append to tmake_file.
6742         Set extra_parts.
6743         (bfin*-*): Likewise.
6744         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
6745         (crisv32-*-elf): ... this.
6746         (crisv32-*-none): ... this.
6747         (cris-*-elf, cris-*-none): New cases.
6748         Add cris/t-elfmulti to tmake_file.
6749         (fr30-*-elf): Append to tmake_file.
6750         Set extra_parts.
6751         (frv-*-elf): Append to tmake_file, add frv/t-frv.
6752         Set extra_parts.
6753         (h8300-*-rtems*): Append to tmake_file.
6754         Set extra_parts.
6755         (h8300-*-elf*): Likewise.
6756         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
6757         Set extra_parts.
6758         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
6759         Set extra_parts.
6760         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
6761         (x86_64-*-elf*): Likewise.
6762         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
6763         (x86_64-*-freebsd*): Likewise.
6764         (x86_64-*-netbsd*): Likewise.
6765         (i[34567]86-*-linux*): Likewise.
6766         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
6767         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
6768         (x86_64-*-linux*): Likewise.
6769         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
6770         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
6771         tmake_file.
6772         Set extra_parts.
6773         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
6774         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
6775         Append to extra_parts, remove crtbegin.o, crtend.o.
6776         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
6777         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
6778         crtend.o, crtbeginS.o, crtendS.o.
6779         (ia64*-*-linux*): Comment extra_parts.
6780         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
6781         Set extra_parts.
6782         (iq2000*-*-elf*): Clear extra_parts.
6783         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
6784         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
6785         (m32r-*-elf*, m32r-*-rtems*): Split off ...
6786         (m32r-*-rtems*): ... this.
6787         Add m32r/t-m32r to tmake_file.
6788         (m68k-*-elf*): Add t-crtin to tmake_file.
6789         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
6790         (mcore-*-elf): Likewise.
6791         (microblaze*-*-*): Set extra_parts.
6792         (mips*-sde-elf*): New case.
6793         Set tmake_file, extra_parts.
6794         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6795         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6796         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
6797         tmake_file.
6798         Set extra_parts.
6799         (mipsisa64sr71k-*-elf*): Likewise.
6800         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6801         (mips-*-elf*, mipsel-*-elf*): Likewise.
6802         (mips64-*-elf*, mips64el-*-elf*): Likewise.
6803         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
6804         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
6805         (mips*-*-rtems*): Likewise.
6806         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
6807         (moxie-*-*): Split into ...
6808         (moxie-*-elf, moxie-*-uclinux*): ... this.
6809         Add to extra_parts, remove crtbegin.o, crtend.o.
6810         (moxie-*-rtems*): New case.
6811         Set tmake_file.
6812         Clear extra_parts.
6813         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
6814         Set extra_parts.
6815         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6816         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
6817         tmake_file.
6818         Set extra_parts.
6819         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
6820         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
6821         Set extra_parts.
6822         (powerpc-*-eabisim*): Likewise.
6823         (powerpc-*-elf*): Likewise.
6824         (powerpc-*-eabialtivec*): Likewise.
6825         (powerpc-xilinx-eabi*): Likewise.
6826         (powerpc-*-eabi*): Likewise.
6827         (powerpc-*-rtems*): Likewise.
6828         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
6829         tmake_file.
6830         Set extra_parts.
6831         (powerpc-*-lynxos*): Add to tmake_file.
6832         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
6833         rs6000/t-crtstuff, t-crtstuff-pic.
6834         Set extra_parts.
6835         (powerpcle-*-eabisim*): Likewise.
6836         (powerpcle-*-eabi*): Likewise.
6837         (rx-*-elf): Remove extra_parts.
6838         (s390x-ibm-tpf*): Set extra_parts.
6839         (score-*-elf): Set extra_parts.
6840         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6841         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6842         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6843         (sh64l*-*-netbsd*): Split into ...
6844         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
6845         Add t-crtstuff-pic to tmake_file.
6846         Set extra_parts.
6847         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
6848         Set extra_parts.
6849         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
6850         (sparc-*-elf*): Remove t-crtin from tmake_file.
6851         Add to extra_parts, remove crtbegin.o, crtend.o.
6852         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
6853         (sparc64-*-linux*): Likewise.
6854         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
6855         Add to extra_parts, remove crtbegin.o, crtend.o.
6856         (sparc64-*-elf*): Remove t-crtin from tmake_file.
6857         Add to extra_parts, remove crtbegin.o, crtend.o.
6858         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
6859         Add to extra_parts, remove crtbegin.o, crtend.o.
6860         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
6861         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
6862         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
6863         Set extra_parts.
6864         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
6865         Set extra_parts.
6866         (tic6x-*-*): Change to ...
6867         (tic6x-*-elf): ... this.
6868         Set extra_parts.
6869         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
6870         Set extra_parts.
6871         (am33_2.0-*-linux*): Add comment.
6872         (mep*-*-*): Add mep/t-mep to tmake_file.
6873         Set extra_parts.
6874         * config/alpha/t-vms: New file.
6875         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
6876         * config/arm/crti.S, config/arm/crtn.S: New files.
6877         * config/bfin/crti.S, config/bfin/crtn.S: New files.
6878         * config/bfin/crtlibid.S: New file.
6879         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
6880         * config/c6x/crti.S, config/c6x/crtn.S: New files.
6881         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
6882         (crti.o, crtin.o): New rules.
6883         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6884         * config/c6x/t-uclinux: New file.
6885         * config/cris/t-elfmulti: New file.
6886         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
6887         * config/fr30/crti.S, config/fr30/crtn.S: New files.
6888         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
6889         * config/frv/t-frv: New file.
6890         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
6891         * config/h8300/crti.S, config/h8300/crtn.S: New files.
6892         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
6893         New files.
6894         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
6895         refer to cygming-crtbegin.c, cygming-crtend.c.
6896         Use $<.
6897         * config/i386/t-nto: New file.
6898         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
6899         * config/ia64/crti.S, config/ia64/crtn.S: New files.
6900         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
6901         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
6902         Use .S extension.
6903         Use $<.
6904         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6905         (crtinitS.o): New rule.
6906         * config/ia64/vms-crtinit.S: New file.
6907         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
6908         * config/m32r/initfini.c: New file.
6909         * config/m32r/t-linux, config/m32r/t-m32r: New files.
6910         * config/m68k/crti.S, config/m68k/crtn.S: New files.
6911         * config/mcore/crti.S, config/mcore/crtn.S: New files.
6912         * config/mep/t-mep: New file.
6913         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
6914         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
6915         * config/mips/crti.S, config/mips/crtn.S: New files.
6916         * config/mips/t-crtstuff: New file.
6917         * config/mmix/crti.S, config/mmix/crtn.S: New files.
6918         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
6919         (CUSTOM_CRTIN): Set.
6920         ($(T)crti.o, $(T)crtn.o): Remove $(T),
6921         dependencies.
6922         Use $(srcdir) to refer to crti.S, crtn.S.
6923         Use .S extension, $<.
6924         * config/moxie/crti.asm: Rename to ...
6925         * config/moxie/crti.S: ... this.
6926         * config/moxie/crtn.asm: Rename to ...
6927         * config/moxie/crtn.S: ... this.
6928         * config/moxie/t-moxie: Remove.
6929         * config/pa/stublib.c: New file.
6930         * config/pa/t-stublib, config/pa/t-stublib64: New files.
6931         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
6932         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
6933         * config/rs6000/t-crtstuff: New file.
6934         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
6935         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
6936         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
6937         Make output file explicit.
6938         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
6939         Make output file explicit.
6940         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
6941         Make output file explicit.
6942         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
6943         Make output file explicit.
6944         * config/score/crti.S, config/score/crtn.S: New files.
6945         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
6946         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
6947         files.
6948         * config/sh/t-sh, config/sh/t-superh: New files.
6949         * config/sparc/t-linux64: New file.
6950         * config/spu/cache.S, config/spu/cachemgr.c: New files.
6951         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
6952         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
6953         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
6954         * config/t-crtin: Remove.
6955         * config/t-crtstuff-pic: New file.
6956         * config/t-sol2 (CUSTOM_CRTIN): Set.
6957         (crti.o, crtn.o): New rules.
6958         * config/vms/t-vms: New file.
6959         * config/vms/vms-ucrt0.c: New file.
6960         * config/xtensa/t-elf: New file.
6962 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6964         * Makefile.in (SHLIB_NM_FLAGS): Set.
6965         * mkmap-flat.awk, mkmap-symver.awk: New files.
6966         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
6967         exceptions.
6968         * configure: Regenerate.
6969         * config/libgcc-glibc.ver: New file.
6970         * config/libgcc-libsystem.ver: New file.
6971         * config/t-libunwind (SHLIB_LC): Set.
6972         * config/t-linux: New file.
6973         * config/t-slibgcc (INSTALL_SHLIB): New.
6974         (SHLIB_INSTALL): Use it.
6975         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
6976         to mkmap-symver.awk.
6977         (SHLIB_MAPFILES): Don't append, adapt pathname.
6978         (SHLIB_VERPFX): Set.
6979         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
6980         to mkmap-symver.awk.
6981         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
6982         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
6983         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
6984         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
6985         to mkmap-flat.awk.
6986         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
6987         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
6988         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
6989         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
6990         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
6991         * config/i386/libgcc-darwin.10.4.ver,
6992         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
6993         New files.
6994         * config/i386/t-darwin: Remove.
6995         * config/i386/t-darwin64: Likewise.
6996         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
6997         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
6998         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
6999         * config/i386/t-linux: New file.
7000         * config/i386/t-mingw32: New file.
7001         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7002         * config/ia64/t-glibc: Rename to ...
7003         * config/ia64/t-linux: ... this.
7004         (SHLIB_MAPFILES): Set.
7005         * config/ia64/t-glibc-libunwind: Rename to ...
7006         * config/ia64/t-linux-libunwind: ... this.
7007         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7008         * config/ia64/t-slibgcc-hpux: New file.
7009         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7010         * config/m68k/t-slibgcc-elf-ver: New file.
7011         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7012         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7013         to mkmap-flat.awk.
7014         * config/pa/t-slibgcc-hpux: New file.
7015         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7016         files.
7017         * config/rs6000/libgcc-darwin.10.4.ver,
7018         config/rs6000/libgcc-darwin.10.5.ver: New files.
7019         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7020         config/rs6000/libgcc-glibc.ver.
7021         * config/rs6000/libgcc-ppc64.ver: Rename to
7022         config/rs6000/libgcc-ibm-ldouble.ver.
7023         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7024         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7025         * config/rs6000/t-ldbl128: Rename to ...
7026         * config/rs6000/t-linux: ... this.
7027         (SHLIB_MAPFILES): Adapt filename.
7028         * config/rs6000/t-slibgcc-aix: New file.
7029         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7030         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7031         libgcc-excl.ver, libgcc-glibc.ver.
7032         (SHLIB_LINK, SHLIB_INSTALL): Remove.
7033         * config/sparc/libgcc-glibc.ver: New file.
7034         * config/sparc/t-linux: New file.
7035         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7036         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7037         t-slibgcc-elf-ver to tmake_file.
7038         Add t-slibgcc-nolc-override to tmake_file for posix threads on
7039         *-*-freebsd[34].
7040         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7041         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7042         t-slibgcc-elf-ver, t-linux to tmake_file.
7043         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7044         tmake_file.
7045         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7046         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7047         (alpha*-dec-*vms*): Likewise.
7048         (arm*-*-freebsd*): Append to tmake_file.
7049         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7050         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7051         arm*-*-linux-*eabi.
7052         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7053         tmake_file for arm*-*-symbianelf*.
7054         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7055         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7056         cris/t-linux.
7057         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7058         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7059         pa/t-slibgcc-dwarf-ver to tmake_file.
7060         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7061         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7062         (hppa*64*-*-hpux11*): Likewise.
7063         (hppa[12]*-*-hpux11*): Likewise.
7064         (x86_64-*-darwin*): Don't override tmake_file, but only keep
7065         i386/t-crtpc, i386/t-crtfm.
7066         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7067         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7068         to tmake_file.
7069         Add i386/t-cygwin to tmake_file.
7070         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7071         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7072         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7073         to tmake_file.
7074         Add i386/t-mingw32 to tmake_file.
7075         (x86_64-*-mingw*): Likewise.
7076         (ia64*-*-freebsd*): Append to tmake_file.
7077         (ia64*-*-linux*): Append to tmake_file.
7078         Replace ia64/t-glibc by ia64/t-linux.
7079         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7080         system libunwind.
7081         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7082         t-slibgcc-hpux to tmake_file.
7083         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7084         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7085         (m32rle-*-linux*): Likewise.
7086         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7087         sjlj exceptions.
7088         (microblaze*-linux*): New case.
7089         Append to tmake_file, add t-slibgcc-nolc-override.
7090         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7091         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7092         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7093         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7094         rs6000/t-slibgcc-aix to tmake_file.
7095         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7096         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7097         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7098         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7099         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7100         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7101         sh*-*-linux*.
7102         (sparc-*-linux*): Append to tmake_file for *-leon*.
7103         Add sparc/t-linux to tmake_file for non-Leon targets.
7104         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7105         (tic6x-*-uclinux): New case.
7106         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7107         (tic6x-*-*): Add c6x/t-elf to tmake_file.
7108         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7109         (am33_2.0-*-linux*): Append to tmake_file.
7110         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7111         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7112         x86_64-*-kfreebsd*-gnu.
7113         Add i386/t-linux to tmake_file.
7115 2011-10-28  Ian Lance Taylor  <iant@google.com>
7117         * config/i386/morestack.S: Correct CFI information to do proper
7118         returns throughout function.  In 32-bit mode, save %ebx so that it
7119         is restored on unwind.
7121 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
7123         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7124         case where B3 isn't the return register.
7126         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7127         logic for doubleword pops.
7129 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
7131         * config/rs6000/t-freebsd: Add wildcard.
7133 2011-10-21  Paul Brook  <paul@codesourcery.com>
7135         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7137 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
7138             Eric Botcazou  <ebotcazou@adacore.com>
7140         PR target/50737
7141         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7142         fs->signal_frame to 1.
7144 2011-10-07  Ian Lance Taylor  <iant@google.com>
7146         * generic-morestack-thread.c: #include <errno.h>.
7148 2011-10-07  Ian Lance Taylor  <iant@google.com>
7150         PR target/46093
7151         * generic-morestack.c (__generic_morestack): Make sure the segment
7152         is large enough for both the stack frame and the copied
7153         parameters.
7155 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7157         PR bootstrap/49804
7158         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7159         extra_parts.
7161 2011-09-28  Nick Clifton  <nickc@redhat.com>
7163         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7164         64-bit doubles are not enabled.
7165         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7166         and floatunsisf functions.
7168 2011-09-13  Paul Brook  <paul@codesourcery.com>
7170         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
7171         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7172         * unwind-arm-common.inc: New file.
7173         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7174         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7175         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7176         * config/c6x/libunwind.S: New file.
7177         * config/c6x/pr-support.c: New file.
7178         * config/c6x/unwind-c6x.c: New file.
7179         * config/c6x/unwind-c6x.h: New file.
7180         * config/c6x/t-c6x-elf: New file.
7182 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
7184         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7185         (ASM_DIVZERO): Ditto.
7186         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7188 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
7190         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7192 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
7194         PR target/50090
7195         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7196         instead of an assembly one.
7198 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
7200         PR bootstrap/50047
7201         * Makefile.in (install-unwind_h): Create
7202         $(gcc_objdir)/include/unwind.h atomically.
7204 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7206         * Makefile.in (install-unwind_h): Remove destination file first.
7208 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7210         * sync.c: New file.
7211         * config/mips/t-mips16: New file.
7212         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7213         (mips*-*-linux*): Likewise.
7214         (mips*-sde-elf*): Likewise.
7215         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7216         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7217         Add mips/t-mips16 to tmake_file.
7218         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7219         (mips-*-elf*): Likewise.
7220         (mips64-*-elf*): Likewise.
7221         (mips64orion-*-elf*): Likewise.
7222         (mips*-*-rtems*): Likewise.
7223         (mipstx39-*-elf*): Likewise.
7224         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7225         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7226         LIBGCC_SYNC_CFLAGS.
7227         Use $(srcdir) to refer to sync.c.
7228         Use $<.
7229         ($(libgcc-sync-funcs-o)): Likewise.
7230         ($(libgcc-sync-size-funcs-s-o)): Likewise.
7231         ($(libgcc-sync-funcs-s-o)): Likewise.
7233 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
7235         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7236         t-libunwind.
7238 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
7240         PR other/48007
7241         * config/i386/value-unwind.h: New.
7243 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
7245         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7246         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7247         Add to tmake_file rather than overriding it.
7249 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7251         * config/t-softfp: Remove.
7252         * soft-fp: Moved from ../gcc/config.
7253         * soft-fp/README: Remove t-softfp reference.
7254         * soft-fp/t-softfp: Move to config/t-softfp.
7255         (softfp_machine_header): Remove.
7256         (softfp_file_list): Remove config subdir.
7257         (soft-fp-objects): New variable.
7258         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7259         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7260         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7261         * config/t-softfp-excl: New file.
7262         * config/t-softfp-sfdf: New file.
7263         * config/t-softfp-tf: New file.
7264         * config/no-sfp-machine.h: New file.
7265         * config/arm/sfp-machine.h: New file.
7266         * config/arm/t-softfp: New file.
7267         * config/c6x/sfp-machine.h: New file.
7268         * config/i386/32/t-fprules-softfp: Rename to ...
7269         * config/i386/32/t-softfp: ... this.
7270         (tifunctions, LIB2ADD): Remove.
7271         (softfp_int_modes): Override.
7272         * config/i386/64/t-softfp-compat (tf-functions): Remove config
7273         subdir.
7274         * config/i386/64/eqtf2.c: Likewise.
7275         * config/i386/64/getf2.c: Likewise.
7276         * config/i386/64/letf2.c: Likewise.
7277         * config/ia64/sft-machine.h: New file.
7278         * config/ia64/t-fprules-softfp: Rename to ...
7279         * config/ia64/t-softfp: ... this.
7280         * config/lm32/sfp-machine.h: New file.
7281         * config/moxie/t-moxie-softfp: Remove.
7282         * config/rs6000/ibm-ldouble-format: New file.
7283         * config/rs6000/ibm-ldouble.c: New file.
7284         * config/rs6000/libgcc-ppc-glibc.ver: New file
7285         * config/rs6000/libgcc-ppc64.ver: New file
7286         * config/rs6000/sfp-machine.h: New file.
7287         * config/rs6000/t-freebsd: New file.
7288         * config/rs6000/t-ibm-ldouble: New file.
7289         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
7290         libgcc-ppc-glibc.ver.
7291         * config/rs6000/t-linux64: New file.
7292         * config/rs6000/t-ppccomm (LIB2ADD): Add
7293         $(srcdir)/config/rs6000/ibm-ldouble.c.
7294         * config/rs6000/t-ppccomm-ldbl: New file.
7295         * config/score/sfp-machine.h: New file.
7296         * config.host (sfp_machine_header): Explain.
7297         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
7298         t-softfp to tmake_file.
7299         (arm*-*-uclinux*): Likewise.
7300         (arm*-*-ecos-elf): Likewise.
7301         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7302         (arm*-*-rtems*): Likewise.
7303         (arm*-*-elf): Likewise.
7304         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
7305         in tmake_file.
7306         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
7307         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
7308         (lm32-*-uclinux*): Likewise.
7309         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
7310         t-softfp-excl, t-softfp.
7311         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
7312         (powerpc64-*-darwin*): Likewise.
7313         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
7314         to tmake_file.
7315         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
7316         tmake_file.
7317         (powerpc-*-eabisim*): Likewise.
7318         (powerpc-*-elf*): Likewise.
7319         (powerpc-*-eabialtivec*): Likewise.
7320         (powerpc-xilinx-eabi*): Likewise.
7321         (powerpc-*-rtems*): Likewise.
7322         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
7323         t-softfp-excl, t-softfp to tmake_file.
7324         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
7325         rs6000/t-ppccomm-ldbl to tmake_file.
7326         (powerpcle-*-elf*): Likewise.
7327         (powerpcle-*-eabisim*): Likewise.
7328         (powerpcle-*-eabi*): Likewise.
7329         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7330         rs6000/t-ibm-ldouble to tmake_file.
7331         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7332         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7333         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
7334         (tic6x-*-*): Likewise.
7335         (i[34567]86-*-darwin*, x86_64-*-darwin*,
7336         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
7337         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
7338         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
7339         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
7340         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
7341         t-softfp to tmake_file.
7342         * configure.ac (sfp_machine_header): Provide default if unset.
7343         Substitute.
7344         Link sfp-machine.h to config/$sfp_machine_header.
7345         * configure: Regenerate.
7347 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7349         * Makefile.in (double_type_size, long_double_type_size): Set.
7350         Remove $(fpbit-in-libgcc) support.
7351         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
7352         (fpbit-src): New variable.
7353         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
7354         Compile with -DFLOAT $(FPBIT_CFLAGS).
7355         Use $<.
7356         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
7357         Compile with $(FPBIT_CFLAGS).
7358         Use $<.
7359         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
7360         Compile with -DFLOAT $(TPBIT_CFLAGS).
7361         Use $<.
7362         * configure.ac (double_type_size, long_double_type_size):
7363         Determine and substitute.
7364         * configure: Regenerate.
7365         * fp-bit.c, fp-bit.h: New files.
7366         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
7367         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
7368         * config/mips/t-mips: New file.
7369         * config/mips/t-sdemtk: New file.
7370         * config/rs6000/ppc64-fp.c: New file.
7371         * config/rs6000/t-darwin (LIB2ADD): Add
7372         $(srcdir)/config/rs6000/ppc64-fp.c.
7373         * config/rs6000/t-ppc64-fp: New file.
7374         * config/rx/rx-lib.h: New file.
7375         * config/rx/t-rx (FPBIT): Set to true.
7376         ($(gcc_objdir)/fp-bit.c): Remove.
7377         (DPBIT): Set to true only with -m64bit-doubles.
7378         ($(gcc_objdir)/dp-bit.c): Remove.
7379         * config/sparc/t-softfp: Remove.
7380         * config/spu/t-elf: New file.
7381         * config/t-fdpbit, config/t-fpbit: New files.
7382         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
7383         (mips*-*-*): Likewise.
7384         (arm-wrs-vxworks): Likewise.
7385         (arm*-*-freebsd*): Likewise.
7386         (avr-*-rtems*): Add t-fpbit to tmake_file.
7387         (avr-*-*): Likewise.
7388         (bfin*-elf*): Add t-fdpbit to tmake_file.
7389         (bfin*-uclinux*): Likewise.
7390         (bfin*-linux-uclibc*): Likewise.
7391         (bfin*-rtems*): New case.
7392         Add t-fdpbit to tmake_file.
7393         (bfin*-*): Add t-fdpbit to tmake_file.
7394         (crisv32-*-elf): Likewise.
7395         (cris-*-linux*): Likewise.
7396         (fr30-*-elf): Likewise.
7397         (frv-*-elf, frv-*-*linux*): Likewise.
7398         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
7399         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
7400         (m32r-*-elf*): Likewise.
7401         (m32rle-*-elf*): Likewise.
7402         (m32r-*-linux*): Likewise.
7403         (m32rle-*-linux*): Likewise.
7404         (mcore-*-elf): Add t-fdpbit to tmake_file.
7405         (microblaze*-*-*): Likewise.
7406         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
7407         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
7408         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
7409         Fix typo.
7410         Add mips/t-tpbit to tmake-file.
7411         (mips*-*-linux*): Fix typo.
7412         (mips*-sde-elf*): New case
7413         Add mips/t-sdemtk unless using newlib.
7414         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
7415         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
7416         (mn10300-*-*): Likewise.
7417         (pdp11-*-*): Likewise.
7418         (picochip-*-*): Add t-fpbit to tmake_file.
7419         (powerpc-*-eabisimaltivec*): Likewise.
7420         (powerpc-*-eabisim*): Likewise.
7421         (powerpc-*-elf*): Likewise.
7422         (powerpc-*-eabialtivec*): Likewise.
7423         (powerpc-xilinx-eabi*): New case.
7424         Add t-fdpbit to tmake_file.
7425         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
7426         (powerpc-*-rtems*): Likewise.
7427         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
7428         tmake_file.
7429         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
7430         tmake_file.
7431         (powerpc-*-lynxos*): Likewise.
7432         (powerpcle-*-elf*): Likewise.
7433         (powerpcle-*-eabisim*): Likewise.
7434         (powerpcle-*-eabi*): Likewise.
7435         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7436         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
7437         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7438         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7439         (rx-*-elf): Add t-fdpbit to tmake_file.
7440         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7441         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7442         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7443         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
7444         sh*-*-netbsd*.
7445         (sh-*-rtems*): Add t-fdpbit to tmake_file.
7446         (sh-wrs-vxworks): Likewise.
7447         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
7448         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
7449         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
7450         (sparc64-*-rtems*): ... new case.
7451         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
7452         (spu-*-elf*): Likewise.
7453         Add spu/t-elf to tmake_file.
7454         (v850*-*-*): Add t-fdpbit to tmake_file.
7455         (xstormy16-*-elf): Likewise.
7456         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
7457         (mep*-*-*): Likewise.
7459 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7461         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
7462         variables.
7463         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
7464         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
7465         (install-unwind_h): New target.
7466         (all): Depend on it.
7467         * config.host (unwind_header): New variable.
7468         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
7469         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7470         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
7471         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
7472         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
7473         Set unwind_header.
7474         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
7475         Set unwind_header.
7476         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
7477         arm*-*-eabi*.
7478         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
7479         Set unwind_header.
7480         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
7481         (ia64*-*-freebsd*): Likewise.
7482         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
7483         tmake_file.
7484         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
7485         $with_system_libunwind.
7486         (ia64*-*-hpux*): Set tmake_file.
7487         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
7488         (picochip-*-*): Set tmake_file.
7489         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
7490         md_unwind_header.
7491         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7492         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7493         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
7494         (xtensa*-*-elf*): Set tmake_file.
7495         (xtensa*-*-linux*): Likewise.
7496         * configure.ac: Include ../config/unwind_ipinfo.m4.
7497         Call GCC_CHECK_UNWIND_GETIPINFO.
7498         Link unwind.h to $unwind_header.
7499         * configure: Regenerate.
7500         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
7501         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
7502         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
7503         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
7504         * config/unwind-dw2-fde-darwin.c: New file.
7505         * config/arm/libunwind.S, config/arm/pr-support.c,
7506         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
7507         config/arm/unwind-arm.h,: New files.
7508         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
7509         config/ia64/t-eh-ia64, config/ia64/t-glibc,
7510         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
7511         config/ia64/t-vms, config/ia64/unwind-ia64.c,
7512         config/ia64/unwind-ia64.h: New files.
7513         * config/picochip/t-picochip: New file.
7514         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
7515         files.
7516         * config/rs6000/t-darwin (LIB2ADDEH): Set.
7517         * config/s390/t-tpf (LIB2ADDEH): Remove.
7518         * config/t-darwin (LIB2ADDEH): Set.
7519         * config/t-eh-dw2-dip: New file.
7520         * config/t-libunwind, config/t-libunwind-elf: New files.
7521         * config/t-sol2 (LIB2ADDEH): Remove.
7522         * config/xtensa/t-xtensa: New file.
7524 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
7526         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
7527         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
7528         long long to check rt_sigreturn syscall.
7530 2011-08-02  Alan Modra  <amodra@gmail.com>
7532         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7533         Restore for indirect call bcrtl from correct stack slot, and only
7534         if cfa+40 isn't valid.
7536 2011-08-01  Julian Brown  <julian@codesourcery.com>
7538         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
7539         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
7540         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
7542 2011-08-01  Julian Brown  <julian@codesourcery.com>
7544         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
7545         (libgcc-std.ver.in): Use above.
7546         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
7547         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
7548         throughout file.
7549         * config/t-fixedpoint-gnu-prefix: New file.
7550         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
7551         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
7552         instead of __PFX__.
7554 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
7556         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
7557         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
7558         for x86-64.  Properly check __x86_64__ and __LP64__.
7560 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
7562         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
7563         version.
7564         (_FP_WS_TYPE): Likewise.
7565         (_FP_I_TYPE): Likewise.
7567 2011-07-28  Alan Modra  <amodra@gmail.com>
7569         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7570         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
7571         in a plt call stub.  Do restore r2 if stopped on bctrl.
7573 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7575         * config.host (i[3456x]86-*-netware*): Remove.
7576         * config/i386/netware-crt0.c, config/i386/t-nwld,
7577         config/i386/t-slibgcc-nwld: Remove.
7579 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
7581         * config.host: Handle tic6x-*-*.
7582         * config/c6x/c6x-abi.h: New file.
7584 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7586         * config/i386/crtprec.c: New file.
7587         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
7588         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
7589         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
7590         (x86_64-*-darwin*): Likewise.
7591         (i[34567]86-*-solaris2*: Likewise.
7593 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7595         * config/alpha/crtfastmath.c: New file.
7596         * config/i386/crtfastmath.c: New file.
7597         * config/ia64/crtfastmath.c: New file.
7598         * config/mips/crtfastmath.c: New file.
7599         * config/sparc/crtfastmath.c: New file.
7601         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
7602         crtfastmath.c.
7603         Add -frandom-seed=gcc-crtfastmath.
7604         * config/alpha/t-crtfm: Remove.
7605         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
7606         * config/ia64/t-ia64 (crtfastmath.o): Remove.
7608         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
7609         (alpha*-dec-osf5.1*): Likewise.
7610         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
7611         Add crtfastmath.o to extra_parts.
7612         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
7613         Add crtfastmath.o to extra_parts.
7614         (x86_64-*-darwin*): Likewise.
7615         (x86_64-*-mingw*): Likewise.
7616         (ia64*-*-elf*): Add t-crtfm to tmake_file.
7617         (ia64*-*-freebsd*): Likewise.
7618         (ia64*-*-linux*): Likewise.
7619         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
7620         Add crtfastmath.o to extra_parts.
7622 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7624         * config/darwin-crt3.o: New file.
7625         * config/rs6000/darwin-crt2.c: New file.
7626         * config/t-darwin: New file.
7627         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
7628         (crt2.o): New rule.
7629         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
7630         (powerpc-*-darwin*): Add crt2.o to extra_parts.
7631         (powerpc64-*-darwin*): Likewise.
7633 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7635         * config/i386/netware-crt0.c: New file.
7636         * config/i386/t-nwld: Rename to ...
7637         * config/i386/t-slibgcc-nwld: ... this.
7638         * config/i386/t-nwld: New file.
7639         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
7640         tmake_file.
7641         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
7642         extra_parts.
7644 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7646         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
7647         i386/t-crtstuff.
7648         * configure: Regenerate.
7650 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7652         * dfp-bit.c, dfp-bit.h: New files.
7653         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
7654         variables.
7655         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
7656         ($(d64pbit-o)): Likewise.
7657         ($(d128pbit-o)): Likewise.
7658         * config/t-dfprules: New file.
7659         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
7660         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
7661         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7662         (x86_64-*-linux*): Likewise.
7663         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7664         (i[34567]86-*-cygwin*): Likewise.
7665         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
7666         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7668 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7670         * Makfile.in (LIBGCOV): New variable.
7671         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
7672         * libgcov.c: New file.
7674 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7676         * fixed-bit.c, fixed-bit.h: New files.
7677         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
7678         refer to fixed-bit.c.
7680 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
7682         * config.host (*local*): Remove.
7684 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7686         PR target/39150
7687         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
7688         like i?86-*-solaris2.1[0-9]*.
7689         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
7690         * configure.ac (i?86-*-solaris2*): Likewise.
7691         * configure: Regenerate.
7693 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
7695         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7696         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
7697         md_unwind_header by splitting out of...
7698         (i[34567]86-*-linux*): ... this.
7699         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
7700         Remove md_unwind_header by splitting out of...
7701         (x86_64-*-linux*): ... this.
7703 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
7705         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
7707 2011-06-28  Nick Clifton  <nickc@redhat.com>
7709         * config.host: Recognize all V850 variants.
7711 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
7713         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
7715 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7717         * shared-object.mk (c_flags-$o): Save c_flags.
7718         ($(base)$(objext)): Use it.
7719         ($(base)_s$(objext)): Likewise.
7721 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
7723         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
7724         * libgcc-std.ver.in (GCC_4.7.0): New section.
7726 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
7728         PR target/49313
7729         PR target/29524
7730         * config/avr/t-avr: Fix line endings.
7731         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
7732         _parityXX2.
7734 2011-06-14  Olivier Hainque  <hainque@adacore.com>
7735             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7737         * config/mips/irix6-unwind.h: New file.
7738         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
7740 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
7742         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
7743         (sparc64_fallback_frame_state): Use it.
7744         (sparc64_frob_update_context): Further adjust context.
7745         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
7746         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
7747         * config/sparc/sol2-cn.S: Likewise.
7749 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7751         * enable-execute-stack-empty.c: New file.
7752         * enable-execute-stack-mprotect.c: New file.
7753         * config/i386/enable-execute-stack-mingw32.c: New file.
7754         * config.host (enable_execute_stack): New variable.
7755         Select appropriate variants.
7756         * configure.ac: Link enable-execute-stack.c to
7757         $enable_execute_stack.
7758         * configure: Regenerate.
7759         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
7760         (lib2funcs): Remove _enable_execute_stack.
7762 2011-06-09  David S. Miller  <davem@davemloft.net>
7763             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7765         * config.host (sparc-*-linux*): Correct md_unwind_header
7766         filename.
7767         (s390x-ibm-tpf*): Fix typo.
7769 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7771         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
7772         Add crtfastmath.o to extra_parts.
7773         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
7774         mips/t-crtfm.
7775         * config/mips/t-crtfm: Remove.
7777 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7779         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
7781 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
7783         * config.host (sh*-*-linux*): Fix typo.
7785 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7787         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
7788         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
7789         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
7790         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
7791         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
7792         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
7793         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
7794         Wrap in !__MINGW64__.
7795         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
7796         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
7797         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
7798         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
7799         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
7800         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
7801         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
7802         Wrap in !__LP64__.
7803         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
7804         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
7805         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
7806         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
7807         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
7808         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
7809         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
7810         * config/no-unwind.h: New file.
7811         * config.host (md_unwind_header): Document.
7812         Define.
7813         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
7814         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
7815         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
7816         hppa[12]*-*-hpux11*): Set md_unwind_header.
7817         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
7818         Set md_unwind_header.
7819         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
7820         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
7821         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
7822         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
7823         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
7824         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
7825         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
7826         md_unwind_header.
7827         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
7828         * configure: Regenerate.
7830 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7832         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
7833         Set tmake_file, extra_parts.
7834         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
7835         Remove O32 support.
7836         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
7837         Remove O32 support.
7838         * config/mips/t-irix6: New file.
7839         * config/mips/t-slibgcc-irix: New file.
7841 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7843         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
7844         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
7846 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7848         * configure.ac (target_thread_file): Determine thread model.
7849         * configure: Regenerate.
7850         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
7851         * config/alpha/t-alpha: New file.
7852         * config/alpha/t-crtfm: Use $<.
7853         * config/alpha/t-ieee: New file.
7854         * config/alpha/t-osf-pthread: New file.
7855         * config/alpha/t-slibgcc-osf: New file.
7856         * config/alpha/libgcc-osf5.ver: New file.
7858 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7860         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
7861         tmake_file.
7862         Add crtfastmath.o to extra_parts.
7864 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7866         * config/gmon-sol2.c: Reindent.
7867         Cleanup comments.
7868         Remove, correct casts.
7869         Use STDERR_FILENO, NULL.
7870         (BASEADDRESS): Remove.
7871         (minbrk): Remove.
7872         (errno, sbrk): Remove declarations.
7873         (monstartup) [hp300]: Remove.
7874         (mcount): Remove.
7876 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7878         * Makefile.in (cpu_type): Define.
7879         * config.host (i[34567]86-*-rtems*): Handle it.
7880         (i[34567]86-*-solaris2*): Move body ...
7881         (*-*-solaris2*): ... here.
7882         New case, generalize.
7883         (sparc-*-elf*): Handle it.
7884         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
7885         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
7886         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
7887         Fold into ...
7888         (sparc*-*-solaris2*): ... this.
7889         New case.
7890         (sparc64-*-elf*): Handle it.
7891         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
7892         Merge ../gcc/config/i386/gmon-sol2.c.
7893         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
7894         Use C comments.
7895         Merge ../gcc/config/i386/sol2-gc1.asm.
7896         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
7897         Use C comments.
7898         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
7899         Use C comments.
7900         * config/i386/t-crtfm (crtfastmath.o): Use $<.
7901         * config/i386/t-crtstuff: New file.
7902         * config/i386/t-softfp: New file.
7903         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
7904         $(T)crti.o, $(T)crtn.o): Remove.
7905         (gcrt1.o): New rule.
7906         (TARGET_LIBGCC2_CFLAGS): Remove.
7907         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
7908         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
7909         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
7910         * config/sparc/t-sol2: New file.
7911         * config/sparc/t-crtfm: Move to ...
7912         * config/t-crtfm: ... this.
7913         Use $(cpu_type), $<.
7914         * config/t-crtin: New file.
7915         * config/sparc/t-softfp: New file.
7916         * config/sparc/t-softmul: New file.
7917         * config/t-rtems: New file.
7918         * config/t-slibgcc: New file.
7919         * config/t-slibgcc-elf-ver: New file.
7920         * config/t-slibgcc-gld: New file.
7921         * config/t-slibgcc-sld: New file.
7922         * config/t-sol2: New file.
7923         * configure.ac: Include ../config/lib-ld.m4.
7924         Call AC_LIB_PROG_LD_GNU.
7925         Substitute cpu_type.
7926         * configure: Regenerate.
7928 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
7930         PR bootstrap/49173
7931         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
7932         libgcc-std.ver in the build directory.
7933         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
7934         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
7936 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
7938         * libgcc-std.ver.in: New file.
7939         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
7940         variables.
7941         (libgcc-std.ver): New rule.
7942         * config/t-gnu-prefix: New file.
7944 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7946         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
7948 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
7950         * config/i386/darwin-lib.h: New file.
7952 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
7954         * config/arm/symbian-lib.h: New.
7956 2011-05-04  Chris Demetriou  <cgd@google.com>
7958         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
7959         (__x86.get_pc_thunk.bx): ...this.
7960         (__morestack): Adjust for rename, remove undef of __i686.
7962 2011-05-03  Chris Demetriou  <cgd@google.com>
7964         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
7966 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
7968         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
7969         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
7970         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
7971         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
7972         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
7973         Remove cases.
7975 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
7977         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
7978         Adjust copyright year.
7980 2011-03-07  Ian Lance Taylor  <iant@google.com>
7982         * generic-morestack.c (__splitstack_find): Adjust returned stack
7983         pointer to include all registers pushed by __morestack.
7985 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
7987         PR target/40125
7988         * configure.ac: Call ACX_NONCANONICAL_TARGET.
7989         (toolexecdir): Calculate and AC_SUBST.
7990         (toolexeclibdir): Likewise.
7991         * Makefile.in (target_noncanonical): Import.
7992         (toolexecdir): Likewise.
7993         (toolexeclibdir): Likewise.
7994         * configure: Regenerate.
7996 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
7998         PR target/46040
7999         * config/arm/bpabi.h: Rename to...
8000         * config/arm/bpabi-lib.h: ...this.
8002 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8004         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8005         appropriate.
8006         * configure: Regenerate.
8008 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
8010         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8011         __FLOAT_WORD_ORDER__.
8012         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8013         Delete.
8015 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8017         PR other/46202
8018         * Makefile.in (install-strip): New phony target.
8020 2010-11-07  Ian Lance Taylor  <iant@google.com>
8022         PR target/46089
8023         * config/i386/morestack.S (__morestack_large_model): New
8024         function.
8026 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
8028         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8029         Delete.
8030         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8032 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
8034         * config/arm/bpabi.h: New file.
8035         * config/frv/frv-abi.h: New file.
8037 2010-10-01  Ian Lance Taylor  <iant@google.com>
8039         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8040         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8042 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
8044         PR target/45858
8045         * config.host: Add the missing `$'.
8047 2010-09-30  Michael Eager  <eager@eagercon.com>
8049         * config.host: Add microblaze*-*-*.
8050         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8051         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8052         udivsi3.asm,umodsi3.asm}:  New.
8054 2010-09-28  Ian Lance Taylor  <iant@google.com>
8056         * configure.ac: Adjust CFI test to test assembler directly rather
8057         than checking gcc preprocessor macro.
8058         * configure: Rebuild.
8060 2010-09-27  Ian Lance Taylor  <iant@google.com>
8062         * configure.ac: Test whether assembler supports CFI directives.
8063         * config.host: Only add t-stack and i386/t-stack-i386 to
8064         tmake_file if libgcc_cv_cfi is "yes".
8065         * configure: Rebuild.
8067 2010-09-27  Ian Lance Taylor  <iant@google.com>
8069         * generic-morestack.h: New file.
8070         * generic-morestack.c: New file.
8071         * generic-morestack-thread.c: New file.
8072         * config/i386/morestack.S: New file.
8073         * config/t-stack: New file.
8074         * config/i386/t-stack-i386: New file.
8075         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8076         i386/t-stack-i386 to tmake_file.
8078 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
8080         * Makefile.in (libgcc-extra-parts):  Check for static archives and
8081         invoke ranlib after installing them.
8082         (gcc-extra-parts): Likewise.
8083         (install-leaf): Likewise.
8085 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
8087         * configure: Regenerated.
8089 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
8091         * configure: Regenerated.
8093 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
8094             Andrew Pinski  <pinskia@gmail.com>
8096         PR target/40959
8097         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
8099 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8101         PR target/45524
8102         * configure: Regenerated.
8104 2010-09-06  Andreas Schwab  <schwab@redhat.com>
8106         * configure: Regenerate.
8108 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
8110         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8111         64bit targets.
8112         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8113         for 64bit targets.
8115 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
8116             Iain Sandoe  <iains@gcc.gnu.org>
8118         PR target/45476
8119         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8120         LIB2FUNCS_EXCLUDE functions.
8122 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8124         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8125         Include dfp.m4.
8126         * configure: Regenerate.
8128 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
8130         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8131         i386/t-freebsd to tmake_file.
8132         * config/i386/t-freebsd: New file.
8133         * config/i386/libgcc-bsd.ver: New file.
8135 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
8137         * config.host (powerpc*-eabispe*): Set tmake_file.
8138         (powerpc*-eabi*): Likewise.
8139         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8140         crtbeginS, crtendS, crtbeginT.
8142 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
8144         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8145         to tmake_file.  Add crtfastmath.o to extra_parts.
8146         * config/mips/t-crtfm: New.
8148 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
8150         * config.host (sparc64-*-rtems*): New target.
8152 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8154         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8155         assembler syntax.
8157 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
8159         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8161 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8163         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8164         alpha-dec-osf5.0* support.
8166 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
8168         * config.host: Add lm32-*-rtems*.
8170 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8171             Uros Bizjak  <ubizjak@gmail.com>
8173         PR target/39048
8174         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8175         like other remaining 32-bit x86 OSes.
8176         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8177         assembler syntax.
8178         * config/i386/libgcc-sol2.ver: New file.
8179         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8181 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
8183         PR c/43553
8184         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8185         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8186         is used and substitute set_use_emutls.
8187         * configure: Regenerated.
8189 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
8191         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8193 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8195         PR target/38085
8196         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8197         MULTILIB_CFLAGS.
8198         ($(T)gcrt1.o): Likewise.
8199         ($(T)crt1.o): Likewise.
8200         ($(T)crti.o): Likewise.
8201         ($(T)crtn.o): Likewise.
8203 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8205         PR other/42980
8206         * Makefile.in (install): Use $(MAKE) string in rule, for
8207         parallel make.
8209 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
8211         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8212         * config/mmix/t-mmix: New file.
8213         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8215 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
8217         PR java/41991
8218         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8219         SHLIB_MAPFILES.
8221 2010-01-04  Anthony Green  <green@moxielogic.com>
8223         * config/moxie/crti.asm, config/moxie/crtn.asm,
8224         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8225         config/moxie/t-moxie: New files.
8226         * config.host: Add t-moxie-softfp reference.
8228 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
8230         PR other/39888
8231         * config/t-slibgcc-darwin: Fix embedded rpaths for
8232         --enable-version-specific-runtime-libs, build extension stub
8233         libs exposing features available from current libgcc_s.
8235 2009-11-11  Jon Beniston  <jon@beniston.com>
8237         * config.host: Add lm32 targets.
8238         * config/lm32: New directory.
8239         * config/lm32/libgcc_lm32.h: New file.
8240         * config/lm32/_mulsi3.c: New file.
8241         * config/lm32/_udivmodsi4.c: New file.
8242         * config/lm32/_divsi3.c: New file.
8243         * config/lm32/_modsi3.c: New file.
8244         * config/lm32/_udivsi3.c: New file.
8245         * config/lm32/_umodsi3.c: New file.
8246         * config/lm32/_lshrsi3.S: New file.
8247         * config/lm32/_ashrsi3.S: New file.
8248         * config/lm32/_ashlsi3.S: New file.
8249         * config/lm32/crti.S: New file.
8250         * config/lm32/crtn.S: New file.
8251         * config/lm32/t-lm32: New file.
8252         * config/lm32/t-elf: New file.
8253         * config/lm32/t-uclinux: New file.
8255 2009-10-26  Nick Clifton  <nickc@redhat.com>
8257         * config.host: Add support for RX target.
8258         * config/rx: New directory.
8259         * config/rx/rx-abi-functions.c: New file. Supplementary
8260         functions for libgcc to support the RX ABI.
8261         * config/rx/rx-abi.h: New file.  Supplementary header file for
8262         libgcc RX ABI functions.
8263         * config/rx/t-rx: New file: Makefile fragment for building
8264         libgcc for the RX.
8266 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
8268         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8269         constraint of y0 to "g".
8271 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8273         * config.host: Include the s390 makefile fragments.
8274         * config/s390/32/_fixdfdi.c: New file.
8275         * config/s390/32/_fixsfdi.c: New file.
8276         * config/s390/32/_fixtfdi.c: New file.
8277         * config/s390/32/_fixunsdfdi.c: New file.
8278         * config/s390/32/_fixunssfdi.c: New file.
8279         * config/s390/32/_fixunstfdi.c: New file.
8280         * config/s390/32/t-floattodi: New file.
8281         * config/s390/libgcc-glibc.ver: New file.
8282         * config/s390/t-crtstuff: New file.
8283         * config/s390/t-linux: New file.
8284         * config/s390/t-tpf: New file.
8286 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8288         * configure.ac (AC_PREREQ): Bump to 2.64.
8290 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
8292         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8294 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8296         * configure: Regenerate.
8298 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
8300         * config.host (ia64-hp-*vms*): New target.
8301         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
8302         with ia64-hp-*vms*.
8304 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8306         * configure.ac: Add snippet for maintainer-mode.
8307         * configure: Regenerate.
8308         * Makefile.in (AUTOCONF, configure_deps): New variables.
8309         ($(srcdir)/configure)): New rule, active only with maintainer
8310         mode turned on.
8312 2009-06-23  DJ Delorie  <dj@redhat.com>
8314         Add MeP port.
8315         * config.host: Add mep support.
8317 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
8319         * config.host: Add i386/${host_address}/t-fprules-softfp and
8320         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
8322         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
8323         for mingw targets.
8324         * config/i386/64/_multc3.c: Likewise.
8325         * config/i386/64/_powitf2.c: Likewise.
8326         * config/i386/64/eqtf2.c: Likewise.
8327         * config/i386/64/getf2.c: Likewise.
8328         * config/i386/64/letf2.c: Likewise.
8329         * config/i386/64/letf2.c: Likewise.
8330         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
8331         unsigned long long for x64 mingw targets.
8332         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
8333         (_FP_I_TYPE): Define as long long for x64 mingw target.
8335 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
8337         * config.host (vax-*-linux*): New.
8339 2009-05-31  Anthony Green  <green@moxielogic.com>
8341         * config.host: Add moxie support.
8342         * config/moxie/t-moxie: New file.
8344 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
8346         * config.host: Add i386/${host_address}/t-fprules-softfp and
8347         t-softfp to tmake_file for i[34567]86-*-cygwin*.
8349 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
8351         * config.host: Add i386/${host_address}/t-fprules-softfp to
8352         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
8354 2009-04-09  Nick Clifton  <nickc@redhat.com>
8356         * config/ia64/tf-signs.c: Change copyright header to refer to
8357         version 3 of the GNU General Public License with version 3.1
8358         of the GCC Runtime Library Exception and to point readers at
8359         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
8360         web page.
8361         * config/i386/32/tf-signs.c: Likewise.
8362         * config/libbid/_addsub_dd.c: Likewise.
8363         * config/libbid/_addsub_sd.c: Likewise.
8364         * config/libbid/_addsub_td.c: Likewise.
8365         * config/libbid/_dd_to_df.c: Likewise.
8366         * config/libbid/_dd_to_di.c: Likewise.
8367         * config/libbid/_dd_to_sd.c: Likewise.
8368         * config/libbid/_dd_to_sf.c: Likewise.
8369         * config/libbid/_dd_to_si.c: Likewise.
8370         * config/libbid/_dd_to_td.c: Likewise.
8371         * config/libbid/_dd_to_tf.c: Likewise.
8372         * config/libbid/_dd_to_udi.c: Likewise.
8373         * config/libbid/_dd_to_usi.c: Likewise.
8374         * config/libbid/_dd_to_xf.c: Likewise.
8375         * config/libbid/_df_to_dd.c: Likewise.
8376         * config/libbid/_df_to_sd.c: Likewise.
8377         * config/libbid/_df_to_td.c: Likewise.
8378         * config/libbid/_di_to_dd.c: Likewise.
8379         * config/libbid/_di_to_sd.c: Likewise.
8380         * config/libbid/_di_to_td.c: Likewise.
8381         * config/libbid/_div_dd.c: Likewise.
8382         * config/libbid/_div_sd.c: Likewise.
8383         * config/libbid/_div_td.c: Likewise.
8384         * config/libbid/_eq_dd.c: Likewise.
8385         * config/libbid/_eq_sd.c: Likewise.
8386         * config/libbid/_eq_td.c: Likewise.
8387         * config/libbid/_ge_dd.c: Likewise.
8388         * config/libbid/_ge_sd.c: Likewise.
8389         * config/libbid/_ge_td.c: Likewise.
8390         * config/libbid/_gt_dd.c: Likewise.
8391         * config/libbid/_gt_sd.c: Likewise.
8392         * config/libbid/_gt_td.c: Likewise.
8393         * config/libbid/_isinfd128.c: Likewise.
8394         * config/libbid/_isinfd32.c: Likewise.
8395         * config/libbid/_isinfd64.c: Likewise.
8396         * config/libbid/_le_dd.c: Likewise.
8397         * config/libbid/_le_sd.c: Likewise.
8398         * config/libbid/_le_td.c: Likewise.
8399         * config/libbid/_lt_dd.c: Likewise.
8400         * config/libbid/_lt_sd.c: Likewise.
8401         * config/libbid/_lt_td.c: Likewise.
8402         * config/libbid/_mul_dd.c: Likewise.
8403         * config/libbid/_mul_sd.c: Likewise.
8404         * config/libbid/_mul_td.c: Likewise.
8405         * config/libbid/_ne_dd.c: Likewise.
8406         * config/libbid/_ne_sd.c: Likewise.
8407         * config/libbid/_ne_td.c: Likewise.
8408         * config/libbid/_sd_to_dd.c: Likewise.
8409         * config/libbid/_sd_to_df.c: Likewise.
8410         * config/libbid/_sd_to_di.c: Likewise.
8411         * config/libbid/_sd_to_sf.c: Likewise.
8412         * config/libbid/_sd_to_si.c: Likewise.
8413         * config/libbid/_sd_to_td.c: Likewise.
8414         * config/libbid/_sd_to_tf.c: Likewise.
8415         * config/libbid/_sd_to_udi.c: Likewise.
8416         * config/libbid/_sd_to_usi.c: Likewise.
8417         * config/libbid/_sd_to_xf.c: Likewise.
8418         * config/libbid/_sf_to_dd.c: Likewise.
8419         * config/libbid/_sf_to_sd.c: Likewise.
8420         * config/libbid/_sf_to_td.c: Likewise.
8421         * config/libbid/_si_to_dd.c: Likewise.
8422         * config/libbid/_si_to_sd.c: Likewise.
8423         * config/libbid/_si_to_td.c: Likewise.
8424         * config/libbid/_td_to_dd.c: Likewise.
8425         * config/libbid/_td_to_df.c: Likewise.
8426         * config/libbid/_td_to_di.c: Likewise.
8427         * config/libbid/_td_to_sd.c: Likewise.
8428         * config/libbid/_td_to_sf.c: Likewise.
8429         * config/libbid/_td_to_si.c: Likewise.
8430         * config/libbid/_td_to_tf.c: Likewise.
8431         * config/libbid/_td_to_udi.c: Likewise.
8432         * config/libbid/_td_to_usi.c: Likewise.
8433         * config/libbid/_td_to_xf.c: Likewise.
8434         * config/libbid/_tf_to_dd.c: Likewise.
8435         * config/libbid/_tf_to_sd.c: Likewise.
8436         * config/libbid/_tf_to_td.c: Likewise.
8437         * config/libbid/_udi_to_dd.c: Likewise.
8438         * config/libbid/_udi_to_sd.c: Likewise.
8439         * config/libbid/_udi_to_td.c: Likewise.
8440         * config/libbid/_unord_dd.c: Likewise.
8441         * config/libbid/_unord_sd.c: Likewise.
8442         * config/libbid/_unord_td.c: Likewise.
8443         * config/libbid/_usi_to_dd.c: Likewise.
8444         * config/libbid/_usi_to_sd.c: Likewise.
8445         * config/libbid/_usi_to_td.c: Likewise.
8446         * config/libbid/_xf_to_dd.c: Likewise.
8447         * config/libbid/_xf_to_sd.c: Likewise.
8448         * config/libbid/_xf_to_td.c: Likewise.
8449         * config/libbid/bid128.c: Likewise.
8450         * config/libbid/bid128_2_str.h: Likewise.
8451         * config/libbid/bid128_2_str_macros.h: Likewise.
8452         * config/libbid/bid128_2_str_tables.c: Likewise.
8453         * config/libbid/bid128_add.c: Likewise.
8454         * config/libbid/bid128_compare.c: Likewise.
8455         * config/libbid/bid128_div.c: Likewise.
8456         * config/libbid/bid128_fma.c: Likewise.
8457         * config/libbid/bid128_logb.c: Likewise.
8458         * config/libbid/bid128_minmax.c: Likewise.
8459         * config/libbid/bid128_mul.c: Likewise.
8460         * config/libbid/bid128_next.c: Likewise.
8461         * config/libbid/bid128_noncomp.c: Likewise.
8462         * config/libbid/bid128_quantize.c: Likewise.
8463         * config/libbid/bid128_rem.c: Likewise.
8464         * config/libbid/bid128_round_integral.c: Likewise.
8465         * config/libbid/bid128_scalb.c: Likewise.
8466         * config/libbid/bid128_sqrt.c: Likewise.
8467         * config/libbid/bid128_string.c: Likewise.
8468         * config/libbid/bid128_to_int16.c: Likewise.
8469         * config/libbid/bid128_to_int32.c: Likewise.
8470         * config/libbid/bid128_to_int64.c: Likewise.
8471         * config/libbid/bid128_to_int8.c: Likewise.
8472         * config/libbid/bid128_to_uint16.c: Likewise.
8473         * config/libbid/bid128_to_uint32.c: Likewise.
8474         * config/libbid/bid128_to_uint64.c: Likewise.
8475         * config/libbid/bid128_to_uint8.c: Likewise.
8476         * config/libbid/bid32_to_bid128.c: Likewise.
8477         * config/libbid/bid32_to_bid64.c: Likewise.
8478         * config/libbid/bid64_add.c: Likewise.
8479         * config/libbid/bid64_compare.c: Likewise.
8480         * config/libbid/bid64_div.c: Likewise.
8481         * config/libbid/bid64_fma.c: Likewise.
8482         * config/libbid/bid64_logb.c: Likewise.
8483         * config/libbid/bid64_minmax.c: Likewise.
8484         * config/libbid/bid64_mul.c: Likewise.
8485         * config/libbid/bid64_next.c: Likewise.
8486         * config/libbid/bid64_noncomp.c: Likewise.
8487         * config/libbid/bid64_quantize.c: Likewise.
8488         * config/libbid/bid64_rem.c: Likewise.
8489         * config/libbid/bid64_round_integral.c: Likewise.
8490         * config/libbid/bid64_scalb.c: Likewise.
8491         * config/libbid/bid64_sqrt.c: Likewise.
8492         * config/libbid/bid64_string.c: Likewise.
8493         * config/libbid/bid64_to_bid128.c: Likewise.
8494         * config/libbid/bid64_to_int16.c: Likewise.
8495         * config/libbid/bid64_to_int32.c: Likewise.
8496         * config/libbid/bid64_to_int64.c: Likewise.
8497         * config/libbid/bid64_to_int8.c: Likewise.
8498         * config/libbid/bid64_to_uint16.c: Likewise.
8499         * config/libbid/bid64_to_uint32.c: Likewise.
8500         * config/libbid/bid64_to_uint64.c: Likewise.
8501         * config/libbid/bid64_to_uint8.c: Likewise.
8502         * config/libbid/bid_b2d.h: Likewise.
8503         * config/libbid/bid_binarydecimal.c: Likewise.
8504         * config/libbid/bid_conf.h: Likewise.
8505         * config/libbid/bid_convert_data.c: Likewise.
8506         * config/libbid/bid_decimal_data.c: Likewise.
8507         * config/libbid/bid_decimal_globals.c: Likewise.
8508         * config/libbid/bid_div_macros.h: Likewise.
8509         * config/libbid/bid_dpd.c: Likewise.
8510         * config/libbid/bid_flag_operations.c: Likewise.
8511         * config/libbid/bid_from_int.c: Likewise.
8512         * config/libbid/bid_functions.h: Likewise.
8513         * config/libbid/bid_gcc_intrinsics.h: Likewise.
8514         * config/libbid/bid_inline_add.h: Likewise.
8515         * config/libbid/bid_internal.h: Likewise.
8516         * config/libbid/bid_round.c: Likewise.
8517         * config/libbid/bid_sqrt_macros.h: Likewise.
8519 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
8521         * Makefile.in: Change copyright header to refer to version
8522         3 of the GNU General Public License and to point readers at the
8523         COPYING3 file and the FSF's license web page.
8524         * config.host: Likewise.
8526 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
8528         * config.host: Reorder and merge to match config.gcc change.
8530 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
8532         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
8534 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
8536         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
8537         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
8538         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
8539         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
8541 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
8543         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
8544         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8546 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
8548         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
8549         ia64/t-softfp-compat to tmake_file.
8551         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
8553         * config/ia64/__divxf3.asm: New.
8554         * config/ia64/_fixtfdi.asm: Likewise.
8555         * config/ia64/_fixunstfdi.asm: Likewise.
8556         * config/ia64/_floatditf.asm: Likewise.
8557         * config/ia64/t-fprules-softfp: Likewise.
8558         * config/ia64/t-softfp-compat: Likewise.
8559         * config/ia64/tf-signs.c: Likewise.
8561 2009-01-18  Ben Elliston  <bje@au.ibm.com>
8563         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8565 2009-01-16  Ben Elliston  <bje@au.ibm.com>
8567         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
8568         to tmake_file.
8570 2009-01-13  Ben Elliston  <bje@au.ibm.com>
8572         * config/t-softfp: New file.
8573         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
8574         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
8576 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
8578         * config.host: Add m32r*-*-rtems*.
8580 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
8582         * config.host: Add m32c*-*-rtems*.
8584 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8586         PR bootstrap/33100
8587         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
8588         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
8589         * configure: Regenerate.
8590         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
8591         tmake_file here from gcc/config.gcc.
8592         Move extra_parts here from gcc/config.gcc.
8593         * config/i386/t-sol2: Move here from gcc/config/i386.
8594         Use gcc_srcdir instead of srcdir.
8596 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
8598         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
8599         case.
8601 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
8603         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
8605 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
8607         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
8609 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
8611         Add picoChip port.
8612         * config.host: Add picochip-*-*.
8614 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
8616         * config.host: Match more processor names for Xtensa.
8618 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
8620         * config/i386/64/t-softfp-compat: Update comments.
8622 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8624         * config/i386/64/_divtc3-compat.c: Moved to ...
8625         * config/i386/64/_divtc3.c: Here.
8627         * config/i386/64/_multc3-compat.c: Moved to ...
8628         * config/i386/64/_multc3.c: Here.
8630         * config/i386/64/_powitf2-compat.c: Moved to ...
8631         * config/i386/64/_powitf2.c: Here.
8633         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
8634         .c suffix instead of -compat.c.
8636 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
8638         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
8639         (_FP_MUL_MEAT_D): Ditto.
8640         (_FP_DIV_MEAT_S): Ditto.
8641         (_FP_DIV_MEAT_D): Ditto.
8643 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
8645         * Makefile.in: Add support for __sync_* libgcc functions.
8647 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
8649         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
8651 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8653         PR boostrap/36702
8654         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
8655         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
8657         * config/i386/64/t-fprules-softfp: Moved to ...
8658         * config/i386/64/t-softfp-compat: This.  New.
8660 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
8662         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
8663         Initialize f with 0.0.
8665 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8667         PR target/36669
8668         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
8670         * config/i386/64/_divtc3-compat.c: New.
8671         * config/i386/64/_multc3-compat.c: Likewise.
8672         * config/i386/64/_powitf2-compat.c: Likewise.
8673         * config/i386/64/eqtf2.c: Likewise.
8674         * config/i386/64/getf2.c: Likewise.
8675         * config/i386/64/letf2.c: Likewise.
8676         * config/i386/64/t-fprules-softfp: Likewise.
8678 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8680         * config.host: Add i386/${host_address}/t-fprules-softfp to
8681         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
8682         i[34567]86-*-linux*, x86_64-*-linux*.
8684         * configure.ac: Set host_address to 64 or 32 for x86.
8685         * configure: Regenerated.
8687         * Makefile.in (config.status): Also depend on
8688         $(srcdir)/config.host.
8690         * config/i386/32/t-fprules-softfp: New.
8691         * config/i386/32/tf-signs.c: Likewise.
8693         * config/i386/64/sfp-machine.h: New. Moved from gcc.
8695 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8696             Uros Bizjak  <ubizjak@gmail.com>
8698         * config/i386/32/sfp-machine.h: New.
8700 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
8702         * config/rs6000/t-ppccomm: Remove rules that conflict with
8703         auto-generated rules.
8705 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8707         * configure.ac: sinclude override.m4.
8708         * configure: Regenerate.
8710 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
8712         * configure: Regenerate.
8714 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
8716         * Makefile.in (DECNUMINC): Remove
8717         -I$(MULTIBUILDTOP)../../libdecnumber.
8718         * gstdint.h: New.
8720 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
8722         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
8723         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
8724         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
8725         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
8726         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
8727         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
8728         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
8729         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
8730         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
8731         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
8732         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
8733         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
8734         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
8735         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
8737 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
8739         * config.host (sh2[lbe]*-*-linux*): Allow target.
8741 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
8743         * config/rs6000/t-ppccomm: Add build rules for new files.
8744         (LIB2ADD_ST): New variable.
8746 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
8748         PR target/34210
8749         PR target/35508
8750         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
8751         * config/t-avr: New file. Build 16bit libgcc functions.
8753 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
8755         PR target/35401
8756         * config/t-slibgcc-darwin: Make install-leaf dependent on
8757         install-darwin-libgcc-stubs instead of install.
8759 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
8761         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
8762         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
8763         sh-*-rtemscoff*): Remove cases.
8765 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
8767         * Makefile.in (all): Use install-leaf rather than install.
8768         (install): Split most of the rule into...
8769         (install-leaf): ...this new one.
8771 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
8772             Paolo Bonzini  <bonzini@gnu.org>
8774         PR target/30572
8775         * Makefile.in: Use @shlib_slibdir@ substitution to get
8776         correct install name on darwin.
8777         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
8779 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
8781         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
8782         cris-*-elf and cris-*-none.
8783         (crisv32-*-linux*): Similar, as cris-*-linux*.
8785 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
8787         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
8789 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
8791         PR regression/33926
8792         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
8793         * configure: Regenerated.
8795 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
8797         * Makefile.in (dfp-filenames): Replace decimal_globals,
8798         decimal_data, binarydecimal and convert_data with
8799         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
8800         and bid_convert_data, respectively.
8802 2007-09-17  Chao-ying Fu  <fu@mips.com>
8803             Nigel Stephens  <nigel@mips.com>
8805         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
8806         * Makefile.in (fixed_point): Define.
8807         Check if fixed_point is yes to build support functions.
8808         * configure.ac: Check for fixed_point support.
8809         * configure: Regenerated.
8810         * gen-fixed.sh: New file to generate lists of fixed-point labels,
8811         funcs, modes, from, to.
8813 2007-09-11  Janis Johnson  <janis187@us.ibm.com
8815         * Makefile.in (dfp-filenames): Add bid128_noncomp.
8817 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
8819         * Makefile.in (dfp-filenames): Remove decUtility, add
8820         decDouble, decPacked, decQuad, decSingle.
8822 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
8824         * config.host : Add x86_64-elf target.
8826 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
8828         * configure.ac (set_have_cc_tls): Add a missing =.
8829         * configure: Regenerated.
8831 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
8833         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
8834         and x86_64-*-linux*.
8836         * config/t-tls: New file.
8838         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
8840         * configure.ac: Include ../config/enable.m4 and
8841         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
8842         supports TLS and substitute set_have_cc_tls.
8843         * configure: Regenerated.
8845 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
8847         * Makefile.in: Use libbid for DFP when BID is enabled.
8849 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
8851         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
8852         extra_parts. Add config/i386/t-cygming to tmake_file.
8853         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
8855 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
8856             Danny Smith  <dannysmith@users.sourceforge.net>
8858         PR target/29498
8859         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
8860         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
8861         * config/i386/t-crtfm: Compile crtfastmath.o with
8862         -minline-all-stringops.
8864 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
8866         * config.host (sparc-wrs-vxworks): New target.
8868 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
8870         * config.host: Recognize fido.
8872 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
8874         * configure: Check host, not target, for decimal float support.
8876 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
8878         * config/i386/t-crtpc: New file.
8879         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
8880         (x86_64-*-linux*): Ditto.
8882 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
8884         * config.host (x86_64-*-mingw*): New target.
8886 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
8887             H.J. Lu  <hongjiu.lu@intel.com>
8889         * Makefile.in (enable_decimal_float): New.
8890         (DECNUMINC): Add
8891         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
8892         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
8893         (decbits-filenames): This.
8894         (decbits-objects): New.
8895         (libgcc-objects): Add $(decbits-objects).
8897         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
8898         Substitute enable_decimal_float.
8899         * configure: Regenerated.
8901 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
8903         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
8905 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
8907         * Makefile.in (install-info): New dummy target.
8909 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
8911         * config.host (bfin*-linux-uclibc*): Set extra_parts.
8913 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
8915         * Makefile.in: Add install-html and install-pdf dummy
8916         targets.
8918 2007-02-05  Roger Sayle  <roger@eyesopen.com>
8919             Daniel Jacobowitz  <dan@codesourcery.com>
8921         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
8922         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
8923         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
8925 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
8927         * Makefile.in (dec-filenames): Add decExcept.
8929 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
8931         PR bootstrap/30469
8932         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
8933         -fprofile-use.
8935 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
8937         * configure.ac: Add --enable-version-specific-runtime-libs.
8938         Correct $slibdir default.
8939         * configure: Regenerated.
8941 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
8943         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
8945 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
8947         PR target/30519
8948         * config.host (alpha*-*-linux*): Set extra_parts.
8950 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
8952         * config/sh/t-linux: New.
8953         * config.host (sh*-*-linux*): Set tmake_file.
8955 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
8957         * Makefile.in (install): Handle multilibs.
8959 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
8961         * Makefile.in: Added .PHONY entry for documentation targets.
8963 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
8965         * Makefile.in: Add empty info, html, dvi, pdf targets.
8967 2007-01-04  Mike Stump  <mrs@apple.com>
8969         * Makefile.in (MAKEINFO): Remove.
8970         (PERL): Likewise.
8972 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
8974         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
8975         * configure: Regenerate.
8976         * Makefile.in (host_subdir): Substitute it.
8977         (gcc_objdir): Use it.
8979 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
8981         * config.host (ia64*-*-linux*): Set tmake_file.
8983 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
8985         * Makefile.in (version): Define.
8987 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
8988             Paolo Bonzini  <bonzini@gnu.org>
8990         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
8991         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
8992         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
8993         config/sparc/t-crtfm, config/t-slibgcc-darwin,
8994         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
8995         shared-object.mk, siditi-object.mk, static-object.mk: New files.
8996         * configure: Generated.
8998 Copyright (C) 2007-2018 Free Software Foundation, Inc.
9000 Copying and distribution of this file, with or without modification,
9001 are permitted in any medium without royalty provided the copyright
9002 notice and this notice are preserved.