1 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
6 * config/xtensa/unwind-dw2-xtensa.c: Likewise
7 * config/ia64/unwind-ia64.c: Add frames parameter.
8 * unwind-sjlj.c: Likewise.
10 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
12 * config/i386/linux-unwind.h: Include
13 config/i386/shadow-stack-unwind.h.
14 * config/i386/shadow-stack-unwind.h: New file.
15 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
16 pass it to _Unwind_Frames_Extra.
17 * unwind-generic.h (_Unwind_Frames_Extra): New.
18 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
19 parameter. Add local variable frames to count number of frames.
20 (_Unwind_ForcedUnwind_Phase2): Likewise.
21 (_Unwind_RaiseException): Add local variable frames to count
22 number of frames, pass it to _Unwind_RaiseException_Phase2 and
24 (_Unwind_ForcedUnwind): Likewise.
25 (_Unwind_Resume): Likewise.
26 (_Unwind_Resume_or_Rethrow): Likewise.
28 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
30 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
32 * config/i386/morestack.S: Include <cet.h>.
33 (__morestack_large_model): Add _CET_ENDBR at function entrance.
34 * config/i386/resms64.h: Include <cet.h>.
35 * config/i386/resms64f.h: Likewise.
36 * config/i386/resms64fx.h: Likewise.
37 * config/i386/resms64x.h: Likewise.
38 * config/i386/savms64.h: Likewise.
39 * config/i386/savms64f.h: Likewise.
40 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
41 (CRTSTUFF_T_CFLAGS): Likewise.
42 * configure.ac: Include ../config/cet.m4.
43 Set and substitute CET_FLAGS.
44 * configure: Regenerated.
46 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
48 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
50 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
51 * configure.ac (libgcc_cv_solaris_crts): Likewise.
52 * configure: Regenerate.
54 2017-11-07 Tom de Vries <tom@codesourcery.com>
56 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
57 after "do {} while (0)".
59 2017-11-07 Tom de Vries <tom@codesourcery.com>
62 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
63 semicolon after "do {} while (0)".
64 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
65 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
66 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
67 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
69 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
72 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
73 sysctl to determine whether we're in a trampoline.
74 Keep the pattern matching method for systems without
75 KERN_PROC_SIGTRAMP sysctl.
77 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
78 Vineet Gupta <vgupta@synopsys.com>
80 * config.host (arc*-*-linux*): Set md_unwind_header variable.
81 * config/arc/linux-unwind-reg.def: New file.
82 * config/arc/linux-unwind-reg.h: Likewise.
84 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
86 * config/rl78/subdi3.S: New assembly file.
87 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
89 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
91 * config/rl78/adddi3.S: New assembly file.
92 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
94 2017-10-13 Jakub Jelinek <jakub@redhat.com>
97 * libgcc2.c (__mulvDI3): If both operands have
98 the same highpart of -1 and the topmost bit of lowpart is 0,
99 multiplication overflows even if both lowparts are 0.
101 2017-09-28 James Bowman <james.bowman@ftdichip.com>
103 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
105 2017-09-26 Joseph Myers <joseph@codesourcery.com>
107 * config/microblaze/crti.S, config/microblaze/crtn.S,
108 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
109 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
110 config/microblaze/mulsi3.S,
111 config/microblaze/stack_overflow_exit.S,
112 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
113 config/pa/milli64.S: Add .note.GNU-stack section.
115 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
117 * configure.ac: Add Check for HAVE_AS_AVX.
118 * config.in: Regenerate.
119 * configure: Likewise.
120 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
121 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
122 Correct out-of-date comments.
124 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
126 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
127 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
129 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
131 * config/i386/i386-asm.h (PASTE2): New macro.
132 (ASMNAME): Modify to use PASTE2.
133 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
134 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
135 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
136 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
137 * config/i386/resms64f.S: Likewise.
138 * config/i386/resms64fx.S: Likewise.
139 * config/i386/resms64x.S: Likewise.
140 * config/i386/savms64.S: Likewise.
141 * config/i386/savms64f.S: Likewise.
142 * config/i386/avx_resms64.S: New file that only defines a macro and
143 includes it's corresponding header file.
144 * config/i386/avx_resms64f.S: Likewise.
145 * config/i386/avx_resms64fx.S: Likewise.
146 * config/i386/avx_resms64x.S: Likewise.
147 * config/i386/avx_savms64.S: Likewise.
148 * config/i386/avx_savms64f.S: Likewise.
149 * config/i386/sse_resms64.S: Likewise.
150 * config/i386/sse_resms64f.S: Likewise.
151 * config/i386/sse_resms64fx.S: Likewise.
152 * config/i386/sse_resms64x.S: Likewise.
153 * config/i386/sse_savms64.S: Likewise.
154 * config/i386/sse_savms64f.S: Likewise.
155 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
157 2017-09-01 Olivier Hainque <hainque@adacore.com>
159 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
161 2017-08-31 Olivier Hainque <hainque@adacore.com>
163 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
164 match as powerpc-wrs-vxworks*.
166 2017-08-07 Jonathan Yong <10walls@gmail.com>
168 * config.host (*-cygwin): Include file from mingw
169 config/i386/enable-execute-stack-mingw32.c
171 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
172 Doug Rupp <rupp@adacore.com>
173 Olivier Hainque <hainque@adacore.com>
175 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
176 as well as arm-wrs-vxworks.
177 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
179 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
180 __exidx_start and __exidx_end for downloadable modules.
182 2017-08-01 Olivier Hainque <hainque@adacore.com>
184 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
185 * config/t-vxworks7: Likewise.
187 2017-08-01 Olivier Hainque <hainque@adacore.com>
189 * config/t-vxworks: Instead of redefining LIB2ADD,
190 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
192 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
194 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
196 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
199 * config.host: include i386/t-msabi for darwin and solaris.
200 * config/i386/i386-asm.h
201 (ELFFN): Rename to FN_TYPE.
202 (FN_SIZE): New macro.
203 (FN_HIDDEN): Likewise.
205 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
207 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
208 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
209 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
211 * config/i386/resms64f.S: Likewise.
212 * config/i386/resms64fx.S: Likewise.
213 * config/i386/resms64x.S: Likewise.
214 * config/i386/savms64.S: Likewise.
215 * config/i386/savms64f.S: Likewise.
217 2017-07-19 John Marino <gnugcc@marino.st>
219 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
221 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
224 * configure.ac (PowerPC float128 hardware support): Test whether
225 we can use __builtin_cpu_supports before enabling the ifunc
227 * configure: Regenerate.
229 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
231 * config.host: Remove uclibc from arc target spec.
233 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
235 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
237 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
239 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
240 (have_ieee_hw_p): Delete function.
241 (SW_OR_HW) Use __builtin_cpu_supports().
243 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
245 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
247 2017-07-03 Olivier Hainque <hainque@adacore.com>
249 * config/t-vxworks7: New file, really.
251 2017-06-28 Joseph Myers <joseph@codesourcery.com>
253 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
254 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
255 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
256 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
257 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
258 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
259 config/pa/linux-unwind.h (pa32_fallback_frame_state),
260 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
261 config/sh/linux-unwind.h (sh_fallback_frame_state),
262 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
263 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
264 ucontext_t instead of struct ucontext.
266 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
268 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
269 (x86_64-wrs-vxworks7): Likewise.
271 2017-06-27 Olivier Hainque <hainque@adacore.com>
273 * config/t-vxworks7: New file.
274 * config.host (*-*-vxworks7): Use it.
276 2017-06-22 Matt Turner <mattst88@gmail.com>
278 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
281 2017-06-21 Richard Biener <rguenther@suse.de>
283 PR gcov-profile/81080
284 * configure.ac: Add AC_SYS_LARGEFILE.
285 * libgcov.h: Include auto-target.h before tsystem.h to pick
286 up _FILE_OFFSET_BITS which might differ for multilibs.
287 * config.in: Regenerate.
288 * configure: Likewise.
290 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
292 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
294 2017-06-09 Martin Liska <mliska@suse.cz>
296 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
297 Reset __gcov_indirect_call_callee to NULL.
299 2017-06-08 Olivier Hainque <hainque@adacore.com>
301 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
302 the set of -I options, support for direct inclusions of net/uio.h
303 by VxWorks header files via ioLib.h.
305 2017-06-07 Tony Reix <tony.reix@atos.net>
306 Matthieu Sarter <matthieu.sarter.external@atos.net>
307 David Edelsohn <dje.gcc@gmail.com>
309 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
311 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
314 2017-06-02 Olivier Hainque <hainque@adacore.com>
316 * config/vxlib.c (__gthread_once): Add missing value to
319 2017-05-30 Olivier Hainque <hainque@adacore.com>
321 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
322 dollar sign before $(MULTIDIR).
324 2017-05-26 Richard Henderson <rth@redhat.com>
327 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
329 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
331 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
332 _Unwind_SetIP available as functions for arm*-*-freebsd*.
333 * config/arm/unwind-arm.c: Implement the above.
335 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
337 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
338 section for a non-executable stack.
340 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
343 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
345 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
347 * config.host: Add i386/t-msabi to i386/t-linux file list.
348 * config/i386/i386-asm.h: New file.
349 * config/i386/resms64.S: New file.
350 * config/i386/resms64f.S: New file.
351 * config/i386/resms64fx.S: New file.
352 * config/i386/resms64x.S: New file.
353 * config/i386/savms64.S: New file.
354 * config/i386/savms64f.S: New file.
355 * config/i386/t-msabi: New file.
357 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
359 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
360 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
362 2017-05-05 Joshua Conner <joshconner@google.com>
364 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
365 pc-relative indirect handling for fuchsia.
366 * config/t-slibgcc-fuchsia: New file.
367 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
368 x86_64-*-fuchsia*): Add definitions.
370 2017-04-19 Martin Liska <mliska@suse.cz>
372 PR gcov-profile/80435
373 * Makefile.in: Install gcov.h.
375 * libgcov.h: Use the header and make __gcov_flush publicly
378 2017-04-18 Martin Liska <mliska@suse.cz>
380 PR gcov-profile/78783
381 * libgcov-driver.c (gcov_get_filename): New function.
383 2017-04-07 Jeff Law <law@redhat.com>
385 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
386 target makefile fragment.
387 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
389 2017-04-07 Alan Modra <amodra@gmail.com>
392 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
394 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
396 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
398 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
400 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
402 2017-03-10 John Marino <gnugcc@marino.st>
404 * config/aarch64/freebsd-unwind.h: New file.
405 * config.host: Add aarch64-*-freebsd unwinder.
407 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
409 * config/rs6000/crtrestvr.s: Use .machine altivec.
410 * config/rs6000/crtsavevr.s: Ditto.
412 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
414 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
415 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
416 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
417 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
418 * configure: Regenerate.
419 * config.in: Regenerate.
421 2017-03-02 Jonathan Yong <10walls@gmail.com>
423 * config/i386/gthr-win32.h: Define NOGDI before
424 windows.h include to prevent w32api CC_NONE macro
425 clash with libgfortran.
427 2017-03-02 Jonathan Yong <10walls@gmail.com>
429 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
431 2017-02-16 Andrew Pinski <apinski@cavium.com>
433 * config/aarch64/value-unwind.h: New file.
434 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
437 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
439 * config.host: Add RISC-V tuples.
440 * config/riscv/atomic.c: New file.
441 * config/riscv/crti.S: Likewise.
442 * config/riscv/crtn.S: Likewise.
443 * config/riscv/div.S: Likewise.
444 * config/riscv/linux-unwind.h: Likewise.
445 * config/riscv/muldi3.S: Likewise.
446 * config/riscv/multi3.S: Likewise.
447 * config/riscv/save-restore.S: Likewise.
448 * config/riscv/sfp-machine.h: Likewise.
449 * config/riscv/t-elf: Likewise.
450 * config/riscv/t-elf32: Likewise.
451 * config/riscv/t-elf64: Likewise.
452 * config/riscv/t-softfp32: Likewise.
453 * config/riscv/t-softfp64: Likewise.
455 2017-01-24 Jakub Jelinek <jakub@redhat.com>
457 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
458 /* FALLTHRU */ comments.
460 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
462 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
464 2017-01-20 Jiong Wang <jiong.wang@arm.com>
466 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
467 * unwind-dw2.c (execute_cfa_program): Only multiplexing
468 DW_CFA_GNU_window_save for AArch64 and LP64.
470 2017-01-20 Jiong Wang <jiong.wang@arm.com>
472 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
474 2017-01-19 Jiong Wang <jiong.wang@arm.com>
476 * config/aarch64/aarch64-unwind.h: New file.
477 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
478 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
479 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
480 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
481 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
482 (aarch64_post_extract_frame_addr): New function.
483 (aarch64_post_frob_eh_handler_addr): New function.
484 (aarch64_frob_update_context): New function.
485 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
486 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
487 aarch64*-*-freebsd*):
488 Initialize md_unwind_header to include aarch64-unwind.h.
489 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
490 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
492 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
493 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
494 (uw_frob_return_addr): New function.
495 (uw_install_context): Use uw_frob_return_addr.
497 2017-01-17 Jakub Jelinek <jakub@redhat.com>
500 * configure.ac: Add GCC_BASE_VER.
501 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
502 version from BASE-VER file.
503 * configure: Regenerated.
505 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
507 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
508 libmul_f5.a): Filter archived prerequisites.
510 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
512 * config/i386/cpuinfo.h (processor_features): Add
513 FEATURE_AVX512VPOPCNTDQ.
514 * config/i386/cpuinfo.c (get_available_features): Habdle new
517 2017-01-04 Joseph Myers <joseph@codesourcery.com>
519 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
520 payload if [__mips_nan2008].
522 2017-01-04 Alan Modra <amodra@gmail.com>
524 * Makefile.in (configure_deps): Update.
525 * configure: Regenerate.
527 2017-01-01 Jakub Jelinek <jakub@redhat.com>
529 Update copyright years.
531 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
533 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
534 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
535 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
537 2016-12-17 Matthias Klose <doko@ubuntu.com>
539 * config/arc/gmon: Remove empty directory.
541 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
543 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
545 (arc*-*-elf*): Likewise.
546 * config/arc/t-arc: Remove old gmon lib targets.
547 * config/arc/crtg.S: Remove.
548 * config/arc/crtgend.S: Likewise.
549 * config/arc/gmon/atomic.h: Likewise.
550 * config/arc/gmon/auxreg.h: Likewise.
551 * config/arc/gmon/dcache_linesz.S: Likewise.
552 * config/arc/gmon/gmon.c: Likewise.
553 * config/arc/gmon/machine-gmon.h: Likewise.
554 * config/arc/gmon/mcount.c: Likewise.
555 * config/arc/gmon/prof-freq-stub.S: Likewise.
556 * config/arc/gmon/prof-freq.c: Likewise.
557 * config/arc/gmon/profil.S: Likewise.
558 * config/arc/gmon/sys/gmon.h: Likewise.
559 * config/arc/gmon/sys/gmon_out.h: Likewise.
560 * config/arc/t-arc-newlib: Likewise.
561 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
563 2016-12-12 George Spelvin <linux@sciencehorizons.net>
565 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
567 2016-12-12 George Spelvin <linux@sciencehorizons.net>
569 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
570 R16 instead of push + pop.
571 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
573 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
575 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
578 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
580 * config.host (arc*-*-linux-uclibc*): Use default extra
581 objects. Include linux-android header.
582 * config/arc/crti.S (_init): Declare symbol as function.
585 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
588 * config/i386/cpuinfo.c: Move denums for processor vendors,
589 processor type, processor subtypes and declaration of
590 struct __processor_model into
591 * config/i386/cpuinfo.h: New header file.
593 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
594 Thomas Preud'homme <thomas.preudhomme@arm.com>
596 * config/arm/cmse_nonsecure_call.S: New.
597 * config/arm/t-arm: Compile cmse_nonsecure_call.S
599 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
600 Thomas Preud'homme <thomas.preudhomme@arm.com>
602 * config/arm/t-arm (HAVE_CMSE): New.
603 * config/arm/cmse.c: New.
605 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
608 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
609 use generic linker version information on Blackfin.
612 * libgcc/mkmap-symver.awk: add support for skip_underscore
614 2016-11-27 Iain Sandoe <iain@codesourcery.com>
615 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
618 * config/t-darwin: Default builds to 10.5 codegen.
620 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
622 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
623 (_FP_NANSIGN_H): Likewise.
624 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
625 (softfp_truncations): Add tfhf.
626 (softfp_extras): Add required conversion functions.
628 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
629 Matthew Wahab <matthew.wahab@arm.com>
631 * config/arm/fp16.c (binary64): New.
632 (__gnu_d2h_internal): New.
633 (__gnu_d2h_ieee): New.
634 (__gnu_d2h_alternative): New.
636 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
637 Matthew Wahab <matthew.wahab@arm.com>
639 * config/arm/fp16.c (struct format): New.
641 (__gnu_float2h_internal): New. Body moved from
642 __gnu_f2h_internal and generalize.
643 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
644 Call it with binary32.
646 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
648 * soft-fp/extendhftf2.c: Update from glibc.
649 * soft-fp/fixhfti.c: Likewise.
650 * soft-fp/fixunshfti.c: Likewise.
651 * soft-fp/floattihf.c: Likewise.
652 * soft-fp/floatuntihf.c: Likewise.
653 * soft-fp/half.h: Likewise.
654 * soft-fp/trunctfhf2.c: Likewise.
656 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
659 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
660 __TMC_END__ behind a passthrough asm.
662 2016-11-18 Walter Lee <walt@tilera.com>
664 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
666 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
668 * config/i386/cpuinfo.c (processor_features): Add
669 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
671 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
673 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
674 (__ARC_NORM__): Use instead ARC_OPTFPE.
675 * config/arc/fp-hack.h: Likewise.
676 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
677 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
679 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
681 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
682 * config/nvptx/mgomp.c: New file.
683 * config/nvptx/t-nvptx: Add mgomp.c
685 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
688 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
690 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
692 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
693 of checking for cpus.
694 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
695 (__modsi3, __clzsi2): Likewise.
697 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
699 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
700 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
701 * config/i386/t-cpuinfo-static: New.
703 2016-11-03 Martin Liska <mliska@suse.cz>
705 * libgcov-profiler.c (__gcov_time_profiler): Remove.
706 (__gcov_time_profiler_atomic): Likewise.
708 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
711 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
714 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
716 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
717 * libgcc2.c (__divmoddi4): New function.
718 * libgcc2.h (__divmoddi4): Declare.
719 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
722 2016-10-24 Florian Weimer <fweimer@redhat.com>
725 * unwind-c.c: Include auto-target.h.
727 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
729 * config/pa/pa64-hpux-lib.h: New file.
730 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
731 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
732 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
735 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
737 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
739 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
741 * config/xtensa/t-windowed (LIB2ADDEH): Use
742 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
745 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
747 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
748 __ieee754_sqrt): New functions.
749 (__divdf3): Add implementation with new FPU instructions under
750 #if XCHAL_HAVE_DFP_DIV.
751 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
752 __ieee754_sqrtf): New functions.
753 (__divsf3): Add implementation with new FPU instructions under
754 #if XCHAL_HAVE_FP_DIV.
755 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
756 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
758 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
760 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
762 * config/tilepro/atomic.c: Likewise and stop casting model to
765 2016-10-10 Joseph Myers <joseph@codesourcery.com>
768 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
771 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
773 * config.host: Add support for aarch64-*-freebsd*.
775 2016-10-05 Andreas Schwab <schwab@suse.de>
777 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
778 (.section .init_array): Don't call __do_jv_register_classes.
779 (.section .init): Likewise.
781 2016-10-04 Jakub Jelinek <jakub@redhat.com>
783 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
784 (__JCR_LIST__): Remove.
785 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
786 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
787 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
788 * config/ia64/crtend.S (__JCR_END__): Remove.
789 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
791 (__JCR_LIST__, __JCR_END__): Remove.
792 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
793 (__do_global_ctors_1): Likewise.
795 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
797 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
798 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
800 2016-09-27 Martin Liska <mliska@suse.cz>
803 PR gcov-profile/16855
804 PR gcov-profile/44779
805 * libgcov-driver.c (__gcov_init): Do not register a atexit
807 (__gcov_exit): Rename from gcov_exit.
808 * libgcov.h (__gcov_exit): Declare.
810 2016-09-27 Martin Liska <mliska@suse.cz>
813 * Makefile.in: Remove _gcov_merge_delta.
814 * libgcov-merge.c (void __gcov_merge_delta): Remove.
815 * libgcov-util.c (__gcov_delta_counter_op): Remove.
816 * libgcov.h: Remove declaration of __gcov_merge_delta.
818 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
820 * configure.ac: Do not create links, only substitute the filenames.
821 * configure: Regenerate.
822 * Makefile.in: Assign the substitution results to variables.
823 (LIBGCC_LINKS): Define.
824 (enable-execute-stack.c): New rule.
825 (unwind.h): Likewise.
826 (md-unwind-support.h): Likewise.
827 (sfp-machine.h): Likewise.
828 (gthr-default.h): Likewise.
829 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
830 unwind.h as prerequisite of install-unwind_h-forbuild.
832 2016-09-16 Jakub Jelinek <jakub@redhat.com>
835 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
836 is not the primary registry and atomics are available.
837 (any_objects_registered): New variable.
838 (__register_frame_info_bases, __register_frame_info_table_bases):
839 Atomically store 1 to any_objects_registered after registering first
841 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
843 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
846 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
847 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
850 (__divhc3): Likewise.
851 (__mulhc3): Likewise.
852 * libgcc2.c: Support _mulhc3 and _divhc3.
854 2016-09-07 Joseph Myers <joseph@codesourcery.com>
857 * libgcc2.c (NOTRUNC): Invert settings.
859 2016-09-06 Martin Liska <mliska@suse.cz>
861 PR gcov-profile/77378
862 PR gcov-profile/77466
863 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
864 conditionaly enable/disable *_atomic functions.
866 2016-08-26 Joseph Myers <joseph@codesourcery.com>
868 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
869 where not already enabled.
871 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
873 * config/mips/linux-unwind.h: Use sys/syscall.h.
875 2016-08-16 Joseph Myers <joseph@codesourcery.com>
878 * soft-fp/adddf3.c: Update from glibc.
879 * soft-fp/addsf3.c: Likewise.
880 * soft-fp/addtf3.c: Likewise.
881 * soft-fp/divdf3.c: Likewise.
882 * soft-fp/divsf3.c: Likewise.
883 * soft-fp/divtf3.c: Likewise.
884 * soft-fp/double.h: Likewise.
885 * soft-fp/eqdf2.c: Likewise.
886 * soft-fp/eqsf2.c: Likewise.
887 * soft-fp/eqtf2.c: Likewise.
888 * soft-fp/extenddftf2.c: Likewise.
889 * soft-fp/extended.h: Likewise.
890 * soft-fp/extendsfdf2.c: Likewise.
891 * soft-fp/extendsftf2.c: Likewise.
892 * soft-fp/extendxftf2.c: Likewise.
893 * soft-fp/fixdfdi.c: Likewise.
894 * soft-fp/fixdfsi.c: Likewise.
895 * soft-fp/fixdfti.c: Likewise.
896 * soft-fp/fixsfdi.c: Likewise.
897 * soft-fp/fixsfsi.c: Likewise.
898 * soft-fp/fixsfti.c: Likewise.
899 * soft-fp/fixtfdi.c: Likewise.
900 * soft-fp/fixtfsi.c: Likewise.
901 * soft-fp/fixtfti.c: Likewise.
902 * soft-fp/fixunsdfdi.c: Likewise.
903 * soft-fp/fixunsdfsi.c: Likewise.
904 * soft-fp/fixunsdfti.c: Likewise.
905 * soft-fp/fixunssfdi.c: Likewise.
906 * soft-fp/fixunssfsi.c: Likewise.
907 * soft-fp/fixunssfti.c: Likewise.
908 * soft-fp/fixunstfdi.c: Likewise.
909 * soft-fp/fixunstfsi.c: Likewise.
910 * soft-fp/fixunstfti.c: Likewise.
911 * soft-fp/floatdidf.c: Likewise.
912 * soft-fp/floatdisf.c: Likewise.
913 * soft-fp/floatditf.c: Likewise.
914 * soft-fp/floatsidf.c: Likewise.
915 * soft-fp/floatsisf.c: Likewise.
916 * soft-fp/floatsitf.c: Likewise.
917 * soft-fp/floattidf.c: Likewise.
918 * soft-fp/floattisf.c: Likewise.
919 * soft-fp/floattitf.c: Likewise.
920 * soft-fp/floatundidf.c: Likewise.
921 * soft-fp/floatundisf.c: Likewise.
922 * soft-fp/floatunditf.c: Likewise.
923 * soft-fp/floatunsidf.c: Likewise.
924 * soft-fp/floatunsisf.c: Likewise.
925 * soft-fp/floatunsitf.c: Likewise.
926 * soft-fp/floatuntidf.c: Likewise.
927 * soft-fp/floatuntisf.c: Likewise.
928 * soft-fp/floatuntitf.c: Likewise.
929 * soft-fp/gedf2.c: Likewise.
930 * soft-fp/gesf2.c: Likewise.
931 * soft-fp/getf2.c: Likewise.
932 * soft-fp/ledf2.c: Likewise.
933 * soft-fp/lesf2.c: Likewise.
934 * soft-fp/letf2.c: Likewise.
935 * soft-fp/muldf3.c: Likewise.
936 * soft-fp/mulsf3.c: Likewise.
937 * soft-fp/multf3.c: Likewise.
938 * soft-fp/negdf2.c: Likewise.
939 * soft-fp/negsf2.c: Likewise.
940 * soft-fp/negtf2.c: Likewise.
941 * soft-fp/op-1.h: Likewise.
942 * soft-fp/op-2.h: Likewise.
943 * soft-fp/op-4.h: Likewise.
944 * soft-fp/op-8.h: Likewise.
945 * soft-fp/op-common.h: Likewise.
946 * soft-fp/quad.h: Likewise.
947 * soft-fp/single.h: Likewise.
948 * soft-fp/soft-fp.h: Likewise.
949 * soft-fp/subdf3.c: Likewise.
950 * soft-fp/subsf3.c: Likewise.
951 * soft-fp/subtf3.c: Likewise.
952 * soft-fp/truncdfsf2.c: Likewise.
953 * soft-fp/trunctfdf2.c: Likewise.
954 * soft-fp/trunctfsf2.c: Likewise.
955 * soft-fp/trunctfxf2.c: Likewise.
956 * soft-fp/unorddf2.c: Likewise.
957 * soft-fp/unordsf2.c: Likewise.
958 * soft-fp/unordtf2.c: Likewise.
960 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
962 PR gcov-profile/67097
963 * libgcov-util.c (gcov_profile_merge): Skip missing files.
965 2016-08-10 Martin Liska <mliska@suse.cz>
967 PR gcov-profile/58306
968 * Makefile.in: New functions (modules) are added.
969 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
971 (__gcov_pow2_profiler_atomic): New function.
972 (__gcov_one_value_profiler_body): New argument is instroduced.
973 (__gcov_one_value_profiler): Call with the new argument.
974 (__gcov_one_value_profiler_atomic): Likewise.
975 (__gcov_indirect_call_profiler_v2): Likewise.
976 (__gcov_time_profiler_atomic): New function.
977 (__gcov_average_profiler_atomic): Likewise.
978 (__gcov_ior_profiler_atomic): Likewise.
979 * libgcov.h: Declare the aforementioned functions.
981 2016-08-09 Martin Liska <mliska@suse.cz>
983 * libgcov-util.c: Fix typo and GNU coding style.
985 2016-08-09 Martin Liska <mliska@suse.cz>
987 * Makefile.in: Remove __gcov_indirect_call_profiler.
988 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
990 * libgcov.h: And the declaration of the function.
992 2016-08-09 Martin Liska <mliska@suse.cz>
994 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
997 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
999 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1000 * config/rs6000/_mulkc3.c: Likewise.
1002 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
1004 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1005 zero_reg as previous call to __umulhisi3 already cleared it.
1007 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
1010 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1012 2016-07-19 Nick Clifton <nickc@redhat.com>
1014 * config.host (m32r): Add m32r/t-m32r to tmake_file.
1015 Add crtinit.o and crtfini.o to extra_parts.
1017 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1019 * config/rs6000/_divkc3.c: New.
1020 * config/rs6000/_mulkc3.c: New.
1021 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1023 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1026 2016-07-11 Hale Wang <hale.wang@arm.com>
1027 Andre Vieira <andre.simoesdiasvieira@arm.com>
1029 * config/arm/lib1funcs.S: Add new wrapper.
1031 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1033 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1035 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1037 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1038 and ARMv5t* rather than for a fixed list of architectures.
1040 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1042 * config/arm/bpabi-v6m.S: Clarify what architectures is the
1043 implementation suitable for.
1044 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1045 for all Thumb-1 only targets.
1046 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1047 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1050 (ARM_FUNC_ALIAS): Likewise.
1051 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1054 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1057 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1058 __ARM_ARCH_6M__ in guard for checking whether it is defined.
1059 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1060 __ARM_ARCH_6M__ and add comment to indicate the connection between
1061 this condition and the one in gcc/config/arm/elf.h.
1062 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1063 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1064 * config/arm/t-softfp: Likewise.
1066 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1068 * libgcc2.c (SYMBOL__MAIN): Remove checks for
1069 CTOR_LISTS_DEFINED_EXTERNALLY.
1071 2016-06-28 Walter Lee <walt@tilera.com>
1073 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
1075 (SPR_CMPEXCH_VALUE): Define for tilegx.
1076 (__NR_FAST_cmpxchg): Define for tilepro.
1077 (__NR_FAST_atomic_update): Define for tilepro.
1078 (__NR_FAST_cmpxchg64): Define for tilepro.
1080 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
1082 * config.host: Add suport for arm*-*-phoenix* targets.
1084 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1086 * config.host: Remove support for mep-*.
1087 * config/mep/lib1funcs.S: Remove.
1088 * config/mep/lib2funcs.c: Remove.
1089 * config/mep/t-mep: Remove.
1090 * config/mep/tramp.c: Remove.
1092 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1094 * config.host: Remove support for avr-rtems.
1095 * config/avr/t-rtems: Remove.
1097 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1099 * config.host: Remove m32r-rtems support.
1101 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1103 * config.host: Remove h8300-rtems support.
1105 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1107 * config.host: Remove support for knetbsd.
1109 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1111 * config.host: Remove support for openbsd 2 and 3.
1113 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1115 * config.host: Remove interix support.
1116 * config/i386/t-interix: Remove.
1118 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
1120 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
1121 least-significant bit in function pointer for fixup.
1123 2016-06-05 Aaron Conole <aconole@redhat.com>
1124 Nathan Sidwell <nathan@acm.org>
1127 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
1128 (get_gcov_error_file): Check __gcov_error_file before trying to
1130 (gcov_error): Always use get_gcov_error_file.
1132 2016-06-02 Aaron Conole <aconole@redhat.com>
1134 * libgcov-driver-system.c (__gcov_error_file): New.
1135 (get_gcov_error_file): New.
1136 (gcov_error): Use and set __gcov_error_file.
1137 (gcov_error_exit): New.
1138 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
1140 2016-05-26 Nathan Sidwell <nathan@acm.org>
1142 * config/nvptx/free.asm: Delete.
1143 * config/nvptx/malloc.asm: Delete.
1144 * config/nvptx/realloc.c: Delete.
1147 2016-05-25 Nathan Sidwell <nathan@acm.org>
1149 * config/nvptx/crt0.s: Delete.
1150 * config/nvptx/crt0.c: New.
1153 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
1155 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
1156 dw2/seh configuration.
1157 [x86_64-*-mingw*]: Likewise.
1159 2016-05-10 Joel Sherrill <joel@rtems.org>
1162 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
1163 targets so the same extra_parts are built. Also have tmake_file add
1164 on to its value rather than override.
1166 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
1168 * config.host: Remove SH5 support.
1169 * configure: Likewise.
1171 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
1173 * config/sh/crt1.S: Remove SH5 support.
1174 * config/sh/crti.S: Likewise.
1175 * config/sh/crtn.S: Likewise.
1176 * config/sh/lib1funcs-4-300.S: Likewise.
1177 * config/sh/lib1funcs-Os-4-200.S: Likewise.
1178 * config/sh/lib1funcs.S: Likewise.
1179 * config/sh/linux-unwind.h: Likewise.
1180 * config/sh/t-sh64: Delete.
1182 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
1184 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
1186 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
1187 Joern Rennecke <joern.rennecke@embecosm.com>
1189 * config/arc/crttls.S: New file.
1190 * config/arc/t-arc: New rule.
1191 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
1193 2016-04-25 Nick Clifton <nickc@redhat.com>
1195 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
1196 (__mspabi_cmpd): Likewise.
1197 * config/msp430/floathidf.c (__floathidf): Likewise.
1198 * config/msp430/floathisf.c (__floathisf): Likewise
1199 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
1200 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
1201 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
1203 (__ashrsi3): Likewise.
1205 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
1207 * config/m68k/linux-atomic.c: Do not include unistd.h
1209 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
1211 * config/arm/ieee754-df.S: Fix typos in comments.
1213 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
1216 * configure.ac (powerpc*-*-linux*): Rework tests to build
1217 __float128 emulation routines to not depend on using #pragma GCC
1218 target to enable -mfloat128.
1219 * configure: Regnerate.
1221 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
1224 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
1225 __MINGW32__ is defined.
1227 2016-03-28 James Bowman <james.bowman@ftdichip.com>
1229 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
1231 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
1234 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
1235 built with an assembler that does not support ISA 3.0
1236 instructions, rename __extendkftf2_sw to __extendkftf2.
1238 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1241 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
1242 call-clobbered registers.
1243 (internal_mcount): Remove __i386__ handling.
1245 2016-02-26 Joel Sherrill <joel@rtems.org>
1247 * config.host: Add x86_64-*-rtems*.
1249 2016-02-26 Joel Sherrill <joel@rtems.org>
1251 * libgcc/config.host: Add aarch64-*-rtems*.
1253 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1254 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1256 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
1257 union of u64 and double.
1258 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
1259 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
1261 (FP_ROUNDMODE): Update the usage of _fpscr.
1263 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
1266 * Makefile.in (crtoffloadtable$(objext)): New rule.
1267 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
1268 enable_offload_targets is not empty.
1269 * configure: Regenerate.
1270 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
1273 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
1275 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
1276 .literal_position before the function.
1277 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
1280 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
1282 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
1283 * config/s390/morestack.S: New file.
1284 * config/s390/t-stack-s390: New file.
1285 * generic-morestack.c (__splitstack_find): Add s390-specific code.
1287 2016-02-12 Walter Lee <walt@tilera.com>
1289 * config.host (tilegx*-*-linux*): remove ti from
1290 softfp_int_modes for 32-bit configs.
1292 2016-02-10 Ian Lance Taylor <iant@google.com>
1295 * config/i386/morestack.S (__stack_split_initialize): Align
1298 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
1301 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
1302 __FLOAT128__ to compile only for __float128 capable targets.
1304 2016-01-25 Jakub Jelinek <jakub@redhat.com>
1307 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
1308 instead of ___NO_FPRS__.
1310 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
1311 Steven Munroe <munroesj@linux.vnet.ibm.com>
1312 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
1314 * config/rs6000/float128-sed: New files to convert TF names to KF
1315 names for PowerPC IEEE 128-bit floating point support.
1316 * config/rs6000/float128-sed-hw: Likewise.
1318 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1319 floating point hardware support.
1321 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1322 128-bit floating point software emulation or use ISA 3.0 hardware
1323 support if it is available.
1325 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1328 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
1329 floating point to IBM extended double.
1331 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
1332 double to IEEE 128-bit floating point.
1334 * config/rs6000/t-float128: New Makefile fragments to enable
1335 building __float128 emulation support.
1336 * config/rs6000/t-float128-hw: Likewise.
1338 * config/rs6000/sfp-exceptions.c: New file to provide exception
1339 support for IEEE 128-bit floating point.
1341 * config/rs6000/floattikf.c: New files for converting between IEEE
1342 128-bit floating point and signed/unsigned 128-bit integers.
1343 * config/rs6000/fixunskfti.c: Likewise.
1344 * config/rs6000/fixkfti.c: Likewise.
1345 * config/rs6000/floatuntikf.c: Likewise.
1347 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1348 when building on 64-bit systems, or when VSX is enabled.
1349 (_FP_W_TYPE): Likewise.
1350 (_FP_WS_TYPE): Likewise.
1351 (_FP_I_TYPE): Likewise.
1352 (TItype): Define on 64-bit systems.
1353 (UTItype): Likewise.
1354 (TI_BITS): Likewise.
1355 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1356 (_FP_MUL_MEAT_Q): Likewise.
1357 (_FP_DIV_MEAT_D): Likewise.
1358 (_FP_DIV_MEAT_Q): Likewise.
1359 (_FP_NANFRAC_D): Likewise.
1360 (_FP_NANFRAC_Q): Likewise.
1361 (ISA_BIT): Add exception support if we are being compiled on a
1362 machine with hardware floating point support to build the IEEE
1363 128-bit emulation functions.
1364 (FP_EX_INVALID): Likewise.
1365 (FP_EX_OVERFLOW): Likewise.
1366 (FP_EX_UNDERFLOW): Likewise.
1367 (FP_EX_DIVZERO): Likewise.
1368 (FP_EX_INEXACT): Likewise.
1369 (FP_EX_ALL): Likewise.
1370 (__sfp_handle_exceptions): Likewise.
1371 (FP_HANDLE_EXCEPTIONS): Likewise.
1372 (FP_RND_NEAREST): Likewise.
1373 (FP_RND_ZERO): Likewise.
1374 (FP_RND_PINF): Likewise.
1375 (FP_RND_MINF): Likewise.
1376 (FP_RND_MASK): Likewise.
1377 (_FP_DECL_EX): Likewise.
1378 (FP_INIT_ROUNDMODE): Likewise.
1379 (FP_ROUNDMODE): Likewise.
1381 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1382 VSX code, enable IEEE 128-bit floating point. If the compiler can
1383 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
1384 floating point hardware instructions and it supports declaring
1385 functions with the ifunc attribute, enable ifunc functions to
1386 switch between software and hardware support.
1387 * configure.ac (powerpc*-*-linux*): Likewise.
1388 * configure: Regenerate.
1390 2016-01-15 Nick Clifton <nickc@redhat.com>
1392 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
1393 dependency as the source file to be compiled.
1394 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
1395 (lib2hw_mul_f5.o): Likewise.
1397 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
1399 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
1400 * libgcc/config/rs6000/fixkfti.c: Likewise.
1401 * libgcc/config/rs6000/fixunskfti.c: Likewise.
1402 * libgcc/config/rs6000/float128-hw.c: Likewise.
1403 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
1404 * libgcc/config/rs6000/float128-sed: Likewise.
1405 * libgcc/config/rs6000/floattikf.c: Likewise.
1406 * libgcc/config/rs6000/floatuntikf.c: Likewise.
1407 * libgcc/config/rs6000/quad-float128.h: Likewise.
1408 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
1409 * libgcc/config/rs6000/sfp-machine.h: Likewise.
1410 * libgcc/config/rs6000/t-float128: Likewise.
1411 * libgcc/config/rs6000/t-float128-hw: Likewise.
1412 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
1413 * libgcc/config.host: Likewise.
1414 * libgcc/configure: Likewise.
1415 * libgcc/configure.ac: Likewise.
1417 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
1418 Steven Munroe <munroesj@linux.vnet.ibm.com>
1419 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
1421 * config/rs6000/sfp-exceptions.c: New file to provide exception
1422 support for IEEE 128-bit floating point.
1424 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1425 floating point hardware support.
1427 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
1429 * config/rs6000/fixunskfti.c: Likewise.
1430 * config/rs6000/fixkfti.c: Likewise.
1431 * config/rs6000/floatuntikf.c: Likewise.
1432 * config/rs6000/extendkftf2-sw.c: Likewise.
1433 * config/rs6000/trunctfkf2-sw.c: Likewise.
1435 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1436 128-bit floating point software emulation or use ISA 3.0 hardware
1437 support if it is available.
1439 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1442 * config/rs6000/t-float128: New Makefile fragments to enable
1443 building __float128 emulation support.
1444 * config/rs6000/t-float128-hw: Likewise.
1446 * config/rs6000/float128-sed: New file to convert TF names to KF
1447 names for PowerPC IEEE 128-bit floating point support.
1449 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1450 when building on 64-bit systems, or when VSX is enabled.
1451 (_FP_W_TYPE): Likewise.
1452 (_FP_WS_TYPE): Likewise.
1453 (_FP_I_TYPE): Likewise.
1454 (TItype): Define on 64-bit systems.
1455 (UTItype): Likewise.
1456 (TI_BITS): Likewise.
1457 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1458 (_FP_MUL_MEAT_Q): Likewise.
1459 (_FP_DIV_MEAT_D): Likewise.
1460 (_FP_DIV_MEAT_Q): Likewise.
1461 (_FP_NANFRAC_D): Likewise.
1462 (_FP_NANFRAC_Q): Likewise.
1463 (ISA_BIT): Add exception support if we are being compiled on a
1464 machine with hardware floating point support to build the IEEE
1465 128-bit emulation functions.
1466 (FP_EX_INVALID): Likewise.
1467 (FP_EX_OVERFLOW): Likewise.
1468 (FP_EX_UNDERFLOW): Likewise.
1469 (FP_EX_DIVZERO): Likewise.
1470 (FP_EX_INEXACT): Likewise.
1471 (FP_EX_ALL): Likewise.
1472 (__sfp_handle_exceptions): Likewise.
1473 (FP_HANDLE_EXCEPTIONS): Likewise.
1474 (FP_RND_NEAREST): Likewise.
1475 (FP_RND_ZERO): Likewise.
1476 (FP_RND_PINF): Likewise.
1477 (FP_RND_MINF): Likewise.
1478 (FP_RND_MASK): Likewise.
1479 (_FP_DECL_EX): Likewise.
1480 (FP_INIT_ROUNDMODE): Likewise.
1481 (FP_ROUNDMODE): Likewise.
1483 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
1484 compiler can do __float128.
1485 * configure: Regenerate.
1487 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1488 VSX code, enable IEEE 128-bit floating point.
1490 2016-01-05 Olivier Hainque <hainque@adacore.com>
1492 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
1495 2016-01-04 Jakub Jelinek <jakub@redhat.com>
1497 Update copyright years.
1499 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
1501 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
1504 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
1506 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
1507 instead of abort to avoid dependency on stdlib.h.
1509 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
1511 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
1512 to initialize call to __dl_fixup once.
1514 2015-12-04 Nick Clifton <nickc@redhat.com>
1516 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
1517 Allow for the second argument being negative.
1518 * config.host (extra_parts): Define for MSP430. Create separate
1519 libraries for each of the hardware multiply formats.
1520 * config/msp430/lib2hw_mul.S: Build only the multiply routines
1522 * config/msp430/lib2mul.c: Likewise.
1523 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
1524 Add rules to build hardware multiply libraries.
1525 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
1526 __mspabi_divul function.
1527 (__mspabi_divllu): New stub function.
1529 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
1531 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
1532 fixup values if saved GOT address doesn't match runtime address.
1533 (fixup_branch_offset): Reorder list.
1535 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1537 * Makefile.in (VTV_CFLAGS): New variable.
1538 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
1539 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
1540 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1541 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
1542 to extra_parts if $enable_vtable_verify = yes.
1544 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
1547 * config/arm/linux-atomic-64bit.c (__write): Rename to...
1548 (write): ...this and fix the return type.
1550 2015-11-19 DJ Delorie <dj@redhat.com>
1552 * config/msp430/lib2hw_mul.S: Fix alignment.
1554 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
1556 * config/nvptx/reduction.c: New.
1557 * config/nvptx/t-nvptx (LIB2ADD): Add it.
1559 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
1561 * config/rs6000/on_exit.c: New file.
1562 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
1563 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
1565 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
1567 * config/arc/dp-hack.h: Add support for ARCHS.
1568 * config/arc/ieee-754/divdf3.S: Likewise.
1569 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
1570 * config/arc/ieee-754/muldf3.S: Likewise.
1571 * config/arc/ieee-754/mulsf3.S: Likewise
1572 * config/arc/lib1funcs.S: Likewise
1573 * config/arc/gmon/dcache_linesz.S: Don't read the build register
1575 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
1577 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
1578 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
1581 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1583 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
1585 * config/ia64/crtend.S: Likewise.
1587 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1589 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
1590 __CHAR_BIT__ instead of BITS_PER_UNIT.
1591 * fixed-bit.h: Likewise.
1592 * fp-bit.h: Likewise.
1593 * libgcc2.c (__popcountSI2): Likewise.
1594 (__popcountDI2): Likewise.
1595 * libgcc2.h: Likewise.
1596 * libgcov.h: Likewise.
1598 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
1600 * config/rs6000/atexit.c: New file.
1601 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
1602 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
1603 * config/rs6000/cxa_finalize.c
1604 (catomic_compare_and_exchange_bool_acq): Negate return value.
1606 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
1608 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
1609 (processor_subtypes): Add znver1.
1610 (get_amd_cpu): Detect znver1.
1612 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
1614 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
1615 Include crtfastmath.o.
1617 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
1620 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1622 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
1624 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
1625 * config/rl78/divmodsi.S: Update return register to r8.
1626 * config/rl78/divmodhi.S: Update return register to r8,r9.
1627 Branch to main_loop_done_himode to pop registers before return.
1629 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
1631 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
1632 (__cpu_indicator_init): Fix model selection for AMD CPUs.
1634 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
1636 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
1638 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
1640 * config.host (xtensa*-*-uclinux*): New configuration.
1642 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
1644 * config/i386/cpuinfo.c (processor_features): Add
1645 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
1647 2015-09-28 Joseph Myers <joseph@codesourcery.com>
1649 * soft-fp/adddf3.c: Update from glibc.
1650 * soft-fp/addsf3.c: Likewise.
1651 * soft-fp/addtf3.c: Likewise.
1652 * soft-fp/divdf3.c: Likewise.
1653 * soft-fp/divsf3.c: Likewise.
1654 * soft-fp/divtf3.c: Likewise.
1655 * soft-fp/double.h: Likewise.
1656 * soft-fp/eqdf2.c: Likewise.
1657 * soft-fp/eqsf2.c: Likewise.
1658 * soft-fp/eqtf2.c: Likewise.
1659 * soft-fp/extenddftf2.c: Likewise.
1660 * soft-fp/extended.h: Likewise.
1661 * soft-fp/extendsfdf2.c: Likewise.
1662 * soft-fp/extendsftf2.c: Likewise.
1663 * soft-fp/extendxftf2.c: Likewise.
1664 * soft-fp/fixdfdi.c: Likewise.
1665 * soft-fp/fixdfsi.c: Likewise.
1666 * soft-fp/fixdfti.c: Likewise.
1667 * soft-fp/fixsfdi.c: Likewise.
1668 * soft-fp/fixsfsi.c: Likewise.
1669 * soft-fp/fixsfti.c: Likewise.
1670 * soft-fp/fixtfdi.c: Likewise.
1671 * soft-fp/fixtfsi.c: Likewise.
1672 * soft-fp/fixtfti.c: Likewise.
1673 * soft-fp/fixunsdfdi.c: Likewise.
1674 * soft-fp/fixunsdfsi.c: Likewise.
1675 * soft-fp/fixunsdfti.c: Likewise.
1676 * soft-fp/fixunssfdi.c: Likewise.
1677 * soft-fp/fixunssfsi.c: Likewise.
1678 * soft-fp/fixunssfti.c: Likewise.
1679 * soft-fp/fixunstfdi.c: Likewise.
1680 * soft-fp/fixunstfsi.c: Likewise.
1681 * soft-fp/fixunstfti.c: Likewise.
1682 * soft-fp/floatdidf.c: Likewise.
1683 * soft-fp/floatdisf.c: Likewise.
1684 * soft-fp/floatditf.c: Likewise.
1685 * soft-fp/floatsidf.c: Likewise.
1686 * soft-fp/floatsisf.c: Likewise.
1687 * soft-fp/floatsitf.c: Likewise.
1688 * soft-fp/floattidf.c: Likewise.
1689 * soft-fp/floattisf.c: Likewise.
1690 * soft-fp/floattitf.c: Likewise.
1691 * soft-fp/floatundidf.c: Likewise.
1692 * soft-fp/floatundisf.c: Likewise.
1693 * soft-fp/floatunditf.c: Likewise.
1694 * soft-fp/floatunsidf.c: Likewise.
1695 * soft-fp/floatunsisf.c: Likewise.
1696 * soft-fp/floatunsitf.c: Likewise.
1697 * soft-fp/floatuntidf.c: Likewise.
1698 * soft-fp/floatuntisf.c: Likewise.
1699 * soft-fp/floatuntitf.c: Likewise.
1700 * soft-fp/gedf2.c: Likewise.
1701 * soft-fp/gesf2.c: Likewise.
1702 * soft-fp/getf2.c: Likewise.
1703 * soft-fp/ledf2.c: Likewise.
1704 * soft-fp/lesf2.c: Likewise.
1705 * soft-fp/letf2.c: Likewise.
1706 * soft-fp/muldf3.c: Likewise.
1707 * soft-fp/mulsf3.c: Likewise.
1708 * soft-fp/multf3.c: Likewise.
1709 * soft-fp/negdf2.c: Likewise.
1710 * soft-fp/negsf2.c: Likewise.
1711 * soft-fp/negtf2.c: Likewise.
1712 * soft-fp/op-1.h: Likewise.
1713 * soft-fp/op-2.h: Likewise.
1714 * soft-fp/op-4.h: Likewise.
1715 * soft-fp/op-8.h: Likewise.
1716 * soft-fp/op-common.h: Likewise.
1717 * soft-fp/quad.h: Likewise.
1718 * soft-fp/single.h: Likewise.
1719 * soft-fp/soft-fp.h: Likewise.
1720 * soft-fp/subdf3.c: Likewise.
1721 * soft-fp/subsf3.c: Likewise.
1722 * soft-fp/subtf3.c: Likewise.
1723 * soft-fp/truncdfsf2.c: Likewise.
1724 * soft-fp/trunctfdf2.c: Likewise.
1725 * soft-fp/trunctfsf2.c: Likewise.
1726 * soft-fp/trunctfxf2.c: Likewise.
1727 * soft-fp/unorddf2.c: Likewise.
1728 * soft-fp/unordsf2.c: Likewise.
1729 * soft-fp/unordtf2.c: Likewise.
1731 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
1734 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
1736 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1738 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1739 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
1740 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
1742 (internal_mcount): Likewise.
1743 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
1744 crt_compile, add CRTSTUFF_T_CFLAGS_S.
1746 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1748 * configure.ac (libgcc_cv_solaris_crts): New test.
1749 * configure: Regenerate.
1750 * config.in: Regenerate.
1751 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
1752 * config/gmon-sol2.c: Rename to ...
1753 * config/sol2/gmon.c: ... this.
1754 Include auto-target.h.
1755 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
1756 * config/t-sol2: Rename to ...
1757 * config/sol2/t-sol2: ... this.
1758 (gmon.o): Reflect renaming.
1759 (crtp.o, crtpg.o): New rules.
1760 * config.host (*-*-solaris2*): Reflect renaming.
1761 Use system CRTs if present.
1762 Remove default CRT case.
1764 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
1766 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
1767 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
1769 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
1770 (__sync_val_compare_and_swap_##WIDTH): Likewise.
1771 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
1772 (__sync_lock_test_and_set_##WIDTH): Likewise.
1773 (__sync_lock_release_##WIDTH): Likewise.
1774 (__sync_fetch_and_##OP##_4): Change result to match type of
1776 (__sync_##OP##_and_fetch_4): Likewise.
1777 (__sync_val_compare_and_swap_4): Likewise.
1778 (__sync_bool_compare_and_swap_4): likewise.
1779 (__sync_lock_test_and_set_4): Likewise.
1780 (__sync_lock_release_4): Likewise.
1781 (FETCH_AND_OP_2): Add long long variants.
1782 (OP_AND_FETCH_2): Likewise.
1783 (COMPARE_AND_SWAP_2 ): Likewise.
1784 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1785 (SYNC_LOCK_RELEASE_2): Likewise.
1786 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
1788 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
1790 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
1791 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
1792 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
1793 (get_available_features): Habdle new features.
1795 2015-09-21 James Bowman <james.bowman@ftdichip.com>
1797 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
1798 memory layout. Deal correctly with BSS region larger than 32K.
1799 Handle a watchdog reset like a power-on reset. Clean up unused
1802 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
1803 David Edelsohn <dje.gcc@gmail.com>
1805 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
1806 * config/rs6000/crtdbase.S: New file.
1807 * config/rs6000/t-aix-cxa: Build crtdbase.o.
1809 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
1811 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1812 Add support for call0 ABI.
1814 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
1816 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
1818 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
1820 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
1821 (__GTHREAD_HAS_COND): Likewise.
1822 (__gthread_t): Likewise.
1823 (__gthread_cond_t): Likewise.
1824 (__gthread_time_t): Likewise.
1825 (__GTHREAD_MUTEX_INIT): Likewise.
1826 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
1827 (__GTHREAD_COND_INIT): Likewise.
1828 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
1829 (__GTHREAD_TIME_INIT): Likewise.
1830 (__gthread_create): Likewise.
1831 (__gthread_join): Likewise.
1832 (__gthread_detach): Likewise.
1833 (__gthread_equal): Likewise.
1834 (__gthread_self): Likewise.
1835 (__gthread_yield): Likewise.
1836 (__gthread_cond_broadcast): Likewise.
1837 (__gthread_cond_signal): Likewise.
1838 (__gthread_cond_wait): Likewise.
1839 (__gthread_cond_timedwait): Likewise.
1840 (__gthread_cond_wait_recursive): Likewise.
1841 (__gthread_cond_destroy): Likewise.
1842 (rtems_gxx_once): Delete.
1843 (rtems_gxx_key_create): Likewise.
1844 (rtems_gxx_key_delete): Likewise.
1845 (rtems_gxx_getspecific): Likewise.
1846 (rtems_gxx_setspecific): Likewise.
1847 (rtems_gxx_mutex_init): Likewise.
1848 (rtems_gxx_mutex_destroy): Likewise.
1849 (rtems_gxx_mutex_lock): Likewise.
1850 (rtems_gxx_mutex_trylock): Likewise.
1851 (rtems_gxx_mutex_unlock): Likewise.
1852 (rtems_gxx_recursive_mutex_init): Likewise.
1853 (rtems_gxx_recursive_mutex_lock): Likewise.
1854 (rtems_gxx_recursive_mutex_trylock): Likewise.
1855 (rtems_gxx_recursive_mutex_unlock): Likewise.
1856 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
1857 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
1858 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
1859 (__gthread_once): Likewise.
1860 (__gthread_key_create): Likewise.
1861 (__gthread_key_delete): Likewise.
1862 (__gthread_getspecific): Likewise.
1863 (__gthread_setspecific): Likewise.
1864 (__gthread_key_t): Use <pthread.h> type.
1865 (__gthread_once_t): Likewise
1866 (__gthread_mutex_t): Use <sys/lock.h> type.
1867 (__gthread_recursive_mutex_t): Likewise
1868 (__gthread_mutex_lock): Use <sys/lock.h> function.
1869 (__gthread_mutex_trylock): Likewise.
1870 (__gthread_mutex_timedlock): Likewise.
1871 (__gthread_mutex_unlock): Likewise.
1872 (__gthread_mutex_destroy): Likewise.
1873 (__gthread_recursive_mutex_lock): Likewise.
1874 (__gthread_recursive_mutex_trylock): Likewise.
1875 (__gthread_recursive_mutex_timedlock): Likewise.
1876 (__gthread_recursive_mutex_unlock): Likewise.
1877 (__gthread_recursive_mutex_destroy): Likewise.
1879 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1881 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
1882 context->sp instead of context->cfa.
1884 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1886 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
1887 with unwind-dw2-fde-dip.
1889 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1891 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
1892 CALL12 followed by series of ENTRY to spill windowed registers.
1893 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
1894 instead of making linux spill syscall.
1896 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
1898 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
1899 (get_intel_cpu): Likewise.
1901 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
1903 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
1904 (get_intel_cpu): Add Knights Landing support.
1906 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
1909 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
1910 (get_available_features): Handle FEATURE_PCLMUL.
1912 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
1914 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
1917 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
1920 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
1921 (get_available_features): Handle FEATURE_AES.
1923 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
1925 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
1926 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
1928 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
1930 * offloadstuff.c: Constify host data.
1932 2015-07-17 Jan Beulich <jbeulich@suse.com>
1934 * config/t-softfp: Split up "else ifneq".
1936 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
1937 Cesar Philippidis <cesar@codesourcery.com>
1938 Chung-Lin Tang <cltang@codesourcery.com>
1940 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
1941 for __nios2_arch__ level.
1943 2015-07-13 John Marino <gnugcc@marino.st>
1945 * config/i386/t-dragonfly: New.
1947 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
1949 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
1950 better match light-weight syscall argument order.
1951 (__kernel_cmpxchg2): Likewise.
1954 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
1956 * config.host: Support i[34567]86-*-elfiamcu target.
1957 * config/t-softfp-sfdftf: New file.
1958 * config/i386/32/t-iamcu: Likewise.
1959 * configure: Regenerated.
1961 2015-06-23 James Lemke <jwlemke@codesourcery.com>
1964 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
1966 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
1968 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
1970 2015-05-27 John Marino <gnugcc@marino.st>
1972 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
1974 * config/i386/freebsd-unwind.h: New.
1976 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
1978 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
1979 i386/t-crtfm to tmake_file.
1980 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
1981 (set_fast_math): Use set_fast_math_sse for SSE targets.
1982 * config/i386/t-crtfm: Remove.
1984 2015-05-21 Alan Modra <amodra@gmail.com>
1987 * config/rs6000/morestack.S: Remove ".abiversion 1".
1989 2015-05-20 Alan Modra <amodra@gmail.com>
1991 * config/rs6000/morestack.S: New.
1992 * config/rs6000/t-stack-rs6000: New.
1993 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
1995 * generic-morestack.c: Don't build for powerpc 32-bit.
1997 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
1999 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2000 Remove useless endif/ifneq ($(enable_shared),yes) pair.
2002 2015-05-16 James Bowman <james.bowman@ftdichip.com>
2004 * config.host: FT32 target added.
2005 * config/ft32/*: New files for FT32 target.
2007 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
2009 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2011 * config/arm/ieee754-df.S: Add CFI directives.
2012 * config/arm/ieee754-sf.S: Add CFI directives.
2014 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2016 * configure.ac: Include config/sjlj.m4.
2017 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2018 * config.in: Regenerate.
2019 * configure: Likewise.
2020 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2022 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
2024 * libgcov-util.c: Add space between string literal and macro name.
2026 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
2027 Chris Jones <chrisj@nvidia.com>
2028 Joshua Conner <jconner@nvidia.com>
2030 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2031 (arm*-*-uclinux*): Likewise.
2032 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2033 * config/arm/crtfastmath.c: New file.
2035 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
2037 * Makefile.in (real_host_noncanonical): New variable.
2038 (libsubdir): Use it.
2039 * configure.ac (real_host_noncanonical): Compute. Remove special
2040 case for intelmicemul.
2041 * configure: Regenerate.
2043 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
2045 * config/frv/elf-lib.h: New file.
2046 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2047 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2050 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
2052 * config/frv/frvbengin.c: Do not include defaults.h
2053 * config/frv/frvend.c: Ditto.
2055 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
2057 * config.host: Add h8300-*-linux
2058 * config/h8300/t-linux: New file.
2059 * config/h8300/lib1funs.s: Change symbol prefix.
2060 * config/h8300/sfp-machine.h: 64bit double support.
2062 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
2063 Szabolcs Nagy <szabolcs.nagy@arm.com>
2065 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2066 Linux if target provides dl_iterate_phdr.
2068 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
2071 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2072 * config/i386/cpuinfo.c (__cpu_model): Initialize.
2073 (__cpu_indicator_init@GCC_4.8.0): New.
2074 (__cpu_model@GCC_4.8.0): Likewise.
2075 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
2078 2015-04-16 Nick Clifton <nickc@redhat.com>
2080 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
2081 and __modhi3 functions.
2082 * config/rl78/divmodso.S: Add G14 and G13 versions of the
2083 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
2085 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
2087 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
2088 do-while loop as macro body to avoid warnings.
2090 2015-04-10 Jakub Jelinek <jakub@redhat.com>
2091 Iain Sandoe <iain@codesourcery.com>
2094 * configure: Regenerate.
2096 2015-04-07 Jakub Jelinek <jakub@redhat.com>
2097 Iain Sandoe <iain@codesourcery.com>
2100 * configure: Regenerate.
2102 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
2104 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
2106 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
2108 Implement call0 ABI for xtensa
2109 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
2110 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
2111 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
2112 use ret in call0 ABI.
2113 * config/xtensa/t-windowed: New file.
2114 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
2115 * libgcc/configure: Regenerated.
2116 * libgcc/configure.ac: Check if xtensa target is configured for
2117 windowed ABI and thus needs to use custom unwind code.
2119 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
2122 * gthr-single.h: Use __unused__ attribute instead of unused.
2123 * config/gthr-vxworks.h: Likewise.
2124 * config/i386/gthr-win32.h: Likewise.
2126 2015-02-27 Kai Tietz <ktietz@redhat.com>
2129 * config.in: Regenerated.
2130 * configure: Likewise.
2131 * configure.ac (AC_HEADER_STDC): Added explicit.
2132 (AC_CHECK_HEADERS): Check for default headers plus
2134 * libgcov-util.c (gcov_read_profile_dir): Disable use
2135 of ftw-function, if header is not found.
2136 (ftw_read_file): Likewise.
2138 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
2141 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
2144 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
2146 * config/arm/bpabi.S (test_div_by_zero): Make label names
2147 consistent between thumb2 and arm mode cases. Separate the
2148 signed comparison on the high word of the numerator from the
2149 unsigned comparison on the low word.
2150 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
2153 2015-02-17 Joseph Myers <joseph@codesourcery.com>
2155 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
2157 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
2159 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
2161 PR gcov-profile/61889
2162 * libgcov-driver-system.c: undefine clashing macro for mkdir.
2164 2015-02-02 Nick Clifton <nickc@redhat.com>
2166 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
2167 rounding up the fraction.
2169 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
2171 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
2172 oldval and newval to const void *. Fix typo.
2173 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
2174 (FETCH_AND_OP_WORD): Likewise.
2175 (OP_AND_FETCH_WORD): Likewise.
2176 (COMPARE_AND_SWAP_2): Likewise.
2177 (__sync_val_compare_and_swap_4): Likewise.
2178 (__sync_lock_test_and_set_4): Likewise.
2179 (SYNC_LOCK_RELEASE_2): Likewise.
2180 Remove support for long long atomic operations.
2182 2015-01-27 Caroline Tice <cmtice@google.com>
2184 Committing VTV Cywin/Ming patch for Patrick Wollgast
2185 * Makefile.in: Move rules to build vtv_*.o out of the check
2186 for CUSTOM_CRTSTUFF.
2187 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
2188 i[34567]86-*-mingw*)
2189 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
2190 enable_vtable_verify.
2192 2015-01-27 Nick Clifton <nickc@redhat.com>
2194 * config/rl78/cmpsi2.S: Use function start and end macros.
2195 (__gcc_bcmp): New function.
2196 * config/rl78/lshrsi3.S: Use function start and end macros.
2197 * config/rl78/mulsi3.S: Add support for G10.
2198 (__mulqi3): New function for G10.
2199 * config/rl78/signbit.S: Use function start and end macros.
2200 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
2202 (LIB2FUNCS_EXCLUDE): Define.
2203 (LIB2FUNCS_ST): Define.
2204 * config/rl78/trampoline.S: Use function start and end macros.
2205 * config/rl78/vregs.h (START_FUNC): New macro.
2206 (START_ANOTHER_FUNC): New macro.
2207 (END_FUNC): New macro.
2208 (END_ANOTHER_FUNC): New macro.
2209 * config/rl78/bit-count.S: New file. Contains assembler
2210 implementations of the bit counting functions: ___clzhi2,
2211 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
2212 __paritysi2, __popcounthi2 and __popcountsi2.
2213 * config/rl78/fpbit-sf.S: New file. Contains assembler
2214 implementationas of the math functions: __negsf2, __cmpsf2,
2215 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
2216 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
2217 * config/rl78/fpmath-sf.S: New file. Contains assembler
2218 implementations of the math functions: __subsf3, __addsf3,
2219 __mulsf3 and __divsf3
2221 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2223 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
2224 Add i386/elf-lib.h to tm_file.
2225 * config/i386/elf-lib.h: Fix comment.
2226 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
2227 && __sun__ && __svr4__]: Remove workaround.
2229 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
2231 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
2233 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
2235 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
2237 * config/i386/cpuinfo.c (processor_subtypes): Add
2238 INTEL_COREI7_BROADWELL.
2239 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
2242 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
2244 * config/i386/elf-lib.h: New file.
2245 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
2246 Wrap definition in #ifdef __i386__.
2247 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2248 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
2249 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
2250 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
2253 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
2255 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
2256 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
2258 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
2260 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
2261 Update rt_sigframe format and address for current Nios II
2264 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2266 * config.host (arm*-*-freebsd*): Add new configuration for
2268 * config/arm/freebsd-atomic.c: New file.
2269 * config/arm/t-freebsd: Likewise.
2270 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
2271 'PC-relative indirect' OS's.
2273 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
2275 * config.host: Add Visium support.
2276 * config/visium: New directory.
2278 2015-01-05 Jakub Jelinek <jakub@redhat.com>
2280 Update copyright years.
2282 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
2284 * config.host: Support mipsisa32r6 and mipsisa64r6.
2285 * config/mips/mips16.S: Do not build for R6.
2287 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
2289 * config/sh/crt.h: New.
2290 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
2292 * config/sh/crt1.S: Likewise.
2294 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
2297 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
2298 func_ptr *dtor_list temporary variable to avoid "array subscript
2299 is above array bounds" warnings.
2301 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
2303 * Makefile.in (with_aix_soname): Define.
2304 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
2305 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
2306 * configure: Recreate.
2308 2014-12-05 Olivier Hainque <hainque@adacore.com>
2310 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
2311 now provided by defaults.h.
2313 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
2316 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
2317 whether it's defined.
2319 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
2321 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
2322 * config/i386/cpuinfo.c (get_available_features): Detect it.
2324 2014-11-27 Tony Wang <tony.wang@arm.com>
2326 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
2327 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
2328 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
2330 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
2332 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
2334 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
2336 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
2339 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
2340 John David Anglin <danglin@gcc.gnu.org>
2342 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
2343 (FETCH_AND_OP_2): New. Use for subword and double word operations.
2344 (OP_AND_FETCH_2): Likewise.
2345 (COMPARE_AND_SWAP_2): Likewise.
2346 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2347 (SYNC_LOCK_RELEASE_2): Likewise.
2348 (SUBWORD_SYNC_OP): Remove.
2349 (SUBWORD_VAL_CAS): Likewise.
2350 (SUBWORD_BOOL_CAS): Likewise.
2351 (FETCH_AND_OP_WORD): Update.
2352 Consistently use signed types.
2354 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
2355 Thomas Schwinge <thomas@codesourcery.com>
2356 Ilya Verbin <ilya.verbin@intel.com>
2357 Andrey Turetskiy <andrey.turetskiy@intel.com>
2359 * Makefile.in (crtoffloadbegin$(objext)): New rule.
2360 (crtoffloadend$(objext)): Likewise.
2361 * configure: Regenerate.
2362 * configure.ac (accel_dir_suffix): Compute new variable.
2363 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
2364 if enable_offload_targets is not empty.
2365 * offloadstuff.c: New file.
2367 2014-11-13 Nick Clifton <nickc@redhat.com>
2369 * config/rl78/divmodhi.S: Add support for the G10 architecture.
2370 Use START_FUNC and END_FUNC macros to enable linker garbage
2372 * config/rl78/divmodqi.S: Likewise.
2373 * config/rl78/divmodsi.S: Likewise.
2374 * config/rl78/mulsi3.S: Likewise.
2375 * config/rl78/lib2div.c: Remove G10 functions.
2376 * config/rl78/lib2muls.c: Likewise.
2377 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
2378 * config/rl78/vregs.h (START_FUNC): New macro.
2379 (END_FUNC): New macro.
2381 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
2383 * config/mips/mips16.S: Set .module when supported. Update O32
2384 FP64 calling convention and use for FPXX when possible. Add FPXX
2385 calling convention fallback case.
2387 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
2389 * config.host: Handle nvptx-*-*.
2390 * shared-object.mk (as-flags-$o): Define.
2391 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
2392 -xassembler-with-cpp.
2393 * static-object.mk: Identical changes.
2394 * config/nvptx/t-nvptx: New file.
2395 * config/nvptx/crt0.s: New file.
2396 * config/nvptx/free.asm: New file.
2397 * config/nvptx/malloc.asm: New file.
2398 * config/nvptx/realloc.c: New file.
2400 2014-10-30 Joseph Myers <joseph@codesourcery.com>
2402 * Makefile.in (libgcc.map.in): New target.
2403 (libgcc.map): Use libgcc.map.in.
2404 * config/t-softfp (softfp_compat): New variable to be set by
2406 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
2408 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
2410 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
2411 that use compat symbols and disable all code unless [SHARED].
2412 * config/t-softfp-compat: New file.
2413 * find-symver.awk: New file.
2414 * configure.ac (--with-glibc-version): New configure option.
2415 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
2416 * configure: Regenerate.
2417 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
2418 soft-float and e500.
2420 2014-10-29 Joseph Myers <joseph@codesourcery.com>
2422 * config/t-hardfp (hardfp_exclusions): Document new variable for
2424 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
2425 * config/t-softfp (softfp_extras): Document new variable for user
2427 (softfp_func_list): Add functions from $(softfp_extras).
2428 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
2429 * config.host (powerpc*-*-linux*): For e500v1, use
2430 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
2431 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
2432 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
2434 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
2436 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
2437 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
2438 memory read accesses are ok.
2440 2014-10-25 Joseph Myers <joseph@codesourcery.com>
2442 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
2443 * configure: Regenerate.
2444 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
2445 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
2446 of soft-fp for 32-bit classic hard float. Do not use
2447 t-softfp-excl for soft float.
2449 2014-10-22 Joseph Myers <joseph@codesourcery.com>
2451 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
2453 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
2456 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
2458 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
2459 introduced with 2014-10-21 trunk r216525.
2461 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
2462 Vidya Praveen <vidya.praveen@atmel.com>
2463 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
2464 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
2465 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
2467 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
2470 Updated library functions for AVRTINY arch.
2471 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
2472 Replaced occurrences of r0/r1 with tmp/zero reg macros.
2473 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
2474 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
2476 (__mulsi3_helper): Update stack, preserve callee saved regs and
2477 argument from stack. Restore callee save registers.
2478 (__mulpsi3): Likewise.
2479 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
2480 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
2481 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
2483 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
2484 (__do_copy_data): Added new definition for AVRTINY.
2485 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
2486 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
2487 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
2488 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
2489 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
2491 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
2494 Fix broken long multiplication on tiny arch.
2496 2014-10-09 Joseph Myers <joseph@codesourcery.com>
2498 * soft-fp/double.h: Update from glibc.
2499 * soft-fp/eqdf2.c: Likewise.
2500 * soft-fp/eqsf2.c: Likewise.
2501 * soft-fp/eqtf2.c: Likewise.
2502 * soft-fp/extenddftf2.c: Likewise.
2503 * soft-fp/extended.h: Likewise.
2504 * soft-fp/extendsfdf2.c: Likewise.
2505 * soft-fp/extendsftf2.c: Likewise.
2506 * soft-fp/extendxftf2.c: Likewise.
2507 * soft-fp/gedf2.c: Likewise.
2508 * soft-fp/gesf2.c: Likewise.
2509 * soft-fp/getf2.c: Likewise.
2510 * soft-fp/ledf2.c: Likewise.
2511 * soft-fp/lesf2.c: Likewise.
2512 * soft-fp/letf2.c: Likewise.
2513 * soft-fp/op-1.h: Likewise.
2514 * soft-fp/op-2.h: Likewise.
2515 * soft-fp/op-4.h: Likewise.
2516 * soft-fp/op-8.h: Likewise.
2517 * soft-fp/op-common.h: Likewise.
2518 * soft-fp/quad.h: Likewise.
2519 * soft-fp/single.h: Likewise.
2520 * soft-fp/soft-fp.h: Likewise.
2521 * soft-fp/unorddf2.c: Likewise.
2522 * soft-fp/unordsf2.c: Likewise.
2523 * soft-fp/unordtf2.c: Likewise.
2524 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
2525 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
2526 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
2527 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
2528 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
2529 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
2530 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
2531 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
2532 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
2533 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
2535 2014-10-08 Rong Xu <xur@google.com>
2537 * libgcov-util.c (read_gcda_file): Fix format.
2538 (find_match_gcov_info): Ditto.
2539 (calculate_2_entries): New.
2540 (compute_one_gcov): Ditto.
2541 (gcov_info_count_all_cold): Ditto.
2542 (gcov_info_count_all_zero): Ditto.
2543 (extract_file_basename): Ditto.
2544 (get_file_basename): Ditto.
2546 (matched_gcov_info): Ditto.
2547 (calculate_overlap): Ditto.
2548 (gcov_profile_overlap): Ditto.
2549 * libgcov-driver.c (compute_summary): Make
2550 it avavilable for external calls.
2552 2014-10-06 Rong Xu <xur@google.com>
2554 * Makefile.in: Ditto.
2555 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
2556 (gcov_sort_icall_topn_counter): Ditto.
2557 (gcov_sort_topn_counter_arrays): Ditto.
2558 (dump_one_gcov): Sort indirect_call topn counters.
2559 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
2561 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
2563 (__gcov_indirect_call_topn_profiler): New profiler function.
2564 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
2565 * libgcov.h: New decls.
2567 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
2569 * config.host: Remove support for score-*.
2571 2014-09-22 Joseph Myers <joseph@codesourcery.com>
2573 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2574 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
2575 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
2576 __LIBGCC_XF_MANT_DIG__.
2577 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
2578 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
2579 __LIBGCC_TF_MANT_DIG__.
2580 * libgcc2.c (NOTRUNC): Define in terms of
2581 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
2582 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2584 2014-09-22 Joseph Myers <joseph@codesourcery.com>
2587 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
2590 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
2592 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
2593 override USE_PT_GNU_EH_FRAME.
2594 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
2595 check USE_EH_FRAME_REGISTRY_ALWAYS against
2596 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
2597 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
2598 variable for substituted force_explicit_eh_registry.
2599 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
2600 * configure.ac (explicit-exception-frame-registration):
2602 * configure: Regenerate.
2604 2014-09-19 Olivier Hainque <hainque@adacore.com>
2606 * config.host (powerpc-wrs-vxworksmils): New configuration,
2609 2014-09-18 Joseph Myers <joseph@codesourcery.com>
2611 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
2613 2014-09-18 Joseph Myers <joseph@codesourcery.com>
2615 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
2616 bits not set bits as indicating trapping exceptions.
2618 2014-09-17 Nathan sidwell <nathan@acm.org>
2620 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
2621 (LIBGCOV_DRIVER): ... here.
2622 * libgcov-driver.c (gcov_master): New.
2623 (gcov_exit): Remove from master chain.
2624 (__gcov_init): Add to master chain if version compatible. Don't
2626 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
2627 (gcov_reset_int): Clear master chain, if compatible.
2628 (gcov_dump_int): New internal interface. Dump master chain, if
2630 (gcov_dump): Alias for gcov_dump_int.
2631 * libgcov.h (struct gcov_root): Add next and prev fields.
2632 (struct gcov_master): New struct.
2633 (__gcov_master): New.
2634 (gcov_dump_int): Declare.
2636 2014-09-17 Olivier Hainque <hainque@adacore.com>
2638 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
2639 and crtbegin.o + crtend.o to extra_parts.
2641 2014-09-12 Joseph Myers <joseph@codesourcery.com>
2643 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
2644 __LIBGCC_HAS_SF_MODE__.
2645 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2646 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2647 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2648 * config/libbid/bid_gcc_intrinsics.h
2649 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2650 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2651 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2652 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2653 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
2654 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2656 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
2659 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
2660 and R24 as needed. Make work for all devices and .text locations.
2661 (__do_global_ctors, __do_global_dtors): Use word addresses.
2662 (__tablejump__, __tablejump_elpm__): Remove functions.
2663 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
2665 (XICALL, XIJMP): New macros.
2667 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
2668 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2670 * config.host (aarch64*): Include crtfastmath.o and
2672 * config/aarch64/crtfastmath.c: New file.
2674 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
2676 * config.host: Remove picochip support.
2677 * config/picochip/adddi3.S: Remove.
2678 * config/picochip/ashlsi3.S: Remove.
2679 * config/picochip/ashlsi3.c: Remove.
2680 * config/picochip/ashrsi3.S: Remove.
2681 * config/picochip/ashrsi3.c: Remove.
2682 * config/picochip/clzsi2.S: Remove.
2683 * config/picochip/cmpsi2.S: Remove.
2684 * config/picochip/divmod15.S: Remove.
2685 * config/picochip/divmodhi4.S: Remove.
2686 * config/picochip/divmodsi4.S: Remove.
2687 * config/picochip/lib1funcs.S: Remove.
2688 * config/picochip/longjmp.S: Remove.
2689 * config/picochip/lshrsi3.S: Remove.
2690 * config/picochip/lshrsi3.c: Remove.
2691 * config/picochip/parityhi2.S: Remove.
2692 * config/picochip/popcounthi2.S: Remove.
2693 * config/picochip/setjmp.S: Remove.
2694 * config/picochip/subdi3.S: Remove.
2695 * config/picochip/t-picochip: Remove.
2696 * config/picochip/ucmpsi2.S: Remove.
2697 * config/picochip/udivmodhi4.S: Remove.
2698 * config/picochip/udivmodsi4.S: Remove.
2700 2014-09-08 Joseph Myers <joseph@codesourcery.com>
2702 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
2703 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
2704 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
2705 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
2706 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
2707 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
2708 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
2709 defined and LIBGCC2_HAS_DF_MODE is defined.
2710 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
2711 defined and LIBGCC2_HAS_XF_MODE is defined.
2712 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
2713 defined and LIBGCC2_HAS_TF_MODE is defined.
2715 2014-09-08 Joseph Myers <joseph@codesourcery.com>
2717 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
2718 and ROUND_TOWARDS_ZERO conditionals.
2720 2014-09-07 Nathan sidwell <nathan@acm.org>
2722 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
2723 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
2725 2014-09-05 Joseph Myers <joseph@codesourcery.com>
2727 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
2728 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2729 uses to __LIBGCC_STACK_POINTER_REGNUM__.
2730 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2731 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2732 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2733 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2734 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
2735 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
2736 (DWARF_FRAME_REGISTERS): Change all uses to
2737 __LIBGCC_DWARF_FRAME_REGISTERS__.
2738 (EH_RETURN_STACKADJ_RTX): Change all uses to
2739 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2740 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
2741 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
2742 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
2743 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
2744 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
2745 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
2746 to __LIBGCC_EH_FRAME_SECTION_NAME__.
2747 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
2748 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
2749 __LIBGCC_STACK_POINTER_REGNUM__.
2750 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2751 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2752 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2753 to __LIBGCC_STACK_POINTER_REGNUM__.
2754 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2755 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2756 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2757 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2758 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2759 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2760 (STACK_POINTER_REGNUM): Change all uses to
2761 __LIBGCC_STACK_POINTER_REGNUM__.
2762 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
2763 use to __LIBGCC_STACK_POINTER_REGNUM__.
2764 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2765 uses to __LIBGCC_STACK_POINTER_REGNUM__.
2766 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
2767 to __LIBGCC_DWARF_FRAME_REGISTERS__.
2768 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
2769 to __LIBGCC_DWARF_FRAME_REGISTERS__.
2770 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2771 to __LIBGCC_STACK_POINTER_REGNUM__.
2772 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
2773 Remove conditional definition.
2774 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
2775 __LIBGCC_TEXT_SECTION_ASM_OP__.
2776 (EH_FRAME_SECTION_NAME): Change all uses to
2777 __LIBGCC_EH_FRAME_SECTION_NAME__.
2778 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
2779 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
2780 (CTORS_SECTION_ASM_OP): Change all uses to
2781 __LIBGCC_CTORS_SECTION_ASM_OP__.
2782 (DTORS_SECTION_ASM_OP): Change all uses to
2783 __LIBGCC_DTORS_SECTION_ASM_OP__.
2784 (JCR_SECTION_NAME): Change all uses to
2785 __LIBGCC_JCR_SECTION_NAME__.
2786 (INIT_SECTION_ASM_OP): Change all uses to
2787 __LIBGCC_INIT_SECTION_ASM_OP__.
2788 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2789 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2790 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
2791 __LIBGCC_STACK_GROWS_DOWNWARD__.
2792 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
2793 __LIBGCC_INIT_SECTION_ASM_OP__.
2794 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2795 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2796 (EH_FRAME_SECTION_NAME): Change all uses to
2797 __LIBGCC_EH_FRAME_SECTION_NAME__.
2798 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
2799 definitions. Change all uses to
2800 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
2801 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
2802 __LIBGCC_STACK_GROWS_DOWNWARD__.
2803 (DWARF_FRAME_REGISTERS): Change all uses to
2804 __LIBGCC_DWARF_FRAME_REGISTERS__.
2805 (EH_RETURN_STACKADJ_RTX): Change all uses to
2806 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2807 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
2808 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
2809 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
2810 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
2811 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
2813 2014-09-02 Nathan sidwell <nathan@acm.org>
2815 * libgcov-interface.c (STRONG_ALIAS): New.
2816 (__gcov_flush): Call __gcov_reset_int.
2817 (__gcov_reset): Strong alias for ...
2818 (__gcov_reset_ing): ... this renamed hidden version.
2819 * libgcov.h (__gcov_reset_int): New declaration.
2821 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
2823 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
2825 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
2826 (__dso_handle): Define on Cygwin.
2827 * config/i386/t-cygming (crtbeginS.o): New rule.
2828 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
2830 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
2833 2014-08-13 Steve Ellcey <sellcey@mips.com>
2835 * crtstuff.c: Undef caddr_t.
2837 2014-08-12 Steve Ellcey <sellcey@mips.com>
2839 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
2841 2014-08-07 Nathan Sidwell <nathan@acm.org>
2843 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
2844 (LIBGCOV_DRIVER): ... to here.
2845 * libgcov.h (gcov_do_dump): New #define.
2846 (struct gcov_root): New.
2847 (__gcov_root): New declaration.
2848 (__gcov_dump_one): Declare.
2849 * libgcov-driver.c (gcov_list, gcov_dump_complete,
2850 run_accounted): Delete.
2851 (gcov_compute_histogram): Add LIST argument, adjust.
2852 (compute_summary): Adjust gcov_compute_histogram call.
2853 (gcov_do_dump): Not hidden, static in libgcov.
2854 (gcov_clear): Move to interface.c.
2855 (__gcov_dump_one): New, broken out of ...
2856 (gcov_exit): ... here. Make static.
2858 (__gcov_init): Adjust.
2859 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
2861 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
2862 (gcov_clear): Moved from driver.c. Add LIST argument.
2863 (__gcov_reset): Adjust for changed interfaces.
2864 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
2866 2014-08-04 Rohit <rohitarulraj@freescale.com>
2869 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
2870 based on change in SPE high register numbers and 3 HTM registers.
2872 2014-08-01 Nathan Sidwell <nathan@acm.org>
2874 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
2875 LIBGCOV_INTERFACE): Reformat.
2876 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
2878 * libgcov-interface.c: Reformat some comments.
2879 (__gcov_flush_mx): Add declaration. Tidy up definition.
2881 2014-07-31 Alan Modra <amodra@gmail.com>
2882 Peter Bergner <bergner@vnet.ibm.com>
2884 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
2885 (pack_ldouble): New function.
2886 (__gcc_qadd): Use it.
2887 (__gcc_qmul): Likewise.
2888 (__gcc_qdiv): Likewise.
2889 (__gcc_qneg): Likewise.
2890 (__gcc_stoq): Likewise.
2891 (__gcc_dtoq): Likewise.
2893 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
2895 * config/s390/tpf-unwind.h: Include <stdbool.h>.
2896 (__tpf_eh_return): Add original return address as second parameter.
2897 Handle cases where unwinder routines were called directly, instead
2898 of from within the C++ library.
2900 2014-07-29 Nathan Sidwell <nathan@acm.org>
2902 * libgcov.h: Move renaming of entry points to lib gcov specific
2904 (gcov_do_dump): New rename.
2905 (gcov_rewrite): Remove inline, make HIDDEN.
2906 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
2907 (gcov_exit_compute_summary): Rename to ...
2908 (compute_summary): ... here. Add LIST argument.
2909 (gcov_exit_merge_gcda): Rename to ...
2910 (merge_one_data): ... here.
2911 (gcov_exit_write_gcda): Rename to ...
2912 (write_one_data): ... here.
2913 (gcov_exit_merge_summary): Rename to ...
2914 (merge_summary): Add RUN_COUNTED argument.
2915 (gcov_exit_dump_gcov): Rename to ...
2916 (dump_one_gcov): Add RUN_COUNTED argument.
2917 (gcov_do_dump): New function, broken out of ...
2918 (gcov_exit): ... here. Call it.
2920 2014-07-27 Anthony Green <green@moxielogic.com>
2922 * config.host: Add moxiebox configuration suppport.
2924 2014-07-27 Nathan Sidwell <nathan@acm.org>
2926 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
2927 (struct gcov_filename): ... here. Include buffer and max length
2929 (gcov_max_filename): Remove.
2930 (gi_filename): Remove.
2931 (gcov_exit_compute_summary): Compute max filename here.
2932 (gcov_exit_merge_gcda): Add filename parm, adjust.
2933 (gcov_exit_merge_summary): Likewise.
2934 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
2935 (gcov_exit): Likewise.
2936 (__gcov_init): Don't calculate max length here.
2937 * libgcov_util.c (max_filename_len): Remove.
2938 (read_gcda_file): Don't calculate max length here.
2939 (gcov_read_profile_dir): Don't propagate here.
2940 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
2941 struct gcov_filename changes.
2942 (gcov_exit_open_gcda_file): Likewise.
2944 2014-07-25 Nathan Sidwell <nathan@acm.org>
2946 * libgcov-driver.c (set_gcov_dump_complete,
2947 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
2948 functions polluting user's namespace.
2949 (gcov_exit): Set variable directly.
2950 (gcov_clear): Reset variable directly.
2951 * libgcov-interface.c (get_gcov_dymp_complete,
2952 reset_gov_dump_complete): Remove declarations.
2953 (__gcov_reset, __gcov_dump): Don't call them.
2955 2014-07-24 DJ Delorie <dj@redhat.com>
2957 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
2958 (__gcc_deregister_frame): Move logic to detect deregister function
2960 (__gcc_register_frame): here, so it's consistent with the register
2963 2014-07-23 Nathan Sidwell <nathan@acm.org>
2965 * libgcov-driver.c (set_gcov_list): Remove.
2966 (gcov_list): Make non-static in GCOV_TOOL.
2967 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
2969 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
2971 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
2972 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
2973 Don't use SYNC_LOCK_RELEASE for int type.
2975 2014-07-14 Richard Biener <rguenther@suse.de>
2977 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
2979 2014-07-11 Rong Xu <xur@google.com>
2981 * libgcov-util.c (gcov_max_filename): Fix declartion.
2983 2014-07-10 Rong Xu <xur@google.com>
2985 Add gcov-tool: an offline gcda profile processing tool
2987 * libgcov-driver.c (gcov_max_filename): Make available
2989 * libgcov-merge.c (__gcov_merge_add): Replace
2990 gcov_read_counter() with a Macro.
2991 (__gcov_merge_ior): Ditto.
2992 (__gcov_merge_time_profile): Ditto.
2993 (__gcov_merge_single): Ditto.
2994 (__gcov_merge_delta): Ditto.
2995 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
2996 in the utility functions.
2997 (set_fn_ctrs): Utility function for reading gcda files to in-memory
2998 gcov_list object link lists.
2999 (tag_function): Ditto.
3000 (tag_blocks): Ditto.
3003 (tag_counters): Ditto.
3004 (tag_summary): Ditto.
3005 (read_gcda_finalize): Ditto.
3006 (read_gcda_file): Ditto.
3007 (ftw_read_file): Ditto.
3008 (read_profile_dir_init): Ditto.
3009 (gcov_read_profile_dir): Ditto.
3010 (gcov_read_counter_mem): Ditto.
3011 (gcov_get_merge_weight): Ditto.
3012 (merge_wrapper): A wrapper function that calls merging handler.
3013 (gcov_merge): Merge two gcov_info objects with weights.
3014 (find_match_gcov_info): Find the matched gcov_info in the list.
3015 (gcov_profile_merge): Merge two gcov_info object lists.
3016 (__gcov_add_counter_op): Process edge profile counter values.
3017 (__gcov_ior_counter_op): Process IOR profile counter values.
3018 (__gcov_delta_counter_op): Process delta profile counter values.
3019 (__gcov_single_counter_op): Process single profile counter values.
3020 (fp_scale): Callback function for float-point scaling.
3021 (int_scale): Callback function for integer fraction scaling.
3022 (gcov_profile_scale): Scaling profile counters.
3023 (gcov_profile_normalize): Normalize profile counters.
3024 * libgcov.h: Add headers and functions for gcov-tool use.
3025 (gcov_get_counter): New.
3026 (gcov_get_counter_target): Ditto.
3027 (struct gcov_info): Make the functions field mutable in gcov-tool
3030 2014-06-23 Kai Tietz <ktietz@redhat.com>
3033 * unwind-seh.c (_Unwind_GetGR): Check for proper
3035 (_Unwind_SetGR): Likewise.
3037 2014-05-22 Nick Clifton <nickc@redhat.com>
3039 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3042 2014-05-22 Teresa Johnson <tejohnson@google.com>
3044 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3047 2014-05-20 John Marino <gnugcc@marino.st>
3049 * config.host (*-*-dragonfly*): New target.
3050 * crtstuff.c: Make dl_iterate_support generic on *bsd.
3051 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3052 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3053 * config/i386/dragonfly-unwind.h: New.
3055 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3058 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3059 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3061 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
3063 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3066 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
3068 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3070 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3073 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
3076 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
3078 Work around for current cygwin32 build problems.
3079 * config/i386/cygming-crtbegin.c (__register_frame_info,
3080 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
3081 functions only for 64-bit systems.
3083 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3085 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
3086 (sigill_caught, sigill_hdlr): Remove.
3088 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3090 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
3092 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3093 Solaris 9 single-threaded support.
3094 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3095 Solaris 9 single-threaded support. Add call_user_handler code
3097 (sparc_is_sighandler): Likewise.
3099 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3101 * config.host: Append t-floattodi to tmake_file depending on
3104 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
3106 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
3108 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
3111 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
3112 variable to avoid "array subscript is above array bounds" warnings.
3113 Use __builtin_expect when checking *jcr_list for NULL.
3115 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3118 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
3119 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
3120 vtv_*.o to extra_parts if enable_vtable_verify.
3122 2014-03-06 Nick Clifton <nickc@redhat.com>
3124 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
3125 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
3127 2014-02-28 Joey Ye <joey.ye@arm.com>
3130 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
3131 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
3134 2014-02-24 Walter Lee <walt@tilera.com>
3136 * config.host: Support "tilegx*" and "tilepro*" triplets.
3137 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
3138 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
3140 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
3141 Chung-Lin Tang <cltang@codesourcery.com>
3143 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
3144 * config/nios2/crti.S: Remove .file directive.
3145 * config/nios2/crtn.S: Likewise.
3147 2014-02-18 Kai Tietz <ktietz@redhat.com>
3148 Jonathan Schleifer <js@webkeks.org>
3151 * unwind-seh.c (_GCC_specific_handler): Pass proper
3152 value to unwind-handler.
3154 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3156 * soft-fp/adddf3.c: Update from glibc.
3157 * soft-fp/addsf3.c: Likewise.
3158 * soft-fp/addtf3.c: Likewise.
3159 * soft-fp/divdf3.c: Likewise.
3160 * soft-fp/divsf3.c: Likewise.
3161 * soft-fp/divtf3.c: Likewise.
3162 * soft-fp/double.h: Likewise.
3163 * soft-fp/eqdf2.c: Likewise.
3164 * soft-fp/eqsf2.c: Likewise.
3165 * soft-fp/eqtf2.c: Likewise.
3166 * soft-fp/extenddftf2.c: Likewise.
3167 * soft-fp/extended.h: Likewise.
3168 * soft-fp/extendsfdf2.c: Likewise.
3169 * soft-fp/extendsftf2.c: Likewise.
3170 * soft-fp/extendxftf2.c: Likewise.
3171 * soft-fp/fixdfdi.c: Likewise.
3172 * soft-fp/fixdfsi.c: Likewise.
3173 * soft-fp/fixdfti.c: Likewise.
3174 * soft-fp/fixsfdi.c: Likewise.
3175 * soft-fp/fixsfsi.c: Likewise.
3176 * soft-fp/fixsfti.c: Likewise.
3177 * soft-fp/fixtfdi.c: Likewise.
3178 * soft-fp/fixtfsi.c: Likewise.
3179 * soft-fp/fixtfti.c: Likewise.
3180 * soft-fp/fixunsdfdi.c: Likewise.
3181 * soft-fp/fixunsdfsi.c: Likewise.
3182 * soft-fp/fixunsdfti.c: Likewise.
3183 * soft-fp/fixunssfdi.c: Likewise.
3184 * soft-fp/fixunssfsi.c: Likewise.
3185 * soft-fp/fixunssfti.c: Likewise.
3186 * soft-fp/fixunstfdi.c: Likewise.
3187 * soft-fp/fixunstfsi.c: Likewise.
3188 * soft-fp/fixunstfti.c: Likewise.
3189 * soft-fp/floatdidf.c: Likewise.
3190 * soft-fp/floatdisf.c: Likewise.
3191 * soft-fp/floatditf.c: Likewise.
3192 * soft-fp/floatsidf.c: Likewise.
3193 * soft-fp/floatsisf.c: Likewise.
3194 * soft-fp/floatsitf.c: Likewise.
3195 * soft-fp/floattidf.c: Likewise.
3196 * soft-fp/floattisf.c: Likewise.
3197 * soft-fp/floattitf.c: Likewise.
3198 * soft-fp/floatundidf.c: Likewise.
3199 * soft-fp/floatundisf.c: Likewise.
3200 * soft-fp/floatunditf.c: Likewise.
3201 * soft-fp/floatunsidf.c: Likewise.
3202 * soft-fp/floatunsisf.c: Likewise.
3203 * soft-fp/floatunsitf.c: Likewise.
3204 * soft-fp/floatuntidf.c: Likewise.
3205 * soft-fp/floatuntisf.c: Likewise.
3206 * soft-fp/floatuntitf.c: Likewise.
3207 * soft-fp/gedf2.c: Likewise.
3208 * soft-fp/gesf2.c: Likewise.
3209 * soft-fp/getf2.c: Likewise.
3210 * soft-fp/ledf2.c: Likewise.
3211 * soft-fp/lesf2.c: Likewise.
3212 * soft-fp/letf2.c: Likewise.
3213 * soft-fp/muldf3.c: Likewise.
3214 * soft-fp/mulsf3.c: Likewise.
3215 * soft-fp/multf3.c: Likewise.
3216 * soft-fp/negdf2.c: Likewise.
3217 * soft-fp/negsf2.c: Likewise.
3218 * soft-fp/negtf2.c: Likewise.
3219 * soft-fp/op-1.h: Likewise.
3220 * soft-fp/op-2.h: Likewise.
3221 * soft-fp/op-4.h: Likewise.
3222 * soft-fp/op-8.h: Likewise.
3223 * soft-fp/op-common.h: Likewise.
3224 * soft-fp/quad.h: Likewise.
3225 * soft-fp/single.h: Likewise.
3226 * soft-fp/soft-fp.h: Likewise.
3227 * soft-fp/subdf3.c: Likewise.
3228 * soft-fp/subsf3.c: Likewise.
3229 * soft-fp/subtf3.c: Likewise.
3230 * soft-fp/truncdfsf2.c: Likewise.
3231 * soft-fp/trunctfdf2.c: Likewise.
3232 * soft-fp/trunctfsf2.c: Likewise.
3233 * soft-fp/trunctfxf2.c: Likewise.
3234 * soft-fp/unorddf2.c: Likewise.
3235 * soft-fp/unordsf2.c: Likewise.
3236 * soft-fp/unordtf2.c: Likewise.
3237 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
3239 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3241 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3243 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3245 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3247 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3249 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3251 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3253 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3255 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3257 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3259 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3261 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3263 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
3265 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
3267 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3270 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3272 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
3273 cannot be represented.
3274 * config/s390/32/_fixsfdi.c: Likewise.
3275 * config/s390/32/_fixtfdi.c: Likewise.
3276 * config/s390/32/_fixunsdfdi.c: Likewise.
3277 * config/s390/32/_fixunssfdi.c: Likewise.
3278 * config/s390/32/_fixunstfdi.c: Likewise.
3280 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
3282 * configure.ac (libgcc_cv_mips_hard_float): New.
3283 * configure: Regenerate.
3284 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
3285 t-softfp-sfdf for hard-float targets.
3286 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
3287 (softfp_float_modes, softfp_int_modes, softfp_extensions)
3288 (softfp_truncations, softfp_exclude_libgcc2): New.
3289 * config/t-hardfp: New file.
3290 * config/t-hardfp-sfdf: Likewise.
3291 * config/hardfp.c: Likewise.
3293 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3295 * config.host: Include t-floattodi also for s390x.
3296 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
3297 * config/s390/32/_fixsfdi.c: Likewise.
3298 * config/s390/32/_fixtfdi.c: Likewise.
3299 * config/s390/32/_fixunsdfdi.c: Likewise.
3300 * config/s390/32/_fixunssfdi.c: Likewise.
3301 * config/s390/32/_fixunstfdi.c: Likewise.
3303 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3306 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
3307 (install-libgcc-unwind-map-forbuild): New target.
3308 (all): Depend on install-libgcc-unwind-map-forbuild.
3309 (install-libgcc-unwind-map): New target.
3310 (install): Depend on install-libgcc-unwind-map.
3312 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
3314 * config/nios2/crti.S (_init): Initialize GOT pointer from
3315 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
3317 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
3319 * configure.ac: Check __mips64 when setting host_address.
3320 * configure: Regenerate.
3321 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
3322 mips/t-mips64 and t-softfp.
3323 (mips*-*-linux*): Don't add mips/t-tpbit.
3324 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
3325 (DPBIT, DPBIT_CFLAGS): Delete.
3326 * config/mips/sfp-machine.h: New file.
3327 * config/mips/t-mips64: Likewise.
3328 * config/mips/t-softfp-tf: Likewise.
3329 * config/mips/t-tpbit: Delete.
3331 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
3333 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
3336 2014-01-25 Walter Lee <walt@tilera.com>
3338 * config/tilepro/atomic.c: Include tconfig.h. Don't include
3339 config.h or system.h.
3342 2014-01-25 Walter Lee <walt@tilera.com>
3344 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
3345 (post_atomic_barrier): Ditto.
3346 (__fetch_and_do): New macro.
3347 (__atomic_fetch_and_do): Use __fetch_and_do.
3348 (__sync_fetch_and_do): New macro.
3349 (__sync_fetch_and_add_4): New function.
3350 (__sync_fetch_and_sub_4): New function.
3351 (__sync_fetch_and_or_4): New function.
3352 (__sync_fetch_and_and_4): New function.
3353 (__sync_fetch_and_xor_4): New function.
3354 (__sync_fetch_and_nand_4): New function.
3355 (__sync_fetch_and_add_8): New function.
3356 (__sync_fetch_and_sub_8): New function.
3357 (__sync_fetch_and_or_8): New function.
3358 (__sync_fetch_and_and_8): New function.
3359 (__sync_fetch_and_xor_8): New function.
3360 (__sync_fetch_and_nand_8): New function.
3361 (__do_and_fetch): New macro.
3362 (__atomic_do_and_fetch): Use __do_and_fetch.
3363 (__sync_do_and_fetch): New macro.
3364 (__sync_add_and_fetch_4): New function.
3365 (__sync_sub_and_fetch_4): New function.
3366 (__sync_or_and_fetch_4): New function.
3367 (__sync_and_and_fetch_4): New function.
3368 (__sync_xor_and_fetch_4): New function.
3369 (__sync_nand_and_fetch_4): New function.
3370 (__sync_add_and_fetch_8): New function.
3371 (__sync_sub_and_fetch_8): New function.
3372 (__sync_or_and_fetch_8): New function.
3373 (__sync_and_and_fetch_8): New function.
3374 (__sync_xor_and_fetch_8): New function.
3375 (__sync_nand_and_fetch_8): New function.
3376 (__sync_exchange_methods): New macro.
3377 (__sync_val_compare_and_swap_4): New function.
3378 (__sync_bool_compare_and_swap_4): New function.
3379 (__sync_lock_test_and_test_4): New function.
3380 (__sync_val_compare_and_swap_8): New function.
3381 (__sync_bool_compare_and_swap_8): New function.
3382 (__sync_lock_test_and_test_8): New function.
3383 (__subword_cmpxchg_body): New macro.
3384 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
3385 (__atomic_compare_exchange_2): Ditto.
3386 (__sync_subword_cmpxchg): New macro.
3387 (__sync_val_compare_and_swap_1): New function.
3388 (__sync_bool_compare_and_swap_1): New function.
3389 (__sync_val_compare_and_swap_2): New function.
3390 (__sync_bool_compare_and_swap_2): New function.
3391 (__atomic_subword): Rename to ...
3392 (__subword): ... New name.
3393 (__atomic_subword_fetch): Use __subword.
3394 (__sync_subword_fetch): New macro.
3395 (__sync_fetch_and_add_1): New function.
3396 (__sync_fetch_and_sub_1): New function.
3397 (__sync_fetch_and_or_1): New function.
3398 (__sync_fetch_and_and_1): New function.
3399 (__sync_fetch_and_xor_1): New function.
3400 (__sync_fetch_and_nand_1): New function.
3401 (__sync_fetch_and_add_2): New function.
3402 (__sync_fetch_and_sub_2): New function.
3403 (__sync_fetch_and_or_2): New function.
3404 (__sync_fetch_and_and_2): New function.
3405 (__sync_fetch_and_xor_2): New function.
3406 (__sync_fetch_and_nand_2): New function.
3407 (__sync_add_and_fetch_1): New function.
3408 (__sync_sub_and_fetch_1): New function.
3409 (__sync_or_and_fetch_1): New function.
3410 (__sync_and_and_fetch_1): New function.
3411 (__sync_xor_and_fetch_1): New function.
3412 (__sync_nand_and_fetch_1): New function.
3413 (__sync_add_and_fetch_2): New function.
3414 (__sync_sub_and_fetch_2): New function.
3415 (__sync_or_and_fetch_2): New function.
3416 (__sync_and_and_fetch_2): New function.
3417 (__sync_xor_and_fetch_2): New function.
3418 (__sync_nand_and_fetch_2): New function.
3419 (__atomic_subword_lock): Use __subword.
3420 (__sync_subword_lock): New macro.
3421 (__sync_lock_test_and_set_1): New function.
3422 (__sync_lock_test_and_set_2): New function.
3424 2014-01-25 Walter Lee <walt@tilera.com>
3426 * config/tilepro/atomic.c (BIT_OFFSET): Define.
3427 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
3428 (__atomic_subword): Ditto.
3430 2014-01-25 Walter Lee <walt@tilera.com>
3432 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
3433 a prefix op argument.
3434 (__atomic_nand_fetch_4): Add prefix op.
3435 (__atomic_nand_fetch_8): Ditto.
3437 2014-01-21 Baruch Siach <barch@tkos.co.il>
3439 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
3441 2014-01-09 Rong Xu <xur@google.com>
3443 * libgcov-driver.c (this_prg): make it local to save
3445 (gcov_exit_compute_summary): Ditto.
3446 (gcov_exit_merge_gcda): Ditto.
3447 (gcov_exit_merge_summary): Ditto.
3448 (gcov_exit_dump_gcov): Ditto.
3450 2014-01-08 Rong Xu <xur@google.com>
3452 * libgcov-driver.c: Use libgcov.h.
3453 (buffer_fn_data): Use xmalloc instead of malloc.
3454 (gcov_exit_merge_gcda): Ditto.
3455 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
3456 * libgcov.h: New common header files for libgcov-*.h.
3457 * libgcov-interface.c: Use libgcov.h
3458 * libgcov-merge.c: Ditto.
3459 * libgcov-profiler.c: Ditto.
3460 * Makefile.in: Add dependence to libgcov.h
3462 2014-01-02 Joseph Myers <joseph@codesourcery.com>
3464 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
3465 case of small numerator and finite nonzero result.
3467 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
3469 Update copyright years
3471 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
3473 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
3474 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
3475 config/arc/dp-hack.h, config/arc/fp-hack.h,
3476 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
3477 config/arc/ieee-754/arc600-dsp/divdf3.S,
3478 config/arc/ieee-754/arc600-dsp/divsf3.S,
3479 config/arc/ieee-754/arc600-dsp/muldf3.S,
3480 config/arc/ieee-754/arc600-dsp/mulsf3.S,
3481 config/arc/ieee-754/arc600-mul64/divdf3.S,
3482 config/arc/ieee-754/arc600-mul64/divsf3.S,
3483 config/arc/ieee-754/arc600-mul64/muldf3.S,
3484 config/arc/ieee-754/arc600-mul64/mulsf3.S,
3485 config/arc/ieee-754/arc600/divsf3.S,
3486 config/arc/ieee-754/arc600/mulsf3.S,
3487 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
3488 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
3489 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
3490 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
3491 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
3492 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
3493 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
3494 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
3495 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
3496 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
3497 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
3498 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
3499 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
3500 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
3501 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
3502 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
3503 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
3504 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
3505 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
3506 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
3507 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
3508 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
3509 vtv_start_preinit.c: Use the standard form for the copyright notice.
3511 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
3512 Chung-Lin Tang <cltang@codesourcery.com>
3513 Based on patches from Altera Corporation
3515 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
3516 * config/nios2/lib2-nios2.h: New file.
3517 * config/nios2/lib2-divmod-hi.c: New file.
3518 * config/nios2/linux-unwind.h: New file.
3519 * config/nios2/lib2-divmod.c: New file.
3520 * config/nios2/linux-atomic.c: New file.
3521 * config/nios2/t-nios2: New file.
3522 * config/nios2/crti.asm: New file.
3523 * config/nios2/t-linux: New file.
3524 * config/nios2/lib2-divtable.c: New file.
3525 * config/nios2/lib2-mul.c: New file.
3526 * config/nios2/tramp.c: New file.
3527 * config/nios2/crtn.asm: New file.
3529 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
3531 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
3532 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
3533 from cpuid.h to check vendor signatures.
3535 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
3537 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
3538 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
3539 (get_amd_cpu): Likewise.
3541 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
3543 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
3546 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3547 H.J. Lu <hongjiu.lu@intel.com>
3550 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
3552 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
3553 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
3554 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
3555 FEATURE_XOP and FEATURE_FMA.
3556 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
3558 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
3559 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
3560 FEATURE_FMA4 and FEATURE_XOP.
3562 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
3564 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
3565 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
3566 (get_intel_cpu): Updated.
3568 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
3570 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
3572 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
3574 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
3575 instructions when __SSE_MATH__ is defined.
3577 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
3579 * config.host (microblaze-*-rtems*): New.
3581 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
3583 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
3584 architectures that do not have hardware divide instruction.
3585 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
3587 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
3589 * longlong.h: Delete (moved to include/).
3591 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3593 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
3594 of normal number and qNaN to not raise an inexact exception.
3596 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
3598 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
3600 2013-11-28 Matthew Leach <matthew.leach@arm.com>
3602 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
3603 for correct opcodes on BE.
3605 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
3607 * soft-fp/op-4.h: Update from glibc.
3609 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
3611 * libgcc2.c (__udivmoddi4): Define new implementation when
3612 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
3613 divide instructions.
3615 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
3617 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
3619 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3621 * config/t-softfp (soft-fp-objects-base): New variable.
3622 (soft-fp-objects): Use it.
3624 2013-11-23 David Edelson <dje.gcc@gmail.com>
3625 Andrew Dixie <andrewd@gentrack.com>
3628 * config/rs6000/aixinitfini.c: New file.
3629 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
3630 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
3633 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
3635 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
3637 2013-11-18 Jan Hubicka <jh@suse.cz>
3639 * libgcov-driver.c (run_accounted): Make global level static.
3640 (gcov_exit_merge_summary): Silence warning; do not clear
3642 (gcov_exit): Clear it here.
3644 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
3647 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
3648 (all_prg, crc32): Remove static vars.
3649 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
3651 (gcov_exit_merge_gcda): Add crc32 parameter.
3652 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
3653 do not account run if it was already accounted.
3654 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
3655 (gcov_exit): Initialize all_prg; update.
3657 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
3659 * configure: Regenerate.
3661 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3662 Alan Modra <amodra@gmail.com>
3664 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
3665 (frob_update_context): Use it.
3667 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3668 Alan Modra <amodra@gmail.com>
3670 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
3671 (trampoline_initial): Provide ELFv2 variant.
3672 (__trampoline_setup): Likewise.
3674 * config/rs6000/linux-unwind.h (frob_update_context): Do not
3675 check for AIX indirect function call sequence if _CALL_ELF == 2.
3677 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3678 Alan Modra <amodra@gmail.com>
3680 * config/rs6000/linux-unwind.h (get_regs): Do not support
3681 old kernel versions if _CALL_ELF == 2.
3682 (frob_update_context): Do not support PLT stub variants only
3683 generated by old linkers if _CALL_ELF == 2.
3685 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3686 Alan Modra <amodra@gmail.com>
3688 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
3689 location of CR save area for 64-bit little-endian systems.
3691 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
3693 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
3695 * config/arm/t-vxworks: Delete.
3697 2013-11-10 Kai Tietz <ktietz@redhat.com>
3699 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
3700 Increment load-count on use of LIBGCC_SONAME DLL.
3701 (hmod_libgcc): New static variable to hold handle of
3703 (__gcc_deregister_frame): Decrement load-count of
3706 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3708 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
3710 * configure: Regenerate
3712 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
3714 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
3715 FP_EX_DENORM. Store result to volatile location after SSE division
3716 to close interrupt window. Remove unneeded fwait after x87
3717 division since interrupt window will be closed by emitted fstp.
3718 Rewrite FP_EX_INEXACT handling.
3720 2013-11-06 Joseph Myers <joseph@codesourcery.com>
3722 * soft-fp/README: Update.
3723 * soft-fp/adddf3.c: Update from glibc.
3724 * soft-fp/addsf3.c: Likewise.
3725 * soft-fp/addtf3.c: Likewise.
3726 * soft-fp/divdf3.c: Likewise.
3727 * soft-fp/divsf3.c: Likewise.
3728 * soft-fp/divtf3.c: Likewise.
3729 * soft-fp/double.h: Likewise.
3730 * soft-fp/eqdf2.c: Likewise.
3731 * soft-fp/eqsf2.c: Likewise.
3732 * soft-fp/eqtf2.c: Likewise.
3733 * soft-fp/extenddftf2.c: Likewise.
3734 * soft-fp/extended.h: Likewise.
3735 * soft-fp/extendsfdf2.c: Likewise.
3736 * soft-fp/extendsftf2.c: Likewise.
3737 * soft-fp/extendxftf2.c: Likewise.
3738 * soft-fp/fixdfdi.c: Likewise.
3739 * soft-fp/fixdfsi.c: Likewise.
3740 * soft-fp/fixdfti.c: Likewise.
3741 * soft-fp/fixsfdi.c: Likewise.
3742 * soft-fp/fixsfsi.c: Likewise.
3743 * soft-fp/fixsfti.c: Likewise.
3744 * soft-fp/fixtfdi.c: Likewise.
3745 * soft-fp/fixtfsi.c: Likewise.
3746 * soft-fp/fixtfti.c: Likewise.
3747 * soft-fp/fixunsdfdi.c: Likewise.
3748 * soft-fp/fixunsdfsi.c: Likewise.
3749 * soft-fp/fixunsdfti.c: Likewise.
3750 * soft-fp/fixunssfdi.c: Likewise.
3751 * soft-fp/fixunssfsi.c: Likewise.
3752 * soft-fp/fixunssfti.c: Likewise.
3753 * soft-fp/fixunstfdi.c: Likewise.
3754 * soft-fp/fixunstfsi.c: Likewise.
3755 * soft-fp/fixunstfti.c: Likewise.
3756 * soft-fp/floatdidf.c: Likewise.
3757 * soft-fp/floatdisf.c: Likewise.
3758 * soft-fp/floatditf.c: Likewise.
3759 * soft-fp/floatsidf.c: Likewise.
3760 * soft-fp/floatsisf.c: Likewise.
3761 * soft-fp/floatsitf.c: Likewise.
3762 * soft-fp/floattidf.c: Likewise.
3763 * soft-fp/floattisf.c: Likewise.
3764 * soft-fp/floattitf.c: Likewise.
3765 * soft-fp/floatundidf.c: Likewise.
3766 * soft-fp/floatundisf.c: Likewise.
3767 * soft-fp/floatunditf.c: Likewise.
3768 * soft-fp/floatunsidf.c: Likewise.
3769 * soft-fp/floatunsisf.c: Likewise.
3770 * soft-fp/floatunsitf.c: Likewise.
3771 * soft-fp/floatuntidf.c: Likewise.
3772 * soft-fp/floatuntisf.c: Likewise.
3773 * soft-fp/floatuntitf.c: Likewise.
3774 * soft-fp/gedf2.c: Likewise.
3775 * soft-fp/gesf2.c: Likewise.
3776 * soft-fp/getf2.c: Likewise.
3777 * soft-fp/ledf2.c: Likewise.
3778 * soft-fp/lesf2.c: Likewise.
3779 * soft-fp/letf2.c: Likewise.
3780 * soft-fp/muldf3.c: Likewise.
3781 * soft-fp/mulsf3.c: Likewise.
3782 * soft-fp/multf3.c: Likewise.
3783 * soft-fp/negdf2.c: Likewise.
3784 * soft-fp/negsf2.c: Likewise.
3785 * soft-fp/negtf2.c: Likewise.
3786 * soft-fp/op-1.h: Likewise.
3787 * soft-fp/op-2.h: Likewise.
3788 * soft-fp/op-4.h: Likewise.
3789 * soft-fp/op-8.h: Likewise.
3790 * soft-fp/op-common.h: Likewise.
3791 * soft-fp/quad.h: Likewise.
3792 * soft-fp/single.h: Likewise.
3793 * soft-fp/soft-fp.h: Likewise.
3794 * soft-fp/subdf3.c: Likewise.
3795 * soft-fp/subsf3.c: Likewise.
3796 * soft-fp/subtf3.c: Likewise.
3797 * soft-fp/truncdfsf2.c: Likewise.
3798 * soft-fp/trunctfdf2.c: Likewise.
3799 * soft-fp/trunctfsf2.c: Likewise.
3800 * soft-fp/trunctfxf2.c: Likewise.
3801 * soft-fp/unorddf2.c: Likewise.
3802 * soft-fp/unordsf2.c: Likewise.
3803 * soft-fp/unordtf2.c: Likewise.
3805 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
3807 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
3808 (_FP_MUL_MEAT_D): Ditto.
3809 (_FP_DIV_MEAT_S): Ditto.
3810 (_FP_DIV_MEAT_D): Ditto.
3811 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
3812 t-softfp-sfdf and t-softfp to tmake_file.
3814 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
3816 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
3817 * config/i386/crtprec.c: Ditto.
3819 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
3820 Shiva Chen <shiva0217@gmail.com>
3822 * config.host (nds32*-elf*): Add nds32 target.
3823 * config/nds32 : New directory and files.
3825 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
3827 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
3828 * config.host (cpu_type) <Setting default>: Add entry for
3830 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
3831 <crisv32-*-linux*>: Adjust.
3832 * longlong.h: Wrap the whole CRIS section in a single
3833 defined(__CRIS__) conditional. Add comment about add_ssaaaa
3835 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
3837 [__CRIS__] (__umulsidi3): Define.
3838 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
3839 * config/cris/sfp-machine.h: New file.
3840 * config/cris/umulsidi3.S: New file.
3841 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
3842 * config/cris/arit.c (SIGNMULT): New macro.
3843 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
3844 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
3845 saving 3 out of originally 33 cycles from the fastest
3846 path, 3 out of 54 from the medium path and one from the longest
3847 path. Improve comments.
3849 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
3851 * sync.c: Remove static aliases and define each function directly
3852 under its real name.
3854 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
3856 * config.host (hppa*64*-*-linux*): Define extra_parts.
3857 (hppa*-*-linux*): Likewise.
3859 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
3861 * config/arc/crtgend.S: Add 2013 to Copyright years.
3862 * config/arc/gmon/atomic.h: Likewise.
3863 * config/arc/gmon/auxreg.h: Likewise.
3864 * config/arc/gmon/sys/gmon_out.h: Likewise.
3865 * config/arc/gmon/sys/gmon.h: Likewise.
3866 * config/arc/gmon/prof-freq.c: Likewise.
3867 * config/arc/gmon/mcount.c: Likewise.
3868 * config/arc/gmon/prof-freq-stub.S: Likewise.
3869 * config/arc/gmon/gmon.c: Likewise.
3870 * config/arc/gmon/machine-gmon.h: Likewise.
3871 * config/arc/gmon/profil.S: Likewise.
3872 * config/arc/gmon/dcache_linesz.S: Likewise.
3873 * config/arc/crtg.S: Likewise.
3874 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
3875 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
3876 * config/arc/ieee-754/adddf3.S: Likewise.
3877 * config/arc/ieee-754/truncdfsf2.S: Likewise.
3878 * config/arc/ieee-754/fixsfsi.S: Likewise.
3879 * config/arc/ieee-754/gtsf2.S: Likewise.
3880 * config/arc/ieee-754/floatsisf.S: Likewise.
3881 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
3882 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
3883 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
3884 * config/arc/ieee-754/fixdfsi.S: Likewise.
3885 * config/arc/ieee-754/addsf3.S: Likewise.
3886 * config/arc/ieee-754/gesf2.S: Likewise.
3887 * config/arc/ieee-754/floatsidf.S: Likewise.
3888 * config/arc/ieee-754/extendsfdf2.S: Likewise.
3889 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
3890 * config/arc/ieee-754/gtdf2.S: Likewise.
3891 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
3892 * config/arc/ieee-754/uneqdf2.S: Likewise.
3893 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3894 * config/arc/ieee-754/uneqsf2.S: Likewise.
3895 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
3896 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
3897 * config/arc/ieee-754/eqdf2.S: Likewise.
3898 * config/arc/ieee-754/ordsf2.S: Likewise.
3899 * config/arc/ieee-754/divsf3.S: Likewise.
3900 * config/arc/ieee-754/divdf3.S: Likewise.
3901 * config/arc/ieee-754/floatunsidf.S: Likewise.
3902 * config/arc/ieee-754/orddf2.S: Likewise.
3903 * config/arc/ieee-754/eqsf2.S: Likewise.
3904 * config/arc/ieee-754/gedf2.S: Likewise.
3905 * config/arc/crtn.S: Likewise.
3906 * config/arc/crti.S: Likewise.
3907 * config/arc/t-arc700-uClibc: Likewise.
3908 * config/arc/asm.h: Likewise.
3909 * config/arc/libgcc-excl.ver: Likewise.
3910 * config/arc/t-arc-newlib: Likewise.
3911 * config/arc/divtab-arc700.c: Likewise.
3912 * config/arc/initfini.c: Likewise.
3913 * config/arc/fp-hack.h: Likewise.
3915 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
3916 Diego Novillo <dnovillo@google.com>
3918 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
3919 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
3920 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
3921 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
3923 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
3924 Brendan Kehoe <brendan@zen.org>
3925 Simon Cook <simon.cook@embecosm.com>
3927 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
3928 * config/arc: New directory.
3929 * longlong.h [__arc__] (umul_ppmm): Remove.
3930 [__arc__] (__umulsidi3): Define.
3931 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
3932 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
3934 2013-09-17 Jacek Caban <jacek@codeweavers.com>
3936 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
3938 * config/i386/gthr-win32.h: Likewise.
3940 2013-09-16 DJ Delorie <dj@redhat.com>
3942 * config/rl78/vregs.h: Add G10 register definitions.
3943 * config/rl78/lib2mul.c: Enable for RL78/G10.
3944 * config/rl78/lib2div.c: Likewise.
3945 * config/rl78/lshrsi3.S: Use vregs.h.
3946 * config/rl78/cmpsi2.S: Likewise.
3947 * config/rl78/trampoline.S: Likewise.
3948 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
3950 2013-09-14 DJ Delorie <dj@redhat.com>
3951 Nick Clifton <nickc@redhat.com>
3953 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
3954 * config/rl78/vregs.h: New.
3955 * config/rl78/signbit.S: New file. Implements signbit function.
3956 * config/rl78/divmodsi.S: New.
3957 * config/rl78/divmodhi.S: New.
3958 * config/rl78/divmodqi.S: New.
3959 * config/rl78/t-rl78: Build them here...
3960 * config/rl78/lib2div.c: ...but not here.
3962 2013-09-12 DJ Delorie <dj@redhat.com>
3964 * config.host (msp*-*-elf): New.
3965 * config/msp430/: New port.
3967 2013-08-18 Iain Sandoe <iain@codesourcery.com>
3969 PR gcov-profile/58127
3970 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
3971 __thread var for emulated TLS.
3972 (__gcov_indirect_call_counters): Likewise.
3974 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
3975 Catherine Moore <clm@codesourcery.com>
3976 Richard Sandiford <rdsandiford@googlemail.com>
3978 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
3979 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
3980 (CALL_STUB_NO_RET): Likewise.
3981 (CALL_STUB_RET): Likewise.
3982 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
3983 __mips16_ret call/return stub symbols.
3984 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
3987 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
3989 * config.host <mips*-*-linux*>: Remove a stray comment.
3991 2013-08-10 Jan Hubicka <jh@suse.cz>
3993 Work around binutils PR14342
3994 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
3995 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
3996 (L_gcov_indirect_call_profiler_v2): New.
3998 2013-08-06 Jan Hubicka <jh@suse.cz>
4000 * libgcov.c (__gcov_indirect_call_callee,
4001 __gcov_indirect_call_counters): New global vars.
4002 (__gcov_indirect_call_profiler): replace by ...
4003 (__gcov_indirect_call_profiler_v2) ... this one.
4005 2013-08-06 Caroline Tice <cmtice@google.com>
4007 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
4008 vtv_start_preinit.o and vtv_end_preinit.o.
4009 * configure.ac: Add code to check/set enable_vtable_verify.
4010 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
4012 * vtv_start_preinit.c: New file.
4013 * vtv_end_preinit.c: New file.
4014 * vtv_start.c: New file.
4015 * vtv_end.c: New file.
4016 * configure: Regenerated.
4018 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
4020 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4021 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4022 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4023 GPL-3.0-with-GCC-exception.
4025 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
4027 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4030 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4032 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4033 mapping for FPRs when creating the fallback framestate.
4035 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
4038 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4039 (__round_s2_const, __round_u2_const)
4040 (__round_s4_const, __round_u4_const, __round_x8):
4041 Saturate result if addition result cannot be represented.
4043 2013-07-15 Matthias Klose <doko@ubuntu.com>
4045 * libgcc2.c: Don't include <limits.h>.
4047 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
4049 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4051 2013-07-06 Jakub Jelinek <jakub@redhat.com>
4054 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4056 2013-06-28 Jakub Jelinek <jakub@redhat.com>
4059 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4061 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4062 instead of table lookups.
4063 (__popcountDI2): Likewise.
4065 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
4067 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4070 2013-06-21 Joseph Myers <joseph@codesourcery.com>
4073 * soft-fp/adddf3.c: Update from glibc.
4074 * soft-fp/addsf3.c: Likewise.
4075 * soft-fp/addtf3.c: Likewise.
4076 * soft-fp/divdf3.c: Likewise.
4077 * soft-fp/divsf3.c: Likewise.
4078 * soft-fp/divtf3.c: Likewise.
4079 * soft-fp/double.h: Likewise.
4080 * soft-fp/eqdf2.c: Likewise.
4081 * soft-fp/eqsf2.c: Likewise.
4082 * soft-fp/eqtf2.c: Likewise.
4083 * soft-fp/extenddftf2.c: Likewise.
4084 * soft-fp/extended.h: Likewise.
4085 * soft-fp/extendsfdf2.c: Likewise.
4086 * soft-fp/extendsftf2.c: Likewise.
4087 * soft-fp/fixdfdi.c: Likewise.
4088 * soft-fp/fixdfsi.c: Likewise.
4089 * soft-fp/fixsfdi.c: Likewise.
4090 * soft-fp/fixsfsi.c: Likewise.
4091 * soft-fp/fixtfdi.c: Likewise.
4092 * soft-fp/fixtfsi.c: Likewise.
4093 * soft-fp/fixunsdfdi.c: Likewise.
4094 * soft-fp/fixunsdfsi.c: Likewise.
4095 * soft-fp/fixunssfdi.c: Likewise.
4096 * soft-fp/fixunssfsi.c: Likewise.
4097 * soft-fp/fixunstfdi.c: Likewise.
4098 * soft-fp/fixunstfsi.c: Likewise.
4099 * soft-fp/floatdidf.c: Likewise.
4100 * soft-fp/floatdisf.c: Likewise.
4101 * soft-fp/floatditf.c: Likewise.
4102 * soft-fp/floatsidf.c: Likewise.
4103 * soft-fp/floatsisf.c: Likewise.
4104 * soft-fp/floatsitf.c: Likewise.
4105 * soft-fp/floatundidf.c: Likewise.
4106 * soft-fp/floatundisf.c: Likewise.
4107 * soft-fp/floatunditf.c: Likewise.
4108 * soft-fp/floatunsidf.c: Likewise.
4109 * soft-fp/floatunsisf.c: Likewise.
4110 * soft-fp/floatunsitf.c: Likewise.
4111 * soft-fp/gedf2.c: Likewise.
4112 * soft-fp/gesf2.c: Likewise.
4113 * soft-fp/getf2.c: Likewise.
4114 * soft-fp/ledf2.c: Likewise.
4115 * soft-fp/lesf2.c: Likewise.
4116 * soft-fp/letf2.c: Likewise.
4117 * soft-fp/muldf3.c: Likewise.
4118 * soft-fp/mulsf3.c: Likewise.
4119 * soft-fp/multf3.c: Likewise.
4120 * soft-fp/negdf2.c: Likewise.
4121 * soft-fp/negsf2.c: Likewise.
4122 * soft-fp/negtf2.c: Likewise.
4123 * soft-fp/op-1.h: Likewise.
4124 * soft-fp/op-2.h: Likewise.
4125 * soft-fp/op-4.h: Likewise.
4126 * soft-fp/op-8.h: Likewise.
4127 * soft-fp/op-common.h: Likewise.
4128 * soft-fp/quad.h: Likewise.
4129 * soft-fp/single.h: Likewise.
4130 * soft-fp/soft-fp.h: Likewise.
4131 * soft-fp/subdf3.c: Likewise.
4132 * soft-fp/subsf3.c: Likewise.
4133 * soft-fp/subtf3.c: Likewise.
4134 * soft-fp/truncdfsf2.c: Likewise.
4135 * soft-fp/trunctfdf2.c: Likewise.
4136 * soft-fp/trunctfsf2.c: Likewise.
4137 * soft-fp/unorddf2.c: Likewise.
4138 * soft-fp/unordsf2.c: Likewise.
4139 * soft-fp/unordtf2.c: Likewise.
4140 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
4141 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4142 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4143 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4144 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4145 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4146 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4147 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4148 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4149 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
4150 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
4151 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4153 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
4155 * config/mips/lib2funcs.c: New file.
4156 * config/mips/t-mips (LIB2ADD_ST): Add it.
4158 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
4161 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
4162 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
4164 2013-06-08 Walter Lee <walt@tilera.com>
4166 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
4167 Replace int64_t with long long. Add __extension__ where
4169 * config/tilepro/atomic.c: Include config.h.
4171 2013-06-06 Douglas B Rupp <rupp@adacore.com>
4173 * config.host (arm-wrs-vxworks): Configure with other soft float.
4175 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
4177 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
4178 (mips64r5900el-*-elf*): New configurations.
4180 2013-06-04 Alan Modra <amodra@gmail.com>
4182 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
4184 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
4186 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
4188 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
4190 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
4191 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
4192 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
4194 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4196 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
4197 (powerpc-wrs-vxworks): Likewise.
4199 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4201 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
4202 signal frames as well.
4203 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
4204 STACK_BIAS to the CFA offset.
4206 2013-05-17 Richard Henderson <rth@redhat.com>
4209 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
4210 (execute_cfa_program): Use it when storing to fs->regs.
4212 2013-05-08 Kai Tietz <ktietz@redhat.com>
4214 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
4215 (__deregister_frame_info): Likewise.
4217 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
4219 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
4222 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
4224 2013-04-25 Alan Modra <amodra@gmail.com>
4226 * config.host: Match little-endian powerpc-linux.
4228 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
4230 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
4231 as 'unsigned long long' instead of 'unsigned long'.
4232 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
4235 2013-04-10 Julian Brown <julian@codesourcery.com>
4237 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
4238 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
4239 unsigned char/unsigned short.
4240 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
4242 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4245 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
4247 2013-04-04 Meador Inge <meadori@codesourcery.com>
4249 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
4250 computing the location of the link register.
4251 (aeabi_uldivmod): Ditto.
4253 2013-03-27 Kai Tietz <ktietz@redhat.com>
4255 * config.host: Add support for cygwin x64 target.
4256 * configure: Regenerated.
4258 2013-03-26 Walter Lee <walt@tilera.com>
4260 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
4261 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
4263 2013-03-25 Kai Tietz <ktietz@redhat.com>
4265 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
4267 2013-03-20 Robert Mason <rbmj@verizon.net>
4269 * config/vxlib-tls.c (__gthread_get_tsd_data,)
4270 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
4271 (__gthread_leave_tsd_dtor_context): Add prototypes.
4272 (tls_delete_hook): Update.
4274 2013-03-20 Catherine Moore <clm@codesourcery.com>
4275 Joseph Myers <joseph@codesourcery.com>
4276 Chao-ying Fu <fu@mips.com>
4278 * config/mips/mips16.S: Don't build for microMIPS.
4279 * config/mips/linux-unwind.h: Handle microMIPS frame.
4280 * config/mips/crtn.S (fini, init): New labels.
4282 2013-03-14 Jakub Jelinek <jakub@redhat.com>
4284 PR tree-optimization/53265
4285 * unwind-dw2.c (execute_cfa_program): Avoid
4286 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
4287 on targets with DWARF_FRAME_REGISTERS < 32.
4289 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
4292 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
4293 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
4295 2013-03-07 Sriraman Tallam <tmsriram@google.com>
4297 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
4298 sandybridge processors.
4300 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
4303 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
4306 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
4308 * config/microblaze/crti.S: Setup stack protection at entry
4310 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
4312 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
4313 (__rotldi3): Shift bytewise if applicable.
4315 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
4317 * config/aarch64/sync-cache.c
4318 (__aarch64_sync_cache_range): Silence warnings.
4320 2013-02-25 Catherine Moore <clm@codesourcery.com>
4323 2013-02-24 Catherine Moore <clm@codesourcery.com>
4324 Joseph Myers <joseph@codesourcery.com>
4325 Chao-ying Fu <fu@mips.com>
4327 * config/mips/mips16.S: Don't build for microMIPS.
4328 * config/mips/linux-unwind.h: Handle microMIPS frame.
4329 * config/mips/crtn.S (fini, init): New labels.
4331 2013-02-24 Catherine Moore <clm@codesourcery.com>
4332 Joseph Myers <joseph@codesourcery.com>
4333 Chao-ying Fu <fu@mips.com>
4335 * config/mips/mips16.S: Don't build for microMIPS.
4336 * config/mips/linux-unwind.h: Handle microMIPS frame.
4337 * config/mips/crtn.S (fini, init): New labels.
4339 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
4340 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
4343 2013-02-16 Alan Modra <amodra@gmail.com>
4346 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
4347 (ppc_fallback_frame_state): Always set up save locations for fp
4348 and altivec. Don't bother with non-callee-saved regs, r0-r13
4349 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
4351 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
4354 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
4356 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
4357 _ssmulha3, _usmulusa3, _ssmulsa3.
4358 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
4359 (__muldi3): XCALL __muldi3_6 instead of rcall.
4360 (__umulsidi3, __mulsidi3): New functions.
4361 (do_prologue_saves, do_epilogue_restores): New .macros.
4362 (__divdi3_moddi3): Use them.
4363 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
4364 (__usmulusa3, __ssmulsa3): New functions.
4366 2013-02-11 Iain Sandoe <iain@codesourcery.com>
4367 Jack Howarth <howarth@bromo.med.uc.edu>
4368 Patrick Marlier <patrick.marlier@gmail.com>
4371 * config/darwin-crt-tm.c: Remove dummy functions hack.
4373 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
4376 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
4377 * config/avr/lib2-object.mk: New iterator to build objects from it.
4378 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
4380 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
4381 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
4382 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
4383 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
4384 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
4385 * config/avr/lib1funcs-fixed.S: Implement them.
4387 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
4389 Update copyright years.
4391 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
4394 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
4395 Add crtcxa to extra_parts.
4396 * config/rs6000/exit.h: New file.
4397 * config/rs6000/cxa_atexit.c: New file.
4398 * config/rs6000/cxa_finalize.c: New file.
4399 * config/rs6000/crtcxa.c: New file.
4400 * config/rs6000/t-aix-cxa: New file.
4401 * config/rs6000/libgcc-aix-cxa.ver: New file.
4403 2013-01-31 Nick Clifton <nickc@redhat.com>
4405 * config/v850/lib1funcs.S: Add support for e3v5 architecture
4408 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
4411 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
4412 _mulQQ, _mulHQ, _mulHA, _mulSA,
4413 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
4414 _divQQ, _divHQ, _divHA, _divSA,
4415 _divUQQ, _divUHQ, _divUHA, _divUSA.
4417 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
4419 * config.host(microblaze*-linux*): tmake_file: Remove
4420 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
4421 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
4422 to exclude functions from being built with libgcc.c and use
4423 the microblaze assembly.
4425 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
4427 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
4430 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
4432 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
4433 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
4434 __UINTPTR_TYPE__; also cast 'base' to the same type before the
4435 alignment operation.
4437 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
4439 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
4440 loop start address for cache clearing.
4442 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
4444 * config/avr/lib1funcs.S: Remove trailing blanks.
4445 * config/avr/lib1funcs-fixed.S: Ditto.
4447 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
4449 * config/avr/avr-lib.h: Add GPL copyright notice.
4451 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
4453 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
4454 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
4455 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
4456 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
4458 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
4460 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
4461 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
4463 2013-01-04 Nick Clifton <nickc@redhat.com>
4465 * config/v850/lib1funcs.S: Only provide CALLT support functions if
4466 the CALLT instruction is supported.
4468 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
4470 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
4471 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
4473 2012-12-13 John Tytgat <John@bass-software.com>
4475 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
4478 2012-12-12 Jakub Jelinek <jakub@redhat.com>
4481 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
4482 undefined signed overflows.
4484 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
4487 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
4489 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
4491 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
4492 (FP_TRAPPING_EXCEPTIONS): Define.
4493 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
4494 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
4496 2012-12-04 Richard Henderson <rth@redhat.com>
4499 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
4501 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
4503 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
4504 (FP_EX_SHIFT): Define.
4505 (FP_TRAPPING_EXCEPTIONS): Define.
4507 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
4509 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
4510 (FP_ROUNDMODE): Use FP_RND_MASK.
4511 * config/aarch64/sfp-exceptions.c: New.
4512 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4513 Use __sfp_handle_exceptions.
4515 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
4517 * config.host: (arm*-*-freebsd*): Remove.
4518 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
4519 (arm*-*-elf*): Remove.
4520 (arm*-*-wince-pe*): Remove.
4521 * arm/unwind-arm.c (struct fpa_reg): Delete.
4522 (struct fpa_regs): Delete.
4523 (phase1_vrs): Remove fpa element.
4524 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
4525 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
4526 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
4527 * ieee754-sf.S (floatundisf): Remove FPA support.
4528 (floatdisf): Likewise.
4529 * ieee75f-df.S (floatundidf): Likewise.
4530 (floatdidf): Likewise.
4532 2012-11-29 Kai Tietz <ktietz@redhat.com>
4535 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
4536 * unwind-generic.h: Likewise.
4537 * unwind-seh.c: Likewise.
4539 2012-11-28 Richard Henderson <rth@redhat.com>
4542 * emutls.c (__emutls_get_address): Avoid race condition between
4543 obj->loc.offset read and emutls_key initialization.
4545 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
4547 Adjust decimal point of signed accum mode to GCC default.
4550 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
4552 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
4553 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
4554 (__mulha3, __mulsa3)
4555 (__divqq3, __divha3, __divsa3): Adjust to new position of
4556 decimal point of signed accum types.
4558 (__mulusa3_round): New function.
4559 (__mulusa3): Use it.
4560 (__divqq_helper): New function.
4561 (__udivuqq3): Use it.
4563 2012-11-20 Jakub Jelinek <jakub@redhat.com>
4566 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
4568 2012-11-18 Teresa Johnson <tejohnson@google.com>
4571 * libgcov.c (gcov_exit): Remove merged program summary
4572 comparison unless !GCOV_LOCKED.
4574 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
4576 * soft-fp: Updated from glibc upstream.
4578 2012-11-06 Ian Lance Taylor <iant@google.com>
4580 * generic-morestack.c (__generic_morestack): Align the returned
4581 stack pointer to a 32 byte boundary.
4582 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
4583 increment the return address until we have decided that we don't
4584 have a varargs function.
4585 (__morestack) [32-bit]: Align stack correctly when calling C
4587 (__morestack) [64-bit]: Likewise.
4589 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4591 * configure: Regenerate.
4593 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
4596 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
4597 * config/i386/sfp-machine.h: Guard exception handling
4598 code with _SOFT_FLOAT.
4599 * config/i386/32/sfp-machine.h: Guard rounding handling
4600 code with _SOFT_FLOAT.
4601 * config/i386/64/sfp-machine.h: Ditto.
4603 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
4605 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
4608 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
4610 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
4611 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
4612 when appropriate. Correct structure element types.
4613 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
4614 -minline-all-stringops from compile flags.
4616 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
4618 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
4620 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
4622 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
4624 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
4626 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
4629 2012-10-23 Ian Bolton <ian.bolton@arm.com>
4630 Jim MacArthur <jim.macarthur@arm.com>
4631 Marcus Shawcroft <marcus.shawcroft@arm.com>
4632 Nigel Stephens <nigel.stephens@arm.com>
4633 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4634 Richard Earnshaw <rearnsha@arm.com>
4635 Sofiane Naci <sofiane.naci@arm.com>
4636 Stephen Thomas <stephen.thomas@arm.com>
4637 Tejas Belagod <tejas.belagod@arm.com>
4638 Yufeng Zhang <yufeng.zhang@arm.com>
4640 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
4641 * config/aarch64/crti.S: New file.
4642 * config/aarch64/crtn.S: New file.
4643 * config/aarch64/linux-unwind.h: New file.
4644 * config/aarch64/sfp-machine.h: New file.
4645 * config/aarch64/sync-cache.c: New file.
4646 * config/aarch64/t-aarch64: New file.
4647 * config/aarch64/t-softfp: New file.
4649 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
4651 * config/mmix/crti.S: Mark program and data addresses using PRELD.
4652 Remove typo'd and unnecessary alignment-LOC for .data. Remove
4653 no-longer-needed LDBU insns.
4655 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
4658 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
4659 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
4661 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
4663 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
4665 2012-10-15 Matthias Klose <doko@ubuntu.com>
4667 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
4669 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
4671 * configure: Regenerate.
4672 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
4674 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
4676 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4677 instructions for 64bit targets only.
4679 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
4681 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4682 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
4683 * config/i386/32/sfp-machine.h: ... here.
4684 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
4685 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
4688 2012-10-07 Matthias Klose <doko@ubuntu.com>
4690 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
4692 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
4694 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
4696 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
4697 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
4698 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
4701 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
4704 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4705 Fix parameter names.
4707 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
4710 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
4711 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
4712 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
4714 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
4717 * config/sh/linux-atomic.S: Delete.
4718 * config/sh/linux-atomic.c: New.
4719 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
4720 linux-atomic.c. Add cflags to disable warnings.
4722 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
4725 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
4727 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
4728 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
4729 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
4730 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
4731 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
4733 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4735 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
4737 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
4738 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
4740 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
4742 * config.host (hppa-*-openbsd*): New target.
4743 * config/pa/t-openbsd: New file.
4745 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
4748 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
4749 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
4750 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
4751 (__divsa3): Use __negsi2 to negate r_quoL.
4752 * config/avr/lib1funcs.S (FALIAS): New macro.
4753 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
4754 (__negsi2): ...this new function.
4755 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
4756 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
4757 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
4758 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
4759 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
4760 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
4762 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
4765 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
4766 (lshrsi3): Reimplement as lshrsi3_r0.
4768 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
4771 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
4774 2012-09-07 Teresa Johnson <tejohnson@google.com>
4776 PR gcov-profile/54487
4777 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
4780 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
4783 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
4784 not configured --with-avrlibc=no.
4785 * config/avr/t-avrlibc: New file.
4786 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
4787 (DPBIT_FUNCS): Ditto.
4788 (TPBIT_FUNCS): Ditto.
4790 2012-09-04 Teresa Johnson <tejohnson@google.com>
4792 * libgcov.c (struct gcov_summary_buffer): New structure.
4793 (gcov_histogram_insert): New function.
4794 (gcov_compute_histogram): Ditto.
4795 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
4796 histograms during summary merging.
4798 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
4800 * config.host (x86_64-*-openbsd*): New target.
4802 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
4804 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
4807 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
4810 * config/avr/t-avr (conv_X): Rename to func_X.
4812 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
4815 * config/avr/lib1funcs-fixed.S: New file.
4816 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
4817 after they are used.
4818 (neg2, neg4): New macros.
4819 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
4820 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
4821 (__umulhisi3): Speed up MUL variant if there is enough flash.
4822 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
4824 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
4825 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
4826 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
4827 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
4828 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
4829 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
4830 (LIB2FUNCS_EXCLUDE): Add supported functions.
4832 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
4834 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
4835 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
4837 * fixed-obj.mk: Only expand dependency if $o is not in
4840 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
4842 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
4844 2012-08-22 Joseph Myers <joseph@codesourcery.com>
4846 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
4847 depend on --enable-shared.
4848 ($(lib1asmfuncs-o)): Use %.vis files independent of
4850 * static-object.mk ($(base)$(objext), $(base).vis)
4851 ($(base)_s$(objext)): Use same rules for visibility handling as in
4854 2012-08-21 Ian Lance Taylor <iant@google.com>
4856 * config/i386/morestack.S (__morestack_non_split): Increase amount
4857 of space allocated for non-split code stack.
4859 2012-08-19 Joseph Myers <joseph@codesourcery.com>
4861 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
4862 even if inhibit_libc.
4864 2012-08-17 Julian Brown <julian@codesourcery.com>
4866 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
4867 -fexceptions -fnon-call-exceptions if not defined.
4868 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
4869 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
4871 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
4873 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
4876 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
4878 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
4879 rs6000/t-slibgcc-aix.
4881 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
4883 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
4885 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
4887 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
4889 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
4892 * Makefile.in (version): Replace top_srcdir with srcdir.
4894 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
4896 * Makefile.in (version): set to BASE-VER file from gcc directory.
4898 2012-08-01 Nick Clifton <nickc@redhat.com>
4900 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
4901 Implements __clrsb for an HImode argument.
4903 2012-07-31 Nick Clifton <nickc@redhat.com>
4905 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
4906 Implements __clrsb for an HImode argument.
4907 * config/stormy16/clrsbhi2.c: New file:
4908 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
4910 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
4912 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
4914 2012-07-19 Tristan Gingold <gingold@adacore.com>
4915 Richard Henderson <rth@redhat.com>
4917 * unwind-seh.c: New file.
4918 * unwind-generic.h: Include windows.h for SEH.
4919 (_Unwind_Exception): Use 6 private fields for SEH.
4920 (_GCC_specific_handler): Declare.
4921 * unwind-c.c (__gcc_personality_seh0): New function.
4923 * config/i386/libgcc-cygming.ver: New file.
4924 * config/i386/t-seh-eh: New file.
4925 * config.host (x86_64-*-mingw*): Default to seh.
4927 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
4929 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
4931 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
4933 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
4934 __builtin_expect when checking for exceptions.
4935 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
4937 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
4939 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
4940 function declaration.
4941 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4943 * config/ia64/sfp-exceptions.c: New.
4944 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
4946 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
4948 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
4949 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
4950 * config/i386/64/sfp-machine: ... (delete here) ...
4951 * config/i386/sfp-machine.h: ... to here.
4952 (FP_EX_MASK): Remove.
4954 (FP_INIT_ROUNDMODE): Declare asm as volatile.
4956 2012-06-11 Sriraman Tallam <tmsriram@google.com>
4958 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
4959 * config/i386/libgcc-sol2.ver: Ditto.
4960 * config/i386/libgcc-glibc.ver: Ditto.
4962 2012-06-11 Roland McGrath <mcgrathr@google.com>
4964 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
4965 If __GLIBC__ is defined, refer to __pthread_key_create instead of
4968 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
4970 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
4971 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
4972 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
4973 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4974 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
4975 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
4976 * config/i386/64/sfp-machine: ... (delete here) ...
4977 * config/i386/sfp-machine.h: ... to here.
4979 (__sfp_handle_exceptions): New function declaration.
4980 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4981 * config/i386/sfp-exceptions.c: New.
4982 * config/i386/t-softfp: New.
4983 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
4984 i386/t-softfp to tmake_file.
4986 2012-06-03 David S. Miller <davem@davemloft.net>
4988 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
4991 2012-05-31 David S. Miller <davem@davemloft.net>
4993 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
4994 multiply and divide instructions on 32-bit when V9.
4995 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
4997 2012-05-29 Joseph Myers <joseph@codesourcery.com>
4999 * config/arm/ieee754-df.S: Fix typos.
5000 * config/arm/ieee754-sf.S: Fix typos.
5001 * config/c6x/libunwind.S: Fix typos.
5002 * config/epiphany/udivsi3-float.c: Fix typos.
5003 * config/microblaze/muldi3_hard.S: Fix typos.
5004 * config/picochip/adddi3.S: Fix typos.
5005 * config/picochip/ashlsi3.S: Fix typos.
5006 * config/picochip/ashrsi3.S: Fix typos.
5007 * config/picochip/clzsi2.S: Fix typos.
5008 * config/picochip/cmpsi2.S: Fix typos.
5009 * config/picochip/divmod15.S: Fix typos.
5010 * config/picochip/divmodhi4.S: Fix typos.
5011 * config/picochip/divmodsi4.S: Fix typos.
5012 * config/picochip/longjmp.S: Fix typos.
5013 * config/picochip/lshrsi3.S: Fix typos.
5014 * config/picochip/parityhi2.S: Fix typos.
5015 * config/picochip/popcounthi2.S: Fix typos.
5016 * config/picochip/setjmp.S: Fix typos.
5017 * config/picochip/subdi3.S: Fix typos.
5018 * config/picochip/ucmpsi2.S: Fix typos.
5019 * config/picochip/udivmodhi4.S: Fix typos.
5020 * config/picochip/udivmodsi4.S: Fix typos.
5021 * config/spu/divv2df3.c: Fix typos.
5022 * config/spu/mfc_multi_tag_release.c: Fix typos.
5023 * config/spu/mfc_tag_release.c: Fix typos.
5024 * configure.ac: Fix typos.
5025 * configure: Regenerate.
5027 2012-05-25 Ian Lance Taylor <iant@google.com>
5029 * config/i386/morestack.S (__morestack_non_split): Check whether
5030 caller is varargs and needs %bp to hold the stack frame on return.
5032 2012-05-25 Olivier Hainque <hainque@adacore.com>
5034 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5035 sequence in the non pic case on VxWorks.
5037 2012-05-24 Olivier Hainque <hainque@adacore.com>
5039 * Makefile.in: Move dependency on install-unwind_h from
5040 "install-leaf" to "install".
5042 2012-05-24 Olivier Hainque <hainque@adacore.com>
5044 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5045 Use a separate command for stamp removals.
5047 2012-05-21 Andrew Pinski <apinski@cavium.com>
5050 * configure.ac: Define the default includes to being none.
5051 * configure: Regenerate.
5053 2012-05-16 Olivier Hainque <hainque@adacore.com>
5055 * Makefile.in (install-unwind_h): Rename into ...
5056 (install-unwind_h-forbuild): New target.
5057 (all): Use it instead of the former install-unwind_h.
5058 (install-unwind_h): Reinstate, copy to user install destination
5059 for include files, not to the internal gcc object directory one.
5060 (install-leaf): Depend on it.
5062 2012-05-15 Olivier Hainque <hainque@adacore.com>
5064 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5065 register numbers. LR_REGNO replaces R_LR.
5066 (ucontext_for): New, helper for ...
5067 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5069 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5071 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5073 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
5074 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
5075 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
5077 (i[34567]86-*-*, x86_64-*-*): ... here.
5079 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
5080 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
5082 * config/i386/i386-cpuinfo.c: Rename to ...
5083 * config/i386/cpuinfo.c: ... this.
5084 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
5086 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
5087 (libgcc_cv_init_priority): New test.
5088 * configure: Regenerate.
5089 * config.in: New file.
5090 * Makefile.in (clean): Rename config.h to auto-target.h.
5091 (config.h): Likewise.
5092 (stamp-h): Likewise.
5094 * config/i386/cpuinfo.c (auto-target.h): Include.
5095 (CONSTRUCTOR_PRIORITY): Define.
5096 (__cpu_indicator_init): Use it.
5098 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5100 * longlong.h: Use a URL instead of an FSF postal address.
5101 Replace spaces with tab.
5103 2012-05-08 Teresa Johnson <tejohnson@google.com>
5105 * libgcov.c (gcov_clear, __gcov_reset): New functions.
5106 (__gcov_dump): Ditto.
5107 (gcov_dump_complete): New global variable.
5108 (gcov_exit): Export hidden to enable use in L_gcov_dump.
5109 (__gcov_flush): Outline functionality now in gcov_clear.
5110 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
5112 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
5114 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
5115 (mips*-*-linux*): Include mips/t-tpbit when long double is
5118 2012-04-25 Sriraman Tallam <tmsriram@google.com>
5120 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
5121 (get_available_features): New argument. Check for AVX2.
5122 (__cpu_indicator_init): Modify call to get_available_features.
5124 2012-04-25 Alan Modra <amodra@gmail.com>
5126 * config/rs6000/crtsavevr.S: New file.
5127 * config/rs6000/crtrestvr.S: New file.
5128 * config/rs6000/t-savresfgpr: Build the above.
5129 * config/rs6000/t-netbsd: Likewise.
5131 2012-04-24 Sriraman Tallam <tmsriram@google.com>
5133 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
5135 2012-04-24 Sriraman Tallam <tmsriram@google.com>
5137 * libgcc/config/i386/i386-cpuinfo.c: New file.
5138 * libgcc/config/i386/t-cpuinfo: New file.
5139 * libgcc/config.host: Include t-cpuinfo.
5140 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
5142 2012-04-24 Chao-ying Fu <fu@mips.com>
5144 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
5146 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
5148 struct siginfo vs. siginfo_t
5150 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
5151 siginfo_t instead of struct siginfo.
5152 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
5153 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
5154 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
5155 (ia64_handle_unwabi): Likewise.
5156 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
5157 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
5158 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
5159 (sh_fallback_frame_state): Likewise.
5160 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
5161 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
5163 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
5165 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
5168 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
5170 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
5171 if it hasn't been previously saved.
5173 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
5175 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
5178 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
5181 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
5182 instead of __AVR_HAVE_8BIT_SP__.
5184 2012-03-26 Tristan Gingold <gingold@adacore.com>
5186 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
5187 (unw_table_entry): Use unw_word instead of unsigned long.
5188 (_Unwind_FindTableEntry): Likewise.
5189 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
5190 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
5191 (_Unwind_FindTableEntry): Likewise.
5192 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
5193 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
5194 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
5195 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
5196 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
5197 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
5198 (uw_init_context_1, uw_install_context): Likewise.
5199 (unw_word): Move to unwind-ia64.h
5201 2012-03-26 Tristan Gingold <gingold@adacore.com>
5203 * config/vms/vms-ucrt0.c: Update copyright years.
5205 (___gcc_main_flags): Declare.
5206 (__main): Check flags to remap argv and exit code.
5207 * config.host (*-*-*vms*): Adjust extra_parts.
5208 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
5211 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
5213 * arm/lib1funcs.asm (ctzsi2): New function.
5214 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
5215 * arm/t-linux (LIB1ASMFUNCS): Likewise.
5216 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
5217 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
5218 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
5219 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
5221 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
5223 * config.host: Add bits to support powerpc64-*-freebsd*.
5224 * config/rs6000/freebsd-unwind.h: New file.
5225 * config/rs6000/t-freebsd64: New file.
5227 2012-03-20 Richard Guenther <rguenther@suse.de>
5229 PR gcov-profile/52627
5230 * libgcov.c (init_mx): Fix mutex name.
5232 2012-03-16 Tristan Gingold <gingold@adacore.com>
5234 * config/ia64/vms-unwind.h: Remove ulong (and replace
5235 it by unw_reg where used). Define unw_reg with __int64.
5237 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5239 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5241 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5243 (sparc_is_sighandler): Likewise.
5245 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
5247 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
5250 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5252 * config/arm/crtn.S: Fix typo.
5254 2012-03-13 Richard Guenther <rguenther@suse.de>
5256 * libgcov.c: Remove stdio.h include and NULL un-define.
5258 2012-03-13 Richard Guenther <rguenther@suse.de>
5261 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
5263 2012-03-13 Richard Guenther <rguenther@suse.de>
5265 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
5267 2012-03-13 Richard Guenther <rguenther@suse.de>
5269 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
5270 and __gthread_mutex_init_function definitions.
5272 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5274 * config.host (mips*-*-openbsd*): Remove.
5276 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5278 * config.host: Remove alpha*-dec-osf5.1* handling.
5279 * config/alpha/gthr-posix.c: Remove.
5280 * config/alpha/libgcc-osf5.ver: Remove.
5281 * config/alpha/osf5-unwind.h: Remove.
5282 * config/alpha/t-osf-pthread: Remove.
5283 * config/alpha/t-slibgcc-osf: Remove.
5284 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
5285 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
5286 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
5287 * mkmap-flat.awk: Remove osf_export handling.
5289 2012-03-12 Richard Guenther <rguenther@suse.de>
5291 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
5292 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5293 (__gthread_mutex_init_function): New function.
5294 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5297 * libgcov.c: Include gthr.h.
5298 (__gcov_flush_mx): New global variable.
5299 (init_mx, init_mx_once): New functions.
5300 (__gcov_flush): Protect self with a mutex.
5301 (__gcov_fork): Re-initialize mutex after forking.
5302 * unwind-dw2-fde.c: Change condition under which to use
5303 __GTHREAD_MUTEX_INIT_FUNCTION.
5305 2012-03-12 Tristan Gingold <gingold@adacore.com>
5307 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
5308 * config/ia64/t-vms: Likewise.
5310 2012-03-11 Michael Hope <michael.hope@linaro.org>
5312 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
5315 2012-03-07 Walter Lee <walt@tilera.com>
5317 * config/tilepro/atomic.c: Rename "atomic_" prefix to
5319 (atomic_xor): Rename and move definition to
5320 config/tilepro/atomic.h.
5321 (atomic_nand): Ditto.
5322 * config/tilepro/atomic.h: Rename "atomic_" prefix to
5324 (arch_atomic_xor): Move from config/tilepro/atomic.c.
5325 (arch_atomic_nand): Ditto.
5327 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
5330 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
5332 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
5335 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
5338 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
5342 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
5343 if RAMPZ affects reading from RAM.
5344 (__tablejump_elpm__): Ditto.
5346 (__movmemx_hi): Ditto.
5347 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
5348 (__do_global_dtors): Ditto.
5349 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
5350 (__movmemx_hi): Ditto.
5352 2012-03-05 Richard Henderson <rth@redhat.com>
5354 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
5355 [ARM] (count_trailing_zeros): Use the builtin.
5357 2012-03-01 Kai Tietz <ktietz@redhat.com>
5359 * soft-fp: Imported from glibc upstream.
5361 2012-02-28 Kai Tietz <ktietz@redhat.com>
5363 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
5364 for mingw-targets as attribute gcc_struct.
5366 2012-02-28 Ian Lance Taylor <iant@google.com>
5368 * generic-morestack.c (__splitstack_releasecontext): Correct call
5369 to __morestack_release_segments.
5371 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5374 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
5375 for __linux__ when removing signals from __morestack_fullmask.
5377 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
5380 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
5382 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5384 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
5385 instead of HAVE_INITFINI_ARRAY.
5386 * config/ia64/crtend.S: Likewise.
5388 2012-02-20 Kai Tietz <ktietz@redhat.com>
5391 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
5393 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
5394 to w32-unwind.h header.
5396 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
5398 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
5399 (mips*-*-linux*): Remove t-slibgcc-libgcc.
5400 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
5401 * config/mips/mips16.S (__mips16_rdhwr): Delete.
5403 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
5405 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
5407 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5410 * config/darwin-crt-tm.c: Correct typo.
5412 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5413 Patrick Marlier <patrick.marlier@gmail.com>
5416 * config/darwin-crt-tm.c: Generate dummy functions.
5418 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5419 Patrick Marlier <patrick.marlier@gmail.com>
5422 * config/darwin-crt-tm.c (getTMCloneTable): New function.
5423 (__doTMRegistrations): Call it.
5424 (__doTMdeRegistrations): Likewise.
5426 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
5427 Anatoly Sokolov <aesok@post.ru>
5428 Eric Weddington <eric.weddington@atmel.com>
5431 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
5432 (__epilogue_restores__): Ditto.
5434 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
5438 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
5439 Solaris 11 and slightly reformat.
5440 (sparc_is_sighandler): Likewise.
5442 2012-02-14 Walter Lee <walt@tilera.com>
5444 * config.host: Handle tilegx and tilepro.
5445 * config/tilegx/sfp-machine.h: New file.
5446 * config/tilegx/sfp-machine32.h: New file.
5447 * config/tilegx/sfp-machine64.h: New file.
5448 * config/tilegx/t-crtstuff: New file.
5449 * config/tilegx/t-softfp: New file.
5450 * config/tilegx/t-tilegx: New file.
5451 * config/tilepro/atomic.c: New file.
5452 * config/tilepro/atomic.h: New file.
5453 * config/tilepro/linux-unwind.h: New file.
5454 * config/tilepro/sfp-machine.h: New file.
5455 * config/tilepro/softdivide.c: New file.
5456 * config/tilepro/softmpy.S: New file.
5457 * config/tilepro/t-crtstuff: New file.
5458 * config/tilepro/t-tilepro: New file.
5460 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
5464 * gthr-posix.h: Allow static initializer macros to be disabled.
5465 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
5467 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
5469 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
5470 Add t-slibgcc-libgcc to tmake_file.
5471 * config/mips/libgcc-mips16.ver: Revert previous patch.
5472 * config/mips/mips16.S (__mips16_rdhwr): Hide.
5474 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
5475 Jayant R Sonar <jayant.sonar@kpitcummins.com>
5477 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
5478 * config/cr16/crti.S: New file.
5479 * config/cr16/crtlibid.S: New file.
5480 * config/cr16/crtn.S: New file.
5481 * config/cr16/lib1funcs.S: New file.
5482 * config/cr16/t-cr16: New file.
5483 * config/cr16/t-crtlibid: New file.
5484 * config/cr16/unwind-dw2.h: New file.
5485 * config/cr16/unwind-cr16.c: New file.
5486 * config/cr16/divmodhi3.c: New file.
5488 2012-01-25 Alan Modra <amodra@gmail.com>
5490 * config/rs6000/t-linux64: Delete. Move..
5491 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
5492 * config/rs6000/t-linux: ..and libgcc flags to here.
5494 2012-01-22 Douglas B Rupp <rupp@gnat.com>
5496 * config.host (i[34567]86-*-interix3*):
5497 Change triplet to i[34567]86-*-interix[3-9]*.
5498 * configure: Regenerate.
5500 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
5501 Richard Sandiford <rdsandiford@googlemail.com>
5503 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
5504 * config/mips/mips16.S (__mips16_rdhwr): New function.
5505 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
5507 2012-01-11 Nathan Sidwell <nathan@acm.org>
5509 * libgcov.c (__gcov_init): Ignore objects with no functions.
5511 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
5514 Extend __pgmx semantics to linearize memory.
5515 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
5516 * config/avr/lib1funcs.S (__xload_1): New function.
5517 (__movmemx_qi, __movmemx_hi): New functions.
5518 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
5521 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
5523 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
5524 purported sigacthandler address isn't null before dereferencing it.
5525 (sparc_is_sighandler): Likewise.
5527 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
5530 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
5531 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
5532 (sparc_is_sighandler): Likewise.
5533 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
5535 2012-01-06 Tristan Gingold <gingold@adacore.com>
5537 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
5538 compatibility thunks...
5539 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
5540 (crtbeginS.o, crtendS.o): ... and these to ...
5541 * config/ia64/t-ia64-elf: ... this new file.
5542 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
5543 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
5545 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5547 * configure: Regenerate.
5548 * config/s390/t-crtstuff: Remove -fPIC.
5550 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5553 * enable-execute-stack-mprotect.c (getpagesize): Do not define
5556 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
5559 * config/avr/lib1funcs.S: Remove FIXME comments.
5560 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
5562 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
5564 Implement light-weight DImode support.
5565 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
5566 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
5567 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
5568 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
5570 2011-12-30 Nathan Sidwell <nathan@acm.org>
5572 * libgcov.c (gcov_crc32): Remove global var.
5573 (free_fn_data): New function.
5574 (buffer_fn_data): Pass in filename, more robust error recovery.
5575 (crc32_unsigned): New function.
5576 (gcov_exit): More robust detection of new program. More robust
5578 (__gcov_init): Do not update program's crc here.
5580 2011-12-21 Tristan Gingold <gingold@adacore.com>
5582 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
5584 2011-12-21 Ian Lance Taylor <iant@google.com>
5586 * config/i386/morestack.S: Simplify CFI opcodes throughout.
5588 2011-12-20 Ian Lance Taylor <iant@google.com>
5590 * config/i386/morestack.S (__morestack_non_split): If there is
5591 enough stack space already, don't split. Ask for more stack space
5594 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
5596 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
5598 (_Unwind_DebugHook): New function.
5599 (uw_restore_core_regs): New define.
5600 (unwind_phase2): Use uw_restore_core_regs instead of
5602 (unwind_phase2_forced): Likewise.
5603 (__gnu_Unwind_Resume): Likewise.
5605 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
5607 * config/alpha/linux-unwind.h: Update copyright years.
5608 (MD_FROB_UPDATE_CONTEXT): New define.
5609 (alpha_frob_update_context): New function.
5611 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
5613 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
5614 tmake_file rather replacing it.
5616 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
5618 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
5619 function is not used for PPC64.
5620 (save_world): Amend comments. Update the VRsave mask to reflect the
5622 (rest_world): Update comments, do not clobber r10, do not use r8.
5623 (eh_rest_world_r10): Amend comments, do not use r8.
5624 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
5625 no longer used, move restore of CR and target address to the end of
5628 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
5630 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
5631 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
5633 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
5636 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
5637 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
5639 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
5641 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
5643 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
5646 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
5647 * config/avr/lib1funcs.S (__muldi3): New function.
5649 2011-12-06 Andrew Pinski <apinski@cavium.com>
5651 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
5653 (__frame_dummy_init_array_entry): Likewise.
5655 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
5657 Forward-port from gcc-4_6-branch r181936 2011-12-02.
5661 * config/avr/lib1funcs.S (__prologue_saves__,
5662 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
5663 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
5665 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
5667 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
5669 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5672 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
5673 (_ITM_deregisterTMCloneTable): Likewise.
5674 (__register_frame_info): Fix unused warning.
5675 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
5676 pthread_default_stacksize_np): Likewise.
5677 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
5679 2011-11-29 DJ Delorie <dj@redhat.com>
5681 * config.host (rl78-*-elf): New case.
5682 * config/rl78: New directory for the Renesas RL78.
5684 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
5686 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
5689 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5692 * config/rs6000/t-savresfgpr: New file.
5693 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
5694 $(srcdir)/config/rs6000/eabi.S.
5695 * config/rs6000/t-ppccomm-ldbl: Remove.
5696 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
5698 (powerpc-*-eabispe*): Likewise.
5699 (powerpc-*-eabi*): Likewise.
5700 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5701 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
5702 to tmake_file, remove rs6000/t-ppccomm-ldbl.
5703 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
5705 (powerpc-*-eabisim*): Likewise.
5706 (powerpc-*-elf*): Likewise.
5707 (powerpc-*-eabialtivec*): Likewise.
5708 (powerpc-xilinx-eabi*): Likewise.
5709 (powerpc-*-rtems*): Likewise.
5710 (powerpcle-*-elf*): Likewise.
5711 (powerpcle-*-eabisim*): Likewise.
5712 (powerpcle-*-eabi*): Likewise.
5714 2011-11-27 Ian Lance Taylor <iant@google.com>
5716 * generic-morestack.c (__splitstack_find): Check for NULL old
5718 (__splitstack_resetcontext): New function.
5719 (__splitstack_releasecontext): New function.
5720 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5722 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
5724 * config/darwin-crt-tm.c: Correct comments, use correct licence.
5726 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
5728 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
5730 2011-11-26 Richard Henderson <rth@redhat.com>
5732 * config/m68k/linux-atomic.c: New file.
5733 * config/m68k/t-linux: New file.
5734 * config.host (m68k-uclinux, m68k-linux): Use it.
5736 2011-11-26 Richard Henderson <rth@redhat.com>
5738 * crtstuff.c (__TMC_LIST__): Mark used not unused.
5739 (__TMC_END__): Only declare if hidden is available; in the definition,
5740 if hidden is unavailable add a null record.
5741 (deregister_tm_clones, register_tm_clones): New.
5742 (__do_global_dtors_aux, frame_dummy): Use them.
5743 (__do_global_dtors, __do_global_ctors_1): Likewise.
5745 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
5747 * config/darwin-crt-tm.c: New file.
5748 * config.host (darwin): Build crttms.o crttme.o to provide
5749 startup and shutdown for tm clones.
5750 * config/t-darwin (crttms.o): New build rule.
5751 (crttme.o): Likewise.
5753 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
5755 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
5758 2011-11-21 Richard Henderson <rth@redhat.com>
5760 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
5761 (__TMC_LIST__, __TMC_END__): New.
5762 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
5763 (__do_global_dtors): Likewise.
5764 (frame_dummy): Call _ITM_registerTMCloneTable.
5765 (__do_global_ctors_1): Likewise.
5767 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5769 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
5770 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5771 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
5772 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
5773 * config/i386/t-darwin64: Remove.
5774 * config/sh/t-netbsd (LIB2ADD): Remove.
5776 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
5779 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
5780 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
5781 * config/avr/lib1funcs.S (wmov): New assembler macro.
5782 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
5783 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
5784 (__udivmod64): New function.
5785 (__negdi2): New function.
5787 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
5789 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
5790 *-*-freebsd*aout*): Remove.
5792 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
5794 * static-object.mk (c_flags-$o): Save c_flags.
5795 ($(base)$(objext)): Use it.
5797 2011-11-18 Steve Ellcey <sje@cup.hp.com>
5799 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
5801 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
5804 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
5805 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
5808 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5810 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
5812 (aeabi_uidivmod): Likewise.
5813 (umodsi3): Likewise.
5815 (aeabi_idivmod): Likewise.
5818 2011-11-16 Tristan Gingold <gingold@adacore.com>
5820 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
5822 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
5825 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
5826 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
5828 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5830 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
5832 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
5833 * config/pa/t-stublib64: Delete.
5835 2011-11-12 Richard Henderson <rth@redhat.com>
5837 * config/rs6000/linux-unwind.h (frob_update_context): Properly
5838 cast the pointer argument to _Unwind_SetGRPtr.
5840 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5842 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
5844 2011-11-09 Ian Lance Taylor <iant@google.com>
5846 * generic-morestack.c: Include <string.h>.
5847 (uintptr_type): Define.
5848 (struct initial_sp): Add dont_block_signals field. Reduce size of
5850 (allocate_segment): Set prev field to NULL. Don't set
5851 __morestack_current_segment or __morestack_segments.
5852 (__generic_morestack): Update current->prev and *pp after calling
5854 (__morestack_block_signals): Don't do anything if
5855 dont_block_signals is set.
5856 (__morestack_unblock_signals): Likewise.
5857 (__generic_findstack): Check for initial_sp == NULL. Add casts to
5859 (__splitstack_block_signals): New function.
5860 (enum __splitstack_content_offsets): Define.
5861 (__splitstack_getcontext, __splitstack_setcontext): New functions.
5862 (__splitstack_makecontext): New function.
5863 (__splitstack_block_signals_context): New function.
5864 (__splitstack_find_context): New function.
5865 * config/i386/morestack.S (__morestack_get_guard): New function.
5866 (__morestack_set_guard, __morestack_make_guard): New functions.
5867 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5869 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5871 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
5872 (i[34567]86-*-mingw*): ... here.
5873 (x86_64-*-mingw*): ... here.
5875 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5877 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
5879 2011-11-07 Nathan Sidwell <nathan@acm.org>
5881 * libgcov.c (struct gcov_fn_buffer): New struct.
5882 (buffer_fn_data): New helper.
5883 (gcov_exit): Rework for new gcov data structures.
5885 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
5888 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
5890 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5892 * config.host (tmake_file): Correct comment.
5893 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
5895 (bfin*-uclinux*): Likewise.
5896 (bfin*-linux-uclibc*): Likewise.
5897 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
5899 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
5901 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5902 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
5903 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5904 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
5905 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5906 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
5907 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
5908 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5909 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
5910 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
5911 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
5912 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
5913 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
5915 * config/bfin/t-elf: Remove.
5916 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
5918 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5920 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
5921 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
5922 (lm32-*-elf*, lm32-*-rtems*): Split into ...
5923 (lm32-*-elf*): ... this.
5924 (lm32-*-rtems*): ... and this.
5926 (m32r-*-rtems*): Add to tmake_file.
5927 (moxie-*-rtems*): Likewise.
5928 (sparc-*-rtems*): Likewise.
5929 Remove t-rtems from tmake_file.
5930 (sparc64-*-rtems*): Likewise.
5931 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
5934 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5937 * config/gthr-posix.h: Move ...
5938 * gthr-posix.h: ... here.
5939 * config/gthr-lynx.h: Reflect this.
5940 * config/gthr-vxworks.h: Likewise.
5941 * config/rs6000/gthr-aix.h: Likewise.
5942 * configure.ac (target_thread_file): Likewise.
5943 * configure: Regenerate.
5945 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
5947 * config.host (arm*-*-rtemseabi*): New target.
5949 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5952 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
5955 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
5957 * config.host (epiphany-*-elf*): New configuration.
5958 * config/epiphany: New Directory.
5960 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
5962 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
5963 * config/avr/t-rtems: New.
5964 Filter out _exit from LIB1ASMFUNCS.
5966 2011-11-04 David S. Miller <davem@davemloft.net>
5968 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
5969 * configure: Rebuild.
5971 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5973 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
5976 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
5979 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
5980 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
5982 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
5985 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
5987 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5989 * config/c6x/t-elf (LIB2ADDEH): Set.
5990 * config/c6x/t-c6x-elf: Remove.
5992 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5994 * config/i386/sol2-ci.S: Rename to ...
5995 * config/i386/crti.S: ... this.
5996 * config/i386/sol2-cn.S: Rename to ...
5997 * config/i386/crtn.S: ... this.
5998 * config/sparc/sol2-ci.S: Rename to ...
5999 * config/sparc/crti.S: ... this.
6000 * config/sparc/sol2-cn.S: Rename to ...
6001 * config/sparc/crtn.S: ... this.
6002 * config/t-sol2 (CUSTOM_CRTIN): Remove.
6003 (crti.o, crtn.o): Remove.
6005 2011-11-04 Tristan Gingold <gingold@adacore.com>
6007 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6009 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
6011 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6013 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
6015 * config.host (crisv32-*-none, cris-*-none): Remove.
6016 (crisv32-*-elf): Append to tmake_file, don't just set it.
6017 (cris-*-elf): Add missing t-fdpbit to tmake_file.
6019 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6021 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6022 (ecrtn$(objext)): Likewise.
6023 (ncrti$(objext)): Likewise.
6024 (ncrtn$(objext)): Likewise.
6026 2011-11-03 Andreas Schwab <schwab@redhat.com>
6028 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6030 2011-11-02 David S. Miller <davem@davemloft.net>
6032 * configure.ac: Set host_address on sparc too.
6033 * configure: Regenerate.
6034 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6035 based upon host_address.
6036 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6038 2011-11-02 Jason Merrill <jason@redhat.com>
6040 * config/rs6000/t-ppccomm: Add missing \.
6042 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6044 * gthr-single.h, gthr.h: New files.
6045 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6046 config/gthr-vxworks.h, config/i386/gthr-win32.h,
6047 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6048 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6049 * config/i386/gthr-win32.c: Include "gthr-win32.h".
6050 * configure.ac (thread_header): New variable.
6051 Set it depending on target_thread_file.
6052 (gthr-default.h): Link from $thread_header.
6053 * configure: Regenerate.
6054 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6056 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6058 * configure.ac (tm_file_): New variable.
6059 Determine from tm_file.
6060 (tm_file, tm_defines): Substitute.
6061 * configure: Regenerate.
6062 * mkheader.sh: New file.
6063 * Makefile.in (clean): Remove libgcc_tm.h.
6064 ($(objects)): Depend on libgcc_tm.h.
6065 (libgcc_tm_defines, libgcc_tm_file): New variables.
6066 (libgcc_tm.h, libgcc_tm.stamp): New targets.
6067 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6068 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6069 ($(extra-parts)): Depend on libgcc_tm.h.
6070 * config.host (tm_defines, tm_file): New variable.
6071 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6072 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6073 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
6074 (avr-*-rtems*): Likewise.
6075 (avr-*-*): Likewise.
6076 (frv-*-elf): Likewise.
6077 (frv-*-*linux*): Likewise.
6078 (h8300-*-rtems*): Likewise.
6079 (h8300-*-elf*): Likewise.
6080 (i[34567]86-*-darwin*): Likewise.
6081 (x86_64-*-darwin*): Likewise.
6082 (rx-*-elf): Likewise.
6083 (tic6x-*-uclinux): Likewise.
6084 (tic6x-*-elf): Likewise.
6085 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
6086 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
6087 * config/i386/cygming-crtbegin.c: Likewise.
6088 * config/i386/cygming-crtend.c: Likewise.
6089 * config/ia64/fde-vms.c: Likewise.
6090 * config/ia64/unwind-ia64.c: Likewise.
6091 * config/libbid/bid_gcc_intrinsics.h: Likewise.
6092 * config/rs6000/darwin-fallback.c: Likewise.
6093 * config/stormy16/lib2funcs.c: Likewise.
6094 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
6095 * crtstuff.c: Likewise.
6096 * dfp-bit.h: Likewise.
6097 * emutls.c: Likewise.
6098 * fixed-bit.c: Likewise.
6099 * fp-bit.c: Likewise.
6100 * generic-morestack-thread.c: Likewise.
6101 * generic-morestack.c: Likewise.
6102 * libgcc2.c: Likewise.
6103 * libgcov.c: Likewise.
6104 * unwind-dw2-fde-dip.c: Likewise.
6105 * unwind-dw2-fde.c: Likewise.
6106 * unwind-dw2.c: Likewise.
6107 * unwind-sjlj.c: Likewise.
6109 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6111 * configure.ac: Include ../config/picflag.m4.
6112 (GCC_PICFLAG): Call it.
6114 * configure: Regenerate.
6115 * Makefile.in (gcc_srcdir): Remove.
6116 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
6117 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
6118 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
6119 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
6120 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
6123 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
6124 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
6125 to refer to libgcc2.c.
6127 * config/darwin-64.c: New file.
6128 * config/darwin-crt3.c: Remove comment.
6129 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
6130 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
6131 config/udivmodsi4.c: New files.
6132 * config/memcmp.c, config/memcpy.c, config/memmove.c,
6133 config/memset.c: New files.
6134 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
6135 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
6136 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
6137 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
6138 * config/t-openbsd-thread: New file.
6139 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
6140 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
6141 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
6142 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
6145 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
6146 to refer to gthr-posix.c.
6147 * config/alpha/t-vms (LIB2ADD): Set.
6148 * config/alpha/vms-gcc_shell_handler.c: New file.
6149 * config/arm/bpabi.c, config/arm/fp16.c,
6150 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
6151 config/arm/unaligned-funcs.c: New files.
6152 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
6153 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6154 * config/arm/t-linux: Likewise.
6155 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
6156 * config/arm/t-netbsd: New file.
6157 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
6158 * config/arm/t-symbian (LIB2ADD_ST): Set.
6159 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
6160 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6161 * config/bfin/t-elf: New file.
6162 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
6163 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
6164 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
6165 config/c6x/ltf.c: New files.
6166 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
6167 (HOST_LIBGCC2_CFLAGS): Set.
6168 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
6169 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6170 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
6172 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
6173 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
6174 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
6175 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
6176 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
6178 * config/frv/t-frv (LIB2ADD): Set.
6179 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6180 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
6181 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
6182 config/h8300/popcounthi2.c: New files.
6183 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6184 * config/i386/gthr-win32.c: New file.
6185 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
6186 * config/i386/t-cygwin: Likewise.
6187 * config/i386/t-darwin, config/i386/t-darwin64,
6188 config/i386/t-gthr-win32, config/i386/t-interix: New files.
6189 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
6190 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6191 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6192 * config/ia64/quadlib.c: New file.
6193 * config/ia64/t-hpux (LIB2ADD): Set.
6194 * config/ia64/t-ia64: Add comment.
6195 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
6196 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6197 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
6198 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
6199 * config/m32c/t-m32c (LIB2ADD): Set.
6200 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6201 * config/m32r/t-m32r: Likewise.
6202 * config/m68k/fpgnulib.c: New file.
6203 * config/m68k/t-floatlib (LIB2ADD): Set.
6204 (xfgnulib.c): New target.
6205 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
6206 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
6207 * config/mep/t-mep (LIB2ADD): Set.
6208 * config/microblaze/divsi3.asm: Rename to divsi3.S.
6209 * config/microblaze/moddi3.asm: Rename to moddi3.S.
6210 * config/microblaze/modsi3.asm: Rename to modsi3.S.
6211 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
6212 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
6213 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
6214 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
6215 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
6216 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
6217 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
6219 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
6220 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
6221 * config/pa/fptr.c, config/pa/lib2funcs.S,
6222 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
6223 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6224 (LIB2ADD, LIB2ADD_ST): Set.
6225 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
6226 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
6228 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
6229 * config/pdp11/t-pdp11: New file.
6230 * config/picochip/libgccExtras/adddi3.S,
6231 config/picochip/libgccExtras/ashlsi3.S,
6232 config/picochip/libgccExtras/ashrsi3.S,
6233 config/picochip/libgccExtras/clzsi2.S,
6234 config/picochip/libgccExtras/cmpsi2.S,
6235 config/picochip/libgccExtras/divmod15.S,
6236 config/picochip/libgccExtras/divmodhi4.S,
6237 config/picochip/libgccExtras/divmodsi4.S,
6238 config/picochip/libgccExtras/lshrsi3.S,
6239 config/picochip/libgccExtras/parityhi2.S,
6240 config/picochip/libgccExtras/popcounthi2.S,
6241 config/picochip/libgccExtras/subdi3.S,
6242 config/picochip/libgccExtras/ucmpsi2.S,
6243 config/picochip/libgccExtras/udivmodhi4.S,
6244 config/picochip/libgccExtras/udivmodsi4.S: New files.
6245 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
6246 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
6247 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
6248 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
6249 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
6250 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
6251 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
6252 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
6254 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
6255 (HOST_LIBGCC2_CFLAGS): Set.
6256 * config/rs6000/t-darwin64: New file.
6257 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
6258 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
6259 * config/rs6000/t-ppccomm (LIB2ADD): Add
6260 $(srcdir)/config/rs6000/tramp.S.
6261 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
6262 Add $(srcdir)/config/rs6000/eabi.S.
6263 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
6264 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
6265 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
6266 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
6267 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
6268 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
6269 * config/rs6000/tramp.S: New file.
6270 * config/s390/t-tpf: Remove.
6271 * config/sh/linux-atomic.S: New file.
6272 * config/sh/t-linux (LIB2ADD): Set.
6273 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
6274 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6275 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
6277 (HOST_LIBGCC2_CFLAGS): Set.
6278 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6279 * config/spu/divmodti4.c, config/spu/divv2df3.c,
6280 config/spu/float_disf.c, config/spu/float_unsdidf.c,
6281 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
6282 config/spu/mfc_multi_tag_release.c,
6283 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
6284 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
6285 config/spu/multi3.c: New files.
6286 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
6287 (HOST_LIBGCC2_CFLAGS): Set.
6288 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
6289 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
6290 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
6291 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
6292 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
6293 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
6294 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
6295 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
6296 config/stormy16/umodsi3.c: New files.
6297 * config/xtensa/lib2funcs.S: New file.
6298 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6299 * config/xtensa/t-xtensa (LIB2ADD): Set.
6300 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
6301 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
6302 Add t-freebsd-thread to tmake_file for posix threads.
6303 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
6304 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
6305 (*-*-lynxos*): Likewise.
6306 (*-*-netbsd*): Likewise.
6307 (*-*-openbsd*): Likewise.
6308 Add t-openbsd-thread to tmake_file for posix threads.
6309 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
6310 (*-*-vxworks*): Set tmake_file.
6311 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6312 (alpha*-*-freebsd*): Likewise.
6313 (alpha*-*-netbsd*): Likewise.
6314 (alpha*-*-openbsd*): Likewise.
6315 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
6316 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6317 (alpha*-dec-*vms*): Likewise.
6318 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
6319 (bfin*-elf*): Add bfin/t-elf to tmake_file.
6320 (bfin*-uclinux*): Likewise.
6321 (bfin*-linux-uclibc*): Likewise.
6322 (crisv32-*-elf): Add cris/t-cris to tmake_file.
6323 (crisv32-*-none): Likewise.
6324 (cris-*-elf): Likewise.
6325 (cris-*-none): Likewise.
6326 (cris-*-linux*, crisv32-*-linux*): Likewise.
6327 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
6329 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
6331 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
6332 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
6333 (x86_64-*-elf*): Likewise.
6334 (i[34567]86-*-nto-qnx*): Likewise.
6335 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
6337 (x86_64-*-mingw*): Likewise.
6338 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
6339 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
6340 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6341 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6342 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
6344 (mipsisa64sr71k-*-elf*): Likewise.
6345 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6346 (mips-*-elf*, mipsel-*-elf*): Likewise.
6347 (mips64-*-elf*, mips64el-*-elf*): Likewise.
6348 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6349 (mips*-*-rtems*): Likewise.
6350 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
6352 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
6353 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
6354 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
6355 (spu-*-elf*): Likewise.
6356 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
6358 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6360 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
6361 $(srcdir) to refer to $(LIB1ASMSRC).
6363 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
6364 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
6365 config/arm/lib1funcs.S: New files.
6366 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
6367 * config/arm/t-arm: New file.
6368 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
6369 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
6370 config/arm/t-strongarm-elf: New files.
6371 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
6372 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
6373 * config/avr/lib1funcs.S: New file.
6374 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6375 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
6376 * config/c6x/lib1funcs.S: New file.
6377 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6378 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
6379 * config/frv/lib1funcs.S: New file.
6380 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6381 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
6382 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
6383 * config/ia64/__divxf3.asm: Rename to ...
6384 * config/ia64/__divxf3.S: ... this.
6385 Adapt lib1funcs.asm filename.
6386 * config/ia64/_fixtfdi.asm: Rename to ...
6387 * config/ia64/_fixtfdi.S: ... this.
6388 Adapt lib1funcs.asm filename.
6389 * config/ia64/_fixunstfdi.asm: Rename to ...
6390 * config/ia64/_fixunstfdi.S: ... this.
6391 Adapt lib1funcs.asm filename.
6392 * config/ia64/_floatditf.asm: Rename to ...
6393 * config/ia64/_floatditf.S: ... this.
6394 Adapt lib1funcs.asm filename.
6395 * config/ia64/lib1funcs.S: New file.
6396 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
6397 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6398 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
6399 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
6400 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
6401 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
6402 * config/mep/lib1funcs.S: New file.
6403 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6404 * config/mips/mips16.S: New file.
6405 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6406 * config/pa/milli64.S: New file.
6407 * config/pa/t-linux, config/pa/t-linux64: New files.
6408 * config/picochip/lib1funcs.S: New file.
6409 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6410 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
6411 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
6412 * config/sh/t-netbsd: New file.
6413 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
6414 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
6415 * config/sh/t-sh64: New file.
6416 * config/sparc/lb1spc.S: New file.
6417 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
6419 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
6420 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
6421 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
6422 config/xtensa/lib1funcs.S: New files.
6423 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6424 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
6426 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
6427 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
6428 (arm*-*-linux*): Likewise.
6429 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
6430 arm*-*-linux-*eabi, add arm/t-linux otherwise.
6431 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
6432 (arm*-*-ecos-elf): Likewise.
6433 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6434 (arm*-*-rtems*): Likewise.
6435 (arm*-*-elf): Likewise.
6436 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
6437 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
6438 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
6439 (bfin*-uclinux*): Likewise.
6440 (bfin*-linux-uclibc*): Likewise.
6441 (bfin*-rtems*): Likewise.
6442 (bfin*-*): Likewise.
6443 (fido-*-elf): Merge into m68k-*-elf*.
6444 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
6445 (frv-*-*linux*): Add frv/t-frv to tmake_file.
6446 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
6447 (h8300-*-elf*): Likewise.
6448 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
6449 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
6450 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
6451 (i[34567]86-*-mingw*): Likewise.
6452 (x86_64-*-mingw*): Likewise.
6453 (i[34567]86-*-interix3*): Likewise.
6454 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
6455 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
6456 (m68k-*-elf*): Also handle fido-*-elf.
6457 Add m68k/t-floatlib to tmake_file.
6458 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
6459 (m68k-*-linux*): Likewise.
6460 (m68k-*-rtems*): Likewise.
6461 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
6462 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
6464 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
6465 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
6466 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
6467 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
6468 sh/t-netbsd to tmake_file.
6469 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
6470 (sh-*-rtems*): Add sh/t-sh to tmake_file.
6471 (sh-wrs-vxworks): Likewise.
6472 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
6474 (v850*-*-*): Add v850/t-v850 to tmake_file.
6475 (vax-*-linux*): Add vax/t-linux to tmake_file.
6476 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
6478 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6480 * crtstuff.c: New file.
6481 * Makefile.in (CRTSTUFF_CFLAGS): Define.
6482 (CRTSTUFF_T_CFLAGS): Define.
6483 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
6484 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
6485 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
6488 (crtbeginT.o): Use $(objext).
6489 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
6490 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
6491 (gcc-extra-parts): Remove.
6492 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
6494 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6495 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
6496 Add t-crtstuff-pic to tmake_file.
6497 (*-*-lynxos*): New case.
6498 Set tmake_file, extra_parts.
6499 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
6500 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
6501 *-*-netbsdelf[2-9]*.
6502 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
6503 (*-*-rtems*): Set extra_parts.
6504 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
6505 (*-*-uclinux*): New case.
6507 (*-*-vms*): New case.
6508 Set tmake_file, extra_parts.
6509 (*-*-elf): Set extra_parts.
6510 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
6511 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
6514 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
6516 (arm*-*-freebsd*): Add t-crtin to tmake_file.
6517 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
6518 (arm-wrs-vxworks): Append to tmake_file.
6520 (arm*-*-uclinux*): Set extra_parts.
6521 (arm*-*-ecos-elf): Likewise.
6522 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
6524 (arm*-*-rtems*): Set extra_parts.
6525 (arm*-*-elf): Likewise.
6526 (avr-*-rtems*): Clear extra_parts.
6527 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
6529 (bfin*-uclinux*): Likewise.
6530 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
6531 (bfin*-rtems*): Append to tmake_file.
6533 (bfin*-*): Likewise.
6534 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
6535 (crisv32-*-elf): ... this.
6536 (crisv32-*-none): ... this.
6537 (cris-*-elf, cris-*-none): New cases.
6538 Add cris/t-elfmulti to tmake_file.
6539 (fr30-*-elf): Append to tmake_file.
6541 (frv-*-elf): Append to tmake_file, add frv/t-frv.
6543 (h8300-*-rtems*): Append to tmake_file.
6545 (h8300-*-elf*): Likewise.
6546 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
6548 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
6550 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
6551 (x86_64-*-elf*): Likewise.
6552 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
6553 (x86_64-*-freebsd*): Likewise.
6554 (x86_64-*-netbsd*): Likewise.
6555 (i[34567]86-*-linux*): Likewise.
6556 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
6557 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
6558 (x86_64-*-linux*): Likewise.
6559 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
6560 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
6563 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
6564 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
6565 Append to extra_parts, remove crtbegin.o, crtend.o.
6566 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
6567 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
6568 crtend.o, crtbeginS.o, crtendS.o.
6569 (ia64*-*-linux*): Comment extra_parts.
6570 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
6572 (iq2000*-*-elf*): Clear extra_parts.
6573 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
6574 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
6575 (m32r-*-elf*, m32r-*-rtems*): Split off ...
6576 (m32r-*-rtems*): ... this.
6577 Add m32r/t-m32r to tmake_file.
6578 (m68k-*-elf*): Add t-crtin to tmake_file.
6579 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
6580 (mcore-*-elf): Likewise.
6581 (microblaze*-*-*): Set extra_parts.
6582 (mips*-sde-elf*): New case.
6583 Set tmake_file, extra_parts.
6584 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6585 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6586 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
6589 (mipsisa64sr71k-*-elf*): Likewise.
6590 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6591 (mips-*-elf*, mipsel-*-elf*): Likewise.
6592 (mips64-*-elf*, mips64el-*-elf*): Likewise.
6593 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
6594 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6595 (mips*-*-rtems*): Likewise.
6596 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
6597 (moxie-*-*): Split into ...
6598 (moxie-*-elf, moxie-*-uclinux*): ... this.
6599 Add to extra_parts, remove crtbegin.o, crtend.o.
6600 (moxie-*-rtems*): New case.
6603 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
6605 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6606 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
6609 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
6610 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
6612 (powerpc-*-eabisim*): Likewise.
6613 (powerpc-*-elf*): Likewise.
6614 (powerpc-*-eabialtivec*): Likewise.
6615 (powerpc-xilinx-eabi*): Likewise.
6616 (powerpc-*-eabi*): Likewise.
6617 (powerpc-*-rtems*): Likewise.
6618 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
6621 (powerpc-*-lynxos*): Add to tmake_file.
6622 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
6623 rs6000/t-crtstuff, t-crtstuff-pic.
6625 (powerpcle-*-eabisim*): Likewise.
6626 (powerpcle-*-eabi*): Likewise.
6627 (rx-*-elf): Remove extra_parts.
6628 (s390x-ibm-tpf*): Set extra_parts.
6629 (score-*-elf): Set extra_parts.
6630 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6631 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6632 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6633 (sh64l*-*-netbsd*): Split into ...
6634 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
6635 Add t-crtstuff-pic to tmake_file.
6637 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
6639 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
6640 (sparc-*-elf*): Remove t-crtin from tmake_file.
6641 Add to extra_parts, remove crtbegin.o, crtend.o.
6642 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
6643 (sparc64-*-linux*): Likewise.
6644 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
6645 Add to extra_parts, remove crtbegin.o, crtend.o.
6646 (sparc64-*-elf*): Remove t-crtin from tmake_file.
6647 Add to extra_parts, remove crtbegin.o, crtend.o.
6648 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
6649 Add to extra_parts, remove crtbegin.o, crtend.o.
6650 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
6651 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
6652 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
6654 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
6656 (tic6x-*-*): Change to ...
6657 (tic6x-*-elf): ... this.
6659 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
6661 (am33_2.0-*-linux*): Add comment.
6662 (mep*-*-*): Add mep/t-mep to tmake_file.
6664 * config/alpha/t-vms: New file.
6665 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
6666 * config/arm/crti.S, config/arm/crtn.S: New files.
6667 * config/bfin/crti.S, config/bfin/crtn.S: New files.
6668 * config/bfin/crtlibid.S: New file.
6669 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
6670 * config/c6x/crti.S, config/c6x/crtn.S: New files.
6671 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
6672 (crti.o, crtin.o): New rules.
6673 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6674 * config/c6x/t-uclinux: New file.
6675 * config/cris/t-elfmulti: New file.
6676 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
6677 * config/fr30/crti.S, config/fr30/crtn.S: New files.
6678 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
6679 * config/frv/t-frv: New file.
6680 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
6681 * config/h8300/crti.S, config/h8300/crtn.S: New files.
6682 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
6684 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
6685 refer to cygming-crtbegin.c, cygming-crtend.c.
6687 * config/i386/t-nto: New file.
6688 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
6689 * config/ia64/crti.S, config/ia64/crtn.S: New files.
6690 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
6691 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
6694 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6695 (crtinitS.o): New rule.
6696 * config/ia64/vms-crtinit.S: New file.
6697 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
6698 * config/m32r/initfini.c: New file.
6699 * config/m32r/t-linux, config/m32r/t-m32r: New files.
6700 * config/m68k/crti.S, config/m68k/crtn.S: New files.
6701 * config/mcore/crti.S, config/mcore/crtn.S: New files.
6702 * config/mep/t-mep: New file.
6703 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
6704 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
6705 * config/mips/crti.S, config/mips/crtn.S: New files.
6706 * config/mips/t-crtstuff: New file.
6707 * config/mmix/crti.S, config/mmix/crtn.S: New files.
6708 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
6709 (CUSTOM_CRTIN): Set.
6710 ($(T)crti.o, $(T)crtn.o): Remove $(T),
6712 Use $(srcdir) to refer to crti.S, crtn.S.
6713 Use .S extension, $<.
6714 * config/moxie/crti.asm: Rename to ...
6715 * config/moxie/crti.S: ... this.
6716 * config/moxie/crtn.asm: Rename to ...
6717 * config/moxie/crtn.S: ... this.
6718 * config/moxie/t-moxie: Remove.
6719 * config/pa/stublib.c: New file.
6720 * config/pa/t-stublib, config/pa/t-stublib64: New files.
6721 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
6722 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
6723 * config/rs6000/t-crtstuff: New file.
6724 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
6725 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
6726 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
6727 Make output file explicit.
6728 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
6729 Make output file explicit.
6730 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
6731 Make output file explicit.
6732 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
6733 Make output file explicit.
6734 * config/score/crti.S, config/score/crtn.S: New files.
6735 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
6736 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
6738 * config/sh/t-sh, config/sh/t-superh: New files.
6739 * config/sparc/t-linux64: New file.
6740 * config/spu/cache.S, config/spu/cachemgr.c: New files.
6741 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
6742 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
6743 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
6744 * config/t-crtin: Remove.
6745 * config/t-crtstuff-pic: New file.
6746 * config/t-sol2 (CUSTOM_CRTIN): Set.
6747 (crti.o, crtn.o): New rules.
6748 * config/vms/t-vms: New file.
6749 * config/vms/vms-ucrt0.c: New file.
6750 * config/xtensa/t-elf: New file.
6752 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6754 * Makefile.in (SHLIB_NM_FLAGS): Set.
6755 * mkmap-flat.awk, mkmap-symver.awk: New files.
6756 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
6758 * configure: Regenerate.
6759 * config/libgcc-glibc.ver: New file.
6760 * config/libgcc-libsystem.ver: New file.
6761 * config/t-libunwind (SHLIB_LC): Set.
6762 * config/t-linux: New file.
6763 * config/t-slibgcc (INSTALL_SHLIB): New.
6764 (SHLIB_INSTALL): Use it.
6765 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
6766 to mkmap-symver.awk.
6767 (SHLIB_MAPFILES): Don't append, adapt pathname.
6768 (SHLIB_VERPFX): Set.
6769 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
6770 to mkmap-symver.awk.
6771 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
6772 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
6773 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
6774 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
6776 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
6777 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
6778 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
6779 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
6780 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
6781 * config/i386/libgcc-darwin.10.4.ver,
6782 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
6784 * config/i386/t-darwin: Remove.
6785 * config/i386/t-darwin64: Likewise.
6786 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
6787 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
6788 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
6789 * config/i386/t-linux: New file.
6790 * config/i386/t-mingw32: New file.
6791 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
6792 * config/ia64/t-glibc: Rename to ...
6793 * config/ia64/t-linux: ... this.
6794 (SHLIB_MAPFILES): Set.
6795 * config/ia64/t-glibc-libunwind: Rename to ...
6796 * config/ia64/t-linux-libunwind: ... this.
6797 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
6798 * config/ia64/t-slibgcc-hpux: New file.
6799 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
6800 * config/m68k/t-slibgcc-elf-ver: New file.
6801 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
6802 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
6804 * config/pa/t-slibgcc-hpux: New file.
6805 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
6807 * config/rs6000/libgcc-darwin.10.4.ver,
6808 config/rs6000/libgcc-darwin.10.5.ver: New files.
6809 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
6810 config/rs6000/libgcc-glibc.ver.
6811 * config/rs6000/libgcc-ppc64.ver: Rename to
6812 config/rs6000/libgcc-ibm-ldouble.ver.
6813 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
6814 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
6815 * config/rs6000/t-ldbl128: Rename to ...
6816 * config/rs6000/t-linux: ... this.
6817 (SHLIB_MAPFILES): Adapt filename.
6818 * config/rs6000/t-slibgcc-aix: New file.
6819 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
6820 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
6821 libgcc-excl.ver, libgcc-glibc.ver.
6822 (SHLIB_LINK, SHLIB_INSTALL): Remove.
6823 * config/sparc/libgcc-glibc.ver: New file.
6824 * config/sparc/t-linux: New file.
6825 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
6826 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
6827 t-slibgcc-elf-ver to tmake_file.
6828 Add t-slibgcc-nolc-override to tmake_file for posix threads on
6830 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6831 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
6832 t-slibgcc-elf-ver, t-linux to tmake_file.
6833 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
6835 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
6836 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
6837 (alpha*-dec-*vms*): Likewise.
6838 (arm*-*-freebsd*): Append to tmake_file.
6839 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
6840 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
6842 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
6843 tmake_file for arm*-*-symbianelf*.
6844 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
6845 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
6847 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
6848 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
6849 pa/t-slibgcc-dwarf-ver to tmake_file.
6850 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
6851 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
6852 (hppa*64*-*-hpux11*): Likewise.
6853 (hppa[12]*-*-hpux11*): Likewise.
6854 (x86_64-*-darwin*): Don't override tmake_file, but only keep
6855 i386/t-crtpc, i386/t-crtfm.
6856 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
6857 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6859 Add i386/t-cygwin to tmake_file.
6860 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
6861 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
6862 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6864 Add i386/t-mingw32 to tmake_file.
6865 (x86_64-*-mingw*): Likewise.
6866 (ia64*-*-freebsd*): Append to tmake_file.
6867 (ia64*-*-linux*): Append to tmake_file.
6868 Replace ia64/t-glibc by ia64/t-linux.
6869 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
6871 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
6872 t-slibgcc-hpux to tmake_file.
6873 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
6874 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
6875 (m32rle-*-linux*): Likewise.
6876 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
6878 (microblaze*-linux*): New case.
6879 Append to tmake_file, add t-slibgcc-nolc-override.
6880 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
6881 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6882 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
6883 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6884 rs6000/t-slibgcc-aix to tmake_file.
6885 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6886 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6887 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6888 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6889 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6890 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
6892 (sparc-*-linux*): Append to tmake_file for *-leon*.
6893 Add sparc/t-linux to tmake_file for non-Leon targets.
6894 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
6895 (tic6x-*-uclinux): New case.
6896 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
6897 (tic6x-*-*): Add c6x/t-elf to tmake_file.
6898 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
6899 (am33_2.0-*-linux*): Append to tmake_file.
6900 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6901 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
6902 x86_64-*-kfreebsd*-gnu.
6903 Add i386/t-linux to tmake_file.
6905 2011-10-28 Ian Lance Taylor <iant@google.com>
6907 * config/i386/morestack.S: Correct CFI information to do proper
6908 returns throughout function. In 32-bit mode, save %ebx so that it
6909 is restored on unwind.
6911 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
6913 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
6914 case where B3 isn't the return register.
6916 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
6917 logic for doubleword pops.
6919 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
6921 * config/rs6000/t-freebsd: Add wildcard.
6923 2011-10-21 Paul Brook <paul@codesourcery.com>
6925 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
6927 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
6928 Eric Botcazou <ebotcazou@adacore.com>
6931 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
6932 fs->signal_frame to 1.
6934 2011-10-07 Ian Lance Taylor <iant@google.com>
6936 * generic-morestack-thread.c: #include <errno.h>.
6938 2011-10-07 Ian Lance Taylor <iant@google.com>
6941 * generic-morestack.c (__generic_morestack): Make sure the segment
6942 is large enough for both the stack frame and the copied
6945 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6948 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
6951 2011-09-28 Nick Clifton <nickc@redhat.com>
6953 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
6954 64-bit doubles are not enabled.
6955 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
6956 and floatunsisf functions.
6958 2011-09-13 Paul Brook <paul@codesourcery.com>
6960 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
6961 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
6962 * unwind-arm-common.inc: New file.
6963 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
6964 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
6965 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
6966 * config/c6x/libunwind.S: New file.
6967 * config/c6x/pr-support.c: New file.
6968 * config/c6x/unwind-c6x.c: New file.
6969 * config/c6x/unwind-c6x.h: New file.
6970 * config/c6x/t-c6x-elf: New file.
6972 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
6974 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
6975 (ASM_DIVZERO): Ditto.
6976 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
6978 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
6980 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
6982 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
6985 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
6986 instead of an assembly one.
6988 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
6991 * Makefile.in (install-unwind_h): Create
6992 $(gcc_objdir)/include/unwind.h atomically.
6994 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6996 * Makefile.in (install-unwind_h): Remove destination file first.
6998 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7001 * config/mips/t-mips16: New file.
7002 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7003 (mips*-*-linux*): Likewise.
7004 (mips*-sde-elf*): Likewise.
7005 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7006 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7007 Add mips/t-mips16 to tmake_file.
7008 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7009 (mips-*-elf*): Likewise.
7010 (mips64-*-elf*): Likewise.
7011 (mips64orion-*-elf*): Likewise.
7012 (mips*-*-rtems*): Likewise.
7013 (mipstx39-*-elf*): Likewise.
7014 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7015 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7017 Use $(srcdir) to refer to sync.c.
7019 ($(libgcc-sync-funcs-o)): Likewise.
7020 ($(libgcc-sync-size-funcs-s-o)): Likewise.
7021 ($(libgcc-sync-funcs-s-o)): Likewise.
7023 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7025 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7028 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
7031 * config/i386/value-unwind.h: New.
7033 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
7035 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7036 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7037 Add to tmake_file rather than overriding it.
7039 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7041 * config/t-softfp: Remove.
7042 * soft-fp: Moved from ../gcc/config.
7043 * soft-fp/README: Remove t-softfp reference.
7044 * soft-fp/t-softfp: Move to config/t-softfp.
7045 (softfp_machine_header): Remove.
7046 (softfp_file_list): Remove config subdir.
7047 (soft-fp-objects): New variable.
7048 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7049 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7050 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7051 * config/t-softfp-excl: New file.
7052 * config/t-softfp-sfdf: New file.
7053 * config/t-softfp-tf: New file.
7054 * config/no-sfp-machine.h: New file.
7055 * config/arm/sfp-machine.h: New file.
7056 * config/arm/t-softfp: New file.
7057 * config/c6x/sfp-machine.h: New file.
7058 * config/i386/32/t-fprules-softfp: Rename to ...
7059 * config/i386/32/t-softfp: ... this.
7060 (tifunctions, LIB2ADD): Remove.
7061 (softfp_int_modes): Override.
7062 * config/i386/64/t-softfp-compat (tf-functions): Remove config
7064 * config/i386/64/eqtf2.c: Likewise.
7065 * config/i386/64/getf2.c: Likewise.
7066 * config/i386/64/letf2.c: Likewise.
7067 * config/ia64/sft-machine.h: New file.
7068 * config/ia64/t-fprules-softfp: Rename to ...
7069 * config/ia64/t-softfp: ... this.
7070 * config/lm32/sfp-machine.h: New file.
7071 * config/moxie/t-moxie-softfp: Remove.
7072 * config/rs6000/ibm-ldouble-format: New file.
7073 * config/rs6000/ibm-ldouble.c: New file.
7074 * config/rs6000/libgcc-ppc-glibc.ver: New file
7075 * config/rs6000/libgcc-ppc64.ver: New file
7076 * config/rs6000/sfp-machine.h: New file.
7077 * config/rs6000/t-freebsd: New file.
7078 * config/rs6000/t-ibm-ldouble: New file.
7079 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
7080 libgcc-ppc-glibc.ver.
7081 * config/rs6000/t-linux64: New file.
7082 * config/rs6000/t-ppccomm (LIB2ADD): Add
7083 $(srcdir)/config/rs6000/ibm-ldouble.c.
7084 * config/rs6000/t-ppccomm-ldbl: New file.
7085 * config/score/sfp-machine.h: New file.
7086 * config.host (sfp_machine_header): Explain.
7087 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
7088 t-softfp to tmake_file.
7089 (arm*-*-uclinux*): Likewise.
7090 (arm*-*-ecos-elf): Likewise.
7091 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7092 (arm*-*-rtems*): Likewise.
7093 (arm*-*-elf): Likewise.
7094 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
7096 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
7097 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
7098 (lm32-*-uclinux*): Likewise.
7099 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
7100 t-softfp-excl, t-softfp.
7101 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
7102 (powerpc64-*-darwin*): Likewise.
7103 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
7105 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
7107 (powerpc-*-eabisim*): Likewise.
7108 (powerpc-*-elf*): Likewise.
7109 (powerpc-*-eabialtivec*): Likewise.
7110 (powerpc-xilinx-eabi*): Likewise.
7111 (powerpc-*-rtems*): Likewise.
7112 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
7113 t-softfp-excl, t-softfp to tmake_file.
7114 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
7115 rs6000/t-ppccomm-ldbl to tmake_file.
7116 (powerpcle-*-elf*): Likewise.
7117 (powerpcle-*-eabisim*): Likewise.
7118 (powerpcle-*-eabi*): Likewise.
7119 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7120 rs6000/t-ibm-ldouble to tmake_file.
7121 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7122 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7123 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
7124 (tic6x-*-*): Likewise.
7125 (i[34567]86-*-darwin*, x86_64-*-darwin*,
7126 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
7127 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
7128 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
7129 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
7130 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
7131 t-softfp to tmake_file.
7132 * configure.ac (sfp_machine_header): Provide default if unset.
7134 Link sfp-machine.h to config/$sfp_machine_header.
7135 * configure: Regenerate.
7137 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7139 * Makefile.in (double_type_size, long_double_type_size): Set.
7140 Remove $(fpbit-in-libgcc) support.
7141 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
7142 (fpbit-src): New variable.
7143 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
7144 Compile with -DFLOAT $(FPBIT_CFLAGS).
7146 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
7147 Compile with $(FPBIT_CFLAGS).
7149 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
7150 Compile with -DFLOAT $(TPBIT_CFLAGS).
7152 * configure.ac (double_type_size, long_double_type_size):
7153 Determine and substitute.
7154 * configure: Regenerate.
7155 * fp-bit.c, fp-bit.h: New files.
7156 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
7157 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
7158 * config/mips/t-mips: New file.
7159 * config/mips/t-sdemtk: New file.
7160 * config/rs6000/ppc64-fp.c: New file.
7161 * config/rs6000/t-darwin (LIB2ADD): Add
7162 $(srcdir)/config/rs6000/ppc64-fp.c.
7163 * config/rs6000/t-ppc64-fp: New file.
7164 * config/rx/rx-lib.h: New file.
7165 * config/rx/t-rx (FPBIT): Set to true.
7166 ($(gcc_objdir)/fp-bit.c): Remove.
7167 (DPBIT): Set to true only with -m64bit-doubles.
7168 ($(gcc_objdir)/dp-bit.c): Remove.
7169 * config/sparc/t-softfp: Remove.
7170 * config/spu/t-elf: New file.
7171 * config/t-fdpbit, config/t-fpbit: New files.
7172 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
7173 (mips*-*-*): Likewise.
7174 (arm-wrs-vxworks): Likewise.
7175 (arm*-*-freebsd*): Likewise.
7176 (avr-*-rtems*): Add t-fpbit to tmake_file.
7177 (avr-*-*): Likewise.
7178 (bfin*-elf*): Add t-fdpbit to tmake_file.
7179 (bfin*-uclinux*): Likewise.
7180 (bfin*-linux-uclibc*): Likewise.
7181 (bfin*-rtems*): New case.
7182 Add t-fdpbit to tmake_file.
7183 (bfin*-*): Add t-fdpbit to tmake_file.
7184 (crisv32-*-elf): Likewise.
7185 (cris-*-linux*): Likewise.
7186 (fr30-*-elf): Likewise.
7187 (frv-*-elf, frv-*-*linux*): Likewise.
7188 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
7189 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
7190 (m32r-*-elf*): Likewise.
7191 (m32rle-*-elf*): Likewise.
7192 (m32r-*-linux*): Likewise.
7193 (m32rle-*-linux*): Likewise.
7194 (mcore-*-elf): Add t-fdpbit to tmake_file.
7195 (microblaze*-*-*): Likewise.
7196 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
7197 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
7198 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
7200 Add mips/t-tpbit to tmake-file.
7201 (mips*-*-linux*): Fix typo.
7202 (mips*-sde-elf*): New case
7203 Add mips/t-sdemtk unless using newlib.
7204 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
7205 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
7206 (mn10300-*-*): Likewise.
7207 (pdp11-*-*): Likewise.
7208 (picochip-*-*): Add t-fpbit to tmake_file.
7209 (powerpc-*-eabisimaltivec*): Likewise.
7210 (powerpc-*-eabisim*): Likewise.
7211 (powerpc-*-elf*): Likewise.
7212 (powerpc-*-eabialtivec*): Likewise.
7213 (powerpc-xilinx-eabi*): New case.
7214 Add t-fdpbit to tmake_file.
7215 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
7216 (powerpc-*-rtems*): Likewise.
7217 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
7219 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
7221 (powerpc-*-lynxos*): Likewise.
7222 (powerpcle-*-elf*): Likewise.
7223 (powerpcle-*-eabisim*): Likewise.
7224 (powerpcle-*-eabi*): Likewise.
7225 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7226 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
7227 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7228 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7229 (rx-*-elf): Add t-fdpbit to tmake_file.
7230 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7231 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7232 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7233 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
7235 (sh-*-rtems*): Add t-fdpbit to tmake_file.
7236 (sh-wrs-vxworks): Likewise.
7237 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
7238 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
7239 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
7240 (sparc64-*-rtems*): ... new case.
7241 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
7242 (spu-*-elf*): Likewise.
7243 Add spu/t-elf to tmake_file.
7244 (v850*-*-*): Add t-fdpbit to tmake_file.
7245 (xstormy16-*-elf): Likewise.
7246 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
7247 (mep*-*-*): Likewise.
7249 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7251 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
7253 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
7254 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
7255 (install-unwind_h): New target.
7256 (all): Depend on it.
7257 * config.host (unwind_header): New variable.
7258 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
7259 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7260 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
7261 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
7262 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
7264 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
7266 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
7268 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
7270 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
7271 (ia64*-*-freebsd*): Likewise.
7272 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
7274 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
7275 $with_system_libunwind.
7276 (ia64*-*-hpux*): Set tmake_file.
7277 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
7278 (picochip-*-*): Set tmake_file.
7279 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
7281 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7282 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7283 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
7284 (xtensa*-*-elf*): Set tmake_file.
7285 (xtensa*-*-linux*): Likewise.
7286 * configure.ac: Include ../config/unwind_ipinfo.m4.
7287 Call GCC_CHECK_UNWIND_GETIPINFO.
7288 Link unwind.h to $unwind_header.
7289 * configure: Regenerate.
7290 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
7291 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
7292 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
7293 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
7294 * config/unwind-dw2-fde-darwin.c: New file.
7295 * config/arm/libunwind.S, config/arm/pr-support.c,
7296 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
7297 config/arm/unwind-arm.h,: New files.
7298 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
7299 config/ia64/t-eh-ia64, config/ia64/t-glibc,
7300 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
7301 config/ia64/t-vms, config/ia64/unwind-ia64.c,
7302 config/ia64/unwind-ia64.h: New files.
7303 * config/picochip/t-picochip: New file.
7304 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
7306 * config/rs6000/t-darwin (LIB2ADDEH): Set.
7307 * config/s390/t-tpf (LIB2ADDEH): Remove.
7308 * config/t-darwin (LIB2ADDEH): Set.
7309 * config/t-eh-dw2-dip: New file.
7310 * config/t-libunwind, config/t-libunwind-elf: New files.
7311 * config/t-sol2 (LIB2ADDEH): Remove.
7312 * config/xtensa/t-xtensa: New file.
7314 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
7316 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
7317 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
7318 long long to check rt_sigreturn syscall.
7320 2011-08-02 Alan Modra <amodra@gmail.com>
7322 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7323 Restore for indirect call bcrtl from correct stack slot, and only
7324 if cfa+40 isn't valid.
7326 2011-08-01 Julian Brown <julian@codesourcery.com>
7328 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
7329 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
7330 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
7332 2011-08-01 Julian Brown <julian@codesourcery.com>
7334 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
7335 (libgcc-std.ver.in): Use above.
7336 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
7337 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
7339 * config/t-fixedpoint-gnu-prefix: New file.
7340 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
7341 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
7344 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
7346 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
7347 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
7348 for x86-64. Properly check __x86_64__ and __LP64__.
7350 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
7352 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
7354 (_FP_WS_TYPE): Likewise.
7355 (_FP_I_TYPE): Likewise.
7357 2011-07-28 Alan Modra <amodra@gmail.com>
7359 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7360 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
7361 in a plt call stub. Do restore r2 if stopped on bctrl.
7363 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7365 * config.host (i[3456x]86-*-netware*): Remove.
7366 * config/i386/netware-crt0.c, config/i386/t-nwld,
7367 config/i386/t-slibgcc-nwld: Remove.
7369 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
7371 * config.host: Handle tic6x-*-*.
7372 * config/c6x/c6x-abi.h: New file.
7374 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7376 * config/i386/crtprec.c: New file.
7377 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
7378 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
7379 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
7380 (x86_64-*-darwin*): Likewise.
7381 (i[34567]86-*-solaris2*: Likewise.
7383 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7385 * config/alpha/crtfastmath.c: New file.
7386 * config/i386/crtfastmath.c: New file.
7387 * config/ia64/crtfastmath.c: New file.
7388 * config/mips/crtfastmath.c: New file.
7389 * config/sparc/crtfastmath.c: New file.
7391 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
7393 Add -frandom-seed=gcc-crtfastmath.
7394 * config/alpha/t-crtfm: Remove.
7395 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
7396 * config/ia64/t-ia64 (crtfastmath.o): Remove.
7398 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
7399 (alpha*-dec-osf5.1*): Likewise.
7400 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
7401 Add crtfastmath.o to extra_parts.
7402 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
7403 Add crtfastmath.o to extra_parts.
7404 (x86_64-*-darwin*): Likewise.
7405 (x86_64-*-mingw*): Likewise.
7406 (ia64*-*-elf*): Add t-crtfm to tmake_file.
7407 (ia64*-*-freebsd*): Likewise.
7408 (ia64*-*-linux*): Likewise.
7409 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
7410 Add crtfastmath.o to extra_parts.
7412 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7414 * config/darwin-crt3.o: New file.
7415 * config/rs6000/darwin-crt2.c: New file.
7416 * config/t-darwin: New file.
7417 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
7419 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
7420 (powerpc-*-darwin*): Add crt2.o to extra_parts.
7421 (powerpc64-*-darwin*): Likewise.
7423 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7425 * config/i386/netware-crt0.c: New file.
7426 * config/i386/t-nwld: Rename to ...
7427 * config/i386/t-slibgcc-nwld: ... this.
7428 * config/i386/t-nwld: New file.
7429 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
7431 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
7434 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7436 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
7438 * configure: Regenerate.
7440 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7442 * dfp-bit.c, dfp-bit.h: New files.
7443 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
7445 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
7446 ($(d64pbit-o)): Likewise.
7447 ($(d128pbit-o)): Likewise.
7448 * config/t-dfprules: New file.
7449 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
7450 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
7451 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7452 (x86_64-*-linux*): Likewise.
7453 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7454 (i[34567]86-*-cygwin*): Likewise.
7455 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
7456 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7458 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7460 * Makfile.in (LIBGCOV): New variable.
7461 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
7462 * libgcov.c: New file.
7464 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7466 * fixed-bit.c, fixed-bit.h: New files.
7467 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
7468 refer to fixed-bit.c.
7470 2011-07-07 Joseph Myers <joseph@codesourcery.com>
7472 * config.host (*local*): Remove.
7474 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7477 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
7478 like i?86-*-solaris2.1[0-9]*.
7479 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
7480 * configure.ac (i?86-*-solaris2*): Likewise.
7481 * configure: Regenerate.
7483 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
7485 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7486 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
7487 md_unwind_header by splitting out of...
7488 (i[34567]86-*-linux*): ... this.
7489 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
7490 Remove md_unwind_header by splitting out of...
7491 (x86_64-*-linux*): ... this.
7493 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
7495 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
7497 2011-06-28 Nick Clifton <nickc@redhat.com>
7499 * config.host: Recognize all V850 variants.
7501 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
7503 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
7505 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7507 * shared-object.mk (c_flags-$o): Save c_flags.
7508 ($(base)$(objext)): Use it.
7509 ($(base)_s$(objext)): Likewise.
7511 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
7513 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
7514 * libgcc-std.ver.in (GCC_4.7.0): New section.
7516 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
7520 * config/avr/t-avr: Fix line endings.
7521 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
7524 2011-06-14 Olivier Hainque <hainque@adacore.com>
7525 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7527 * config/mips/irix6-unwind.h: New file.
7528 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
7530 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
7532 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
7533 (sparc64_fallback_frame_state): Use it.
7534 (sparc64_frob_update_context): Further adjust context.
7535 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
7536 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
7537 * config/sparc/sol2-cn.S: Likewise.
7539 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7541 * enable-execute-stack-empty.c: New file.
7542 * enable-execute-stack-mprotect.c: New file.
7543 * config/i386/enable-execute-stack-mingw32.c: New file.
7544 * config.host (enable_execute_stack): New variable.
7545 Select appropriate variants.
7546 * configure.ac: Link enable-execute-stack.c to
7547 $enable_execute_stack.
7548 * configure: Regenerate.
7549 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
7550 (lib2funcs): Remove _enable_execute_stack.
7552 2011-06-09 David S. Miller <davem@davemloft.net>
7553 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7555 * config.host (sparc-*-linux*): Correct md_unwind_header
7557 (s390x-ibm-tpf*): Fix typo.
7559 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7561 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
7562 Add crtfastmath.o to extra_parts.
7563 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
7565 * config/mips/t-crtfm: Remove.
7567 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7569 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
7571 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
7573 * config.host (sh*-*-linux*): Fix typo.
7575 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7577 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
7578 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
7579 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
7580 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
7581 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
7582 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
7583 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
7584 Wrap in !__MINGW64__.
7585 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
7586 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
7587 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
7588 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
7589 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
7590 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
7591 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
7593 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
7594 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
7595 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
7596 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
7597 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
7598 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
7599 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
7600 * config/no-unwind.h: New file.
7601 * config.host (md_unwind_header): Document.
7603 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
7604 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
7605 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
7606 hppa[12]*-*-hpux11*): Set md_unwind_header.
7607 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
7608 Set md_unwind_header.
7609 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
7610 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
7611 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
7612 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
7613 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
7614 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
7615 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
7617 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
7618 * configure: Regenerate.
7620 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7622 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
7623 Set tmake_file, extra_parts.
7624 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
7626 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
7628 * config/mips/t-irix6: New file.
7629 * config/mips/t-slibgcc-irix: New file.
7631 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7633 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
7634 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
7636 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7638 * configure.ac (target_thread_file): Determine thread model.
7639 * configure: Regenerate.
7640 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
7641 * config/alpha/t-alpha: New file.
7642 * config/alpha/t-crtfm: Use $<.
7643 * config/alpha/t-ieee: New file.
7644 * config/alpha/t-osf-pthread: New file.
7645 * config/alpha/t-slibgcc-osf: New file.
7646 * config/alpha/libgcc-osf5.ver: New file.
7648 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7650 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
7652 Add crtfastmath.o to extra_parts.
7654 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7656 * config/gmon-sol2.c: Reindent.
7658 Remove, correct casts.
7659 Use STDERR_FILENO, NULL.
7660 (BASEADDRESS): Remove.
7662 (errno, sbrk): Remove declarations.
7663 (monstartup) [hp300]: Remove.
7666 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7668 * Makefile.in (cpu_type): Define.
7669 * config.host (i[34567]86-*-rtems*): Handle it.
7670 (i[34567]86-*-solaris2*): Move body ...
7671 (*-*-solaris2*): ... here.
7672 New case, generalize.
7673 (sparc-*-elf*): Handle it.
7674 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
7675 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
7676 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
7678 (sparc*-*-solaris2*): ... this.
7680 (sparc64-*-elf*): Handle it.
7681 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
7682 Merge ../gcc/config/i386/gmon-sol2.c.
7683 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
7685 Merge ../gcc/config/i386/sol2-gc1.asm.
7686 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
7688 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
7690 * config/i386/t-crtfm (crtfastmath.o): Use $<.
7691 * config/i386/t-crtstuff: New file.
7692 * config/i386/t-softfp: New file.
7693 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
7694 $(T)crti.o, $(T)crtn.o): Remove.
7695 (gcrt1.o): New rule.
7696 (TARGET_LIBGCC2_CFLAGS): Remove.
7697 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
7698 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
7699 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
7700 * config/sparc/t-sol2: New file.
7701 * config/sparc/t-crtfm: Move to ...
7702 * config/t-crtfm: ... this.
7703 Use $(cpu_type), $<.
7704 * config/t-crtin: New file.
7705 * config/sparc/t-softfp: New file.
7706 * config/sparc/t-softmul: New file.
7707 * config/t-rtems: New file.
7708 * config/t-slibgcc: New file.
7709 * config/t-slibgcc-elf-ver: New file.
7710 * config/t-slibgcc-gld: New file.
7711 * config/t-slibgcc-sld: New file.
7712 * config/t-sol2: New file.
7713 * configure.ac: Include ../config/lib-ld.m4.
7714 Call AC_LIB_PROG_LD_GNU.
7715 Substitute cpu_type.
7716 * configure: Regenerate.
7718 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
7721 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
7722 libgcc-std.ver in the build directory.
7723 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
7724 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
7726 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
7728 * libgcc-std.ver.in: New file.
7729 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
7731 (libgcc-std.ver): New rule.
7732 * config/t-gnu-prefix: New file.
7734 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7736 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
7738 2011-05-10 Joseph Myers <joseph@codesourcery.com>
7740 * config/i386/darwin-lib.h: New file.
7742 2011-05-10 Joseph Myers <joseph@codesourcery.com>
7744 * config/arm/symbian-lib.h: New.
7746 2011-05-04 Chris Demetriou <cgd@google.com>
7748 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
7749 (__x86.get_pc_thunk.bx): ...this.
7750 (__morestack): Adjust for rename, remove undef of __i686.
7752 2011-05-03 Chris Demetriou <cgd@google.com>
7754 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
7756 2011-03-22 Joseph Myers <joseph@codesourcery.com>
7758 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
7759 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
7760 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
7761 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
7762 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
7765 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
7767 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
7768 Adjust copyright year.
7770 2011-03-07 Ian Lance Taylor <iant@google.com>
7772 * generic-morestack.c (__splitstack_find): Adjust returned stack
7773 pointer to include all registers pushed by __morestack.
7775 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
7778 * configure.ac: Call ACX_NONCANONICAL_TARGET.
7779 (toolexecdir): Calculate and AC_SUBST.
7780 (toolexeclibdir): Likewise.
7781 * Makefile.in (target_noncanonical): Import.
7782 (toolexecdir): Likewise.
7783 (toolexeclibdir): Likewise.
7784 * configure: Regenerate.
7786 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
7789 * config/arm/bpabi.h: Rename to...
7790 * config/arm/bpabi-lib.h: ...this.
7792 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7794 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
7796 * configure: Regenerate.
7798 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
7800 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
7801 __FLOAT_WORD_ORDER__.
7802 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
7805 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7808 * Makefile.in (install-strip): New phony target.
7810 2010-11-07 Ian Lance Taylor <iant@google.com>
7813 * config/i386/morestack.S (__morestack_large_model): New
7816 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
7818 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
7820 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
7822 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
7824 * config/arm/bpabi.h: New file.
7825 * config/frv/frv-abi.h: New file.
7827 2010-10-01 Ian Lance Taylor <iant@google.com>
7829 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
7830 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
7832 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
7835 * config.host: Add the missing `$'.
7837 2010-09-30 Michael Eager <eager@eagercon.com>
7839 * config.host: Add microblaze*-*-*.
7840 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
7841 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
7842 udivsi3.asm,umodsi3.asm}: New.
7844 2010-09-28 Ian Lance Taylor <iant@google.com>
7846 * configure.ac: Adjust CFI test to test assembler directly rather
7847 than checking gcc preprocessor macro.
7848 * configure: Rebuild.
7850 2010-09-27 Ian Lance Taylor <iant@google.com>
7852 * configure.ac: Test whether assembler supports CFI directives.
7853 * config.host: Only add t-stack and i386/t-stack-i386 to
7854 tmake_file if libgcc_cv_cfi is "yes".
7855 * configure: Rebuild.
7857 2010-09-27 Ian Lance Taylor <iant@google.com>
7859 * generic-morestack.h: New file.
7860 * generic-morestack.c: New file.
7861 * generic-morestack-thread.c: New file.
7862 * config/i386/morestack.S: New file.
7863 * config/t-stack: New file.
7864 * config/i386/t-stack-i386: New file.
7865 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
7866 i386/t-stack-i386 to tmake_file.
7868 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
7870 * Makefile.in (libgcc-extra-parts): Check for static archives and
7871 invoke ranlib after installing them.
7872 (gcc-extra-parts): Likewise.
7873 (install-leaf): Likewise.
7875 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
7877 * configure: Regenerated.
7879 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
7881 * configure: Regenerated.
7883 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
7884 Andrew Pinski <pinskia@gmail.com>
7887 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
7889 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
7892 * configure: Regenerated.
7894 2010-09-06 Andreas Schwab <schwab@redhat.com>
7896 * configure: Regenerate.
7898 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
7900 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
7902 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
7905 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
7906 Iain Sandoe <iains@gcc.gnu.org>
7909 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
7910 LIB2FUNCS_EXCLUDE functions.
7912 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7914 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
7916 * configure: Regenerate.
7918 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
7920 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
7921 i386/t-freebsd to tmake_file.
7922 * config/i386/t-freebsd: New file.
7923 * config/i386/libgcc-bsd.ver: New file.
7925 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
7927 * config.host (powerpc*-eabispe*): Set tmake_file.
7928 (powerpc*-eabi*): Likewise.
7929 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
7930 crtbeginS, crtendS, crtbeginT.
7932 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
7934 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
7935 to tmake_file. Add crtfastmath.o to extra_parts.
7936 * config/mips/t-crtfm: New.
7938 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
7940 * config.host (sparc64-*-rtems*): New target.
7942 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7944 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7947 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
7949 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
7951 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7953 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
7954 alpha-dec-osf5.0* support.
7956 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
7958 * config.host: Add lm32-*-rtems*.
7960 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7961 Uros Bizjak <ubizjak@gmail.com>
7964 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
7965 like other remaining 32-bit x86 OSes.
7966 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7968 * config/i386/libgcc-sol2.ver: New file.
7969 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
7971 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
7974 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
7975 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
7976 is used and substitute set_use_emutls.
7977 * configure: Regenerated.
7979 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
7981 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
7983 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7986 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
7988 ($(T)gcrt1.o): Likewise.
7989 ($(T)crt1.o): Likewise.
7990 ($(T)crti.o): Likewise.
7991 ($(T)crtn.o): Likewise.
7993 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7996 * Makefile.in (install): Use $(MAKE) string in rule, for
7999 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
8001 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8002 * config/mmix/t-mmix: New file.
8003 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8005 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
8008 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8011 2010-01-04 Anthony Green <green@moxielogic.com>
8013 * config/moxie/crti.asm, config/moxie/crtn.asm,
8014 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8015 config/moxie/t-moxie: New files.
8016 * config.host: Add t-moxie-softfp reference.
8018 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
8021 * config/t-slibgcc-darwin: Fix embedded rpaths for
8022 --enable-version-specific-runtime-libs, build extension stub
8023 libs exposing features available from current libgcc_s.
8025 2009-11-11 Jon Beniston <jon@beniston.com>
8027 * config.host: Add lm32 targets.
8028 * config/lm32: New directory.
8029 * config/lm32/libgcc_lm32.h: New file.
8030 * config/lm32/_mulsi3.c: New file.
8031 * config/lm32/_udivmodsi4.c: New file.
8032 * config/lm32/_divsi3.c: New file.
8033 * config/lm32/_modsi3.c: New file.
8034 * config/lm32/_udivsi3.c: New file.
8035 * config/lm32/_umodsi3.c: New file.
8036 * config/lm32/_lshrsi3.S: New file.
8037 * config/lm32/_ashrsi3.S: New file.
8038 * config/lm32/_ashlsi3.S: New file.
8039 * config/lm32/crti.S: New file.
8040 * config/lm32/crtn.S: New file.
8041 * config/lm32/t-lm32: New file.
8042 * config/lm32/t-elf: New file.
8043 * config/lm32/t-uclinux: New file.
8045 2009-10-26 Nick Clifton <nickc@redhat.com>
8047 * config.host: Add support for RX target.
8048 * config/rx: New directory.
8049 * config/rx/rx-abi-functions.c: New file. Supplementary
8050 functions for libgcc to support the RX ABI.
8051 * config/rx/rx-abi.h: New file. Supplementary header file for
8052 libgcc RX ABI functions.
8053 * config/rx/t-rx: New file: Makefile fragment for building
8056 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
8058 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8059 constraint of y0 to "g".
8061 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8063 * config.host: Include the s390 makefile fragments.
8064 * config/s390/32/_fixdfdi.c: New file.
8065 * config/s390/32/_fixsfdi.c: New file.
8066 * config/s390/32/_fixtfdi.c: New file.
8067 * config/s390/32/_fixunsdfdi.c: New file.
8068 * config/s390/32/_fixunssfdi.c: New file.
8069 * config/s390/32/_fixunstfdi.c: New file.
8070 * config/s390/32/t-floattodi: New file.
8071 * config/s390/libgcc-glibc.ver: New file.
8072 * config/s390/t-crtstuff: New file.
8073 * config/s390/t-linux: New file.
8074 * config/s390/t-tpf: New file.
8076 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8078 * configure.ac (AC_PREREQ): Bump to 2.64.
8080 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
8082 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8084 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8086 * configure: Regenerate.
8088 2009-08-09 Douglas B Rupp <rupp@gnat.com>
8090 * config.host (ia64-hp-*vms*): New target.
8091 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
8094 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8096 * configure.ac: Add snippet for maintainer-mode.
8097 * configure: Regenerate.
8098 * Makefile.in (AUTOCONF, configure_deps): New variables.
8099 ($(srcdir)/configure)): New rule, active only with maintainer
8102 2009-06-23 DJ Delorie <dj@redhat.com>
8105 * config.host: Add mep support.
8107 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
8109 * config.host: Add i386/${host_address}/t-fprules-softfp and
8110 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
8112 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
8114 * config/i386/64/_multc3.c: Likewise.
8115 * config/i386/64/_powitf2.c: Likewise.
8116 * config/i386/64/eqtf2.c: Likewise.
8117 * config/i386/64/getf2.c: Likewise.
8118 * config/i386/64/letf2.c: Likewise.
8119 * config/i386/64/letf2.c: Likewise.
8120 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
8121 unsigned long long for x64 mingw targets.
8122 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
8123 (_FP_I_TYPE): Define as long long for x64 mingw target.
8125 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
8127 * config.host (vax-*-linux*): New.
8129 2009-05-31 Anthony Green <green@moxielogic.com>
8131 * config.host: Add moxie support.
8132 * config/moxie/t-moxie: New file.
8134 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
8136 * config.host: Add i386/${host_address}/t-fprules-softfp and
8137 t-softfp to tmake_file for i[34567]86-*-cygwin*.
8139 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
8141 * config.host: Add i386/${host_address}/t-fprules-softfp to
8142 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
8144 2009-04-09 Nick Clifton <nickc@redhat.com>
8146 * config/ia64/tf-signs.c: Change copyright header to refer to
8147 version 3 of the GNU General Public License with version 3.1
8148 of the GCC Runtime Library Exception and to point readers at
8149 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
8151 * config/i386/32/tf-signs.c: Likewise.
8152 * config/libbid/_addsub_dd.c: Likewise.
8153 * config/libbid/_addsub_sd.c: Likewise.
8154 * config/libbid/_addsub_td.c: Likewise.
8155 * config/libbid/_dd_to_df.c: Likewise.
8156 * config/libbid/_dd_to_di.c: Likewise.
8157 * config/libbid/_dd_to_sd.c: Likewise.
8158 * config/libbid/_dd_to_sf.c: Likewise.
8159 * config/libbid/_dd_to_si.c: Likewise.
8160 * config/libbid/_dd_to_td.c: Likewise.
8161 * config/libbid/_dd_to_tf.c: Likewise.
8162 * config/libbid/_dd_to_udi.c: Likewise.
8163 * config/libbid/_dd_to_usi.c: Likewise.
8164 * config/libbid/_dd_to_xf.c: Likewise.
8165 * config/libbid/_df_to_dd.c: Likewise.
8166 * config/libbid/_df_to_sd.c: Likewise.
8167 * config/libbid/_df_to_td.c: Likewise.
8168 * config/libbid/_di_to_dd.c: Likewise.
8169 * config/libbid/_di_to_sd.c: Likewise.
8170 * config/libbid/_di_to_td.c: Likewise.
8171 * config/libbid/_div_dd.c: Likewise.
8172 * config/libbid/_div_sd.c: Likewise.
8173 * config/libbid/_div_td.c: Likewise.
8174 * config/libbid/_eq_dd.c: Likewise.
8175 * config/libbid/_eq_sd.c: Likewise.
8176 * config/libbid/_eq_td.c: Likewise.
8177 * config/libbid/_ge_dd.c: Likewise.
8178 * config/libbid/_ge_sd.c: Likewise.
8179 * config/libbid/_ge_td.c: Likewise.
8180 * config/libbid/_gt_dd.c: Likewise.
8181 * config/libbid/_gt_sd.c: Likewise.
8182 * config/libbid/_gt_td.c: Likewise.
8183 * config/libbid/_isinfd128.c: Likewise.
8184 * config/libbid/_isinfd32.c: Likewise.
8185 * config/libbid/_isinfd64.c: Likewise.
8186 * config/libbid/_le_dd.c: Likewise.
8187 * config/libbid/_le_sd.c: Likewise.
8188 * config/libbid/_le_td.c: Likewise.
8189 * config/libbid/_lt_dd.c: Likewise.
8190 * config/libbid/_lt_sd.c: Likewise.
8191 * config/libbid/_lt_td.c: Likewise.
8192 * config/libbid/_mul_dd.c: Likewise.
8193 * config/libbid/_mul_sd.c: Likewise.
8194 * config/libbid/_mul_td.c: Likewise.
8195 * config/libbid/_ne_dd.c: Likewise.
8196 * config/libbid/_ne_sd.c: Likewise.
8197 * config/libbid/_ne_td.c: Likewise.
8198 * config/libbid/_sd_to_dd.c: Likewise.
8199 * config/libbid/_sd_to_df.c: Likewise.
8200 * config/libbid/_sd_to_di.c: Likewise.
8201 * config/libbid/_sd_to_sf.c: Likewise.
8202 * config/libbid/_sd_to_si.c: Likewise.
8203 * config/libbid/_sd_to_td.c: Likewise.
8204 * config/libbid/_sd_to_tf.c: Likewise.
8205 * config/libbid/_sd_to_udi.c: Likewise.
8206 * config/libbid/_sd_to_usi.c: Likewise.
8207 * config/libbid/_sd_to_xf.c: Likewise.
8208 * config/libbid/_sf_to_dd.c: Likewise.
8209 * config/libbid/_sf_to_sd.c: Likewise.
8210 * config/libbid/_sf_to_td.c: Likewise.
8211 * config/libbid/_si_to_dd.c: Likewise.
8212 * config/libbid/_si_to_sd.c: Likewise.
8213 * config/libbid/_si_to_td.c: Likewise.
8214 * config/libbid/_td_to_dd.c: Likewise.
8215 * config/libbid/_td_to_df.c: Likewise.
8216 * config/libbid/_td_to_di.c: Likewise.
8217 * config/libbid/_td_to_sd.c: Likewise.
8218 * config/libbid/_td_to_sf.c: Likewise.
8219 * config/libbid/_td_to_si.c: Likewise.
8220 * config/libbid/_td_to_tf.c: Likewise.
8221 * config/libbid/_td_to_udi.c: Likewise.
8222 * config/libbid/_td_to_usi.c: Likewise.
8223 * config/libbid/_td_to_xf.c: Likewise.
8224 * config/libbid/_tf_to_dd.c: Likewise.
8225 * config/libbid/_tf_to_sd.c: Likewise.
8226 * config/libbid/_tf_to_td.c: Likewise.
8227 * config/libbid/_udi_to_dd.c: Likewise.
8228 * config/libbid/_udi_to_sd.c: Likewise.
8229 * config/libbid/_udi_to_td.c: Likewise.
8230 * config/libbid/_unord_dd.c: Likewise.
8231 * config/libbid/_unord_sd.c: Likewise.
8232 * config/libbid/_unord_td.c: Likewise.
8233 * config/libbid/_usi_to_dd.c: Likewise.
8234 * config/libbid/_usi_to_sd.c: Likewise.
8235 * config/libbid/_usi_to_td.c: Likewise.
8236 * config/libbid/_xf_to_dd.c: Likewise.
8237 * config/libbid/_xf_to_sd.c: Likewise.
8238 * config/libbid/_xf_to_td.c: Likewise.
8239 * config/libbid/bid128.c: Likewise.
8240 * config/libbid/bid128_2_str.h: Likewise.
8241 * config/libbid/bid128_2_str_macros.h: Likewise.
8242 * config/libbid/bid128_2_str_tables.c: Likewise.
8243 * config/libbid/bid128_add.c: Likewise.
8244 * config/libbid/bid128_compare.c: Likewise.
8245 * config/libbid/bid128_div.c: Likewise.
8246 * config/libbid/bid128_fma.c: Likewise.
8247 * config/libbid/bid128_logb.c: Likewise.
8248 * config/libbid/bid128_minmax.c: Likewise.
8249 * config/libbid/bid128_mul.c: Likewise.
8250 * config/libbid/bid128_next.c: Likewise.
8251 * config/libbid/bid128_noncomp.c: Likewise.
8252 * config/libbid/bid128_quantize.c: Likewise.
8253 * config/libbid/bid128_rem.c: Likewise.
8254 * config/libbid/bid128_round_integral.c: Likewise.
8255 * config/libbid/bid128_scalb.c: Likewise.
8256 * config/libbid/bid128_sqrt.c: Likewise.
8257 * config/libbid/bid128_string.c: Likewise.
8258 * config/libbid/bid128_to_int16.c: Likewise.
8259 * config/libbid/bid128_to_int32.c: Likewise.
8260 * config/libbid/bid128_to_int64.c: Likewise.
8261 * config/libbid/bid128_to_int8.c: Likewise.
8262 * config/libbid/bid128_to_uint16.c: Likewise.
8263 * config/libbid/bid128_to_uint32.c: Likewise.
8264 * config/libbid/bid128_to_uint64.c: Likewise.
8265 * config/libbid/bid128_to_uint8.c: Likewise.
8266 * config/libbid/bid32_to_bid128.c: Likewise.
8267 * config/libbid/bid32_to_bid64.c: Likewise.
8268 * config/libbid/bid64_add.c: Likewise.
8269 * config/libbid/bid64_compare.c: Likewise.
8270 * config/libbid/bid64_div.c: Likewise.
8271 * config/libbid/bid64_fma.c: Likewise.
8272 * config/libbid/bid64_logb.c: Likewise.
8273 * config/libbid/bid64_minmax.c: Likewise.
8274 * config/libbid/bid64_mul.c: Likewise.
8275 * config/libbid/bid64_next.c: Likewise.
8276 * config/libbid/bid64_noncomp.c: Likewise.
8277 * config/libbid/bid64_quantize.c: Likewise.
8278 * config/libbid/bid64_rem.c: Likewise.
8279 * config/libbid/bid64_round_integral.c: Likewise.
8280 * config/libbid/bid64_scalb.c: Likewise.
8281 * config/libbid/bid64_sqrt.c: Likewise.
8282 * config/libbid/bid64_string.c: Likewise.
8283 * config/libbid/bid64_to_bid128.c: Likewise.
8284 * config/libbid/bid64_to_int16.c: Likewise.
8285 * config/libbid/bid64_to_int32.c: Likewise.
8286 * config/libbid/bid64_to_int64.c: Likewise.
8287 * config/libbid/bid64_to_int8.c: Likewise.
8288 * config/libbid/bid64_to_uint16.c: Likewise.
8289 * config/libbid/bid64_to_uint32.c: Likewise.
8290 * config/libbid/bid64_to_uint64.c: Likewise.
8291 * config/libbid/bid64_to_uint8.c: Likewise.
8292 * config/libbid/bid_b2d.h: Likewise.
8293 * config/libbid/bid_binarydecimal.c: Likewise.
8294 * config/libbid/bid_conf.h: Likewise.
8295 * config/libbid/bid_convert_data.c: Likewise.
8296 * config/libbid/bid_decimal_data.c: Likewise.
8297 * config/libbid/bid_decimal_globals.c: Likewise.
8298 * config/libbid/bid_div_macros.h: Likewise.
8299 * config/libbid/bid_dpd.c: Likewise.
8300 * config/libbid/bid_flag_operations.c: Likewise.
8301 * config/libbid/bid_from_int.c: Likewise.
8302 * config/libbid/bid_functions.h: Likewise.
8303 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8304 * config/libbid/bid_inline_add.h: Likewise.
8305 * config/libbid/bid_internal.h: Likewise.
8306 * config/libbid/bid_round.c: Likewise.
8307 * config/libbid/bid_sqrt_macros.h: Likewise.
8309 2009-04-09 Jakub Jelinek <jakub@redhat.com>
8311 * Makefile.in: Change copyright header to refer to version
8312 3 of the GNU General Public License and to point readers at the
8313 COPYING3 file and the FSF's license web page.
8314 * config.host: Likewise.
8316 2009-04-07 Alan Modra <amodra@bigpond.net.au>
8318 * config.host: Reorder and merge to match config.gcc change.
8320 2009-04-03 Alan Modra <amodra@bigpond.net.au>
8322 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
8324 2009-03-28 Joseph Myers <joseph@codesourcery.com>
8326 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
8327 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
8328 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
8329 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
8331 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
8333 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
8334 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8336 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
8338 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
8339 ia64/t-softfp-compat to tmake_file.
8341 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
8343 * config/ia64/__divxf3.asm: New.
8344 * config/ia64/_fixtfdi.asm: Likewise.
8345 * config/ia64/_fixunstfdi.asm: Likewise.
8346 * config/ia64/_floatditf.asm: Likewise.
8347 * config/ia64/t-fprules-softfp: Likewise.
8348 * config/ia64/t-softfp-compat: Likewise.
8349 * config/ia64/tf-signs.c: Likewise.
8351 2009-01-18 Ben Elliston <bje@au.ibm.com>
8353 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8355 2009-01-16 Ben Elliston <bje@au.ibm.com>
8357 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
8360 2009-01-13 Ben Elliston <bje@au.ibm.com>
8362 * config/t-softfp: New file.
8363 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
8364 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
8366 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
8368 * config.host: Add m32r*-*-rtems*.
8370 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
8372 * config.host: Add m32c*-*-rtems*.
8374 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8377 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
8378 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
8379 * configure: Regenerate.
8380 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
8381 tmake_file here from gcc/config.gcc.
8382 Move extra_parts here from gcc/config.gcc.
8383 * config/i386/t-sol2: Move here from gcc/config/i386.
8384 Use gcc_srcdir instead of srcdir.
8386 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
8388 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
8391 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
8393 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
8395 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
8397 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
8399 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
8402 * config.host: Add picochip-*-*.
8404 2008-08-06 Bob Wilson <bob.wilson@acm.org>
8406 * config.host: Match more processor names for Xtensa.
8408 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
8410 * config/i386/64/t-softfp-compat: Update comments.
8412 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
8414 * config/i386/64/_divtc3-compat.c: Moved to ...
8415 * config/i386/64/_divtc3.c: Here.
8417 * config/i386/64/_multc3-compat.c: Moved to ...
8418 * config/i386/64/_multc3.c: Here.
8420 * config/i386/64/_powitf2-compat.c: Moved to ...
8421 * config/i386/64/_powitf2.c: Here.
8423 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
8424 .c suffix instead of -compat.c.
8426 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
8428 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
8429 (_FP_MUL_MEAT_D): Ditto.
8430 (_FP_DIV_MEAT_S): Ditto.
8431 (_FP_DIV_MEAT_D): Ditto.
8433 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
8435 * Makefile.in: Add support for __sync_* libgcc functions.
8437 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
8439 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
8441 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8444 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
8445 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
8447 * config/i386/64/t-fprules-softfp: Moved to ...
8448 * config/i386/64/t-softfp-compat: This. New.
8450 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
8452 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
8453 Initialize f with 0.0.
8455 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8458 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
8460 * config/i386/64/_divtc3-compat.c: New.
8461 * config/i386/64/_multc3-compat.c: Likewise.
8462 * config/i386/64/_powitf2-compat.c: Likewise.
8463 * config/i386/64/eqtf2.c: Likewise.
8464 * config/i386/64/getf2.c: Likewise.
8465 * config/i386/64/letf2.c: Likewise.
8466 * config/i386/64/t-fprules-softfp: Likewise.
8468 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8470 * config.host: Add i386/${host_address}/t-fprules-softfp to
8471 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
8472 i[34567]86-*-linux*, x86_64-*-linux*.
8474 * configure.ac: Set host_address to 64 or 32 for x86.
8475 * configure: Regenerated.
8477 * Makefile.in (config.status): Also depend on
8478 $(srcdir)/config.host.
8480 * config/i386/32/t-fprules-softfp: New.
8481 * config/i386/32/tf-signs.c: Likewise.
8483 * config/i386/64/sfp-machine.h: New. Moved from gcc.
8485 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8486 Uros Bizjak <ubizjak@gmail.com>
8488 * config/i386/32/sfp-machine.h: New.
8490 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
8492 * config/rs6000/t-ppccomm: Remove rules that conflict with
8493 auto-generated rules.
8495 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8497 * configure.ac: sinclude override.m4.
8498 * configure: Regenerate.
8500 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
8502 * configure: Regenerate.
8504 2008-06-10 Joseph Myers <joseph@codesourcery.com>
8506 * Makefile.in (DECNUMINC): Remove
8507 -I$(MULTIBUILDTOP)../../libdecnumber.
8510 2008-06-07 Joseph Myers <joseph@codesourcery.com>
8512 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
8513 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
8514 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
8515 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
8516 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
8517 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
8518 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
8519 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
8520 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
8521 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
8522 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
8523 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
8524 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
8525 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
8527 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
8529 * config.host (sh2[lbe]*-*-linux*): Allow target.
8531 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
8533 * config/rs6000/t-ppccomm: Add build rules for new files.
8534 (LIB2ADD_ST): New variable.
8536 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
8540 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
8541 * config/t-avr: New file. Build 16bit libgcc functions.
8543 2008-03-02 Jakub Jelinek <jakub@redhat.com>
8546 * config/t-slibgcc-darwin: Make install-leaf dependent on
8547 install-darwin-libgcc-stubs instead of install.
8549 2008-01-25 Joseph Myers <joseph@codesourcery.com>
8551 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
8552 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
8553 sh-*-rtemscoff*): Remove cases.
8555 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
8557 * Makefile.in (all): Use install-leaf rather than install.
8558 (install): Split most of the rule into...
8559 (install-leaf): ...this new one.
8561 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
8562 Paolo Bonzini <bonzini@gnu.org>
8565 * Makefile.in: Use @shlib_slibdir@ substitution to get
8566 correct install name on darwin.
8567 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
8569 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
8571 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
8572 cris-*-elf and cris-*-none.
8573 (crisv32-*-linux*): Similar, as cris-*-linux*.
8575 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
8577 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
8579 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
8582 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
8583 * configure: Regenerated.
8585 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
8587 * Makefile.in (dfp-filenames): Replace decimal_globals,
8588 decimal_data, binarydecimal and convert_data with
8589 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
8590 and bid_convert_data, respectively.
8592 2007-09-17 Chao-ying Fu <fu@mips.com>
8593 Nigel Stephens <nigel@mips.com>
8595 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
8596 * Makefile.in (fixed_point): Define.
8597 Check if fixed_point is yes to build support functions.
8598 * configure.ac: Check for fixed_point support.
8599 * configure: Regenerated.
8600 * gen-fixed.sh: New file to generate lists of fixed-point labels,
8601 funcs, modes, from, to.
8603 2007-09-11 Janis Johnson <janis187@us.ibm.com
8605 * Makefile.in (dfp-filenames): Add bid128_noncomp.
8607 2007-09-10 Janis Johnson <janis187@us.ibm.com>
8609 * Makefile.in (dfp-filenames): Remove decUtility, add
8610 decDouble, decPacked, decQuad, decSingle.
8612 2007-08-27 Hans Kester <hans.kester@ellips.nl>
8614 * config.host : Add x86_64-elf target.
8616 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
8618 * configure.ac (set_have_cc_tls): Add a missing =.
8619 * configure: Regenerated.
8621 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
8623 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
8624 and x86_64-*-linux*.
8626 * config/t-tls: New file.
8628 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
8630 * configure.ac: Include ../config/enable.m4 and
8631 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
8632 supports TLS and substitute set_have_cc_tls.
8633 * configure: Regenerated.
8635 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
8637 * Makefile.in: Use libbid for DFP when BID is enabled.
8639 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
8641 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
8642 extra_parts. Add config/i386/t-cygming to tmake_file.
8643 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
8645 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
8646 Danny Smith <dannysmith@users.sourceforge.net>
8649 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
8650 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
8651 * config/i386/t-crtfm: Compile crtfastmath.o with
8652 -minline-all-stringops.
8654 2007-05-10 Richard Sandiford <richard@codesourcery.com>
8656 * config.host (sparc-wrs-vxworks): New target.
8658 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
8660 * config.host: Recognize fido.
8662 2007-04-04 Janis Johnson <janis187@us.ibm.com>
8664 * configure: Check host, not target, for decimal float support.
8666 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
8668 * config/i386/t-crtpc: New file.
8669 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
8670 (x86_64-*-linux*): Ditto.
8672 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
8674 * config.host (x86_64-*-mingw*): New target.
8676 2007-03-23 Michael Meissner <michael.meissner@amd.com>
8677 H.J. Lu <hongjiu.lu@intel.com>
8679 * Makefile.in (enable_decimal_float): New.
8681 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
8682 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
8683 (decbits-filenames): This.
8684 (decbits-objects): New.
8685 (libgcc-objects): Add $(decbits-objects).
8687 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
8688 Substitute enable_decimal_float.
8689 * configure: Regenerated.
8691 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
8693 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
8695 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
8697 * Makefile.in (install-info): New dummy target.
8699 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
8701 * config.host (bfin*-linux-uclibc*): Set extra_parts.
8703 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
8705 * Makefile.in: Add install-html and install-pdf dummy
8708 2007-02-05 Roger Sayle <roger@eyesopen.com>
8709 Daniel Jacobowitz <dan@codesourcery.com>
8711 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
8712 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
8713 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
8715 2007-01-29 Janis Johnson <janis187@us.ibm.com>
8717 * Makefile.in (dec-filenames): Add decExcept.
8719 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
8722 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
8725 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
8727 * configure.ac: Add --enable-version-specific-runtime-libs.
8728 Correct $slibdir default.
8729 * configure: Regenerated.
8731 2007-01-23 Joseph Myers <joseph@codesourcery.com>
8733 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
8735 2007-01-21 Andrew Pinski <pinskia@gmail.com>
8738 * config.host (alpha*-*-linux*): Set extra_parts.
8740 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
8742 * config/sh/t-linux: New.
8743 * config.host (sh*-*-linux*): Set tmake_file.
8745 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
8747 * Makefile.in (install): Handle multilibs.
8749 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
8751 * Makefile.in: Added .PHONY entry for documentation targets.
8753 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
8755 * Makefile.in: Add empty info, html, dvi, pdf targets.
8757 2007-01-04 Mike Stump <mrs@apple.com>
8759 * Makefile.in (MAKEINFO): Remove.
8762 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
8764 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
8765 * configure: Regenerate.
8766 * Makefile.in (host_subdir): Substitute it.
8767 (gcc_objdir): Use it.
8769 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8771 * config.host (ia64*-*-linux*): Set tmake_file.
8773 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8775 * Makefile.in (version): Define.
8777 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8778 Paolo Bonzini <bonzini@gnu.org>
8780 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
8781 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
8782 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
8783 config/sparc/t-crtfm, config/t-slibgcc-darwin,
8784 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
8785 shared-object.mk, siditi-object.mk, static-object.mk: New files.
8786 * configure: Generated.
8788 Copyright (C) 2007-2017 Free Software Foundation, Inc.
8790 Copying and distribution of this file, with or without modification,
8791 are permitted in any medium without royalty provided the copyright
8792 notice and this notice are preserved.