1 2020-05-05 Martin Liska <mliska@suse.cz>
4 * Makefile.in: Remove __gcov_flush.
5 * gcov.h (__gcov_flush): Remove.
6 * libgcov-interface.c (__gcov_flush): Remove.
7 (init_mx): Use renamed mutex.
8 (__gcov_lock): Likewise.
9 (__gcov_unlock): Likewise.
10 (__gcov_fork): Likewise.
11 (__gcov_flush): Remove.
13 2020-05-05 Martin Liska <mliska@suse.cz>
16 * libgcov-interface.c (__gcov_fork): Do not flush
17 and reset only in child process.
18 (__gcov_execl): Dump counters only and reset them
20 (__gcov_execlp): Likewise.
21 (__gcov_execle): Likewise.
22 (__gcov_execv): Likewise.
23 (__gcov_execvp): Likewise.
24 (__gcov_execve): Likewise.
26 2020-05-05 Martin Liska <mliska@suse.cz>
29 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
30 * libgcov-interface.c (ALIAS_void_fn): Remove.
33 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
34 (__gcov_reset): Likewise.
35 (__gcov_dump): Likewise.
36 * libgcov.h (__gcov_lock): New declaration.
37 (__gcov_unlock): Likewise.
39 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
41 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
42 (__sfp_handle_exceptions): Use __math_force_eval to evaluete
43 generic division to generate INVALID and DIVZERO exceptions.
45 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
47 * config/rs6000/crtresfpr.S: Use .machine ppc.
48 * config/rs6000/crtresxfpr.S: Likewise.
49 * config/rs6000/crtsavfpr.S: Likewise.
51 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
54 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
55 Update context->flags accroding to the frame state.
57 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
59 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
60 Remove unneeded assignments to volatile memory.
62 2020-04-15 Jakub Jelinek <jakub@redhat.com>
65 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
66 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
67 is not defined, use just .arch armv8-a.
68 (B, M, N, OPN): Define.
69 (COMMENT): New .macro.
70 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
71 defined. Otherwise, move the operands right after the glue? and
72 comment out operands where the macros are used.
73 * configure: Regenerated.
74 * config.in: Regenerated.
76 2020-04-07 Ian Lance Taylor <iant@golang.org>
79 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
82 2020-04-04 Ian Lance Taylor <iant@golang.org>
84 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
86 2020-04-03 Ian Lance Taylor <iant@golang.org>
88 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
89 than mmap/munmap, to avoid hooks.
91 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
93 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
94 (TPFRA_OFFSET): Macros removed.
95 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
96 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
97 (PG3_SKIPPING_OFFSET): New macros.
98 (__isPATrange): Use cinfc_fast for the check.
99 (__isSkipResetAddr): New function.
100 (s390_fallback_frame_state): Check for skip trace addresses. Use
101 either ICST_CRET or ICST_SRET to calculate return address
103 (__tpf_eh_return): Handle skip trace addresses.
105 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
108 * config/arm/lib1funcs.asm (COND): Use a single definition for
110 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
111 (aeabi_idivmod): Likewise.
112 (divsi3_skip_div0_test): Likewise.
114 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
116 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
118 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
120 * config.host: Include the new makefile fragment.
121 * config/s390/t-tpf: New file.
123 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
125 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
127 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
128 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
129 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
130 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
131 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
133 (divsi3, modsi3): Likewise.
134 (clzdi2, ctzsi2): Likewise.
135 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
137 (UNWIND_WRAPPER): Likewise.
139 2020-03-02 Martin Liska <mliska@suse.cz>
141 * libgcov-interface.c: Remove duplicate
142 declaration of __gcov_flush_mx.
144 2020-02-18 Martin Liska <mliska@suse.cz>
147 * libgcov-merge.c (merge_topn_values_set): Record
148 when a TOP N counter becomes invalid. When merging
149 remove a smallest value if the space is needed.
151 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
156 * configure: Regenerated.
158 2020-02-10 Jeff Law <law@redhat.com>
160 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
162 * config/frv/frvend.c: Similarly.
164 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
167 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
170 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
173 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
174 _Unwind_gnu_Find_got.
175 * unwind-pe.h: Likewise.
177 2020-02-07 Jakub Jelinek <jakub@redhat.com>
180 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
181 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
182 trailing :s in asm. Formatting fixes.
183 (_Unwind_decode_typeinfo_ptr): Adjust caller.
185 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
187 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
189 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
190 * config/nios2-elf-lib.h: New.
191 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
192 code for finding GOT base for nios2.
194 2020-01-27 Martin Liska <mliska@suse.cz>
196 PR gcov-profile/93403
197 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
198 Call __gcov_indirect_call_profiler_body.
199 (__gcov_indirect_call_profiler_body): New.
200 (__gcov_indirect_call_profiler_v4_atomic): New.
201 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
204 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
206 * config/arc/crti.S: Add RF16 object attribute.
207 * config/arc/crtn.S: Likewise.
208 * config/arc/crttls.S: Likewise.
209 * config/arc/lib1funcs.S: Likewise.
210 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
211 * config/arc/lib2funcs.c: New file.
212 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
214 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
216 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
217 * configure.ac: Handle `--with-toolexeclibdir='.
218 * configure: Regenerate.
220 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
222 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
224 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
226 * config/mips/gnustack.h: New file.
227 * config/mips/crti.S: Include gnustack.h.
228 * config/mips/crtn.S: Likewise.
229 * config/mips/mips16.S: Likewise.
230 * config/mips/vr4120-div.S: Likewise.
232 2020-01-23 Martin Liska <mliska@suse.cz>
234 * libgcov-driver.c (prune_topn_counter): Remove
235 check for -1 as we only prune run-time counters
236 that do not generate an invalid state.
238 2020-01-22 Martin Liska <mliska@suse.cz>
240 PR tree-optimization/92924
241 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
242 try to find an existing value, then find an empty slot
245 2020-01-22 Martin Liska <mliska@suse.cz>
247 PR tree-optimization/92924
248 * libgcov-driver.c (prune_topn_counter): New.
249 (prune_counters): Likewise.
250 (dump_one_gcov): Prune a run-time counter.
251 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
252 For a known value, add GCOV_TOPN_VALUES to value.
253 Otherwise, decrement all counters by one.
255 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
257 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
259 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
262 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
263 DEFAULT_USE_CXA_ATEXIT is true.
265 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
266 Thomas Preud'homme <thomas.preudhomme@arm.com>
268 * config/arm/t-arm: Check return value of gcc rather than lack of
271 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
273 * config/avr/lib1funcs.S (skip): Simplify.
275 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
277 * config/gcn/atomic.c: Remove include of stdint.h.
278 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
281 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
283 * config/gcn/atomic.c: New.
284 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
286 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
288 Implement 64-bit double functions.
291 * config.host (tmake_file) [target=avr]: Add t-libf7,
292 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
293 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
294 depending on sizeof (double) or sizeof (long double).
295 * config/avr/libf7: New folder.
297 2020-01-05 Olivier Hainque <hainque@adacore.com>
299 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
302 2020-01-01 Jakub Jelinek <jakub@redhat.com>
304 Update copyright years.
306 2019-12-30 Olivier Hainque <hainque@adacore.com>
308 * config/gthr-vxworks.h: Use _vxworks-versions.h.
309 * config/gthr-vxworks-tls.c: Likewise.
311 2019-12-30 Olivier Hainque <hainque@adacore.com>
313 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
314 standard zero-initializer syntax.
316 2019-12-30 Olivier Hainque <hainque@adacore.com>
318 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
319 reference to the internal VX_GET_TLS_DATA interface.
321 2019-12-30 Olivier Hainque <hainque@adacore.com>
323 * config/vxcrtstuff.c: Fix incorrect spelling of
324 USE_INITFINI_ARRAY in guard.
326 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
328 * config.host: s/msp430*-*-elf/msp430-*-elf*.
329 Override default "extra_parts" variable.
330 * configure: Regenerate.
331 * configure.ac: Disable TM clone registry by default for
334 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
336 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
338 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
340 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
342 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
345 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
347 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
348 defined instead of its value.
350 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
352 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
353 if it will have contents.
355 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
358 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
360 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
363 * config.host: Add t-gthr-noweak on *-*-musl*.
364 * config/t-gthr-noweak: New file.
366 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
368 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
369 volatile void *. Remove trap check.
370 (__kernel_cmpxchg2): Likewise.
371 (FETCH_AND_OP_2): Adjust operand types.
372 (OP_AND_FETCH_2): Likewise.
373 (FETCH_AND_OP_WORD): Likewise.
374 (OP_AND_FETCH_WORD): Likewise.
375 (COMPARE_AND_SWAP_2): Likewise.
376 (__sync_val_compare_and_swap_4): Likewise.
377 (__sync_bool_compare_and_swap_4): Likewise.
378 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
379 (__sync_lock_test_and_set_4): Likewise.
380 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
381 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
383 (__sync_lock_release_8): Remove.
385 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
387 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
390 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
391 Doug Rupp <rupp@adacore.com>
392 Olivier Hainque <hainque@adacore.com>
394 * config.host: Collapse the arm-vxworks entries into
395 a single arm-wrs-vxworks7* one.
396 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
397 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
398 kernel modules, to be overriden by libstdc++ when we link with
399 it. Rely on externally provided __exidx_start/end.
401 2019-11-14 Doug Rupp <rupp@adacore.com>
402 Olivier Hainque <hainque@adacore.com>
404 * config.host: Handle aarch64*-wrs-vxworks7*.
406 2019-11-12 Olivier Hainque <hainque@adacore.com>
408 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
409 sources except the cxx0x support to LIB2ADDEH. We don't support
411 * config/t-vxworksae: New file.
412 * config.host: Handle *-*-vxworksae: Add the two aforementioned
413 Makefile fragment files at their expected position in the tmake_file
414 list, in accordance with what is done for other VxWorks variants.
416 2019-11-12 Corentin Gay <gay@adacore.com>
417 Jerome Lambourg <lambourg@adacore.com>
418 Olivier Hainque <hainque@adacore.com>
420 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
421 sources to LIB2ADDEH.
422 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
423 * config/t-vxworks7: Likewise.
425 * config.host: Append a block at the end of the file to add the
426 t-gthr files to the tmake_file list for VxWorks after everything
429 * config/vxlib.c: Rename as gthr-vxworks.c.
430 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
432 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
433 API and a basic error checking API, both internal. Simplify the
434 __gthread_once_t type definition and initializers. Add sections
435 for condition variables support and for the C++0x thread support,
436 conditioned against Vx653 for the latter.
438 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
439 implementation, leveraging the TAS internal API.
440 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
441 API, leveraging the general availability of TLS services in VxWorks7
443 (__gthread_setspecific, __gthread_setspecific): Use it.
444 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
445 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
446 support based on VxWorks primitives.
447 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
448 based on VxWorks primitives.
450 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
451 Olivier Hainque <hainque@adacore.com>
453 * config/vxcrtstuff.c: New file.
454 * config/t-vxcrtstuff: New Makefile fragment.
455 * config.host: Append t-vxcrtstuff to the tmake_file list
456 on all VxWorks ports using dwarf for table based EH.
458 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
460 Support 64-bit double and 64-bit long double configurations.
463 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
464 long double is a 32-bit type.
465 * config/avr/t-avrlibc: Copy double64 and long-double64
466 multilib(s) from the vanilla one.
467 * config/avr/t-copy-libgcc: New Makefile snip.
469 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
471 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
472 the target output object format is not ELF.
473 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
475 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
478 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
479 * fp-bit.c (pack_d, unpack_d): Remove special cases for
480 FLOAT_BIT_ORDER_MISMATCH.
481 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
483 2019-11-01 Jim Wilson <jimw@sifive.com>
485 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
487 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
489 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
490 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
491 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
492 Define symbols for 32-bit and f5series hardware multiply
494 Replace hard-coded register addresses with symbols.
497 * config/msp430/lib2mul.c: Add comment.
499 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
501 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
502 unsigned int. Adjust callers.
503 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
504 unsigned int *. Load relocation offset before function pointer.
505 Add barrier to ensure ordering.
507 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
509 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
510 Load PIC register after branch target. Fix white space.
511 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
512 implementations. Load PIC register after branch target. Don't
513 clobber function pointer when it points to function descriptor.
514 Use nullification instead of branch in LINUX implementation.
516 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
518 * config/pa/fptr.c: Disable -Warray-bounds warning.
520 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
522 * config.in, configure: Re-rebuild with stock autoconf 2.69,
523 not the ubuntu modified 2.69.
526 * config/aarch64/lse-init.c: Include auto-target.h. Disable
527 initialization if !HAVE_SYS_AUXV_H.
528 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
529 * config.in, configure: Rebuild.
532 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
535 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
537 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
538 CTR_EL0.IDC and CTR_EL0.DIC.
540 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
543 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
544 Mickaël Guêné <mickael.guene@st.com>
546 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
549 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
551 * config/aarch64/lse-init.c: New file.
552 * config/aarch64/lse.S: New file.
553 * config/aarch64/t-lse: New file.
554 * config.host: Add t-lse to all aarch64 tuples.
556 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
557 Mickaël Guêné <mickael.guene@st.com>
559 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
562 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
563 Mickaël Guêné <mickael.guene@st.com>
565 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
566 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
567 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
568 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
569 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
570 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
571 (__gnu_personality_sigframe_fdpic): New.
572 (get_eit_entry): Add FDPIC signal frame support.
574 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
575 Mickaël Guêné <mickael.guene@st.com>
577 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
578 (__kernel_dmb): Likewise.
579 (__fdpic_cmpxchg): New function.
580 (__fdpic_dmb): New function.
581 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
582 (gnu_Unwind_Find_got): New function.
583 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
584 * unwind-arm-common.inc (UCB_PR_GOT): New.
585 (funcdesc_t): New struct.
586 (get_eit_entry): Add FDPIC support.
587 (unwind_phase2): Likewise.
588 (unwind_phase2_forced): Likewise.
589 (__gnu_Unwind_RaiseException): Likewise.
590 (__gnu_Unwind_Resume): Likewise.
591 (__gnu_Unwind_Backtrace): Likewise.
592 * unwind-pe.h (read_encoded_value_with_base): Likewise.
594 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
595 Mickaël Guêné <mickael.guene@st.com>
597 * libgcc/crtstuff.c: Add support for FDPIC.
599 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
601 * config.host: Handle *-*-uclinuxfdpiceabi.
603 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
605 * config.host: Set cpu_type for bpf-*-* targets.
606 * config/bpf/t-bpf: Likewise.
607 * config/bpf/crtn.S: Likewise.
608 * config/bpf/crti.S: New file.
610 2019-09-06 Jim Wilson <jimw@sifive.com>
612 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
613 (riscv*-*-freebsd*): Likewise.
615 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
617 * config.host: Remove references to spu.
618 * config/spu/: Remove directory.
620 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
623 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
624 element type, instead of "sizeof" the element type.
625 (__DTOR_LIST__): Likewise.
626 (__TMC_LIST__): Likewise.
627 (__do_global_dtors_aux_fini_array_entry): Likewise.
628 (__frame_dummy_init_array_entry): Likewise.
629 (__CTOR_END__): Likewise.
630 (__DTOR_END__): Likweise.
631 (__FRAME_END__): Likewise.
632 (__TMC_END__): Likewise.
634 2019-08-20 Lili Cui <lilicui@intel.com>
636 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
637 INTEL_COREI7_COOPERLAKE.
639 2019-07-31 Matt Thomas <matt@3am-software.com>
640 Nick Hudson <nick@nthcliff.demon.co.uk>
641 Matthew Green <mrg@eterna.com.au>
642 Maya Rashish <coypu@sdf.org>
644 * config.host (hppa*-*-netbsd*): New case.
645 * config/pa/t-netbsd: New file.
647 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
649 * config/arm/cmse.c (cmse_check_address_range): Add
650 warn_unused_result attribute.
652 2019-07-22 Martin Liska <mliska@suse.cz>
654 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
655 * config/pa/t-stublib: Likewise.
657 2019-07-22 Stafford Horne <shorne@gmail.com>
660 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
661 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
662 instructions are not available on every processor. Change a
663 l.bnf to l.bf to fix logic issue.
665 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
667 * config.host: Remove reference to t-darwin8.
669 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
671 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
673 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
674 mmacosx-version-min for crts to run across all system versions.
675 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
676 * config/t-darwin: Revise mmacosx-version-min for crts to run across
677 system versions >= 10.4.
679 2019-07-03 Martin Liska <mliska@suse.cz>
681 * Makefile.in: Use topn_values instead of one_value names.
682 * libgcov-merge.c (__gcov_merge_single): Move to ...
683 (__gcov_merge_topn): ... this.
684 (merge_single_value_set): Move to ...
685 (merge_topn_values_set): ... this.
686 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
688 (__gcov_topn_values_profiler_body): ... this.
689 (__gcov_one_value_profiler_v2): Move to ...
690 (__gcov_topn_values_profiler): ... this.
691 (__gcov_one_value_profiler_v2_atomic): Move to ...
692 (__gcov_topn_values_profiler_atomic): ... this.
693 (__gcov_indirect_call_profiler_v4): Remove.
694 * libgcov-util.c (__gcov_single_counter_op): Move to ...
695 (__gcov_topn_counter_op): ... this.
696 * libgcov.h (L_gcov_merge_single): Remove.
697 (L_gcov_merge_topn): New.
698 (__gcov_merge_single): Remove.
699 (__gcov_merge_topn): New.
700 (__gcov_one_value_profiler_v2): Move to ..
701 (__gcov_topn_values_profiler): ... this.
702 (__gcov_one_value_profiler_v2_atomic): Move to ...
703 (__gcov_topn_values_profiler_atomic): ... this.
705 2019-07-03 Martin Liska <mliska@suse.cz>
707 * libgcov-merge.c (merge_single_value_set): Support N values.
708 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
710 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
712 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
713 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
714 * configure.ac: Add --disable-tm-clone-registry option.
715 * configure: Regenerate.
717 2019-06-27 Martin Liska <mliska@suse.cz>
719 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
721 * libgcov-util.c: Likewise.
723 2019-06-27 Martin Liska <mliska@suse.cz>
725 * libgcov-util.c (gcov_profile_merge): Release allocated
727 (calculate_overlap): Likewise.
729 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
731 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
732 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
733 Build objects for the out of line save/restore register functions
734 so that they can be used for any supported Darwin version.
735 * config/t-darwin: Default the build Darwin version to Darwin8
738 2019-06-25 Martin Liska <mliska@suse.cz>
740 * libgcov-driver-system.c (replace_filename_variables): Do not
741 call strlen with NULL argument.
743 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
745 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
746 * config/gcn/unwind-gcn.c: New file.
748 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
749 Andrew Stubbs <ams@codesourcery.com>
751 * configure: Regenerate.
752 * config/gcn/gthr-gcn.h: New.
754 2019-06-18 Tom de Vries <tdevries@suse.de>
756 * config/nvptx/crt0.c (__main): Declare.
758 2019-06-17 Matthew Green <mrg@eterna.com.au>
759 Maya Rashish <coypu@sdf.org>
761 * config.host (aarch64*-*-netbsd*): New case.
763 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
765 * config/msp430/slli.S (__mspabi_sllll): New library function for
766 performing a logical left shift of a 64-bit value.
767 * config/msp430/srai.S (__mspabi_srall): New library function for
768 performing a arithmetic right shift of a 64-bit value.
769 * config/msp430/srll.S (__mspabi_srlll): New library function for
770 performing a logical right shift of a 64-bit value.
772 2019-06-14 Matt Thomas <matt@3am-software.com>
773 Matthew Green <mrg@eterna.com.au>
774 Nick Hudson <skrll@netbsd.org>
775 Maya Rashish <coypu@sdf.org>
777 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
778 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
780 * config/arm/t-netbsd-eabi: New file.
782 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
784 * config.host: Add PRU target.
785 * config/pru/asri.c: New file.
786 * config/pru/eqd.c: New file.
787 * config/pru/eqf.c: New file.
788 * config/pru/ged.c: New file.
789 * config/pru/gef.c: New file.
790 * config/pru/gtd.c: New file.
791 * config/pru/gtf.c: New file.
792 * config/pru/led.c: New file.
793 * config/pru/lef.c: New file.
794 * config/pru/lib2bitcountHI.c: New file.
795 * config/pru/lib2divHI.c: New file.
796 * config/pru/lib2divQI.c: New file.
797 * config/pru/lib2divSI.c: New file.
798 * config/pru/libgcc-eabi.ver: New file.
799 * config/pru/ltd.c: New file.
800 * config/pru/ltf.c: New file.
801 * config/pru/mpyll.S: New file.
802 * config/pru/pru-abi.h: New file.
803 * config/pru/pru-asm.h: New file.
804 * config/pru/pru-divmod.h: New file.
805 * config/pru/sfp-machine.h: New file.
806 * config/pru/t-pru: New file.
808 2019-06-11 Jakub Jelinek <jakub@redhat.com>
810 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
812 2019-06-10 Martin Liska <mliska@suse.cz>
815 * libgcov.h: Add ATTRIBUTE_UNUSED.
817 2019-06-10 Martin Liska <mliska@suse.cz>
819 * Makefile.in: Add __gcov_one_value_profiler_v2,
820 __gcov_one_value_profiler_v2_atomic and
821 __gcov_indirect_call_profiler_v4.
822 * libgcov-merge.c (__gcov_merge_single): Change
824 (merge_single_value_set): New.
825 * libgcov-profiler.c (__gcov_one_value_profiler_body):
826 Update functionality.
827 (__gcov_one_value_profiler): Remove.
828 (__gcov_one_value_profiler_v2): ... this.
829 (__gcov_one_value_profiler_atomic): Rename to ...
830 (__gcov_one_value_profiler_v2_atomic): this.
831 (__gcov_indirect_call_profiler_v3): Rename to ...
832 (__gcov_indirect_call_profiler_v4): ... this.
833 * libgcov.h (__gcov_one_value_profiler): Remove.
834 (__gcov_one_value_profiler_atomic): Remove.
835 (__gcov_one_value_profiler_v2_atomic): New.
836 (__gcov_indirect_call_profiler_v3): Remove.
837 (__gcov_one_value_profiler_v2): New.
838 (__gcov_indirect_call_profiler_v4): New.
839 (gcov_get_counter_ignore_scaling): New function.
841 2019-06-07 Martin Liska <mliska@suse.cz>
843 * Makefile.in: Remove usage of
844 _gcov_merge_icall_topn.
845 * libgcov-driver.c (gcov_sort_n_vals): Remove.
846 (gcov_sort_icall_topn_counter): Likewise.
847 (gcov_sort_topn_counter_arrays): Likewise.
848 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
849 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
850 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
852 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
853 (struct indirect_call_tuple): Remove.
854 (__gcov_indirect_call_topn_profiler): Remove.
855 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
856 * libgcov.h (gcov_sort_n_vals): Remove.
857 (L_gcov_merge_icall_topn): Likewise.
858 (__gcov_merge_icall_topn): Likewise.
859 (__gcov_indirect_call_topn_profiler): Likewise.
861 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
863 * config/rs6000/t-darwin: Ensure that the unwinder is built with
866 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
868 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
870 (__mspabi_slli): Likewise.
871 (__mspabi_slll_n): Likewise.
872 (__mspabi_slll): Likewise.
873 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
874 (__mspabi_srai): Likewise.
875 (__mspabi_sral_n): Likewise.
876 (__mspabi_sral): Likewise.
877 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
878 (__mspabi_srli): Likewise.
879 (__mspabi_srll_n): Likewise.
880 (__mspabi_srll): Likewise.
882 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
884 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
885 Add appropriate tm_file clause as well.
886 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
888 2019-06-05 James Clarke <jrtc27@jrtc27.com>
890 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
891 rather than .data/.bss so it can be accessed via gp-relative
894 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
896 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
897 (CR2_REGNO): Rename to R_CR2.
898 (XER_REGNO): Rename to R_XER.
899 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
900 (VRSAVE_REGNO): Rename to R_VRSAVE.
901 (VSCR_REGNO): R_VSCR.
903 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
905 * config.host (rx-*-linux*): Add new case.
906 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
908 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
910 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
912 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
913 aarch64_post_frob_eh_handler_addr): Add check for b-key.
914 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
915 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
916 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
917 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
919 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
921 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
923 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
925 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
926 Remove Solaris 9 and 10 support.
927 (sparc_is_sighandler): Likewise.
929 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
931 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
933 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
935 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
936 4_FP_W_TYPEs are used for IEEE quad precision.
937 * soft-fp/extendhftf2.c: Likewise.
938 * soft-fp/extendsftf2.c: Likewise.
939 * soft-fp/extendxftf2.c: Likewise.
940 * soft-fp/trunctfdf2.c: Likewise.
941 * soft-fp/trunctfhf2.c: Likewise.
942 * soft-fp/trunctfsf2.c: Likewise.
943 * soft-fp/trunctfxf2.c: Likewise.
944 * config/rs6000/ibm-ldouble.c: Likewise.
946 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
948 * config.host: Simplify various *-*-solaris2.1[0-9]* to
950 * configure.ac: Likewise.
951 * configure: Regenerate.
953 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
954 Solaris 10 and Solaris 11 < snv_125 handling.
956 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
958 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
960 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
962 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
963 * config/i386/cpuinfo.h (enum processor_features): Add
966 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
967 Bernd Edlinger <bernd.edlinger@hotmail.de>
968 Jakub Jelinek <jakub@redhat.com>
971 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
972 * config/arm/unwind-arm.c: Likewise.
973 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
976 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
978 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
979 (RT_SIGRETURN): Update.
980 (nds32_fallback_frame_state): Update.
982 2019-02-21 Martin Sebor <msebor@redhat.com>
984 * libgcc2.h (__clear_cache): Correct signature.
985 * libgcc2.c (__clear_cache): Same.
987 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
989 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
990 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
992 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
994 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
995 regno instead of index to DWARF_ZERO_REG.
997 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
999 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
1000 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
1002 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
1004 * config/alpha/t-linux: Add -mfp-rounding-mode=d
1005 to HOST_LIBGCC2_CFLAGS.
1007 2019-01-23 Joseph Myers <joseph@codesourcery.com>
1010 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
1012 2019-01-18 Martin Liska <mliska@suse.cz>
1014 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
1016 (__gcov_indirect_call_profiler_v3): ... this.
1017 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
1018 (__gcov_indirect_call_profiler_v3): Likewise.
1019 * Makefile.in: Bump function name.
1021 2019-01-18 Martin Liska <mliska@suse.cz>
1023 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
1024 (gcov_version): Use in gcov_error.
1025 (merge_one_data): Likewise.
1026 (dump_one_gcov): Likewise.
1028 2019-01-18 Martin Liska <mliska@suse.cz>
1030 * libgcov-driver.c (gcov_version_string): New function.
1031 (gcov_version): Convert version integer into string.
1033 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
1034 Kwok Cheung Yeung <kcy@codesourcery.com>
1035 Julian Brown <julian@codesourcery.com>
1036 Tom de Vries <tom@codesourcery.com>
1038 * config.host: Recognize amdgcn*-*-amdhsa.
1039 * config/gcn/crt0.c: New file.
1040 * config/gcn/lib2-divmod-hi.c: New file.
1041 * config/gcn/lib2-divmod.c: New file.
1042 * config/gcn/lib2-gcn.h: New file.
1043 * config/gcn/sfp-machine.h: New file.
1044 * config/gcn/t-amdgcn: New file.
1046 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
1050 * config/c6x/libunwind.S: Mechanically replace "can not" with
1052 * config/tilepro/atomic.h: Likewise.
1053 * config/vxlib-tls.c: Likewise.
1054 * generic-morestack-thread.c: Likewise.
1055 * generic-morestack.c: Likewise.
1056 * mkmap-symver.awk: Likewise.
1058 2019-01-01 Jakub Jelinek <jakub@redhat.com>
1060 Update copyright years.
1062 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1064 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
1065 to ignore -Waddress-of-packed-member.
1067 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
1069 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
1070 parameter and corresponding code.
1071 (ARM_FUNC_START): Likewise in both definitions.
1072 Also update footer comment about condition that need to match with
1073 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
1074 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
1075 defined. Weakly define it in this case.
1076 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
1077 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
1078 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
1079 comment to keep condition in sync with the one in
1080 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
1082 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
1084 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
1085 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
1087 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1089 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
1090 and .cfi_endproc directives for VxWorks targets.
1092 2018-12-05 Paul Koning <ni1d@arrl.net>
1094 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
1096 2018-11-27 Alan Modra <amodra@gmail.com>
1098 * config/rs6000/morestack.S (__stack_split_initialize),
1099 (__morestack_get_guard, __morestack_set_guard),
1100 (__morestack_make_guard): Provide CFI covering these functions.
1101 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
1103 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1105 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
1106 (sc_pt_regs_lr): Update for kernel.
1107 (sc_pt_regs_tls): Update for kernel.
1109 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1111 * config/csky/linux-unwind.h: Fix coding style.
1113 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
1115 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1116 (csky_fallback_frame_state): Modify the check of the
1117 instructions to adapt to changes in the kernel
1119 2018-11-09 Stafford Horne <shorne@gmail.com>
1120 Richard Henderson <rth@twiddle.net>
1122 * config.host: Add OpenRISC support.
1123 * config/or1k/*: New.
1125 2018-11-08 Kito Cheng <kito@andestech.com>
1127 * soft-fp/adddf3.c: Update from glibc.
1128 * soft-fp/addsf3.c: Likewise.
1129 * soft-fp/addtf3.c: Likewise.
1130 * soft-fp/divdf3.c: Likewise.
1131 * soft-fp/divsf3.c: Likewise.
1132 * soft-fp/divtf3.c: Likewise.
1133 * soft-fp/double.h: Likewise.
1134 * soft-fp/eqdf2.c: Likewise.
1135 * soft-fp/eqsf2.c: Likewise.
1136 * soft-fp/eqtf2.c: Likewise.
1137 * soft-fp/extenddftf2.c: Likewise.
1138 * soft-fp/extended.h: Likewise.
1139 * soft-fp/extendhftf2.c: Likewise.
1140 * soft-fp/extendsfdf2.c: Likewise.
1141 * soft-fp/extendsftf2.c: Likewise.
1142 * soft-fp/extendxftf2.c: Likewise.
1143 * soft-fp/fixdfdi.c: Likewise.
1144 * soft-fp/fixdfsi.c: Likewise.
1145 * soft-fp/fixdfti.c: Likewise.
1146 * soft-fp/fixhfti.c: Likewise.
1147 * soft-fp/fixsfdi.c: Likewise.
1148 * soft-fp/fixsfsi.c: Likewise.
1149 * soft-fp/fixsfti.c: Likewise.
1150 * soft-fp/fixtfdi.c: Likewise.
1151 * soft-fp/fixtfsi.c: Likewise.
1152 * soft-fp/fixtfti.c: Likewise.
1153 * soft-fp/fixunsdfdi.c: Likewise.
1154 * soft-fp/fixunsdfsi.c: Likewise.
1155 * soft-fp/fixunsdfti.c: Likewise.
1156 * soft-fp/fixunshfti.c: Likewise.
1157 * soft-fp/fixunssfdi.c: Likewise.
1158 * soft-fp/fixunssfsi.c: Likewise.
1159 * soft-fp/fixunssfti.c: Likewise.
1160 * soft-fp/fixunstfdi.c: Likewise.
1161 * soft-fp/fixunstfsi.c: Likewise.
1162 * soft-fp/fixunstfti.c: Likewise.
1163 * soft-fp/floatdidf.c: Likewise.
1164 * soft-fp/floatdisf.c: Likewise.
1165 * soft-fp/floatditf.c: Likewise.
1166 * soft-fp/floatsidf.c: Likewise.
1167 * soft-fp/floatsisf.c: Likewise.
1168 * soft-fp/floatsitf.c: Likewise.
1169 * soft-fp/floattidf.c: Likewise.
1170 * soft-fp/floattihf.c: Likewise.
1171 * soft-fp/floattisf.c: Likewise.
1172 * soft-fp/floattitf.c: Likewise.
1173 * soft-fp/floatundidf.c: Likewise.
1174 * soft-fp/floatundisf.c: Likewise.
1175 * soft-fp/floatunditf.c: Likewise.
1176 * soft-fp/floatunsidf.c: Likewise.
1177 * soft-fp/floatunsisf.c: Likewise.
1178 * soft-fp/floatunsitf.c: Likewise.
1179 * soft-fp/floatuntidf.c: Likewise.
1180 * soft-fp/floatuntihf.c: Likewise.
1181 * soft-fp/floatuntisf.c: Likewise.
1182 * soft-fp/floatuntitf.c: Likewise.
1183 * soft-fp/gedf2.c: Likewise.
1184 * soft-fp/gesf2.c: Likewise.
1185 * soft-fp/getf2.c: Likewise.
1186 * soft-fp/half.h: Likewise.
1187 * soft-fp/ledf2.c: Likewise.
1188 * soft-fp/lesf2.c: Likewise.
1189 * soft-fp/letf2.c: Likewise.
1190 * soft-fp/muldf3.c: Likewise.
1191 * soft-fp/mulsf3.c: Likewise.
1192 * soft-fp/multf3.c: Likewise.
1193 * soft-fp/negdf2.c: Likewise.
1194 * soft-fp/negsf2.c: Likewise.
1195 * soft-fp/negtf2.c: Likewise.
1196 * soft-fp/op-1.h: Likewise.
1197 * soft-fp/op-2.h: Likewise.
1198 * soft-fp/op-4.h: Likewise.
1199 * soft-fp/op-8.h: Likewise.
1200 * soft-fp/op-common.h: Likewise.
1201 * soft-fp/quad.h: Likewise.
1202 * soft-fp/single.h: Likewise.
1203 * soft-fp/soft-fp.h: Likewise.
1204 * soft-fp/subdf3.c: Likewise.
1205 * soft-fp/subsf3.c: Likewise.
1206 * soft-fp/subtf3.c: Likewise.
1207 * soft-fp/truncdfsf2.c: Likewise.
1208 * soft-fp/trunctfdf2.c: Likewise.
1209 * soft-fp/trunctfhf2.c: Likewise.
1210 * soft-fp/trunctfsf2.c: Likewise.
1211 * soft-fp/trunctfxf2.c: Likewise.
1212 * soft-fp/unorddf2.c: Likewise.
1213 * soft-fp/unordsf2.c: Likewise.
1214 * soft-fp/unordtf2.c: Likewise.
1216 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
1218 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
1219 * config/i386/cpuinfo.h (processor_types): Add znver2.
1221 2018-11-01 Paul Koning <ni1d@arrl.net>
1223 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
1224 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
1226 2018-10-31 Joseph Myers <joseph@codesourcery.com>
1229 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
1230 * configure: Regenerate.
1232 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
1234 * config/arc/lib1funcs.S (_muldi3): New function.
1235 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
1237 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1239 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
1241 2018-10-25 Martin Liska <mliska@suse.cz>
1244 * libgcov-profiler.c: Revert.
1246 2018-10-24 Martin Liska <mliska@suse.cz>
1248 * libgcov-profiler.c: Start from 1 in order to distinguish
1249 functions which were seen and these that were not.
1251 2018-10-18 Paul Koning <ni1d@arrl.net>
1253 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1255 * divmod.c: Update references to __udivmodsi4.
1257 * udivhi3.c: New file.
1258 * udivmodhi4.c: New file.
1259 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1261 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1263 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1265 2018-10-12 Olivier Hainque <hainque@adacore.com>
1267 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1268 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1270 2018-10-08 Paul Koning <ni1d@arrl.net>
1272 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1274 2018-10-04 Martin Liska <mliska@suse.cz>
1276 PR gcov-profile/84107
1277 * libgcov-profiler.c (__gcov_indirect_call):
1278 Change type to indirect_call_tuple.
1279 (struct indirect_call_tuple): New struct.
1280 (__gcov_indirect_call_topn_profiler): Change type.
1281 (__gcov_indirect_call_profiler_v2): Use the new
1283 * libgcov.h (struct indirect_call_tuple): New struct
1286 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
1288 * libgcc2.c (isnan): Use __builtin_isnan.
1289 (isfinite): Use __builtin_isfinite.
1290 (isinf): Use __builtin_isinf.
1292 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
1294 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
1296 2018-09-21 Alexandre Oliva <oliva@adacore.com>
1298 * config/vxcache.c: New file. Provide __clear_cache, based on
1299 the cacheTextUpdate VxWorks service.
1300 * config/t-vxworks (LIB2ADD): Add vxcache.c.
1301 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
1302 * config/t-vxwoks7: Likewise.
1304 2018-09-21 Martin Liska <mliska@suse.cz>
1306 * libgcov-driver.c (crc32_unsigned): Remove.
1307 (gcov_histogram_insert): Likewise.
1308 (gcov_compute_histogram): Likewise.
1309 (compute_summary): Simplify rapidly.
1310 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1311 (merge_summary): Rapidly simplify.
1312 (dump_one_gcov): Ignore gcov_summary.
1313 (gcov_do_dump): Do not handle program summary, it's not
1315 * libgcov-util.c (tag_summary): Remove.
1316 (read_gcda_finalize): Fix coding style.
1317 (read_gcda_file): Initialize curr_object_summary.
1318 (compute_summary): Remove.
1319 (calculate_overlap): Remove settings of run_max.
1321 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
1323 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1324 ucontext_t type instead.
1325 (nds32_fallback_frame_state): Remove struct _sigframe statement.
1327 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
1329 * config/nds32/t-nds32-glibc: New file.
1331 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1333 * configure.ac (solaris_ld_v2_maps): New test.
1334 * configure: Regenerate.
1335 * Makefile.in (solaris_ld_v2_maps): New variable.
1336 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1339 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
1342 * config/arm/lib1funcs.asm (speculation_barrier): New function.
1343 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1346 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
1348 * config/unwind-dw2-fde-darwin.c
1349 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1350 * config/darwin10-unwind-find-enc-func.c: … to here.
1351 * config/t-darwin: Build Darwin10 unwinder shim crt.
1352 * libgcc/config.host: Add the Darwin10 unwinder shim.
1354 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1356 * config.host: Add crtbegin.o and crtend.o for
1357 powerpc-wrs-vxworks target.
1359 2018-08-17 Jojo <jijie_rong@c-sky.com>
1360 Huibin Wang <huibin_wang@c-sky.com>
1361 Sandra Loosemore <sandra@codesourcery.com>
1362 Chung-Lin Tang <cltang@codesourcery.com>
1366 * config.host: Add C-SKY support.
1367 * config/csky/*: New.
1369 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
1371 * config/nds32/t-nds32-isr: Rearrange object dependency.
1372 * config/nds32/initfini.c: Add dwarf2 unwinding support.
1373 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1374 and registers usage.
1375 * config/nds32/isr-library/excp_isr.S: Ditto.
1376 * config/nds32/isr-library/intr_isr.S: Ditto.
1377 * config/nds32/isr-library/reset.S: Ditto.
1378 * config/nds32/isr-library/restore_all.inc: Ditto.
1379 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1380 * config/nds32/isr-library/restore_partial.inc: Ditto.
1381 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1382 * config/nds32/isr-library/save_all.inc: Ditto.
1383 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1384 * config/nds32/isr-library/save_partial.inc: Ditto.
1385 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1386 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1388 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
1390 * config/pa/linux-atomic.c: Update comment.
1391 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1392 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1393 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1394 __ATOMIC_RELAXED for atomic loads.
1395 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
1396 unordered store to release lock.
1397 (__sync_lock_release_8): Likewise.
1398 (SYNC_LOCK_RELEASE_2): Remove define.
1400 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
1403 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1404 exponent goes negative. Update my email address.
1405 * config/arm/ieee754-sf.S: Likewise.
1407 2018-08-01 Martin Liska <mliska@suse.cz>
1409 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
1410 check that __gcov_indirect_call_callee is non-null.
1412 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
1414 * config/arm/ieee754-df.S: Fix comment for code working on
1416 * config/arm/ieee754-sf.S: Likewise.
1418 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
1421 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1424 2018-07-05 James Clarke <jrtc27@jrtc27.com>
1426 * configure: Regenerated.
1428 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1430 * Makefile.in (install_leaf): Use enable_gcov instead of
1433 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1435 * configure.ac: Add --disable-gcov option.
1436 * configure: Regenerate.
1437 * Makefile.in: Honour @enable_gcov@.
1439 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1441 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1442 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1443 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1444 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1446 * config/arm/ieee754-sf.S: Likewise.
1447 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1449 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1451 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1453 * config/arm/ieee754-sf.S: Likewise.
1455 2018-06-20 Than McIntosh <thanm@google.com>
1458 * generic-morestack.c (allocate_segment): Move calls to getenv and
1459 getpagesize to __morestack_load_mmap.
1460 (__morestack_load_mmap) Initialize static_pagesize and
1461 use_guard_page here so as to avoid clobbering SSE regs during a
1464 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
1466 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1467 support modules with -mno-gnu-attribute.
1468 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1470 2018-06-07 Olivier Hainque <hainque@adacore.com>
1472 * config/t-vxworks (LIBGCC_INCLUDES): Add
1473 -I$(MULTIBUILDTOP)../../gcc/include.
1474 * config/t-vxworks7: Likewise. Reformat a bit to match
1475 the t-vxworks layout.
1477 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
1479 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1481 2018-06-07 Martin Liska <mliska@suse.cz>
1483 * libgcov-driver.c: Rename cs_all to all and assign it from
1486 2018-06-07 Martin Liska <mliska@suse.cz>
1489 * libgcov-driver-system.c (replace_filename_variables): Use
1490 memcpy instead of mempcpy.
1491 (allocate_filename_struct): Do not allocate filename, allocate
1493 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
1494 here and properly copy content into it.
1495 * libgcov-driver.c (struct gcov_filename): Remove max_length
1496 field, change prefix from size_t into char *.
1497 (compute_summary): Do not calculate longest filename.
1498 (gcov_do_dump): Release memory of gf.filename after each file.
1499 * libgcov-util.c (compute_summary): Use new signature of
1501 (calculate_overlap): Likewise.
1503 2018-06-05 Martin Liska <mliska@suse.cz>
1505 PR gcov-profile/47618
1506 * libgcov-driver-system.c (replace_filename_variables): New
1508 (gcov_exit_open_gcda_file): Use it.
1510 2018-06-05 Martin Liska <mliska@suse.cz>
1512 * libgcov-driver.c (gcov_compute_histogram): Remove usage
1513 of gcov_ctr_summary.
1514 (compute_summary): Do it just for a single summary.
1515 (merge_one_data): Likewise.
1516 (merge_summary): Simplify as we read just single summary.
1517 (dump_one_gcov): Pass proper argument.
1518 * libgcov-util.c (compute_one_gcov): Simplify as we have just
1520 (gcov_info_count_all_cold): Likewise.
1521 (calculate_overlap): Likewise.
1523 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
1524 Monk Chiang <sh.chiang04@gmail.com>
1526 * config.host (nds32*-linux*): New.
1527 * config/nds32/linux-atomic.c: New file.
1528 * config/nds32/linux-unwind.h: New file.
1530 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
1533 * config/i386/cpuinfo.c (get_amd_cpu): Return
1534 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1536 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1538 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
1540 2018-05-29 Martin Liska <mliska@suse.cz>
1542 PR gcov-profile/85759
1543 * libgcov-driver-system.c (gcov_error): Introduce usage of
1544 GCOV_EXIT_AT_ERROR env. variable.
1545 * libgcov-driver.c (merge_one_data): Print error that we
1546 overwrite a gcov file with a different timestamp.
1548 2018-05-23 Kalamatee <kalamatee@gmail.com>
1550 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1553 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
1554 Monk Chiang <sh.chiang04@gmail.com>
1555 Jim Wilson <jimw@sifive.com>
1557 * config/riscv/save-restore.S: Add support for rv32e.
1559 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1561 * config/arm/libunwind.S: Update comment relating to armv5.
1563 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
1565 * config/arm/cmse.c (cmse_check_address_range): Replace
1566 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1568 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
1570 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1571 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1573 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
1575 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1576 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1578 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
1580 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1582 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
1583 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1586 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1587 op_and_fetch to return the right result.
1589 2018-04-27 Alan Modra <amodra@gmail.com>
1592 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1593 -fno-asynchronous-unwind-tables.
1595 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
1597 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1598 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1600 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1602 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1603 when including "config/i386/shadow-stack-unwind.h".
1605 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1607 * configure: Regenerated.
1609 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
1612 * config/rs6000/_powikf2.c: New file. Add support for the
1613 __builtin_powil function when long double is IEEE 128-bit floating
1615 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1617 (__powikf2): Likewise.
1618 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1619 (__powikf2_hw): Likewise.
1620 (__powikf2): Likewise.
1621 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1622 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1623 (_powikf2-hw.c): Likewise.
1625 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1628 * unwind-generic.h (_Unwind_Frames_Increment): New.
1629 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1631 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1632 count with _Unwind_Frames_Increment.
1633 (_Unwind_ForcedUnwind_Phase2): Likewise.
1635 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1638 * config/i386/morestack.S (__stack_split_initialize): Add
1641 2018-04-19 Jakub Jelinek <jakub@redhat.com>
1643 * configure: Regenerated.
1645 2018-04-18 David Malcolm <dmalcolm@redhat.com>
1648 * configure: Regenerate.
1650 2018-04-16 Jakub Jelinek <jakub@redhat.com>
1653 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1654 -Wdangling-else warnings. Mask shift counts to avoid
1655 -Wshift-count-negative and -Wshift-count-overflow false positives.
1657 2018-04-06 Ruslan Bukin <br@bsdpad.com>
1659 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1661 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
1664 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1665 (XSTATE_FP): Likewise.
1666 (XSTATE_SSE): Likewise.
1667 (XSTATE_YMM): Likewise.
1668 (XSTATE_OPMASK): Likewise.
1669 (XSTATE_ZMM): Likewise.
1670 (XSTATE_HI_ZMM): Likewise.
1671 (XCR_AVX_ENABLED_MASK): Likewise.
1672 (XCR_AVX512F_ENABLED_MASK): Likewise.
1673 (get_available_features): Enable AVX and AVX512 features only
1674 if their states are supported by OSXSAVE.
1676 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1679 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1680 Fix a typo, tmp => 255.
1682 2018-03-20 Jakub Jelinek <jakub@redhat.com>
1685 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1686 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1688 (set_feature): Define.
1689 (get_available_features): Use set_feature macro. Set __cpu_features2
1690 to the second word of features ifndef SHARED.
1692 2018-03-15 Julia Koval <julia.koval@intel.com>
1694 * config/i386/cpuinfo.c (get_available_features): Add
1695 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1696 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1697 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1698 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1699 FEATURE_AVX512BITALG.
1701 2018-03-14 Julia Koval <julia.koval@intel.com>
1703 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1704 icelake client and icelake server.
1706 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
1708 * config/pa/fptr.c (_dl_read_access_allowed): New.
1709 (__canonicalize_funcptr_for_compare): Use it.
1711 2018-02-28 Jakub Jelinek <jakub@redhat.com>
1714 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1715 $asm_hidden_op if visibility ("hidden") attribute works.
1716 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1717 * config/i386/i386-asm.h: Don't include auto-host.h.
1718 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1719 PACKAGE_URL): Don't undefine.
1720 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1721 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1722 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1723 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1724 definition instead of hardcoded .hidden.
1725 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1726 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1727 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1728 (USE_GAS_CFI_DIRECTIVES): Don't define.
1729 * configure: Regenerated.
1730 * config.in: Likewise.
1732 2018-02-26 Jakub Jelinek <jakub@redhat.com>
1735 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1736 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1737 inclusion of auto-target.h and auto-host.h.
1738 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1739 __GCC_HAVE_DWARF2_CFI_ASM.
1740 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1741 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1743 * config/i386/cygwin.S: Don't include auto-host.h here, just
1744 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1745 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1746 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1747 * config/i386/resms64fx.h: Add cfi_* directives.
1748 * config/i386/resms64x.h: Likewise.
1750 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1752 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1753 .literal_position directive.
1754 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1756 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1759 * configure: Regenerate.
1761 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1764 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1765 Include cetintrin.h not x86intrin.h.
1767 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1770 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1771 Use new _get_ssp and _inc_ssp intrinsics.
1773 2018-02-02 Julia Koval <julia.koval@intel.com>
1775 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1777 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1779 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1781 (__divsi3): Use RF16 safe registers.
1782 (__modsi3): Likewise.
1784 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1786 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1787 (__divsf3): Make NaN return value quiet.
1788 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1789 (__divdf3): Make NaN return value quiet.
1791 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1793 * config/rl78/anddi3.S: New assembly file.
1794 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1796 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1798 * config/rl78/umindi3.S: New assembly file.
1799 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1801 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1803 * config/rl78/smindi3.S: New assembly file.
1804 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1806 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1808 * config/rl78/smaxdi3.S: New assembly file.
1809 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1811 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1813 * config/rl78/umaxdi3.S: New assembly file.
1814 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
1816 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
1819 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1820 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
1822 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1824 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1825 (DWARF_LAZY_REGISTER_VALUE): Define.
1826 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1827 to provide a fallback register value.
1829 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1831 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1832 __ibm128, instead of trying to use long double.
1833 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1834 accomidate -mabi=ieeelongdouble multilibs.
1835 (CVT_IBM128_TO_FLOAT128): Likewise.
1836 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1837 the appropriate IBM extended double type.
1838 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1839 (__gcc_qsub): Likewise.
1840 (__gcc_qmul): Likewise.
1841 (__gcc_qdiv): Likewise.
1842 (pack_ldouble): Likewise.
1843 (__gcc_qneg): Likewise.
1844 (__gcc_qeq): Likewise.
1845 (__gcc_qne): Likewise.
1846 (__gcc_qge): Likewise.
1847 (__gcc_qle): Likewise.
1848 (__gcc_stoq): Likewise.
1849 (__gcc_dtoq): Likewise.
1850 (__gcc_itoq): Likewise.
1851 (__gcc_utoq): Likewise.
1852 (__gcc_qunord): Likewise.
1853 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1854 quad-float128.h for the definitions.
1855 (COPYSIGN): Use the f128 version instead of the q version.
1856 (INFINITY): Likewise.
1857 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1858 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1859 quad-float128.h for the definitions.
1860 (COPYSIGN): Use the f128 version instead of the q version.
1861 (INFINITY): Likewise.
1863 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1864 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1865 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1867 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1869 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1872 2018-01-03 Jakub Jelinek <jakub@redhat.com>
1874 Update copyright years.
1876 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
1878 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1879 * config/riscv/multi3.c: New file.
1880 * config/riscv/multi3.S: Remove.
1882 2017-12-08 Jim Wilson <jimw@sifive.com>
1884 * config/riscv/div.S: Use FUNC_* macros.
1885 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1886 * config/riscv/save-restore.S: Likewise.
1887 * config/riscv/riscv-asm.h: New.
1889 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1891 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1892 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1895 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1896 correct type for all ifunc resolvers to silence -Wattribute-alias
1897 warnings. Eliminate the forward declaration of the resolver
1898 functions which is no longer needed.
1899 (__subkf3_resolve): Likewise.
1900 (__mulkf3_resolve): Likewise.
1901 (__divkf3_resolve): Likewise.
1902 (__negkf2_resolve): Likewise.
1903 (__eqkf2_resolve): Likewise.
1904 (__nekf2_resolve): Likewise.
1905 (__gekf2_resolve): Likewise.
1906 (__gtkf2_resolve): Likewise.
1907 (__lekf2_resolve): Likewise.
1908 (__ltkf2_resolve): Likewise.
1909 (__unordkf2_resolve): Likewise.
1910 (__extendsfkf2_resolve): Likewise.
1911 (__extenddfkf2_resolve): Likewise.
1912 (__trunckfsf2_resolve): Likewise.
1913 (__trunckfdf2_resolve): Likewise.
1914 (__fixkfsi_resolve): Likewise.
1915 (__fixkfdi_resolve): Likewise.
1916 (__fixunskfsi_resolve): Likewise.
1917 (__fixunskfdi_resolve): Likewise.
1918 (__floatsikf_resolve): Likewise.
1919 (__floatdikf_resolve): Likewise.
1920 (__floatunsikf_resolve): Likewise.
1921 (__floatundikf_resolve): Likewise.
1922 (__extendkftf2_resolve): Likewise.
1923 (__trunctfkf2_resolve): Likewise.
1926 * config/rs6000/quad-float128.h (TF): Don't define if long double
1927 is IEEE 128-bit floating point.
1928 (TCtype): Define as either TCmode or KCmode, depending on whether
1929 long double is IEEE 128-bit floating point.
1930 (__mulkc3_sw): Add declarations for software/hardware versions of
1931 complex multiply/divide.
1932 (__divkc3_sw): Likewise.
1933 (__mulkc3_hw): Likewise.
1934 (__divkc3_hw): Likewise.
1935 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1936 handlers to switch between using software emulation and hardware
1937 float128 instructions, build the complex multiply/divide functions
1938 for both software and hardware support.
1939 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1940 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1941 (__divkc3_resolve): Likewise.
1942 (__mulkc3): Likewise.
1943 (__divkc3): Likewise.
1944 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1945 (fp128_hw_src): Likewise.
1946 (fp128_hw_static_obj): Likewise.
1947 (fp128_hw_shared_obj): Likewise.
1948 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1949 _mulkc3.c and _divkc3.c, changing the function name.
1950 (_divkc3-hw.c): Likewise.
1951 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1954 2017-11-26 Julia Koval <julia.koval@intel.com>
1956 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1957 * config/i386/cpuinfo.h (processor_subtypes): Add
1958 INTEL_COREI7_CANNONLAKE.
1960 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1963 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1965 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1966 * config/ia64/unwind-ia64.c: Add frames parameter.
1967 * unwind-sjlj.c: Likewise.
1969 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1971 * config/i386/linux-unwind.h: Include
1972 config/i386/shadow-stack-unwind.h.
1973 * config/i386/shadow-stack-unwind.h: New file.
1974 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1975 pass it to _Unwind_Frames_Extra.
1976 * unwind-generic.h (_Unwind_Frames_Extra): New.
1977 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1978 parameter. Add local variable frames to count number of frames.
1979 (_Unwind_ForcedUnwind_Phase2): Likewise.
1980 (_Unwind_RaiseException): Add local variable frames to count
1981 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1983 (_Unwind_ForcedUnwind): Likewise.
1984 (_Unwind_Resume): Likewise.
1985 (_Unwind_Resume_or_Rethrow): Likewise.
1987 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1989 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1991 * config/i386/morestack.S: Include <cet.h>.
1992 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1993 * config/i386/resms64.h: Include <cet.h>.
1994 * config/i386/resms64f.h: Likewise.
1995 * config/i386/resms64fx.h: Likewise.
1996 * config/i386/resms64x.h: Likewise.
1997 * config/i386/savms64.h: Likewise.
1998 * config/i386/savms64f.h: Likewise.
1999 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
2000 (CRTSTUFF_T_CFLAGS): Likewise.
2001 * configure.ac: Include ../config/cet.m4.
2002 Set and substitute CET_FLAGS.
2003 * configure: Regenerated.
2005 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2007 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
2009 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
2010 * configure.ac (libgcc_cv_solaris_crts): Likewise.
2011 * configure: Regenerate.
2013 2017-11-07 Tom de Vries <tom@codesourcery.com>
2015 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
2016 after "do {} while (0)".
2018 2017-11-07 Tom de Vries <tom@codesourcery.com>
2021 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
2022 semicolon after "do {} while (0)".
2023 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2024 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2025 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2026 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2028 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
2031 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
2032 sysctl to determine whether we're in a trampoline.
2033 Keep the pattern matching method for systems without
2034 KERN_PROC_SIGTRAMP sysctl.
2036 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
2037 Vineet Gupta <vgupta@synopsys.com>
2039 * config.host (arc*-*-linux*): Set md_unwind_header variable.
2040 * config/arc/linux-unwind-reg.def: New file.
2041 * config/arc/linux-unwind-reg.h: Likewise.
2043 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
2045 * config/rl78/subdi3.S: New assembly file.
2046 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
2048 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
2050 * config/rl78/adddi3.S: New assembly file.
2051 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
2053 2017-10-13 Jakub Jelinek <jakub@redhat.com>
2056 * libgcc2.c (__mulvDI3): If both operands have
2057 the same highpart of -1 and the topmost bit of lowpart is 0,
2058 multiplication overflows even if both lowparts are 0.
2060 2017-09-28 James Bowman <james.bowman@ftdichip.com>
2062 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
2064 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2066 * config/microblaze/crti.S, config/microblaze/crtn.S,
2067 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
2068 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
2069 config/microblaze/mulsi3.S,
2070 config/microblaze/stack_overflow_exit.S,
2071 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
2072 config/pa/milli64.S: Add .note.GNU-stack section.
2074 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
2076 * configure.ac: Add Check for HAVE_AS_AVX.
2077 * config.in: Regenerate.
2078 * configure: Likewise.
2079 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
2080 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
2081 Correct out-of-date comments.
2083 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
2085 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
2086 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
2088 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
2090 * config/i386/i386-asm.h (PASTE2): New macro.
2091 (ASMNAME): Modify to use PASTE2.
2092 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
2093 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
2094 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
2095 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
2096 * config/i386/resms64f.S: Likewise.
2097 * config/i386/resms64fx.S: Likewise.
2098 * config/i386/resms64x.S: Likewise.
2099 * config/i386/savms64.S: Likewise.
2100 * config/i386/savms64f.S: Likewise.
2101 * config/i386/avx_resms64.S: New file that only defines a macro and
2102 includes it's corresponding header file.
2103 * config/i386/avx_resms64f.S: Likewise.
2104 * config/i386/avx_resms64fx.S: Likewise.
2105 * config/i386/avx_resms64x.S: Likewise.
2106 * config/i386/avx_savms64.S: Likewise.
2107 * config/i386/avx_savms64f.S: Likewise.
2108 * config/i386/sse_resms64.S: Likewise.
2109 * config/i386/sse_resms64f.S: Likewise.
2110 * config/i386/sse_resms64fx.S: Likewise.
2111 * config/i386/sse_resms64x.S: Likewise.
2112 * config/i386/sse_savms64.S: Likewise.
2113 * config/i386/sse_savms64f.S: Likewise.
2114 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
2116 2017-09-01 Olivier Hainque <hainque@adacore.com>
2117 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
2119 2017-08-31 Olivier Hainque <hainque@adacore.com>
2121 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
2122 match as powerpc-wrs-vxworks*.
2124 2017-08-07 Jonathan Yong <10walls@gmail.com>
2126 * config.host (*-cygwin): Include file from mingw
2127 config/i386/enable-execute-stack-mingw32.c
2129 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
2130 Doug Rupp <rupp@adacore.com>
2131 Olivier Hainque <hainque@adacore.com>
2133 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
2134 as well as arm-wrs-vxworks.
2135 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
2137 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
2138 __exidx_start and __exidx_end for downloadable modules.
2140 2017-08-01 Olivier Hainque <hainque@adacore.com>
2142 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
2143 * config/t-vxworks7: Likewise.
2145 2017-08-01 Olivier Hainque <hainque@adacore.com>
2147 * config/t-vxworks: Instead of redefining LIB2ADD,
2148 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
2150 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2152 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
2154 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
2157 * config.host: include i386/t-msabi for darwin and solaris.
2158 * config/i386/i386-asm.h
2159 (ELFFN): Rename to FN_TYPE.
2160 (FN_SIZE): New macro.
2161 (FN_HIDDEN): Likewise.
2162 (ASMNAME): Likewise.
2163 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
2165 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
2166 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
2167 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
2169 * config/i386/resms64f.S: Likewise.
2170 * config/i386/resms64fx.S: Likewise.
2171 * config/i386/resms64x.S: Likewise.
2172 * config/i386/savms64.S: Likewise.
2173 * config/i386/savms64f.S: Likewise.
2175 2017-07-19 John Marino <gnugcc@marino.st>
2177 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
2179 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
2182 * configure.ac (PowerPC float128 hardware support): Test whether
2183 we can use __builtin_cpu_supports before enabling the ifunc
2185 * configure: Regenerate.
2187 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
2189 * config.host: Remove uclibc from arc target spec.
2191 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
2193 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
2195 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
2197 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
2198 (have_ieee_hw_p): Delete function.
2199 (SW_OR_HW) Use __builtin_cpu_supports().
2201 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2203 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
2205 2017-07-03 Olivier Hainque <hainque@adacore.com>
2207 * config/t-vxworks7: New file, really.
2209 2017-06-28 Joseph Myers <joseph@codesourcery.com>
2211 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
2212 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
2213 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
2214 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
2215 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
2216 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
2217 config/pa/linux-unwind.h (pa32_fallback_frame_state),
2218 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
2219 config/sh/linux-unwind.h (sh_fallback_frame_state),
2220 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
2221 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
2222 ucontext_t instead of struct ucontext.
2224 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
2226 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
2227 (x86_64-wrs-vxworks7): Likewise.
2229 2017-06-27 Olivier Hainque <hainque@adacore.com>
2231 * config/t-vxworks7: New file.
2232 * config.host (*-*-vxworks7): Use it.
2234 2017-06-22 Matt Turner <mattst88@gmail.com>
2236 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
2239 2017-06-21 Richard Biener <rguenther@suse.de>
2241 PR gcov-profile/81080
2242 * configure.ac: Add AC_SYS_LARGEFILE.
2243 * libgcov.h: Include auto-target.h before tsystem.h to pick
2244 up _FILE_OFFSET_BITS which might differ for multilibs.
2245 * config.in: Regenerate.
2246 * configure: Likewise.
2248 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
2250 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2252 2017-06-09 Martin Liska <mliska@suse.cz>
2254 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2255 Reset __gcov_indirect_call_callee to NULL.
2257 2017-06-08 Olivier Hainque <hainque@adacore.com>
2259 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2260 the set of -I options, support for direct inclusions of net/uio.h
2261 by VxWorks header files via ioLib.h.
2263 2017-06-07 Tony Reix <tony.reix@atos.net>
2264 Matthieu Sarter <matthieu.sarter.external@atos.net>
2265 David Edelsohn <dje.gcc@gmail.com>
2267 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2269 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
2272 2017-06-02 Olivier Hainque <hainque@adacore.com>
2274 * config/vxlib.c (__gthread_once): Add missing value to
2277 2017-05-30 Olivier Hainque <hainque@adacore.com>
2279 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
2280 dollar sign before $(MULTIDIR).
2282 2017-05-26 Richard Henderson <rth@redhat.com>
2285 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
2287 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
2289 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
2290 _Unwind_SetIP available as functions for arm*-*-freebsd*.
2291 * config/arm/unwind-arm.c: Implement the above.
2293 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2295 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
2296 section for a non-executable stack.
2298 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
2301 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
2303 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
2305 * config.host: Add i386/t-msabi to i386/t-linux file list.
2306 * config/i386/i386-asm.h: New file.
2307 * config/i386/resms64.S: New file.
2308 * config/i386/resms64f.S: New file.
2309 * config/i386/resms64fx.S: New file.
2310 * config/i386/resms64x.S: New file.
2311 * config/i386/savms64.S: New file.
2312 * config/i386/savms64f.S: New file.
2313 * config/i386/t-msabi: New file.
2315 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
2317 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2318 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2320 2017-05-05 Joshua Conner <joshconner@google.com>
2322 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2323 pc-relative indirect handling for fuchsia.
2324 * config/t-slibgcc-fuchsia: New file.
2325 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
2326 x86_64-*-fuchsia*): Add definitions.
2328 2017-04-19 Martin Liska <mliska@suse.cz>
2330 PR gcov-profile/80435
2331 * Makefile.in: Install gcov.h.
2333 * libgcov.h: Use the header and make __gcov_flush publicly
2336 2017-04-18 Martin Liska <mliska@suse.cz>
2338 PR gcov-profile/78783
2339 * libgcov-driver.c (gcov_get_filename): New function.
2341 2017-04-07 Jeff Law <law@redhat.com>
2343 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2344 target makefile fragment.
2345 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2347 2017-04-07 Alan Modra <amodra@gmail.com>
2350 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2352 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
2354 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2356 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
2358 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
2360 2017-03-10 John Marino <gnugcc@marino.st>
2362 * config/aarch64/freebsd-unwind.h: New file.
2363 * config.host: Add aarch64-*-freebsd unwinder.
2365 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2367 * config/rs6000/crtrestvr.s: Use .machine altivec.
2368 * config/rs6000/crtsavevr.s: Ditto.
2370 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2372 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2373 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
2374 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2375 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
2376 * configure: Regenerate.
2377 * config.in: Regenerate.
2379 2017-03-02 Jonathan Yong <10walls@gmail.com>
2381 * config/i386/gthr-win32.h: Define NOGDI before
2382 windows.h include to prevent w32api CC_NONE macro
2383 clash with libgfortran.
2385 2017-03-02 Jonathan Yong <10walls@gmail.com>
2387 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2389 2017-02-16 Andrew Pinski <apinski@cavium.com>
2391 * config/aarch64/value-unwind.h: New file.
2392 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2395 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
2397 * config.host: Add RISC-V tuples.
2398 * config/riscv/atomic.c: New file.
2399 * config/riscv/crti.S: Likewise.
2400 * config/riscv/crtn.S: Likewise.
2401 * config/riscv/div.S: Likewise.
2402 * config/riscv/linux-unwind.h: Likewise.
2403 * config/riscv/muldi3.S: Likewise.
2404 * config/riscv/multi3.S: Likewise.
2405 * config/riscv/save-restore.S: Likewise.
2406 * config/riscv/sfp-machine.h: Likewise.
2407 * config/riscv/t-elf: Likewise.
2408 * config/riscv/t-elf32: Likewise.
2409 * config/riscv/t-elf64: Likewise.
2410 * config/riscv/t-softfp32: Likewise.
2411 * config/riscv/t-softfp64: Likewise.
2413 2017-01-24 Jakub Jelinek <jakub@redhat.com>
2415 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2416 /* FALLTHRU */ comments.
2418 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
2420 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2422 2017-01-20 Jiong Wang <jiong.wang@arm.com>
2424 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2425 * unwind-dw2.c (execute_cfa_program): Only multiplexing
2426 DW_CFA_GNU_window_save for AArch64 and LP64.
2428 2017-01-20 Jiong Wang <jiong.wang@arm.com>
2430 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2432 2017-01-19 Jiong Wang <jiong.wang@arm.com>
2434 * config/aarch64/aarch64-unwind.h: New file.
2435 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2436 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2437 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2438 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2439 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2440 (aarch64_post_extract_frame_addr): New function.
2441 (aarch64_post_frob_eh_handler_addr): New function.
2442 (aarch64_frob_update_context): New function.
2443 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2444 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2445 aarch64*-*-freebsd*):
2446 Initialize md_unwind_header to include aarch64-unwind.h.
2447 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2448 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2450 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2451 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2452 (uw_frob_return_addr): New function.
2453 (uw_install_context): Use uw_frob_return_addr.
2455 2017-01-17 Jakub Jelinek <jakub@redhat.com>
2458 * configure.ac: Add GCC_BASE_VER.
2459 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2460 version from BASE-VER file.
2461 * configure: Regenerated.
2463 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
2465 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2466 libmul_f5.a): Filter archived prerequisites.
2468 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
2470 * config/i386/cpuinfo.h (processor_features): Add
2471 FEATURE_AVX512VPOPCNTDQ.
2472 * config/i386/cpuinfo.c (get_available_features): Habdle new
2475 2017-01-04 Joseph Myers <joseph@codesourcery.com>
2477 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2478 payload if [__mips_nan2008].
2480 2017-01-04 Alan Modra <amodra@gmail.com>
2482 * Makefile.in (configure_deps): Update.
2483 * configure: Regenerate.
2485 2017-01-01 Jakub Jelinek <jakub@redhat.com>
2487 Update copyright years.
2489 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
2491 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2492 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2493 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2495 2016-12-17 Matthias Klose <doko@ubuntu.com>
2497 * config/arc/gmon: Remove empty directory.
2499 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
2501 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2503 (arc*-*-elf*): Likewise.
2504 * config/arc/t-arc: Remove old gmon lib targets.
2505 * config/arc/crtg.S: Remove.
2506 * config/arc/crtgend.S: Likewise.
2507 * config/arc/gmon/atomic.h: Likewise.
2508 * config/arc/gmon/auxreg.h: Likewise.
2509 * config/arc/gmon/dcache_linesz.S: Likewise.
2510 * config/arc/gmon/gmon.c: Likewise.
2511 * config/arc/gmon/machine-gmon.h: Likewise.
2512 * config/arc/gmon/mcount.c: Likewise.
2513 * config/arc/gmon/prof-freq-stub.S: Likewise.
2514 * config/arc/gmon/prof-freq.c: Likewise.
2515 * config/arc/gmon/profil.S: Likewise.
2516 * config/arc/gmon/sys/gmon.h: Likewise.
2517 * config/arc/gmon/sys/gmon_out.h: Likewise.
2518 * config/arc/t-arc-newlib: Likewise.
2519 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2521 2016-12-12 George Spelvin <linux@sciencehorizons.net>
2523 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2525 2016-12-12 George Spelvin <linux@sciencehorizons.net>
2527 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2528 R16 instead of push + pop.
2529 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2531 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
2533 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2536 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
2538 * config.host (arc*-*-linux-uclibc*): Use default extra
2539 objects. Include linux-android header.
2540 * config/arc/crti.S (_init): Declare symbol as function.
2543 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
2546 * config/i386/cpuinfo.c: Move denums for processor vendors,
2547 processor type, processor subtypes and declaration of
2548 struct __processor_model into
2549 * config/i386/cpuinfo.h: New header file.
2551 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2552 Thomas Preud'homme <thomas.preudhomme@arm.com>
2554 * config/arm/cmse_nonsecure_call.S: New.
2555 * config/arm/t-arm: Compile cmse_nonsecure_call.S
2557 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2558 Thomas Preud'homme <thomas.preudhomme@arm.com>
2560 * config/arm/t-arm (HAVE_CMSE): New.
2561 * config/arm/cmse.c: New.
2563 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2566 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2567 use generic linker version information on Blackfin.
2570 * libgcc/mkmap-symver.awk: add support for skip_underscore
2572 2016-11-27 Iain Sandoe <iain@codesourcery.com>
2573 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2576 * config/t-darwin: Default builds to 10.5 codegen.
2578 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
2580 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2581 (_FP_NANSIGN_H): Likewise.
2582 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2583 (softfp_truncations): Add tfhf.
2584 (softfp_extras): Add required conversion functions.
2586 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2587 Matthew Wahab <matthew.wahab@arm.com>
2589 * config/arm/fp16.c (binary64): New.
2590 (__gnu_d2h_internal): New.
2591 (__gnu_d2h_ieee): New.
2592 (__gnu_d2h_alternative): New.
2594 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2595 Matthew Wahab <matthew.wahab@arm.com>
2597 * config/arm/fp16.c (struct format): New.
2599 (__gnu_float2h_internal): New. Body moved from
2600 __gnu_f2h_internal and generalize.
2601 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2602 Call it with binary32.
2604 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2606 * soft-fp/extendhftf2.c: Update from glibc.
2607 * soft-fp/fixhfti.c: Likewise.
2608 * soft-fp/fixunshfti.c: Likewise.
2609 * soft-fp/floattihf.c: Likewise.
2610 * soft-fp/floatuntihf.c: Likewise.
2611 * soft-fp/half.h: Likewise.
2612 * soft-fp/trunctfhf2.c: Likewise.
2614 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
2617 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2618 __TMC_END__ behind a passthrough asm.
2620 2016-11-18 Walter Lee <walt@tilera.com>
2622 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2624 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
2626 * config/i386/cpuinfo.c (processor_features): Add
2627 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2629 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
2631 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2632 (__ARC_NORM__): Use instead ARC_OPTFPE.
2633 * config/arc/fp-hack.h: Likewise.
2634 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2635 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2637 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
2639 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2640 * config/nvptx/mgomp.c: New file.
2641 * config/nvptx/t-nvptx: Add mgomp.c
2643 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
2646 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2648 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
2650 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2651 of checking for cpus.
2652 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2653 (__modsi3, __clzsi2): Likewise.
2655 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2657 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2658 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2659 * config/i386/t-cpuinfo-static: New.
2661 2016-11-03 Martin Liska <mliska@suse.cz>
2663 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2664 (__gcov_time_profiler_atomic): Likewise.
2666 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
2669 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2670 count_leading_zeros.
2672 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
2674 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2675 * libgcc2.c (__divmoddi4): New function.
2676 * libgcc2.h (__divmoddi4): Declare.
2677 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2678 and __PFX_divmodti4.
2680 2016-10-24 Florian Weimer <fweimer@redhat.com>
2683 * unwind-c.c: Include auto-target.h.
2685 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
2687 * config/pa/pa64-hpux-lib.h: New file.
2688 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2689 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2690 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2693 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2695 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2697 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2699 * config/xtensa/t-windowed (LIB2ADDEH): Use
2700 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2703 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2705 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2706 __ieee754_sqrt): New functions.
2707 (__divdf3): Add implementation with new FPU instructions under
2708 #if XCHAL_HAVE_DFP_DIV.
2709 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2710 __ieee754_sqrtf): New functions.
2711 (__divsf3): Add implementation with new FPU instructions under
2712 #if XCHAL_HAVE_FP_DIV.
2713 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2714 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2716 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2718 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2720 * config/tilepro/atomic.c: Likewise and stop casting model to
2723 2016-10-10 Joseph Myers <joseph@codesourcery.com>
2726 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2729 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2731 * config.host: Add support for aarch64-*-freebsd*.
2733 2016-10-05 Andreas Schwab <schwab@suse.de>
2735 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2736 (.section .init_array): Don't call __do_jv_register_classes.
2737 (.section .init): Likewise.
2739 2016-10-04 Jakub Jelinek <jakub@redhat.com>
2741 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2742 (__JCR_LIST__): Remove.
2743 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2744 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2745 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2746 * config/ia64/crtend.S (__JCR_END__): Remove.
2747 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2749 (__JCR_LIST__, __JCR_END__): Remove.
2750 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2751 (__do_global_ctors_1): Likewise.
2753 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
2755 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2756 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2758 2016-09-27 Martin Liska <mliska@suse.cz>
2760 PR gcov-profile/7970
2761 PR gcov-profile/16855
2762 PR gcov-profile/44779
2763 * libgcov-driver.c (__gcov_init): Do not register a atexit
2765 (__gcov_exit): Rename from gcov_exit.
2766 * libgcov.h (__gcov_exit): Declare.
2768 2016-09-27 Martin Liska <mliska@suse.cz>
2771 * Makefile.in: Remove _gcov_merge_delta.
2772 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2773 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2774 * libgcov.h: Remove declaration of __gcov_merge_delta.
2776 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2778 * configure.ac: Do not create links, only substitute the filenames.
2779 * configure: Regenerate.
2780 * Makefile.in: Assign the substitution results to variables.
2781 (LIBGCC_LINKS): Define.
2782 (enable-execute-stack.c): New rule.
2783 (unwind.h): Likewise.
2784 (md-unwind-support.h): Likewise.
2785 (sfp-machine.h): Likewise.
2786 (gthr-default.h): Likewise.
2787 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2788 unwind.h as prerequisite of install-unwind_h-forbuild.
2790 2016-09-16 Jakub Jelinek <jakub@redhat.com>
2793 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2794 is not the primary registry and atomics are available.
2795 (any_objects_registered): New variable.
2796 (__register_frame_info_bases, __register_frame_info_table_bases):
2797 Atomically store 1 to any_objects_registered after registering first
2799 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2801 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2804 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2805 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2808 (__divhc3): Likewise.
2809 (__mulhc3): Likewise.
2810 * libgcc2.c: Support _mulhc3 and _divhc3.
2812 2016-09-07 Joseph Myers <joseph@codesourcery.com>
2815 * libgcc2.c (NOTRUNC): Invert settings.
2817 2016-09-06 Martin Liska <mliska@suse.cz>
2819 PR gcov-profile/77378
2820 PR gcov-profile/77466
2821 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2822 conditionaly enable/disable *_atomic functions.
2824 2016-08-26 Joseph Myers <joseph@codesourcery.com>
2826 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2827 where not already enabled.
2829 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2831 * config/mips/linux-unwind.h: Use sys/syscall.h.
2833 2016-08-16 Joseph Myers <joseph@codesourcery.com>
2836 * soft-fp/adddf3.c: Update from glibc.
2837 * soft-fp/addsf3.c: Likewise.
2838 * soft-fp/addtf3.c: Likewise.
2839 * soft-fp/divdf3.c: Likewise.
2840 * soft-fp/divsf3.c: Likewise.
2841 * soft-fp/divtf3.c: Likewise.
2842 * soft-fp/double.h: Likewise.
2843 * soft-fp/eqdf2.c: Likewise.
2844 * soft-fp/eqsf2.c: Likewise.
2845 * soft-fp/eqtf2.c: Likewise.
2846 * soft-fp/extenddftf2.c: Likewise.
2847 * soft-fp/extended.h: Likewise.
2848 * soft-fp/extendsfdf2.c: Likewise.
2849 * soft-fp/extendsftf2.c: Likewise.
2850 * soft-fp/extendxftf2.c: Likewise.
2851 * soft-fp/fixdfdi.c: Likewise.
2852 * soft-fp/fixdfsi.c: Likewise.
2853 * soft-fp/fixdfti.c: Likewise.
2854 * soft-fp/fixsfdi.c: Likewise.
2855 * soft-fp/fixsfsi.c: Likewise.
2856 * soft-fp/fixsfti.c: Likewise.
2857 * soft-fp/fixtfdi.c: Likewise.
2858 * soft-fp/fixtfsi.c: Likewise.
2859 * soft-fp/fixtfti.c: Likewise.
2860 * soft-fp/fixunsdfdi.c: Likewise.
2861 * soft-fp/fixunsdfsi.c: Likewise.
2862 * soft-fp/fixunsdfti.c: Likewise.
2863 * soft-fp/fixunssfdi.c: Likewise.
2864 * soft-fp/fixunssfsi.c: Likewise.
2865 * soft-fp/fixunssfti.c: Likewise.
2866 * soft-fp/fixunstfdi.c: Likewise.
2867 * soft-fp/fixunstfsi.c: Likewise.
2868 * soft-fp/fixunstfti.c: Likewise.
2869 * soft-fp/floatdidf.c: Likewise.
2870 * soft-fp/floatdisf.c: Likewise.
2871 * soft-fp/floatditf.c: Likewise.
2872 * soft-fp/floatsidf.c: Likewise.
2873 * soft-fp/floatsisf.c: Likewise.
2874 * soft-fp/floatsitf.c: Likewise.
2875 * soft-fp/floattidf.c: Likewise.
2876 * soft-fp/floattisf.c: Likewise.
2877 * soft-fp/floattitf.c: Likewise.
2878 * soft-fp/floatundidf.c: Likewise.
2879 * soft-fp/floatundisf.c: Likewise.
2880 * soft-fp/floatunditf.c: Likewise.
2881 * soft-fp/floatunsidf.c: Likewise.
2882 * soft-fp/floatunsisf.c: Likewise.
2883 * soft-fp/floatunsitf.c: Likewise.
2884 * soft-fp/floatuntidf.c: Likewise.
2885 * soft-fp/floatuntisf.c: Likewise.
2886 * soft-fp/floatuntitf.c: Likewise.
2887 * soft-fp/gedf2.c: Likewise.
2888 * soft-fp/gesf2.c: Likewise.
2889 * soft-fp/getf2.c: Likewise.
2890 * soft-fp/ledf2.c: Likewise.
2891 * soft-fp/lesf2.c: Likewise.
2892 * soft-fp/letf2.c: Likewise.
2893 * soft-fp/muldf3.c: Likewise.
2894 * soft-fp/mulsf3.c: Likewise.
2895 * soft-fp/multf3.c: Likewise.
2896 * soft-fp/negdf2.c: Likewise.
2897 * soft-fp/negsf2.c: Likewise.
2898 * soft-fp/negtf2.c: Likewise.
2899 * soft-fp/op-1.h: Likewise.
2900 * soft-fp/op-2.h: Likewise.
2901 * soft-fp/op-4.h: Likewise.
2902 * soft-fp/op-8.h: Likewise.
2903 * soft-fp/op-common.h: Likewise.
2904 * soft-fp/quad.h: Likewise.
2905 * soft-fp/single.h: Likewise.
2906 * soft-fp/soft-fp.h: Likewise.
2907 * soft-fp/subdf3.c: Likewise.
2908 * soft-fp/subsf3.c: Likewise.
2909 * soft-fp/subtf3.c: Likewise.
2910 * soft-fp/truncdfsf2.c: Likewise.
2911 * soft-fp/trunctfdf2.c: Likewise.
2912 * soft-fp/trunctfsf2.c: Likewise.
2913 * soft-fp/trunctfxf2.c: Likewise.
2914 * soft-fp/unorddf2.c: Likewise.
2915 * soft-fp/unordsf2.c: Likewise.
2916 * soft-fp/unordtf2.c: Likewise.
2918 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2920 PR gcov-profile/67097
2921 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2923 2016-08-10 Martin Liska <mliska@suse.cz>
2925 PR gcov-profile/58306
2926 * Makefile.in: New functions (modules) are added.
2927 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2929 (__gcov_pow2_profiler_atomic): New function.
2930 (__gcov_one_value_profiler_body): New argument is instroduced.
2931 (__gcov_one_value_profiler): Call with the new argument.
2932 (__gcov_one_value_profiler_atomic): Likewise.
2933 (__gcov_indirect_call_profiler_v2): Likewise.
2934 (__gcov_time_profiler_atomic): New function.
2935 (__gcov_average_profiler_atomic): Likewise.
2936 (__gcov_ior_profiler_atomic): Likewise.
2937 * libgcov.h: Declare the aforementioned functions.
2939 2016-08-09 Martin Liska <mliska@suse.cz>
2941 * libgcov-util.c: Fix typo and GNU coding style.
2943 2016-08-09 Martin Liska <mliska@suse.cz>
2945 * Makefile.in: Remove __gcov_indirect_call_profiler.
2946 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2948 * libgcov.h: And the declaration of the function.
2950 2016-08-09 Martin Liska <mliska@suse.cz>
2952 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2955 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2957 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2958 * config/rs6000/_mulkc3.c: Likewise.
2960 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
2962 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2963 zero_reg as previous call to __umulhisi3 already cleared it.
2965 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2968 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2970 2016-07-19 Nick Clifton <nickc@redhat.com>
2972 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2973 Add crtinit.o and crtfini.o to extra_parts.
2975 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2977 * config/rs6000/_divkc3.c: New.
2978 * config/rs6000/_mulkc3.c: New.
2979 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2981 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2984 2016-07-11 Hale Wang <hale.wang@arm.com>
2985 Andre Vieira <andre.simoesdiasvieira@arm.com>
2987 * config/arm/lib1funcs.S: Add new wrapper.
2989 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2991 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2993 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2995 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2996 and ARMv5t* rather than for a fixed list of architectures.
2998 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3000 * config/arm/bpabi-v6m.S: Clarify what architectures is the
3001 implementation suitable for.
3002 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
3003 for all Thumb-1 only targets.
3004 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
3005 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
3008 (ARM_FUNC_ALIAS): Likewise.
3009 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
3012 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
3015 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
3016 __ARM_ARCH_6M__ in guard for checking whether it is defined.
3017 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
3018 __ARM_ARCH_6M__ and add comment to indicate the connection between
3019 this condition and the one in gcc/config/arm/elf.h.
3020 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
3021 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
3022 * config/arm/t-softfp: Likewise.
3024 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3026 * libgcc2.c (SYMBOL__MAIN): Remove checks for
3027 CTOR_LISTS_DEFINED_EXTERNALLY.
3029 2016-06-28 Walter Lee <walt@tilera.com>
3031 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
3033 (SPR_CMPEXCH_VALUE): Define for tilegx.
3034 (__NR_FAST_cmpxchg): Define for tilepro.
3035 (__NR_FAST_atomic_update): Define for tilepro.
3036 (__NR_FAST_cmpxchg64): Define for tilepro.
3038 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
3040 * config.host: Add suport for arm*-*-phoenix* targets.
3042 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3044 * config.host: Remove support for mep-*.
3045 * config/mep/lib1funcs.S: Remove.
3046 * config/mep/lib2funcs.c: Remove.
3047 * config/mep/t-mep: Remove.
3048 * config/mep/tramp.c: Remove.
3050 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3052 * config.host: Remove support for avr-rtems.
3053 * config/avr/t-rtems: Remove.
3055 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3057 * config.host: Remove m32r-rtems support.
3059 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3061 * config.host: Remove h8300-rtems support.
3063 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3065 * config.host: Remove support for knetbsd.
3067 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3069 * config.host: Remove support for openbsd 2 and 3.
3071 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3073 * config.host: Remove interix support.
3074 * config/i386/t-interix: Remove.
3076 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
3078 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
3079 least-significant bit in function pointer for fixup.
3081 2016-06-05 Aaron Conole <aconole@redhat.com>
3082 Nathan Sidwell <nathan@acm.org>
3085 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
3086 (get_gcov_error_file): Check __gcov_error_file before trying to
3088 (gcov_error): Always use get_gcov_error_file.
3090 2016-06-02 Aaron Conole <aconole@redhat.com>
3092 * libgcov-driver-system.c (__gcov_error_file): New.
3093 (get_gcov_error_file): New.
3094 (gcov_error): Use and set __gcov_error_file.
3095 (gcov_error_exit): New.
3096 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
3098 2016-05-26 Nathan Sidwell <nathan@acm.org>
3100 * config/nvptx/free.asm: Delete.
3101 * config/nvptx/malloc.asm: Delete.
3102 * config/nvptx/realloc.c: Delete.
3105 2016-05-25 Nathan Sidwell <nathan@acm.org>
3107 * config/nvptx/crt0.s: Delete.
3108 * config/nvptx/crt0.c: New.
3111 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
3113 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
3114 dw2/seh configuration.
3115 [x86_64-*-mingw*]: Likewise.
3117 2016-05-10 Joel Sherrill <joel@rtems.org>
3120 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
3121 targets so the same extra_parts are built. Also have tmake_file add
3122 on to its value rather than override.
3124 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
3126 * config.host: Remove SH5 support.
3127 * configure: Likewise.
3129 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
3131 * config/sh/crt1.S: Remove SH5 support.
3132 * config/sh/crti.S: Likewise.
3133 * config/sh/crtn.S: Likewise.
3134 * config/sh/lib1funcs-4-300.S: Likewise.
3135 * config/sh/lib1funcs-Os-4-200.S: Likewise.
3136 * config/sh/lib1funcs.S: Likewise.
3137 * config/sh/linux-unwind.h: Likewise.
3138 * config/sh/t-sh64: Delete.
3140 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
3142 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
3144 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
3145 Joern Rennecke <joern.rennecke@embecosm.com>
3147 * config/arc/crttls.S: New file.
3148 * config/arc/t-arc: New rule.
3149 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
3151 2016-04-25 Nick Clifton <nickc@redhat.com>
3153 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
3154 (__mspabi_cmpd): Likewise.
3155 * config/msp430/floathidf.c (__floathidf): Likewise.
3156 * config/msp430/floathisf.c (__floathisf): Likewise
3157 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
3158 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
3159 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
3161 (__ashrsi3): Likewise.
3163 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
3165 * config/m68k/linux-atomic.c: Do not include unistd.h
3167 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
3169 * config/arm/ieee754-df.S: Fix typos in comments.
3171 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
3174 * configure.ac (powerpc*-*-linux*): Rework tests to build
3175 __float128 emulation routines to not depend on using #pragma GCC
3176 target to enable -mfloat128.
3177 * configure: Regnerate.
3179 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
3182 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
3183 __MINGW32__ is defined.
3185 2016-03-28 James Bowman <james.bowman@ftdichip.com>
3187 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
3189 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
3192 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
3193 built with an assembler that does not support ISA 3.0
3194 instructions, rename __extendkftf2_sw to __extendkftf2.
3196 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3199 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
3200 call-clobbered registers.
3201 (internal_mcount): Remove __i386__ handling.
3203 2016-02-26 Joel Sherrill <joel@rtems.org>
3205 * config.host: Add x86_64-*-rtems*.
3207 2016-02-26 Joel Sherrill <joel@rtems.org>
3209 * libgcc/config.host: Add aarch64-*-rtems*.
3211 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3212 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3214 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
3215 union of u64 and double.
3216 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
3217 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
3219 (FP_ROUNDMODE): Update the usage of _fpscr.
3221 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
3224 * Makefile.in (crtoffloadtable$(objext)): New rule.
3225 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
3226 enable_offload_targets is not empty.
3227 * configure: Regenerate.
3228 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
3231 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3233 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
3234 .literal_position before the function.
3235 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
3238 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
3240 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
3241 * config/s390/morestack.S: New file.
3242 * config/s390/t-stack-s390: New file.
3243 * generic-morestack.c (__splitstack_find): Add s390-specific code.
3245 2016-02-12 Walter Lee <walt@tilera.com>
3247 * config.host (tilegx*-*-linux*): remove ti from
3248 softfp_int_modes for 32-bit configs.
3250 2016-02-10 Ian Lance Taylor <iant@google.com>
3253 * config/i386/morestack.S (__stack_split_initialize): Align
3256 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
3259 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3260 __FLOAT128__ to compile only for __float128 capable targets.
3262 2016-01-25 Jakub Jelinek <jakub@redhat.com>
3265 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3266 instead of ___NO_FPRS__.
3268 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
3269 Steven Munroe <munroesj@linux.vnet.ibm.com>
3270 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
3272 * config/rs6000/float128-sed: New files to convert TF names to KF
3273 names for PowerPC IEEE 128-bit floating point support.
3274 * config/rs6000/float128-sed-hw: Likewise.
3276 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3277 floating point hardware support.
3279 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3280 128-bit floating point software emulation or use ISA 3.0 hardware
3281 support if it is available.
3283 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3286 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
3287 floating point to IBM extended double.
3289 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
3290 double to IEEE 128-bit floating point.
3292 * config/rs6000/t-float128: New Makefile fragments to enable
3293 building __float128 emulation support.
3294 * config/rs6000/t-float128-hw: Likewise.
3296 * config/rs6000/sfp-exceptions.c: New file to provide exception
3297 support for IEEE 128-bit floating point.
3299 * config/rs6000/floattikf.c: New files for converting between IEEE
3300 128-bit floating point and signed/unsigned 128-bit integers.
3301 * config/rs6000/fixunskfti.c: Likewise.
3302 * config/rs6000/fixkfti.c: Likewise.
3303 * config/rs6000/floatuntikf.c: Likewise.
3305 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3306 when building on 64-bit systems, or when VSX is enabled.
3307 (_FP_W_TYPE): Likewise.
3308 (_FP_WS_TYPE): Likewise.
3309 (_FP_I_TYPE): Likewise.
3310 (TItype): Define on 64-bit systems.
3311 (UTItype): Likewise.
3312 (TI_BITS): Likewise.
3313 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3314 (_FP_MUL_MEAT_Q): Likewise.
3315 (_FP_DIV_MEAT_D): Likewise.
3316 (_FP_DIV_MEAT_Q): Likewise.
3317 (_FP_NANFRAC_D): Likewise.
3318 (_FP_NANFRAC_Q): Likewise.
3319 (ISA_BIT): Add exception support if we are being compiled on a
3320 machine with hardware floating point support to build the IEEE
3321 128-bit emulation functions.
3322 (FP_EX_INVALID): Likewise.
3323 (FP_EX_OVERFLOW): Likewise.
3324 (FP_EX_UNDERFLOW): Likewise.
3325 (FP_EX_DIVZERO): Likewise.
3326 (FP_EX_INEXACT): Likewise.
3327 (FP_EX_ALL): Likewise.
3328 (__sfp_handle_exceptions): Likewise.
3329 (FP_HANDLE_EXCEPTIONS): Likewise.
3330 (FP_RND_NEAREST): Likewise.
3331 (FP_RND_ZERO): Likewise.
3332 (FP_RND_PINF): Likewise.
3333 (FP_RND_MINF): Likewise.
3334 (FP_RND_MASK): Likewise.
3335 (_FP_DECL_EX): Likewise.
3336 (FP_INIT_ROUNDMODE): Likewise.
3337 (FP_ROUNDMODE): Likewise.
3339 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3340 VSX code, enable IEEE 128-bit floating point. If the compiler can
3341 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3342 floating point hardware instructions and it supports declaring
3343 functions with the ifunc attribute, enable ifunc functions to
3344 switch between software and hardware support.
3345 * configure.ac (powerpc*-*-linux*): Likewise.
3346 * configure: Regenerate.
3348 2016-01-15 Nick Clifton <nickc@redhat.com>
3350 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3351 dependency as the source file to be compiled.
3352 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3353 (lib2hw_mul_f5.o): Likewise.
3355 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3357 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
3358 * libgcc/config/rs6000/fixkfti.c: Likewise.
3359 * libgcc/config/rs6000/fixunskfti.c: Likewise.
3360 * libgcc/config/rs6000/float128-hw.c: Likewise.
3361 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
3362 * libgcc/config/rs6000/float128-sed: Likewise.
3363 * libgcc/config/rs6000/floattikf.c: Likewise.
3364 * libgcc/config/rs6000/floatuntikf.c: Likewise.
3365 * libgcc/config/rs6000/quad-float128.h: Likewise.
3366 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3367 * libgcc/config/rs6000/sfp-machine.h: Likewise.
3368 * libgcc/config/rs6000/t-float128: Likewise.
3369 * libgcc/config/rs6000/t-float128-hw: Likewise.
3370 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3371 * libgcc/config.host: Likewise.
3372 * libgcc/configure: Likewise.
3373 * libgcc/configure.ac: Likewise.
3375 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3376 Steven Munroe <munroesj@linux.vnet.ibm.com>
3377 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
3379 * config/rs6000/sfp-exceptions.c: New file to provide exception
3380 support for IEEE 128-bit floating point.
3382 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3383 floating point hardware support.
3385 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3387 * config/rs6000/fixunskfti.c: Likewise.
3388 * config/rs6000/fixkfti.c: Likewise.
3389 * config/rs6000/floatuntikf.c: Likewise.
3390 * config/rs6000/extendkftf2-sw.c: Likewise.
3391 * config/rs6000/trunctfkf2-sw.c: Likewise.
3393 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3394 128-bit floating point software emulation or use ISA 3.0 hardware
3395 support if it is available.
3397 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3400 * config/rs6000/t-float128: New Makefile fragments to enable
3401 building __float128 emulation support.
3402 * config/rs6000/t-float128-hw: Likewise.
3404 * config/rs6000/float128-sed: New file to convert TF names to KF
3405 names for PowerPC IEEE 128-bit floating point support.
3407 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3408 when building on 64-bit systems, or when VSX is enabled.
3409 (_FP_W_TYPE): Likewise.
3410 (_FP_WS_TYPE): Likewise.
3411 (_FP_I_TYPE): Likewise.
3412 (TItype): Define on 64-bit systems.
3413 (UTItype): Likewise.
3414 (TI_BITS): Likewise.
3415 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3416 (_FP_MUL_MEAT_Q): Likewise.
3417 (_FP_DIV_MEAT_D): Likewise.
3418 (_FP_DIV_MEAT_Q): Likewise.
3419 (_FP_NANFRAC_D): Likewise.
3420 (_FP_NANFRAC_Q): Likewise.
3421 (ISA_BIT): Add exception support if we are being compiled on a
3422 machine with hardware floating point support to build the IEEE
3423 128-bit emulation functions.
3424 (FP_EX_INVALID): Likewise.
3425 (FP_EX_OVERFLOW): Likewise.
3426 (FP_EX_UNDERFLOW): Likewise.
3427 (FP_EX_DIVZERO): Likewise.
3428 (FP_EX_INEXACT): Likewise.
3429 (FP_EX_ALL): Likewise.
3430 (__sfp_handle_exceptions): Likewise.
3431 (FP_HANDLE_EXCEPTIONS): Likewise.
3432 (FP_RND_NEAREST): Likewise.
3433 (FP_RND_ZERO): Likewise.
3434 (FP_RND_PINF): Likewise.
3435 (FP_RND_MINF): Likewise.
3436 (FP_RND_MASK): Likewise.
3437 (_FP_DECL_EX): Likewise.
3438 (FP_INIT_ROUNDMODE): Likewise.
3439 (FP_ROUNDMODE): Likewise.
3441 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3442 compiler can do __float128.
3443 * configure: Regenerate.
3445 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3446 VSX code, enable IEEE 128-bit floating point.
3448 2016-01-05 Olivier Hainque <hainque@adacore.com>
3450 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
3453 2016-01-04 Jakub Jelinek <jakub@redhat.com>
3455 Update copyright years.
3457 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
3459 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
3462 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3464 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3465 instead of abort to avoid dependency on stdlib.h.
3467 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
3469 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3470 to initialize call to __dl_fixup once.
3472 2015-12-04 Nick Clifton <nickc@redhat.com>
3474 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3475 Allow for the second argument being negative.
3476 * config.host (extra_parts): Define for MSP430. Create separate
3477 libraries for each of the hardware multiply formats.
3478 * config/msp430/lib2hw_mul.S: Build only the multiply routines
3480 * config/msp430/lib2mul.c: Likewise.
3481 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3482 Add rules to build hardware multiply libraries.
3483 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3484 __mspabi_divul function.
3485 (__mspabi_divllu): New stub function.
3487 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
3489 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3490 fixup values if saved GOT address doesn't match runtime address.
3491 (fixup_branch_offset): Reorder list.
3493 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3495 * Makefile.in (VTV_CFLAGS): New variable.
3496 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3497 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3498 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3499 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3500 to extra_parts if $enable_vtable_verify = yes.
3502 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
3505 * config/arm/linux-atomic-64bit.c (__write): Rename to...
3506 (write): ...this and fix the return type.
3508 2015-11-19 DJ Delorie <dj@redhat.com>
3510 * config/msp430/lib2hw_mul.S: Fix alignment.
3512 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
3514 * config/nvptx/reduction.c: New.
3515 * config/nvptx/t-nvptx (LIB2ADD): Add it.
3517 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
3519 * config/rs6000/on_exit.c: New file.
3520 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3521 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3523 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
3525 * config/arc/dp-hack.h: Add support for ARCHS.
3526 * config/arc/ieee-754/divdf3.S: Likewise.
3527 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3528 * config/arc/ieee-754/muldf3.S: Likewise.
3529 * config/arc/ieee-754/mulsf3.S: Likewise
3530 * config/arc/lib1funcs.S: Likewise
3531 * config/arc/gmon/dcache_linesz.S: Don't read the build register
3533 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3535 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3536 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3539 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3541 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3543 * config/ia64/crtend.S: Likewise.
3545 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3547 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3548 __CHAR_BIT__ instead of BITS_PER_UNIT.
3549 * fixed-bit.h: Likewise.
3550 * fp-bit.h: Likewise.
3551 * libgcc2.c (__popcountSI2): Likewise.
3552 (__popcountDI2): Likewise.
3553 * libgcc2.h: Likewise.
3554 * libgcov.h: Likewise.
3556 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
3558 * config/rs6000/atexit.c: New file.
3559 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3560 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3561 * config/rs6000/cxa_finalize.c
3562 (catomic_compare_and_exchange_bool_acq): Negate return value.
3564 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3566 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3567 (processor_subtypes): Add znver1.
3568 (get_amd_cpu): Detect znver1.
3570 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
3572 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3573 Include crtfastmath.o.
3575 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
3578 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
3580 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
3582 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3583 * config/rl78/divmodsi.S: Update return register to r8.
3584 * config/rl78/divmodhi.S: Update return register to r8,r9.
3585 Branch to main_loop_done_himode to pop registers before return.
3587 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3589 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3590 (__cpu_indicator_init): Fix model selection for AMD CPUs.
3592 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
3594 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3596 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
3598 * config.host (xtensa*-*-uclinux*): New configuration.
3600 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
3602 * config/i386/cpuinfo.c (processor_features): Add
3603 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3605 2015-09-28 Joseph Myers <joseph@codesourcery.com>
3607 * soft-fp/adddf3.c: Update from glibc.
3608 * soft-fp/addsf3.c: Likewise.
3609 * soft-fp/addtf3.c: Likewise.
3610 * soft-fp/divdf3.c: Likewise.
3611 * soft-fp/divsf3.c: Likewise.
3612 * soft-fp/divtf3.c: Likewise.
3613 * soft-fp/double.h: Likewise.
3614 * soft-fp/eqdf2.c: Likewise.
3615 * soft-fp/eqsf2.c: Likewise.
3616 * soft-fp/eqtf2.c: Likewise.
3617 * soft-fp/extenddftf2.c: Likewise.
3618 * soft-fp/extended.h: Likewise.
3619 * soft-fp/extendsfdf2.c: Likewise.
3620 * soft-fp/extendsftf2.c: Likewise.
3621 * soft-fp/extendxftf2.c: Likewise.
3622 * soft-fp/fixdfdi.c: Likewise.
3623 * soft-fp/fixdfsi.c: Likewise.
3624 * soft-fp/fixdfti.c: Likewise.
3625 * soft-fp/fixsfdi.c: Likewise.
3626 * soft-fp/fixsfsi.c: Likewise.
3627 * soft-fp/fixsfti.c: Likewise.
3628 * soft-fp/fixtfdi.c: Likewise.
3629 * soft-fp/fixtfsi.c: Likewise.
3630 * soft-fp/fixtfti.c: Likewise.
3631 * soft-fp/fixunsdfdi.c: Likewise.
3632 * soft-fp/fixunsdfsi.c: Likewise.
3633 * soft-fp/fixunsdfti.c: Likewise.
3634 * soft-fp/fixunssfdi.c: Likewise.
3635 * soft-fp/fixunssfsi.c: Likewise.
3636 * soft-fp/fixunssfti.c: Likewise.
3637 * soft-fp/fixunstfdi.c: Likewise.
3638 * soft-fp/fixunstfsi.c: Likewise.
3639 * soft-fp/fixunstfti.c: Likewise.
3640 * soft-fp/floatdidf.c: Likewise.
3641 * soft-fp/floatdisf.c: Likewise.
3642 * soft-fp/floatditf.c: Likewise.
3643 * soft-fp/floatsidf.c: Likewise.
3644 * soft-fp/floatsisf.c: Likewise.
3645 * soft-fp/floatsitf.c: Likewise.
3646 * soft-fp/floattidf.c: Likewise.
3647 * soft-fp/floattisf.c: Likewise.
3648 * soft-fp/floattitf.c: Likewise.
3649 * soft-fp/floatundidf.c: Likewise.
3650 * soft-fp/floatundisf.c: Likewise.
3651 * soft-fp/floatunditf.c: Likewise.
3652 * soft-fp/floatunsidf.c: Likewise.
3653 * soft-fp/floatunsisf.c: Likewise.
3654 * soft-fp/floatunsitf.c: Likewise.
3655 * soft-fp/floatuntidf.c: Likewise.
3656 * soft-fp/floatuntisf.c: Likewise.
3657 * soft-fp/floatuntitf.c: Likewise.
3658 * soft-fp/gedf2.c: Likewise.
3659 * soft-fp/gesf2.c: Likewise.
3660 * soft-fp/getf2.c: Likewise.
3661 * soft-fp/ledf2.c: Likewise.
3662 * soft-fp/lesf2.c: Likewise.
3663 * soft-fp/letf2.c: Likewise.
3664 * soft-fp/muldf3.c: Likewise.
3665 * soft-fp/mulsf3.c: Likewise.
3666 * soft-fp/multf3.c: Likewise.
3667 * soft-fp/negdf2.c: Likewise.
3668 * soft-fp/negsf2.c: Likewise.
3669 * soft-fp/negtf2.c: Likewise.
3670 * soft-fp/op-1.h: Likewise.
3671 * soft-fp/op-2.h: Likewise.
3672 * soft-fp/op-4.h: Likewise.
3673 * soft-fp/op-8.h: Likewise.
3674 * soft-fp/op-common.h: Likewise.
3675 * soft-fp/quad.h: Likewise.
3676 * soft-fp/single.h: Likewise.
3677 * soft-fp/soft-fp.h: Likewise.
3678 * soft-fp/subdf3.c: Likewise.
3679 * soft-fp/subsf3.c: Likewise.
3680 * soft-fp/subtf3.c: Likewise.
3681 * soft-fp/truncdfsf2.c: Likewise.
3682 * soft-fp/trunctfdf2.c: Likewise.
3683 * soft-fp/trunctfsf2.c: Likewise.
3684 * soft-fp/trunctfxf2.c: Likewise.
3685 * soft-fp/unorddf2.c: Likewise.
3686 * soft-fp/unordsf2.c: Likewise.
3687 * soft-fp/unordtf2.c: Likewise.
3689 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
3692 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3694 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3696 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3697 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3698 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3700 (internal_mcount): Likewise.
3701 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3702 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3704 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3706 * configure.ac (libgcc_cv_solaris_crts): New test.
3707 * configure: Regenerate.
3708 * config.in: Regenerate.
3709 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3710 * config/gmon-sol2.c: Rename to ...
3711 * config/sol2/gmon.c: ... this.
3712 Include auto-target.h.
3713 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3714 * config/t-sol2: Rename to ...
3715 * config/sol2/t-sol2: ... this.
3716 (gmon.o): Reflect renaming.
3717 (crtp.o, crtpg.o): New rules.
3718 * config.host (*-*-solaris2*): Reflect renaming.
3719 Use system CRTs if present.
3720 Remove default CRT case.
3722 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
3724 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3725 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3727 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3728 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3729 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3730 (__sync_lock_test_and_set_##WIDTH): Likewise.
3731 (__sync_lock_release_##WIDTH): Likewise.
3732 (__sync_fetch_and_##OP##_4): Change result to match type of
3734 (__sync_##OP##_and_fetch_4): Likewise.
3735 (__sync_val_compare_and_swap_4): Likewise.
3736 (__sync_bool_compare_and_swap_4): likewise.
3737 (__sync_lock_test_and_set_4): Likewise.
3738 (__sync_lock_release_4): Likewise.
3739 (FETCH_AND_OP_2): Add long long variants.
3740 (OP_AND_FETCH_2): Likewise.
3741 (COMPARE_AND_SWAP_2 ): Likewise.
3742 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3743 (SYNC_LOCK_RELEASE_2): Likewise.
3744 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3746 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
3748 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3749 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3750 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3751 (get_available_features): Habdle new features.
3753 2015-09-21 James Bowman <james.bowman@ftdichip.com>
3755 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3756 memory layout. Deal correctly with BSS region larger than 32K.
3757 Handle a watchdog reset like a power-on reset. Clean up unused
3760 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
3761 David Edelsohn <dje.gcc@gmail.com>
3763 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3764 * config/rs6000/crtdbase.S: New file.
3765 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3767 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3769 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3770 Add support for call0 ABI.
3772 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
3774 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3776 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3778 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3779 (__GTHREAD_HAS_COND): Likewise.
3780 (__gthread_t): Likewise.
3781 (__gthread_cond_t): Likewise.
3782 (__gthread_time_t): Likewise.
3783 (__GTHREAD_MUTEX_INIT): Likewise.
3784 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3785 (__GTHREAD_COND_INIT): Likewise.
3786 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3787 (__GTHREAD_TIME_INIT): Likewise.
3788 (__gthread_create): Likewise.
3789 (__gthread_join): Likewise.
3790 (__gthread_detach): Likewise.
3791 (__gthread_equal): Likewise.
3792 (__gthread_self): Likewise.
3793 (__gthread_yield): Likewise.
3794 (__gthread_cond_broadcast): Likewise.
3795 (__gthread_cond_signal): Likewise.
3796 (__gthread_cond_wait): Likewise.
3797 (__gthread_cond_timedwait): Likewise.
3798 (__gthread_cond_wait_recursive): Likewise.
3799 (__gthread_cond_destroy): Likewise.
3800 (rtems_gxx_once): Delete.
3801 (rtems_gxx_key_create): Likewise.
3802 (rtems_gxx_key_delete): Likewise.
3803 (rtems_gxx_getspecific): Likewise.
3804 (rtems_gxx_setspecific): Likewise.
3805 (rtems_gxx_mutex_init): Likewise.
3806 (rtems_gxx_mutex_destroy): Likewise.
3807 (rtems_gxx_mutex_lock): Likewise.
3808 (rtems_gxx_mutex_trylock): Likewise.
3809 (rtems_gxx_mutex_unlock): Likewise.
3810 (rtems_gxx_recursive_mutex_init): Likewise.
3811 (rtems_gxx_recursive_mutex_lock): Likewise.
3812 (rtems_gxx_recursive_mutex_trylock): Likewise.
3813 (rtems_gxx_recursive_mutex_unlock): Likewise.
3814 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3815 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3816 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3817 (__gthread_once): Likewise.
3818 (__gthread_key_create): Likewise.
3819 (__gthread_key_delete): Likewise.
3820 (__gthread_getspecific): Likewise.
3821 (__gthread_setspecific): Likewise.
3822 (__gthread_key_t): Use <pthread.h> type.
3823 (__gthread_once_t): Likewise
3824 (__gthread_mutex_t): Use <sys/lock.h> type.
3825 (__gthread_recursive_mutex_t): Likewise
3826 (__gthread_mutex_lock): Use <sys/lock.h> function.
3827 (__gthread_mutex_trylock): Likewise.
3828 (__gthread_mutex_timedlock): Likewise.
3829 (__gthread_mutex_unlock): Likewise.
3830 (__gthread_mutex_destroy): Likewise.
3831 (__gthread_recursive_mutex_lock): Likewise.
3832 (__gthread_recursive_mutex_trylock): Likewise.
3833 (__gthread_recursive_mutex_timedlock): Likewise.
3834 (__gthread_recursive_mutex_unlock): Likewise.
3835 (__gthread_recursive_mutex_destroy): Likewise.
3837 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3839 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3840 context->sp instead of context->cfa.
3842 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3844 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3845 with unwind-dw2-fde-dip.
3847 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3849 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3850 CALL12 followed by series of ENTRY to spill windowed registers.
3851 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3852 instead of making linux spill syscall.
3854 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3856 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3857 (get_intel_cpu): Likewise.
3859 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3861 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3862 (get_intel_cpu): Add Knights Landing support.
3864 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
3867 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3868 (get_available_features): Handle FEATURE_PCLMUL.
3870 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3872 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3875 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
3878 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3879 (get_available_features): Handle FEATURE_AES.
3881 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3883 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3884 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3886 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3888 * offloadstuff.c: Constify host data.
3890 2015-07-17 Jan Beulich <jbeulich@suse.com>
3892 * config/t-softfp: Split up "else ifneq".
3894 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3895 Cesar Philippidis <cesar@codesourcery.com>
3896 Chung-Lin Tang <cltang@codesourcery.com>
3898 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3899 for __nios2_arch__ level.
3901 2015-07-13 John Marino <gnugcc@marino.st>
3903 * config/i386/t-dragonfly: New.
3905 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
3907 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3908 better match light-weight syscall argument order.
3909 (__kernel_cmpxchg2): Likewise.
3912 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3914 * config.host: Support i[34567]86-*-elfiamcu target.
3915 * config/t-softfp-sfdftf: New file.
3916 * config/i386/32/t-iamcu: Likewise.
3917 * configure: Regenerated.
3919 2015-06-23 James Lemke <jwlemke@codesourcery.com>
3922 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3924 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3926 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3928 2015-05-27 John Marino <gnugcc@marino.st>
3930 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3932 * config/i386/freebsd-unwind.h: New.
3934 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
3936 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3937 i386/t-crtfm to tmake_file.
3938 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3939 (set_fast_math): Use set_fast_math_sse for SSE targets.
3940 * config/i386/t-crtfm: Remove.
3942 2015-05-21 Alan Modra <amodra@gmail.com>
3945 * config/rs6000/morestack.S: Remove ".abiversion 1".
3947 2015-05-20 Alan Modra <amodra@gmail.com>
3949 * config/rs6000/morestack.S: New.
3950 * config/rs6000/t-stack-rs6000: New.
3951 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3953 * generic-morestack.c: Don't build for powerpc 32-bit.
3955 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3957 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3958 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3960 2015-05-16 James Bowman <james.bowman@ftdichip.com>
3962 * config.host: FT32 target added.
3963 * config/ft32/*: New files for FT32 target.
3965 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3967 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3969 * config/arm/ieee754-df.S: Add CFI directives.
3970 * config/arm/ieee754-sf.S: Add CFI directives.
3972 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3974 * configure.ac: Include config/sjlj.m4.
3975 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3976 * config.in: Regenerate.
3977 * configure: Likewise.
3978 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3980 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
3982 * libgcov-util.c: Add space between string literal and macro name.
3984 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3985 Chris Jones <chrisj@nvidia.com>
3986 Joshua Conner <jconner@nvidia.com>
3988 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3989 (arm*-*-uclinux*): Likewise.
3990 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3991 * config/arm/crtfastmath.c: New file.
3993 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3995 * Makefile.in (real_host_noncanonical): New variable.
3996 (libsubdir): Use it.
3997 * configure.ac (real_host_noncanonical): Compute. Remove special
3998 case for intelmicemul.
3999 * configure: Regenerate.
4001 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
4003 * config/frv/elf-lib.h: New file.
4004 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
4005 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
4008 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
4010 * config/frv/frvbengin.c: Do not include defaults.h
4011 * config/frv/frvend.c: Ditto.
4013 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
4015 * config.host: Add h8300-*-linux
4016 * config/h8300/t-linux: New file.
4017 * config/h8300/lib1funs.s: Change symbol prefix.
4018 * config/h8300/sfp-machine.h: 64bit double support.
4020 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
4021 Szabolcs Nagy <szabolcs.nagy@arm.com>
4023 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
4024 Linux if target provides dl_iterate_phdr.
4026 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
4029 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
4030 * config/i386/cpuinfo.c (__cpu_model): Initialize.
4031 (__cpu_indicator_init@GCC_4.8.0): New.
4032 (__cpu_model@GCC_4.8.0): Likewise.
4033 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
4036 2015-04-16 Nick Clifton <nickc@redhat.com>
4038 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
4039 and __modhi3 functions.
4040 * config/rl78/divmodso.S: Add G14 and G13 versions of the
4041 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
4043 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
4045 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
4046 do-while loop as macro body to avoid warnings.
4048 2015-04-10 Jakub Jelinek <jakub@redhat.com>
4049 Iain Sandoe <iain@codesourcery.com>
4052 * configure: Regenerate.
4054 2015-04-07 Jakub Jelinek <jakub@redhat.com>
4055 Iain Sandoe <iain@codesourcery.com>
4058 * configure: Regenerate.
4060 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
4062 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
4064 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
4066 Implement call0 ABI for xtensa
4067 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4068 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
4069 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
4070 use ret in call0 ABI.
4071 * config/xtensa/t-windowed: New file.
4072 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
4073 * libgcc/configure: Regenerated.
4074 * libgcc/configure.ac: Check if xtensa target is configured for
4075 windowed ABI and thus needs to use custom unwind code.
4077 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
4080 * gthr-single.h: Use __unused__ attribute instead of unused.
4081 * config/gthr-vxworks.h: Likewise.
4082 * config/i386/gthr-win32.h: Likewise.
4084 2015-02-27 Kai Tietz <ktietz@redhat.com>
4087 * config.in: Regenerated.
4088 * configure: Likewise.
4089 * configure.ac (AC_HEADER_STDC): Added explicit.
4090 (AC_CHECK_HEADERS): Check for default headers plus
4092 * libgcov-util.c (gcov_read_profile_dir): Disable use
4093 of ftw-function, if header is not found.
4094 (ftw_read_file): Likewise.
4096 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
4099 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
4102 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
4104 * config/arm/bpabi.S (test_div_by_zero): Make label names
4105 consistent between thumb2 and arm mode cases. Separate the
4106 signed comparison on the high word of the numerator from the
4107 unsigned comparison on the low word.
4108 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
4111 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4113 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
4115 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
4117 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
4119 PR gcov-profile/61889
4120 * libgcov-driver-system.c: undefine clashing macro for mkdir.
4122 2015-02-02 Nick Clifton <nickc@redhat.com>
4124 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
4125 rounding up the fraction.
4127 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
4129 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
4130 oldval and newval to const void *. Fix typo.
4131 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
4132 (FETCH_AND_OP_WORD): Likewise.
4133 (OP_AND_FETCH_WORD): Likewise.
4134 (COMPARE_AND_SWAP_2): Likewise.
4135 (__sync_val_compare_and_swap_4): Likewise.
4136 (__sync_lock_test_and_set_4): Likewise.
4137 (SYNC_LOCK_RELEASE_2): Likewise.
4138 Remove support for long long atomic operations.
4140 2015-01-27 Caroline Tice <cmtice@google.com>
4142 Committing VTV Cywin/Ming patch for Patrick Wollgast
4143 * Makefile.in: Move rules to build vtv_*.o out of the check
4144 for CUSTOM_CRTSTUFF.
4145 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
4146 i[34567]86-*-mingw*)
4147 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
4148 enable_vtable_verify.
4150 2015-01-27 Nick Clifton <nickc@redhat.com>
4152 * config/rl78/cmpsi2.S: Use function start and end macros.
4153 (__gcc_bcmp): New function.
4154 * config/rl78/lshrsi3.S: Use function start and end macros.
4155 * config/rl78/mulsi3.S: Add support for G10.
4156 (__mulqi3): New function for G10.
4157 * config/rl78/signbit.S: Use function start and end macros.
4158 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
4160 (LIB2FUNCS_EXCLUDE): Define.
4161 (LIB2FUNCS_ST): Define.
4162 * config/rl78/trampoline.S: Use function start and end macros.
4163 * config/rl78/vregs.h (START_FUNC): New macro.
4164 (START_ANOTHER_FUNC): New macro.
4165 (END_FUNC): New macro.
4166 (END_ANOTHER_FUNC): New macro.
4167 * config/rl78/bit-count.S: New file. Contains assembler
4168 implementations of the bit counting functions: ___clzhi2,
4169 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
4170 __paritysi2, __popcounthi2 and __popcountsi2.
4171 * config/rl78/fpbit-sf.S: New file. Contains assembler
4172 implementationas of the math functions: __negsf2, __cmpsf2,
4173 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
4174 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
4175 * config/rl78/fpmath-sf.S: New file. Contains assembler
4176 implementations of the math functions: __subsf3, __addsf3,
4177 __mulsf3 and __divsf3
4179 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4181 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
4182 Add i386/elf-lib.h to tm_file.
4183 * config/i386/elf-lib.h: Fix comment.
4184 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
4185 && __sun__ && __svr4__]: Remove workaround.
4187 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4189 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
4191 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
4193 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
4195 * config/i386/cpuinfo.c (processor_subtypes): Add
4196 INTEL_COREI7_BROADWELL.
4197 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
4200 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
4202 * config/i386/elf-lib.h: New file.
4203 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
4204 Wrap definition in #ifdef __i386__.
4205 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4206 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
4207 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
4208 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
4211 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
4213 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
4214 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
4216 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
4218 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
4219 Update rt_sigframe format and address for current Nios II
4222 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
4224 * config.host (arm*-*-freebsd*): Add new configuration for
4226 * config/arm/freebsd-atomic.c: New file.
4227 * config/arm/t-freebsd: Likewise.
4228 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
4229 'PC-relative indirect' OS's.
4231 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
4233 * config.host: Add Visium support.
4234 * config/visium: New directory.
4236 2015-01-05 Jakub Jelinek <jakub@redhat.com>
4238 Update copyright years.
4240 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
4242 * config.host: Support mipsisa32r6 and mipsisa64r6.
4243 * config/mips/mips16.S: Do not build for R6.
4245 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
4247 * config/sh/crt.h: New.
4248 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4250 * config/sh/crt1.S: Likewise.
4252 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
4255 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4256 func_ptr *dtor_list temporary variable to avoid "array subscript
4257 is above array bounds" warnings.
4259 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
4261 * Makefile.in (with_aix_soname): Define.
4262 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4263 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4264 * configure: Recreate.
4266 2014-12-05 Olivier Hainque <hainque@adacore.com>
4268 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4269 now provided by defaults.h.
4271 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
4274 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4275 whether it's defined.
4277 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
4279 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
4280 * config/i386/cpuinfo.c (get_available_features): Detect it.
4282 2014-11-27 Tony Wang <tony.wang@arm.com>
4284 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
4285 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
4286 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
4288 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
4290 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
4292 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
4294 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
4297 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
4298 John David Anglin <danglin@gcc.gnu.org>
4300 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
4301 (FETCH_AND_OP_2): New. Use for subword and double word operations.
4302 (OP_AND_FETCH_2): Likewise.
4303 (COMPARE_AND_SWAP_2): Likewise.
4304 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4305 (SYNC_LOCK_RELEASE_2): Likewise.
4306 (SUBWORD_SYNC_OP): Remove.
4307 (SUBWORD_VAL_CAS): Likewise.
4308 (SUBWORD_BOOL_CAS): Likewise.
4309 (FETCH_AND_OP_WORD): Update.
4310 Consistently use signed types.
4312 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
4313 Thomas Schwinge <thomas@codesourcery.com>
4314 Ilya Verbin <ilya.verbin@intel.com>
4315 Andrey Turetskiy <andrey.turetskiy@intel.com>
4317 * Makefile.in (crtoffloadbegin$(objext)): New rule.
4318 (crtoffloadend$(objext)): Likewise.
4319 * configure: Regenerate.
4320 * configure.ac (accel_dir_suffix): Compute new variable.
4321 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4322 if enable_offload_targets is not empty.
4323 * offloadstuff.c: New file.
4325 2014-11-13 Nick Clifton <nickc@redhat.com>
4327 * config/rl78/divmodhi.S: Add support for the G10 architecture.
4328 Use START_FUNC and END_FUNC macros to enable linker garbage
4330 * config/rl78/divmodqi.S: Likewise.
4331 * config/rl78/divmodsi.S: Likewise.
4332 * config/rl78/mulsi3.S: Likewise.
4333 * config/rl78/lib2div.c: Remove G10 functions.
4334 * config/rl78/lib2muls.c: Likewise.
4335 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4336 * config/rl78/vregs.h (START_FUNC): New macro.
4337 (END_FUNC): New macro.
4339 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
4341 * config/mips/mips16.S: Set .module when supported. Update O32
4342 FP64 calling convention and use for FPXX when possible. Add FPXX
4343 calling convention fallback case.
4345 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
4347 * config.host: Handle nvptx-*-*.
4348 * shared-object.mk (as-flags-$o): Define.
4349 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4350 -xassembler-with-cpp.
4351 * static-object.mk: Identical changes.
4352 * config/nvptx/t-nvptx: New file.
4353 * config/nvptx/crt0.s: New file.
4354 * config/nvptx/free.asm: New file.
4355 * config/nvptx/malloc.asm: New file.
4356 * config/nvptx/realloc.c: New file.
4358 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4360 * Makefile.in (libgcc.map.in): New target.
4361 (libgcc.map): Use libgcc.map.in.
4362 * config/t-softfp (softfp_compat): New variable to be set by
4364 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4366 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4368 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4369 that use compat symbols and disable all code unless [SHARED].
4370 * config/t-softfp-compat: New file.
4371 * find-symver.awk: New file.
4372 * configure.ac (--with-glibc-version): New configure option.
4373 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4374 * configure: Regenerate.
4375 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4376 soft-float and e500.
4378 2014-10-29 Joseph Myers <joseph@codesourcery.com>
4380 * config/t-hardfp (hardfp_exclusions): Document new variable for
4382 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4383 * config/t-softfp (softfp_extras): Document new variable for user
4385 (softfp_func_list): Add functions from $(softfp_extras).
4386 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4387 * config.host (powerpc*-*-linux*): For e500v1, use
4388 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4389 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4390 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4392 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
4394 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4395 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4396 memory read accesses are ok.
4398 2014-10-25 Joseph Myers <joseph@codesourcery.com>
4400 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4401 * configure: Regenerate.
4402 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4403 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
4404 of soft-fp for 32-bit classic hard float. Do not use
4405 t-softfp-excl for soft float.
4407 2014-10-22 Joseph Myers <joseph@codesourcery.com>
4409 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4411 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4414 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
4416 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4417 introduced with 2014-10-21 trunk r216525.
4419 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
4420 Vidya Praveen <vidya.praveen@atmel.com>
4421 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
4422 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
4423 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
4425 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4428 Updated library functions for AVRTINY arch.
4429 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4430 Replaced occurrences of r0/r1 with tmp/zero reg macros.
4431 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4432 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4434 (__mulsi3_helper): Update stack, preserve callee saved regs and
4435 argument from stack. Restore callee save registers.
4436 (__mulpsi3): Likewise.
4437 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4438 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
4439 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
4441 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4442 (__do_copy_data): Added new definition for AVRTINY.
4443 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4444 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4445 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4446 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4447 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4449 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
4452 Fix broken long multiplication on tiny arch.
4454 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4456 * soft-fp/double.h: Update from glibc.
4457 * soft-fp/eqdf2.c: Likewise.
4458 * soft-fp/eqsf2.c: Likewise.
4459 * soft-fp/eqtf2.c: Likewise.
4460 * soft-fp/extenddftf2.c: Likewise.
4461 * soft-fp/extended.h: Likewise.
4462 * soft-fp/extendsfdf2.c: Likewise.
4463 * soft-fp/extendsftf2.c: Likewise.
4464 * soft-fp/extendxftf2.c: Likewise.
4465 * soft-fp/gedf2.c: Likewise.
4466 * soft-fp/gesf2.c: Likewise.
4467 * soft-fp/getf2.c: Likewise.
4468 * soft-fp/ledf2.c: Likewise.
4469 * soft-fp/lesf2.c: Likewise.
4470 * soft-fp/letf2.c: Likewise.
4471 * soft-fp/op-1.h: Likewise.
4472 * soft-fp/op-2.h: Likewise.
4473 * soft-fp/op-4.h: Likewise.
4474 * soft-fp/op-8.h: Likewise.
4475 * soft-fp/op-common.h: Likewise.
4476 * soft-fp/quad.h: Likewise.
4477 * soft-fp/single.h: Likewise.
4478 * soft-fp/soft-fp.h: Likewise.
4479 * soft-fp/unorddf2.c: Likewise.
4480 * soft-fp/unordsf2.c: Likewise.
4481 * soft-fp/unordtf2.c: Likewise.
4482 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4483 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4484 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4485 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4486 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4487 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4488 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4489 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4490 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4491 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4493 2014-10-08 Rong Xu <xur@google.com>
4495 * libgcov-util.c (read_gcda_file): Fix format.
4496 (find_match_gcov_info): Ditto.
4497 (calculate_2_entries): New.
4498 (compute_one_gcov): Ditto.
4499 (gcov_info_count_all_cold): Ditto.
4500 (gcov_info_count_all_zero): Ditto.
4501 (extract_file_basename): Ditto.
4502 (get_file_basename): Ditto.
4504 (matched_gcov_info): Ditto.
4505 (calculate_overlap): Ditto.
4506 (gcov_profile_overlap): Ditto.
4507 * libgcov-driver.c (compute_summary): Make
4508 it avavilable for external calls.
4510 2014-10-06 Rong Xu <xur@google.com>
4512 * Makefile.in: Ditto.
4513 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4514 (gcov_sort_icall_topn_counter): Ditto.
4515 (gcov_sort_topn_counter_arrays): Ditto.
4516 (dump_one_gcov): Sort indirect_call topn counters.
4517 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4519 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4521 (__gcov_indirect_call_topn_profiler): New profiler function.
4522 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4523 * libgcov.h: New decls.
4525 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
4527 * config.host: Remove support for score-*.
4529 2014-09-22 Joseph Myers <joseph@codesourcery.com>
4531 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4532 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4533 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4534 __LIBGCC_XF_MANT_DIG__.
4535 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4536 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4537 __LIBGCC_TF_MANT_DIG__.
4538 * libgcc2.c (NOTRUNC): Define in terms of
4539 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4540 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4542 2014-09-22 Joseph Myers <joseph@codesourcery.com>
4545 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4548 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
4550 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4551 override USE_PT_GNU_EH_FRAME.
4552 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4553 check USE_EH_FRAME_REGISTRY_ALWAYS against
4554 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4555 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4556 variable for substituted force_explicit_eh_registry.
4557 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4558 * configure.ac (explicit-exception-frame-registration):
4560 * configure: Regenerate.
4562 2014-09-19 Olivier Hainque <hainque@adacore.com>
4564 * config.host (powerpc-wrs-vxworksmils): New configuration,
4567 2014-09-18 Joseph Myers <joseph@codesourcery.com>
4569 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4571 2014-09-18 Joseph Myers <joseph@codesourcery.com>
4573 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4574 bits not set bits as indicating trapping exceptions.
4576 2014-09-17 Nathan sidwell <nathan@acm.org>
4578 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4579 (LIBGCOV_DRIVER): ... here.
4580 * libgcov-driver.c (gcov_master): New.
4581 (gcov_exit): Remove from master chain.
4582 (__gcov_init): Add to master chain if version compatible. Don't
4584 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4585 (gcov_reset_int): Clear master chain, if compatible.
4586 (gcov_dump_int): New internal interface. Dump master chain, if
4588 (gcov_dump): Alias for gcov_dump_int.
4589 * libgcov.h (struct gcov_root): Add next and prev fields.
4590 (struct gcov_master): New struct.
4591 (__gcov_master): New.
4592 (gcov_dump_int): Declare.
4594 2014-09-17 Olivier Hainque <hainque@adacore.com>
4596 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4597 and crtbegin.o + crtend.o to extra_parts.
4599 2014-09-12 Joseph Myers <joseph@codesourcery.com>
4601 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4602 __LIBGCC_HAS_SF_MODE__.
4603 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4604 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4605 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4606 * config/libbid/bid_gcc_intrinsics.h
4607 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4608 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4609 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4610 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4611 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4612 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4614 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
4617 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4618 and R24 as needed. Make work for all devices and .text locations.
4619 (__do_global_ctors, __do_global_dtors): Use word addresses.
4620 (__tablejump__, __tablejump_elpm__): Remove functions.
4621 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4623 (XICALL, XIJMP): New macros.
4625 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
4626 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4628 * config.host (aarch64*): Include crtfastmath.o and
4630 * config/aarch64/crtfastmath.c: New file.
4632 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
4634 * config.host: Remove picochip support.
4635 * config/picochip/adddi3.S: Remove.
4636 * config/picochip/ashlsi3.S: Remove.
4637 * config/picochip/ashlsi3.c: Remove.
4638 * config/picochip/ashrsi3.S: Remove.
4639 * config/picochip/ashrsi3.c: Remove.
4640 * config/picochip/clzsi2.S: Remove.
4641 * config/picochip/cmpsi2.S: Remove.
4642 * config/picochip/divmod15.S: Remove.
4643 * config/picochip/divmodhi4.S: Remove.
4644 * config/picochip/divmodsi4.S: Remove.
4645 * config/picochip/lib1funcs.S: Remove.
4646 * config/picochip/longjmp.S: Remove.
4647 * config/picochip/lshrsi3.S: Remove.
4648 * config/picochip/lshrsi3.c: Remove.
4649 * config/picochip/parityhi2.S: Remove.
4650 * config/picochip/popcounthi2.S: Remove.
4651 * config/picochip/setjmp.S: Remove.
4652 * config/picochip/subdi3.S: Remove.
4653 * config/picochip/t-picochip: Remove.
4654 * config/picochip/ucmpsi2.S: Remove.
4655 * config/picochip/udivmodhi4.S: Remove.
4656 * config/picochip/udivmodsi4.S: Remove.
4658 2014-09-08 Joseph Myers <joseph@codesourcery.com>
4660 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4661 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4662 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4663 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4664 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4665 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4666 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4667 defined and LIBGCC2_HAS_DF_MODE is defined.
4668 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4669 defined and LIBGCC2_HAS_XF_MODE is defined.
4670 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4671 defined and LIBGCC2_HAS_TF_MODE is defined.
4673 2014-09-08 Joseph Myers <joseph@codesourcery.com>
4675 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4676 and ROUND_TOWARDS_ZERO conditionals.
4678 2014-09-07 Nathan sidwell <nathan@acm.org>
4680 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4681 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4683 2014-09-05 Joseph Myers <joseph@codesourcery.com>
4685 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4686 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4687 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4688 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4689 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4690 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4691 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4692 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4693 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4694 (DWARF_FRAME_REGISTERS): Change all uses to
4695 __LIBGCC_DWARF_FRAME_REGISTERS__.
4696 (EH_RETURN_STACKADJ_RTX): Change all uses to
4697 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4698 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4699 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4700 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4701 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4702 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4703 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4704 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4705 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4706 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4707 __LIBGCC_STACK_POINTER_REGNUM__.
4708 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4709 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4710 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4711 to __LIBGCC_STACK_POINTER_REGNUM__.
4712 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4713 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4714 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4715 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4716 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4717 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4718 (STACK_POINTER_REGNUM): Change all uses to
4719 __LIBGCC_STACK_POINTER_REGNUM__.
4720 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4721 use to __LIBGCC_STACK_POINTER_REGNUM__.
4722 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4723 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4724 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4725 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4726 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4727 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4728 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4729 to __LIBGCC_STACK_POINTER_REGNUM__.
4730 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4731 Remove conditional definition.
4732 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4733 __LIBGCC_TEXT_SECTION_ASM_OP__.
4734 (EH_FRAME_SECTION_NAME): Change all uses to
4735 __LIBGCC_EH_FRAME_SECTION_NAME__.
4736 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4737 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4738 (CTORS_SECTION_ASM_OP): Change all uses to
4739 __LIBGCC_CTORS_SECTION_ASM_OP__.
4740 (DTORS_SECTION_ASM_OP): Change all uses to
4741 __LIBGCC_DTORS_SECTION_ASM_OP__.
4742 (JCR_SECTION_NAME): Change all uses to
4743 __LIBGCC_JCR_SECTION_NAME__.
4744 (INIT_SECTION_ASM_OP): Change all uses to
4745 __LIBGCC_INIT_SECTION_ASM_OP__.
4746 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4747 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4748 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4749 __LIBGCC_STACK_GROWS_DOWNWARD__.
4750 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4751 __LIBGCC_INIT_SECTION_ASM_OP__.
4752 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4753 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4754 (EH_FRAME_SECTION_NAME): Change all uses to
4755 __LIBGCC_EH_FRAME_SECTION_NAME__.
4756 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4757 definitions. Change all uses to
4758 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4759 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4760 __LIBGCC_STACK_GROWS_DOWNWARD__.
4761 (DWARF_FRAME_REGISTERS): Change all uses to
4762 __LIBGCC_DWARF_FRAME_REGISTERS__.
4763 (EH_RETURN_STACKADJ_RTX): Change all uses to
4764 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4765 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4766 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4767 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4768 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4769 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4771 2014-09-02 Nathan sidwell <nathan@acm.org>
4773 * libgcov-interface.c (STRONG_ALIAS): New.
4774 (__gcov_flush): Call __gcov_reset_int.
4775 (__gcov_reset): Strong alias for ...
4776 (__gcov_reset_ing): ... this renamed hidden version.
4777 * libgcov.h (__gcov_reset_int): New declaration.
4779 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4781 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4783 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4784 (__dso_handle): Define on Cygwin.
4785 * config/i386/t-cygming (crtbeginS.o): New rule.
4786 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4788 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4791 2014-08-13 Steve Ellcey <sellcey@mips.com>
4793 * crtstuff.c: Undef caddr_t.
4795 2014-08-12 Steve Ellcey <sellcey@mips.com>
4797 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4799 2014-08-07 Nathan Sidwell <nathan@acm.org>
4801 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4802 (LIBGCOV_DRIVER): ... to here.
4803 * libgcov.h (gcov_do_dump): New #define.
4804 (struct gcov_root): New.
4805 (__gcov_root): New declaration.
4806 (__gcov_dump_one): Declare.
4807 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4808 run_accounted): Delete.
4809 (gcov_compute_histogram): Add LIST argument, adjust.
4810 (compute_summary): Adjust gcov_compute_histogram call.
4811 (gcov_do_dump): Not hidden, static in libgcov.
4812 (gcov_clear): Move to interface.c.
4813 (__gcov_dump_one): New, broken out of ...
4814 (gcov_exit): ... here. Make static.
4816 (__gcov_init): Adjust.
4817 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4819 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4820 (gcov_clear): Moved from driver.c. Add LIST argument.
4821 (__gcov_reset): Adjust for changed interfaces.
4822 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4824 2014-08-04 Rohit <rohitarulraj@freescale.com>
4827 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
4828 based on change in SPE high register numbers and 3 HTM registers.
4830 2014-08-01 Nathan Sidwell <nathan@acm.org>
4832 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4833 LIBGCOV_INTERFACE): Reformat.
4834 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4836 * libgcov-interface.c: Reformat some comments.
4837 (__gcov_flush_mx): Add declaration. Tidy up definition.
4839 2014-07-31 Alan Modra <amodra@gmail.com>
4840 Peter Bergner <bergner@vnet.ibm.com>
4842 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4843 (pack_ldouble): New function.
4844 (__gcc_qadd): Use it.
4845 (__gcc_qmul): Likewise.
4846 (__gcc_qdiv): Likewise.
4847 (__gcc_qneg): Likewise.
4848 (__gcc_stoq): Likewise.
4849 (__gcc_dtoq): Likewise.
4851 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4853 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4854 (__tpf_eh_return): Add original return address as second parameter.
4855 Handle cases where unwinder routines were called directly, instead
4856 of from within the C++ library.
4858 2014-07-29 Nathan Sidwell <nathan@acm.org>
4860 * libgcov.h: Move renaming of entry points to lib gcov specific
4862 (gcov_do_dump): New rename.
4863 (gcov_rewrite): Remove inline, make HIDDEN.
4864 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4865 (gcov_exit_compute_summary): Rename to ...
4866 (compute_summary): ... here. Add LIST argument.
4867 (gcov_exit_merge_gcda): Rename to ...
4868 (merge_one_data): ... here.
4869 (gcov_exit_write_gcda): Rename to ...
4870 (write_one_data): ... here.
4871 (gcov_exit_merge_summary): Rename to ...
4872 (merge_summary): Add RUN_COUNTED argument.
4873 (gcov_exit_dump_gcov): Rename to ...
4874 (dump_one_gcov): Add RUN_COUNTED argument.
4875 (gcov_do_dump): New function, broken out of ...
4876 (gcov_exit): ... here. Call it.
4878 2014-07-27 Anthony Green <green@moxielogic.com>
4880 * config.host: Add moxiebox configuration suppport.
4882 2014-07-27 Nathan Sidwell <nathan@acm.org>
4884 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4885 (struct gcov_filename): ... here. Include buffer and max length
4887 (gcov_max_filename): Remove.
4888 (gi_filename): Remove.
4889 (gcov_exit_compute_summary): Compute max filename here.
4890 (gcov_exit_merge_gcda): Add filename parm, adjust.
4891 (gcov_exit_merge_summary): Likewise.
4892 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4893 (gcov_exit): Likewise.
4894 (__gcov_init): Don't calculate max length here.
4895 * libgcov_util.c (max_filename_len): Remove.
4896 (read_gcda_file): Don't calculate max length here.
4897 (gcov_read_profile_dir): Don't propagate here.
4898 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4899 struct gcov_filename changes.
4900 (gcov_exit_open_gcda_file): Likewise.
4902 2014-07-25 Nathan Sidwell <nathan@acm.org>
4904 * libgcov-driver.c (set_gcov_dump_complete,
4905 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4906 functions polluting user's namespace.
4907 (gcov_exit): Set variable directly.
4908 (gcov_clear): Reset variable directly.
4909 * libgcov-interface.c (get_gcov_dymp_complete,
4910 reset_gov_dump_complete): Remove declarations.
4911 (__gcov_reset, __gcov_dump): Don't call them.
4913 2014-07-24 DJ Delorie <dj@redhat.com>
4915 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
4916 (__gcc_deregister_frame): Move logic to detect deregister function
4918 (__gcc_register_frame): here, so it's consistent with the register
4921 2014-07-23 Nathan Sidwell <nathan@acm.org>
4923 * libgcov-driver.c (set_gcov_list): Remove.
4924 (gcov_list): Make non-static in GCOV_TOOL.
4925 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4927 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
4929 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4930 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4931 Don't use SYNC_LOCK_RELEASE for int type.
4933 2014-07-14 Richard Biener <rguenther@suse.de>
4935 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4937 2014-07-11 Rong Xu <xur@google.com>
4939 * libgcov-util.c (gcov_max_filename): Fix declartion.
4941 2014-07-10 Rong Xu <xur@google.com>
4943 Add gcov-tool: an offline gcda profile processing tool
4945 * libgcov-driver.c (gcov_max_filename): Make available
4947 * libgcov-merge.c (__gcov_merge_add): Replace
4948 gcov_read_counter() with a Macro.
4949 (__gcov_merge_ior): Ditto.
4950 (__gcov_merge_time_profile): Ditto.
4951 (__gcov_merge_single): Ditto.
4952 (__gcov_merge_delta): Ditto.
4953 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4954 in the utility functions.
4955 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4956 gcov_list object link lists.
4957 (tag_function): Ditto.
4958 (tag_blocks): Ditto.
4961 (tag_counters): Ditto.
4962 (tag_summary): Ditto.
4963 (read_gcda_finalize): Ditto.
4964 (read_gcda_file): Ditto.
4965 (ftw_read_file): Ditto.
4966 (read_profile_dir_init): Ditto.
4967 (gcov_read_profile_dir): Ditto.
4968 (gcov_read_counter_mem): Ditto.
4969 (gcov_get_merge_weight): Ditto.
4970 (merge_wrapper): A wrapper function that calls merging handler.
4971 (gcov_merge): Merge two gcov_info objects with weights.
4972 (find_match_gcov_info): Find the matched gcov_info in the list.
4973 (gcov_profile_merge): Merge two gcov_info object lists.
4974 (__gcov_add_counter_op): Process edge profile counter values.
4975 (__gcov_ior_counter_op): Process IOR profile counter values.
4976 (__gcov_delta_counter_op): Process delta profile counter values.
4977 (__gcov_single_counter_op): Process single profile counter values.
4978 (fp_scale): Callback function for float-point scaling.
4979 (int_scale): Callback function for integer fraction scaling.
4980 (gcov_profile_scale): Scaling profile counters.
4981 (gcov_profile_normalize): Normalize profile counters.
4982 * libgcov.h: Add headers and functions for gcov-tool use.
4983 (gcov_get_counter): New.
4984 (gcov_get_counter_target): Ditto.
4985 (struct gcov_info): Make the functions field mutable in gcov-tool
4988 2014-06-23 Kai Tietz <ktietz@redhat.com>
4991 * unwind-seh.c (_Unwind_GetGR): Check for proper
4993 (_Unwind_SetGR): Likewise.
4995 2014-05-22 Nick Clifton <nickc@redhat.com>
4997 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
5000 2014-05-22 Teresa Johnson <tejohnson@google.com>
5002 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
5005 2014-05-20 John Marino <gnugcc@marino.st>
5007 * config.host (*-*-dragonfly*): New target.
5008 * crtstuff.c: Make dl_iterate_support generic on *bsd.
5009 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
5010 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
5011 * config/i386/dragonfly-unwind.h: New.
5013 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5016 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
5017 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
5019 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
5021 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
5024 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
5026 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
5028 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5031 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
5034 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
5036 Work around for current cygwin32 build problems.
5037 * config/i386/cygming-crtbegin.c (__register_frame_info,
5038 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
5039 functions only for 64-bit systems.
5041 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5043 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
5044 (sigill_caught, sigill_hdlr): Remove.
5046 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5048 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
5050 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5051 Solaris 9 single-threaded support.
5052 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5053 Solaris 9 single-threaded support. Add call_user_handler code
5055 (sparc_is_sighandler): Likewise.
5057 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5059 * config.host: Append t-floattodi to tmake_file depending on
5062 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
5064 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
5066 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
5069 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
5070 variable to avoid "array subscript is above array bounds" warnings.
5071 Use __builtin_expect when checking *jcr_list for NULL.
5073 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5076 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
5077 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
5078 vtv_*.o to extra_parts if enable_vtable_verify.
5080 2014-03-06 Nick Clifton <nickc@redhat.com>
5082 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
5083 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
5085 2014-02-28 Joey Ye <joey.ye@arm.com>
5088 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
5089 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
5092 2014-02-24 Walter Lee <walt@tilera.com>
5094 * config.host: Support "tilegx*" and "tilepro*" triplets.
5095 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
5096 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
5098 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
5099 Chung-Lin Tang <cltang@codesourcery.com>
5101 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
5102 * config/nios2/crti.S: Remove .file directive.
5103 * config/nios2/crtn.S: Likewise.
5105 2014-02-18 Kai Tietz <ktietz@redhat.com>
5106 Jonathan Schleifer <js@webkeks.org>
5109 * unwind-seh.c (_GCC_specific_handler): Pass proper
5110 value to unwind-handler.
5112 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5114 * soft-fp/adddf3.c: Update from glibc.
5115 * soft-fp/addsf3.c: Likewise.
5116 * soft-fp/addtf3.c: Likewise.
5117 * soft-fp/divdf3.c: Likewise.
5118 * soft-fp/divsf3.c: Likewise.
5119 * soft-fp/divtf3.c: Likewise.
5120 * soft-fp/double.h: Likewise.
5121 * soft-fp/eqdf2.c: Likewise.
5122 * soft-fp/eqsf2.c: Likewise.
5123 * soft-fp/eqtf2.c: Likewise.
5124 * soft-fp/extenddftf2.c: Likewise.
5125 * soft-fp/extended.h: Likewise.
5126 * soft-fp/extendsfdf2.c: Likewise.
5127 * soft-fp/extendsftf2.c: Likewise.
5128 * soft-fp/extendxftf2.c: Likewise.
5129 * soft-fp/fixdfdi.c: Likewise.
5130 * soft-fp/fixdfsi.c: Likewise.
5131 * soft-fp/fixdfti.c: Likewise.
5132 * soft-fp/fixsfdi.c: Likewise.
5133 * soft-fp/fixsfsi.c: Likewise.
5134 * soft-fp/fixsfti.c: Likewise.
5135 * soft-fp/fixtfdi.c: Likewise.
5136 * soft-fp/fixtfsi.c: Likewise.
5137 * soft-fp/fixtfti.c: Likewise.
5138 * soft-fp/fixunsdfdi.c: Likewise.
5139 * soft-fp/fixunsdfsi.c: Likewise.
5140 * soft-fp/fixunsdfti.c: Likewise.
5141 * soft-fp/fixunssfdi.c: Likewise.
5142 * soft-fp/fixunssfsi.c: Likewise.
5143 * soft-fp/fixunssfti.c: Likewise.
5144 * soft-fp/fixunstfdi.c: Likewise.
5145 * soft-fp/fixunstfsi.c: Likewise.
5146 * soft-fp/fixunstfti.c: Likewise.
5147 * soft-fp/floatdidf.c: Likewise.
5148 * soft-fp/floatdisf.c: Likewise.
5149 * soft-fp/floatditf.c: Likewise.
5150 * soft-fp/floatsidf.c: Likewise.
5151 * soft-fp/floatsisf.c: Likewise.
5152 * soft-fp/floatsitf.c: Likewise.
5153 * soft-fp/floattidf.c: Likewise.
5154 * soft-fp/floattisf.c: Likewise.
5155 * soft-fp/floattitf.c: Likewise.
5156 * soft-fp/floatundidf.c: Likewise.
5157 * soft-fp/floatundisf.c: Likewise.
5158 * soft-fp/floatunditf.c: Likewise.
5159 * soft-fp/floatunsidf.c: Likewise.
5160 * soft-fp/floatunsisf.c: Likewise.
5161 * soft-fp/floatunsitf.c: Likewise.
5162 * soft-fp/floatuntidf.c: Likewise.
5163 * soft-fp/floatuntisf.c: Likewise.
5164 * soft-fp/floatuntitf.c: Likewise.
5165 * soft-fp/gedf2.c: Likewise.
5166 * soft-fp/gesf2.c: Likewise.
5167 * soft-fp/getf2.c: Likewise.
5168 * soft-fp/ledf2.c: Likewise.
5169 * soft-fp/lesf2.c: Likewise.
5170 * soft-fp/letf2.c: Likewise.
5171 * soft-fp/muldf3.c: Likewise.
5172 * soft-fp/mulsf3.c: Likewise.
5173 * soft-fp/multf3.c: Likewise.
5174 * soft-fp/negdf2.c: Likewise.
5175 * soft-fp/negsf2.c: Likewise.
5176 * soft-fp/negtf2.c: Likewise.
5177 * soft-fp/op-1.h: Likewise.
5178 * soft-fp/op-2.h: Likewise.
5179 * soft-fp/op-4.h: Likewise.
5180 * soft-fp/op-8.h: Likewise.
5181 * soft-fp/op-common.h: Likewise.
5182 * soft-fp/quad.h: Likewise.
5183 * soft-fp/single.h: Likewise.
5184 * soft-fp/soft-fp.h: Likewise.
5185 * soft-fp/subdf3.c: Likewise.
5186 * soft-fp/subsf3.c: Likewise.
5187 * soft-fp/subtf3.c: Likewise.
5188 * soft-fp/truncdfsf2.c: Likewise.
5189 * soft-fp/trunctfdf2.c: Likewise.
5190 * soft-fp/trunctfsf2.c: Likewise.
5191 * soft-fp/trunctfxf2.c: Likewise.
5192 * soft-fp/unorddf2.c: Likewise.
5193 * soft-fp/unordsf2.c: Likewise.
5194 * soft-fp/unordtf2.c: Likewise.
5195 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
5197 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5199 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5201 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5203 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5205 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5207 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5209 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5211 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5213 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5215 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5217 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5219 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5221 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
5223 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
5225 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5228 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5230 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
5231 cannot be represented.
5232 * config/s390/32/_fixsfdi.c: Likewise.
5233 * config/s390/32/_fixtfdi.c: Likewise.
5234 * config/s390/32/_fixunsdfdi.c: Likewise.
5235 * config/s390/32/_fixunssfdi.c: Likewise.
5236 * config/s390/32/_fixunstfdi.c: Likewise.
5238 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
5240 * configure.ac (libgcc_cv_mips_hard_float): New.
5241 * configure: Regenerate.
5242 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
5243 t-softfp-sfdf for hard-float targets.
5244 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5245 (softfp_float_modes, softfp_int_modes, softfp_extensions)
5246 (softfp_truncations, softfp_exclude_libgcc2): New.
5247 * config/t-hardfp: New file.
5248 * config/t-hardfp-sfdf: Likewise.
5249 * config/hardfp.c: Likewise.
5251 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5253 * config.host: Include t-floattodi also for s390x.
5254 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5255 * config/s390/32/_fixsfdi.c: Likewise.
5256 * config/s390/32/_fixtfdi.c: Likewise.
5257 * config/s390/32/_fixunsdfdi.c: Likewise.
5258 * config/s390/32/_fixunssfdi.c: Likewise.
5259 * config/s390/32/_fixunstfdi.c: Likewise.
5261 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5264 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5265 (install-libgcc-unwind-map-forbuild): New target.
5266 (all): Depend on install-libgcc-unwind-map-forbuild.
5267 (install-libgcc-unwind-map): New target.
5268 (install): Depend on install-libgcc-unwind-map.
5270 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
5272 * config/nios2/crti.S (_init): Initialize GOT pointer from
5273 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5275 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
5277 * configure.ac: Check __mips64 when setting host_address.
5278 * configure: Regenerate.
5279 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
5280 mips/t-mips64 and t-softfp.
5281 (mips*-*-linux*): Don't add mips/t-tpbit.
5282 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
5283 (DPBIT, DPBIT_CFLAGS): Delete.
5284 * config/mips/sfp-machine.h: New file.
5285 * config/mips/t-mips64: Likewise.
5286 * config/mips/t-softfp-tf: Likewise.
5287 * config/mips/t-tpbit: Delete.
5289 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
5291 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
5294 2014-01-25 Walter Lee <walt@tilera.com>
5296 * config/tilepro/atomic.c: Include tconfig.h. Don't include
5297 config.h or system.h.
5300 2014-01-25 Walter Lee <walt@tilera.com>
5302 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
5303 (post_atomic_barrier): Ditto.
5304 (__fetch_and_do): New macro.
5305 (__atomic_fetch_and_do): Use __fetch_and_do.
5306 (__sync_fetch_and_do): New macro.
5307 (__sync_fetch_and_add_4): New function.
5308 (__sync_fetch_and_sub_4): New function.
5309 (__sync_fetch_and_or_4): New function.
5310 (__sync_fetch_and_and_4): New function.
5311 (__sync_fetch_and_xor_4): New function.
5312 (__sync_fetch_and_nand_4): New function.
5313 (__sync_fetch_and_add_8): New function.
5314 (__sync_fetch_and_sub_8): New function.
5315 (__sync_fetch_and_or_8): New function.
5316 (__sync_fetch_and_and_8): New function.
5317 (__sync_fetch_and_xor_8): New function.
5318 (__sync_fetch_and_nand_8): New function.
5319 (__do_and_fetch): New macro.
5320 (__atomic_do_and_fetch): Use __do_and_fetch.
5321 (__sync_do_and_fetch): New macro.
5322 (__sync_add_and_fetch_4): New function.
5323 (__sync_sub_and_fetch_4): New function.
5324 (__sync_or_and_fetch_4): New function.
5325 (__sync_and_and_fetch_4): New function.
5326 (__sync_xor_and_fetch_4): New function.
5327 (__sync_nand_and_fetch_4): New function.
5328 (__sync_add_and_fetch_8): New function.
5329 (__sync_sub_and_fetch_8): New function.
5330 (__sync_or_and_fetch_8): New function.
5331 (__sync_and_and_fetch_8): New function.
5332 (__sync_xor_and_fetch_8): New function.
5333 (__sync_nand_and_fetch_8): New function.
5334 (__sync_exchange_methods): New macro.
5335 (__sync_val_compare_and_swap_4): New function.
5336 (__sync_bool_compare_and_swap_4): New function.
5337 (__sync_lock_test_and_test_4): New function.
5338 (__sync_val_compare_and_swap_8): New function.
5339 (__sync_bool_compare_and_swap_8): New function.
5340 (__sync_lock_test_and_test_8): New function.
5341 (__subword_cmpxchg_body): New macro.
5342 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5343 (__atomic_compare_exchange_2): Ditto.
5344 (__sync_subword_cmpxchg): New macro.
5345 (__sync_val_compare_and_swap_1): New function.
5346 (__sync_bool_compare_and_swap_1): New function.
5347 (__sync_val_compare_and_swap_2): New function.
5348 (__sync_bool_compare_and_swap_2): New function.
5349 (__atomic_subword): Rename to ...
5350 (__subword): ... New name.
5351 (__atomic_subword_fetch): Use __subword.
5352 (__sync_subword_fetch): New macro.
5353 (__sync_fetch_and_add_1): New function.
5354 (__sync_fetch_and_sub_1): New function.
5355 (__sync_fetch_and_or_1): New function.
5356 (__sync_fetch_and_and_1): New function.
5357 (__sync_fetch_and_xor_1): New function.
5358 (__sync_fetch_and_nand_1): New function.
5359 (__sync_fetch_and_add_2): New function.
5360 (__sync_fetch_and_sub_2): New function.
5361 (__sync_fetch_and_or_2): New function.
5362 (__sync_fetch_and_and_2): New function.
5363 (__sync_fetch_and_xor_2): New function.
5364 (__sync_fetch_and_nand_2): New function.
5365 (__sync_add_and_fetch_1): New function.
5366 (__sync_sub_and_fetch_1): New function.
5367 (__sync_or_and_fetch_1): New function.
5368 (__sync_and_and_fetch_1): New function.
5369 (__sync_xor_and_fetch_1): New function.
5370 (__sync_nand_and_fetch_1): New function.
5371 (__sync_add_and_fetch_2): New function.
5372 (__sync_sub_and_fetch_2): New function.
5373 (__sync_or_and_fetch_2): New function.
5374 (__sync_and_and_fetch_2): New function.
5375 (__sync_xor_and_fetch_2): New function.
5376 (__sync_nand_and_fetch_2): New function.
5377 (__atomic_subword_lock): Use __subword.
5378 (__sync_subword_lock): New macro.
5379 (__sync_lock_test_and_set_1): New function.
5380 (__sync_lock_test_and_set_2): New function.
5382 2014-01-25 Walter Lee <walt@tilera.com>
5384 * config/tilepro/atomic.c (BIT_OFFSET): Define.
5385 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5386 (__atomic_subword): Ditto.
5388 2014-01-25 Walter Lee <walt@tilera.com>
5390 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5391 a prefix op argument.
5392 (__atomic_nand_fetch_4): Add prefix op.
5393 (__atomic_nand_fetch_8): Ditto.
5395 2014-01-21 Baruch Siach <barch@tkos.co.il>
5397 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5399 2014-01-09 Rong Xu <xur@google.com>
5401 * libgcov-driver.c (this_prg): make it local to save
5403 (gcov_exit_compute_summary): Ditto.
5404 (gcov_exit_merge_gcda): Ditto.
5405 (gcov_exit_merge_summary): Ditto.
5406 (gcov_exit_dump_gcov): Ditto.
5408 2014-01-08 Rong Xu <xur@google.com>
5410 * libgcov-driver.c: Use libgcov.h.
5411 (buffer_fn_data): Use xmalloc instead of malloc.
5412 (gcov_exit_merge_gcda): Ditto.
5413 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5414 * libgcov.h: New common header files for libgcov-*.h.
5415 * libgcov-interface.c: Use libgcov.h
5416 * libgcov-merge.c: Ditto.
5417 * libgcov-profiler.c: Ditto.
5418 * Makefile.in: Add dependence to libgcov.h
5420 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5422 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5423 case of small numerator and finite nonzero result.
5425 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5427 Update copyright years
5429 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5431 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5432 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5433 config/arc/dp-hack.h, config/arc/fp-hack.h,
5434 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5435 config/arc/ieee-754/arc600-dsp/divdf3.S,
5436 config/arc/ieee-754/arc600-dsp/divsf3.S,
5437 config/arc/ieee-754/arc600-dsp/muldf3.S,
5438 config/arc/ieee-754/arc600-dsp/mulsf3.S,
5439 config/arc/ieee-754/arc600-mul64/divdf3.S,
5440 config/arc/ieee-754/arc600-mul64/divsf3.S,
5441 config/arc/ieee-754/arc600-mul64/muldf3.S,
5442 config/arc/ieee-754/arc600-mul64/mulsf3.S,
5443 config/arc/ieee-754/arc600/divsf3.S,
5444 config/arc/ieee-754/arc600/mulsf3.S,
5445 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5446 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5447 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5448 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5449 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5450 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5451 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5452 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5453 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5454 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5455 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5456 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5457 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5458 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5459 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5460 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5461 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5462 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5463 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5464 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5465 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5466 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5467 vtv_start_preinit.c: Use the standard form for the copyright notice.
5469 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
5470 Chung-Lin Tang <cltang@codesourcery.com>
5471 Based on patches from Altera Corporation
5473 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5474 * config/nios2/lib2-nios2.h: New file.
5475 * config/nios2/lib2-divmod-hi.c: New file.
5476 * config/nios2/linux-unwind.h: New file.
5477 * config/nios2/lib2-divmod.c: New file.
5478 * config/nios2/linux-atomic.c: New file.
5479 * config/nios2/t-nios2: New file.
5480 * config/nios2/crti.asm: New file.
5481 * config/nios2/t-linux: New file.
5482 * config/nios2/lib2-divtable.c: New file.
5483 * config/nios2/lib2-mul.c: New file.
5484 * config/nios2/tramp.c: New file.
5485 * config/nios2/crtn.asm: New file.
5487 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
5489 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5490 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5491 from cpuid.h to check vendor signatures.
5493 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
5495 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
5496 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5497 (get_amd_cpu): Likewise.
5499 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
5501 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5504 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5505 H.J. Lu <hongjiu.lu@intel.com>
5508 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
5510 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5511 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5512 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
5513 FEATURE_XOP and FEATURE_FMA.
5514 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5516 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
5517 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
5518 FEATURE_FMA4 and FEATURE_XOP.
5520 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
5522 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5523 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5524 (get_intel_cpu): Updated.
5526 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
5528 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5530 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
5532 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5533 instructions when __SSE_MATH__ is defined.
5535 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
5537 * config.host (microblaze-*-rtems*): New.
5539 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
5541 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5542 architectures that do not have hardware divide instruction.
5543 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5545 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
5547 * longlong.h: Delete (moved to include/).
5549 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5551 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5552 of normal number and qNaN to not raise an inexact exception.
5554 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
5556 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5558 2013-11-28 Matthew Leach <matthew.leach@arm.com>
5560 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5561 for correct opcodes on BE.
5563 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
5565 * soft-fp/op-4.h: Update from glibc.
5567 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
5569 * libgcc2.c (__udivmoddi4): Define new implementation when
5570 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5571 divide instructions.
5573 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
5575 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5577 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5579 * config/t-softfp (soft-fp-objects-base): New variable.
5580 (soft-fp-objects): Use it.
5582 2013-11-23 David Edelson <dje.gcc@gmail.com>
5583 Andrew Dixie <andrewd@gentrack.com>
5586 * config/rs6000/aixinitfini.c: New file.
5587 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5588 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5591 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
5593 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
5595 2013-11-18 Jan Hubicka <jh@suse.cz>
5597 * libgcov-driver.c (run_accounted): Make global level static.
5598 (gcov_exit_merge_summary): Silence warning; do not clear
5600 (gcov_exit): Clear it here.
5602 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5605 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5606 (all_prg, crc32): Remove static vars.
5607 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5609 (gcov_exit_merge_gcda): Add crc32 parameter.
5610 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5611 do not account run if it was already accounted.
5612 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5613 (gcov_exit): Initialize all_prg; update.
5615 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
5617 * configure: Regenerate.
5619 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5620 Alan Modra <amodra@gmail.com>
5622 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5623 (frob_update_context): Use it.
5625 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5626 Alan Modra <amodra@gmail.com>
5628 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5629 (trampoline_initial): Provide ELFv2 variant.
5630 (__trampoline_setup): Likewise.
5632 * config/rs6000/linux-unwind.h (frob_update_context): Do not
5633 check for AIX indirect function call sequence if _CALL_ELF == 2.
5635 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5636 Alan Modra <amodra@gmail.com>
5638 * config/rs6000/linux-unwind.h (get_regs): Do not support
5639 old kernel versions if _CALL_ELF == 2.
5640 (frob_update_context): Do not support PLT stub variants only
5641 generated by old linkers if _CALL_ELF == 2.
5643 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5644 Alan Modra <amodra@gmail.com>
5646 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5647 location of CR save area for 64-bit little-endian systems.
5649 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
5651 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5653 * config/arm/t-vxworks: Delete.
5655 2013-11-10 Kai Tietz <ktietz@redhat.com>
5657 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5658 Increment load-count on use of LIBGCC_SONAME DLL.
5659 (hmod_libgcc): New static variable to hold handle of
5661 (__gcc_deregister_frame): Decrement load-count of
5664 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
5666 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5668 * configure: Regenerate
5670 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
5672 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5673 FP_EX_DENORM. Store result to volatile location after SSE division
5674 to close interrupt window. Remove unneeded fwait after x87
5675 division since interrupt window will be closed by emitted fstp.
5676 Rewrite FP_EX_INEXACT handling.
5678 2013-11-06 Joseph Myers <joseph@codesourcery.com>
5680 * soft-fp/README: Update.
5681 * soft-fp/adddf3.c: Update from glibc.
5682 * soft-fp/addsf3.c: Likewise.
5683 * soft-fp/addtf3.c: Likewise.
5684 * soft-fp/divdf3.c: Likewise.
5685 * soft-fp/divsf3.c: Likewise.
5686 * soft-fp/divtf3.c: Likewise.
5687 * soft-fp/double.h: Likewise.
5688 * soft-fp/eqdf2.c: Likewise.
5689 * soft-fp/eqsf2.c: Likewise.
5690 * soft-fp/eqtf2.c: Likewise.
5691 * soft-fp/extenddftf2.c: Likewise.
5692 * soft-fp/extended.h: Likewise.
5693 * soft-fp/extendsfdf2.c: Likewise.
5694 * soft-fp/extendsftf2.c: Likewise.
5695 * soft-fp/extendxftf2.c: Likewise.
5696 * soft-fp/fixdfdi.c: Likewise.
5697 * soft-fp/fixdfsi.c: Likewise.
5698 * soft-fp/fixdfti.c: Likewise.
5699 * soft-fp/fixsfdi.c: Likewise.
5700 * soft-fp/fixsfsi.c: Likewise.
5701 * soft-fp/fixsfti.c: Likewise.
5702 * soft-fp/fixtfdi.c: Likewise.
5703 * soft-fp/fixtfsi.c: Likewise.
5704 * soft-fp/fixtfti.c: Likewise.
5705 * soft-fp/fixunsdfdi.c: Likewise.
5706 * soft-fp/fixunsdfsi.c: Likewise.
5707 * soft-fp/fixunsdfti.c: Likewise.
5708 * soft-fp/fixunssfdi.c: Likewise.
5709 * soft-fp/fixunssfsi.c: Likewise.
5710 * soft-fp/fixunssfti.c: Likewise.
5711 * soft-fp/fixunstfdi.c: Likewise.
5712 * soft-fp/fixunstfsi.c: Likewise.
5713 * soft-fp/fixunstfti.c: Likewise.
5714 * soft-fp/floatdidf.c: Likewise.
5715 * soft-fp/floatdisf.c: Likewise.
5716 * soft-fp/floatditf.c: Likewise.
5717 * soft-fp/floatsidf.c: Likewise.
5718 * soft-fp/floatsisf.c: Likewise.
5719 * soft-fp/floatsitf.c: Likewise.
5720 * soft-fp/floattidf.c: Likewise.
5721 * soft-fp/floattisf.c: Likewise.
5722 * soft-fp/floattitf.c: Likewise.
5723 * soft-fp/floatundidf.c: Likewise.
5724 * soft-fp/floatundisf.c: Likewise.
5725 * soft-fp/floatunditf.c: Likewise.
5726 * soft-fp/floatunsidf.c: Likewise.
5727 * soft-fp/floatunsisf.c: Likewise.
5728 * soft-fp/floatunsitf.c: Likewise.
5729 * soft-fp/floatuntidf.c: Likewise.
5730 * soft-fp/floatuntisf.c: Likewise.
5731 * soft-fp/floatuntitf.c: Likewise.
5732 * soft-fp/gedf2.c: Likewise.
5733 * soft-fp/gesf2.c: Likewise.
5734 * soft-fp/getf2.c: Likewise.
5735 * soft-fp/ledf2.c: Likewise.
5736 * soft-fp/lesf2.c: Likewise.
5737 * soft-fp/letf2.c: Likewise.
5738 * soft-fp/muldf3.c: Likewise.
5739 * soft-fp/mulsf3.c: Likewise.
5740 * soft-fp/multf3.c: Likewise.
5741 * soft-fp/negdf2.c: Likewise.
5742 * soft-fp/negsf2.c: Likewise.
5743 * soft-fp/negtf2.c: Likewise.
5744 * soft-fp/op-1.h: Likewise.
5745 * soft-fp/op-2.h: Likewise.
5746 * soft-fp/op-4.h: Likewise.
5747 * soft-fp/op-8.h: Likewise.
5748 * soft-fp/op-common.h: Likewise.
5749 * soft-fp/quad.h: Likewise.
5750 * soft-fp/single.h: Likewise.
5751 * soft-fp/soft-fp.h: Likewise.
5752 * soft-fp/subdf3.c: Likewise.
5753 * soft-fp/subsf3.c: Likewise.
5754 * soft-fp/subtf3.c: Likewise.
5755 * soft-fp/truncdfsf2.c: Likewise.
5756 * soft-fp/trunctfdf2.c: Likewise.
5757 * soft-fp/trunctfsf2.c: Likewise.
5758 * soft-fp/trunctfxf2.c: Likewise.
5759 * soft-fp/unorddf2.c: Likewise.
5760 * soft-fp/unordsf2.c: Likewise.
5761 * soft-fp/unordtf2.c: Likewise.
5763 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
5765 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5766 (_FP_MUL_MEAT_D): Ditto.
5767 (_FP_DIV_MEAT_S): Ditto.
5768 (_FP_DIV_MEAT_D): Ditto.
5769 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5770 t-softfp-sfdf and t-softfp to tmake_file.
5772 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
5774 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5775 * config/i386/crtprec.c: Ditto.
5777 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5778 Shiva Chen <shiva0217@gmail.com>
5780 * config.host (nds32*-elf*): Add nds32 target.
5781 * config/nds32 : New directory and files.
5783 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
5785 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5786 * config.host (cpu_type) <Setting default>: Add entry for
5788 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5789 <crisv32-*-linux*>: Adjust.
5790 * longlong.h: Wrap the whole CRIS section in a single
5791 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5793 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5795 [__CRIS__] (__umulsidi3): Define.
5796 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5797 * config/cris/sfp-machine.h: New file.
5798 * config/cris/umulsidi3.S: New file.
5799 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5800 * config/cris/arit.c (SIGNMULT): New macro.
5801 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5802 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5803 saving 3 out of originally 33 cycles from the fastest
5804 path, 3 out of 54 from the medium path and one from the longest
5805 path. Improve comments.
5807 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5809 * sync.c: Remove static aliases and define each function directly
5810 under its real name.
5812 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
5814 * config.host (hppa*64*-*-linux*): Define extra_parts.
5815 (hppa*-*-linux*): Likewise.
5817 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5819 * config/arc/crtgend.S: Add 2013 to Copyright years.
5820 * config/arc/gmon/atomic.h: Likewise.
5821 * config/arc/gmon/auxreg.h: Likewise.
5822 * config/arc/gmon/sys/gmon_out.h: Likewise.
5823 * config/arc/gmon/sys/gmon.h: Likewise.
5824 * config/arc/gmon/prof-freq.c: Likewise.
5825 * config/arc/gmon/mcount.c: Likewise.
5826 * config/arc/gmon/prof-freq-stub.S: Likewise.
5827 * config/arc/gmon/gmon.c: Likewise.
5828 * config/arc/gmon/machine-gmon.h: Likewise.
5829 * config/arc/gmon/profil.S: Likewise.
5830 * config/arc/gmon/dcache_linesz.S: Likewise.
5831 * config/arc/crtg.S: Likewise.
5832 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5833 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5834 * config/arc/ieee-754/adddf3.S: Likewise.
5835 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5836 * config/arc/ieee-754/fixsfsi.S: Likewise.
5837 * config/arc/ieee-754/gtsf2.S: Likewise.
5838 * config/arc/ieee-754/floatsisf.S: Likewise.
5839 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5840 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5841 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5842 * config/arc/ieee-754/fixdfsi.S: Likewise.
5843 * config/arc/ieee-754/addsf3.S: Likewise.
5844 * config/arc/ieee-754/gesf2.S: Likewise.
5845 * config/arc/ieee-754/floatsidf.S: Likewise.
5846 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5847 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5848 * config/arc/ieee-754/gtdf2.S: Likewise.
5849 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5850 * config/arc/ieee-754/uneqdf2.S: Likewise.
5851 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5852 * config/arc/ieee-754/uneqsf2.S: Likewise.
5853 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5854 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5855 * config/arc/ieee-754/eqdf2.S: Likewise.
5856 * config/arc/ieee-754/ordsf2.S: Likewise.
5857 * config/arc/ieee-754/divsf3.S: Likewise.
5858 * config/arc/ieee-754/divdf3.S: Likewise.
5859 * config/arc/ieee-754/floatunsidf.S: Likewise.
5860 * config/arc/ieee-754/orddf2.S: Likewise.
5861 * config/arc/ieee-754/eqsf2.S: Likewise.
5862 * config/arc/ieee-754/gedf2.S: Likewise.
5863 * config/arc/crtn.S: Likewise.
5864 * config/arc/crti.S: Likewise.
5865 * config/arc/t-arc700-uClibc: Likewise.
5866 * config/arc/asm.h: Likewise.
5867 * config/arc/libgcc-excl.ver: Likewise.
5868 * config/arc/t-arc-newlib: Likewise.
5869 * config/arc/divtab-arc700.c: Likewise.
5870 * config/arc/initfini.c: Likewise.
5871 * config/arc/fp-hack.h: Likewise.
5873 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5874 Diego Novillo <dnovillo@google.com>
5876 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
5877 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5878 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5879 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
5881 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5882 Brendan Kehoe <brendan@zen.org>
5883 Simon Cook <simon.cook@embecosm.com>
5885 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5886 * config/arc: New directory.
5887 * longlong.h [__arc__] (umul_ppmm): Remove.
5888 [__arc__] (__umulsidi3): Define.
5889 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5890 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5892 2013-09-17 Jacek Caban <jacek@codeweavers.com>
5894 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5896 * config/i386/gthr-win32.h: Likewise.
5898 2013-09-16 DJ Delorie <dj@redhat.com>
5900 * config/rl78/vregs.h: Add G10 register definitions.
5901 * config/rl78/lib2mul.c: Enable for RL78/G10.
5902 * config/rl78/lib2div.c: Likewise.
5903 * config/rl78/lshrsi3.S: Use vregs.h.
5904 * config/rl78/cmpsi2.S: Likewise.
5905 * config/rl78/trampoline.S: Likewise.
5906 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5908 2013-09-14 DJ Delorie <dj@redhat.com>
5909 Nick Clifton <nickc@redhat.com>
5911 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5912 * config/rl78/vregs.h: New.
5913 * config/rl78/signbit.S: New file. Implements signbit function.
5914 * config/rl78/divmodsi.S: New.
5915 * config/rl78/divmodhi.S: New.
5916 * config/rl78/divmodqi.S: New.
5917 * config/rl78/t-rl78: Build them here...
5918 * config/rl78/lib2div.c: ...but not here.
5920 2013-09-12 DJ Delorie <dj@redhat.com>
5922 * config.host (msp*-*-elf): New.
5923 * config/msp430/: New port.
5925 2013-08-18 Iain Sandoe <iain@codesourcery.com>
5927 PR gcov-profile/58127
5928 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5929 __thread var for emulated TLS.
5930 (__gcov_indirect_call_counters): Likewise.
5932 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
5933 Catherine Moore <clm@codesourcery.com>
5934 Richard Sandiford <rdsandiford@googlemail.com>
5936 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5937 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5938 (CALL_STUB_NO_RET): Likewise.
5939 (CALL_STUB_RET): Likewise.
5940 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5941 __mips16_ret call/return stub symbols.
5942 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5945 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5947 * config.host <mips*-*-linux*>: Remove a stray comment.
5949 2013-08-10 Jan Hubicka <jh@suse.cz>
5951 Work around binutils PR14342
5952 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5953 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5954 (L_gcov_indirect_call_profiler_v2): New.
5956 2013-08-06 Jan Hubicka <jh@suse.cz>
5958 * libgcov.c (__gcov_indirect_call_callee,
5959 __gcov_indirect_call_counters): New global vars.
5960 (__gcov_indirect_call_profiler): replace by ...
5961 (__gcov_indirect_call_profiler_v2) ... this one.
5963 2013-08-06 Caroline Tice <cmtice@google.com>
5965 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
5966 vtv_start_preinit.o and vtv_end_preinit.o.
5967 * configure.ac: Add code to check/set enable_vtable_verify.
5968 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
5970 * vtv_start_preinit.c: New file.
5971 * vtv_end_preinit.c: New file.
5972 * vtv_start.c: New file.
5973 * vtv_end.c: New file.
5974 * configure: Regenerated.
5976 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5978 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5979 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5980 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5981 GPL-3.0-with-GCC-exception.
5983 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5985 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5988 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5990 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5991 mapping for FPRs when creating the fallback framestate.
5993 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
5996 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5997 (__round_s2_const, __round_u2_const)
5998 (__round_s4_const, __round_u4_const, __round_x8):
5999 Saturate result if addition result cannot be represented.
6001 2013-07-15 Matthias Klose <doko@ubuntu.com>
6003 * libgcc2.c: Don't include <limits.h>.
6005 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
6007 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
6009 2013-07-06 Jakub Jelinek <jakub@redhat.com>
6012 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
6014 2013-06-28 Jakub Jelinek <jakub@redhat.com>
6017 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
6019 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
6020 instead of table lookups.
6021 (__popcountDI2): Likewise.
6023 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
6025 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
6028 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6031 * soft-fp/adddf3.c: Update from glibc.
6032 * soft-fp/addsf3.c: Likewise.
6033 * soft-fp/addtf3.c: Likewise.
6034 * soft-fp/divdf3.c: Likewise.
6035 * soft-fp/divsf3.c: Likewise.
6036 * soft-fp/divtf3.c: Likewise.
6037 * soft-fp/double.h: Likewise.
6038 * soft-fp/eqdf2.c: Likewise.
6039 * soft-fp/eqsf2.c: Likewise.
6040 * soft-fp/eqtf2.c: Likewise.
6041 * soft-fp/extenddftf2.c: Likewise.
6042 * soft-fp/extended.h: Likewise.
6043 * soft-fp/extendsfdf2.c: Likewise.
6044 * soft-fp/extendsftf2.c: Likewise.
6045 * soft-fp/fixdfdi.c: Likewise.
6046 * soft-fp/fixdfsi.c: Likewise.
6047 * soft-fp/fixsfdi.c: Likewise.
6048 * soft-fp/fixsfsi.c: Likewise.
6049 * soft-fp/fixtfdi.c: Likewise.
6050 * soft-fp/fixtfsi.c: Likewise.
6051 * soft-fp/fixunsdfdi.c: Likewise.
6052 * soft-fp/fixunsdfsi.c: Likewise.
6053 * soft-fp/fixunssfdi.c: Likewise.
6054 * soft-fp/fixunssfsi.c: Likewise.
6055 * soft-fp/fixunstfdi.c: Likewise.
6056 * soft-fp/fixunstfsi.c: Likewise.
6057 * soft-fp/floatdidf.c: Likewise.
6058 * soft-fp/floatdisf.c: Likewise.
6059 * soft-fp/floatditf.c: Likewise.
6060 * soft-fp/floatsidf.c: Likewise.
6061 * soft-fp/floatsisf.c: Likewise.
6062 * soft-fp/floatsitf.c: Likewise.
6063 * soft-fp/floatundidf.c: Likewise.
6064 * soft-fp/floatundisf.c: Likewise.
6065 * soft-fp/floatunditf.c: Likewise.
6066 * soft-fp/floatunsidf.c: Likewise.
6067 * soft-fp/floatunsisf.c: Likewise.
6068 * soft-fp/floatunsitf.c: Likewise.
6069 * soft-fp/gedf2.c: Likewise.
6070 * soft-fp/gesf2.c: Likewise.
6071 * soft-fp/getf2.c: Likewise.
6072 * soft-fp/ledf2.c: Likewise.
6073 * soft-fp/lesf2.c: Likewise.
6074 * soft-fp/letf2.c: Likewise.
6075 * soft-fp/muldf3.c: Likewise.
6076 * soft-fp/mulsf3.c: Likewise.
6077 * soft-fp/multf3.c: Likewise.
6078 * soft-fp/negdf2.c: Likewise.
6079 * soft-fp/negsf2.c: Likewise.
6080 * soft-fp/negtf2.c: Likewise.
6081 * soft-fp/op-1.h: Likewise.
6082 * soft-fp/op-2.h: Likewise.
6083 * soft-fp/op-4.h: Likewise.
6084 * soft-fp/op-8.h: Likewise.
6085 * soft-fp/op-common.h: Likewise.
6086 * soft-fp/quad.h: Likewise.
6087 * soft-fp/single.h: Likewise.
6088 * soft-fp/soft-fp.h: Likewise.
6089 * soft-fp/subdf3.c: Likewise.
6090 * soft-fp/subsf3.c: Likewise.
6091 * soft-fp/subtf3.c: Likewise.
6092 * soft-fp/truncdfsf2.c: Likewise.
6093 * soft-fp/trunctfdf2.c: Likewise.
6094 * soft-fp/trunctfsf2.c: Likewise.
6095 * soft-fp/unorddf2.c: Likewise.
6096 * soft-fp/unordsf2.c: Likewise.
6097 * soft-fp/unordtf2.c: Likewise.
6098 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
6099 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6100 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6101 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6102 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6103 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6104 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6105 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6106 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6107 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
6108 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
6109 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6111 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
6113 * config/mips/lib2funcs.c: New file.
6114 * config/mips/t-mips (LIB2ADD_ST): Add it.
6116 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
6119 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
6120 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
6122 2013-06-08 Walter Lee <walt@tilera.com>
6124 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
6125 Replace int64_t with long long. Add __extension__ where
6127 * config/tilepro/atomic.c: Include config.h.
6129 2013-06-06 Douglas B Rupp <rupp@adacore.com>
6131 * config.host (arm-wrs-vxworks): Configure with other soft float.
6133 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
6135 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
6136 (mips64r5900el-*-elf*): New configurations.
6138 2013-06-04 Alan Modra <amodra@gmail.com>
6140 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
6142 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
6144 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
6146 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
6148 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
6149 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
6150 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
6152 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6154 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
6155 (powerpc-wrs-vxworks): Likewise.
6157 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6159 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
6160 signal frames as well.
6161 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
6162 STACK_BIAS to the CFA offset.
6164 2013-05-17 Richard Henderson <rth@redhat.com>
6167 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
6168 (execute_cfa_program): Use it when storing to fs->regs.
6170 2013-05-08 Kai Tietz <ktietz@redhat.com>
6172 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
6173 (__deregister_frame_info): Likewise.
6175 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
6177 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
6180 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
6182 2013-04-25 Alan Modra <amodra@gmail.com>
6184 * config.host: Match little-endian powerpc-linux.
6186 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
6188 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
6189 as 'unsigned long long' instead of 'unsigned long'.
6190 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
6193 2013-04-10 Julian Brown <julian@codesourcery.com>
6195 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
6196 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
6197 unsigned char/unsigned short.
6198 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
6200 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6203 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
6205 2013-04-04 Meador Inge <meadori@codesourcery.com>
6207 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
6208 computing the location of the link register.
6209 (aeabi_uldivmod): Ditto.
6211 2013-03-27 Kai Tietz <ktietz@redhat.com>
6213 * config.host: Add support for cygwin x64 target.
6214 * configure: Regenerated.
6216 2013-03-26 Walter Lee <walt@tilera.com>
6218 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
6219 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
6221 2013-03-25 Kai Tietz <ktietz@redhat.com>
6223 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
6225 2013-03-20 Robert Mason <rbmj@verizon.net>
6227 * config/vxlib-tls.c (__gthread_get_tsd_data,)
6228 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
6229 (__gthread_leave_tsd_dtor_context): Add prototypes.
6230 (tls_delete_hook): Update.
6232 2013-03-20 Catherine Moore <clm@codesourcery.com>
6233 Joseph Myers <joseph@codesourcery.com>
6234 Chao-ying Fu <fu@mips.com>
6236 * config/mips/mips16.S: Don't build for microMIPS.
6237 * config/mips/linux-unwind.h: Handle microMIPS frame.
6238 * config/mips/crtn.S (fini, init): New labels.
6240 2013-03-14 Jakub Jelinek <jakub@redhat.com>
6242 PR tree-optimization/53265
6243 * unwind-dw2.c (execute_cfa_program): Avoid
6244 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6245 on targets with DWARF_FRAME_REGISTERS < 32.
6247 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
6250 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6251 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6253 2013-03-07 Sriraman Tallam <tmsriram@google.com>
6255 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6256 sandybridge processors.
6258 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
6261 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6264 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6266 * config/microblaze/crti.S: Setup stack protection at entry
6268 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
6270 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6271 (__rotldi3): Shift bytewise if applicable.
6273 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
6275 * config/aarch64/sync-cache.c
6276 (__aarch64_sync_cache_range): Silence warnings.
6278 2013-02-25 Catherine Moore <clm@codesourcery.com>
6281 2013-02-24 Catherine Moore <clm@codesourcery.com>
6282 Joseph Myers <joseph@codesourcery.com>
6283 Chao-ying Fu <fu@mips.com>
6285 * config/mips/mips16.S: Don't build for microMIPS.
6286 * config/mips/linux-unwind.h: Handle microMIPS frame.
6287 * config/mips/crtn.S (fini, init): New labels.
6289 2013-02-24 Catherine Moore <clm@codesourcery.com>
6290 Joseph Myers <joseph@codesourcery.com>
6291 Chao-ying Fu <fu@mips.com>
6293 * config/mips/mips16.S: Don't build for microMIPS.
6294 * config/mips/linux-unwind.h: Handle microMIPS frame.
6295 * config/mips/crtn.S (fini, init): New labels.
6297 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6298 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
6301 2013-02-16 Alan Modra <amodra@gmail.com>
6304 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
6305 (ppc_fallback_frame_state): Always set up save locations for fp
6306 and altivec. Don't bother with non-callee-saved regs, r0-r13
6307 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
6309 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
6312 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6314 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6315 _ssmulha3, _usmulusa3, _ssmulsa3.
6316 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6317 (__muldi3): XCALL __muldi3_6 instead of rcall.
6318 (__umulsidi3, __mulsidi3): New functions.
6319 (do_prologue_saves, do_epilogue_restores): New .macros.
6320 (__divdi3_moddi3): Use them.
6321 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6322 (__usmulusa3, __ssmulsa3): New functions.
6324 2013-02-11 Iain Sandoe <iain@codesourcery.com>
6325 Jack Howarth <howarth@bromo.med.uc.edu>
6326 Patrick Marlier <patrick.marlier@gmail.com>
6329 * config/darwin-crt-tm.c: Remove dummy functions hack.
6331 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
6334 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6335 * config/avr/lib2-object.mk: New iterator to build objects from it.
6336 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6338 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6339 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6340 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6341 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6342 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6343 * config/avr/lib1funcs-fixed.S: Implement them.
6345 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
6347 Update copyright years.
6349 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
6352 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6353 Add crtcxa to extra_parts.
6354 * config/rs6000/exit.h: New file.
6355 * config/rs6000/cxa_atexit.c: New file.
6356 * config/rs6000/cxa_finalize.c: New file.
6357 * config/rs6000/crtcxa.c: New file.
6358 * config/rs6000/t-aix-cxa: New file.
6359 * config/rs6000/libgcc-aix-cxa.ver: New file.
6361 2013-01-31 Nick Clifton <nickc@redhat.com>
6363 * config/v850/lib1funcs.S: Add support for e3v5 architecture
6366 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
6369 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6370 _mulQQ, _mulHQ, _mulHA, _mulSA,
6371 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6372 _divQQ, _divHQ, _divHA, _divSA,
6373 _divUQQ, _divUHQ, _divUHA, _divUSA.
6375 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
6377 * config.host(microblaze*-linux*): tmake_file: Remove
6378 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6379 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6380 to exclude functions from being built with libgcc.c and use
6381 the microblaze assembly.
6383 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6385 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6388 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
6390 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6391 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6392 __UINTPTR_TYPE__; also cast 'base' to the same type before the
6393 alignment operation.
6395 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
6397 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6398 loop start address for cache clearing.
6400 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6402 * config/avr/lib1funcs.S: Remove trailing blanks.
6403 * config/avr/lib1funcs-fixed.S: Ditto.
6405 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6407 * config/avr/avr-lib.h: Add GPL copyright notice.
6409 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6411 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6412 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6413 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6414 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6416 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
6418 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6419 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
6421 2013-01-04 Nick Clifton <nickc@redhat.com>
6423 * config/v850/lib1funcs.S: Only provide CALLT support functions if
6424 the CALLT instruction is supported.
6426 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
6428 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6429 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6431 2012-12-13 John Tytgat <John@bass-software.com>
6433 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6436 2012-12-12 Jakub Jelinek <jakub@redhat.com>
6439 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6440 undefined signed overflows.
6442 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
6445 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6447 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
6449 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6450 (FP_TRAPPING_EXCEPTIONS): Define.
6451 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6452 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6454 2012-12-04 Richard Henderson <rth@redhat.com>
6457 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6459 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
6461 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
6462 (FP_EX_SHIFT): Define.
6463 (FP_TRAPPING_EXCEPTIONS): Define.
6465 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
6467 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6468 (FP_ROUNDMODE): Use FP_RND_MASK.
6469 * config/aarch64/sfp-exceptions.c: New.
6470 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6471 Use __sfp_handle_exceptions.
6473 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
6475 * config.host: (arm*-*-freebsd*): Remove.
6476 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6477 (arm*-*-elf*): Remove.
6478 (arm*-*-wince-pe*): Remove.
6479 * arm/unwind-arm.c (struct fpa_reg): Delete.
6480 (struct fpa_regs): Delete.
6481 (phase1_vrs): Remove fpa element.
6482 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6483 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6484 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6485 * ieee754-sf.S (floatundisf): Remove FPA support.
6486 (floatdisf): Likewise.
6487 * ieee75f-df.S (floatundidf): Likewise.
6488 (floatdidf): Likewise.
6490 2012-11-29 Kai Tietz <ktietz@redhat.com>
6493 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6494 * unwind-generic.h: Likewise.
6495 * unwind-seh.c: Likewise.
6497 2012-11-28 Richard Henderson <rth@redhat.com>
6500 * emutls.c (__emutls_get_address): Avoid race condition between
6501 obj->loc.offset read and emutls_key initialization.
6503 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
6505 Adjust decimal point of signed accum mode to GCC default.
6508 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6510 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6511 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6512 (__mulha3, __mulsa3)
6513 (__divqq3, __divha3, __divsa3): Adjust to new position of
6514 decimal point of signed accum types.
6516 (__mulusa3_round): New function.
6517 (__mulusa3): Use it.
6518 (__divqq_helper): New function.
6519 (__udivuqq3): Use it.
6521 2012-11-20 Jakub Jelinek <jakub@redhat.com>
6524 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6526 2012-11-18 Teresa Johnson <tejohnson@google.com>
6529 * libgcov.c (gcov_exit): Remove merged program summary
6530 comparison unless !GCOV_LOCKED.
6532 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
6534 * soft-fp: Updated from glibc upstream.
6536 2012-11-06 Ian Lance Taylor <iant@google.com>
6538 * generic-morestack.c (__generic_morestack): Align the returned
6539 stack pointer to a 32 byte boundary.
6540 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6541 increment the return address until we have decided that we don't
6542 have a varargs function.
6543 (__morestack) [32-bit]: Align stack correctly when calling C
6545 (__morestack) [64-bit]: Likewise.
6547 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6549 * configure: Regenerate.
6551 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
6554 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6555 * config/i386/sfp-machine.h: Guard exception handling
6556 code with _SOFT_FLOAT.
6557 * config/i386/32/sfp-machine.h: Guard rounding handling
6558 code with _SOFT_FLOAT.
6559 * config/i386/64/sfp-machine.h: Ditto.
6561 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
6563 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6566 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
6568 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6569 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
6570 when appropriate. Correct structure element types.
6571 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6572 -minline-all-stringops from compile flags.
6574 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
6576 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6578 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
6580 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
6582 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
6584 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6587 2012-10-23 Ian Bolton <ian.bolton@arm.com>
6588 Jim MacArthur <jim.macarthur@arm.com>
6589 Marcus Shawcroft <marcus.shawcroft@arm.com>
6590 Nigel Stephens <nigel.stephens@arm.com>
6591 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6592 Richard Earnshaw <rearnsha@arm.com>
6593 Sofiane Naci <sofiane.naci@arm.com>
6594 Stephen Thomas <stephen.thomas@arm.com>
6595 Tejas Belagod <tejas.belagod@arm.com>
6596 Yufeng Zhang <yufeng.zhang@arm.com>
6598 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6599 * config/aarch64/crti.S: New file.
6600 * config/aarch64/crtn.S: New file.
6601 * config/aarch64/linux-unwind.h: New file.
6602 * config/aarch64/sfp-machine.h: New file.
6603 * config/aarch64/sync-cache.c: New file.
6604 * config/aarch64/t-aarch64: New file.
6605 * config/aarch64/t-softfp: New file.
6607 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
6609 * config/mmix/crti.S: Mark program and data addresses using PRELD.
6610 Remove typo'd and unnecessary alignment-LOC for .data. Remove
6611 no-longer-needed LDBU insns.
6613 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
6616 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6617 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6619 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6621 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6623 2012-10-15 Matthias Klose <doko@ubuntu.com>
6625 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6627 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
6629 * configure: Regenerate.
6630 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6632 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
6634 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6635 instructions for 64bit targets only.
6637 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
6639 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6640 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6641 * config/i386/32/sfp-machine.h: ... here.
6642 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6643 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6646 2012-10-07 Matthias Klose <doko@ubuntu.com>
6648 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6650 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6652 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
6654 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6655 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6656 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6659 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
6662 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6663 Fix parameter names.
6665 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
6668 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6669 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6670 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6672 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
6675 * config/sh/linux-atomic.S: Delete.
6676 * config/sh/linux-atomic.c: New.
6677 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6678 linux-atomic.c. Add cflags to disable warnings.
6680 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6683 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6685 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6686 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6687 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6688 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
6689 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6691 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6693 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6695 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6696 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6698 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
6700 * config.host (hppa-*-openbsd*): New target.
6701 * config/pa/t-openbsd: New file.
6703 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
6706 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6707 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6708 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6709 (__divsa3): Use __negsi2 to negate r_quoL.
6710 * config/avr/lib1funcs.S (FALIAS): New macro.
6711 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6712 (__negsi2): ...this new function.
6713 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6714 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6715 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6716 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6717 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6718 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6720 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6723 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6724 (lshrsi3): Reimplement as lshrsi3_r0.
6726 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6729 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6732 2012-09-07 Teresa Johnson <tejohnson@google.com>
6734 PR gcov-profile/54487
6735 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
6738 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
6741 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6742 not configured --with-avrlibc=no.
6743 * config/avr/t-avrlibc: New file.
6744 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6745 (DPBIT_FUNCS): Ditto.
6746 (TPBIT_FUNCS): Ditto.
6748 2012-09-04 Teresa Johnson <tejohnson@google.com>
6750 * libgcov.c (struct gcov_summary_buffer): New structure.
6751 (gcov_histogram_insert): New function.
6752 (gcov_compute_histogram): Ditto.
6753 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6754 histograms during summary merging.
6756 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
6758 * config.host (x86_64-*-openbsd*): New target.
6760 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6762 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6765 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
6768 * config/avr/t-avr (conv_X): Rename to func_X.
6770 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
6773 * config/avr/lib1funcs-fixed.S: New file.
6774 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6775 after they are used.
6776 (neg2, neg4): New macros.
6777 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6778 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6779 (__umulhisi3): Speed up MUL variant if there is enough flash.
6780 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6782 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6783 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6784 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6785 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6786 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6787 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6788 (LIB2FUNCS_EXCLUDE): Add supported functions.
6790 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
6792 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6793 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6795 * fixed-obj.mk: Only expand dependency if $o is not in
6798 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6800 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6802 2012-08-22 Joseph Myers <joseph@codesourcery.com>
6804 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6805 depend on --enable-shared.
6806 ($(lib1asmfuncs-o)): Use %.vis files independent of
6808 * static-object.mk ($(base)$(objext), $(base).vis)
6809 ($(base)_s$(objext)): Use same rules for visibility handling as in
6812 2012-08-21 Ian Lance Taylor <iant@google.com>
6814 * config/i386/morestack.S (__morestack_non_split): Increase amount
6815 of space allocated for non-split code stack.
6817 2012-08-19 Joseph Myers <joseph@codesourcery.com>
6819 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6820 even if inhibit_libc.
6822 2012-08-17 Julian Brown <julian@codesourcery.com>
6824 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6825 -fexceptions -fnon-call-exceptions if not defined.
6826 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6827 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6829 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6831 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6834 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
6836 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6837 rs6000/t-slibgcc-aix.
6839 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6841 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6843 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6845 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6847 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6850 * Makefile.in (version): Replace top_srcdir with srcdir.
6852 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6854 * Makefile.in (version): set to BASE-VER file from gcc directory.
6856 2012-08-01 Nick Clifton <nickc@redhat.com>
6858 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6859 Implements __clrsb for an HImode argument.
6861 2012-07-31 Nick Clifton <nickc@redhat.com>
6863 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6864 Implements __clrsb for an HImode argument.
6865 * config/stormy16/clrsbhi2.c: New file:
6866 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6868 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6870 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6872 2012-07-19 Tristan Gingold <gingold@adacore.com>
6873 Richard Henderson <rth@redhat.com>
6875 * unwind-seh.c: New file.
6876 * unwind-generic.h: Include windows.h for SEH.
6877 (_Unwind_Exception): Use 6 private fields for SEH.
6878 (_GCC_specific_handler): Declare.
6879 * unwind-c.c (__gcc_personality_seh0): New function.
6881 * config/i386/libgcc-cygming.ver: New file.
6882 * config/i386/t-seh-eh: New file.
6883 * config.host (x86_64-*-mingw*): Default to seh.
6885 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6887 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6889 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
6891 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6892 __builtin_expect when checking for exceptions.
6893 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6895 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
6897 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6898 function declaration.
6899 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6901 * config/ia64/sfp-exceptions.c: New.
6902 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
6904 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
6906 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6907 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6908 * config/i386/64/sfp-machine: ... (delete here) ...
6909 * config/i386/sfp-machine.h: ... to here.
6910 (FP_EX_MASK): Remove.
6912 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6914 2012-06-11 Sriraman Tallam <tmsriram@google.com>
6916 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6917 * config/i386/libgcc-sol2.ver: Ditto.
6918 * config/i386/libgcc-glibc.ver: Ditto.
6920 2012-06-11 Roland McGrath <mcgrathr@google.com>
6922 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6923 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6926 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
6928 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6929 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6930 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6931 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6932 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6933 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6934 * config/i386/64/sfp-machine: ... (delete here) ...
6935 * config/i386/sfp-machine.h: ... to here.
6937 (__sfp_handle_exceptions): New function declaration.
6938 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6939 * config/i386/sfp-exceptions.c: New.
6940 * config/i386/t-softfp: New.
6941 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6942 i386/t-softfp to tmake_file.
6944 2012-06-03 David S. Miller <davem@davemloft.net>
6946 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6949 2012-05-31 David S. Miller <davem@davemloft.net>
6951 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6952 multiply and divide instructions on 32-bit when V9.
6953 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6955 2012-05-29 Joseph Myers <joseph@codesourcery.com>
6957 * config/arm/ieee754-df.S: Fix typos.
6958 * config/arm/ieee754-sf.S: Fix typos.
6959 * config/c6x/libunwind.S: Fix typos.
6960 * config/epiphany/udivsi3-float.c: Fix typos.
6961 * config/microblaze/muldi3_hard.S: Fix typos.
6962 * config/picochip/adddi3.S: Fix typos.
6963 * config/picochip/ashlsi3.S: Fix typos.
6964 * config/picochip/ashrsi3.S: Fix typos.
6965 * config/picochip/clzsi2.S: Fix typos.
6966 * config/picochip/cmpsi2.S: Fix typos.
6967 * config/picochip/divmod15.S: Fix typos.
6968 * config/picochip/divmodhi4.S: Fix typos.
6969 * config/picochip/divmodsi4.S: Fix typos.
6970 * config/picochip/longjmp.S: Fix typos.
6971 * config/picochip/lshrsi3.S: Fix typos.
6972 * config/picochip/parityhi2.S: Fix typos.
6973 * config/picochip/popcounthi2.S: Fix typos.
6974 * config/picochip/setjmp.S: Fix typos.
6975 * config/picochip/subdi3.S: Fix typos.
6976 * config/picochip/ucmpsi2.S: Fix typos.
6977 * config/picochip/udivmodhi4.S: Fix typos.
6978 * config/picochip/udivmodsi4.S: Fix typos.
6979 * config/spu/divv2df3.c: Fix typos.
6980 * config/spu/mfc_multi_tag_release.c: Fix typos.
6981 * config/spu/mfc_tag_release.c: Fix typos.
6982 * configure.ac: Fix typos.
6983 * configure: Regenerate.
6985 2012-05-25 Ian Lance Taylor <iant@google.com>
6987 * config/i386/morestack.S (__morestack_non_split): Check whether
6988 caller is varargs and needs %bp to hold the stack frame on return.
6990 2012-05-25 Olivier Hainque <hainque@adacore.com>
6992 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6993 sequence in the non pic case on VxWorks.
6995 2012-05-24 Olivier Hainque <hainque@adacore.com>
6997 * Makefile.in: Move dependency on install-unwind_h from
6998 "install-leaf" to "install".
7000 2012-05-24 Olivier Hainque <hainque@adacore.com>
7002 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
7003 Use a separate command for stamp removals.
7005 2012-05-21 Andrew Pinski <apinski@cavium.com>
7008 * configure.ac: Define the default includes to being none.
7009 * configure: Regenerate.
7011 2012-05-16 Olivier Hainque <hainque@adacore.com>
7013 * Makefile.in (install-unwind_h): Rename into ...
7014 (install-unwind_h-forbuild): New target.
7015 (all): Use it instead of the former install-unwind_h.
7016 (install-unwind_h): Reinstate, copy to user install destination
7017 for include files, not to the internal gcc object directory one.
7018 (install-leaf): Depend on it.
7020 2012-05-15 Olivier Hainque <hainque@adacore.com>
7022 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
7023 register numbers. LR_REGNO replaces R_LR.
7024 (ucontext_for): New, helper for ...
7025 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
7027 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
7029 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7031 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
7032 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
7033 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
7035 (i[34567]86-*-*, x86_64-*-*): ... here.
7037 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
7038 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
7040 * config/i386/i386-cpuinfo.c: Rename to ...
7041 * config/i386/cpuinfo.c: ... this.
7042 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
7044 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
7045 (libgcc_cv_init_priority): New test.
7046 * configure: Regenerate.
7047 * config.in: New file.
7048 * Makefile.in (clean): Rename config.h to auto-target.h.
7049 (config.h): Likewise.
7050 (stamp-h): Likewise.
7052 * config/i386/cpuinfo.c (auto-target.h): Include.
7053 (CONSTRUCTOR_PRIORITY): Define.
7054 (__cpu_indicator_init): Use it.
7056 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7058 * longlong.h: Use a URL instead of an FSF postal address.
7059 Replace spaces with tab.
7061 2012-05-08 Teresa Johnson <tejohnson@google.com>
7063 * libgcov.c (gcov_clear, __gcov_reset): New functions.
7064 (__gcov_dump): Ditto.
7065 (gcov_dump_complete): New global variable.
7066 (gcov_exit): Export hidden to enable use in L_gcov_dump.
7067 (__gcov_flush): Outline functionality now in gcov_clear.
7068 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
7070 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
7072 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
7073 (mips*-*-linux*): Include mips/t-tpbit when long double is
7076 2012-04-25 Sriraman Tallam <tmsriram@google.com>
7078 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
7079 (get_available_features): New argument. Check for AVX2.
7080 (__cpu_indicator_init): Modify call to get_available_features.
7082 2012-04-25 Alan Modra <amodra@gmail.com>
7084 * config/rs6000/crtsavevr.S: New file.
7085 * config/rs6000/crtrestvr.S: New file.
7086 * config/rs6000/t-savresfgpr: Build the above.
7087 * config/rs6000/t-netbsd: Likewise.
7089 2012-04-24 Sriraman Tallam <tmsriram@google.com>
7091 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
7093 2012-04-24 Sriraman Tallam <tmsriram@google.com>
7095 * libgcc/config/i386/i386-cpuinfo.c: New file.
7096 * libgcc/config/i386/t-cpuinfo: New file.
7097 * libgcc/config.host: Include t-cpuinfo.
7098 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
7100 2012-04-24 Chao-ying Fu <fu@mips.com>
7102 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
7104 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
7106 struct siginfo vs. siginfo_t
7108 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
7109 siginfo_t instead of struct siginfo.
7110 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
7111 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
7112 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
7113 (ia64_handle_unwabi): Likewise.
7114 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
7115 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
7116 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
7117 (sh_fallback_frame_state): Likewise.
7118 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
7119 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
7121 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
7123 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
7126 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
7128 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
7129 if it hasn't been previously saved.
7131 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
7133 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
7136 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
7139 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
7140 instead of __AVR_HAVE_8BIT_SP__.
7142 2012-03-26 Tristan Gingold <gingold@adacore.com>
7144 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
7145 (unw_table_entry): Use unw_word instead of unsigned long.
7146 (_Unwind_FindTableEntry): Likewise.
7147 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
7148 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
7149 (_Unwind_FindTableEntry): Likewise.
7150 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
7151 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
7152 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
7153 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
7154 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
7155 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
7156 (uw_init_context_1, uw_install_context): Likewise.
7157 (unw_word): Move to unwind-ia64.h
7159 2012-03-26 Tristan Gingold <gingold@adacore.com>
7161 * config/vms/vms-ucrt0.c: Update copyright years.
7163 (___gcc_main_flags): Declare.
7164 (__main): Check flags to remap argv and exit code.
7165 * config.host (*-*-*vms*): Adjust extra_parts.
7166 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
7169 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
7171 * arm/lib1funcs.asm (ctzsi2): New function.
7172 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
7173 * arm/t-linux (LIB1ASMFUNCS): Likewise.
7174 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
7175 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
7176 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
7177 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
7179 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
7181 * config.host: Add bits to support powerpc64-*-freebsd*.
7182 * config/rs6000/freebsd-unwind.h: New file.
7183 * config/rs6000/t-freebsd64: New file.
7185 2012-03-20 Richard Guenther <rguenther@suse.de>
7187 PR gcov-profile/52627
7188 * libgcov.c (init_mx): Fix mutex name.
7190 2012-03-16 Tristan Gingold <gingold@adacore.com>
7192 * config/ia64/vms-unwind.h: Remove ulong (and replace
7193 it by unw_reg where used). Define unw_reg with __int64.
7195 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7197 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7199 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7201 (sparc_is_sighandler): Likewise.
7203 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
7205 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
7208 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7210 * config/arm/crtn.S: Fix typo.
7212 2012-03-13 Richard Guenther <rguenther@suse.de>
7214 * libgcov.c: Remove stdio.h include and NULL un-define.
7216 2012-03-13 Richard Guenther <rguenther@suse.de>
7219 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
7221 2012-03-13 Richard Guenther <rguenther@suse.de>
7223 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
7225 2012-03-13 Richard Guenther <rguenther@suse.de>
7227 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
7228 and __gthread_mutex_init_function definitions.
7230 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7232 * config.host (mips*-*-openbsd*): Remove.
7234 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7236 * config.host: Remove alpha*-dec-osf5.1* handling.
7237 * config/alpha/gthr-posix.c: Remove.
7238 * config/alpha/libgcc-osf5.ver: Remove.
7239 * config/alpha/osf5-unwind.h: Remove.
7240 * config/alpha/t-osf-pthread: Remove.
7241 * config/alpha/t-slibgcc-osf: Remove.
7242 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
7243 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7244 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7245 * mkmap-flat.awk: Remove osf_export handling.
7247 2012-03-12 Richard Guenther <rguenther@suse.de>
7249 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7250 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7251 (__gthread_mutex_init_function): New function.
7252 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7255 * libgcov.c: Include gthr.h.
7256 (__gcov_flush_mx): New global variable.
7257 (init_mx, init_mx_once): New functions.
7258 (__gcov_flush): Protect self with a mutex.
7259 (__gcov_fork): Re-initialize mutex after forking.
7260 * unwind-dw2-fde.c: Change condition under which to use
7261 __GTHREAD_MUTEX_INIT_FUNCTION.
7263 2012-03-12 Tristan Gingold <gingold@adacore.com>
7265 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7266 * config/ia64/t-vms: Likewise.
7268 2012-03-11 Michael Hope <michael.hope@linaro.org>
7270 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7273 2012-03-07 Walter Lee <walt@tilera.com>
7275 * config/tilepro/atomic.c: Rename "atomic_" prefix to
7277 (atomic_xor): Rename and move definition to
7278 config/tilepro/atomic.h.
7279 (atomic_nand): Ditto.
7280 * config/tilepro/atomic.h: Rename "atomic_" prefix to
7282 (arch_atomic_xor): Move from config/tilepro/atomic.c.
7283 (arch_atomic_nand): Ditto.
7285 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7288 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
7290 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7293 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
7296 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7300 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
7301 if RAMPZ affects reading from RAM.
7302 (__tablejump_elpm__): Ditto.
7304 (__movmemx_hi): Ditto.
7305 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
7306 (__do_global_dtors): Ditto.
7307 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
7308 (__movmemx_hi): Ditto.
7310 2012-03-05 Richard Henderson <rth@redhat.com>
7312 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7313 [ARM] (count_trailing_zeros): Use the builtin.
7315 2012-03-01 Kai Tietz <ktietz@redhat.com>
7317 * soft-fp: Imported from glibc upstream.
7319 2012-02-28 Kai Tietz <ktietz@redhat.com>
7321 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7322 for mingw-targets as attribute gcc_struct.
7324 2012-02-28 Ian Lance Taylor <iant@google.com>
7326 * generic-morestack.c (__splitstack_releasecontext): Correct call
7327 to __morestack_release_segments.
7329 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7332 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7333 for __linux__ when removing signals from __morestack_fullmask.
7335 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
7338 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7340 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7342 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7343 instead of HAVE_INITFINI_ARRAY.
7344 * config/ia64/crtend.S: Likewise.
7346 2012-02-20 Kai Tietz <ktietz@redhat.com>
7349 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7351 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7352 to w32-unwind.h header.
7354 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7356 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
7357 (mips*-*-linux*): Remove t-slibgcc-libgcc.
7358 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
7359 * config/mips/mips16.S (__mips16_rdhwr): Delete.
7361 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7363 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7365 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7368 * config/darwin-crt-tm.c: Correct typo.
7370 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7371 Patrick Marlier <patrick.marlier@gmail.com>
7374 * config/darwin-crt-tm.c: Generate dummy functions.
7376 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7377 Patrick Marlier <patrick.marlier@gmail.com>
7380 * config/darwin-crt-tm.c (getTMCloneTable): New function.
7381 (__doTMRegistrations): Call it.
7382 (__doTMdeRegistrations): Likewise.
7384 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
7385 Anatoly Sokolov <aesok@post.ru>
7386 Eric Weddington <eric.weddington@atmel.com>
7389 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7390 (__epilogue_restores__): Ditto.
7392 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
7396 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7397 Solaris 11 and slightly reformat.
7398 (sparc_is_sighandler): Likewise.
7400 2012-02-14 Walter Lee <walt@tilera.com>
7402 * config.host: Handle tilegx and tilepro.
7403 * config/tilegx/sfp-machine.h: New file.
7404 * config/tilegx/sfp-machine32.h: New file.
7405 * config/tilegx/sfp-machine64.h: New file.
7406 * config/tilegx/t-crtstuff: New file.
7407 * config/tilegx/t-softfp: New file.
7408 * config/tilegx/t-tilegx: New file.
7409 * config/tilepro/atomic.c: New file.
7410 * config/tilepro/atomic.h: New file.
7411 * config/tilepro/linux-unwind.h: New file.
7412 * config/tilepro/sfp-machine.h: New file.
7413 * config/tilepro/softdivide.c: New file.
7414 * config/tilepro/softmpy.S: New file.
7415 * config/tilepro/t-crtstuff: New file.
7416 * config/tilepro/t-tilepro: New file.
7418 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
7422 * gthr-posix.h: Allow static initializer macros to be disabled.
7423 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7425 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
7427 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7428 Add t-slibgcc-libgcc to tmake_file.
7429 * config/mips/libgcc-mips16.ver: Revert previous patch.
7430 * config/mips/mips16.S (__mips16_rdhwr): Hide.
7432 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
7433 Jayant R Sonar <jayant.sonar@kpitcummins.com>
7435 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7436 * config/cr16/crti.S: New file.
7437 * config/cr16/crtlibid.S: New file.
7438 * config/cr16/crtn.S: New file.
7439 * config/cr16/lib1funcs.S: New file.
7440 * config/cr16/t-cr16: New file.
7441 * config/cr16/t-crtlibid: New file.
7442 * config/cr16/unwind-dw2.h: New file.
7443 * config/cr16/unwind-cr16.c: New file.
7444 * config/cr16/divmodhi3.c: New file.
7446 2012-01-25 Alan Modra <amodra@gmail.com>
7448 * config/rs6000/t-linux64: Delete. Move..
7449 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7450 * config/rs6000/t-linux: ..and libgcc flags to here.
7452 2012-01-22 Douglas B Rupp <rupp@gnat.com>
7454 * config.host (i[34567]86-*-interix3*):
7455 Change triplet to i[34567]86-*-interix[3-9]*.
7456 * configure: Regenerate.
7458 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
7459 Richard Sandiford <rdsandiford@googlemail.com>
7461 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7462 * config/mips/mips16.S (__mips16_rdhwr): New function.
7463 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7465 2012-01-11 Nathan Sidwell <nathan@acm.org>
7467 * libgcov.c (__gcov_init): Ignore objects with no functions.
7469 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
7472 Extend __pgmx semantics to linearize memory.
7473 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7474 * config/avr/lib1funcs.S (__xload_1): New function.
7475 (__movmemx_qi, __movmemx_hi): New functions.
7476 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7479 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7481 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7482 purported sigacthandler address isn't null before dereferencing it.
7483 (sparc_is_sighandler): Likewise.
7485 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7488 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7489 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
7490 (sparc_is_sighandler): Likewise.
7491 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7493 2012-01-06 Tristan Gingold <gingold@adacore.com>
7495 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7496 compatibility thunks...
7497 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7498 (crtbeginS.o, crtendS.o): ... and these to ...
7499 * config/ia64/t-ia64-elf: ... this new file.
7500 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7501 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7503 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7505 * configure: Regenerate.
7506 * config/s390/t-crtstuff: Remove -fPIC.
7508 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7511 * enable-execute-stack-mprotect.c (getpagesize): Do not define
7514 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
7517 * config/avr/lib1funcs.S: Remove FIXME comments.
7518 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7520 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
7522 Implement light-weight DImode support.
7523 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7524 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7525 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7526 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7528 2011-12-30 Nathan Sidwell <nathan@acm.org>
7530 * libgcov.c (gcov_crc32): Remove global var.
7531 (free_fn_data): New function.
7532 (buffer_fn_data): Pass in filename, more robust error recovery.
7533 (crc32_unsigned): New function.
7534 (gcov_exit): More robust detection of new program. More robust
7536 (__gcov_init): Do not update program's crc here.
7538 2011-12-21 Tristan Gingold <gingold@adacore.com>
7540 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7542 2011-12-21 Ian Lance Taylor <iant@google.com>
7544 * config/i386/morestack.S: Simplify CFI opcodes throughout.
7546 2011-12-20 Ian Lance Taylor <iant@google.com>
7548 * config/i386/morestack.S (__morestack_non_split): If there is
7549 enough stack space already, don't split. Ask for more stack space
7552 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
7554 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7556 (_Unwind_DebugHook): New function.
7557 (uw_restore_core_regs): New define.
7558 (unwind_phase2): Use uw_restore_core_regs instead of
7560 (unwind_phase2_forced): Likewise.
7561 (__gnu_Unwind_Resume): Likewise.
7563 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
7565 * config/alpha/linux-unwind.h: Update copyright years.
7566 (MD_FROB_UPDATE_CONTEXT): New define.
7567 (alpha_frob_update_context): New function.
7569 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
7571 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7572 tmake_file rather replacing it.
7574 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
7576 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
7577 function is not used for PPC64.
7578 (save_world): Amend comments. Update the VRsave mask to reflect the
7580 (rest_world): Update comments, do not clobber r10, do not use r8.
7581 (eh_rest_world_r10): Amend comments, do not use r8.
7582 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7583 no longer used, move restore of CR and target address to the end of
7586 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
7588 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7589 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7591 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
7594 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7595 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7597 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
7599 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7601 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
7604 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7605 * config/avr/lib1funcs.S (__muldi3): New function.
7607 2011-12-06 Andrew Pinski <apinski@cavium.com>
7609 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7611 (__frame_dummy_init_array_entry): Likewise.
7613 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
7615 Forward-port from gcc-4_6-branch r181936 2011-12-02.
7619 * config/avr/lib1funcs.S (__prologue_saves__,
7620 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7621 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
7623 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
7625 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7627 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7630 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7631 (_ITM_deregisterTMCloneTable): Likewise.
7632 (__register_frame_info): Fix unused warning.
7633 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7634 pthread_default_stacksize_np): Likewise.
7635 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
7637 2011-11-29 DJ Delorie <dj@redhat.com>
7639 * config.host (rl78-*-elf): New case.
7640 * config/rl78: New directory for the Renesas RL78.
7642 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
7644 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
7647 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7650 * config/rs6000/t-savresfgpr: New file.
7651 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7652 $(srcdir)/config/rs6000/eabi.S.
7653 * config/rs6000/t-ppccomm-ldbl: Remove.
7654 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7656 (powerpc-*-eabispe*): Likewise.
7657 (powerpc-*-eabi*): Likewise.
7658 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7659 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7660 to tmake_file, remove rs6000/t-ppccomm-ldbl.
7661 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7663 (powerpc-*-eabisim*): Likewise.
7664 (powerpc-*-elf*): Likewise.
7665 (powerpc-*-eabialtivec*): Likewise.
7666 (powerpc-xilinx-eabi*): Likewise.
7667 (powerpc-*-rtems*): Likewise.
7668 (powerpcle-*-elf*): Likewise.
7669 (powerpcle-*-eabisim*): Likewise.
7670 (powerpcle-*-eabi*): Likewise.
7672 2011-11-27 Ian Lance Taylor <iant@google.com>
7674 * generic-morestack.c (__splitstack_find): Check for NULL old
7676 (__splitstack_resetcontext): New function.
7677 (__splitstack_releasecontext): New function.
7678 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7680 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7682 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7684 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7686 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7688 2011-11-26 Richard Henderson <rth@redhat.com>
7690 * config/m68k/linux-atomic.c: New file.
7691 * config/m68k/t-linux: New file.
7692 * config.host (m68k-uclinux, m68k-linux): Use it.
7694 2011-11-26 Richard Henderson <rth@redhat.com>
7696 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7697 (__TMC_END__): Only declare if hidden is available; in the definition,
7698 if hidden is unavailable add a null record.
7699 (deregister_tm_clones, register_tm_clones): New.
7700 (__do_global_dtors_aux, frame_dummy): Use them.
7701 (__do_global_dtors, __do_global_ctors_1): Likewise.
7703 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7705 * config/darwin-crt-tm.c: New file.
7706 * config.host (darwin): Build crttms.o crttme.o to provide
7707 startup and shutdown for tm clones.
7708 * config/t-darwin (crttms.o): New build rule.
7709 (crttme.o): Likewise.
7711 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
7713 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7716 2011-11-21 Richard Henderson <rth@redhat.com>
7718 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7719 (__TMC_LIST__, __TMC_END__): New.
7720 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7721 (__do_global_dtors): Likewise.
7722 (frame_dummy): Call _ITM_registerTMCloneTable.
7723 (__do_global_ctors_1): Likewise.
7725 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7727 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7728 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7729 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7730 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7731 * config/i386/t-darwin64: Remove.
7732 * config/sh/t-netbsd (LIB2ADD): Remove.
7734 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
7737 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7738 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7739 * config/avr/lib1funcs.S (wmov): New assembler macro.
7740 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7741 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7742 (__udivmod64): New function.
7743 (__negdi2): New function.
7745 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7747 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7748 *-*-freebsd*aout*): Remove.
7750 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
7752 * static-object.mk (c_flags-$o): Save c_flags.
7753 ($(base)$(objext)): Use it.
7755 2011-11-18 Steve Ellcey <sje@cup.hp.com>
7757 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7759 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
7762 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7763 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7766 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7768 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7770 (aeabi_uidivmod): Likewise.
7771 (umodsi3): Likewise.
7773 (aeabi_idivmod): Likewise.
7776 2011-11-16 Tristan Gingold <gingold@adacore.com>
7778 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7780 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
7783 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7784 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7786 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7788 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7790 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7791 * config/pa/t-stublib64: Delete.
7793 2011-11-12 Richard Henderson <rth@redhat.com>
7795 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7796 cast the pointer argument to _Unwind_SetGRPtr.
7798 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7800 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7802 2011-11-09 Ian Lance Taylor <iant@google.com>
7804 * generic-morestack.c: Include <string.h>.
7805 (uintptr_type): Define.
7806 (struct initial_sp): Add dont_block_signals field. Reduce size of
7808 (allocate_segment): Set prev field to NULL. Don't set
7809 __morestack_current_segment or __morestack_segments.
7810 (__generic_morestack): Update current->prev and *pp after calling
7812 (__morestack_block_signals): Don't do anything if
7813 dont_block_signals is set.
7814 (__morestack_unblock_signals): Likewise.
7815 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7817 (__splitstack_block_signals): New function.
7818 (enum __splitstack_content_offsets): Define.
7819 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7820 (__splitstack_makecontext): New function.
7821 (__splitstack_block_signals_context): New function.
7822 (__splitstack_find_context): New function.
7823 * config/i386/morestack.S (__morestack_get_guard): New function.
7824 (__morestack_set_guard, __morestack_make_guard): New functions.
7825 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7827 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7829 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7830 (i[34567]86-*-mingw*): ... here.
7831 (x86_64-*-mingw*): ... here.
7833 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7835 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7837 2011-11-07 Nathan Sidwell <nathan@acm.org>
7839 * libgcov.c (struct gcov_fn_buffer): New struct.
7840 (buffer_fn_data): New helper.
7841 (gcov_exit): Rework for new gcov data structures.
7843 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
7846 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7848 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7850 * config.host (tmake_file): Correct comment.
7851 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7853 (bfin*-uclinux*): Likewise.
7854 (bfin*-linux-uclibc*): Likewise.
7855 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7857 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7859 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7860 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7861 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7862 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7863 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7864 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7865 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7866 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7867 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7868 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7869 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7870 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7871 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7873 * config/bfin/t-elf: Remove.
7874 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7876 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7878 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7879 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7880 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7881 (lm32-*-elf*): ... this.
7882 (lm32-*-rtems*): ... and this.
7884 (m32r-*-rtems*): Add to tmake_file.
7885 (moxie-*-rtems*): Likewise.
7886 (sparc-*-rtems*): Likewise.
7887 Remove t-rtems from tmake_file.
7888 (sparc64-*-rtems*): Likewise.
7889 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7892 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7895 * config/gthr-posix.h: Move ...
7896 * gthr-posix.h: ... here.
7897 * config/gthr-lynx.h: Reflect this.
7898 * config/gthr-vxworks.h: Likewise.
7899 * config/rs6000/gthr-aix.h: Likewise.
7900 * configure.ac (target_thread_file): Likewise.
7901 * configure: Regenerate.
7903 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7905 * config.host (arm*-*-rtemseabi*): New target.
7907 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7910 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7913 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7915 * config.host (epiphany-*-elf*): New configuration.
7916 * config/epiphany: New Directory.
7918 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7920 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7921 * config/avr/t-rtems: New.
7922 Filter out _exit from LIB1ASMFUNCS.
7924 2011-11-04 David S. Miller <davem@davemloft.net>
7926 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7927 * configure: Rebuild.
7929 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7931 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7934 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
7937 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7938 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7940 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7943 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7945 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7947 * config/c6x/t-elf (LIB2ADDEH): Set.
7948 * config/c6x/t-c6x-elf: Remove.
7950 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7952 * config/i386/sol2-ci.S: Rename to ...
7953 * config/i386/crti.S: ... this.
7954 * config/i386/sol2-cn.S: Rename to ...
7955 * config/i386/crtn.S: ... this.
7956 * config/sparc/sol2-ci.S: Rename to ...
7957 * config/sparc/crti.S: ... this.
7958 * config/sparc/sol2-cn.S: Rename to ...
7959 * config/sparc/crtn.S: ... this.
7960 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7961 (crti.o, crtn.o): Remove.
7963 2011-11-04 Tristan Gingold <gingold@adacore.com>
7965 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7967 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7969 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7971 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
7973 * config.host (crisv32-*-none, cris-*-none): Remove.
7974 (crisv32-*-elf): Append to tmake_file, don't just set it.
7975 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7977 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7979 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7980 (ecrtn$(objext)): Likewise.
7981 (ncrti$(objext)): Likewise.
7982 (ncrtn$(objext)): Likewise.
7984 2011-11-03 Andreas Schwab <schwab@redhat.com>
7986 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7988 2011-11-02 David S. Miller <davem@davemloft.net>
7990 * configure.ac: Set host_address on sparc too.
7991 * configure: Regenerate.
7992 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7993 based upon host_address.
7994 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7996 2011-11-02 Jason Merrill <jason@redhat.com>
7998 * config/rs6000/t-ppccomm: Add missing \.
8000 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8002 * gthr-single.h, gthr.h: New files.
8003 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
8004 config/gthr-vxworks.h, config/i386/gthr-win32.h,
8005 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
8006 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
8007 * config/i386/gthr-win32.c: Include "gthr-win32.h".
8008 * configure.ac (thread_header): New variable.
8009 Set it depending on target_thread_file.
8010 (gthr-default.h): Link from $thread_header.
8011 * configure: Regenerate.
8012 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
8014 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8016 * configure.ac (tm_file_): New variable.
8017 Determine from tm_file.
8018 (tm_file, tm_defines): Substitute.
8019 * configure: Regenerate.
8020 * mkheader.sh: New file.
8021 * Makefile.in (clean): Remove libgcc_tm.h.
8022 ($(objects)): Depend on libgcc_tm.h.
8023 (libgcc_tm_defines, libgcc_tm_file): New variables.
8024 (libgcc_tm.h, libgcc_tm.stamp): New targets.
8025 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
8026 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
8027 ($(extra-parts)): Depend on libgcc_tm.h.
8028 * config.host (tm_defines, tm_file): New variable.
8029 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
8030 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
8031 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
8032 (avr-*-rtems*): Likewise.
8033 (avr-*-*): Likewise.
8034 (frv-*-elf): Likewise.
8035 (frv-*-*linux*): Likewise.
8036 (h8300-*-rtems*): Likewise.
8037 (h8300-*-elf*): Likewise.
8038 (i[34567]86-*-darwin*): Likewise.
8039 (x86_64-*-darwin*): Likewise.
8040 (rx-*-elf): Likewise.
8041 (tic6x-*-uclinux): Likewise.
8042 (tic6x-*-elf): Likewise.
8043 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
8044 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
8045 * config/i386/cygming-crtbegin.c: Likewise.
8046 * config/i386/cygming-crtend.c: Likewise.
8047 * config/ia64/fde-vms.c: Likewise.
8048 * config/ia64/unwind-ia64.c: Likewise.
8049 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8050 * config/rs6000/darwin-fallback.c: Likewise.
8051 * config/stormy16/lib2funcs.c: Likewise.
8052 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
8053 * crtstuff.c: Likewise.
8054 * dfp-bit.h: Likewise.
8055 * emutls.c: Likewise.
8056 * fixed-bit.c: Likewise.
8057 * fp-bit.c: Likewise.
8058 * generic-morestack-thread.c: Likewise.
8059 * generic-morestack.c: Likewise.
8060 * libgcc2.c: Likewise.
8061 * libgcov.c: Likewise.
8062 * unwind-dw2-fde-dip.c: Likewise.
8063 * unwind-dw2-fde.c: Likewise.
8064 * unwind-dw2.c: Likewise.
8065 * unwind-sjlj.c: Likewise.
8067 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8069 * configure.ac: Include ../config/picflag.m4.
8070 (GCC_PICFLAG): Call it.
8072 * configure: Regenerate.
8073 * Makefile.in (gcc_srcdir): Remove.
8074 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
8075 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
8076 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
8077 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
8078 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
8081 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
8082 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
8083 to refer to libgcc2.c.
8085 * config/darwin-64.c: New file.
8086 * config/darwin-crt3.c: Remove comment.
8087 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
8088 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
8089 config/udivmodsi4.c: New files.
8090 * config/memcmp.c, config/memcpy.c, config/memmove.c,
8091 config/memset.c: New files.
8092 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
8093 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
8094 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
8095 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
8096 * config/t-openbsd-thread: New file.
8097 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
8098 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
8099 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
8100 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
8103 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
8104 to refer to gthr-posix.c.
8105 * config/alpha/t-vms (LIB2ADD): Set.
8106 * config/alpha/vms-gcc_shell_handler.c: New file.
8107 * config/arm/bpabi.c, config/arm/fp16.c,
8108 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
8109 config/arm/unaligned-funcs.c: New files.
8110 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
8111 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8112 * config/arm/t-linux: Likewise.
8113 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
8114 * config/arm/t-netbsd: New file.
8115 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
8116 * config/arm/t-symbian (LIB2ADD_ST): Set.
8117 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
8118 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8119 * config/bfin/t-elf: New file.
8120 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
8121 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
8122 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
8123 config/c6x/ltf.c: New files.
8124 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
8125 (HOST_LIBGCC2_CFLAGS): Set.
8126 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
8127 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8128 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
8130 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
8131 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
8132 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
8133 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
8134 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
8136 * config/frv/t-frv (LIB2ADD): Set.
8137 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8138 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
8139 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
8140 config/h8300/popcounthi2.c: New files.
8141 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8142 * config/i386/gthr-win32.c: New file.
8143 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
8144 * config/i386/t-cygwin: Likewise.
8145 * config/i386/t-darwin, config/i386/t-darwin64,
8146 config/i386/t-gthr-win32, config/i386/t-interix: New files.
8147 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
8148 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8149 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8150 * config/ia64/quadlib.c: New file.
8151 * config/ia64/t-hpux (LIB2ADD): Set.
8152 * config/ia64/t-ia64: Add comment.
8153 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
8154 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8155 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
8156 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
8157 * config/m32c/t-m32c (LIB2ADD): Set.
8158 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8159 * config/m32r/t-m32r: Likewise.
8160 * config/m68k/fpgnulib.c: New file.
8161 * config/m68k/t-floatlib (LIB2ADD): Set.
8162 (xfgnulib.c): New target.
8163 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
8164 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
8165 * config/mep/t-mep (LIB2ADD): Set.
8166 * config/microblaze/divsi3.asm: Rename to divsi3.S.
8167 * config/microblaze/moddi3.asm: Rename to moddi3.S.
8168 * config/microblaze/modsi3.asm: Rename to modsi3.S.
8169 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
8170 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
8171 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
8172 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
8173 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
8174 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
8175 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
8177 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
8178 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
8179 * config/pa/fptr.c, config/pa/lib2funcs.S,
8180 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
8181 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8182 (LIB2ADD, LIB2ADD_ST): Set.
8183 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
8184 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
8186 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
8187 * config/pdp11/t-pdp11: New file.
8188 * config/picochip/libgccExtras/adddi3.S,
8189 config/picochip/libgccExtras/ashlsi3.S,
8190 config/picochip/libgccExtras/ashrsi3.S,
8191 config/picochip/libgccExtras/clzsi2.S,
8192 config/picochip/libgccExtras/cmpsi2.S,
8193 config/picochip/libgccExtras/divmod15.S,
8194 config/picochip/libgccExtras/divmodhi4.S,
8195 config/picochip/libgccExtras/divmodsi4.S,
8196 config/picochip/libgccExtras/lshrsi3.S,
8197 config/picochip/libgccExtras/parityhi2.S,
8198 config/picochip/libgccExtras/popcounthi2.S,
8199 config/picochip/libgccExtras/subdi3.S,
8200 config/picochip/libgccExtras/ucmpsi2.S,
8201 config/picochip/libgccExtras/udivmodhi4.S,
8202 config/picochip/libgccExtras/udivmodsi4.S: New files.
8203 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
8204 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
8205 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
8206 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
8207 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
8208 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
8209 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
8210 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
8212 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
8213 (HOST_LIBGCC2_CFLAGS): Set.
8214 * config/rs6000/t-darwin64: New file.
8215 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
8216 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
8217 * config/rs6000/t-ppccomm (LIB2ADD): Add
8218 $(srcdir)/config/rs6000/tramp.S.
8219 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
8220 Add $(srcdir)/config/rs6000/eabi.S.
8221 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
8222 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
8223 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
8224 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
8225 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
8226 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
8227 * config/rs6000/tramp.S: New file.
8228 * config/s390/t-tpf: Remove.
8229 * config/sh/linux-atomic.S: New file.
8230 * config/sh/t-linux (LIB2ADD): Set.
8231 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
8232 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8233 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
8235 (HOST_LIBGCC2_CFLAGS): Set.
8236 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8237 * config/spu/divmodti4.c, config/spu/divv2df3.c,
8238 config/spu/float_disf.c, config/spu/float_unsdidf.c,
8239 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
8240 config/spu/mfc_multi_tag_release.c,
8241 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
8242 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
8243 config/spu/multi3.c: New files.
8244 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8245 (HOST_LIBGCC2_CFLAGS): Set.
8246 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8247 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8248 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8249 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8250 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8251 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8252 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8253 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8254 config/stormy16/umodsi3.c: New files.
8255 * config/xtensa/lib2funcs.S: New file.
8256 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8257 * config/xtensa/t-xtensa (LIB2ADD): Set.
8258 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8259 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8260 Add t-freebsd-thread to tmake_file for posix threads.
8261 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8262 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8263 (*-*-lynxos*): Likewise.
8264 (*-*-netbsd*): Likewise.
8265 (*-*-openbsd*): Likewise.
8266 Add t-openbsd-thread to tmake_file for posix threads.
8267 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8268 (*-*-vxworks*): Set tmake_file.
8269 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8270 (alpha*-*-freebsd*): Likewise.
8271 (alpha*-*-netbsd*): Likewise.
8272 (alpha*-*-openbsd*): Likewise.
8273 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8274 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8275 (alpha*-dec-*vms*): Likewise.
8276 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8277 (bfin*-elf*): Add bfin/t-elf to tmake_file.
8278 (bfin*-uclinux*): Likewise.
8279 (bfin*-linux-uclibc*): Likewise.
8280 (crisv32-*-elf): Add cris/t-cris to tmake_file.
8281 (crisv32-*-none): Likewise.
8282 (cris-*-elf): Likewise.
8283 (cris-*-none): Likewise.
8284 (cris-*-linux*, crisv32-*-linux*): Likewise.
8285 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
8287 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
8289 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
8290 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
8291 (x86_64-*-elf*): Likewise.
8292 (i[34567]86-*-nto-qnx*): Likewise.
8293 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
8295 (x86_64-*-mingw*): Likewise.
8296 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
8297 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
8298 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8299 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8300 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
8302 (mipsisa64sr71k-*-elf*): Likewise.
8303 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8304 (mips-*-elf*, mipsel-*-elf*): Likewise.
8305 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8306 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8307 (mips*-*-rtems*): Likewise.
8308 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
8310 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8311 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8312 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8313 (spu-*-elf*): Likewise.
8314 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8316 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8318 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8319 $(srcdir) to refer to $(LIB1ASMSRC).
8321 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8322 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8323 config/arm/lib1funcs.S: New files.
8324 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8325 * config/arm/t-arm: New file.
8326 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8327 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8328 config/arm/t-strongarm-elf: New files.
8329 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8330 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8331 * config/avr/lib1funcs.S: New file.
8332 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8333 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8334 * config/c6x/lib1funcs.S: New file.
8335 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8336 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8337 * config/frv/lib1funcs.S: New file.
8338 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8339 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8340 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8341 * config/ia64/__divxf3.asm: Rename to ...
8342 * config/ia64/__divxf3.S: ... this.
8343 Adapt lib1funcs.asm filename.
8344 * config/ia64/_fixtfdi.asm: Rename to ...
8345 * config/ia64/_fixtfdi.S: ... this.
8346 Adapt lib1funcs.asm filename.
8347 * config/ia64/_fixunstfdi.asm: Rename to ...
8348 * config/ia64/_fixunstfdi.S: ... this.
8349 Adapt lib1funcs.asm filename.
8350 * config/ia64/_floatditf.asm: Rename to ...
8351 * config/ia64/_floatditf.S: ... this.
8352 Adapt lib1funcs.asm filename.
8353 * config/ia64/lib1funcs.S: New file.
8354 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8355 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8356 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
8357 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
8358 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
8359 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
8360 * config/mep/lib1funcs.S: New file.
8361 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8362 * config/mips/mips16.S: New file.
8363 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8364 * config/pa/milli64.S: New file.
8365 * config/pa/t-linux, config/pa/t-linux64: New files.
8366 * config/picochip/lib1funcs.S: New file.
8367 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8368 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8369 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8370 * config/sh/t-netbsd: New file.
8371 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8372 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8373 * config/sh/t-sh64: New file.
8374 * config/sparc/lb1spc.S: New file.
8375 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8377 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8378 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8379 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8380 config/xtensa/lib1funcs.S: New files.
8381 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8382 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8384 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8385 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8386 (arm*-*-linux*): Likewise.
8387 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8388 arm*-*-linux-*eabi, add arm/t-linux otherwise.
8389 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8390 (arm*-*-ecos-elf): Likewise.
8391 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8392 (arm*-*-rtems*): Likewise.
8393 (arm*-*-elf): Likewise.
8394 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8395 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8396 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8397 (bfin*-uclinux*): Likewise.
8398 (bfin*-linux-uclibc*): Likewise.
8399 (bfin*-rtems*): Likewise.
8400 (bfin*-*): Likewise.
8401 (fido-*-elf): Merge into m68k-*-elf*.
8402 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8403 (frv-*-*linux*): Add frv/t-frv to tmake_file.
8404 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8405 (h8300-*-elf*): Likewise.
8406 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8407 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8408 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8409 (i[34567]86-*-mingw*): Likewise.
8410 (x86_64-*-mingw*): Likewise.
8411 (i[34567]86-*-interix3*): Likewise.
8412 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8413 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8414 (m68k-*-elf*): Also handle fido-*-elf.
8415 Add m68k/t-floatlib to tmake_file.
8416 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8417 (m68k-*-linux*): Likewise.
8418 (m68k-*-rtems*): Likewise.
8419 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8420 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8422 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8423 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8424 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8425 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8426 sh/t-netbsd to tmake_file.
8427 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8428 (sh-*-rtems*): Add sh/t-sh to tmake_file.
8429 (sh-wrs-vxworks): Likewise.
8430 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8432 (v850*-*-*): Add v850/t-v850 to tmake_file.
8433 (vax-*-linux*): Add vax/t-linux to tmake_file.
8434 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8436 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8438 * crtstuff.c: New file.
8439 * Makefile.in (CRTSTUFF_CFLAGS): Define.
8440 (CRTSTUFF_T_CFLAGS): Define.
8441 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8442 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8443 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8446 (crtbeginT.o): Use $(objext).
8447 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8448 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8449 (gcc-extra-parts): Remove.
8450 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8452 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8453 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8454 Add t-crtstuff-pic to tmake_file.
8455 (*-*-lynxos*): New case.
8456 Set tmake_file, extra_parts.
8457 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8458 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8459 *-*-netbsdelf[2-9]*.
8460 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8461 (*-*-rtems*): Set extra_parts.
8462 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8463 (*-*-uclinux*): New case.
8465 (*-*-vms*): New case.
8466 Set tmake_file, extra_parts.
8467 (*-*-elf): Set extra_parts.
8468 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8469 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8472 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8474 (arm*-*-freebsd*): Add t-crtin to tmake_file.
8475 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8476 (arm-wrs-vxworks): Append to tmake_file.
8478 (arm*-*-uclinux*): Set extra_parts.
8479 (arm*-*-ecos-elf): Likewise.
8480 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8482 (arm*-*-rtems*): Set extra_parts.
8483 (arm*-*-elf): Likewise.
8484 (avr-*-rtems*): Clear extra_parts.
8485 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8487 (bfin*-uclinux*): Likewise.
8488 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8489 (bfin*-rtems*): Append to tmake_file.
8491 (bfin*-*): Likewise.
8492 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8493 (crisv32-*-elf): ... this.
8494 (crisv32-*-none): ... this.
8495 (cris-*-elf, cris-*-none): New cases.
8496 Add cris/t-elfmulti to tmake_file.
8497 (fr30-*-elf): Append to tmake_file.
8499 (frv-*-elf): Append to tmake_file, add frv/t-frv.
8501 (h8300-*-rtems*): Append to tmake_file.
8503 (h8300-*-elf*): Likewise.
8504 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8506 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8508 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8509 (x86_64-*-elf*): Likewise.
8510 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8511 (x86_64-*-freebsd*): Likewise.
8512 (x86_64-*-netbsd*): Likewise.
8513 (i[34567]86-*-linux*): Likewise.
8514 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8515 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8516 (x86_64-*-linux*): Likewise.
8517 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8518 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8521 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8522 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8523 Append to extra_parts, remove crtbegin.o, crtend.o.
8524 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8525 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8526 crtend.o, crtbeginS.o, crtendS.o.
8527 (ia64*-*-linux*): Comment extra_parts.
8528 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8530 (iq2000*-*-elf*): Clear extra_parts.
8531 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8532 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8533 (m32r-*-elf*, m32r-*-rtems*): Split off ...
8534 (m32r-*-rtems*): ... this.
8535 Add m32r/t-m32r to tmake_file.
8536 (m68k-*-elf*): Add t-crtin to tmake_file.
8537 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8538 (mcore-*-elf): Likewise.
8539 (microblaze*-*-*): Set extra_parts.
8540 (mips*-sde-elf*): New case.
8541 Set tmake_file, extra_parts.
8542 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8543 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8544 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8547 (mipsisa64sr71k-*-elf*): Likewise.
8548 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8549 (mips-*-elf*, mipsel-*-elf*): Likewise.
8550 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8551 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8552 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8553 (mips*-*-rtems*): Likewise.
8554 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8555 (moxie-*-*): Split into ...
8556 (moxie-*-elf, moxie-*-uclinux*): ... this.
8557 Add to extra_parts, remove crtbegin.o, crtend.o.
8558 (moxie-*-rtems*): New case.
8561 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8563 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8564 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8567 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8568 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8570 (powerpc-*-eabisim*): Likewise.
8571 (powerpc-*-elf*): Likewise.
8572 (powerpc-*-eabialtivec*): Likewise.
8573 (powerpc-xilinx-eabi*): Likewise.
8574 (powerpc-*-eabi*): Likewise.
8575 (powerpc-*-rtems*): Likewise.
8576 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8579 (powerpc-*-lynxos*): Add to tmake_file.
8580 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8581 rs6000/t-crtstuff, t-crtstuff-pic.
8583 (powerpcle-*-eabisim*): Likewise.
8584 (powerpcle-*-eabi*): Likewise.
8585 (rx-*-elf): Remove extra_parts.
8586 (s390x-ibm-tpf*): Set extra_parts.
8587 (score-*-elf): Set extra_parts.
8588 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8589 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8590 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8591 (sh64l*-*-netbsd*): Split into ...
8592 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8593 Add t-crtstuff-pic to tmake_file.
8595 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8597 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8598 (sparc-*-elf*): Remove t-crtin from tmake_file.
8599 Add to extra_parts, remove crtbegin.o, crtend.o.
8600 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8601 (sparc64-*-linux*): Likewise.
8602 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8603 Add to extra_parts, remove crtbegin.o, crtend.o.
8604 (sparc64-*-elf*): Remove t-crtin from tmake_file.
8605 Add to extra_parts, remove crtbegin.o, crtend.o.
8606 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8607 Add to extra_parts, remove crtbegin.o, crtend.o.
8608 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8609 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8610 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8612 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8614 (tic6x-*-*): Change to ...
8615 (tic6x-*-elf): ... this.
8617 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8619 (am33_2.0-*-linux*): Add comment.
8620 (mep*-*-*): Add mep/t-mep to tmake_file.
8622 * config/alpha/t-vms: New file.
8623 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8624 * config/arm/crti.S, config/arm/crtn.S: New files.
8625 * config/bfin/crti.S, config/bfin/crtn.S: New files.
8626 * config/bfin/crtlibid.S: New file.
8627 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8628 * config/c6x/crti.S, config/c6x/crtn.S: New files.
8629 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8630 (crti.o, crtin.o): New rules.
8631 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8632 * config/c6x/t-uclinux: New file.
8633 * config/cris/t-elfmulti: New file.
8634 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8635 * config/fr30/crti.S, config/fr30/crtn.S: New files.
8636 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8637 * config/frv/t-frv: New file.
8638 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8639 * config/h8300/crti.S, config/h8300/crtn.S: New files.
8640 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8642 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8643 refer to cygming-crtbegin.c, cygming-crtend.c.
8645 * config/i386/t-nto: New file.
8646 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8647 * config/ia64/crti.S, config/ia64/crtn.S: New files.
8648 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8649 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8652 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8653 (crtinitS.o): New rule.
8654 * config/ia64/vms-crtinit.S: New file.
8655 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8656 * config/m32r/initfini.c: New file.
8657 * config/m32r/t-linux, config/m32r/t-m32r: New files.
8658 * config/m68k/crti.S, config/m68k/crtn.S: New files.
8659 * config/mcore/crti.S, config/mcore/crtn.S: New files.
8660 * config/mep/t-mep: New file.
8661 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8662 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8663 * config/mips/crti.S, config/mips/crtn.S: New files.
8664 * config/mips/t-crtstuff: New file.
8665 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8666 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8667 (CUSTOM_CRTIN): Set.
8668 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8670 Use $(srcdir) to refer to crti.S, crtn.S.
8671 Use .S extension, $<.
8672 * config/moxie/crti.asm: Rename to ...
8673 * config/moxie/crti.S: ... this.
8674 * config/moxie/crtn.asm: Rename to ...
8675 * config/moxie/crtn.S: ... this.
8676 * config/moxie/t-moxie: Remove.
8677 * config/pa/stublib.c: New file.
8678 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8679 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8680 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8681 * config/rs6000/t-crtstuff: New file.
8682 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8683 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8684 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8685 Make output file explicit.
8686 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8687 Make output file explicit.
8688 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8689 Make output file explicit.
8690 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8691 Make output file explicit.
8692 * config/score/crti.S, config/score/crtn.S: New files.
8693 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8694 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8696 * config/sh/t-sh, config/sh/t-superh: New files.
8697 * config/sparc/t-linux64: New file.
8698 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8699 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8700 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8701 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8702 * config/t-crtin: Remove.
8703 * config/t-crtstuff-pic: New file.
8704 * config/t-sol2 (CUSTOM_CRTIN): Set.
8705 (crti.o, crtn.o): New rules.
8706 * config/vms/t-vms: New file.
8707 * config/vms/vms-ucrt0.c: New file.
8708 * config/xtensa/t-elf: New file.
8710 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8712 * Makefile.in (SHLIB_NM_FLAGS): Set.
8713 * mkmap-flat.awk, mkmap-symver.awk: New files.
8714 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8716 * configure: Regenerate.
8717 * config/libgcc-glibc.ver: New file.
8718 * config/libgcc-libsystem.ver: New file.
8719 * config/t-libunwind (SHLIB_LC): Set.
8720 * config/t-linux: New file.
8721 * config/t-slibgcc (INSTALL_SHLIB): New.
8722 (SHLIB_INSTALL): Use it.
8723 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8724 to mkmap-symver.awk.
8725 (SHLIB_MAPFILES): Don't append, adapt pathname.
8726 (SHLIB_VERPFX): Set.
8727 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8728 to mkmap-symver.awk.
8729 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8730 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8731 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8732 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8734 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8735 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8736 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8737 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8738 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8739 * config/i386/libgcc-darwin.10.4.ver,
8740 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8742 * config/i386/t-darwin: Remove.
8743 * config/i386/t-darwin64: Likewise.
8744 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8745 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8746 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8747 * config/i386/t-linux: New file.
8748 * config/i386/t-mingw32: New file.
8749 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8750 * config/ia64/t-glibc: Rename to ...
8751 * config/ia64/t-linux: ... this.
8752 (SHLIB_MAPFILES): Set.
8753 * config/ia64/t-glibc-libunwind: Rename to ...
8754 * config/ia64/t-linux-libunwind: ... this.
8755 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8756 * config/ia64/t-slibgcc-hpux: New file.
8757 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8758 * config/m68k/t-slibgcc-elf-ver: New file.
8759 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8760 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8762 * config/pa/t-slibgcc-hpux: New file.
8763 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8765 * config/rs6000/libgcc-darwin.10.4.ver,
8766 config/rs6000/libgcc-darwin.10.5.ver: New files.
8767 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8768 config/rs6000/libgcc-glibc.ver.
8769 * config/rs6000/libgcc-ppc64.ver: Rename to
8770 config/rs6000/libgcc-ibm-ldouble.ver.
8771 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8772 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8773 * config/rs6000/t-ldbl128: Rename to ...
8774 * config/rs6000/t-linux: ... this.
8775 (SHLIB_MAPFILES): Adapt filename.
8776 * config/rs6000/t-slibgcc-aix: New file.
8777 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8778 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8779 libgcc-excl.ver, libgcc-glibc.ver.
8780 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8781 * config/sparc/libgcc-glibc.ver: New file.
8782 * config/sparc/t-linux: New file.
8783 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8784 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8785 t-slibgcc-elf-ver to tmake_file.
8786 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8788 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8789 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8790 t-slibgcc-elf-ver, t-linux to tmake_file.
8791 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8793 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8794 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8795 (alpha*-dec-*vms*): Likewise.
8796 (arm*-*-freebsd*): Append to tmake_file.
8797 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8798 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8800 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8801 tmake_file for arm*-*-symbianelf*.
8802 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8803 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8805 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8806 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8807 pa/t-slibgcc-dwarf-ver to tmake_file.
8808 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8809 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8810 (hppa*64*-*-hpux11*): Likewise.
8811 (hppa[12]*-*-hpux11*): Likewise.
8812 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8813 i386/t-crtpc, i386/t-crtfm.
8814 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8815 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8817 Add i386/t-cygwin to tmake_file.
8818 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8819 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8820 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8822 Add i386/t-mingw32 to tmake_file.
8823 (x86_64-*-mingw*): Likewise.
8824 (ia64*-*-freebsd*): Append to tmake_file.
8825 (ia64*-*-linux*): Append to tmake_file.
8826 Replace ia64/t-glibc by ia64/t-linux.
8827 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8829 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8830 t-slibgcc-hpux to tmake_file.
8831 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8832 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8833 (m32rle-*-linux*): Likewise.
8834 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8836 (microblaze*-linux*): New case.
8837 Append to tmake_file, add t-slibgcc-nolc-override.
8838 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8839 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8840 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8841 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8842 rs6000/t-slibgcc-aix to tmake_file.
8843 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8844 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8845 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8846 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8847 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8848 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8850 (sparc-*-linux*): Append to tmake_file for *-leon*.
8851 Add sparc/t-linux to tmake_file for non-Leon targets.
8852 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8853 (tic6x-*-uclinux): New case.
8854 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8855 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8856 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8857 (am33_2.0-*-linux*): Append to tmake_file.
8858 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8859 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8860 x86_64-*-kfreebsd*-gnu.
8861 Add i386/t-linux to tmake_file.
8863 2011-10-28 Ian Lance Taylor <iant@google.com>
8865 * config/i386/morestack.S: Correct CFI information to do proper
8866 returns throughout function. In 32-bit mode, save %ebx so that it
8867 is restored on unwind.
8869 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8871 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8872 case where B3 isn't the return register.
8874 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8875 logic for doubleword pops.
8877 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
8879 * config/rs6000/t-freebsd: Add wildcard.
8881 2011-10-21 Paul Brook <paul@codesourcery.com>
8883 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8885 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
8886 Eric Botcazou <ebotcazou@adacore.com>
8889 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8890 fs->signal_frame to 1.
8892 2011-10-07 Ian Lance Taylor <iant@google.com>
8894 * generic-morestack-thread.c: #include <errno.h>.
8896 2011-10-07 Ian Lance Taylor <iant@google.com>
8899 * generic-morestack.c (__generic_morestack): Make sure the segment
8900 is large enough for both the stack frame and the copied
8903 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8906 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8909 2011-09-28 Nick Clifton <nickc@redhat.com>
8911 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8912 64-bit doubles are not enabled.
8913 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8914 and floatunsisf functions.
8916 2011-09-13 Paul Brook <paul@codesourcery.com>
8918 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8919 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8920 * unwind-arm-common.inc: New file.
8921 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8922 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8923 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8924 * config/c6x/libunwind.S: New file.
8925 * config/c6x/pr-support.c: New file.
8926 * config/c6x/unwind-c6x.c: New file.
8927 * config/c6x/unwind-c6x.h: New file.
8928 * config/c6x/t-c6x-elf: New file.
8930 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
8932 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8933 (ASM_DIVZERO): Ditto.
8934 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8936 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8938 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8940 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8943 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8944 instead of an assembly one.
8946 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
8949 * Makefile.in (install-unwind_h): Create
8950 $(gcc_objdir)/include/unwind.h atomically.
8952 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8954 * Makefile.in (install-unwind_h): Remove destination file first.
8956 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8959 * config/mips/t-mips16: New file.
8960 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8961 (mips*-*-linux*): Likewise.
8962 (mips*-sde-elf*): Likewise.
8963 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8964 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8965 Add mips/t-mips16 to tmake_file.
8966 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8967 (mips-*-elf*): Likewise.
8968 (mips64-*-elf*): Likewise.
8969 (mips64orion-*-elf*): Likewise.
8970 (mips*-*-rtems*): Likewise.
8971 (mipstx39-*-elf*): Likewise.
8972 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8973 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8975 Use $(srcdir) to refer to sync.c.
8977 ($(libgcc-sync-funcs-o)): Likewise.
8978 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8979 ($(libgcc-sync-funcs-s-o)): Likewise.
8981 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8983 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8986 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8989 * config/i386/value-unwind.h: New.
8991 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8993 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8994 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8995 Add to tmake_file rather than overriding it.
8997 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8999 * config/t-softfp: Remove.
9000 * soft-fp: Moved from ../gcc/config.
9001 * soft-fp/README: Remove t-softfp reference.
9002 * soft-fp/t-softfp: Move to config/t-softfp.
9003 (softfp_machine_header): Remove.
9004 (softfp_file_list): Remove config subdir.
9005 (soft-fp-objects): New variable.
9006 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
9007 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
9008 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
9009 * config/t-softfp-excl: New file.
9010 * config/t-softfp-sfdf: New file.
9011 * config/t-softfp-tf: New file.
9012 * config/no-sfp-machine.h: New file.
9013 * config/arm/sfp-machine.h: New file.
9014 * config/arm/t-softfp: New file.
9015 * config/c6x/sfp-machine.h: New file.
9016 * config/i386/32/t-fprules-softfp: Rename to ...
9017 * config/i386/32/t-softfp: ... this.
9018 (tifunctions, LIB2ADD): Remove.
9019 (softfp_int_modes): Override.
9020 * config/i386/64/t-softfp-compat (tf-functions): Remove config
9022 * config/i386/64/eqtf2.c: Likewise.
9023 * config/i386/64/getf2.c: Likewise.
9024 * config/i386/64/letf2.c: Likewise.
9025 * config/ia64/sft-machine.h: New file.
9026 * config/ia64/t-fprules-softfp: Rename to ...
9027 * config/ia64/t-softfp: ... this.
9028 * config/lm32/sfp-machine.h: New file.
9029 * config/moxie/t-moxie-softfp: Remove.
9030 * config/rs6000/ibm-ldouble-format: New file.
9031 * config/rs6000/ibm-ldouble.c: New file.
9032 * config/rs6000/libgcc-ppc-glibc.ver: New file
9033 * config/rs6000/libgcc-ppc64.ver: New file
9034 * config/rs6000/sfp-machine.h: New file.
9035 * config/rs6000/t-freebsd: New file.
9036 * config/rs6000/t-ibm-ldouble: New file.
9037 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
9038 libgcc-ppc-glibc.ver.
9039 * config/rs6000/t-linux64: New file.
9040 * config/rs6000/t-ppccomm (LIB2ADD): Add
9041 $(srcdir)/config/rs6000/ibm-ldouble.c.
9042 * config/rs6000/t-ppccomm-ldbl: New file.
9043 * config/score/sfp-machine.h: New file.
9044 * config.host (sfp_machine_header): Explain.
9045 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
9046 t-softfp to tmake_file.
9047 (arm*-*-uclinux*): Likewise.
9048 (arm*-*-ecos-elf): Likewise.
9049 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9050 (arm*-*-rtems*): Likewise.
9051 (arm*-*-elf): Likewise.
9052 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
9054 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
9055 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
9056 (lm32-*-uclinux*): Likewise.
9057 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
9058 t-softfp-excl, t-softfp.
9059 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
9060 (powerpc64-*-darwin*): Likewise.
9061 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
9063 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
9065 (powerpc-*-eabisim*): Likewise.
9066 (powerpc-*-elf*): Likewise.
9067 (powerpc-*-eabialtivec*): Likewise.
9068 (powerpc-xilinx-eabi*): Likewise.
9069 (powerpc-*-rtems*): Likewise.
9070 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
9071 t-softfp-excl, t-softfp to tmake_file.
9072 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
9073 rs6000/t-ppccomm-ldbl to tmake_file.
9074 (powerpcle-*-elf*): Likewise.
9075 (powerpcle-*-eabisim*): Likewise.
9076 (powerpcle-*-eabi*): Likewise.
9077 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9078 rs6000/t-ibm-ldouble to tmake_file.
9079 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9080 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9081 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
9082 (tic6x-*-*): Likewise.
9083 (i[34567]86-*-darwin*, x86_64-*-darwin*,
9084 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
9085 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
9086 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
9087 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
9088 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
9089 t-softfp to tmake_file.
9090 * configure.ac (sfp_machine_header): Provide default if unset.
9092 Link sfp-machine.h to config/$sfp_machine_header.
9093 * configure: Regenerate.
9095 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9097 * Makefile.in (double_type_size, long_double_type_size): Set.
9098 Remove $(fpbit-in-libgcc) support.
9099 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
9100 (fpbit-src): New variable.
9101 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
9102 Compile with -DFLOAT $(FPBIT_CFLAGS).
9104 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
9105 Compile with $(FPBIT_CFLAGS).
9107 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
9108 Compile with -DFLOAT $(TPBIT_CFLAGS).
9110 * configure.ac (double_type_size, long_double_type_size):
9111 Determine and substitute.
9112 * configure: Regenerate.
9113 * fp-bit.c, fp-bit.h: New files.
9114 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
9115 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
9116 * config/mips/t-mips: New file.
9117 * config/mips/t-sdemtk: New file.
9118 * config/rs6000/ppc64-fp.c: New file.
9119 * config/rs6000/t-darwin (LIB2ADD): Add
9120 $(srcdir)/config/rs6000/ppc64-fp.c.
9121 * config/rs6000/t-ppc64-fp: New file.
9122 * config/rx/rx-lib.h: New file.
9123 * config/rx/t-rx (FPBIT): Set to true.
9124 ($(gcc_objdir)/fp-bit.c): Remove.
9125 (DPBIT): Set to true only with -m64bit-doubles.
9126 ($(gcc_objdir)/dp-bit.c): Remove.
9127 * config/sparc/t-softfp: Remove.
9128 * config/spu/t-elf: New file.
9129 * config/t-fdpbit, config/t-fpbit: New files.
9130 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
9131 (mips*-*-*): Likewise.
9132 (arm-wrs-vxworks): Likewise.
9133 (arm*-*-freebsd*): Likewise.
9134 (avr-*-rtems*): Add t-fpbit to tmake_file.
9135 (avr-*-*): Likewise.
9136 (bfin*-elf*): Add t-fdpbit to tmake_file.
9137 (bfin*-uclinux*): Likewise.
9138 (bfin*-linux-uclibc*): Likewise.
9139 (bfin*-rtems*): New case.
9140 Add t-fdpbit to tmake_file.
9141 (bfin*-*): Add t-fdpbit to tmake_file.
9142 (crisv32-*-elf): Likewise.
9143 (cris-*-linux*): Likewise.
9144 (fr30-*-elf): Likewise.
9145 (frv-*-elf, frv-*-*linux*): Likewise.
9146 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
9147 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
9148 (m32r-*-elf*): Likewise.
9149 (m32rle-*-elf*): Likewise.
9150 (m32r-*-linux*): Likewise.
9151 (m32rle-*-linux*): Likewise.
9152 (mcore-*-elf): Add t-fdpbit to tmake_file.
9153 (microblaze*-*-*): Likewise.
9154 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
9155 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
9156 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
9158 Add mips/t-tpbit to tmake-file.
9159 (mips*-*-linux*): Fix typo.
9160 (mips*-sde-elf*): New case
9161 Add mips/t-sdemtk unless using newlib.
9162 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
9163 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
9164 (mn10300-*-*): Likewise.
9165 (pdp11-*-*): Likewise.
9166 (picochip-*-*): Add t-fpbit to tmake_file.
9167 (powerpc-*-eabisimaltivec*): Likewise.
9168 (powerpc-*-eabisim*): Likewise.
9169 (powerpc-*-elf*): Likewise.
9170 (powerpc-*-eabialtivec*): Likewise.
9171 (powerpc-xilinx-eabi*): New case.
9172 Add t-fdpbit to tmake_file.
9173 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
9174 (powerpc-*-rtems*): Likewise.
9175 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
9177 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
9179 (powerpc-*-lynxos*): Likewise.
9180 (powerpcle-*-elf*): Likewise.
9181 (powerpcle-*-eabisim*): Likewise.
9182 (powerpcle-*-eabi*): Likewise.
9183 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9184 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
9185 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9186 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9187 (rx-*-elf): Add t-fdpbit to tmake_file.
9188 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9189 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9190 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9191 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
9193 (sh-*-rtems*): Add t-fdpbit to tmake_file.
9194 (sh-wrs-vxworks): Likewise.
9195 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
9196 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
9197 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
9198 (sparc64-*-rtems*): ... new case.
9199 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
9200 (spu-*-elf*): Likewise.
9201 Add spu/t-elf to tmake_file.
9202 (v850*-*-*): Add t-fdpbit to tmake_file.
9203 (xstormy16-*-elf): Likewise.
9204 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
9205 (mep*-*-*): Likewise.
9207 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9209 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
9211 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
9212 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
9213 (install-unwind_h): New target.
9214 (all): Depend on it.
9215 * config.host (unwind_header): New variable.
9216 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
9217 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9218 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
9219 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
9220 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
9222 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
9224 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
9226 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
9228 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
9229 (ia64*-*-freebsd*): Likewise.
9230 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
9232 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
9233 $with_system_libunwind.
9234 (ia64*-*-hpux*): Set tmake_file.
9235 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
9236 (picochip-*-*): Set tmake_file.
9237 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
9239 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9240 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9241 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
9242 (xtensa*-*-elf*): Set tmake_file.
9243 (xtensa*-*-linux*): Likewise.
9244 * configure.ac: Include ../config/unwind_ipinfo.m4.
9245 Call GCC_CHECK_UNWIND_GETIPINFO.
9246 Link unwind.h to $unwind_header.
9247 * configure: Regenerate.
9248 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9249 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9250 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9251 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9252 * config/unwind-dw2-fde-darwin.c: New file.
9253 * config/arm/libunwind.S, config/arm/pr-support.c,
9254 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9255 config/arm/unwind-arm.h,: New files.
9256 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9257 config/ia64/t-eh-ia64, config/ia64/t-glibc,
9258 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9259 config/ia64/t-vms, config/ia64/unwind-ia64.c,
9260 config/ia64/unwind-ia64.h: New files.
9261 * config/picochip/t-picochip: New file.
9262 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9264 * config/rs6000/t-darwin (LIB2ADDEH): Set.
9265 * config/s390/t-tpf (LIB2ADDEH): Remove.
9266 * config/t-darwin (LIB2ADDEH): Set.
9267 * config/t-eh-dw2-dip: New file.
9268 * config/t-libunwind, config/t-libunwind-elf: New files.
9269 * config/t-sol2 (LIB2ADDEH): Remove.
9270 * config/xtensa/t-xtensa: New file.
9272 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
9274 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9275 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9276 long long to check rt_sigreturn syscall.
9278 2011-08-02 Alan Modra <amodra@gmail.com>
9280 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9281 Restore for indirect call bcrtl from correct stack slot, and only
9282 if cfa+40 isn't valid.
9284 2011-08-01 Julian Brown <julian@codesourcery.com>
9286 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
9287 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
9288 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
9290 2011-08-01 Julian Brown <julian@codesourcery.com>
9292 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
9293 (libgcc-std.ver.in): Use above.
9294 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
9295 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
9297 * config/t-fixedpoint-gnu-prefix: New file.
9298 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
9299 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
9302 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
9304 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
9305 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
9306 for x86-64. Properly check __x86_64__ and __LP64__.
9308 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
9310 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9312 (_FP_WS_TYPE): Likewise.
9313 (_FP_I_TYPE): Likewise.
9315 2011-07-28 Alan Modra <amodra@gmail.com>
9317 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9318 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9319 in a plt call stub. Do restore r2 if stopped on bctrl.
9321 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9323 * config.host (i[3456x]86-*-netware*): Remove.
9324 * config/i386/netware-crt0.c, config/i386/t-nwld,
9325 config/i386/t-slibgcc-nwld: Remove.
9327 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
9329 * config.host: Handle tic6x-*-*.
9330 * config/c6x/c6x-abi.h: New file.
9332 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9334 * config/i386/crtprec.c: New file.
9335 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9336 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9337 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9338 (x86_64-*-darwin*): Likewise.
9339 (i[34567]86-*-solaris2*: Likewise.
9341 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9343 * config/alpha/crtfastmath.c: New file.
9344 * config/i386/crtfastmath.c: New file.
9345 * config/ia64/crtfastmath.c: New file.
9346 * config/mips/crtfastmath.c: New file.
9347 * config/sparc/crtfastmath.c: New file.
9349 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9351 Add -frandom-seed=gcc-crtfastmath.
9352 * config/alpha/t-crtfm: Remove.
9353 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9354 * config/ia64/t-ia64 (crtfastmath.o): Remove.
9356 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
9357 (alpha*-dec-osf5.1*): Likewise.
9358 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
9359 Add crtfastmath.o to extra_parts.
9360 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
9361 Add crtfastmath.o to extra_parts.
9362 (x86_64-*-darwin*): Likewise.
9363 (x86_64-*-mingw*): Likewise.
9364 (ia64*-*-elf*): Add t-crtfm to tmake_file.
9365 (ia64*-*-freebsd*): Likewise.
9366 (ia64*-*-linux*): Likewise.
9367 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9368 Add crtfastmath.o to extra_parts.
9370 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9372 * config/darwin-crt3.o: New file.
9373 * config/rs6000/darwin-crt2.c: New file.
9374 * config/t-darwin: New file.
9375 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9377 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9378 (powerpc-*-darwin*): Add crt2.o to extra_parts.
9379 (powerpc64-*-darwin*): Likewise.
9381 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9383 * config/i386/netware-crt0.c: New file.
9384 * config/i386/t-nwld: Rename to ...
9385 * config/i386/t-slibgcc-nwld: ... this.
9386 * config/i386/t-nwld: New file.
9387 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9389 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9392 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9394 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9396 * configure: Regenerate.
9398 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9400 * dfp-bit.c, dfp-bit.h: New files.
9401 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9403 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9404 ($(d64pbit-o)): Likewise.
9405 ($(d128pbit-o)): Likewise.
9406 * config/t-dfprules: New file.
9407 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9408 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9409 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9410 (x86_64-*-linux*): Likewise.
9411 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9412 (i[34567]86-*-cygwin*): Likewise.
9413 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
9414 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9416 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9418 * Makfile.in (LIBGCOV): New variable.
9419 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9420 * libgcov.c: New file.
9422 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9424 * fixed-bit.c, fixed-bit.h: New files.
9425 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9426 refer to fixed-bit.c.
9428 2011-07-07 Joseph Myers <joseph@codesourcery.com>
9430 * config.host (*local*): Remove.
9432 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9435 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9436 like i?86-*-solaris2.1[0-9]*.
9437 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9438 * configure.ac (i?86-*-solaris2*): Likewise.
9439 * configure: Regenerate.
9441 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
9443 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9444 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9445 md_unwind_header by splitting out of...
9446 (i[34567]86-*-linux*): ... this.
9447 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9448 Remove md_unwind_header by splitting out of...
9449 (x86_64-*-linux*): ... this.
9451 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
9453 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9455 2011-06-28 Nick Clifton <nickc@redhat.com>
9457 * config.host: Recognize all V850 variants.
9459 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
9461 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9463 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9465 * shared-object.mk (c_flags-$o): Save c_flags.
9466 ($(base)$(objext)): Use it.
9467 ($(base)_s$(objext)): Likewise.
9469 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
9471 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9472 * libgcc-std.ver.in (GCC_4.7.0): New section.
9474 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
9478 * config/avr/t-avr: Fix line endings.
9479 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
9482 2011-06-14 Olivier Hainque <hainque@adacore.com>
9483 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9485 * config/mips/irix6-unwind.h: New file.
9486 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9488 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
9490 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9491 (sparc64_fallback_frame_state): Use it.
9492 (sparc64_frob_update_context): Further adjust context.
9493 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9494 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9495 * config/sparc/sol2-cn.S: Likewise.
9497 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9499 * enable-execute-stack-empty.c: New file.
9500 * enable-execute-stack-mprotect.c: New file.
9501 * config/i386/enable-execute-stack-mingw32.c: New file.
9502 * config.host (enable_execute_stack): New variable.
9503 Select appropriate variants.
9504 * configure.ac: Link enable-execute-stack.c to
9505 $enable_execute_stack.
9506 * configure: Regenerate.
9507 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9508 (lib2funcs): Remove _enable_execute_stack.
9510 2011-06-09 David S. Miller <davem@davemloft.net>
9511 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9513 * config.host (sparc-*-linux*): Correct md_unwind_header
9515 (s390x-ibm-tpf*): Fix typo.
9517 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9519 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9520 Add crtfastmath.o to extra_parts.
9521 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9523 * config/mips/t-crtfm: Remove.
9525 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9527 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9529 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
9531 * config.host (sh*-*-linux*): Fix typo.
9533 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9535 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9536 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9537 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9538 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9539 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9540 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9541 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9542 Wrap in !__MINGW64__.
9543 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9544 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9545 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9546 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9547 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9548 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9549 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9551 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9552 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9553 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9554 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9555 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9556 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9557 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9558 * config/no-unwind.h: New file.
9559 * config.host (md_unwind_header): Document.
9561 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9562 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9563 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9564 hppa[12]*-*-hpux11*): Set md_unwind_header.
9565 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9566 Set md_unwind_header.
9567 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9568 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9569 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9570 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9571 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9572 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9573 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9575 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9576 * configure: Regenerate.
9578 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9580 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9581 Set tmake_file, extra_parts.
9582 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9584 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9586 * config/mips/t-irix6: New file.
9587 * config/mips/t-slibgcc-irix: New file.
9589 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9591 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9592 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9594 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9596 * configure.ac (target_thread_file): Determine thread model.
9597 * configure: Regenerate.
9598 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9599 * config/alpha/t-alpha: New file.
9600 * config/alpha/t-crtfm: Use $<.
9601 * config/alpha/t-ieee: New file.
9602 * config/alpha/t-osf-pthread: New file.
9603 * config/alpha/t-slibgcc-osf: New file.
9604 * config/alpha/libgcc-osf5.ver: New file.
9606 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9608 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9610 Add crtfastmath.o to extra_parts.
9612 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9614 * config/gmon-sol2.c: Reindent.
9616 Remove, correct casts.
9617 Use STDERR_FILENO, NULL.
9618 (BASEADDRESS): Remove.
9620 (errno, sbrk): Remove declarations.
9621 (monstartup) [hp300]: Remove.
9624 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9626 * Makefile.in (cpu_type): Define.
9627 * config.host (i[34567]86-*-rtems*): Handle it.
9628 (i[34567]86-*-solaris2*): Move body ...
9629 (*-*-solaris2*): ... here.
9630 New case, generalize.
9631 (sparc-*-elf*): Handle it.
9632 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9633 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9634 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9636 (sparc*-*-solaris2*): ... this.
9638 (sparc64-*-elf*): Handle it.
9639 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9640 Merge ../gcc/config/i386/gmon-sol2.c.
9641 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9643 Merge ../gcc/config/i386/sol2-gc1.asm.
9644 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9646 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9648 * config/i386/t-crtfm (crtfastmath.o): Use $<.
9649 * config/i386/t-crtstuff: New file.
9650 * config/i386/t-softfp: New file.
9651 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9652 $(T)crti.o, $(T)crtn.o): Remove.
9653 (gcrt1.o): New rule.
9654 (TARGET_LIBGCC2_CFLAGS): Remove.
9655 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9656 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9657 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9658 * config/sparc/t-sol2: New file.
9659 * config/sparc/t-crtfm: Move to ...
9660 * config/t-crtfm: ... this.
9661 Use $(cpu_type), $<.
9662 * config/t-crtin: New file.
9663 * config/sparc/t-softfp: New file.
9664 * config/sparc/t-softmul: New file.
9665 * config/t-rtems: New file.
9666 * config/t-slibgcc: New file.
9667 * config/t-slibgcc-elf-ver: New file.
9668 * config/t-slibgcc-gld: New file.
9669 * config/t-slibgcc-sld: New file.
9670 * config/t-sol2: New file.
9671 * configure.ac: Include ../config/lib-ld.m4.
9672 Call AC_LIB_PROG_LD_GNU.
9673 Substitute cpu_type.
9674 * configure: Regenerate.
9676 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
9679 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9680 libgcc-std.ver in the build directory.
9681 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9682 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9684 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9686 * libgcc-std.ver.in: New file.
9687 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9689 (libgcc-std.ver): New rule.
9690 * config/t-gnu-prefix: New file.
9692 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9694 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9696 2011-05-10 Joseph Myers <joseph@codesourcery.com>
9698 * config/i386/darwin-lib.h: New file.
9700 2011-05-10 Joseph Myers <joseph@codesourcery.com>
9702 * config/arm/symbian-lib.h: New.
9704 2011-05-04 Chris Demetriou <cgd@google.com>
9706 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9707 (__x86.get_pc_thunk.bx): ...this.
9708 (__morestack): Adjust for rename, remove undef of __i686.
9710 2011-05-03 Chris Demetriou <cgd@google.com>
9712 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9714 2011-03-22 Joseph Myers <joseph@codesourcery.com>
9716 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9717 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9718 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9719 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9720 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9723 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
9725 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9726 Adjust copyright year.
9728 2011-03-07 Ian Lance Taylor <iant@google.com>
9730 * generic-morestack.c (__splitstack_find): Adjust returned stack
9731 pointer to include all registers pushed by __morestack.
9733 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9736 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9737 (toolexecdir): Calculate and AC_SUBST.
9738 (toolexeclibdir): Likewise.
9739 * Makefile.in (target_noncanonical): Import.
9740 (toolexecdir): Likewise.
9741 (toolexeclibdir): Likewise.
9742 * configure: Regenerate.
9744 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9747 * config/arm/bpabi.h: Rename to...
9748 * config/arm/bpabi-lib.h: ...this.
9750 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9752 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9754 * configure: Regenerate.
9756 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9758 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9759 __FLOAT_WORD_ORDER__.
9760 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9763 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9766 * Makefile.in (install-strip): New phony target.
9768 2010-11-07 Ian Lance Taylor <iant@google.com>
9771 * config/i386/morestack.S (__morestack_large_model): New
9774 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9776 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9778 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9780 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9782 * config/arm/bpabi.h: New file.
9783 * config/frv/frv-abi.h: New file.
9785 2010-10-01 Ian Lance Taylor <iant@google.com>
9787 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9788 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9790 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9793 * config.host: Add the missing `$'.
9795 2010-09-30 Michael Eager <eager@eagercon.com>
9797 * config.host: Add microblaze*-*-*.
9798 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9799 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9800 udivsi3.asm,umodsi3.asm}: New.
9802 2010-09-28 Ian Lance Taylor <iant@google.com>
9804 * configure.ac: Adjust CFI test to test assembler directly rather
9805 than checking gcc preprocessor macro.
9806 * configure: Rebuild.
9808 2010-09-27 Ian Lance Taylor <iant@google.com>
9810 * configure.ac: Test whether assembler supports CFI directives.
9811 * config.host: Only add t-stack and i386/t-stack-i386 to
9812 tmake_file if libgcc_cv_cfi is "yes".
9813 * configure: Rebuild.
9815 2010-09-27 Ian Lance Taylor <iant@google.com>
9817 * generic-morestack.h: New file.
9818 * generic-morestack.c: New file.
9819 * generic-morestack-thread.c: New file.
9820 * config/i386/morestack.S: New file.
9821 * config/t-stack: New file.
9822 * config/i386/t-stack-i386: New file.
9823 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9824 i386/t-stack-i386 to tmake_file.
9826 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9828 * Makefile.in (libgcc-extra-parts): Check for static archives and
9829 invoke ranlib after installing them.
9830 (gcc-extra-parts): Likewise.
9831 (install-leaf): Likewise.
9833 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9835 * configure: Regenerated.
9837 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
9839 * configure: Regenerated.
9841 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9842 Andrew Pinski <pinskia@gmail.com>
9845 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9847 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9850 * configure: Regenerated.
9852 2010-09-06 Andreas Schwab <schwab@redhat.com>
9854 * configure: Regenerate.
9856 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
9858 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9860 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9863 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
9864 Iain Sandoe <iains@gcc.gnu.org>
9867 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9868 LIB2FUNCS_EXCLUDE functions.
9870 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9872 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9874 * configure: Regenerate.
9876 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
9878 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9879 i386/t-freebsd to tmake_file.
9880 * config/i386/t-freebsd: New file.
9881 * config/i386/libgcc-bsd.ver: New file.
9883 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9885 * config.host (powerpc*-eabispe*): Set tmake_file.
9886 (powerpc*-eabi*): Likewise.
9887 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9888 crtbeginS, crtendS, crtbeginT.
9890 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
9892 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9893 to tmake_file. Add crtfastmath.o to extra_parts.
9894 * config/mips/t-crtfm: New.
9896 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
9898 * config.host (sparc64-*-rtems*): New target.
9900 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9902 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9905 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9907 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9909 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9911 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9912 alpha-dec-osf5.0* support.
9914 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
9916 * config.host: Add lm32-*-rtems*.
9918 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9919 Uros Bizjak <ubizjak@gmail.com>
9922 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9923 like other remaining 32-bit x86 OSes.
9924 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9926 * config/i386/libgcc-sol2.ver: New file.
9927 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9929 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
9932 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9933 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9934 is used and substitute set_use_emutls.
9935 * configure: Regenerated.
9937 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9939 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9941 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9944 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9946 ($(T)gcrt1.o): Likewise.
9947 ($(T)crt1.o): Likewise.
9948 ($(T)crti.o): Likewise.
9949 ($(T)crtn.o): Likewise.
9951 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9954 * Makefile.in (install): Use $(MAKE) string in rule, for
9957 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9959 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9960 * config/mmix/t-mmix: New file.
9961 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9963 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9966 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9969 2010-01-04 Anthony Green <green@moxielogic.com>
9971 * config/moxie/crti.asm, config/moxie/crtn.asm,
9972 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9973 config/moxie/t-moxie: New files.
9974 * config.host: Add t-moxie-softfp reference.
9976 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
9979 * config/t-slibgcc-darwin: Fix embedded rpaths for
9980 --enable-version-specific-runtime-libs, build extension stub
9981 libs exposing features available from current libgcc_s.
9983 2009-11-11 Jon Beniston <jon@beniston.com>
9985 * config.host: Add lm32 targets.
9986 * config/lm32: New directory.
9987 * config/lm32/libgcc_lm32.h: New file.
9988 * config/lm32/_mulsi3.c: New file.
9989 * config/lm32/_udivmodsi4.c: New file.
9990 * config/lm32/_divsi3.c: New file.
9991 * config/lm32/_modsi3.c: New file.
9992 * config/lm32/_udivsi3.c: New file.
9993 * config/lm32/_umodsi3.c: New file.
9994 * config/lm32/_lshrsi3.S: New file.
9995 * config/lm32/_ashrsi3.S: New file.
9996 * config/lm32/_ashlsi3.S: New file.
9997 * config/lm32/crti.S: New file.
9998 * config/lm32/crtn.S: New file.
9999 * config/lm32/t-lm32: New file.
10000 * config/lm32/t-elf: New file.
10001 * config/lm32/t-uclinux: New file.
10003 2009-10-26 Nick Clifton <nickc@redhat.com>
10005 * config.host: Add support for RX target.
10006 * config/rx: New directory.
10007 * config/rx/rx-abi-functions.c: New file. Supplementary
10008 functions for libgcc to support the RX ABI.
10009 * config/rx/rx-abi.h: New file. Supplementary header file for
10010 libgcc RX ABI functions.
10011 * config/rx/t-rx: New file: Makefile fragment for building
10014 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
10016 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
10017 constraint of y0 to "g".
10019 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10021 * config.host: Include the s390 makefile fragments.
10022 * config/s390/32/_fixdfdi.c: New file.
10023 * config/s390/32/_fixsfdi.c: New file.
10024 * config/s390/32/_fixtfdi.c: New file.
10025 * config/s390/32/_fixunsdfdi.c: New file.
10026 * config/s390/32/_fixunssfdi.c: New file.
10027 * config/s390/32/_fixunstfdi.c: New file.
10028 * config/s390/32/t-floattodi: New file.
10029 * config/s390/libgcc-glibc.ver: New file.
10030 * config/s390/t-crtstuff: New file.
10031 * config/s390/t-linux: New file.
10032 * config/s390/t-tpf: New file.
10034 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10036 * configure.ac (AC_PREREQ): Bump to 2.64.
10038 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
10040 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
10042 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10044 * configure: Regenerate.
10046 2009-08-09 Douglas B Rupp <rupp@gnat.com>
10048 * config.host (ia64-hp-*vms*): New target.
10049 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
10050 with ia64-hp-*vms*.
10052 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10054 * configure.ac: Add snippet for maintainer-mode.
10055 * configure: Regenerate.
10056 * Makefile.in (AUTOCONF, configure_deps): New variables.
10057 ($(srcdir)/configure)): New rule, active only with maintainer
10060 2009-06-23 DJ Delorie <dj@redhat.com>
10063 * config.host: Add mep support.
10065 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
10067 * config.host: Add i386/${host_address}/t-fprules-softfp and
10068 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
10070 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
10072 * config/i386/64/_multc3.c: Likewise.
10073 * config/i386/64/_powitf2.c: Likewise.
10074 * config/i386/64/eqtf2.c: Likewise.
10075 * config/i386/64/getf2.c: Likewise.
10076 * config/i386/64/letf2.c: Likewise.
10077 * config/i386/64/letf2.c: Likewise.
10078 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
10079 unsigned long long for x64 mingw targets.
10080 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
10081 (_FP_I_TYPE): Define as long long for x64 mingw target.
10083 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
10085 * config.host (vax-*-linux*): New.
10087 2009-05-31 Anthony Green <green@moxielogic.com>
10089 * config.host: Add moxie support.
10090 * config/moxie/t-moxie: New file.
10092 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
10094 * config.host: Add i386/${host_address}/t-fprules-softfp and
10095 t-softfp to tmake_file for i[34567]86-*-cygwin*.
10097 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
10099 * config.host: Add i386/${host_address}/t-fprules-softfp to
10100 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
10102 2009-04-09 Nick Clifton <nickc@redhat.com>
10104 * config/ia64/tf-signs.c: Change copyright header to refer to
10105 version 3 of the GNU General Public License with version 3.1
10106 of the GCC Runtime Library Exception and to point readers at
10107 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
10109 * config/i386/32/tf-signs.c: Likewise.
10110 * config/libbid/_addsub_dd.c: Likewise.
10111 * config/libbid/_addsub_sd.c: Likewise.
10112 * config/libbid/_addsub_td.c: Likewise.
10113 * config/libbid/_dd_to_df.c: Likewise.
10114 * config/libbid/_dd_to_di.c: Likewise.
10115 * config/libbid/_dd_to_sd.c: Likewise.
10116 * config/libbid/_dd_to_sf.c: Likewise.
10117 * config/libbid/_dd_to_si.c: Likewise.
10118 * config/libbid/_dd_to_td.c: Likewise.
10119 * config/libbid/_dd_to_tf.c: Likewise.
10120 * config/libbid/_dd_to_udi.c: Likewise.
10121 * config/libbid/_dd_to_usi.c: Likewise.
10122 * config/libbid/_dd_to_xf.c: Likewise.
10123 * config/libbid/_df_to_dd.c: Likewise.
10124 * config/libbid/_df_to_sd.c: Likewise.
10125 * config/libbid/_df_to_td.c: Likewise.
10126 * config/libbid/_di_to_dd.c: Likewise.
10127 * config/libbid/_di_to_sd.c: Likewise.
10128 * config/libbid/_di_to_td.c: Likewise.
10129 * config/libbid/_div_dd.c: Likewise.
10130 * config/libbid/_div_sd.c: Likewise.
10131 * config/libbid/_div_td.c: Likewise.
10132 * config/libbid/_eq_dd.c: Likewise.
10133 * config/libbid/_eq_sd.c: Likewise.
10134 * config/libbid/_eq_td.c: Likewise.
10135 * config/libbid/_ge_dd.c: Likewise.
10136 * config/libbid/_ge_sd.c: Likewise.
10137 * config/libbid/_ge_td.c: Likewise.
10138 * config/libbid/_gt_dd.c: Likewise.
10139 * config/libbid/_gt_sd.c: Likewise.
10140 * config/libbid/_gt_td.c: Likewise.
10141 * config/libbid/_isinfd128.c: Likewise.
10142 * config/libbid/_isinfd32.c: Likewise.
10143 * config/libbid/_isinfd64.c: Likewise.
10144 * config/libbid/_le_dd.c: Likewise.
10145 * config/libbid/_le_sd.c: Likewise.
10146 * config/libbid/_le_td.c: Likewise.
10147 * config/libbid/_lt_dd.c: Likewise.
10148 * config/libbid/_lt_sd.c: Likewise.
10149 * config/libbid/_lt_td.c: Likewise.
10150 * config/libbid/_mul_dd.c: Likewise.
10151 * config/libbid/_mul_sd.c: Likewise.
10152 * config/libbid/_mul_td.c: Likewise.
10153 * config/libbid/_ne_dd.c: Likewise.
10154 * config/libbid/_ne_sd.c: Likewise.
10155 * config/libbid/_ne_td.c: Likewise.
10156 * config/libbid/_sd_to_dd.c: Likewise.
10157 * config/libbid/_sd_to_df.c: Likewise.
10158 * config/libbid/_sd_to_di.c: Likewise.
10159 * config/libbid/_sd_to_sf.c: Likewise.
10160 * config/libbid/_sd_to_si.c: Likewise.
10161 * config/libbid/_sd_to_td.c: Likewise.
10162 * config/libbid/_sd_to_tf.c: Likewise.
10163 * config/libbid/_sd_to_udi.c: Likewise.
10164 * config/libbid/_sd_to_usi.c: Likewise.
10165 * config/libbid/_sd_to_xf.c: Likewise.
10166 * config/libbid/_sf_to_dd.c: Likewise.
10167 * config/libbid/_sf_to_sd.c: Likewise.
10168 * config/libbid/_sf_to_td.c: Likewise.
10169 * config/libbid/_si_to_dd.c: Likewise.
10170 * config/libbid/_si_to_sd.c: Likewise.
10171 * config/libbid/_si_to_td.c: Likewise.
10172 * config/libbid/_td_to_dd.c: Likewise.
10173 * config/libbid/_td_to_df.c: Likewise.
10174 * config/libbid/_td_to_di.c: Likewise.
10175 * config/libbid/_td_to_sd.c: Likewise.
10176 * config/libbid/_td_to_sf.c: Likewise.
10177 * config/libbid/_td_to_si.c: Likewise.
10178 * config/libbid/_td_to_tf.c: Likewise.
10179 * config/libbid/_td_to_udi.c: Likewise.
10180 * config/libbid/_td_to_usi.c: Likewise.
10181 * config/libbid/_td_to_xf.c: Likewise.
10182 * config/libbid/_tf_to_dd.c: Likewise.
10183 * config/libbid/_tf_to_sd.c: Likewise.
10184 * config/libbid/_tf_to_td.c: Likewise.
10185 * config/libbid/_udi_to_dd.c: Likewise.
10186 * config/libbid/_udi_to_sd.c: Likewise.
10187 * config/libbid/_udi_to_td.c: Likewise.
10188 * config/libbid/_unord_dd.c: Likewise.
10189 * config/libbid/_unord_sd.c: Likewise.
10190 * config/libbid/_unord_td.c: Likewise.
10191 * config/libbid/_usi_to_dd.c: Likewise.
10192 * config/libbid/_usi_to_sd.c: Likewise.
10193 * config/libbid/_usi_to_td.c: Likewise.
10194 * config/libbid/_xf_to_dd.c: Likewise.
10195 * config/libbid/_xf_to_sd.c: Likewise.
10196 * config/libbid/_xf_to_td.c: Likewise.
10197 * config/libbid/bid128.c: Likewise.
10198 * config/libbid/bid128_2_str.h: Likewise.
10199 * config/libbid/bid128_2_str_macros.h: Likewise.
10200 * config/libbid/bid128_2_str_tables.c: Likewise.
10201 * config/libbid/bid128_add.c: Likewise.
10202 * config/libbid/bid128_compare.c: Likewise.
10203 * config/libbid/bid128_div.c: Likewise.
10204 * config/libbid/bid128_fma.c: Likewise.
10205 * config/libbid/bid128_logb.c: Likewise.
10206 * config/libbid/bid128_minmax.c: Likewise.
10207 * config/libbid/bid128_mul.c: Likewise.
10208 * config/libbid/bid128_next.c: Likewise.
10209 * config/libbid/bid128_noncomp.c: Likewise.
10210 * config/libbid/bid128_quantize.c: Likewise.
10211 * config/libbid/bid128_rem.c: Likewise.
10212 * config/libbid/bid128_round_integral.c: Likewise.
10213 * config/libbid/bid128_scalb.c: Likewise.
10214 * config/libbid/bid128_sqrt.c: Likewise.
10215 * config/libbid/bid128_string.c: Likewise.
10216 * config/libbid/bid128_to_int16.c: Likewise.
10217 * config/libbid/bid128_to_int32.c: Likewise.
10218 * config/libbid/bid128_to_int64.c: Likewise.
10219 * config/libbid/bid128_to_int8.c: Likewise.
10220 * config/libbid/bid128_to_uint16.c: Likewise.
10221 * config/libbid/bid128_to_uint32.c: Likewise.
10222 * config/libbid/bid128_to_uint64.c: Likewise.
10223 * config/libbid/bid128_to_uint8.c: Likewise.
10224 * config/libbid/bid32_to_bid128.c: Likewise.
10225 * config/libbid/bid32_to_bid64.c: Likewise.
10226 * config/libbid/bid64_add.c: Likewise.
10227 * config/libbid/bid64_compare.c: Likewise.
10228 * config/libbid/bid64_div.c: Likewise.
10229 * config/libbid/bid64_fma.c: Likewise.
10230 * config/libbid/bid64_logb.c: Likewise.
10231 * config/libbid/bid64_minmax.c: Likewise.
10232 * config/libbid/bid64_mul.c: Likewise.
10233 * config/libbid/bid64_next.c: Likewise.
10234 * config/libbid/bid64_noncomp.c: Likewise.
10235 * config/libbid/bid64_quantize.c: Likewise.
10236 * config/libbid/bid64_rem.c: Likewise.
10237 * config/libbid/bid64_round_integral.c: Likewise.
10238 * config/libbid/bid64_scalb.c: Likewise.
10239 * config/libbid/bid64_sqrt.c: Likewise.
10240 * config/libbid/bid64_string.c: Likewise.
10241 * config/libbid/bid64_to_bid128.c: Likewise.
10242 * config/libbid/bid64_to_int16.c: Likewise.
10243 * config/libbid/bid64_to_int32.c: Likewise.
10244 * config/libbid/bid64_to_int64.c: Likewise.
10245 * config/libbid/bid64_to_int8.c: Likewise.
10246 * config/libbid/bid64_to_uint16.c: Likewise.
10247 * config/libbid/bid64_to_uint32.c: Likewise.
10248 * config/libbid/bid64_to_uint64.c: Likewise.
10249 * config/libbid/bid64_to_uint8.c: Likewise.
10250 * config/libbid/bid_b2d.h: Likewise.
10251 * config/libbid/bid_binarydecimal.c: Likewise.
10252 * config/libbid/bid_conf.h: Likewise.
10253 * config/libbid/bid_convert_data.c: Likewise.
10254 * config/libbid/bid_decimal_data.c: Likewise.
10255 * config/libbid/bid_decimal_globals.c: Likewise.
10256 * config/libbid/bid_div_macros.h: Likewise.
10257 * config/libbid/bid_dpd.c: Likewise.
10258 * config/libbid/bid_flag_operations.c: Likewise.
10259 * config/libbid/bid_from_int.c: Likewise.
10260 * config/libbid/bid_functions.h: Likewise.
10261 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10262 * config/libbid/bid_inline_add.h: Likewise.
10263 * config/libbid/bid_internal.h: Likewise.
10264 * config/libbid/bid_round.c: Likewise.
10265 * config/libbid/bid_sqrt_macros.h: Likewise.
10267 2009-04-09 Jakub Jelinek <jakub@redhat.com>
10269 * Makefile.in: Change copyright header to refer to version
10270 3 of the GNU General Public License and to point readers at the
10271 COPYING3 file and the FSF's license web page.
10272 * config.host: Likewise.
10274 2009-04-07 Alan Modra <amodra@bigpond.net.au>
10276 * config.host: Reorder and merge to match config.gcc change.
10278 2009-04-03 Alan Modra <amodra@bigpond.net.au>
10280 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
10282 2009-03-28 Joseph Myers <joseph@codesourcery.com>
10284 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
10285 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
10286 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
10287 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
10289 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
10291 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
10292 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10294 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
10296 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
10297 ia64/t-softfp-compat to tmake_file.
10299 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
10301 * config/ia64/__divxf3.asm: New.
10302 * config/ia64/_fixtfdi.asm: Likewise.
10303 * config/ia64/_fixunstfdi.asm: Likewise.
10304 * config/ia64/_floatditf.asm: Likewise.
10305 * config/ia64/t-fprules-softfp: Likewise.
10306 * config/ia64/t-softfp-compat: Likewise.
10307 * config/ia64/tf-signs.c: Likewise.
10309 2009-01-18 Ben Elliston <bje@au.ibm.com>
10311 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10313 2009-01-16 Ben Elliston <bje@au.ibm.com>
10315 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10318 2009-01-13 Ben Elliston <bje@au.ibm.com>
10320 * config/t-softfp: New file.
10321 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10322 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10324 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
10326 * config.host: Add m32r*-*-rtems*.
10328 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
10330 * config.host: Add m32c*-*-rtems*.
10332 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10335 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10336 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10337 * configure: Regenerate.
10338 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10339 tmake_file here from gcc/config.gcc.
10340 Move extra_parts here from gcc/config.gcc.
10341 * config/i386/t-sol2: Move here from gcc/config/i386.
10342 Use gcc_srcdir instead of srcdir.
10344 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
10346 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10349 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
10351 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10353 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
10355 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
10357 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
10360 * config.host: Add picochip-*-*.
10362 2008-08-06 Bob Wilson <bob.wilson@acm.org>
10364 * config.host: Match more processor names for Xtensa.
10366 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
10368 * config/i386/64/t-softfp-compat: Update comments.
10370 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
10372 * config/i386/64/_divtc3-compat.c: Moved to ...
10373 * config/i386/64/_divtc3.c: Here.
10375 * config/i386/64/_multc3-compat.c: Moved to ...
10376 * config/i386/64/_multc3.c: Here.
10378 * config/i386/64/_powitf2-compat.c: Moved to ...
10379 * config/i386/64/_powitf2.c: Here.
10381 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10382 .c suffix instead of -compat.c.
10384 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
10386 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10387 (_FP_MUL_MEAT_D): Ditto.
10388 (_FP_DIV_MEAT_S): Ditto.
10389 (_FP_DIV_MEAT_D): Ditto.
10391 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
10393 * Makefile.in: Add support for __sync_* libgcc functions.
10395 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
10397 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10399 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10402 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10403 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
10405 * config/i386/64/t-fprules-softfp: Moved to ...
10406 * config/i386/64/t-softfp-compat: This. New.
10408 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
10410 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10411 Initialize f with 0.0.
10413 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10416 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10418 * config/i386/64/_divtc3-compat.c: New.
10419 * config/i386/64/_multc3-compat.c: Likewise.
10420 * config/i386/64/_powitf2-compat.c: Likewise.
10421 * config/i386/64/eqtf2.c: Likewise.
10422 * config/i386/64/getf2.c: Likewise.
10423 * config/i386/64/letf2.c: Likewise.
10424 * config/i386/64/t-fprules-softfp: Likewise.
10426 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10428 * config.host: Add i386/${host_address}/t-fprules-softfp to
10429 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
10430 i[34567]86-*-linux*, x86_64-*-linux*.
10432 * configure.ac: Set host_address to 64 or 32 for x86.
10433 * configure: Regenerated.
10435 * Makefile.in (config.status): Also depend on
10436 $(srcdir)/config.host.
10438 * config/i386/32/t-fprules-softfp: New.
10439 * config/i386/32/tf-signs.c: Likewise.
10441 * config/i386/64/sfp-machine.h: New. Moved from gcc.
10443 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10444 Uros Bizjak <ubizjak@gmail.com>
10446 * config/i386/32/sfp-machine.h: New.
10448 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
10450 * config/rs6000/t-ppccomm: Remove rules that conflict with
10451 auto-generated rules.
10453 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10455 * configure.ac: sinclude override.m4.
10456 * configure: Regenerate.
10458 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
10460 * configure: Regenerate.
10462 2008-06-10 Joseph Myers <joseph@codesourcery.com>
10464 * Makefile.in (DECNUMINC): Remove
10465 -I$(MULTIBUILDTOP)../../libdecnumber.
10468 2008-06-07 Joseph Myers <joseph@codesourcery.com>
10470 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10471 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10472 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10473 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10474 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10475 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10476 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10477 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10478 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10479 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10480 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10481 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10482 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10483 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10485 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
10487 * config.host (sh2[lbe]*-*-linux*): Allow target.
10489 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
10491 * config/rs6000/t-ppccomm: Add build rules for new files.
10492 (LIB2ADD_ST): New variable.
10494 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
10498 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10499 * config/t-avr: New file. Build 16bit libgcc functions.
10501 2008-03-02 Jakub Jelinek <jakub@redhat.com>
10504 * config/t-slibgcc-darwin: Make install-leaf dependent on
10505 install-darwin-libgcc-stubs instead of install.
10507 2008-01-25 Joseph Myers <joseph@codesourcery.com>
10509 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10510 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10511 sh-*-rtemscoff*): Remove cases.
10513 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
10515 * Makefile.in (all): Use install-leaf rather than install.
10516 (install): Split most of the rule into...
10517 (install-leaf): ...this new one.
10519 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
10520 Paolo Bonzini <bonzini@gnu.org>
10523 * Makefile.in: Use @shlib_slibdir@ substitution to get
10524 correct install name on darwin.
10525 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
10527 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
10529 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10530 cris-*-elf and cris-*-none.
10531 (crisv32-*-linux*): Similar, as cris-*-linux*.
10533 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
10535 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10537 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
10539 PR regression/33926
10540 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10541 * configure: Regenerated.
10543 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
10545 * Makefile.in (dfp-filenames): Replace decimal_globals,
10546 decimal_data, binarydecimal and convert_data with
10547 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10548 and bid_convert_data, respectively.
10550 2007-09-17 Chao-ying Fu <fu@mips.com>
10551 Nigel Stephens <nigel@mips.com>
10553 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10554 * Makefile.in (fixed_point): Define.
10555 Check if fixed_point is yes to build support functions.
10556 * configure.ac: Check for fixed_point support.
10557 * configure: Regenerated.
10558 * gen-fixed.sh: New file to generate lists of fixed-point labels,
10559 funcs, modes, from, to.
10561 2007-09-11 Janis Johnson <janis187@us.ibm.com
10563 * Makefile.in (dfp-filenames): Add bid128_noncomp.
10565 2007-09-10 Janis Johnson <janis187@us.ibm.com>
10567 * Makefile.in (dfp-filenames): Remove decUtility, add
10568 decDouble, decPacked, decQuad, decSingle.
10570 2007-08-27 Hans Kester <hans.kester@ellips.nl>
10572 * config.host : Add x86_64-elf target.
10574 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10576 * configure.ac (set_have_cc_tls): Add a missing =.
10577 * configure: Regenerated.
10579 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10581 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10582 and x86_64-*-linux*.
10584 * config/t-tls: New file.
10586 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
10588 * configure.ac: Include ../config/enable.m4 and
10589 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
10590 supports TLS and substitute set_have_cc_tls.
10591 * configure: Regenerated.
10593 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
10595 * Makefile.in: Use libbid for DFP when BID is enabled.
10597 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
10599 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
10600 extra_parts. Add config/i386/t-cygming to tmake_file.
10601 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10603 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
10604 Danny Smith <dannysmith@users.sourceforge.net>
10607 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10608 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
10609 * config/i386/t-crtfm: Compile crtfastmath.o with
10610 -minline-all-stringops.
10612 2007-05-10 Richard Sandiford <richard@codesourcery.com>
10614 * config.host (sparc-wrs-vxworks): New target.
10616 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
10618 * config.host: Recognize fido.
10620 2007-04-04 Janis Johnson <janis187@us.ibm.com>
10622 * configure: Check host, not target, for decimal float support.
10624 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
10626 * config/i386/t-crtpc: New file.
10627 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
10628 (x86_64-*-linux*): Ditto.
10630 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
10632 * config.host (x86_64-*-mingw*): New target.
10634 2007-03-23 Michael Meissner <michael.meissner@amd.com>
10635 H.J. Lu <hongjiu.lu@intel.com>
10637 * Makefile.in (enable_decimal_float): New.
10639 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10640 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10641 (decbits-filenames): This.
10642 (decbits-objects): New.
10643 (libgcc-objects): Add $(decbits-objects).
10645 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10646 Substitute enable_decimal_float.
10647 * configure: Regenerated.
10649 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
10651 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10653 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
10655 * Makefile.in (install-info): New dummy target.
10657 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
10659 * config.host (bfin*-linux-uclibc*): Set extra_parts.
10661 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
10663 * Makefile.in: Add install-html and install-pdf dummy
10666 2007-02-05 Roger Sayle <roger@eyesopen.com>
10667 Daniel Jacobowitz <dan@codesourcery.com>
10669 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10670 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10671 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10673 2007-01-29 Janis Johnson <janis187@us.ibm.com>
10675 * Makefile.in (dec-filenames): Add decExcept.
10677 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10680 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10683 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10685 * configure.ac: Add --enable-version-specific-runtime-libs.
10686 Correct $slibdir default.
10687 * configure: Regenerated.
10689 2007-01-23 Joseph Myers <joseph@codesourcery.com>
10691 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10693 2007-01-21 Andrew Pinski <pinskia@gmail.com>
10696 * config.host (alpha*-*-linux*): Set extra_parts.
10698 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10700 * config/sh/t-linux: New.
10701 * config.host (sh*-*-linux*): Set tmake_file.
10703 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10705 * Makefile.in (install): Handle multilibs.
10707 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10709 * Makefile.in: Added .PHONY entry for documentation targets.
10711 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10713 * Makefile.in: Add empty info, html, dvi, pdf targets.
10715 2007-01-04 Mike Stump <mrs@apple.com>
10717 * Makefile.in (MAKEINFO): Remove.
10720 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
10722 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10723 * configure: Regenerate.
10724 * Makefile.in (host_subdir): Substitute it.
10725 (gcc_objdir): Use it.
10727 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10729 * config.host (ia64*-*-linux*): Set tmake_file.
10731 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10733 * Makefile.in (version): Define.
10735 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10736 Paolo Bonzini <bonzini@gnu.org>
10738 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10739 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10740 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10741 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10742 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10743 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10744 * configure: Generated.
10746 Copyright (C) 2007-2020 Free Software Foundation, Inc.
10748 Copying and distribution of this file, with or without modification,
10749 are permitted in any medium without royalty provided the copyright
10750 notice and this notice are preserved.