1 2024-02-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4 * config/i386/libgcc-sol2.ver (GCC_14.0.0): Added all symbols from
5 i386/libgcc-glibc.ver (GCC_12.0.0, GCC_13.0.0, GCC_14.0.0).
6 * config/i386/libgcc-glibc.ver: Request notifications on updates.
8 2024-02-06 Matteo Italia <matteo@mitalia.net>
11 * unwind-seh.c (_Unwind_Resume_or_Rethrow): forward
12 _Unwind_RaiseException return code back to caller instead of
13 calling abort, allowing __cxa_rethrow to invoke std::terminate
14 in case of uncaught rethrown exception
16 2024-02-02 Jakub Jelinek <jakub@redhat.com>
19 * libgcc2.c (__divmodbitint4): If uv1 >= vv1, subtract
20 vv1 from uv1:uv0 once or twice as needed, rather than
23 2024-02-02 Khem Raj <raj.khem@gmail.com>
25 * config/i386/enable-execute-stack-mingw32.c: Include
26 stdlib.h for abort() definition.
28 2024-02-02 Jakub Jelinek <jakub@redhat.com>
31 * config/i386/libgcc-glibc.ver (GCC_14.0.0): Remove __PFX prefixes
34 2024-02-01 Jakub Jelinek <jakub@redhat.com>
37 * libgcc2.h (__gcc_nested_func_ptr_created): Change type of last
38 argument from void ** to void *.
39 * config/i386/heap-trampoline.c (__gcc_nested_func_ptr_created):
40 Change type of dst from void ** to void * and cast dst to void **
41 before dereferencing it.
42 * config/aarch64/heap-trampoline.c (__gcc_nested_func_ptr_created):
45 2024-02-01 Jakub Jelinek <jakub@redhat.com>
48 * config/i386/t-heap-trampoline: Add to LIB2ADDEHSHARED
49 i386/heap-trampoline.c rather than aarch64/heap-trampoline.c.
51 2024-02-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
53 * config/aarch64/crti.S: Remove stack marking.
54 * config/aarch64/crtn.S: Remove stack marking, include aarch64-asm.h
55 * config/aarch64/lse.S: Remove stack and GNU property markings.
57 2024-01-30 Iain Sandoe <iain@sandoe.co.uk>
60 * config.host: Build libheap_t.a for i686/x86_64 Darwin.
61 * config/aarch64/heap-trampoline.c (HEAP_T_ATTR): New.
62 (allocate_tramp_ctrl): Allow a target to build this as a weak def.
63 (__gcc_nested_func_ptr_created): Likewise.
64 * config/i386/heap-trampoline.c (HEAP_T_ATTR): New.
65 (allocate_tramp_ctrl): Allow a target to build this as a weak def.
66 (__gcc_nested_func_ptr_created): Likewise.
67 * config/t-darwin: Build libheap_t.a (a CRT with heap trampoline
70 2024-01-30 Iain Sandoe <iain@sandoe.co.uk>
73 * config/aarch64/t-heap-trampoline: Move the heap trampoline
74 support functions from libgcc.a to libgcc_eh.a.
75 * config/i386/t-heap-trampoline: Likewise.
77 2024-01-28 Iain Sandoe <iain@sandoe.co.uk>
78 Jakub Jelinek <jakub@redhat.com>
81 * config/aarch64/heap-trampoline.c: Rename
82 __builtin_nested_func_ptr_created to __gcc_nested_func_ptr_created and
83 __builtin_nested_func_ptr_deleted to __gcc_nested_func_ptr_deleted.
84 * config/i386/heap-trampoline.c: Likewise.
85 * libgcc2.h: Likewise.
86 * libgcc-std.ver.in (GCC_7.0.0): Likewise and then move
87 __gcc_nested_func_ptr_created and
88 __gcc_nested_func_ptr_deleted from this symbol version to ...
89 (GCC_14.0.0): ... this one.
91 2024-01-26 Andrew Stubbs <ams@baylibre.com>
93 * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Handle RDNA3.
95 2024-01-23 Zac Walker <zacwalker@microsoft.com>
97 * config/aarch64/aarch64-asm.h (HIDDEN, SYMBOL_SIZE, SYMBOL_TYPE)
98 (ENTRY_ALIGN, GNU_PROPERTY): New macros.
99 * config/aarch64/__arm_sme_state.S: Use them.
100 * config/aarch64/__arm_tpidr2_save.S: Likewise.
101 * config/aarch64/__arm_za_disable.S: Likewise.
102 * config/aarch64/crti.S: Likewise.
103 * config/aarch64/lse.S: Likewise.
105 2024-01-12 Jakub Jelinek <jakub@redhat.com>
107 * libgcc2.h (UBILtype): New typedef with may_alias attribute.
108 (__mulbitint3, __divmodbitint4): Use UBILtype * instead of
109 UWtype * and const UBILtype * instead of const UWtype *.
110 * libgcc2.c (bitint_reduce_prec, bitint_mul_1, bitint_addmul_1,
111 __mulbitint3, bitint_negate, bitint_submul_1, __divmodbitint4):
113 * soft-fp/bitint.h (UBILtype): Change define into a typedef with
116 2024-01-12 Sandra Loosemore <sandra@codesourcery.com>
118 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Do not try to use
119 _dl_find_object on nios2; it doesn't work.
121 2023-12-23 Thomas Schwinge <thomas@codesourcery.com>
123 * c++-minimal/README: New.
124 * c++-minimal/guard.c: New.
125 * config/gcn/t-amdgcn (LIB2ADD): Add it.
126 * config/nvptx/t-nvptx (LIB2ADD): Likewise.
128 2023-12-20 Alexandre Oliva <oliva@adacore.com>
131 * config.host (sparc, sparc64): Enable...
132 * config/sparc/t-sparc: ... this new fragment.
134 2023-12-20 Alexandre Oliva <oliva@adacore.com>
136 * strub.c (ATTRIBUTE_NOINLINE): New.
137 (ATTRIBUTE_STRUB_CALLABLE): Add it.
138 (__strub_dummy_force_no_leaf): Drop it.
140 2023-12-16 Andrew Carlotti <andrew.carlotti@arm.com>
142 * config/aarch64/cpuinfo.c (enum CPUFeatures): Move to shared
145 2023-12-16 Andrew Carlotti <andrew.carlotti@arm.com>
146 Pavel Iliin <Pavel.Iliin@arm.com>
148 * config/aarch64/t-aarch64: Include cpuinfo.c
149 * config/aarch64/cpuinfo.c: New file
150 (__init_cpu_features_constructor) New.
151 (__init_cpu_features_resolver) New.
152 (__init_cpu_features) New.
154 2023-12-11 Lipeng Zhu <lipeng.zhu@intel.com>
156 * gthr-posix.h (__GTHREAD_RWLOCK_INIT): New macro.
157 (__gthrw): New function.
158 (__gthread_rwlock_rdlock): New function.
159 (__gthread_rwlock_tryrdlock): New function.
160 (__gthread_rwlock_wrlock): New function.
161 (__gthread_rwlock_trywrlock): New function.
162 (__gthread_rwlock_unlock): New function.
164 2023-12-08 Florian Weimer <fweimer@redhat.com>
166 * libgcov-interface.c (__gcov_fork): Use __builtin_fork instead
169 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
171 * config.in: Regenerate.
173 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
175 * config/aarch64/__arm_za_disable.S: Add hidden alias.
176 * config/aarch64/aarch64-unwind.h: Reset the SME state before
177 EH return via the _Unwind_Frames_Extra hook.
179 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
181 * config/aarch64/t-aarch64: Add sources to the build.
182 * config/aarch64/__aarch64_have_sme.c: New file.
183 * config/aarch64/__arm_sme_state.S: New file.
184 * config/aarch64/__arm_tpidr2_restore.S: New file.
185 * config/aarch64/__arm_tpidr2_save.S: New file.
186 * config/aarch64/__arm_za_disable.S: New file.
187 * config/aarch64/aarch64-asm.h: New file.
188 * config/aarch64/libgcc-sme.ver: New file.
190 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
192 * config.in: Undef HAVE___GETAUXVAL.
193 * configure: Regenerate.
194 * configure.ac: Check for __getauxval.
196 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
198 * config.in: Undef HAVE_AS_VARIANT_PCS.
199 * configure: Regenerate.
200 * configure.ac: Check for .variant_pcs.
202 2023-12-07 Alexandre Oliva <oliva@adacore.com>
204 * configure.ac: Check for strub support.
205 * configure: Rebuilt.
206 * Makefile.in: Compile strub.c conditionally.
208 2023-12-06 Thomas Schwinge <thomas@codesourcery.com>
209 Jakub Jelinek <jakub@redhat.com>
212 * emutls.c: Add GCC diagnostic ignored "-Wbuiltin-declaration-mismatch"
215 2023-12-06 Alexandre Oliva <oliva@adacore.com>
217 * Makefile.in (LIB2ADD): Add strub.c.
218 * libgcc2.h (__strub_enter, __strub_update, __strub_leave):
221 * libgcc-std.ver.in (__strub_enter): Add to GCC_14.0.0.
222 (__strub_update, __strub_leave): Likewise.
224 2023-12-03 Jeff Law <jlaw@ventanamicro.com>
226 * unwind-pe.h (_Unwind_gnu_Find_got): Add prototype.
228 2023-12-03 Jeff Law <jlaw@ventanamicro.com>
230 * config/rx/rx-abi-functions.c (__ltdf2, __gtdf2): Add prototype.
231 (__ledf2, __gedf2, __eqdf2, __nedf2): Likewise.
232 (__ltsf2, __gtsf2, __lesf2, __gesf2, __eqsf2, __nesf2): Likewise.
234 2023-12-03 Jeff Law <jlaw@ventanamicro.com>
236 * config/frv/frvbegin.c (atexit): Add prototype.
238 2023-12-01 Alexandre Oliva <oliva@adacore.com>
240 * libgcc-std.ver.in (__hardcfr_check): Add to GCC_14.0.0.
242 2023-12-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
245 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Honor that __LIBGCC_HAVE_LIBATOMIC is
246 always defined as either 0 or 1.
248 2023-12-01 Florian Weimer <fweimer@redhat.com>
250 * config/aarch64/linux-unwind.h
251 (aarch64_fallback_frame_state): Add cast to the expected type
254 2023-11-30 Wilco Dijkstra <wilco.dijkstra@arm.com>
257 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Execute STLXP using
258 either new value or loaded value.
260 2023-11-27 Richard Earnshaw <rearnsha@arm.com>
262 * config/arm/lib1funcs.S (__sync_synchronize): Adjust warning message.
264 2023-11-24 Richard Earnshaw <rearnsha@arm.com>
266 * config.host (arm*-*-eabi* | arm*-*-rtems*):
267 Add arm/t-sync to the makefile rules.
268 * config/arm/lib1funcs.S (__sync_synchronize_none)
269 (__sync_synchronize_cp15dmb, __sync_synchronize_dmb)
270 (__sync_synchronize): New functions.
271 * config/arm/t-sync: New file.
272 * config/arm/sync-none.specs: Likewise.
273 * config/arm/sync-dmb.specs: Likewise.
274 * config/arm/sync-cp15dmb.specs: Likewise.
276 2023-11-23 Jose E. Marchesi <jose.marchesi@oracle.com>
278 * hardcfr.c (__hardcfr_check_fail): Mark as always_inline.
280 2023-11-21 Jakub Jelinek <jakub@redhat.com>
282 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Formatting fixes.
284 2023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
286 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Always define it.
287 Set it also to 1, if __LIBGCC_HAVE_LIBATOMIC is defined.
289 2023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
292 2023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
294 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
295 (gcov_type_unsigned): Likewise.
297 2023-11-10 Keith Packard <keithp@keithp.com>
299 * config/m68k/lb1sf68.S (__adddf3): Properly check for non-zero denorm.
300 (__divdf3): Restore sign bit properly.
301 (__addsf3): Correct exponent check.
302 * config/m68k/fpgnulib.c (EXPMASK): Define.
303 (__extendsfdf2): Handle Inf and NaN properly.
304 (__truncdfsf2): Handle underflow and overflow correctly.
305 (__extenddfxf2): Handle underflow, denorms, Inf and NaN correctly.
306 (__truncxfdf2): Handle underflow and denorms correctly.
307 (__fixxfsi): Reimplement.
309 2023-11-09 Jakub Jelinek <jakub@redhat.com>
312 * config/t-softfp (softfp_bid_list): Add
313 {U,}TItype <-> _Decimal{32,64,128} conversions.
314 * soft-fp/floattisd.c: New file.
315 * soft-fp/floattidd.c: New file.
316 * soft-fp/floattitd.c: New file.
317 * soft-fp/floatuntisd.c: New file.
318 * soft-fp/floatuntidd.c: New file.
319 * soft-fp/floatuntitd.c: New file.
320 * soft-fp/fixsdti.c: New file.
321 * soft-fp/fixddti.c: New file.
322 * soft-fp/fixtdti.c: New file.
323 * soft-fp/fixunssdti.c: New file.
324 * soft-fp/fixunsddti.c: New file.
325 * soft-fp/fixunstdti.c: New file.
327 2023-11-07 Kwok Cheung Yeung <kcy@codesourcery.com>
329 * offloadstuff.c (OFFLOAD_IND_FUNC_TABLE_SECTION_NAME): New.
330 (__offload_ind_func_table): New.
331 (__offload_ind_funcs_end): New.
332 (__OFFLOAD_TABLE__): Add entries for indirect functions.
334 2023-11-03 Thomas Schwinge <thomas@codesourcery.com>
336 * config/gcn/gthr-gcn.h (__gthread_getspecific): 's%NULL%0'.
338 2023-10-31 Alexandre Oliva <oliva@adacore.com>
340 * hardcfr.c: Adjust copyright year.
342 2023-10-24 Sergei Trofimovich <siarheit@google.com>
344 * config/aarch64/heap-trampoline.c: Disable when libc is not
346 * config/i386/heap-trampoline.c: Ditto.
348 2023-10-22 Iain Sandoe <iain@sandoe.co.uk>
350 * config/t-slibgcc-darwin: Generate libgcc_s
352 * config.host: Handle Darwin rpaths.
353 * config/t-darwin-rpath: New file.
355 2023-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
356 Maxim Blinov <maxim.blinov@embecosm.com>
357 Iain Sandoe <iain@sandoe.co.uk>
358 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
360 * libgcc2.h (__builtin_nested_func_ptr_created): Declare.
361 (__builtin_nested_func_ptr_deleted): Declare.
362 * libgcc-std.ver.in: Add the new symbols.
363 * config/aarch64/heap-trampoline.c: Implement heap-based
364 trampolines for aarch64.
365 * config/aarch64/t-heap-trampoline: Add rule to build
366 config/aarch64/heap-trampoline.c
367 * config/i386/heap-trampoline.c: Implement heap-based
368 trampolines for x86_64.
369 * config/i386/t-heap-trampoline: Add rule to build
370 config/i386/heap-trampoline.cc
371 * config.host: Handle --enable-heap-trampolines on
372 x86_64-*-linux*, aarch64-*-linux*, x86_64-*-darwin*.
374 2023-10-20 Andrew Stubbs <ams@codesourcery.com>
376 * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Set false for __RDNA2__.
378 2023-10-20 Alexandre Oliva <oliva@adacore.com>
380 * Makefile.in (LIB2ADD): Add hardcfr.c.
383 2023-10-13 Florian Weimer <fweimer@redhat.com>
385 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Add
388 2023-10-13 Florian Weimer <fweimer@redhat.com>
390 * config/arc/linux-unwind.h (arc_fallback_frame_state): Add
393 2023-10-13 Florian Weimer <fweimer@redhat.com>
395 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Add
398 2023-10-13 Florian Weimer <fweimer@redhat.com>
400 * config/csky/linux-unwind.h (csky_fallback_frame_state): Add
403 2023-10-13 Florian Weimer <fweimer@redhat.com>
405 * config/m68k/fpgnulib.c (__cmpdf2): Declare.
407 2023-09-26 Wilco Dijkstra <wilco.dijkstra@arm.com>
409 * config/aarch64/lse.S (BTI_C): Remove define.
411 2023-09-20 Pekka Seppänen <pexu@gcc.mail.kapsi.fi>
413 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key):
414 Use const unsigned type and a builtin.
416 2023-09-06 Jakub Jelinek <jakub@redhat.com>
419 * libgcc2.c (bitint_negate): Add function comment.
420 * soft-fp/bitint.h (bitint_negate): Add function comment.
421 (FP_TO_BITINT, FP_FROM_BITINT): Add comment explaining the macros.
423 2023-09-06 Jakub Jelinek <jakub@redhat.com>
426 * config/aarch64/t-softfp (softfp_extras): Use += rather than :=.
427 * config/i386/64/t-softfp (softfp_extras): Likewise.
428 * config/i386/libgcc-glibc.ver (GCC_14.0.0): Export _BitInt support
430 * config/i386/t-softfp (softfp_extras): Add fixxfbitint and
431 bf, hf and xf mode floatbitint.
432 (CFLAGS-floatbitintbf.c, CFLAGS-floatbitinthf.c): Add -msse2.
433 * config/riscv/t-softfp32 (softfp_extras): Use += rather than :=.
434 * config/rs6000/t-e500v1-fp (softfp_extras): Likewise.
435 * config/rs6000/t-e500v2-fp (softfp_extras): Likewise.
436 * config/t-softfp (softfp_floatbitint_funcs): New.
437 (softfp_bid_list): New.
438 (softfp_func_list): Add sf and df mode from and to _BitInt libcalls.
439 (softfp_bid_file_list): New.
440 (LIB2ADD_ST): Add $(softfp_bid_file_list).
441 * config/t-softfp-sfdftf (softfp_extras): Add fixtfbitint and
443 * config/t-softfp-tf (softfp_extras): Likewise.
444 * libgcc2.c (bitint_reduce_prec): New inline function.
445 (BITINT_INC, BITINT_END): Define.
446 (bitint_mul_1, bitint_addmul_1): New helper functions.
447 (__mulbitint3): New function.
448 (bitint_negate, bitint_submul_1): New helper functions.
449 (__divmodbitint4): New function.
450 * libgcc2.h (LIBGCC2_UNITS_PER_WORD): When building _BitInt support
451 libcalls, redefine depending on __LIBGCC_BITINT_LIMB_WIDTH__.
452 (__mulbitint3, __divmodbitint4): Declare.
453 * libgcc-std.ver.in (GCC_14.0.0): Export _BitInt support routines.
454 * Makefile.in (lib2funcs): Add _mulbitint3.
455 (LIB2_DIVMOD_FUNCS): Add _divmodbitint4.
456 * soft-fp/bitint.h: New file.
457 * soft-fp/fixdfbitint.c: New file.
458 * soft-fp/fixsfbitint.c: New file.
459 * soft-fp/fixtfbitint.c: New file.
460 * soft-fp/fixxfbitint.c: New file.
461 * soft-fp/floatbitintbf.c: New file.
462 * soft-fp/floatbitintdf.c: New file.
463 * soft-fp/floatbitinthf.c: New file.
464 * soft-fp/floatbitintsf.c: New file.
465 * soft-fp/floatbitinttf.c: New file.
466 * soft-fp/floatbitintxf.c: New file.
467 * soft-fp/op-common.h (_FP_FROM_INT): Add support for rsize up to
468 4 * _FP_W_TYPE_SIZE rather than just 2 * _FP_W_TYPE_SIZE.
469 * soft-fp/bitintpow10.c: New file.
470 * soft-fp/fixsdbitint.c: New file.
471 * soft-fp/fixddbitint.c: New file.
472 * soft-fp/fixtdbitint.c: New file.
473 * soft-fp/floatbitintsd.c: New file.
474 * soft-fp/floatbitintdd.c: New file.
475 * soft-fp/floatbitinttd.c: New file.
477 2023-09-06 Jakub Jelinek <jakub@redhat.com>
480 * soft-fp/bitintpow10.h: New file.
482 2023-09-05 Yang Yujie <yangyujie@loongson.cn>
484 * config.host: add loongarch*-elf target.
486 2023-08-11 Thomas Neumann <thomas.neumann@in.tum.de>
489 * unwind-dw2-fde.c: Associate object with address of unwinding
492 2023-08-07 John Ericson <git@JohnEricson.me>
494 * configure: Regenerate.
496 2023-08-07 Alan Modra <amodra@gmail.com>
498 * configure: Regenerate.
500 2023-07-23 Andrew Pinski <apinski@marvell.com>
502 * config.host (riscv*-*-linux*): Add t-crtstuff to tmake_file.
503 (riscv*-*-freebsd*): Likewise.
504 * config/riscv/t-crtstuff: New file.
506 2023-07-19 liuhongt <hongtao.liu@intel.com>
508 * config/i386/t-softfp: Add -msse2 to libbid HFtype related
511 2023-07-11 Florian Weimer <fweimer@redhat.com>
514 * unwind-dw2-fde-dip.c (find_fde_tail): Add cast to avoid
515 implicit conversion of pointer value to integer.
517 2023-07-06 Kito Cheng <kito.cheng@sifive.com>
519 * config/riscv/sfp-machine.h (FP_INIT_ROUNDMODE): Check zfinx.
520 (FP_HANDLE_EXCEPTIONS): Ditto.
522 2023-06-19 Andrew Stubbs <ams@codesourcery.com>
524 * config/gcn/lib2-divmod-di.c: Reimplement like lib2-divmod.c.
525 * config/gcn/lib2-divmod.c: Likewise.
526 * config/gcn/lib2-gcn.h: Add new types and prototypes for all the
528 * config/gcn/t-amdgcn: Add new files.
529 * config/gcn/amdgcn_veclib.h: New file.
530 * config/gcn/lib2-vec_divmod-di.c: New file.
531 * config/gcn/lib2-vec_divmod-hi.c: New file.
532 * config/gcn/lib2-vec_divmod-qi.c: New file.
533 * config/gcn/lib2-vec_divmod.c: New file.
535 2023-06-19 Andrew Stubbs <ams@codesourcery.com>
537 * config/gcn/lib2-gcn.h (QItype, UQItype, HItype, UHItype): Delete.
538 (__divhi3, __modhi3, __udivhi3, __umodhi3): Delete.
539 * config/gcn/t-amdgcn: Don't build lib2-divmod-hi.c.
540 * config/gcn/lib2-divmod-hi.c: Removed.
542 2023-06-07 Florian Weimer <fweimer@redhat.com>
545 * unwind-dw2-fde-dip.c (find_fde_tail): Correct fast path for
548 2023-06-05 Kewen Lin <linkw@linux.ibm.com>
550 * config/i386/morestack.S: Use @init_array rather than
551 @progbits for section type of section .init_array.
552 * config/rs6000/morestack.S: Likewise.
553 * config/s390/morestack.S: Likewise.
555 2023-06-05 YunQiang Su <yunqiang.su@cipunited.com>
557 * config/mips/lib1funcs.S: New file.
558 define __speculation_barrier and include mips16.S.
559 * config/mips/t-mips: define LIB1ASMSRC as mips/lib1funcs.S.
560 define LIB1ASMFUNCS as _speculation_barrier.
561 set version info for __speculation_barrier.
562 * config/mips/libgcc-mips.ver: New file.
563 * config/mips/t-mips16: don't define LIB1ASMSRC as mips16.S
564 included in lib1funcs.S now.
566 2023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
569 * unwind-dw2-fde.c: Fix radix sort buffer management.
571 2023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
574 * unwind-dw2-fde.c: Free sort array in atomic fast path.
576 2023-05-19 Iain Sandoe <iain@sandoe.co.uk>
578 * config.host: Arrange to set min Darwin OS versions from
579 the configured host version.
580 * config/darwin10-unwind-find-enc-func.c: Do not use current
581 headers, but declare the nexessary structures locally to the
582 versions in use for Mac OSX 10.6.
583 * config/t-darwin: Amend to handle configured min OS
585 * config/t-darwin-min-1: New.
586 * config/t-darwin-min-5: New.
587 * config/t-darwin-min-8: New.
589 2023-05-15 Thomas Neumann <tneumann@users.sourceforge.net>
591 * unwind-dw2-fde.c: Fix assert in non-atomic path.
593 2023-05-15 Sören Tempel <soeren+git@soeren-tempel.net>
595 * unwind-dw2-fde.c: Accept empty ranges when deregistering frames.
597 2023-05-02 Patrick O'Neill <patrick@rivosinc.com>
599 * config/riscv/atomic.c: Change LR.aq/SC.rl pairs into
600 sequentially consistent LR.aqrl/SC.rl pairs.
602 2023-05-01 Dimitar Dimitrov <dimitar@dinux.eu>
604 * config/pru/t-pru (HOST_LIBGCC2_CFLAGS): Add
605 -DTARGET_HAS_NO_HW_DIVIDE.
607 2023-04-27 Hans-Peter Nilsson <hp@axis.com>
609 * config/cris/t-cris (HOST_LIBGCC2_CFLAGS): Add
610 -DTARGET_HAS_NO_HW_DIVIDE.
612 2023-04-26 Patrick O'Neill <patrick@rivosinc.com>
615 * config/riscv/atomic.c: Add reference to duplicate logic.
617 2023-04-08 Tetsuma Hoshino <t-hoshino@pony-e.jp>
620 * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
623 2023-04-05 John David Anglin <danglin@gcc.gnu.org>
626 * config/pa/milli64.S (RETURN_COLUMN): Define.
627 ($$divI): Add CFI directives.
632 2023-03-19 Stafford Horne <shorne@gmail.com>
634 * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
635 statement clearing existing exceptions.
637 2023-03-13 Max Filippov <jcmvbkbc@gmail.com>
639 * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
640 * config/xtensa/crtn.S: Likewise.
641 * config/xtensa/lib1funcs.S: Likewise.
642 * config/xtensa/lib2funcs.S: Likewise.
644 2023-03-12 Jakub Jelinek <jakub@redhat.com>
646 * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
647 (softfp_truncations): Add tfbf dfbf sfbf hfbf.
648 (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
649 * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
650 __extendbfsf2 and __trunc{s,d,t,h}fbf2.
651 * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
652 * soft-fp/floatundibf.c: New file.
653 * soft-fp/floatdibf.c: New file.
655 2023-03-10 Jakub Jelinek <jakub@redhat.com>
658 * soft-fp/floattibf.c: New file.
659 * soft-fp/floatuntibf.c: New file.
660 * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
661 * config/i386/64/t-softfp (softfp_extras): Add floattibf and
663 (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
665 2023-03-08 Kewen Lin <linkw@linux.ibm.com>
668 * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
671 2023-03-06 Michael Meissner <meissner@linux.ibm.com>
674 * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
675 whether long double is IBM or IEEE.
676 (INFINITY): Likewise.
678 * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
679 (INFINITY): Likewise.
680 * config/rs6000/quad-float128.h (TF): Remove definition.
681 (TFtype): Define to be long double or _Float128.
682 (TCtype): Define to be _Complex long double or _Complex _Float128.
683 * libgcc2.h (TFtype): Allow machine config files to override this.
685 * soft-fp/quad.h (TFtype): Likewise.
687 2023-02-13 Kito Cheng <kito.cheng@sifive.com>
689 * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
690 * config/riscv/value-unwind.h: New.
692 2023-02-03 Christophe Lyon <christophe.lyon@arm.com>
694 * config/arm/pr-support.c (__gnu_unwind_execute): Use
695 TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
697 2023-01-30 Flavio Cruz <flaviocruz@gmail.com>
699 * config.host: Recognize x86_64-*-gnu* targets.
700 * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
703 2023-01-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
705 * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
708 2023-01-23 Andrea Corallo <andrea.corallo@arm.com>
709 Tejas Belagod <tbelagod@arm.com>
710 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
712 * config/arm/pr-support.c (__gnu_unwind_execute): Decode
713 exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
715 * config/arm/unwind-arm.c (struct pseudo_regs): New.
716 (phase1_vrs): Introduce new field to store pseudo-reg state.
717 (phase2_vrs): Likewise.
718 (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
719 (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
720 (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
722 2023-01-18 Wilco Dijkstra <wilco.dijkstra@arm.com>
725 * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
726 * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
727 * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
728 encode the return address signing state.
729 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
730 Check current return address signing state.
731 (aarch64_frob_update_contex): Remove.
733 2023-01-13 John David Anglin <danglin@gcc.gnu.org>
735 * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
737 (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
738 instead of pa/t-hpux and pa/t-pa64.
739 * config/pa/linux-atomic.c: Define u32 type.
740 (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
741 atomic_load_2, atomic_load_4 and atomic_load_8. Update sync
742 defines to use atomic_load calls for type.
743 (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
744 * config/pa/sync-libfuncs.c: New file.
745 * config/pa/t-netbsd (LIB2ADD_ST): Define.
746 * config/pa/t-openbsd (LIB2ADD_ST): Define.
747 * config/pa/t-pa64-hpux: New file.
748 * config/pa/t-pa64-linux: New file.
750 2023-01-13 Jonathan Wakely <jwakely@redhat.com>
753 * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
754 struct matching the previous __gthread_mutex_t struct.
755 (__GTHREAD_LEGACY_MUTEX_T): Define.
757 2023-01-13 Seija Kijin <doremylover456@gmail.com>
759 * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
762 2023-01-07 LIU Hao <lh_mouse@126.com>
765 * config/i386/enable-execute-stack-mingw32.c: Define
766 `WIN32_LEAN_AND_MEAN` before <windows.h>.
767 * libgcc2.c: Likewise.
768 * unwind-generic.h: Likewise.
770 2023-01-03 Florian Weimer <fweimer@redhat.com>
772 * unwind-dw2-execute_cfa.h: New file. Extracted from
773 the execute_cfa_program function in unwind-dw2.c.
774 * unwind-dw2.c (execute_cfa_program_generic): New function.
775 (execute_cfa_program_specialized): Likewise.
776 (execute_cfa_program): Call execute_cfa_program_specialized
777 or execute_cfa_program_generic, as appropriate.
779 2023-01-03 Florian Weimer <fweimer@redhat.com>
782 2023-01-03 Florian Weimer <fweimer@redhat.com>
784 * unwind-dw2.c (dwarf_reg_size): New function.
785 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
786 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
787 (uw_init_context_1): Do not initialize dwarf_reg_size_table
790 2023-01-03 Florian Weimer <fweimer@redhat.com>
793 2023-01-03 Florian Weimer <fweimer@redhat.com>
795 * unwind-dw2-execute_cfa.h: New file. Extracted from
796 the execute_cfa_program function in unwind-dw2.c.
797 * unwind-dw2.c (execute_cfa_program_generic): New function.
798 (execute_cfa_program_specialized): Likewise.
799 (execute_cfa_program): Call execute_cfa_program_specialized
800 or execute_cfa_program_generic, as appropriate.
802 2023-01-02 Florian Weimer <fweimer@redhat.com>
804 * unwind-dw2-execute_cfa.h: New file. Extracted from
805 the execute_cfa_program function in unwind-dw2.c.
806 * unwind-dw2.c (execute_cfa_program_generic): New function.
807 (execute_cfa_program_specialized): Likewise.
808 (execute_cfa_program): Call execute_cfa_program_specialized
809 or execute_cfa_program_generic, as appropriate.
811 2023-01-02 Florian Weimer <fweimer@redhat.com>
813 * unwind-dw2.c (dwarf_reg_size): New function.
814 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
815 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
816 (uw_init_context_1): Do not initialize dwarf_reg_size_table
819 2022-12-25 Jonathan Yong <10walls@gmail.com>
821 * config/i386/gthr-win32.h: undef CC_NONE
823 2022-12-24 Iain Sandoe <iain@sandoe.co.uk>
825 * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
826 install of libgcc_s.1.dylib when the installation is into the build
829 2022-12-23 Eric Botcazou <ebotcazou@adacore.com>
831 * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
832 as well as new i386/t-slibgcc-mingw fragment.
833 (x86_64-*-mingw*): Likewise.
834 * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
835 both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
836 Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
837 Include stdlib.h instead of errno.h and do not include _mingw.h.
838 (CONST_CAST2): Add specific definition for C++.
839 (ATTRIBUTE_UNUSED): New macro.
840 (__UNUSED_PARAM): Delete.
841 Define WIN32_LEAN_AND_MEAN before including windows.h.
842 (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
843 (__gthread_objc_init_thread_system): Likewise.
844 (__gthread_objc_thread_get_data): Minor tweak.
845 (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
846 (__gthread_objc_condition_deallocate): Likewise.
847 (__gthread_objc_condition_wait): Likewise.
848 (__gthread_objc_condition_broadcast): Likewise.
849 (__gthread_objc_condition_signal): Likewise.
851 (__gthr_win32_DWORD): New typedef.
852 (__gthr_win32_HANDLE): Likewise.
853 (__gthr_win32_CRITICAL_SECTION): Likewise.
854 (__gthr_win32_CONDITION_VARIABLE): Likewise.
855 (__gthread_t): Adjust.
856 (__gthread_key_t): Likewise.
857 (__gthread_mutex_t): Likewise.
858 (__gthread_recursive_mutex_t): Likewise.
859 (__gthread_cond_t): New typedef.
860 (__gthread_time_t): Likewise.
861 (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
862 (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
863 (__GTHREAD_COND_INIT_FUNCTION): Define.
864 (__GTHREAD_TIME_INIT): Likewise.
865 (__gthr_i486_lock_cmp_xchg): Delete.
866 (__gthr_win32_create): Declare.
867 (__gthr_win32_join): Likewise.
868 (__gthr_win32_self): Likewise.
869 (__gthr_win32_detach): Likewise.
870 (__gthr_win32_equal): Likewise.
871 (__gthr_win32_yield): Likewise.
872 (__gthr_win32_mutex_destroy): Likewise.
873 (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
874 (__gthr_win32_cond_broadcast): Likewise.
875 (__gthr_win32_cond_signal): Likewise.
876 (__gthr_win32_cond_wait): Likewise.
877 (__gthr_win32_cond_timedwait): Likewise.
878 (__gthr_win32_recursive_mutex_init_function): Delete.
879 (__gthr_win32_recursive_mutex_lock): Likewise.
880 (__gthr_win32_recursive_mutex_unlock): Likewise.
881 (__gthr_win32_recursive_mutex_destroy): Likewise.
882 (__gthread_create): New inline function.
883 (__gthread_join): Likewise.
884 (__gthread_self): Likewise.
885 (__gthread_detach): Likewise.
886 (__gthread_equal): Likewise.
887 (__gthread_yield): Likewise.
888 (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
889 (__gthread_cond_broadcast): Likewise.
890 (__gthread_cond_signal): Likewise.
891 (__gthread_cond_wait): Likewise.
892 (__gthread_cond_timedwait): Likewise.
893 (__GTHREAD_WIN32_INLINE): New macro.
894 (__GTHREAD_WIN32_COND_INLINE): Likewise.
895 (__GTHREAD_WIN32_ACTIVE_P): Likewise.
896 Define WIN32_LEAN_AND_MEAN before including windows.h.
897 (__gthread_once): Minor tweaks.
898 (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
899 (__gthread_key_delete): Minor tweak.
900 (__gthread_getspecific): Likewise.
901 (__gthread_setspecific): Likewise.
902 (__gthread_mutex_init_function): Reimplement.
903 (__gthread_mutex_destroy): Likewise.
904 (__gthread_mutex_lock): Likewise.
905 (__gthread_mutex_trylock): Likewise.
906 (__gthread_mutex_unlock): Likewise.
907 (__gthr_win32_abs_to_rel_time): Declare.
908 (__gthread_recursive_mutex_init_function): Reimplement.
909 (__gthread_recursive_mutex_destroy): Likewise.
910 (__gthread_recursive_mutex_lock): Likewise.
911 (__gthread_recursive_mutex_trylock): Likewise.
912 (__gthread_recursive_mutex_unlock): Likewise.
913 (__gthread_cond_destroy): New inline function.
914 (__gthread_cond_wait_recursive): Likewise.
915 * config/i386/gthr-win32.c: Delete everything.
916 Include gthr-win32.h to get the out-of-line version of inline routines.
917 Add compile-time checks for the local version of the Win32 types.
918 * config/i386/gthr-win32-cond.c: New file.
919 * config/i386/gthr-win32-thread.c: Likewise.
920 * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
921 EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
922 the static version of libgcc.
923 * config/i386/t-slibgcc-mingw: New file.
924 * config/i386/libgcc-mingw.ver: Likewise.
926 2022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
928 * unwind-dw2-fde.c: Initialize fde object lazily when
929 the first exception tries to pass through.
931 2022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
933 * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
935 2022-12-08 Max Filippov <jcmvbkbc@gmail.com>
937 * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
938 (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
939 (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
940 (XSHAL_ABI): Remove stray symbols from macro definitions.
942 2022-12-07 Max Filippov <jcmvbkbc@gmail.com>
944 * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
945 xtensa-config-builtin.h.
946 * config/xtensa/crtn.S: Likewise.
947 * config/xtensa/lib1funcs.S: Likewise.
948 * config/xtensa/lib2funcs.S: Likewise.
949 * config/xtensa/xtensa-config-builtin.h: New File.
951 2022-11-04 Florian Weimer <fweimer@redhat.com>
953 * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
954 values actually used by BFD ld.
956 2022-10-23 LIU Hao <lh_mouse@126.com>
958 * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
959 libobjc, instead of 'gthr.h'
961 2022-10-19 LIU Hao <lh_mouse@126.com>
963 * config.host: Add new cases for `mcf` thread model
964 * config/i386/gthr-mcf.h: New file
965 * config/i386/t-mingw-mcfgthread: New file
966 * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
967 * configure: Regenerate
969 2022-10-18 Jonathan Wakely <jwakely@redhat.com>
971 * Makefile.in: Quote variable.
973 2022-10-17 H.J. Lu <hjl.tools@gmail.com>
975 * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
977 * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
978 _Unwind_Frames_Increment.
979 (_Unwind_ForcedUnwind_Phase2): Likewise.
980 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
981 Take the EXC argument. Return _URC_FATAL_PHASE2_ERROR if the
982 return address on normal stack doesn't match the return address
985 2022-10-17 Florian Weimer <fweimer@redhat.com>
987 * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
990 2022-10-14 Jakub Jelinek <jakub@redhat.com>
992 * config/i386/t-softfp (softfp_extensions): Add bfsf.
993 (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
994 (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
995 CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
997 * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
998 __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
999 * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
1000 * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
1001 * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
1002 * soft-fp/brain.h: New file.
1003 * soft-fp/truncsfbf2.c: New file.
1004 * soft-fp/truncdfbf2.c: New file.
1005 * soft-fp/truncxfbf2.c: New file.
1006 * soft-fp/trunctfbf2.c: New file.
1007 * soft-fp/trunchfbf2.c: New file.
1008 * soft-fp/truncbfhf2.c: New file.
1009 * soft-fp/extendbfsf2.c: New file.
1011 2022-10-12 Martin Liska <mliska@suse.cz>
1013 * libgcov-driver.c: Use new function.
1014 * libgcov.h (gcov_write_summary): Rename to ...
1015 (gcov_write_object_summary): ... this.
1017 2022-10-11 Olivier Hainque <hainque@adacore.com>
1019 * config.host (*vxworks*): When enable_shared, add
1020 libgcc and crtstuff "shared" fragments for rtp except
1022 (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
1023 the list of fragments.
1025 2022-10-06 Jakub Jelinek <jakub@redhat.com>
1027 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1028 fs->regs.how[X] instead of fs->regs.reg[X].how.
1030 2022-10-06 Jakub Jelinek <jakub@redhat.com>
1032 * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
1033 REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
1034 REG_UNDEFINED): New anonymous enum, moved from inside of
1035 struct frame_state_reg_info.
1036 (struct frame_state_reg_info): Remove reg[].how element and the
1037 anonymous enum there. Add how element.
1038 * unwind-dw2.c: Include stddef.h.
1039 (uw_frame_state_for): Don't clear first
1040 offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
1041 (execute_cfa_program, __frame_state_for, uw_update_context_1,
1042 uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
1043 or fs.regs.how[X] instead of fs.regs.reg[X].how.
1044 * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
1045 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
1046 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
1047 * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
1048 UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
1050 * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
1052 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
1053 * config/arc/linux-unwind.h (arc_fallback_frame_state,
1054 arc_frob_update_context): Likewise.
1055 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
1056 * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
1057 * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
1058 * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
1059 * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
1060 * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
1061 MD_FALLBACK_FRAME_STATE_FOR): Likewise.
1062 * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
1063 sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
1064 * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
1065 x86_fallback_frame_state): Likewise.
1066 * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
1067 * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1068 x86_fallback_frame_state): Likewise.
1069 * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
1071 * config/i386/dragonfly-unwind.h
1072 (x86_64_dragonfly_fallback_frame_state): Likewise.
1073 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
1074 * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
1075 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
1077 * config/aarch64/freebsd-unwind.h
1078 (aarch64_freebsd_fallback_frame_state): Likewise.
1079 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1081 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
1082 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
1083 * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
1085 * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
1086 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1088 * config/rs6000/darwin-fallback.c (set_offset): Likewise.
1089 * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
1090 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
1091 * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
1093 2022-10-02 Olivier Hainque <hainque@adacore.com>
1095 * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment. Move
1096 -I options for gcc/include and gcc/include-fixed at the end
1097 and make them -isystem.
1099 2022-10-02 Olivier Hainque <hainque@adacore.com>
1101 * config/gthr-vxworks.h: Prevent Wpragma warning for the
1102 pragma diagnostics on Wstrict-prototypes.
1104 2022-09-29 Olivier Hainque <hainque@adacore.com>
1106 * config/vxcrtstuff.c: Improve the comment attached to the use
1107 of auto-host.h and of __dso_handle. Remove redundant guard on
1108 HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
1110 2022-09-26 Thomas Neumann <tneumann@users.sourceforge.net>
1112 * unwind-dw2-fde.c: Introduce a constant for in_shutdown
1113 for the non-fast-path case. Drop destructor priority.
1115 2022-09-22 Thomas Neumann <tneumann@users.sourceforge.net>
1117 * unwind-dw2-fde.c: (release_register_frames) Remember
1118 when the btree has been destroyed.
1119 (__deregister_frame_info_bases) Disable the assert when
1122 2022-09-18 Thomas Neumann <tneumann@users.sourceforge.net>
1124 * unwind-dw2-fde.c: Replace uintptr_t with typedef
1125 for __UINTPTR_TYPE__.
1126 * unwind-dw2-btree.h: Likewise.
1128 2022-09-16 Thomas Neumann <tneumann@users.sourceforge.net>
1130 * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
1131 (__register_frame_info_table_bases): Use btree in atomic fast path.
1132 (__deregister_frame_info_bases): Likewise.
1133 (_Unwind_Find_FDE): Likewise.
1134 (base_from_object): Make parameter const.
1135 (classify_object_over_fdes): Add query-only mode.
1136 (get_pc_range): Compute PC range for lookup.
1137 * unwind-dw2-fde.h (last_fde): Make parameter const.
1138 * unwind-dw2-btree.h: New file.
1140 2022-08-31 Martin Liska <mliska@suse.cz>
1142 * config.host: Remove hppa.
1144 2022-08-30 Martin Liska <mliska@suse.cz>
1146 * config.host: Remove the port.
1148 2022-08-26 Martin Liska <mliska@suse.cz>
1150 * config.host: Remove cr16 related stuff.
1151 * config/cr16/crti.S: Removed.
1152 * config/cr16/crtlibid.S: Removed.
1153 * config/cr16/crtn.S: Removed.
1154 * config/cr16/divmodhi3.c: Removed.
1155 * config/cr16/lib1funcs.S: Removed.
1156 * config/cr16/t-cr16: Removed.
1157 * config/cr16/t-crtlibid: Removed.
1158 * config/cr16/unwind-cr16.c: Removed.
1159 * config/cr16/unwind-dw2.h: Removed.
1161 2022-08-16 Kito Cheng <kito.cheng@sifive.com>
1163 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
1164 (_FP_NANFRAC_H): Ditto.
1165 (_FP_NANSIGN_H): Ditto.
1166 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
1168 (softfp_truncations): Ditto.
1169 (softfp_extras): Ditto.
1170 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
1172 2022-08-16 Kito Cheng <kito.cheng@sifive.com>
1174 * soft-fp/fixhfdi.c: New.
1175 * soft-fp/fixhfsi.c: Likewise.
1176 * soft-fp/fixunshfdi.c: Likewise.
1177 * soft-fp/fixunshfsi.c: Likewise.
1178 * soft-fp/floatdihf.c: Likewise.
1179 * soft-fp/floatsihf.c: Likewise.
1180 * soft-fp/floatundihf.c: Likewise.
1181 * soft-fp/floatunsihf.c: Likewise.
1182 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
1183 lines and update URL for license.
1184 * soft-fp/addsf3.c: Likewise.
1185 * soft-fp/addtf3.c: Likewise.
1186 * soft-fp/divdf3.c: Likewise.
1187 * soft-fp/divsf3.c: Likewise.
1188 * soft-fp/divtf3.c: Likewise.
1189 * soft-fp/double.h: Likewise.
1190 * soft-fp/eqdf2.c: Likewise.
1191 * soft-fp/eqhf2.c: Likewise.
1192 * soft-fp/eqsf2.c: Likewise.
1193 * soft-fp/eqtf2.c: Likewise.
1194 * soft-fp/extenddftf2.c: Likewise.
1195 * soft-fp/extended.h: Likewise.
1196 * soft-fp/extendhfdf2.c: Likewise.
1197 * soft-fp/extendhfsf2.c: Likewise.
1198 * soft-fp/extendhftf2.c: Likewise.
1199 * soft-fp/extendhfxf2.c: Likewise.
1200 * soft-fp/extendsfdf2.c: Likewise.
1201 * soft-fp/extendsftf2.c: Likewise.
1202 * soft-fp/extendxftf2.c: Likewise.
1203 * soft-fp/fixdfdi.c: Likewise.
1204 * soft-fp/fixdfsi.c: Likewise.
1205 * soft-fp/fixdfti.c: Likewise.
1206 * soft-fp/fixhfti.c: Likewise.
1207 * soft-fp/fixsfdi.c: Likewise.
1208 * soft-fp/fixsfsi.c: Likewise.
1209 * soft-fp/fixsfti.c: Likewise.
1210 * soft-fp/fixtfdi.c: Likewise.
1211 * soft-fp/fixtfsi.c: Likewise.
1212 * soft-fp/fixtfti.c: Likewise.
1213 * soft-fp/fixunsdfdi.c: Likewise.
1214 * soft-fp/fixunsdfsi.c: Likewise.
1215 * soft-fp/fixunsdfti.c: Likewise.
1216 * soft-fp/fixunshfti.c: Likewise.
1217 * soft-fp/fixunssfdi.c: Likewise.
1218 * soft-fp/fixunssfsi.c: Likewise.
1219 * soft-fp/fixunssfti.c: Likewise.
1220 * soft-fp/fixunstfdi.c: Likewise.
1221 * soft-fp/fixunstfsi.c: Likewise.
1222 * soft-fp/fixunstfti.c: Likewise.
1223 * soft-fp/floatdidf.c: Likewise.
1224 * soft-fp/floatdisf.c: Likewise.
1225 * soft-fp/floatditf.c: Likewise.
1226 * soft-fp/floatsidf.c: Likewise.
1227 * soft-fp/floatsisf.c: Likewise.
1228 * soft-fp/floatsitf.c: Likewise.
1229 * soft-fp/floattidf.c: Likewise.
1230 * soft-fp/floattihf.c: Likewise.
1231 * soft-fp/floattisf.c: Likewise.
1232 * soft-fp/floattitf.c: Likewise.
1233 * soft-fp/floatundidf.c: Likewise.
1234 * soft-fp/floatundisf.c: Likewise.
1235 * soft-fp/floatunditf.c: Likewise.
1236 * soft-fp/floatunsidf.c: Likewise.
1237 * soft-fp/floatunsisf.c: Likewise.
1238 * soft-fp/floatunsitf.c: Likewise.
1239 * soft-fp/floatuntidf.c: Likewise.
1240 * soft-fp/floatuntihf.c: Likewise.
1241 * soft-fp/floatuntisf.c: Likewise.
1242 * soft-fp/floatuntitf.c: Likewise.
1243 * soft-fp/gedf2.c: Likewise.
1244 * soft-fp/gesf2.c: Likewise.
1245 * soft-fp/getf2.c: Likewise.
1246 * soft-fp/half.h: Likewise.
1247 * soft-fp/ledf2.c: Likewise.
1248 * soft-fp/lesf2.c: Likewise.
1249 * soft-fp/letf2.c: Likewise.
1250 * soft-fp/muldf3.c: Likewise.
1251 * soft-fp/mulsf3.c: Likewise.
1252 * soft-fp/multf3.c: Likewise.
1253 * soft-fp/negdf2.c: Likewise.
1254 * soft-fp/negsf2.c: Likewise.
1255 * soft-fp/negtf2.c: Likewise.
1256 * soft-fp/op-1.h: Likewise.
1257 * soft-fp/op-2.h: Likewise.
1258 * soft-fp/op-4.h: Likewise.
1259 * soft-fp/op-8.h: Likewise.
1260 * soft-fp/op-common.h: Likewise.
1261 * soft-fp/quad.h: Likewise.
1262 * soft-fp/single.h: Likewise.
1263 * soft-fp/soft-fp.h: Likewise.
1264 * soft-fp/subdf3.c: Likewise.
1265 * soft-fp/subsf3.c: Likewise.
1266 * soft-fp/subtf3.c: Likewise.
1267 * soft-fp/truncdfhf2.c: Likewise.
1268 * soft-fp/truncdfsf2.c: Likewise.
1269 * soft-fp/truncsfhf2.c: Likewise.
1270 * soft-fp/trunctfdf2.c: Likewise.
1271 * soft-fp/trunctfhf2.c: Likewise.
1272 * soft-fp/trunctfsf2.c: Likewise.
1273 * soft-fp/trunctfxf2.c: Likewise.
1274 * soft-fp/truncxfhf2.c: Likewise.
1275 * soft-fp/unorddf2.c: Likewise.
1276 * soft-fp/unordsf2.c: Likewise.
1277 * soft-fp/unordtf2.c: Likewise.
1279 2022-07-18 Claudiu Zissulescu <claziss@synopsys.com>
1281 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
1282 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
1285 2022-06-25 Jeff Law <jeffreyalaw@gmail.com>
1287 * config.host: Removed tilegx and tilepro entries.
1288 * config/tilegx/sfp-machine.h: Removed.
1289 * config/tilegx/sfp-machine32.h: Removed.
1290 * config/tilegx/sfp-machine64.h: Removed.
1291 * config/tilegx/t-crtstuff: Removed.
1292 * config/tilegx/t-softfp: Removed.
1293 * config/tilegx/t-tilegx: Removed.
1294 * config/tilepro/atomic.c: Removed.
1295 * config/tilepro/atomic.h: Removed.
1296 * config/tilepro/linux-unwind.h: Removed.
1297 * config/tilepro/sfp-machine.h: Removed.
1298 * config/tilepro/softdivide.c: Removed.
1299 * config/tilepro/softmpy.S: Removed.
1300 * config/tilepro/t-crtstuff: Removed.
1301 * config/tilepro/t-tilepro: Removed.
1303 2022-06-09 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
1305 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
1306 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
1308 2022-06-01 H.J. Lu <hjl.tools@gmail.com>
1311 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
1313 2022-05-25 Wilco Dijkstra <wilco.dijkstra@arm.com>
1316 * config/aarch64/lse-init.c: Increase constructor priority.
1318 2022-05-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1321 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1322 Handle the !REG_UNSAVED case.
1323 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
1325 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1327 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
1328 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
1329 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
1331 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1333 * config.host: Add t-dfprules to AArch64 targets.
1335 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1337 * configure: Regenerate.
1339 2022-05-13 Sebastian Pop <spop@amazon.com>
1342 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
1343 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
1345 2022-05-10 Martin Liska <mliska@suse.cz>
1346 Hans-Peter Helfert <peter-helfert@t-online.de>
1348 PR gcov-profile/105535
1349 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
1352 2022-05-02 Martin Liska <mliska@suse.cz>
1354 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
1356 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1358 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
1359 (gcov_profile_merge_stream): Likewise.
1361 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1363 * libgcov-util.c (consume_stream): New.
1364 (get_target_profiles_for_merge): Likewise.
1365 (gcov_profile_merge_stream): Likewise.
1367 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1369 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
1371 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1373 * libgcov-util.c (read_gcda_file): Do not open file.
1374 (ftw_read_file): Open file here.
1376 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1378 * libgcov-util.c (read_gcda_file): Prepend new info object to global
1380 (ftw_read_file): Remove list append here.
1382 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1384 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
1385 (ftw_read_file): Duplicate filename for read_gcda_file().
1387 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1389 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
1390 (__gcov_filename_to_gcfn): Declare and document.
1391 * libgcov-driver.c (dump_string): New.
1392 (__gcov_filename_to_gcfn): Likewise.
1393 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
1395 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1397 * libgcov.h (gcov_seek): Remove define and declaration.
1399 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1401 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
1402 parameter. Pass mode to gcov_open() calls.
1403 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
1404 gcov_exit_open_gcda_file() call.
1405 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
1407 (__gcov_dump_one): Open file for reading and writing.
1409 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1411 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
1412 reading and writing.
1413 * libgcov-util.c (read_gcda_file): Open file for reading.
1414 * libgcov.h (gcov_open): Delete declaration.
1416 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1418 * libgcov-util.c (gcov_profile_merge): Return the list of merged
1419 profiles. Accept empty target and source profile lists.
1421 2022-04-08 Sergei Trofimovich <siarheit@google.com>
1423 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
1425 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
1426 Lulu Cheng <chenglulu@loongson.cn>
1428 * configure: Regenerate file.
1430 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
1431 Lulu Cheng <chenglulu@loongson.cn>
1433 * config/loongarch/crtfastmath.c: New file.
1434 * config/loongarch/linux-unwind.h: Like wise.
1435 * config/loongarch/sfp-machine.h: Like wise.
1436 * config/loongarch/t-crtstuff: Like wise.
1437 * config/loongarch/t-loongarch: Like wise.
1438 * config/loongarch/t-loongarch64: Like wise.
1439 * config/loongarch/t-softfp-tf: Like wise.
1440 * config.host: Add LoongArch tuples.
1441 * configure.ac: Add LoongArch support.
1443 2022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
1446 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
1448 (__udivsi3_internal, __divsi3_internal): Similarly.
1449 (__umodsi3, __modsi3): Use the internal function names.
1451 2022-03-09 Tobias Burnus <tobias@codesourcery.com>
1454 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
1455 a line up to non-arg-dependent value first.
1456 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
1457 __atomic_compare_exchange_{1,2}.
1459 2022-03-04 Iain Sandoe <iain@sandoe.co.uk>
1461 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
1462 * config/t-darwin-ehs: Add dependency on unwind.h.
1464 2022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
1466 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
1467 with 0 instead of NULL.
1469 2022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
1472 * configure.ac: --disable-gcov if targetting bpf-*.
1473 * configure: Regenerate.
1475 2022-01-25 Florian Weimer <fweimer@redhat.com>
1478 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
1480 2022-01-17 Martin Liska <mliska@suse.cz>
1482 * libgcov-driver.c: Rename .c names to .cc.
1484 2022-01-15 David <gccbugzilla@limegreensocks.com>
1486 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
1487 Remove inlined version, Windows 95 is no longer relevant.
1488 * config/i386/gthr-win32.h
1489 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
1491 2022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
1493 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1494 DWARF_ALT_FRAME_RETURN_COLUMN macro.
1496 2022-01-04 Florian Weimer <fweimer@redhat.com>
1498 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
1501 2022-01-02 John David Anglin <danglin@gcc.gnu.org>
1503 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
1504 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
1505 return is not equal _ASM_EFAULT.
1506 (__kernel_cmpxchg2): Likewise.
1508 2021-12-17 Iain Sandoe <iain@sandoe.co.uk>
1510 * config.host: Add shim declaration header to powerpc*-darwin builds.
1511 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
1513 * config/t-darwin-ehs: Add dependencies to the shared unwinder
1515 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
1516 the shared EH lib. Add all-multi to the dependencies for the
1517 libgcc_s.1.dylib redirections.
1519 2021-12-13 Olivier Hainque <hainque@adacore.com>
1521 * config.host (powerpc*-*-vxworks7*): Remove
1522 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
1524 2021-12-13 Olivier Hainque <hainque@adacore.com>
1526 * config.host (*vxworks*): Remove special case for
1527 arm on the use of vxcrtstuff.
1529 2021-12-13 Fred Konrad <konrad@adacore.com>
1530 Olivier Hainque <hainque@adacore.com>
1532 * config/t-vxcrtstuffS: New Makefile fragment.
1533 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
1534 functions for INITFINI_ARRAY support in shared libs and guard
1535 the definition of eh table registration functions on conditions
1536 indicating they are needed.
1538 2021-12-13 Olivier Hainque <hainque@adacore.com>
1540 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
1541 ahead of the other files in tmake_files.
1542 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
1545 2021-12-13 Olivier Hainque <hainque@adacore.com>
1547 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
1548 both VxWorks7 and earlier.
1549 * config/t-vxworks7: Remove.
1550 * config.host: Remove special case for vxworks7.
1552 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1554 * config/vxcrtstuff.c: Make constructor and destructor
1555 functions static when possible.
1557 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1559 * config/vxcrtstuff.c: Remove constructor/destructor
1562 2021-12-10 Iain Sandoe <iain@sandoe.co.uk>
1564 * config/t-darwin: Add libgcc_tm.h to the dependencies
1565 for darwin10-unwind-find-enc-func.
1567 2021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1569 * config/rs6000/t-vxworks: New file.
1570 * config.host (powerpc*-*-vxworks*): Use it instead of
1573 2021-12-09 Fred Konrad <konrad@adacore.com>
1575 * config.host (powerpc*-wrs-vxworks7*): Fix path to
1576 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
1578 2021-12-09 Olivier Hainque <hainque@adacore.com>
1579 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1581 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
1582 $(LIBGCC2_INCLUDES).
1583 * config/t-vxworks7: Likewise.
1585 2021-12-08 Iain Sandoe <iain@sandoe.co.uk>
1587 * config.host (*-*-darwin*): Add logic to build a shared
1588 unwinder library for Darwin8-10.
1589 * config/i386/t-darwin: Build legacy libgcc_s.1.
1590 * config/rs6000/t-darwin: Likewise.
1591 * config/t-darwin: Reorganise the EH fragments to place
1592 them for inclusion in a shared EH lib.
1593 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
1594 the supporting pieces (all FAT libs).
1595 * config/t-darwin-noeh: Removed.
1596 * config/darwin-unwind.ver: New file.
1597 * config/rs6000/t-darwin-ehs: New file.
1598 * config/t-darwin-ehs: New file.
1600 2021-12-06 Nelson Chu <nelson.chu@sifive.com>
1602 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
1603 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
1604 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
1607 2021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1609 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
1610 ssize_t and vfork after including auto-host.h.
1612 2021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1614 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
1615 crtend.o to extra_parts.
1617 2021-11-27 John David Anglin <danglin@gcc.gnu.org>
1619 * config/pa/t-dimode (lib2difuncs): Fix typo.
1621 2021-11-25 Florian Weimer <fweimer@redhat.com>
1623 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
1625 (find_fde_tail): New function. Split from
1626 _Unwind_IteratePhdrCallback. Move the result initialization
1627 from _Unwind_Find_FDE.
1628 (_Unwind_Find_FDE): Updated to call find_fde_tail.
1630 2021-11-22 Florian Weimer <fweimer@redhat.com>
1632 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
1633 (struct unw_eh_callback_data): Make dbase member conditional.
1634 (unw_eh_callback_data_dbase): New function.
1635 (base_from_cb_data): Simplify for the non-dbase case.
1636 (_Unwind_IteratePhdrCallback): Adjust.
1637 (_Unwind_Find_FDE): Likewise.
1639 2021-11-22 Florian Weimer <fweimer@redhat.com>
1641 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
1643 (base_from_cb_data): Adjust.
1644 (_Unwind_IteratePhdrCallback): Likewise.
1645 (_Unwind_Find_FDE): Likewise.
1647 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1649 * config.host: Add weak emutls crt to the extra_parts.
1650 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1652 * config/libgcc-libsystem.ver: Add exclude list for the system-
1654 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1655 * config/i386/libgcc-darwin.10.4.ver: Removed.
1656 * config/i386/libgcc-darwin.10.5.ver: Removed.
1657 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1658 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1659 * config/t-darwin-noeh: New file.
1661 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1663 * config/t-darwin: Build weak-defined emutls objects.
1664 * emutls.c (__emutls_get_address): Add optional attributes.
1665 (__emutls_register_common): Likewise.
1668 2021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1671 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1672 called with a null argument or at the end of the backtrace and return.
1673 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1675 2021-11-10 Jakub Jelinek <jakub@redhat.com>
1677 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1680 2021-11-05 Iain Sandoe <iain@sandoe.co.uk>
1682 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1683 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1685 2021-11-05 John David Anglin <danglin@gcc.gnu.org>
1688 * config.host (hppa*64*-*-linux*): Revise tmake_file.
1689 (hppa*64*-*-hpux11*): Likewise.
1690 * config/pa/sfp-exceptions.c: New.
1691 * config/pa/sfp-machine.h: New.
1692 * config/pa/t-dimode: New.
1693 * config/pa/t-softfp-sfdftf: New.
1695 2021-10-27 John David Anglin <danglin@gcc.gnu.org>
1697 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1699 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1700 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1701 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1702 * config/pa/t-linux64 (LIB1ASMSRC): New define.
1703 (LIB1ASMFUNCS): Revise.
1704 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1706 2021-10-22 Stafford Horne <shorne@gmail.com>
1708 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1711 2021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1713 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1714 outside of get_regs() in order to use it in another function, this
1715 is done twice: for __powerpc64__ and for !__powerpc64__.
1716 (struct trace_arg): New struct.
1717 (struct layout): New struct.
1718 (ppc_backchain_fallback): New function.
1719 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1720 state and call MD_BACKCHAIN_FALLBACK.
1722 2021-10-13 Martin Liska <mliska@suse.cz>
1724 PR gcov-profile/90364
1725 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1727 (write_one_data): Write also checksum.
1728 * libgcov-util.c (read_gcda_file): Read also checksum field.
1729 * libgcov.h (struct gcov_info): Add new field.
1731 2021-10-08 Ian Lance Taylor <iant@golang.org>
1733 * config/i386/morestack.S: Use .init_array for constructor if
1735 * config/rs6000/morestack.S: Likewise.
1736 * config/s390/morestack.S: Likewise.
1738 2021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1741 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1742 Use more correct values for native IBM 128-bit.
1744 2021-09-28 Iain Sandoe <iain@sandoe.co.uk>
1746 * config/i386/libgcc-darwin.ver: Add Symbols for
1747 __cpu_model, __cpu_indicator_init.
1749 2021-09-22 Iain Sandoe <iain@sandoe.co.uk>
1751 * config/i386/sfp-machine.h: Guard Mach-O-specific code
1754 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1756 * config/t-slibgcc-darwin: Delete unused code.
1758 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1760 * config/i386/t-darwin: Add in a vers file for X86-specific
1762 * config/t-darwin: Add the generic symbol maps here...
1763 * config/t-slibgcc-darwin: ... removing from here.
1764 * config/i386/libgcc-darwin.ver: New file.
1766 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1768 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1771 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1773 * config.host: Use convenience library for Darwin10
1775 * config/t-darwin: Build Darwin10 unwinder shim as a
1776 convenience library.
1778 2021-09-13 Andrew Pinski <apinski@marvell.com>
1780 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1781 * config/m32r/libgcc-glibc.ver: Removed.
1782 * config/m32r/t-linux: Removed.
1784 2021-09-08 liuhongt <hongtao.liu@intel.com>
1786 * config/i386/t-softfp: Compile __{mul,div}hc3 into
1789 2021-09-08 Jakub Jelinek <jakub@redhat.com>
1790 Iain Sandoe <iain@sandoe.co.uk>
1792 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1793 and export *hf* and *hc* functions at GCC_12.0.0.
1795 2021-09-06 liuhongt <hongtao.liu@intel.com>
1797 * Makefile.in: Adjust to support specific CFLAGS for each
1799 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1800 related libgcc source files.
1801 * config/i386/t-softfp: Ditto.
1802 * config/i386/_divhc3.c: New file.
1803 * config/i386/_mulhc3.c: New file.
1805 2021-09-03 Iain Sandoe <iain@sandoe.co.uk>
1807 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1808 alias_DFtype, alias_TFtype): New.
1809 (ALIAS_SELECTOR): New.
1810 (strong_alias): Use __typeof and a _Generic selector to
1811 provide the type to the synthesized function.
1813 2021-09-02 liuhongt <hongtao.liu@intel.com>
1815 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1816 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1817 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1818 * config/i386/t-softfp: Add hf soft-fp.
1819 * config.host: Add i386/64/t-softfp.
1820 * config/i386/64/t-softfp: New file.
1822 2021-09-02 liuhongt <hongtao.liu@intel.com>
1824 * soft-fp/eqhf2.c: New file.
1825 * soft-fp/extendhfdf2.c: New file.
1826 * soft-fp/extendhfsf2.c: New file.
1827 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1828 * soft-fp/truncdfhf2.c: New file
1829 * soft-fp/truncsfhf2.c: New file
1831 2021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
1833 * unwind-arm-common.inc (abort): Remove.
1835 2021-08-31 Richard Sandiford <richard.sandiford@arm.com>
1837 * config/aarch64/value-unwind.h: Add missing runtime exception
1839 * config/frv/frv-abi.h: Likewise.
1840 * config/i386/value-unwind.h: Likewise.
1841 * config/pa/pa64-hpux-lib.h: Likewise.
1843 2021-08-26 David Edelsohn <dje.gcc@gmail.com>
1845 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1847 (__gcc_qadd): Call ldouble_qadd_internal.
1848 (__gcc_qsub): Call ldouble_qadd_internal with second long double
1851 2021-08-26 Jonathan Yong <10walls@gmail.com>
1853 * config/i386/cygming-crtend.c: Fix register_frame_ctor
1854 and register_frame_dtor warnings.
1856 2021-08-24 Richard Earnshaw <rearnsha@arm.com>
1859 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1860 Add vlldm erratum work-around.
1862 2021-08-21 John David Anglin <danglin@gcc.gnu.org>
1864 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1866 2021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
1868 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1869 (gcov_type_unsigned): Likewise.
1871 2021-08-14 Stafford Horne <shorne@gmail.com>
1874 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
1875 * config/or1k/t-crtstuff: New file.
1877 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1879 * libgcov-driver.c (#include <stdint.h>): Remove.
1880 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
1882 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1884 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
1885 * gcov.h (gcov_info): Declare.
1886 (__gcov_info_to_gdca): Likewise.
1887 * libgcov.h (gcov_write_counter): Remove.
1888 (gcov_write_tag_length): Likewise.
1889 * libgcov-driver.c (#include <stdint.h>): New.
1890 (#include <string.h>): Remove.
1891 (NEED_L_GCOV): Conditionally define.
1892 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
1893 (are_all_counters_zero): New.
1894 (gcov_dump_handler): Likewise.
1895 (gcov_allocate_handler): Likewise.
1896 (dump_unsigned): Likewise.
1897 (dump_counter): Likewise.
1898 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
1899 Use dump_unsigned() and dump_counter().
1900 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
1901 dump_unsigned(), dump_counter(), and are_all_counters_zero().
1902 (__gcov_info_to_gcda): New.
1904 2021-08-05 Jakub Jelinek <jakub@redhat.com>
1906 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
1907 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
1908 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
1909 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
1911 2021-08-04 Jakub Jelinek <jakub@redhat.com>
1913 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
1915 2021-07-15 Alan Modra <amodra@gmail.com>
1917 * config/rs6000/morestack.S (R2_SAVE): Define.
1918 (__morestack): Save and restore r2. Set up r2 for called
1921 2021-07-01 H.J. Lu <hjl.tools@gmail.com>
1923 * soft-fp/extendhfxf2.c: New file.
1924 * soft-fp/truncxfhf2.c: Likewise.
1926 2021-06-29 Julian Brown <julian@codesourcery.com>
1928 * config/gcn/lib2-bswapti2.c: New file.
1929 * config/gcn/lib2-divmod-di.c: New file.
1930 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
1932 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
1933 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
1936 2021-06-29 Julian Brown <julian@codesourcery.com>
1938 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
1939 return types to USItype.
1940 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1942 2021-06-23 Kewen Lin <linkw@linux.ibm.com>
1944 * configure: Regenerate.
1945 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1946 typos among the name, CFLAGS and the test.
1947 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
1948 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
1950 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
1951 macro FLOAT128_HW_INSNS_ISA3_1.
1952 (FP128_3_1_CFLAGS_HW): Fix option typo.
1953 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
1954 FLOAT128_HW_INSNS_ISA3_1.
1955 (__floattikf_resolve): Likewise.
1956 (__floatuntikf_resolve): Likewise.
1957 (__fixkfti_resolve): Likewise.
1958 (__fixunskfti_resolve): Likewise.
1959 (__floattikf): Likewise.
1960 (__floatuntikf): Likewise.
1961 (__fixkfti): Likewise.
1962 (__fixunskfti): Likewise.
1964 2021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1967 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
1969 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
1970 on passing -mcmse option.
1972 2021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
1974 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
1977 2021-06-09 Carl Love <cel@us.ibm.com>
1979 * config.host: Add if test and set for
1980 libgcc_cv_powerpc_3_1_float128_hw.
1981 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
1982 Change calls of __fixkfti to __fixkfti_sw.
1983 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
1984 Change calls of __fixunskfti to __fixunskfti_sw.
1985 * config/rs6000/float128-p10.c (__floattikf_hw,
1986 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
1987 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
1988 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
1989 __fixunskfti_resolve): Add resolve functions.
1990 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
1991 * config/rs6000/float128-sed (floattitf, __floatuntitf,
1992 __fixtfti, __fixunstfti): Add editor commands to change names.
1993 * config/rs6000/float128-sed-hw (__floattitf,
1994 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
1996 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
1997 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
1998 * config/rs6000/quad-float128.h (__floattikf_sw,
1999 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
2000 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
2001 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
2002 * config/rs6000/t-float128 (floattikf, floatuntikf,
2003 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
2004 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
2005 file names to fp128_ppc_funcs.
2006 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
2007 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
2008 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
2009 * config/rs6000/t-float128-p10-hw: New file.
2010 * configure: Update script for isa 3.1 128-bit float support.
2011 * configure.ac: Add check for 128-bit float hardware support.
2012 * config/rs6000/fixkfti-sw.c: New file.
2013 * config/rs6000/fixunskfti-sw.c: New file.
2014 * config/rs6000/floattikf-sw.c: New file.
2015 * config/rs6000/floatuntikf-sw.c: New file.
2017 2021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
2019 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
2021 2021-05-13 Martin Liska <mliska@suse.cz>
2023 * libgcov-driver.c: Fix GNU coding style.
2025 2021-05-10 Martin Liska <mliska@suse.cz>
2027 * libgcov-driver.c (gcov_version): Use different name that does
2028 not clash with newly introduced macro.
2030 2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
2032 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
2033 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
2034 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
2036 2021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
2038 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
2040 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
2041 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
2043 (__divkc3): Improve complex divide.
2045 2021-04-23 Michael Meissner <meissner@linux.ibm.com>
2048 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
2049 trampoline size comparison in 32-bit by reversing test and
2050 combining load immediate with compare.
2051 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
2052 in 32-bit by reversing test and combining load immediate with
2055 2021-04-05 Florian Weimer <fweimer@redhat.com>
2056 Michael Meissner <meissner@linux.ibm.com>
2058 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
2059 point functions for $(decimal_float) only.
2061 2021-04-03 Jakub Jelinek <jakub@redhat.com>
2064 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
2065 $(objext) instead of $(object). Use _floatunditf instead of
2066 _floatunsditf. Add tf <-> ti conversion objects.
2067 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
2069 2021-03-29 Michael Meissner <meissner@linux.ibm.com>
2071 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
2072 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
2073 (fp128_decstr_objs): Delete.
2074 * dfp-bit.h: Call __sprintfieee128 to do conversions from
2075 _Float128 to a Decimal type. Call __strtoieee128 to do
2076 conversions from a Decimal type to _Float128.
2077 * config/rs6000/_sprintfkf.c: Delete file.
2078 * config/rs6000/_sprintfkf.h: Delete file.
2079 * config/rs6000/_strtokf.c: Delete file.
2080 * config/rs6000/_strtokf.h: Delete file.
2082 2021-03-23 Marcus Comstedt <marcus@mc.pp.se>
2084 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
2087 2021-03-06 Jakub Jelinek <jakub@redhat.com>
2089 PR gcov-profile/99406
2090 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
2091 defined, define these macros if not defined already.
2093 2021-03-04 Martin Liska <mliska@suse.cz>
2095 PR gcov-profile/99105
2096 * libgcov-driver.c (write_top_counters): Rename to ...
2097 (write_topn_counters): ... this.
2098 (write_one_data): Pre-allocate buffer for number of items
2099 in the corresponding linked lists.
2100 * libgcov.h (malloc_mmap): New function.
2101 (allocate_gcov_kvp): Use it.
2103 2021-03-04 Martin Liska <mliska@suse.cz>
2105 PR gcov-profile/99385
2106 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
2108 2021-03-03 Martin Liska <mliska@suse.cz>
2110 PR gcov-profile/97461
2111 * config.in: Regenerate.
2112 * configure: Likewise.
2113 * configure.ac: Check sys/mman.h header file
2114 * libgcov-driver.c (struct gcov_kvp): Remove static
2115 pre-allocated pool and use a dynamic one.
2116 * libgcov.h (MMAP_CHUNK_SIZE): New.
2117 (gcov_counter_add): Use mmap to allocate pool for struct
2120 2021-03-02 Michael Meissner <meissner@linux.ibm.com>
2122 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
2124 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
2126 2021-02-24 Jakub Jelinek <jakub@redhat.com>
2129 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
2130 negation of m in unsigned type.
2132 2021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
2133 Hau Hsu <hsuhau617@gmail.com>
2136 * config/arm/t-arm: Fix cmse support detection.
2138 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
2140 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
2142 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
2144 * config/rs6000/_dd_to_kf.c: New file.
2145 * config/rs6000/_kf_to_dd.c: New file.
2146 * config/rs6000/_kf_to_sd.c: New file.
2147 * config/rs6000/_kf_to_td.c: New file.
2148 * config/rs6000/_sd_to_kf.c: New file.
2149 * config/rs6000/_sprintfkf.c: New file.
2150 * config/rs6000/_sprintfkf.h: New file.
2151 * config/rs6000/_strtokf.h: New file.
2152 * config/rs6000/_strtokf.c: New file.
2153 * config/rs6000/_td_to_kf.c: New file.
2154 * config/rs6000/quad-float128.h: Add new declarations.
2155 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
2156 (fp128_decstr_funcs): New macro.
2157 (ibm128_dec_funcs): New macro.
2158 (fp128_ppc_funcs): Add the new conversions.
2159 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
2160 compiled with -mabi=ieeelongdouble.
2161 (fp128_decstr_objs): Force __float128 <-> string conversions to be
2162 compiled with -mabi=ibmlongdouble.
2163 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
2164 compiled with -mabi=ieeelongdouble.
2165 (FP128_CFLAGS_DECIMAL): New macro.
2166 (IBM128_CFLAGS_DECIMAL): New macro.
2167 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
2168 (BFP_TO_DFP): Add PowerPC _Float128 support.
2169 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
2170 IEEE 128-bit floating point.
2171 (DFP_TO_BFP): Add PowerPC _Float128 support.
2172 (BFP_TO_DFP): Add PowerPC _Float128 support.
2173 (BFP_SPRINTF): New macro.
2175 2021-01-27 Jakub Jelinek <jakub@redhat.com>
2177 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
2178 * config/i386/savms64f.h: Likewise.
2179 * config/i386/resms64.h: Likewise.
2180 * config/i386/resms64f.h: Likewise.
2181 * config/i386/resms64x.h: Likewise.
2182 * config/i386/resms64fx.h: Likewise.
2184 2021-01-26 Martin Liska <mliska@suse.cz>
2186 PR gcov-profile/98739
2187 * libgcov.h (gcov_topn_add_value): Do not train when
2188 we have a merged profile with a negative number of total
2191 2021-01-25 Martin Liska <mliska@suse.cz>
2193 PR gcov-profile/98739
2194 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
2195 ends with a dropped counter.
2196 * libgcov.h (gcov_topn_add_value): Add return value.
2198 2021-01-13 Stafford Horne <shorne@gmail.com>
2200 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
2201 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
2202 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
2203 FP_EX_ALL): New constant macros.
2204 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
2205 FP_HANDLE_EXCEPTIONS): New macros.
2206 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
2208 2021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
2210 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
2211 posix siginfo case to struct handler_args. Detect between legacy
2212 and siginfo from the second parameter, which is a small sigcode in
2213 the legacy case, and a pointer in the siginfo case.
2215 2020-12-20 Max Filippov <jcmvbkbc@gmail.com>
2217 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
2219 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
2222 2020-12-08 Ian Lance Taylor <iant@golang.org>
2224 * generic-morestack-thread.c (free_segments): Block signals during
2227 2020-12-03 Michael Meissner <meissner@linux.ibm.com>
2231 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
2232 (IBM128_SHARED_OBJS): New make variable.
2233 (IBM128_OBJS): New make variable. Set all objects to use the
2234 explicit IBM format, and disable gnu attributes.
2235 (IBM128_CFLAGS): New make variable.
2236 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
2239 2020-12-03 Alexandre Oliva <oliva@adacore.com>
2241 * config/t-vxworks (LIB2ADD): Drop.
2242 * config/t-vxworks7 (LIB2ADD): Likewise.
2243 * config/vxcache.c: Remove.
2245 2020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
2247 * libgcc2.c (bswapsi2): Make constants unsigned.
2249 2020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
2251 * libgcc2.c (absvSI2): Simplify/improve implementation by using
2252 builtin_add_overflow.
2253 (absvsi2, absvDI2): Likewise.
2255 2020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
2257 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
2258 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
2260 2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2262 * config/msp430/lib2hw_mul.S (mult64_hw): New.
2263 (if MUL_32): Use mult64_hw for __muldi3.
2264 (if MUL_F5): Use mult64_hw for __muldi3.
2265 * config/msp430/lib2mul.c (__muldi3): New.
2266 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
2268 2020-11-17 Alan Modra <amodra@gmail.com>
2270 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
2271 (LIB2_SIDITI_CONV_FUNCS): Define.
2272 * config/rs6000/ppc64-fp.c: Delete file.
2274 2020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2276 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
2277 hwmult library functions.
2279 2020-11-10 Jeff Law <law@redhat.com>
2281 * libgcc2.c: Fix whitespace issues in most recent change.
2283 2020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
2285 * libgcc2.c (__addvSI3): Use overflow builtins.
2286 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
2287 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
2288 (__negvsi2, __negvDI2): Likewise.
2289 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
2291 * libgcc2.h (__ucmpdi2): Adjust prototype.
2293 2020-11-03 Pat Bernardi <bernardi@adacore.com>
2294 Olivier Hainque <hainque@adacore.com>
2296 * config.host (aarch64-vxworks7*, tmake_file): Add
2297 ${cpu_type}/t-lse and t-slibgcc-libgcc.
2299 2020-11-03 Martin Storsjö <martin@martin.st>
2301 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
2302 before calling the callback.
2304 2020-10-30 Olivier Hainque <hainque@adacore.com>
2305 Douglas Rupp <rupp@adacore.com>
2306 Pat Bernardi <bernardi@adacore.com>
2308 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
2309 to apply to VxWorks 7 as well.
2311 2020-10-29 Olivier Hainque <hainque@adacore.com>
2313 * config/gthr-vxworks-tls.c: Fix preprocessor logic
2314 controlling the definition of VX_ENTER_TLS_DTOR and
2315 VX_LEAVE_TLS_DTOR based on a version major check.
2317 2020-10-29 Olivier Hainque <hainque@adacore.com>
2319 * config/gthr-vxworks-thread.c: Fix name of macro used
2320 to condition the inclusion of an actual implementation.
2322 2020-10-27 Martin Liska <mliska@suse.cz>
2324 PR gcov-profile/97461
2325 * libgcov.h (gcov_counter_add): Use first static counters
2326 as it should help to have malloc wrappers set up.
2328 2020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2330 * config/gthr-vxworks-thread.c: #include gthr.h before
2331 testing the guard defined there.
2332 * config/gthr-vxworks-cond.c: Likewise.
2334 2020-10-21 Douglas Rupp <rupp@adacore.com>
2335 Olivier Hainque <hainque@adacore.com>
2337 * config.host (powerpc*-wrs-vxworks7*): New case.
2338 * configure.ac: Handle powerpc*-*-vxworks7* as
2339 powerpc*-*-linux* for ppc-fp_type.
2340 * configure: Regenerate.
2342 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2344 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
2345 section on VxWorks >= 6.
2346 * config/gthr-vxworks-thread.c: Condition the entire
2347 implementation on __GTHREAD_CXX0X.
2349 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2351 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
2352 section on VxWorks >= 6.
2353 * config/gthr-vxworks-cond.c: Condition the entire
2354 implementation on __GTHREAD_HAS_COND.
2356 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2358 * config/gthr-vxworks.c: #include <taskLib.h>.
2360 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2362 * config/gthr-vxworks.h: Rewrite remaining occurrence
2363 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
2365 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2366 Olivier Hainque <hainque@adacore.com>
2368 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
2369 except on VxWorks 6.
2371 2020-10-16 Olivier Hainque <hainque@adacore.com>
2373 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
2375 2020-10-14 Alexandre Oliva <oliva@adacore.com>
2377 * config/gthr-vxworks-thread.c: Include stdlib.h.
2378 (tls_delete_hook): Prototype it.
2379 (__gthread_cond_signal): Return early if no waiters. Consume
2380 signal in case the semaphore got full. Use semInfoGet instead
2381 of kernel-mode-only semInfo.
2382 (__gthread_cond_timedwait): Use semExchange. Always take the
2383 mutex again before returning.
2384 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
2386 2020-10-14 Olivier Hainque <hainque@adacore.com>
2388 * config/t-vxworks (LIBGCC2_INCLUDES): Append
2389 $(MULTISUBDIR) to the -I path for fixed headers, as we
2390 arrange to have different sets of such headers for different
2391 multilibs when they are activated.
2392 * config/t-vxworks7: Likewise.
2394 2020-10-14 Olivier Hainque <hainque@adacore.com>
2396 * config/t-vxworks: Add include-fixed to include search
2397 paths for libgcc on VxWorks.
2398 * config/t-vxworks7: Likewise.
2400 2020-10-09 H.J. Lu <hjl.tools@gmail.com>
2403 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
2404 instead of <cetintrin.h>.
2406 2020-10-01 Alan Modra <amodra@gmail.com>
2408 * config/rs6000/morestack.S,
2409 * config/rs6000/tramp.S: Support __PCREL__ code.
2411 2020-10-01 Alan Modra <amodra@gmail.com>
2413 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
2415 2020-09-29 Maciej W. Rozycki <macro@wdc.com>
2417 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
2420 2020-09-28 Richard Sandiford <richard.sandiford@arm.com>
2422 * config/aarch64/libgcc-softfp.ver: New file.
2423 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
2425 2020-09-27 Clement Chigot <clement.chigot@atos.net>
2427 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
2429 2020-09-22 Sergei Trofimovich <siarheit@google.com>
2431 PR gcov-profile/96913
2432 * libgcov-driver.c (write_one_data): Avoid function pointer
2433 comparison in TOP streaming decision.
2435 2020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
2436 Christophe Lyon <christophe.lyon@linaro.org>
2438 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
2440 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
2441 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
2444 2020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
2446 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
2447 unused variable warning.
2449 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
2451 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
2453 2020-09-09 Tom de Vries <tdevries@suse.de>
2455 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
2456 Wbuiltin-declaration-mismatch.
2458 2020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2460 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
2461 * config/msp430/srai.S (__gnu_mspabi_srap): New.
2462 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
2464 2020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
2466 * config/nvptx/atomic.c: New.
2467 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
2469 2020-08-03 Ian Lance Taylor <iant@golang.org>
2471 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
2473 2020-08-03 Jakub Jelinek <jakub@redhat.com>
2476 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
2477 of x(tmp0), x(tmp1) in STXP arguments.
2479 2020-07-31 Maciej W. Rozycki <macro@wdc.com>
2481 * config/riscv/save-restore.S [__riscv_xlen == 64]
2482 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
2483 (__riscv_save_2): Replace negative immediates used for the final
2484 stack pointer adjustment with positive ones, right-shifted by 4.
2486 2020-07-31 Martin Liska <mliska@suse.cz>
2488 * libgcov-driver.c: Add __gcov_kvp_pool
2489 and __gcov_kvp_pool_index variables.
2490 * libgcov.h (allocate_gcov_kvp): New.
2491 (gcov_topn_add_value): Use it.
2493 2020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2495 * config/aarch64/lse.S: Add PAC property note.
2497 2020-07-23 Martin Liska <mliska@suse.cz>
2499 PR gcov-profile/96035
2500 * libgcov-driver-system.c: Create gcov folders with 0777
2501 so that it respects a system umask.
2503 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
2505 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
2507 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2510 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
2511 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
2512 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
2513 (MD_DEMANGLE_RETURN_ADDR): This.
2514 (aarch64_post_extract_frame_addr): Rename to ...
2515 (aarch64_demangle_return_addr): This.
2516 (aarch64_post_frob_eh_handler_addr): Remove.
2517 * unwind-dw2.c (uw_update_context): Demangle return address.
2518 (uw_frob_return_addr): Remove.
2520 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2523 * config/aarch64/lse.S: Add BTI marking and related definitions,
2524 and add BTI c to function entries.
2526 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2528 * config/aarch64/lse.S: Add stack note.
2530 2020-07-02 Martin Liska <mliska@suse.cz>
2532 PR gcov-profile/95348
2533 * libgcov-driver.c (merge_one_data): Merge only profiles
2534 that are not of non-zero type.
2535 (write_one_data): Write counters only if there's one non-zero
2537 * libgcov-util.c (tag_function): Change signature from unsigned
2539 (tag_blocks): Likewise.
2540 (tag_arcs): Likewise.
2541 (tag_counters): Likewise.
2542 (tag_summary): Likewise.
2543 (tag_lines): Read only if COUNTERS is non-zero.
2544 (read_gcda_file): Handle negative length for COUNTERS type.
2546 2020-06-25 Martin Liska <mliska@suse.cz>
2548 * libgcov-driver.c (merge_summary): Remove function as its name
2549 is misleading and doing something different.
2550 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
2552 * libgcov-util.c (curr_object_summary): Remove.
2553 (read_gcda_file): Remove unused curr_object_summary.
2554 (gcov_merge): Merge summaries.
2555 * libgcov.h: Add summary argument for gcov_info struct.
2557 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
2560 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
2561 "common/config/i386/i386-cpuinfo.h" and
2562 "common/config/i386/cpuinfo.h".
2563 (__cpu_features2): Changed to array.
2564 (get_amd_cpu): Removed.
2565 (get_intel_cpu): Likewise.
2566 (get_available_features): Likewise.
2567 (__cpu_indicator_init): Call cpu_indicator_init.
2568 * config/i386/cpuinfo.h: Removed.
2570 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
2572 * Makefile.in: Remove uses of empty.mk. Use -include.
2573 * config/avr/t-avr: Use -include.
2576 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
2578 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
2579 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
2580 and 64 bit with -maix64.
2581 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
2582 Build and install AIX-style FAT libraries.
2584 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
2586 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
2588 * config/i386/gnu-unwind.h: New file.
2590 2020-06-17 Martin Liska <mliska@suse.cz>
2592 * libgcov-util.c (read_gcda_finalize): Remove const operator.
2593 (merge_wrapper): Add both counts and use them properly.
2594 (topn_to_memory_representation): New function.
2595 (gcov_merge): Covert on disk representation to in memory
2597 * libgcov.h: Remove const operator.
2599 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
2601 * configure: Regenerate.
2602 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
2603 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
2605 2020-06-09 Martin Liska <mliska@suse.cz>
2607 PR gcov-profile/95494
2608 * libgcov-driver.c (write_top_counters): Cast first to
2609 intptr_t as sizeof(*) != sizeof(gcov_type).
2610 * libgcov.h (gcov_counter_set_if_null): Remove.
2611 (gcov_topn_add_value): Cast first to intptr_t and update
2612 linked list directly.
2614 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
2616 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
2617 with uw_install_context_1.
2619 2020-06-04 Andreas Schwab <schwab@suse.de>
2623 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
2625 (LIB2ADD): Add config/ia64/divtf3.c.
2626 * config/ia64/divtf3.c: New file.
2628 2020-06-03 Martin Liska <mliska@suse.cz>
2630 PR gcov-profile/95480
2631 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
2632 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
2633 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
2634 (gcov_counter_set_if_null): Likewise.
2636 2020-06-02 Jim Wilson <jimw@sifive.com>
2638 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
2641 2020-06-02 Martin Liska <mliska@suse.cz>
2643 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2646 2020-06-02 Martin Liska <mliska@suse.cz>
2648 * libgcov-driver.c (prune_topn_counter): Remove.
2649 (prune_counters): Likewise.
2650 (merge_one_data): Special case TOP N counters
2651 as they have variable length.
2652 (write_top_counters): New.
2653 (write_one_data): Special case TOP N.
2654 (dump_one_gcov): Do not prune TOP N counters.
2655 * libgcov-merge.c (merge_topn_values_set): Remove.
2656 (__gcov_merge_topn): Use gcov_topn_add_value.
2657 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2659 * libgcov.h (gcov_counter_add): New.
2660 (gcov_counter_set_if_null): Likewise.
2661 (gcov_topn_add_value): New.
2663 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
2665 * config/i386/sfp-exceptions.c (struct fenv):
2666 Add __attribute__ ((gcc_struct)).
2668 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
2671 * configure: Regenerated.
2673 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
2675 PR gcov-profile/95332
2676 * libgcov-util.c (read_gcda_file): Call gcov_magic.
2677 * libgcov.h (gcov_magic): Disable GCC poison.
2679 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
2682 * config/i386/cpuinfo.h (processor_features): Move
2683 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2685 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
2688 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2691 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
2695 * config/i386/cpuinfo.c (get_available_features): Fix
2696 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
2697 * config/i386/cpuinfo.h (processor_features): Add
2698 FEATURE_AVX512VP2INTERSECT.
2700 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
2703 * configure: Regenerated.
2705 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
2707 * configure: Regenerated.
2709 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
2711 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2712 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2714 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
2716 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2717 (__math_force_eval_div): New define.
2718 (__sfp_handle_exceptions): Use __math_force_eval_div to use
2719 generic division to generate INVALID, DIVZERO and INEXACT
2722 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2724 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2725 instead of getauxval.
2727 (HWCAP_ATOMICS): Define.
2728 Guard detection on __gnu_linux__.
2730 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
2732 * config.host: Delete changes meant for a private branch.
2733 * config/rs6000/t-float128: Likewise.
2734 * configure.ac: Likewise.
2735 * configure: Likewise.
2737 2020-05-05 Martin Liska <mliska@suse.cz>
2739 PR gcov-profile/93623
2740 * Makefile.in: Remove __gcov_flush.
2741 * gcov.h (__gcov_flush): Remove.
2742 * libgcov-interface.c (__gcov_flush): Remove.
2743 (init_mx): Use renamed mutex.
2744 (__gcov_lock): Likewise.
2745 (__gcov_unlock): Likewise.
2746 (__gcov_fork): Likewise.
2747 (__gcov_flush): Remove.
2749 2020-05-05 Martin Liska <mliska@suse.cz>
2751 PR gcov-profile/93623
2752 * libgcov-interface.c (__gcov_fork): Do not flush
2753 and reset only in child process.
2754 (__gcov_execl): Dump counters only and reset them
2755 only if exec* fails.
2756 (__gcov_execlp): Likewise.
2757 (__gcov_execle): Likewise.
2758 (__gcov_execv): Likewise.
2759 (__gcov_execvp): Likewise.
2760 (__gcov_execve): Likewise.
2762 2020-05-05 Martin Liska <mliska@suse.cz>
2764 PR gcov-profile/93623
2765 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2766 * libgcov-interface.c (ALIAS_void_fn): Remove.
2768 (__gcov_unlock): New.
2769 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2770 (__gcov_reset): Likewise.
2771 (__gcov_dump): Likewise.
2772 * libgcov.h (__gcov_lock): New declaration.
2773 (__gcov_unlock): Likewise.
2775 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
2777 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
2778 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
2779 generic division to generate INVALID and DIVZERO exceptions.
2781 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
2783 * config/rs6000/crtresfpr.S: Use .machine ppc.
2784 * config/rs6000/crtresxfpr.S: Likewise.
2785 * config/rs6000/crtsavfpr.S: Likewise.
2787 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2790 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2791 Update context->flags accroding to the frame state.
2793 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
2795 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2796 Remove unneeded assignments to volatile memory.
2798 2020-04-15 Jakub Jelinek <jakub@redhat.com>
2801 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2802 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2803 is not defined, use just .arch armv8-a.
2804 (B, M, N, OPN): Define.
2805 (COMMENT): New .macro.
2806 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2807 defined. Otherwise, move the operands right after the glue? and
2808 comment out operands where the macros are used.
2809 * configure: Regenerated.
2810 * config.in: Regenerated.
2812 2020-04-07 Ian Lance Taylor <iant@golang.org>
2815 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2818 2020-04-04 Ian Lance Taylor <iant@golang.org>
2820 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2822 2020-04-03 Ian Lance Taylor <iant@golang.org>
2824 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2825 than mmap/munmap, to avoid hooks.
2827 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
2829 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2830 (TPFRA_OFFSET): Macros removed.
2831 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2832 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2833 (PG3_SKIPPING_OFFSET): New macros.
2834 (__isPATrange): Use cinfc_fast for the check.
2835 (__isSkipResetAddr): New function.
2836 (s390_fallback_frame_state): Check for skip trace addresses. Use
2837 either ICST_CRET or ICST_SRET to calculate return address
2839 (__tpf_eh_return): Handle skip trace addresses.
2841 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
2844 * config/arm/lib1funcs.asm (COND): Use a single definition for
2846 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2847 (aeabi_idivmod): Likewise.
2848 (divsi3_skip_div0_test): Likewise.
2850 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
2852 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2854 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
2856 * config.host: Include the new makefile fragment.
2857 * config/s390/t-tpf: New file.
2859 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
2861 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2863 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2864 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2865 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
2866 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
2867 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
2869 (divsi3, modsi3): Likewise.
2870 (clzdi2, ctzsi2): Likewise.
2871 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
2873 (UNWIND_WRAPPER): Likewise.
2875 2020-03-02 Martin Liska <mliska@suse.cz>
2877 * libgcov-interface.c: Remove duplicate
2878 declaration of __gcov_flush_mx.
2880 2020-02-18 Martin Liska <mliska@suse.cz>
2883 * libgcov-merge.c (merge_topn_values_set): Record
2884 when a TOP N counter becomes invalid. When merging
2885 remove a smallest value if the space is needed.
2887 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
2892 * configure: Regenerated.
2894 2020-02-10 Jeff Law <law@redhat.com>
2896 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
2898 * config/frv/frvend.c: Similarly.
2900 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
2903 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2906 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
2909 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
2910 _Unwind_gnu_Find_got.
2911 * unwind-pe.h: Likewise.
2913 2020-02-07 Jakub Jelinek <jakub@redhat.com>
2916 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
2917 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
2918 trailing :s in asm. Formatting fixes.
2919 (_Unwind_decode_typeinfo_ptr): Adjust caller.
2921 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
2923 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
2925 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
2926 * config/nios2-elf-lib.h: New.
2927 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
2928 code for finding GOT base for nios2.
2930 2020-01-27 Martin Liska <mliska@suse.cz>
2932 PR gcov-profile/93403
2933 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
2934 Call __gcov_indirect_call_profiler_body.
2935 (__gcov_indirect_call_profiler_body): New.
2936 (__gcov_indirect_call_profiler_v4_atomic): New.
2937 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
2940 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
2942 * config/arc/crti.S: Add RF16 object attribute.
2943 * config/arc/crtn.S: Likewise.
2944 * config/arc/crttls.S: Likewise.
2945 * config/arc/lib1funcs.S: Likewise.
2946 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
2947 * config/arc/lib2funcs.c: New file.
2948 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
2950 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
2952 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
2953 * configure.ac: Handle `--with-toolexeclibdir='.
2954 * configure: Regenerate.
2956 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2958 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
2960 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2962 * config/mips/gnustack.h: New file.
2963 * config/mips/crti.S: Include gnustack.h.
2964 * config/mips/crtn.S: Likewise.
2965 * config/mips/mips16.S: Likewise.
2966 * config/mips/vr4120-div.S: Likewise.
2968 2020-01-23 Martin Liska <mliska@suse.cz>
2970 * libgcov-driver.c (prune_topn_counter): Remove
2971 check for -1 as we only prune run-time counters
2972 that do not generate an invalid state.
2974 2020-01-22 Martin Liska <mliska@suse.cz>
2976 PR tree-optimization/92924
2977 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
2978 try to find an existing value, then find an empty slot
2981 2020-01-22 Martin Liska <mliska@suse.cz>
2983 PR tree-optimization/92924
2984 * libgcov-driver.c (prune_topn_counter): New.
2985 (prune_counters): Likewise.
2986 (dump_one_gcov): Prune a run-time counter.
2987 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2988 For a known value, add GCOV_TOPN_VALUES to value.
2989 Otherwise, decrement all counters by one.
2991 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
2993 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
2995 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
2998 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
2999 DEFAULT_USE_CXA_ATEXIT is true.
3001 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
3002 Thomas Preud'homme <thomas.preudhomme@arm.com>
3004 * config/arm/t-arm: Check return value of gcc rather than lack of
3007 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
3009 * config/avr/lib1funcs.S (skip): Simplify.
3011 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
3013 * config/gcn/atomic.c: Remove include of stdint.h.
3014 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
3017 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
3019 * config/gcn/atomic.c: New.
3020 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
3022 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
3024 Implement 64-bit double functions.
3027 * config.host (tmake_file) [target=avr]: Add t-libf7,
3028 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
3029 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
3030 depending on sizeof (double) or sizeof (long double).
3031 * config/avr/libf7: New folder.
3033 2020-01-05 Olivier Hainque <hainque@adacore.com>
3035 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
3038 2020-01-01 Jakub Jelinek <jakub@redhat.com>
3040 Update copyright years.
3042 2019-12-30 Olivier Hainque <hainque@adacore.com>
3044 * config/gthr-vxworks.h: Use _vxworks-versions.h.
3045 * config/gthr-vxworks-tls.c: Likewise.
3047 2019-12-30 Olivier Hainque <hainque@adacore.com>
3049 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
3050 standard zero-initializer syntax.
3052 2019-12-30 Olivier Hainque <hainque@adacore.com>
3054 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
3055 reference to the internal VX_GET_TLS_DATA interface.
3057 2019-12-30 Olivier Hainque <hainque@adacore.com>
3059 * config/vxcrtstuff.c: Fix incorrect spelling of
3060 USE_INITFINI_ARRAY in guard.
3062 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3064 * config.host: s/msp430*-*-elf/msp430-*-elf*.
3065 Override default "extra_parts" variable.
3066 * configure: Regenerate.
3067 * configure.ac: Disable TM clone registry by default for
3070 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3072 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
3074 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
3076 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3078 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
3081 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3083 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
3084 defined instead of its value.
3086 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3088 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
3089 if it will have contents.
3091 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
3094 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
3096 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
3099 * config.host: Add t-gthr-noweak on *-*-musl*.
3100 * config/t-gthr-noweak: New file.
3102 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
3104 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
3105 volatile void *. Remove trap check.
3106 (__kernel_cmpxchg2): Likewise.
3107 (FETCH_AND_OP_2): Adjust operand types.
3108 (OP_AND_FETCH_2): Likewise.
3109 (FETCH_AND_OP_WORD): Likewise.
3110 (OP_AND_FETCH_WORD): Likewise.
3111 (COMPARE_AND_SWAP_2): Likewise.
3112 (__sync_val_compare_and_swap_4): Likewise.
3113 (__sync_bool_compare_and_swap_4): Likewise.
3114 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3115 (__sync_lock_test_and_set_4): Likewise.
3116 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
3117 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
3119 (__sync_lock_release_8): Remove.
3121 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
3123 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
3126 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
3127 Doug Rupp <rupp@adacore.com>
3128 Olivier Hainque <hainque@adacore.com>
3130 * config.host: Collapse the arm-vxworks entries into
3131 a single arm-wrs-vxworks7* one.
3132 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
3133 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
3134 kernel modules, to be overriden by libstdc++ when we link with
3135 it. Rely on externally provided __exidx_start/end.
3137 2019-11-14 Doug Rupp <rupp@adacore.com>
3138 Olivier Hainque <hainque@adacore.com>
3140 * config.host: Handle aarch64*-wrs-vxworks7*.
3142 2019-11-12 Olivier Hainque <hainque@adacore.com>
3144 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
3145 sources except the cxx0x support to LIB2ADDEH. We don't support
3147 * config/t-vxworksae: New file.
3148 * config.host: Handle *-*-vxworksae: Add the two aforementioned
3149 Makefile fragment files at their expected position in the tmake_file
3150 list, in accordance with what is done for other VxWorks variants.
3152 2019-11-12 Corentin Gay <gay@adacore.com>
3153 Jerome Lambourg <lambourg@adacore.com>
3154 Olivier Hainque <hainque@adacore.com>
3156 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
3157 sources to LIB2ADDEH.
3158 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
3159 * config/t-vxworks7: Likewise.
3161 * config.host: Append a block at the end of the file to add the
3162 t-gthr files to the tmake_file list for VxWorks after everything
3165 * config/vxlib.c: Rename as gthr-vxworks.c.
3166 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
3168 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
3169 API and a basic error checking API, both internal. Simplify the
3170 __gthread_once_t type definition and initializers. Add sections
3171 for condition variables support and for the C++0x thread support,
3172 conditioned against Vx653 for the latter.
3174 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
3175 implementation, leveraging the TAS internal API.
3176 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
3177 API, leveraging the general availability of TLS services in VxWorks7
3179 (__gthread_setspecific, __gthread_setspecific): Use it.
3180 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
3181 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
3182 support based on VxWorks primitives.
3183 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
3184 based on VxWorks primitives.
3186 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
3187 Olivier Hainque <hainque@adacore.com>
3189 * config/vxcrtstuff.c: New file.
3190 * config/t-vxcrtstuff: New Makefile fragment.
3191 * config.host: Append t-vxcrtstuff to the tmake_file list
3192 on all VxWorks ports using dwarf for table based EH.
3194 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
3196 Support 64-bit double and 64-bit long double configurations.
3199 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
3200 long double is a 32-bit type.
3201 * config/avr/t-avrlibc: Copy double64 and long-double64
3202 multilib(s) from the vanilla one.
3203 * config/avr/t-copy-libgcc: New Makefile snip.
3205 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3207 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
3208 the target output object format is not ELF.
3209 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
3211 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
3214 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
3215 * fp-bit.c (pack_d, unpack_d): Remove special cases for
3216 FLOAT_BIT_ORDER_MISMATCH.
3217 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
3219 2019-11-01 Jim Wilson <jimw@sifive.com>
3221 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
3223 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3225 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
3226 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
3227 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
3228 Define symbols for 32-bit and f5series hardware multiply
3230 Replace hard-coded register addresses with symbols.
3231 Fix "_mspabi*" typo.
3233 * config/msp430/lib2mul.c: Add comment.
3235 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
3237 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
3238 unsigned int. Adjust callers.
3239 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
3240 unsigned int *. Load relocation offset before function pointer.
3241 Add barrier to ensure ordering.
3243 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
3245 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
3246 Load PIC register after branch target. Fix white space.
3247 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
3248 implementations. Load PIC register after branch target. Don't
3249 clobber function pointer when it points to function descriptor.
3250 Use nullification instead of branch in LINUX implementation.
3252 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
3254 * config/pa/fptr.c: Disable -Warray-bounds warning.
3256 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
3258 * config.in, configure: Re-rebuild with stock autoconf 2.69,
3259 not the ubuntu modified 2.69.
3262 * config/aarch64/lse-init.c: Include auto-target.h. Disable
3263 initialization if !HAVE_SYS_AUXV_H.
3264 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
3265 * config.in, configure: Rebuild.
3268 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
3271 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
3273 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
3274 CTR_EL0.IDC and CTR_EL0.DIC.
3276 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
3279 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3280 Mickaël Guêné <mickael.guene@st.com>
3282 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3285 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
3287 * config/aarch64/lse-init.c: New file.
3288 * config/aarch64/lse.S: New file.
3289 * config/aarch64/t-lse: New file.
3290 * config.host: Add t-lse to all aarch64 tuples.
3292 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3293 Mickaël Guêné <mickael.guene@st.com>
3295 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3298 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3299 Mickaël Guêné <mickael.guene@st.com>
3301 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
3302 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
3303 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
3304 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
3305 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
3306 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
3307 (__gnu_personality_sigframe_fdpic): New.
3308 (get_eit_entry): Add FDPIC signal frame support.
3310 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3311 Mickaël Guêné <mickael.guene@st.com>
3313 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
3314 (__kernel_dmb): Likewise.
3315 (__fdpic_cmpxchg): New function.
3316 (__fdpic_dmb): New function.
3317 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
3318 (gnu_Unwind_Find_got): New function.
3319 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
3320 * unwind-arm-common.inc (UCB_PR_GOT): New.
3321 (funcdesc_t): New struct.
3322 (get_eit_entry): Add FDPIC support.
3323 (unwind_phase2): Likewise.
3324 (unwind_phase2_forced): Likewise.
3325 (__gnu_Unwind_RaiseException): Likewise.
3326 (__gnu_Unwind_Resume): Likewise.
3327 (__gnu_Unwind_Backtrace): Likewise.
3328 * unwind-pe.h (read_encoded_value_with_base): Likewise.
3330 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3331 Mickaël Guêné <mickael.guene@st.com>
3333 * libgcc/crtstuff.c: Add support for FDPIC.
3335 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3337 * config.host: Handle *-*-uclinuxfdpiceabi.
3339 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
3341 * config.host: Set cpu_type for bpf-*-* targets.
3342 * config/bpf/t-bpf: Likewise.
3343 * config/bpf/crtn.S: Likewise.
3344 * config/bpf/crti.S: New file.
3346 2019-09-06 Jim Wilson <jimw@sifive.com>
3348 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3349 (riscv*-*-freebsd*): Likewise.
3351 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
3353 * config.host: Remove references to spu.
3354 * config/spu/: Remove directory.
3356 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3359 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
3360 element type, instead of "sizeof" the element type.
3361 (__DTOR_LIST__): Likewise.
3362 (__TMC_LIST__): Likewise.
3363 (__do_global_dtors_aux_fini_array_entry): Likewise.
3364 (__frame_dummy_init_array_entry): Likewise.
3365 (__CTOR_END__): Likewise.
3366 (__DTOR_END__): Likweise.
3367 (__FRAME_END__): Likewise.
3368 (__TMC_END__): Likewise.
3370 2019-08-20 Lili Cui <lilicui@intel.com>
3372 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
3373 INTEL_COREI7_COOPERLAKE.
3375 2019-07-31 Matt Thomas <matt@3am-software.com>
3376 Nick Hudson <nick@nthcliff.demon.co.uk>
3377 Matthew Green <mrg@eterna.com.au>
3378 Maya Rashish <coypu@sdf.org>
3380 * config.host (hppa*-*-netbsd*): New case.
3381 * config/pa/t-netbsd: New file.
3383 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
3385 * config/arm/cmse.c (cmse_check_address_range): Add
3386 warn_unused_result attribute.
3388 2019-07-22 Martin Liska <mliska@suse.cz>
3390 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
3391 * config/pa/t-stublib: Likewise.
3393 2019-07-22 Stafford Horne <shorne@gmail.com>
3396 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
3397 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
3398 instructions are not available on every processor. Change a
3399 l.bnf to l.bf to fix logic issue.
3401 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
3403 * config.host: Remove reference to t-darwin8.
3405 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
3407 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
3409 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
3410 mmacosx-version-min for crts to run across all system versions.
3411 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
3412 * config/t-darwin: Revise mmacosx-version-min for crts to run across
3413 system versions >= 10.4.
3415 2019-07-03 Martin Liska <mliska@suse.cz>
3417 * Makefile.in: Use topn_values instead of one_value names.
3418 * libgcov-merge.c (__gcov_merge_single): Move to ...
3419 (__gcov_merge_topn): ... this.
3420 (merge_single_value_set): Move to ...
3421 (merge_topn_values_set): ... this.
3422 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
3424 (__gcov_topn_values_profiler_body): ... this.
3425 (__gcov_one_value_profiler_v2): Move to ...
3426 (__gcov_topn_values_profiler): ... this.
3427 (__gcov_one_value_profiler_v2_atomic): Move to ...
3428 (__gcov_topn_values_profiler_atomic): ... this.
3429 (__gcov_indirect_call_profiler_v4): Remove.
3430 * libgcov-util.c (__gcov_single_counter_op): Move to ...
3431 (__gcov_topn_counter_op): ... this.
3432 * libgcov.h (L_gcov_merge_single): Remove.
3433 (L_gcov_merge_topn): New.
3434 (__gcov_merge_single): Remove.
3435 (__gcov_merge_topn): New.
3436 (__gcov_one_value_profiler_v2): Move to ..
3437 (__gcov_topn_values_profiler): ... this.
3438 (__gcov_one_value_profiler_v2_atomic): Move to ...
3439 (__gcov_topn_values_profiler_atomic): ... this.
3441 2019-07-03 Martin Liska <mliska@suse.cz>
3443 * libgcov-merge.c (merge_single_value_set): Support N values.
3444 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
3446 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
3448 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
3449 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
3450 * configure.ac: Add --disable-tm-clone-registry option.
3451 * configure: Regenerate.
3453 2019-06-27 Martin Liska <mliska@suse.cz>
3455 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
3457 * libgcov-util.c: Likewise.
3459 2019-06-27 Martin Liska <mliska@suse.cz>
3461 * libgcov-util.c (gcov_profile_merge): Release allocated
3463 (calculate_overlap): Likewise.
3465 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
3467 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
3468 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
3469 Build objects for the out of line save/restore register functions
3470 so that they can be used for any supported Darwin version.
3471 * config/t-darwin: Default the build Darwin version to Darwin8
3474 2019-06-25 Martin Liska <mliska@suse.cz>
3476 * libgcov-driver-system.c (replace_filename_variables): Do not
3477 call strlen with NULL argument.
3479 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
3481 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
3482 * config/gcn/unwind-gcn.c: New file.
3484 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
3485 Andrew Stubbs <ams@codesourcery.com>
3487 * configure: Regenerate.
3488 * config/gcn/gthr-gcn.h: New.
3490 2019-06-18 Tom de Vries <tdevries@suse.de>
3492 * config/nvptx/crt0.c (__main): Declare.
3494 2019-06-17 Matthew Green <mrg@eterna.com.au>
3495 Maya Rashish <coypu@sdf.org>
3497 * config.host (aarch64*-*-netbsd*): New case.
3499 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3501 * config/msp430/slli.S (__mspabi_sllll): New library function for
3502 performing a logical left shift of a 64-bit value.
3503 * config/msp430/srai.S (__mspabi_srall): New library function for
3504 performing a arithmetic right shift of a 64-bit value.
3505 * config/msp430/srll.S (__mspabi_srlll): New library function for
3506 performing a logical right shift of a 64-bit value.
3508 2019-06-14 Matt Thomas <matt@3am-software.com>
3509 Matthew Green <mrg@eterna.com.au>
3510 Nick Hudson <skrll@netbsd.org>
3511 Maya Rashish <coypu@sdf.org>
3513 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
3514 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
3516 * config/arm/t-netbsd-eabi: New file.
3518 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
3520 * config.host: Add PRU target.
3521 * config/pru/asri.c: New file.
3522 * config/pru/eqd.c: New file.
3523 * config/pru/eqf.c: New file.
3524 * config/pru/ged.c: New file.
3525 * config/pru/gef.c: New file.
3526 * config/pru/gtd.c: New file.
3527 * config/pru/gtf.c: New file.
3528 * config/pru/led.c: New file.
3529 * config/pru/lef.c: New file.
3530 * config/pru/lib2bitcountHI.c: New file.
3531 * config/pru/lib2divHI.c: New file.
3532 * config/pru/lib2divQI.c: New file.
3533 * config/pru/lib2divSI.c: New file.
3534 * config/pru/libgcc-eabi.ver: New file.
3535 * config/pru/ltd.c: New file.
3536 * config/pru/ltf.c: New file.
3537 * config/pru/mpyll.S: New file.
3538 * config/pru/pru-abi.h: New file.
3539 * config/pru/pru-asm.h: New file.
3540 * config/pru/pru-divmod.h: New file.
3541 * config/pru/sfp-machine.h: New file.
3542 * config/pru/t-pru: New file.
3544 2019-06-11 Jakub Jelinek <jakub@redhat.com>
3546 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
3548 2019-06-10 Martin Liska <mliska@suse.cz>
3551 * libgcov.h: Add ATTRIBUTE_UNUSED.
3553 2019-06-10 Martin Liska <mliska@suse.cz>
3555 * Makefile.in: Add __gcov_one_value_profiler_v2,
3556 __gcov_one_value_profiler_v2_atomic and
3557 __gcov_indirect_call_profiler_v4.
3558 * libgcov-merge.c (__gcov_merge_single): Change
3560 (merge_single_value_set): New.
3561 * libgcov-profiler.c (__gcov_one_value_profiler_body):
3562 Update functionality.
3563 (__gcov_one_value_profiler): Remove.
3564 (__gcov_one_value_profiler_v2): ... this.
3565 (__gcov_one_value_profiler_atomic): Rename to ...
3566 (__gcov_one_value_profiler_v2_atomic): this.
3567 (__gcov_indirect_call_profiler_v3): Rename to ...
3568 (__gcov_indirect_call_profiler_v4): ... this.
3569 * libgcov.h (__gcov_one_value_profiler): Remove.
3570 (__gcov_one_value_profiler_atomic): Remove.
3571 (__gcov_one_value_profiler_v2_atomic): New.
3572 (__gcov_indirect_call_profiler_v3): Remove.
3573 (__gcov_one_value_profiler_v2): New.
3574 (__gcov_indirect_call_profiler_v4): New.
3575 (gcov_get_counter_ignore_scaling): New function.
3577 2019-06-07 Martin Liska <mliska@suse.cz>
3579 * Makefile.in: Remove usage of
3580 _gcov_merge_icall_topn.
3581 * libgcov-driver.c (gcov_sort_n_vals): Remove.
3582 (gcov_sort_icall_topn_counter): Likewise.
3583 (gcov_sort_topn_counter_arrays): Likewise.
3584 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
3585 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
3586 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
3588 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
3589 (struct indirect_call_tuple): Remove.
3590 (__gcov_indirect_call_topn_profiler): Remove.
3591 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
3592 * libgcov.h (gcov_sort_n_vals): Remove.
3593 (L_gcov_merge_icall_topn): Likewise.
3594 (__gcov_merge_icall_topn): Likewise.
3595 (__gcov_indirect_call_topn_profiler): Likewise.
3597 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
3599 * config/rs6000/t-darwin: Ensure that the unwinder is built with
3602 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3604 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
3606 (__mspabi_slli): Likewise.
3607 (__mspabi_slll_n): Likewise.
3608 (__mspabi_slll): Likewise.
3609 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
3610 (__mspabi_srai): Likewise.
3611 (__mspabi_sral_n): Likewise.
3612 (__mspabi_sral): Likewise.
3613 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
3614 (__mspabi_srli): Likewise.
3615 (__mspabi_srll_n): Likewise.
3616 (__mspabi_srll): Likewise.
3618 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
3620 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
3621 Add appropriate tm_file clause as well.
3622 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
3624 2019-06-05 James Clarke <jrtc27@jrtc27.com>
3626 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
3627 rather than .data/.bss so it can be accessed via gp-relative
3630 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
3632 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
3633 (CR2_REGNO): Rename to R_CR2.
3634 (XER_REGNO): Rename to R_XER.
3635 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
3636 (VRSAVE_REGNO): Rename to R_VRSAVE.
3637 (VSCR_REGNO): R_VSCR.
3639 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
3641 * config.host (rx-*-linux*): Add new case.
3642 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3644 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
3646 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3648 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3649 aarch64_post_frob_eh_handler_addr): Add check for b-key.
3650 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3651 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3652 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3653 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3655 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3657 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3659 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3661 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3662 Remove Solaris 9 and 10 support.
3663 (sparc_is_sighandler): Likewise.
3665 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
3667 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3669 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
3671 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3672 4_FP_W_TYPEs are used for IEEE quad precision.
3673 * soft-fp/extendhftf2.c: Likewise.
3674 * soft-fp/extendsftf2.c: Likewise.
3675 * soft-fp/extendxftf2.c: Likewise.
3676 * soft-fp/trunctfdf2.c: Likewise.
3677 * soft-fp/trunctfhf2.c: Likewise.
3678 * soft-fp/trunctfsf2.c: Likewise.
3679 * soft-fp/trunctfxf2.c: Likewise.
3680 * config/rs6000/ibm-ldouble.c: Likewise.
3682 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3684 * config.host: Simplify various *-*-solaris2.1[0-9]* to
3686 * configure.ac: Likewise.
3687 * configure: Regenerate.
3689 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3690 Solaris 10 and Solaris 11 < snv_125 handling.
3692 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
3694 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3696 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
3698 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3699 * config/i386/cpuinfo.h (enum processor_features): Add
3702 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3703 Bernd Edlinger <bernd.edlinger@hotmail.de>
3704 Jakub Jelinek <jakub@redhat.com>
3707 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3708 * config/arm/unwind-arm.c: Likewise.
3709 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3712 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
3714 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3715 (RT_SIGRETURN): Update.
3716 (nds32_fallback_frame_state): Update.
3718 2019-02-21 Martin Sebor <msebor@redhat.com>
3720 * libgcc2.h (__clear_cache): Correct signature.
3721 * libgcc2.c (__clear_cache): Same.
3723 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
3725 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3726 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3728 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
3730 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3731 regno instead of index to DWARF_ZERO_REG.
3733 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
3735 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3736 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3738 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
3740 * config/alpha/t-linux: Add -mfp-rounding-mode=d
3741 to HOST_LIBGCC2_CFLAGS.
3743 2019-01-23 Joseph Myers <joseph@codesourcery.com>
3746 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
3748 2019-01-18 Martin Liska <mliska@suse.cz>
3750 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3752 (__gcov_indirect_call_profiler_v3): ... this.
3753 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3754 (__gcov_indirect_call_profiler_v3): Likewise.
3755 * Makefile.in: Bump function name.
3757 2019-01-18 Martin Liska <mliska@suse.cz>
3759 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3760 (gcov_version): Use in gcov_error.
3761 (merge_one_data): Likewise.
3762 (dump_one_gcov): Likewise.
3764 2019-01-18 Martin Liska <mliska@suse.cz>
3766 * libgcov-driver.c (gcov_version_string): New function.
3767 (gcov_version): Convert version integer into string.
3769 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
3770 Kwok Cheung Yeung <kcy@codesourcery.com>
3771 Julian Brown <julian@codesourcery.com>
3772 Tom de Vries <tom@codesourcery.com>
3774 * config.host: Recognize amdgcn*-*-amdhsa.
3775 * config/gcn/crt0.c: New file.
3776 * config/gcn/lib2-divmod-hi.c: New file.
3777 * config/gcn/lib2-divmod.c: New file.
3778 * config/gcn/lib2-gcn.h: New file.
3779 * config/gcn/sfp-machine.h: New file.
3780 * config/gcn/t-amdgcn: New file.
3782 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
3786 * config/c6x/libunwind.S: Mechanically replace "can not" with
3788 * config/tilepro/atomic.h: Likewise.
3789 * config/vxlib-tls.c: Likewise.
3790 * generic-morestack-thread.c: Likewise.
3791 * generic-morestack.c: Likewise.
3792 * mkmap-symver.awk: Likewise.
3794 2019-01-01 Jakub Jelinek <jakub@redhat.com>
3796 Update copyright years.
3798 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3800 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3801 to ignore -Waddress-of-packed-member.
3803 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
3805 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3806 parameter and corresponding code.
3807 (ARM_FUNC_START): Likewise in both definitions.
3808 Also update footer comment about condition that need to match with
3809 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3810 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3811 defined. Weakly define it in this case.
3812 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3813 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3814 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3815 comment to keep condition in sync with the one in
3816 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3818 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
3820 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3821 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3823 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3825 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3826 and .cfi_endproc directives for VxWorks targets.
3828 2018-12-05 Paul Koning <ni1d@arrl.net>
3830 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3832 2018-11-27 Alan Modra <amodra@gmail.com>
3834 * config/rs6000/morestack.S (__stack_split_initialize),
3835 (__morestack_get_guard, __morestack_set_guard),
3836 (__morestack_make_guard): Provide CFI covering these functions.
3837 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3839 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3841 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
3842 (sc_pt_regs_lr): Update for kernel.
3843 (sc_pt_regs_tls): Update for kernel.
3845 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3847 * config/csky/linux-unwind.h: Fix coding style.
3849 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
3851 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
3852 (csky_fallback_frame_state): Modify the check of the
3853 instructions to adapt to changes in the kernel
3855 2018-11-09 Stafford Horne <shorne@gmail.com>
3856 Richard Henderson <rth@twiddle.net>
3858 * config.host: Add OpenRISC support.
3859 * config/or1k/*: New.
3861 2018-11-08 Kito Cheng <kito@andestech.com>
3863 * soft-fp/adddf3.c: Update from glibc.
3864 * soft-fp/addsf3.c: Likewise.
3865 * soft-fp/addtf3.c: Likewise.
3866 * soft-fp/divdf3.c: Likewise.
3867 * soft-fp/divsf3.c: Likewise.
3868 * soft-fp/divtf3.c: Likewise.
3869 * soft-fp/double.h: Likewise.
3870 * soft-fp/eqdf2.c: Likewise.
3871 * soft-fp/eqsf2.c: Likewise.
3872 * soft-fp/eqtf2.c: Likewise.
3873 * soft-fp/extenddftf2.c: Likewise.
3874 * soft-fp/extended.h: Likewise.
3875 * soft-fp/extendhftf2.c: Likewise.
3876 * soft-fp/extendsfdf2.c: Likewise.
3877 * soft-fp/extendsftf2.c: Likewise.
3878 * soft-fp/extendxftf2.c: Likewise.
3879 * soft-fp/fixdfdi.c: Likewise.
3880 * soft-fp/fixdfsi.c: Likewise.
3881 * soft-fp/fixdfti.c: Likewise.
3882 * soft-fp/fixhfti.c: Likewise.
3883 * soft-fp/fixsfdi.c: Likewise.
3884 * soft-fp/fixsfsi.c: Likewise.
3885 * soft-fp/fixsfti.c: Likewise.
3886 * soft-fp/fixtfdi.c: Likewise.
3887 * soft-fp/fixtfsi.c: Likewise.
3888 * soft-fp/fixtfti.c: Likewise.
3889 * soft-fp/fixunsdfdi.c: Likewise.
3890 * soft-fp/fixunsdfsi.c: Likewise.
3891 * soft-fp/fixunsdfti.c: Likewise.
3892 * soft-fp/fixunshfti.c: Likewise.
3893 * soft-fp/fixunssfdi.c: Likewise.
3894 * soft-fp/fixunssfsi.c: Likewise.
3895 * soft-fp/fixunssfti.c: Likewise.
3896 * soft-fp/fixunstfdi.c: Likewise.
3897 * soft-fp/fixunstfsi.c: Likewise.
3898 * soft-fp/fixunstfti.c: Likewise.
3899 * soft-fp/floatdidf.c: Likewise.
3900 * soft-fp/floatdisf.c: Likewise.
3901 * soft-fp/floatditf.c: Likewise.
3902 * soft-fp/floatsidf.c: Likewise.
3903 * soft-fp/floatsisf.c: Likewise.
3904 * soft-fp/floatsitf.c: Likewise.
3905 * soft-fp/floattidf.c: Likewise.
3906 * soft-fp/floattihf.c: Likewise.
3907 * soft-fp/floattisf.c: Likewise.
3908 * soft-fp/floattitf.c: Likewise.
3909 * soft-fp/floatundidf.c: Likewise.
3910 * soft-fp/floatundisf.c: Likewise.
3911 * soft-fp/floatunditf.c: Likewise.
3912 * soft-fp/floatunsidf.c: Likewise.
3913 * soft-fp/floatunsisf.c: Likewise.
3914 * soft-fp/floatunsitf.c: Likewise.
3915 * soft-fp/floatuntidf.c: Likewise.
3916 * soft-fp/floatuntihf.c: Likewise.
3917 * soft-fp/floatuntisf.c: Likewise.
3918 * soft-fp/floatuntitf.c: Likewise.
3919 * soft-fp/gedf2.c: Likewise.
3920 * soft-fp/gesf2.c: Likewise.
3921 * soft-fp/getf2.c: Likewise.
3922 * soft-fp/half.h: Likewise.
3923 * soft-fp/ledf2.c: Likewise.
3924 * soft-fp/lesf2.c: Likewise.
3925 * soft-fp/letf2.c: Likewise.
3926 * soft-fp/muldf3.c: Likewise.
3927 * soft-fp/mulsf3.c: Likewise.
3928 * soft-fp/multf3.c: Likewise.
3929 * soft-fp/negdf2.c: Likewise.
3930 * soft-fp/negsf2.c: Likewise.
3931 * soft-fp/negtf2.c: Likewise.
3932 * soft-fp/op-1.h: Likewise.
3933 * soft-fp/op-2.h: Likewise.
3934 * soft-fp/op-4.h: Likewise.
3935 * soft-fp/op-8.h: Likewise.
3936 * soft-fp/op-common.h: Likewise.
3937 * soft-fp/quad.h: Likewise.
3938 * soft-fp/single.h: Likewise.
3939 * soft-fp/soft-fp.h: Likewise.
3940 * soft-fp/subdf3.c: Likewise.
3941 * soft-fp/subsf3.c: Likewise.
3942 * soft-fp/subtf3.c: Likewise.
3943 * soft-fp/truncdfsf2.c: Likewise.
3944 * soft-fp/trunctfdf2.c: Likewise.
3945 * soft-fp/trunctfhf2.c: Likewise.
3946 * soft-fp/trunctfsf2.c: Likewise.
3947 * soft-fp/trunctfxf2.c: Likewise.
3948 * soft-fp/unorddf2.c: Likewise.
3949 * soft-fp/unordsf2.c: Likewise.
3950 * soft-fp/unordtf2.c: Likewise.
3952 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
3954 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
3955 * config/i386/cpuinfo.h (processor_types): Add znver2.
3957 2018-11-01 Paul Koning <ni1d@arrl.net>
3959 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
3960 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
3962 2018-10-31 Joseph Myers <joseph@codesourcery.com>
3965 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
3966 * configure: Regenerate.
3968 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
3970 * config/arc/lib1funcs.S (_muldi3): New function.
3971 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
3973 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3975 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
3977 2018-10-25 Martin Liska <mliska@suse.cz>
3980 * libgcov-profiler.c: Revert.
3982 2018-10-24 Martin Liska <mliska@suse.cz>
3984 * libgcov-profiler.c: Start from 1 in order to distinguish
3985 functions which were seen and these that were not.
3987 2018-10-18 Paul Koning <ni1d@arrl.net>
3989 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
3991 * divmod.c: Update references to __udivmodsi4.
3993 * udivhi3.c: New file.
3994 * udivmodhi4.c: New file.
3995 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
3997 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3999 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
4001 2018-10-12 Olivier Hainque <hainque@adacore.com>
4003 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
4004 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
4006 2018-10-08 Paul Koning <ni1d@arrl.net>
4008 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
4010 2018-10-04 Martin Liska <mliska@suse.cz>
4012 PR gcov-profile/84107
4013 * libgcov-profiler.c (__gcov_indirect_call):
4014 Change type to indirect_call_tuple.
4015 (struct indirect_call_tuple): New struct.
4016 (__gcov_indirect_call_topn_profiler): Change type.
4017 (__gcov_indirect_call_profiler_v2): Use the new
4019 * libgcov.h (struct indirect_call_tuple): New struct
4022 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
4024 * libgcc2.c (isnan): Use __builtin_isnan.
4025 (isfinite): Use __builtin_isfinite.
4026 (isinf): Use __builtin_isinf.
4028 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
4030 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
4032 2018-09-21 Alexandre Oliva <oliva@adacore.com>
4034 * config/vxcache.c: New file. Provide __clear_cache, based on
4035 the cacheTextUpdate VxWorks service.
4036 * config/t-vxworks (LIB2ADD): Add vxcache.c.
4037 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
4038 * config/t-vxwoks7: Likewise.
4040 2018-09-21 Martin Liska <mliska@suse.cz>
4042 * libgcov-driver.c (crc32_unsigned): Remove.
4043 (gcov_histogram_insert): Likewise.
4044 (gcov_compute_histogram): Likewise.
4045 (compute_summary): Simplify rapidly.
4046 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
4047 (merge_summary): Rapidly simplify.
4048 (dump_one_gcov): Ignore gcov_summary.
4049 (gcov_do_dump): Do not handle program summary, it's not
4051 * libgcov-util.c (tag_summary): Remove.
4052 (read_gcda_finalize): Fix coding style.
4053 (read_gcda_file): Initialize curr_object_summary.
4054 (compute_summary): Remove.
4055 (calculate_overlap): Remove settings of run_max.
4057 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
4059 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
4060 ucontext_t type instead.
4061 (nds32_fallback_frame_state): Remove struct _sigframe statement.
4063 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
4065 * config/nds32/t-nds32-glibc: New file.
4067 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4069 * configure.ac (solaris_ld_v2_maps): New test.
4070 * configure: Regenerate.
4071 * Makefile.in (solaris_ld_v2_maps): New variable.
4072 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
4075 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
4078 * config/arm/lib1funcs.asm (speculation_barrier): New function.
4079 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
4082 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
4084 * config/unwind-dw2-fde-darwin.c
4085 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
4086 * config/darwin10-unwind-find-enc-func.c: … to here.
4087 * config/t-darwin: Build Darwin10 unwinder shim crt.
4088 * libgcc/config.host: Add the Darwin10 unwinder shim.
4090 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4092 * config.host: Add crtbegin.o and crtend.o for
4093 powerpc-wrs-vxworks target.
4095 2018-08-17 Jojo <jijie_rong@c-sky.com>
4096 Huibin Wang <huibin_wang@c-sky.com>
4097 Sandra Loosemore <sandra@codesourcery.com>
4098 Chung-Lin Tang <cltang@codesourcery.com>
4102 * config.host: Add C-SKY support.
4103 * config/csky/*: New.
4105 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
4107 * config/nds32/t-nds32-isr: Rearrange object dependency.
4108 * config/nds32/initfini.c: Add dwarf2 unwinding support.
4109 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
4110 and registers usage.
4111 * config/nds32/isr-library/excp_isr.S: Ditto.
4112 * config/nds32/isr-library/intr_isr.S: Ditto.
4113 * config/nds32/isr-library/reset.S: Ditto.
4114 * config/nds32/isr-library/restore_all.inc: Ditto.
4115 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
4116 * config/nds32/isr-library/restore_partial.inc: Ditto.
4117 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
4118 * config/nds32/isr-library/save_all.inc: Ditto.
4119 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
4120 * config/nds32/isr-library/save_partial.inc: Ditto.
4121 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
4122 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
4124 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
4126 * config/pa/linux-atomic.c: Update comment.
4127 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
4128 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
4129 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
4130 __ATOMIC_RELAXED for atomic loads.
4131 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
4132 unordered store to release lock.
4133 (__sync_lock_release_8): Likewise.
4134 (SYNC_LOCK_RELEASE_2): Remove define.
4136 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
4139 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
4140 exponent goes negative. Update my email address.
4141 * config/arm/ieee754-sf.S: Likewise.
4143 2018-08-01 Martin Liska <mliska@suse.cz>
4145 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
4146 check that __gcov_indirect_call_callee is non-null.
4148 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
4150 * config/arm/ieee754-df.S: Fix comment for code working on
4152 * config/arm/ieee754-sf.S: Likewise.
4154 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
4157 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4160 2018-07-05 James Clarke <jrtc27@jrtc27.com>
4162 * configure: Regenerated.
4164 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4166 * Makefile.in (install_leaf): Use enable_gcov instead of
4169 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4171 * configure.ac: Add --disable-gcov option.
4172 * configure: Regenerate.
4173 * Makefile.in: Honour @enable_gcov@.
4175 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
4177 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
4178 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
4179 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
4180 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
4182 * config/arm/ieee754-sf.S: Likewise.
4183 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
4185 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
4187 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
4189 * config/arm/ieee754-sf.S: Likewise.
4191 2018-06-20 Than McIntosh <thanm@google.com>
4194 * generic-morestack.c (allocate_segment): Move calls to getenv and
4195 getpagesize to __morestack_load_mmap.
4196 (__morestack_load_mmap) Initialize static_pagesize and
4197 use_guard_page here so as to avoid clobbering SSE regs during a
4200 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
4202 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
4203 support modules with -mno-gnu-attribute.
4204 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
4206 2018-06-07 Olivier Hainque <hainque@adacore.com>
4208 * config/t-vxworks (LIBGCC_INCLUDES): Add
4209 -I$(MULTIBUILDTOP)../../gcc/include.
4210 * config/t-vxworks7: Likewise. Reformat a bit to match
4211 the t-vxworks layout.
4213 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
4215 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
4217 2018-06-07 Martin Liska <mliska@suse.cz>
4219 * libgcov-driver.c: Rename cs_all to all and assign it from
4222 2018-06-07 Martin Liska <mliska@suse.cz>
4225 * libgcov-driver-system.c (replace_filename_variables): Use
4226 memcpy instead of mempcpy.
4227 (allocate_filename_struct): Do not allocate filename, allocate
4229 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
4230 here and properly copy content into it.
4231 * libgcov-driver.c (struct gcov_filename): Remove max_length
4232 field, change prefix from size_t into char *.
4233 (compute_summary): Do not calculate longest filename.
4234 (gcov_do_dump): Release memory of gf.filename after each file.
4235 * libgcov-util.c (compute_summary): Use new signature of
4237 (calculate_overlap): Likewise.
4239 2018-06-05 Martin Liska <mliska@suse.cz>
4241 PR gcov-profile/47618
4242 * libgcov-driver-system.c (replace_filename_variables): New
4244 (gcov_exit_open_gcda_file): Use it.
4246 2018-06-05 Martin Liska <mliska@suse.cz>
4248 * libgcov-driver.c (gcov_compute_histogram): Remove usage
4249 of gcov_ctr_summary.
4250 (compute_summary): Do it just for a single summary.
4251 (merge_one_data): Likewise.
4252 (merge_summary): Simplify as we read just single summary.
4253 (dump_one_gcov): Pass proper argument.
4254 * libgcov-util.c (compute_one_gcov): Simplify as we have just
4256 (gcov_info_count_all_cold): Likewise.
4257 (calculate_overlap): Likewise.
4259 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
4260 Monk Chiang <sh.chiang04@gmail.com>
4262 * config.host (nds32*-linux*): New.
4263 * config/nds32/linux-atomic.c: New file.
4264 * config/nds32/linux-unwind.h: New file.
4266 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
4269 * config/i386/cpuinfo.c (get_amd_cpu): Return
4270 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
4272 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
4274 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
4276 2018-05-29 Martin Liska <mliska@suse.cz>
4278 PR gcov-profile/85759
4279 * libgcov-driver-system.c (gcov_error): Introduce usage of
4280 GCOV_EXIT_AT_ERROR env. variable.
4281 * libgcov-driver.c (merge_one_data): Print error that we
4282 overwrite a gcov file with a different timestamp.
4284 2018-05-23 Kalamatee <kalamatee@gmail.com>
4286 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
4289 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
4290 Monk Chiang <sh.chiang04@gmail.com>
4291 Jim Wilson <jimw@sifive.com>
4293 * config/riscv/save-restore.S: Add support for rv32e.
4295 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4297 * config/arm/libunwind.S: Update comment relating to armv5.
4299 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
4301 * config/arm/cmse.c (cmse_check_address_range): Replace
4302 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
4304 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
4306 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
4307 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
4309 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
4311 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
4312 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
4314 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
4316 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
4318 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
4319 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
4322 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
4323 op_and_fetch to return the right result.
4325 2018-04-27 Alan Modra <amodra@gmail.com>
4328 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
4329 -fno-asynchronous-unwind-tables.
4331 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
4333 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
4334 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
4336 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
4338 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
4339 when including "config/i386/shadow-stack-unwind.h".
4341 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
4343 * configure: Regenerated.
4345 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
4348 * config/rs6000/_powikf2.c: New file. Add support for the
4349 __builtin_powil function when long double is IEEE 128-bit floating
4351 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
4353 (__powikf2): Likewise.
4354 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
4355 (__powikf2_hw): Likewise.
4356 (__powikf2): Likewise.
4357 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
4358 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
4359 (_powikf2-hw.c): Likewise.
4361 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
4364 * unwind-generic.h (_Unwind_Frames_Increment): New.
4365 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4367 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
4368 count with _Unwind_Frames_Increment.
4369 (_Unwind_ForcedUnwind_Phase2): Likewise.
4371 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
4374 * config/i386/morestack.S (__stack_split_initialize): Add
4377 2018-04-19 Jakub Jelinek <jakub@redhat.com>
4379 * configure: Regenerated.
4381 2018-04-18 David Malcolm <dmalcolm@redhat.com>
4384 * configure: Regenerate.
4386 2018-04-16 Jakub Jelinek <jakub@redhat.com>
4389 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
4390 -Wdangling-else warnings. Mask shift counts to avoid
4391 -Wshift-count-negative and -Wshift-count-overflow false positives.
4393 2018-04-06 Ruslan Bukin <br@bsdpad.com>
4395 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
4397 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
4400 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
4401 (XSTATE_FP): Likewise.
4402 (XSTATE_SSE): Likewise.
4403 (XSTATE_YMM): Likewise.
4404 (XSTATE_OPMASK): Likewise.
4405 (XSTATE_ZMM): Likewise.
4406 (XSTATE_HI_ZMM): Likewise.
4407 (XCR_AVX_ENABLED_MASK): Likewise.
4408 (XCR_AVX512F_ENABLED_MASK): Likewise.
4409 (get_available_features): Enable AVX and AVX512 features only
4410 if their states are supported by OSXSAVE.
4412 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4415 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4416 Fix a typo, tmp => 255.
4418 2018-03-20 Jakub Jelinek <jakub@redhat.com>
4421 * config/i386/cpuinfo.h (__cpu_features2): Declare.
4422 * config/i386/cpuinfo.c (__cpu_features2): New variable for
4424 (set_feature): Define.
4425 (get_available_features): Use set_feature macro. Set __cpu_features2
4426 to the second word of features ifndef SHARED.
4428 2018-03-15 Julia Koval <julia.koval@intel.com>
4430 * config/i386/cpuinfo.c (get_available_features): Add
4431 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
4432 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
4433 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
4434 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
4435 FEATURE_AVX512BITALG.
4437 2018-03-14 Julia Koval <julia.koval@intel.com>
4439 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
4440 icelake client and icelake server.
4442 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
4444 * config/pa/fptr.c (_dl_read_access_allowed): New.
4445 (__canonicalize_funcptr_for_compare): Use it.
4447 2018-02-28 Jakub Jelinek <jakub@redhat.com>
4450 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
4451 $asm_hidden_op if visibility ("hidden") attribute works.
4452 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
4453 * config/i386/i386-asm.h: Don't include auto-host.h.
4454 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
4455 PACKAGE_URL): Don't undefine.
4456 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
4457 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
4458 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
4459 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
4460 definition instead of hardcoded .hidden.
4461 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
4462 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
4463 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
4464 (USE_GAS_CFI_DIRECTIVES): Don't define.
4465 * configure: Regenerated.
4466 * config.in: Likewise.
4468 2018-02-26 Jakub Jelinek <jakub@redhat.com>
4471 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
4472 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
4473 inclusion of auto-target.h and auto-host.h.
4474 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
4475 __GCC_HAVE_DWARF2_CFI_ASM.
4476 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4477 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
4479 * config/i386/cygwin.S: Don't include auto-host.h here, just
4480 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
4481 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4482 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
4483 * config/i386/resms64fx.h: Add cfi_* directives.
4484 * config/i386/resms64x.h: Likewise.
4486 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
4488 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
4489 .literal_position directive.
4490 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
4492 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4495 * configure: Regenerate.
4497 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4500 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4501 Include cetintrin.h not x86intrin.h.
4503 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4506 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4507 Use new _get_ssp and _inc_ssp intrinsics.
4509 2018-02-02 Julia Koval <julia.koval@intel.com>
4511 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
4513 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4515 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
4517 (__divsi3): Use RF16 safe registers.
4518 (__modsi3): Likewise.
4520 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
4522 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
4523 (__divsf3): Make NaN return value quiet.
4524 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
4525 (__divdf3): Make NaN return value quiet.
4527 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4529 * config/rl78/anddi3.S: New assembly file.
4530 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
4532 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4534 * config/rl78/umindi3.S: New assembly file.
4535 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
4537 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4539 * config/rl78/smindi3.S: New assembly file.
4540 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
4542 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4544 * config/rl78/smaxdi3.S: New assembly file.
4545 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
4547 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4549 * config/rl78/umaxdi3.S: New assembly file.
4550 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
4552 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
4555 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
4556 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
4558 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
4560 * config/aarch64/value-unwind.h (aarch64_vg): New function.
4561 (DWARF_LAZY_REGISTER_VALUE): Define.
4562 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
4563 to provide a fallback register value.
4565 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
4567 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
4568 __ibm128, instead of trying to use long double.
4569 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
4570 accomidate -mabi=ieeelongdouble multilibs.
4571 (CVT_IBM128_TO_FLOAT128): Likewise.
4572 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
4573 the appropriate IBM extended double type.
4574 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
4575 (__gcc_qsub): Likewise.
4576 (__gcc_qmul): Likewise.
4577 (__gcc_qdiv): Likewise.
4578 (pack_ldouble): Likewise.
4579 (__gcc_qneg): Likewise.
4580 (__gcc_qeq): Likewise.
4581 (__gcc_qne): Likewise.
4582 (__gcc_qge): Likewise.
4583 (__gcc_qle): Likewise.
4584 (__gcc_stoq): Likewise.
4585 (__gcc_dtoq): Likewise.
4586 (__gcc_itoq): Likewise.
4587 (__gcc_utoq): Likewise.
4588 (__gcc_qunord): Likewise.
4589 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
4590 quad-float128.h for the definitions.
4591 (COPYSIGN): Use the f128 version instead of the q version.
4592 (INFINITY): Likewise.
4593 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
4594 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
4595 quad-float128.h for the definitions.
4596 (COPYSIGN): Use the f128 version instead of the q version.
4597 (INFINITY): Likewise.
4599 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
4600 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
4601 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
4603 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
4605 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
4608 2018-01-03 Jakub Jelinek <jakub@redhat.com>
4610 Update copyright years.
4612 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
4614 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
4615 * config/riscv/multi3.c: New file.
4616 * config/riscv/multi3.S: Remove.
4618 2017-12-08 Jim Wilson <jimw@sifive.com>
4620 * config/riscv/div.S: Use FUNC_* macros.
4621 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
4622 * config/riscv/save-restore.S: Likewise.
4623 * config/riscv/riscv-asm.h: New.
4625 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
4627 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
4628 * config/rs6000/_divkc3.c (__divkc3): Likewise.
4631 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
4632 correct type for all ifunc resolvers to silence -Wattribute-alias
4633 warnings. Eliminate the forward declaration of the resolver
4634 functions which is no longer needed.
4635 (__subkf3_resolve): Likewise.
4636 (__mulkf3_resolve): Likewise.
4637 (__divkf3_resolve): Likewise.
4638 (__negkf2_resolve): Likewise.
4639 (__eqkf2_resolve): Likewise.
4640 (__nekf2_resolve): Likewise.
4641 (__gekf2_resolve): Likewise.
4642 (__gtkf2_resolve): Likewise.
4643 (__lekf2_resolve): Likewise.
4644 (__ltkf2_resolve): Likewise.
4645 (__unordkf2_resolve): Likewise.
4646 (__extendsfkf2_resolve): Likewise.
4647 (__extenddfkf2_resolve): Likewise.
4648 (__trunckfsf2_resolve): Likewise.
4649 (__trunckfdf2_resolve): Likewise.
4650 (__fixkfsi_resolve): Likewise.
4651 (__fixkfdi_resolve): Likewise.
4652 (__fixunskfsi_resolve): Likewise.
4653 (__fixunskfdi_resolve): Likewise.
4654 (__floatsikf_resolve): Likewise.
4655 (__floatdikf_resolve): Likewise.
4656 (__floatunsikf_resolve): Likewise.
4657 (__floatundikf_resolve): Likewise.
4658 (__extendkftf2_resolve): Likewise.
4659 (__trunctfkf2_resolve): Likewise.
4662 * config/rs6000/quad-float128.h (TF): Don't define if long double
4663 is IEEE 128-bit floating point.
4664 (TCtype): Define as either TCmode or KCmode, depending on whether
4665 long double is IEEE 128-bit floating point.
4666 (__mulkc3_sw): Add declarations for software/hardware versions of
4667 complex multiply/divide.
4668 (__divkc3_sw): Likewise.
4669 (__mulkc3_hw): Likewise.
4670 (__divkc3_hw): Likewise.
4671 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4672 handlers to switch between using software emulation and hardware
4673 float128 instructions, build the complex multiply/divide functions
4674 for both software and hardware support.
4675 * config/rs6000/_divkc3.c (_divkc3): Likewise.
4676 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4677 (__divkc3_resolve): Likewise.
4678 (__mulkc3): Likewise.
4679 (__divkc3): Likewise.
4680 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4681 (fp128_hw_src): Likewise.
4682 (fp128_hw_static_obj): Likewise.
4683 (fp128_hw_shared_obj): Likewise.
4684 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4685 _mulkc3.c and _divkc3.c, changing the function name.
4686 (_divkc3-hw.c): Likewise.
4687 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4690 2017-11-26 Julia Koval <julia.koval@intel.com>
4692 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4693 * config/i386/cpuinfo.h (processor_subtypes): Add
4694 INTEL_COREI7_CANNONLAKE.
4696 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4699 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4701 * config/xtensa/unwind-dw2-xtensa.c: Likewise
4702 * config/ia64/unwind-ia64.c: Add frames parameter.
4703 * unwind-sjlj.c: Likewise.
4705 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4707 * config/i386/linux-unwind.h: Include
4708 config/i386/shadow-stack-unwind.h.
4709 * config/i386/shadow-stack-unwind.h: New file.
4710 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4711 pass it to _Unwind_Frames_Extra.
4712 * unwind-generic.h (_Unwind_Frames_Extra): New.
4713 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4714 parameter. Add local variable frames to count number of frames.
4715 (_Unwind_ForcedUnwind_Phase2): Likewise.
4716 (_Unwind_RaiseException): Add local variable frames to count
4717 number of frames, pass it to _Unwind_RaiseException_Phase2 and
4719 (_Unwind_ForcedUnwind): Likewise.
4720 (_Unwind_Resume): Likewise.
4721 (_Unwind_Resume_or_Rethrow): Likewise.
4723 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4725 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4727 * config/i386/morestack.S: Include <cet.h>.
4728 (__morestack_large_model): Add _CET_ENDBR at function entrance.
4729 * config/i386/resms64.h: Include <cet.h>.
4730 * config/i386/resms64f.h: Likewise.
4731 * config/i386/resms64fx.h: Likewise.
4732 * config/i386/resms64x.h: Likewise.
4733 * config/i386/savms64.h: Likewise.
4734 * config/i386/savms64f.h: Likewise.
4735 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4736 (CRTSTUFF_T_CFLAGS): Likewise.
4737 * configure.ac: Include ../config/cet.m4.
4738 Set and substitute CET_FLAGS.
4739 * configure: Regenerated.
4741 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4743 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4745 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4746 * configure.ac (libgcc_cv_solaris_crts): Likewise.
4747 * configure: Regenerate.
4749 2017-11-07 Tom de Vries <tom@codesourcery.com>
4751 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4752 after "do {} while (0)".
4754 2017-11-07 Tom de Vries <tom@codesourcery.com>
4757 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4758 semicolon after "do {} while (0)".
4759 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4760 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4761 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4762 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4764 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
4767 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4768 sysctl to determine whether we're in a trampoline.
4769 Keep the pattern matching method for systems without
4770 KERN_PROC_SIGTRAMP sysctl.
4772 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
4773 Vineet Gupta <vgupta@synopsys.com>
4775 * config.host (arc*-*-linux*): Set md_unwind_header variable.
4776 * config/arc/linux-unwind-reg.def: New file.
4777 * config/arc/linux-unwind-reg.h: Likewise.
4779 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
4781 * config/rl78/subdi3.S: New assembly file.
4782 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4784 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
4786 * config/rl78/adddi3.S: New assembly file.
4787 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4789 2017-10-13 Jakub Jelinek <jakub@redhat.com>
4792 * libgcc2.c (__mulvDI3): If both operands have
4793 the same highpart of -1 and the topmost bit of lowpart is 0,
4794 multiplication overflows even if both lowparts are 0.
4796 2017-09-28 James Bowman <james.bowman@ftdichip.com>
4798 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4800 2017-09-26 Joseph Myers <joseph@codesourcery.com>
4802 * config/microblaze/crti.S, config/microblaze/crtn.S,
4803 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4804 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4805 config/microblaze/mulsi3.S,
4806 config/microblaze/stack_overflow_exit.S,
4807 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4808 config/pa/milli64.S: Add .note.GNU-stack section.
4810 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
4812 * configure.ac: Add Check for HAVE_AS_AVX.
4813 * config.in: Regenerate.
4814 * configure: Likewise.
4815 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4816 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4817 Correct out-of-date comments.
4819 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
4821 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4822 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4824 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
4826 * config/i386/i386-asm.h (PASTE2): New macro.
4827 (ASMNAME): Modify to use PASTE2.
4828 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4829 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
4830 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
4831 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
4832 * config/i386/resms64f.S: Likewise.
4833 * config/i386/resms64fx.S: Likewise.
4834 * config/i386/resms64x.S: Likewise.
4835 * config/i386/savms64.S: Likewise.
4836 * config/i386/savms64f.S: Likewise.
4837 * config/i386/avx_resms64.S: New file that only defines a macro and
4838 includes it's corresponding header file.
4839 * config/i386/avx_resms64f.S: Likewise.
4840 * config/i386/avx_resms64fx.S: Likewise.
4841 * config/i386/avx_resms64x.S: Likewise.
4842 * config/i386/avx_savms64.S: Likewise.
4843 * config/i386/avx_savms64f.S: Likewise.
4844 * config/i386/sse_resms64.S: Likewise.
4845 * config/i386/sse_resms64f.S: Likewise.
4846 * config/i386/sse_resms64fx.S: Likewise.
4847 * config/i386/sse_resms64x.S: Likewise.
4848 * config/i386/sse_savms64.S: Likewise.
4849 * config/i386/sse_savms64f.S: Likewise.
4850 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
4852 2017-09-01 Olivier Hainque <hainque@adacore.com>
4853 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4855 2017-08-31 Olivier Hainque <hainque@adacore.com>
4857 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4858 match as powerpc-wrs-vxworks*.
4860 2017-08-07 Jonathan Yong <10walls@gmail.com>
4862 * config.host (*-cygwin): Include file from mingw
4863 config/i386/enable-execute-stack-mingw32.c
4865 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
4866 Doug Rupp <rupp@adacore.com>
4867 Olivier Hainque <hainque@adacore.com>
4869 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
4870 as well as arm-wrs-vxworks.
4871 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
4873 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
4874 __exidx_start and __exidx_end for downloadable modules.
4876 2017-08-01 Olivier Hainque <hainque@adacore.com>
4878 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
4879 * config/t-vxworks7: Likewise.
4881 2017-08-01 Olivier Hainque <hainque@adacore.com>
4883 * config/t-vxworks: Instead of redefining LIB2ADD,
4884 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
4886 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
4888 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
4890 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
4893 * config.host: include i386/t-msabi for darwin and solaris.
4894 * config/i386/i386-asm.h
4895 (ELFFN): Rename to FN_TYPE.
4896 (FN_SIZE): New macro.
4897 (FN_HIDDEN): Likewise.
4898 (ASMNAME): Likewise.
4899 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
4901 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
4902 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
4903 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
4905 * config/i386/resms64f.S: Likewise.
4906 * config/i386/resms64fx.S: Likewise.
4907 * config/i386/resms64x.S: Likewise.
4908 * config/i386/savms64.S: Likewise.
4909 * config/i386/savms64f.S: Likewise.
4911 2017-07-19 John Marino <gnugcc@marino.st>
4913 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
4915 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
4918 * configure.ac (PowerPC float128 hardware support): Test whether
4919 we can use __builtin_cpu_supports before enabling the ifunc
4921 * configure: Regenerate.
4923 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
4925 * config.host: Remove uclibc from arc target spec.
4927 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
4929 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
4931 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
4933 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
4934 (have_ieee_hw_p): Delete function.
4935 (SW_OR_HW) Use __builtin_cpu_supports().
4937 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
4939 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4941 2017-07-03 Olivier Hainque <hainque@adacore.com>
4943 * config/t-vxworks7: New file, really.
4945 2017-06-28 Joseph Myers <joseph@codesourcery.com>
4947 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
4948 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
4949 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
4950 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
4951 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
4952 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
4953 config/pa/linux-unwind.h (pa32_fallback_frame_state),
4954 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
4955 config/sh/linux-unwind.h (sh_fallback_frame_state),
4956 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
4957 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
4958 ucontext_t instead of struct ucontext.
4960 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
4962 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
4963 (x86_64-wrs-vxworks7): Likewise.
4965 2017-06-27 Olivier Hainque <hainque@adacore.com>
4967 * config/t-vxworks7: New file.
4968 * config.host (*-*-vxworks7): Use it.
4970 2017-06-22 Matt Turner <mattst88@gmail.com>
4972 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
4975 2017-06-21 Richard Biener <rguenther@suse.de>
4977 PR gcov-profile/81080
4978 * configure.ac: Add AC_SYS_LARGEFILE.
4979 * libgcov.h: Include auto-target.h before tsystem.h to pick
4980 up _FILE_OFFSET_BITS which might differ for multilibs.
4981 * config.in: Regenerate.
4982 * configure: Likewise.
4984 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
4986 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
4988 2017-06-09 Martin Liska <mliska@suse.cz>
4990 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
4991 Reset __gcov_indirect_call_callee to NULL.
4993 2017-06-08 Olivier Hainque <hainque@adacore.com>
4995 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
4996 the set of -I options, support for direct inclusions of net/uio.h
4997 by VxWorks header files via ioLib.h.
4999 2017-06-07 Tony Reix <tony.reix@atos.net>
5000 Matthieu Sarter <matthieu.sarter.external@atos.net>
5001 David Edelsohn <dje.gcc@gmail.com>
5003 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
5005 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
5008 2017-06-02 Olivier Hainque <hainque@adacore.com>
5010 * config/vxlib.c (__gthread_once): Add missing value to
5013 2017-05-30 Olivier Hainque <hainque@adacore.com>
5015 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
5016 dollar sign before $(MULTIDIR).
5018 2017-05-26 Richard Henderson <rth@redhat.com>
5021 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
5023 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
5025 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
5026 _Unwind_SetIP available as functions for arm*-*-freebsd*.
5027 * config/arm/unwind-arm.c: Implement the above.
5029 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5031 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
5032 section for a non-executable stack.
5034 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
5037 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
5039 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
5041 * config.host: Add i386/t-msabi to i386/t-linux file list.
5042 * config/i386/i386-asm.h: New file.
5043 * config/i386/resms64.S: New file.
5044 * config/i386/resms64f.S: New file.
5045 * config/i386/resms64fx.S: New file.
5046 * config/i386/resms64x.S: New file.
5047 * config/i386/savms64.S: New file.
5048 * config/i386/savms64f.S: New file.
5049 * config/i386/t-msabi: New file.
5051 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
5053 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
5054 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
5056 2017-05-05 Joshua Conner <joshconner@google.com>
5058 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
5059 pc-relative indirect handling for fuchsia.
5060 * config/t-slibgcc-fuchsia: New file.
5061 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
5062 x86_64-*-fuchsia*): Add definitions.
5064 2017-04-19 Martin Liska <mliska@suse.cz>
5066 PR gcov-profile/80435
5067 * Makefile.in: Install gcov.h.
5069 * libgcov.h: Use the header and make __gcov_flush publicly
5072 2017-04-18 Martin Liska <mliska@suse.cz>
5074 PR gcov-profile/78783
5075 * libgcov-driver.c (gcov_get_filename): New function.
5077 2017-04-07 Jeff Law <law@redhat.com>
5079 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
5080 target makefile fragment.
5081 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
5083 2017-04-07 Alan Modra <amodra@gmail.com>
5086 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
5088 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
5090 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
5092 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
5094 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
5096 2017-03-10 John Marino <gnugcc@marino.st>
5098 * config/aarch64/freebsd-unwind.h: New file.
5099 * config.host: Add aarch64-*-freebsd unwinder.
5101 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
5103 * config/rs6000/crtrestvr.s: Use .machine altivec.
5104 * config/rs6000/crtsavevr.s: Ditto.
5106 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
5108 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
5109 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
5110 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
5111 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
5112 * configure: Regenerate.
5113 * config.in: Regenerate.
5115 2017-03-02 Jonathan Yong <10walls@gmail.com>
5117 * config/i386/gthr-win32.h: Define NOGDI before
5118 windows.h include to prevent w32api CC_NONE macro
5119 clash with libgfortran.
5121 2017-03-02 Jonathan Yong <10walls@gmail.com>
5123 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
5125 2017-02-16 Andrew Pinski <apinski@cavium.com>
5127 * config/aarch64/value-unwind.h: New file.
5128 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
5131 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
5133 * config.host: Add RISC-V tuples.
5134 * config/riscv/atomic.c: New file.
5135 * config/riscv/crti.S: Likewise.
5136 * config/riscv/crtn.S: Likewise.
5137 * config/riscv/div.S: Likewise.
5138 * config/riscv/linux-unwind.h: Likewise.
5139 * config/riscv/muldi3.S: Likewise.
5140 * config/riscv/multi3.S: Likewise.
5141 * config/riscv/save-restore.S: Likewise.
5142 * config/riscv/sfp-machine.h: Likewise.
5143 * config/riscv/t-elf: Likewise.
5144 * config/riscv/t-elf32: Likewise.
5145 * config/riscv/t-elf64: Likewise.
5146 * config/riscv/t-softfp32: Likewise.
5147 * config/riscv/t-softfp64: Likewise.
5149 2017-01-24 Jakub Jelinek <jakub@redhat.com>
5151 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
5152 /* FALLTHRU */ comments.
5154 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
5156 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
5158 2017-01-20 Jiong Wang <jiong.wang@arm.com>
5160 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
5161 * unwind-dw2.c (execute_cfa_program): Only multiplexing
5162 DW_CFA_GNU_window_save for AArch64 and LP64.
5164 2017-01-20 Jiong Wang <jiong.wang@arm.com>
5166 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
5168 2017-01-19 Jiong Wang <jiong.wang@arm.com>
5170 * config/aarch64/aarch64-unwind.h: New file.
5171 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
5172 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
5173 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
5174 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
5175 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
5176 (aarch64_post_extract_frame_addr): New function.
5177 (aarch64_post_frob_eh_handler_addr): New function.
5178 (aarch64_frob_update_context): New function.
5179 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
5180 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
5181 aarch64*-*-freebsd*):
5182 Initialize md_unwind_header to include aarch64-unwind.h.
5183 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
5184 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
5186 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
5187 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
5188 (uw_frob_return_addr): New function.
5189 (uw_install_context): Use uw_frob_return_addr.
5191 2017-01-17 Jakub Jelinek <jakub@redhat.com>
5194 * configure.ac: Add GCC_BASE_VER.
5195 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
5196 version from BASE-VER file.
5197 * configure: Regenerated.
5199 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
5201 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
5202 libmul_f5.a): Filter archived prerequisites.
5204 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
5206 * config/i386/cpuinfo.h (processor_features): Add
5207 FEATURE_AVX512VPOPCNTDQ.
5208 * config/i386/cpuinfo.c (get_available_features): Habdle new
5211 2017-01-04 Joseph Myers <joseph@codesourcery.com>
5213 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
5214 payload if [__mips_nan2008].
5216 2017-01-04 Alan Modra <amodra@gmail.com>
5218 * Makefile.in (configure_deps): Update.
5219 * configure: Regenerate.
5221 2017-01-01 Jakub Jelinek <jakub@redhat.com>
5223 Update copyright years.
5225 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
5227 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
5228 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
5229 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
5231 2016-12-17 Matthias Klose <doko@ubuntu.com>
5233 * config/arc/gmon: Remove empty directory.
5235 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
5237 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
5239 (arc*-*-elf*): Likewise.
5240 * config/arc/t-arc: Remove old gmon lib targets.
5241 * config/arc/crtg.S: Remove.
5242 * config/arc/crtgend.S: Likewise.
5243 * config/arc/gmon/atomic.h: Likewise.
5244 * config/arc/gmon/auxreg.h: Likewise.
5245 * config/arc/gmon/dcache_linesz.S: Likewise.
5246 * config/arc/gmon/gmon.c: Likewise.
5247 * config/arc/gmon/machine-gmon.h: Likewise.
5248 * config/arc/gmon/mcount.c: Likewise.
5249 * config/arc/gmon/prof-freq-stub.S: Likewise.
5250 * config/arc/gmon/prof-freq.c: Likewise.
5251 * config/arc/gmon/profil.S: Likewise.
5252 * config/arc/gmon/sys/gmon.h: Likewise.
5253 * config/arc/gmon/sys/gmon_out.h: Likewise.
5254 * config/arc/t-arc-newlib: Likewise.
5255 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
5257 2016-12-12 George Spelvin <linux@sciencehorizons.net>
5259 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
5261 2016-12-12 George Spelvin <linux@sciencehorizons.net>
5263 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
5264 R16 instead of push + pop.
5265 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
5267 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
5269 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
5272 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
5274 * config.host (arc*-*-linux-uclibc*): Use default extra
5275 objects. Include linux-android header.
5276 * config/arc/crti.S (_init): Declare symbol as function.
5279 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
5282 * config/i386/cpuinfo.c: Move denums for processor vendors,
5283 processor type, processor subtypes and declaration of
5284 struct __processor_model into
5285 * config/i386/cpuinfo.h: New header file.
5287 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
5288 Thomas Preud'homme <thomas.preudhomme@arm.com>
5290 * config/arm/cmse_nonsecure_call.S: New.
5291 * config/arm/t-arm: Compile cmse_nonsecure_call.S
5293 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
5294 Thomas Preud'homme <thomas.preudhomme@arm.com>
5296 * config/arm/t-arm (HAVE_CMSE): New.
5297 * config/arm/cmse.c: New.
5299 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
5302 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
5303 use generic linker version information on Blackfin.
5306 * libgcc/mkmap-symver.awk: add support for skip_underscore
5308 2016-11-27 Iain Sandoe <iain@codesourcery.com>
5309 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5312 * config/t-darwin: Default builds to 10.5 codegen.
5314 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
5316 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
5317 (_FP_NANSIGN_H): Likewise.
5318 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
5319 (softfp_truncations): Add tfhf.
5320 (softfp_extras): Add required conversion functions.
5322 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5323 Matthew Wahab <matthew.wahab@arm.com>
5325 * config/arm/fp16.c (binary64): New.
5326 (__gnu_d2h_internal): New.
5327 (__gnu_d2h_ieee): New.
5328 (__gnu_d2h_alternative): New.
5330 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5331 Matthew Wahab <matthew.wahab@arm.com>
5333 * config/arm/fp16.c (struct format): New.
5335 (__gnu_float2h_internal): New. Body moved from
5336 __gnu_f2h_internal and generalize.
5337 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
5338 Call it with binary32.
5340 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5342 * soft-fp/extendhftf2.c: Update from glibc.
5343 * soft-fp/fixhfti.c: Likewise.
5344 * soft-fp/fixunshfti.c: Likewise.
5345 * soft-fp/floattihf.c: Likewise.
5346 * soft-fp/floatuntihf.c: Likewise.
5347 * soft-fp/half.h: Likewise.
5348 * soft-fp/trunctfhf2.c: Likewise.
5350 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
5353 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
5354 __TMC_END__ behind a passthrough asm.
5356 2016-11-18 Walter Lee <walt@tilera.com>
5358 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
5360 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
5362 * config/i386/cpuinfo.c (processor_features): Add
5363 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
5365 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
5367 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
5368 (__ARC_NORM__): Use instead ARC_OPTFPE.
5369 * config/arc/fp-hack.h: Likewise.
5370 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
5371 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
5373 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
5375 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
5376 * config/nvptx/mgomp.c: New file.
5377 * config/nvptx/t-nvptx: Add mgomp.c
5379 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
5382 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
5384 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
5386 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
5387 of checking for cpus.
5388 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
5389 (__modsi3, __clzsi2): Likewise.
5391 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5393 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
5394 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
5395 * config/i386/t-cpuinfo-static: New.
5397 2016-11-03 Martin Liska <mliska@suse.cz>
5399 * libgcov-profiler.c (__gcov_time_profiler): Remove.
5400 (__gcov_time_profiler_atomic): Likewise.
5402 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
5405 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
5406 count_leading_zeros.
5408 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
5410 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
5411 * libgcc2.c (__divmoddi4): New function.
5412 * libgcc2.h (__divmoddi4): Declare.
5413 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
5414 and __PFX_divmodti4.
5416 2016-10-24 Florian Weimer <fweimer@redhat.com>
5419 * unwind-c.c: Include auto-target.h.
5421 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
5423 * config/pa/pa64-hpux-lib.h: New file.
5424 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
5425 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
5426 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
5429 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
5431 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5433 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5435 * config/xtensa/t-windowed (LIB2ADDEH): Use
5436 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
5439 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
5441 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
5442 __ieee754_sqrt): New functions.
5443 (__divdf3): Add implementation with new FPU instructions under
5444 #if XCHAL_HAVE_DFP_DIV.
5445 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
5446 __ieee754_sqrtf): New functions.
5447 (__divsf3): Add implementation with new FPU instructions under
5448 #if XCHAL_HAVE_FP_DIV.
5449 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
5450 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
5452 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
5454 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
5456 * config/tilepro/atomic.c: Likewise and stop casting model to
5459 2016-10-10 Joseph Myers <joseph@codesourcery.com>
5462 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
5465 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
5467 * config.host: Add support for aarch64-*-freebsd*.
5469 2016-10-05 Andreas Schwab <schwab@suse.de>
5471 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
5472 (.section .init_array): Don't call __do_jv_register_classes.
5473 (.section .init): Likewise.
5475 2016-10-04 Jakub Jelinek <jakub@redhat.com>
5477 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
5478 (__JCR_LIST__): Remove.
5479 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
5480 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
5481 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
5482 * config/ia64/crtend.S (__JCR_END__): Remove.
5483 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
5485 (__JCR_LIST__, __JCR_END__): Remove.
5486 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
5487 (__do_global_ctors_1): Likewise.
5489 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
5491 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
5492 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
5494 2016-09-27 Martin Liska <mliska@suse.cz>
5496 PR gcov-profile/7970
5497 PR gcov-profile/16855
5498 PR gcov-profile/44779
5499 * libgcov-driver.c (__gcov_init): Do not register a atexit
5501 (__gcov_exit): Rename from gcov_exit.
5502 * libgcov.h (__gcov_exit): Declare.
5504 2016-09-27 Martin Liska <mliska@suse.cz>
5507 * Makefile.in: Remove _gcov_merge_delta.
5508 * libgcov-merge.c (void __gcov_merge_delta): Remove.
5509 * libgcov-util.c (__gcov_delta_counter_op): Remove.
5510 * libgcov.h: Remove declaration of __gcov_merge_delta.
5512 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
5514 * configure.ac: Do not create links, only substitute the filenames.
5515 * configure: Regenerate.
5516 * Makefile.in: Assign the substitution results to variables.
5517 (LIBGCC_LINKS): Define.
5518 (enable-execute-stack.c): New rule.
5519 (unwind.h): Likewise.
5520 (md-unwind-support.h): Likewise.
5521 (sfp-machine.h): Likewise.
5522 (gthr-default.h): Likewise.
5523 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
5524 unwind.h as prerequisite of install-unwind_h-forbuild.
5526 2016-09-16 Jakub Jelinek <jakub@redhat.com>
5529 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
5530 is not the primary registry and atomics are available.
5531 (any_objects_registered): New variable.
5532 (__register_frame_info_bases, __register_frame_info_table_bases):
5533 Atomically store 1 to any_objects_registered after registering first
5535 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
5537 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
5540 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
5541 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
5544 (__divhc3): Likewise.
5545 (__mulhc3): Likewise.
5546 * libgcc2.c: Support _mulhc3 and _divhc3.
5548 2016-09-07 Joseph Myers <joseph@codesourcery.com>
5551 * libgcc2.c (NOTRUNC): Invert settings.
5553 2016-09-06 Martin Liska <mliska@suse.cz>
5555 PR gcov-profile/77378
5556 PR gcov-profile/77466
5557 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
5558 conditionaly enable/disable *_atomic functions.
5560 2016-08-26 Joseph Myers <joseph@codesourcery.com>
5562 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
5563 where not already enabled.
5565 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5567 * config/mips/linux-unwind.h: Use sys/syscall.h.
5569 2016-08-16 Joseph Myers <joseph@codesourcery.com>
5572 * soft-fp/adddf3.c: Update from glibc.
5573 * soft-fp/addsf3.c: Likewise.
5574 * soft-fp/addtf3.c: Likewise.
5575 * soft-fp/divdf3.c: Likewise.
5576 * soft-fp/divsf3.c: Likewise.
5577 * soft-fp/divtf3.c: Likewise.
5578 * soft-fp/double.h: Likewise.
5579 * soft-fp/eqdf2.c: Likewise.
5580 * soft-fp/eqsf2.c: Likewise.
5581 * soft-fp/eqtf2.c: Likewise.
5582 * soft-fp/extenddftf2.c: Likewise.
5583 * soft-fp/extended.h: Likewise.
5584 * soft-fp/extendsfdf2.c: Likewise.
5585 * soft-fp/extendsftf2.c: Likewise.
5586 * soft-fp/extendxftf2.c: Likewise.
5587 * soft-fp/fixdfdi.c: Likewise.
5588 * soft-fp/fixdfsi.c: Likewise.
5589 * soft-fp/fixdfti.c: Likewise.
5590 * soft-fp/fixsfdi.c: Likewise.
5591 * soft-fp/fixsfsi.c: Likewise.
5592 * soft-fp/fixsfti.c: Likewise.
5593 * soft-fp/fixtfdi.c: Likewise.
5594 * soft-fp/fixtfsi.c: Likewise.
5595 * soft-fp/fixtfti.c: Likewise.
5596 * soft-fp/fixunsdfdi.c: Likewise.
5597 * soft-fp/fixunsdfsi.c: Likewise.
5598 * soft-fp/fixunsdfti.c: Likewise.
5599 * soft-fp/fixunssfdi.c: Likewise.
5600 * soft-fp/fixunssfsi.c: Likewise.
5601 * soft-fp/fixunssfti.c: Likewise.
5602 * soft-fp/fixunstfdi.c: Likewise.
5603 * soft-fp/fixunstfsi.c: Likewise.
5604 * soft-fp/fixunstfti.c: Likewise.
5605 * soft-fp/floatdidf.c: Likewise.
5606 * soft-fp/floatdisf.c: Likewise.
5607 * soft-fp/floatditf.c: Likewise.
5608 * soft-fp/floatsidf.c: Likewise.
5609 * soft-fp/floatsisf.c: Likewise.
5610 * soft-fp/floatsitf.c: Likewise.
5611 * soft-fp/floattidf.c: Likewise.
5612 * soft-fp/floattisf.c: Likewise.
5613 * soft-fp/floattitf.c: Likewise.
5614 * soft-fp/floatundidf.c: Likewise.
5615 * soft-fp/floatundisf.c: Likewise.
5616 * soft-fp/floatunditf.c: Likewise.
5617 * soft-fp/floatunsidf.c: Likewise.
5618 * soft-fp/floatunsisf.c: Likewise.
5619 * soft-fp/floatunsitf.c: Likewise.
5620 * soft-fp/floatuntidf.c: Likewise.
5621 * soft-fp/floatuntisf.c: Likewise.
5622 * soft-fp/floatuntitf.c: Likewise.
5623 * soft-fp/gedf2.c: Likewise.
5624 * soft-fp/gesf2.c: Likewise.
5625 * soft-fp/getf2.c: Likewise.
5626 * soft-fp/ledf2.c: Likewise.
5627 * soft-fp/lesf2.c: Likewise.
5628 * soft-fp/letf2.c: Likewise.
5629 * soft-fp/muldf3.c: Likewise.
5630 * soft-fp/mulsf3.c: Likewise.
5631 * soft-fp/multf3.c: Likewise.
5632 * soft-fp/negdf2.c: Likewise.
5633 * soft-fp/negsf2.c: Likewise.
5634 * soft-fp/negtf2.c: Likewise.
5635 * soft-fp/op-1.h: Likewise.
5636 * soft-fp/op-2.h: Likewise.
5637 * soft-fp/op-4.h: Likewise.
5638 * soft-fp/op-8.h: Likewise.
5639 * soft-fp/op-common.h: Likewise.
5640 * soft-fp/quad.h: Likewise.
5641 * soft-fp/single.h: Likewise.
5642 * soft-fp/soft-fp.h: Likewise.
5643 * soft-fp/subdf3.c: Likewise.
5644 * soft-fp/subsf3.c: Likewise.
5645 * soft-fp/subtf3.c: Likewise.
5646 * soft-fp/truncdfsf2.c: Likewise.
5647 * soft-fp/trunctfdf2.c: Likewise.
5648 * soft-fp/trunctfsf2.c: Likewise.
5649 * soft-fp/trunctfxf2.c: Likewise.
5650 * soft-fp/unorddf2.c: Likewise.
5651 * soft-fp/unordsf2.c: Likewise.
5652 * soft-fp/unordtf2.c: Likewise.
5654 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
5656 PR gcov-profile/67097
5657 * libgcov-util.c (gcov_profile_merge): Skip missing files.
5659 2016-08-10 Martin Liska <mliska@suse.cz>
5661 PR gcov-profile/58306
5662 * Makefile.in: New functions (modules) are added.
5663 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5665 (__gcov_pow2_profiler_atomic): New function.
5666 (__gcov_one_value_profiler_body): New argument is instroduced.
5667 (__gcov_one_value_profiler): Call with the new argument.
5668 (__gcov_one_value_profiler_atomic): Likewise.
5669 (__gcov_indirect_call_profiler_v2): Likewise.
5670 (__gcov_time_profiler_atomic): New function.
5671 (__gcov_average_profiler_atomic): Likewise.
5672 (__gcov_ior_profiler_atomic): Likewise.
5673 * libgcov.h: Declare the aforementioned functions.
5675 2016-08-09 Martin Liska <mliska@suse.cz>
5677 * libgcov-util.c: Fix typo and GNU coding style.
5679 2016-08-09 Martin Liska <mliska@suse.cz>
5681 * Makefile.in: Remove __gcov_indirect_call_profiler.
5682 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5684 * libgcov.h: And the declaration of the function.
5686 2016-08-09 Martin Liska <mliska@suse.cz>
5688 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5691 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5693 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5694 * config/rs6000/_mulkc3.c: Likewise.
5696 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
5698 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5699 zero_reg as previous call to __umulhisi3 already cleared it.
5701 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
5704 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5706 2016-07-19 Nick Clifton <nickc@redhat.com>
5708 * config.host (m32r): Add m32r/t-m32r to tmake_file.
5709 Add crtinit.o and crtfini.o to extra_parts.
5711 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5713 * config/rs6000/_divkc3.c: New.
5714 * config/rs6000/_mulkc3.c: New.
5715 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5717 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5720 2016-07-11 Hale Wang <hale.wang@arm.com>
5721 Andre Vieira <andre.simoesdiasvieira@arm.com>
5723 * config/arm/lib1funcs.S: Add new wrapper.
5725 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5727 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5729 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5731 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5732 and ARMv5t* rather than for a fixed list of architectures.
5734 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5736 * config/arm/bpabi-v6m.S: Clarify what architectures is the
5737 implementation suitable for.
5738 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5739 for all Thumb-1 only targets.
5740 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5741 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5744 (ARM_FUNC_ALIAS): Likewise.
5745 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5748 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5751 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5752 __ARM_ARCH_6M__ in guard for checking whether it is defined.
5753 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5754 __ARM_ARCH_6M__ and add comment to indicate the connection between
5755 this condition and the one in gcc/config/arm/elf.h.
5756 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5757 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5758 * config/arm/t-softfp: Likewise.
5760 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5762 * libgcc2.c (SYMBOL__MAIN): Remove checks for
5763 CTOR_LISTS_DEFINED_EXTERNALLY.
5765 2016-06-28 Walter Lee <walt@tilera.com>
5767 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5769 (SPR_CMPEXCH_VALUE): Define for tilegx.
5770 (__NR_FAST_cmpxchg): Define for tilepro.
5771 (__NR_FAST_atomic_update): Define for tilepro.
5772 (__NR_FAST_cmpxchg64): Define for tilepro.
5774 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
5776 * config.host: Add suport for arm*-*-phoenix* targets.
5778 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5780 * config.host: Remove support for mep-*.
5781 * config/mep/lib1funcs.S: Remove.
5782 * config/mep/lib2funcs.c: Remove.
5783 * config/mep/t-mep: Remove.
5784 * config/mep/tramp.c: Remove.
5786 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5788 * config.host: Remove support for avr-rtems.
5789 * config/avr/t-rtems: Remove.
5791 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5793 * config.host: Remove m32r-rtems support.
5795 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5797 * config.host: Remove h8300-rtems support.
5799 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5801 * config.host: Remove support for knetbsd.
5803 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5805 * config.host: Remove support for openbsd 2 and 3.
5807 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5809 * config.host: Remove interix support.
5810 * config/i386/t-interix: Remove.
5812 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
5814 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5815 least-significant bit in function pointer for fixup.
5817 2016-06-05 Aaron Conole <aconole@redhat.com>
5818 Nathan Sidwell <nathan@acm.org>
5821 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5822 (get_gcov_error_file): Check __gcov_error_file before trying to
5824 (gcov_error): Always use get_gcov_error_file.
5826 2016-06-02 Aaron Conole <aconole@redhat.com>
5828 * libgcov-driver-system.c (__gcov_error_file): New.
5829 (get_gcov_error_file): New.
5830 (gcov_error): Use and set __gcov_error_file.
5831 (gcov_error_exit): New.
5832 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5834 2016-05-26 Nathan Sidwell <nathan@acm.org>
5836 * config/nvptx/free.asm: Delete.
5837 * config/nvptx/malloc.asm: Delete.
5838 * config/nvptx/realloc.c: Delete.
5841 2016-05-25 Nathan Sidwell <nathan@acm.org>
5843 * config/nvptx/crt0.s: Delete.
5844 * config/nvptx/crt0.c: New.
5847 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
5849 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
5850 dw2/seh configuration.
5851 [x86_64-*-mingw*]: Likewise.
5853 2016-05-10 Joel Sherrill <joel@rtems.org>
5856 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5857 targets so the same extra_parts are built. Also have tmake_file add
5858 on to its value rather than override.
5860 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
5862 * config.host: Remove SH5 support.
5863 * configure: Likewise.
5865 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
5867 * config/sh/crt1.S: Remove SH5 support.
5868 * config/sh/crti.S: Likewise.
5869 * config/sh/crtn.S: Likewise.
5870 * config/sh/lib1funcs-4-300.S: Likewise.
5871 * config/sh/lib1funcs-Os-4-200.S: Likewise.
5872 * config/sh/lib1funcs.S: Likewise.
5873 * config/sh/linux-unwind.h: Likewise.
5874 * config/sh/t-sh64: Delete.
5876 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
5878 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
5880 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
5881 Joern Rennecke <joern.rennecke@embecosm.com>
5883 * config/arc/crttls.S: New file.
5884 * config/arc/t-arc: New rule.
5885 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
5887 2016-04-25 Nick Clifton <nickc@redhat.com>
5889 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
5890 (__mspabi_cmpd): Likewise.
5891 * config/msp430/floathidf.c (__floathidf): Likewise.
5892 * config/msp430/floathisf.c (__floathisf): Likewise
5893 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
5894 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
5895 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
5897 (__ashrsi3): Likewise.
5899 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
5901 * config/m68k/linux-atomic.c: Do not include unistd.h
5903 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
5905 * config/arm/ieee754-df.S: Fix typos in comments.
5907 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
5910 * configure.ac (powerpc*-*-linux*): Rework tests to build
5911 __float128 emulation routines to not depend on using #pragma GCC
5912 target to enable -mfloat128.
5913 * configure: Regnerate.
5915 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
5918 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
5919 __MINGW32__ is defined.
5921 2016-03-28 James Bowman <james.bowman@ftdichip.com>
5923 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
5925 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
5928 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
5929 built with an assembler that does not support ISA 3.0
5930 instructions, rename __extendkftf2_sw to __extendkftf2.
5932 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5935 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
5936 call-clobbered registers.
5937 (internal_mcount): Remove __i386__ handling.
5939 2016-02-26 Joel Sherrill <joel@rtems.org>
5941 * config.host: Add x86_64-*-rtems*.
5943 2016-02-26 Joel Sherrill <joel@rtems.org>
5945 * libgcc/config.host: Add aarch64-*-rtems*.
5947 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5948 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5950 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
5951 union of u64 and double.
5952 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
5953 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
5955 (FP_ROUNDMODE): Update the usage of _fpscr.
5957 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
5960 * Makefile.in (crtoffloadtable$(objext)): New rule.
5961 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
5962 enable_offload_targets is not empty.
5963 * configure: Regenerate.
5964 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
5967 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
5969 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
5970 .literal_position before the function.
5971 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
5974 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
5976 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
5977 * config/s390/morestack.S: New file.
5978 * config/s390/t-stack-s390: New file.
5979 * generic-morestack.c (__splitstack_find): Add s390-specific code.
5981 2016-02-12 Walter Lee <walt@tilera.com>
5983 * config.host (tilegx*-*-linux*): remove ti from
5984 softfp_int_modes for 32-bit configs.
5986 2016-02-10 Ian Lance Taylor <iant@google.com>
5989 * config/i386/morestack.S (__stack_split_initialize): Align
5992 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
5995 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
5996 __FLOAT128__ to compile only for __float128 capable targets.
5998 2016-01-25 Jakub Jelinek <jakub@redhat.com>
6001 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
6002 instead of ___NO_FPRS__.
6004 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
6005 Steven Munroe <munroesj@linux.vnet.ibm.com>
6006 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
6008 * config/rs6000/float128-sed: New files to convert TF names to KF
6009 names for PowerPC IEEE 128-bit floating point support.
6010 * config/rs6000/float128-sed-hw: Likewise.
6012 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
6013 floating point hardware support.
6015 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
6016 128-bit floating point software emulation or use ISA 3.0 hardware
6017 support if it is available.
6019 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
6022 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
6023 floating point to IBM extended double.
6025 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
6026 double to IEEE 128-bit floating point.
6028 * config/rs6000/t-float128: New Makefile fragments to enable
6029 building __float128 emulation support.
6030 * config/rs6000/t-float128-hw: Likewise.
6032 * config/rs6000/sfp-exceptions.c: New file to provide exception
6033 support for IEEE 128-bit floating point.
6035 * config/rs6000/floattikf.c: New files for converting between IEEE
6036 128-bit floating point and signed/unsigned 128-bit integers.
6037 * config/rs6000/fixunskfti.c: Likewise.
6038 * config/rs6000/fixkfti.c: Likewise.
6039 * config/rs6000/floatuntikf.c: Likewise.
6041 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
6042 when building on 64-bit systems, or when VSX is enabled.
6043 (_FP_W_TYPE): Likewise.
6044 (_FP_WS_TYPE): Likewise.
6045 (_FP_I_TYPE): Likewise.
6046 (TItype): Define on 64-bit systems.
6047 (UTItype): Likewise.
6048 (TI_BITS): Likewise.
6049 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
6050 (_FP_MUL_MEAT_Q): Likewise.
6051 (_FP_DIV_MEAT_D): Likewise.
6052 (_FP_DIV_MEAT_Q): Likewise.
6053 (_FP_NANFRAC_D): Likewise.
6054 (_FP_NANFRAC_Q): Likewise.
6055 (ISA_BIT): Add exception support if we are being compiled on a
6056 machine with hardware floating point support to build the IEEE
6057 128-bit emulation functions.
6058 (FP_EX_INVALID): Likewise.
6059 (FP_EX_OVERFLOW): Likewise.
6060 (FP_EX_UNDERFLOW): Likewise.
6061 (FP_EX_DIVZERO): Likewise.
6062 (FP_EX_INEXACT): Likewise.
6063 (FP_EX_ALL): Likewise.
6064 (__sfp_handle_exceptions): Likewise.
6065 (FP_HANDLE_EXCEPTIONS): Likewise.
6066 (FP_RND_NEAREST): Likewise.
6067 (FP_RND_ZERO): Likewise.
6068 (FP_RND_PINF): Likewise.
6069 (FP_RND_MINF): Likewise.
6070 (FP_RND_MASK): Likewise.
6071 (_FP_DECL_EX): Likewise.
6072 (FP_INIT_ROUNDMODE): Likewise.
6073 (FP_ROUNDMODE): Likewise.
6075 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
6076 VSX code, enable IEEE 128-bit floating point. If the compiler can
6077 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
6078 floating point hardware instructions and it supports declaring
6079 functions with the ifunc attribute, enable ifunc functions to
6080 switch between software and hardware support.
6081 * configure.ac (powerpc*-*-linux*): Likewise.
6082 * configure: Regenerate.
6084 2016-01-15 Nick Clifton <nickc@redhat.com>
6086 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
6087 dependency as the source file to be compiled.
6088 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
6089 (lib2hw_mul_f5.o): Likewise.
6091 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
6093 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
6094 * libgcc/config/rs6000/fixkfti.c: Likewise.
6095 * libgcc/config/rs6000/fixunskfti.c: Likewise.
6096 * libgcc/config/rs6000/float128-hw.c: Likewise.
6097 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
6098 * libgcc/config/rs6000/float128-sed: Likewise.
6099 * libgcc/config/rs6000/floattikf.c: Likewise.
6100 * libgcc/config/rs6000/floatuntikf.c: Likewise.
6101 * libgcc/config/rs6000/quad-float128.h: Likewise.
6102 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
6103 * libgcc/config/rs6000/sfp-machine.h: Likewise.
6104 * libgcc/config/rs6000/t-float128: Likewise.
6105 * libgcc/config/rs6000/t-float128-hw: Likewise.
6106 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
6107 * libgcc/config.host: Likewise.
6108 * libgcc/configure: Likewise.
6109 * libgcc/configure.ac: Likewise.
6111 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
6112 Steven Munroe <munroesj@linux.vnet.ibm.com>
6113 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
6115 * config/rs6000/sfp-exceptions.c: New file to provide exception
6116 support for IEEE 128-bit floating point.
6118 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
6119 floating point hardware support.
6121 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
6123 * config/rs6000/fixunskfti.c: Likewise.
6124 * config/rs6000/fixkfti.c: Likewise.
6125 * config/rs6000/floatuntikf.c: Likewise.
6126 * config/rs6000/extendkftf2-sw.c: Likewise.
6127 * config/rs6000/trunctfkf2-sw.c: Likewise.
6129 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
6130 128-bit floating point software emulation or use ISA 3.0 hardware
6131 support if it is available.
6133 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
6136 * config/rs6000/t-float128: New Makefile fragments to enable
6137 building __float128 emulation support.
6138 * config/rs6000/t-float128-hw: Likewise.
6140 * config/rs6000/float128-sed: New file to convert TF names to KF
6141 names for PowerPC IEEE 128-bit floating point support.
6143 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
6144 when building on 64-bit systems, or when VSX is enabled.
6145 (_FP_W_TYPE): Likewise.
6146 (_FP_WS_TYPE): Likewise.
6147 (_FP_I_TYPE): Likewise.
6148 (TItype): Define on 64-bit systems.
6149 (UTItype): Likewise.
6150 (TI_BITS): Likewise.
6151 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
6152 (_FP_MUL_MEAT_Q): Likewise.
6153 (_FP_DIV_MEAT_D): Likewise.
6154 (_FP_DIV_MEAT_Q): Likewise.
6155 (_FP_NANFRAC_D): Likewise.
6156 (_FP_NANFRAC_Q): Likewise.
6157 (ISA_BIT): Add exception support if we are being compiled on a
6158 machine with hardware floating point support to build the IEEE
6159 128-bit emulation functions.
6160 (FP_EX_INVALID): Likewise.
6161 (FP_EX_OVERFLOW): Likewise.
6162 (FP_EX_UNDERFLOW): Likewise.
6163 (FP_EX_DIVZERO): Likewise.
6164 (FP_EX_INEXACT): Likewise.
6165 (FP_EX_ALL): Likewise.
6166 (__sfp_handle_exceptions): Likewise.
6167 (FP_HANDLE_EXCEPTIONS): Likewise.
6168 (FP_RND_NEAREST): Likewise.
6169 (FP_RND_ZERO): Likewise.
6170 (FP_RND_PINF): Likewise.
6171 (FP_RND_MINF): Likewise.
6172 (FP_RND_MASK): Likewise.
6173 (_FP_DECL_EX): Likewise.
6174 (FP_INIT_ROUNDMODE): Likewise.
6175 (FP_ROUNDMODE): Likewise.
6177 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
6178 compiler can do __float128.
6179 * configure: Regenerate.
6181 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
6182 VSX code, enable IEEE 128-bit floating point.
6184 2016-01-05 Olivier Hainque <hainque@adacore.com>
6186 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
6189 2016-01-04 Jakub Jelinek <jakub@redhat.com>
6191 Update copyright years.
6193 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
6195 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
6198 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
6200 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
6201 instead of abort to avoid dependency on stdlib.h.
6203 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
6205 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
6206 to initialize call to __dl_fixup once.
6208 2015-12-04 Nick Clifton <nickc@redhat.com>
6210 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
6211 Allow for the second argument being negative.
6212 * config.host (extra_parts): Define for MSP430. Create separate
6213 libraries for each of the hardware multiply formats.
6214 * config/msp430/lib2hw_mul.S: Build only the multiply routines
6216 * config/msp430/lib2mul.c: Likewise.
6217 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
6218 Add rules to build hardware multiply libraries.
6219 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
6220 __mspabi_divul function.
6221 (__mspabi_divllu): New stub function.
6223 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
6225 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
6226 fixup values if saved GOT address doesn't match runtime address.
6227 (fixup_branch_offset): Reorder list.
6229 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6231 * Makefile.in (VTV_CFLAGS): New variable.
6232 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
6233 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
6234 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6235 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
6236 to extra_parts if $enable_vtable_verify = yes.
6238 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
6241 * config/arm/linux-atomic-64bit.c (__write): Rename to...
6242 (write): ...this and fix the return type.
6244 2015-11-19 DJ Delorie <dj@redhat.com>
6246 * config/msp430/lib2hw_mul.S: Fix alignment.
6248 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
6250 * config/nvptx/reduction.c: New.
6251 * config/nvptx/t-nvptx (LIB2ADD): Add it.
6253 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
6255 * config/rs6000/on_exit.c: New file.
6256 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
6257 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
6259 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
6261 * config/arc/dp-hack.h: Add support for ARCHS.
6262 * config/arc/ieee-754/divdf3.S: Likewise.
6263 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6264 * config/arc/ieee-754/muldf3.S: Likewise.
6265 * config/arc/ieee-754/mulsf3.S: Likewise
6266 * config/arc/lib1funcs.S: Likewise
6267 * config/arc/gmon/dcache_linesz.S: Don't read the build register
6269 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
6271 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
6272 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
6275 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6277 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
6279 * config/ia64/crtend.S: Likewise.
6281 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
6283 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
6284 __CHAR_BIT__ instead of BITS_PER_UNIT.
6285 * fixed-bit.h: Likewise.
6286 * fp-bit.h: Likewise.
6287 * libgcc2.c (__popcountSI2): Likewise.
6288 (__popcountDI2): Likewise.
6289 * libgcc2.h: Likewise.
6290 * libgcov.h: Likewise.
6292 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
6294 * config/rs6000/atexit.c: New file.
6295 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
6296 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
6297 * config/rs6000/cxa_finalize.c
6298 (catomic_compare_and_exchange_bool_acq): Negate return value.
6300 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
6302 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
6303 (processor_subtypes): Add znver1.
6304 (get_amd_cpu): Detect znver1.
6306 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
6308 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
6309 Include crtfastmath.o.
6311 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
6314 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
6316 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
6318 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
6319 * config/rl78/divmodsi.S: Update return register to r8.
6320 * config/rl78/divmodhi.S: Update return register to r8,r9.
6321 Branch to main_loop_done_himode to pop registers before return.
6323 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
6325 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
6326 (__cpu_indicator_init): Fix model selection for AMD CPUs.
6328 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
6330 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
6332 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
6334 * config.host (xtensa*-*-uclinux*): New configuration.
6336 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
6338 * config/i386/cpuinfo.c (processor_features): Add
6339 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
6341 2015-09-28 Joseph Myers <joseph@codesourcery.com>
6343 * soft-fp/adddf3.c: Update from glibc.
6344 * soft-fp/addsf3.c: Likewise.
6345 * soft-fp/addtf3.c: Likewise.
6346 * soft-fp/divdf3.c: Likewise.
6347 * soft-fp/divsf3.c: Likewise.
6348 * soft-fp/divtf3.c: Likewise.
6349 * soft-fp/double.h: Likewise.
6350 * soft-fp/eqdf2.c: Likewise.
6351 * soft-fp/eqsf2.c: Likewise.
6352 * soft-fp/eqtf2.c: Likewise.
6353 * soft-fp/extenddftf2.c: Likewise.
6354 * soft-fp/extended.h: Likewise.
6355 * soft-fp/extendsfdf2.c: Likewise.
6356 * soft-fp/extendsftf2.c: Likewise.
6357 * soft-fp/extendxftf2.c: Likewise.
6358 * soft-fp/fixdfdi.c: Likewise.
6359 * soft-fp/fixdfsi.c: Likewise.
6360 * soft-fp/fixdfti.c: Likewise.
6361 * soft-fp/fixsfdi.c: Likewise.
6362 * soft-fp/fixsfsi.c: Likewise.
6363 * soft-fp/fixsfti.c: Likewise.
6364 * soft-fp/fixtfdi.c: Likewise.
6365 * soft-fp/fixtfsi.c: Likewise.
6366 * soft-fp/fixtfti.c: Likewise.
6367 * soft-fp/fixunsdfdi.c: Likewise.
6368 * soft-fp/fixunsdfsi.c: Likewise.
6369 * soft-fp/fixunsdfti.c: Likewise.
6370 * soft-fp/fixunssfdi.c: Likewise.
6371 * soft-fp/fixunssfsi.c: Likewise.
6372 * soft-fp/fixunssfti.c: Likewise.
6373 * soft-fp/fixunstfdi.c: Likewise.
6374 * soft-fp/fixunstfsi.c: Likewise.
6375 * soft-fp/fixunstfti.c: Likewise.
6376 * soft-fp/floatdidf.c: Likewise.
6377 * soft-fp/floatdisf.c: Likewise.
6378 * soft-fp/floatditf.c: Likewise.
6379 * soft-fp/floatsidf.c: Likewise.
6380 * soft-fp/floatsisf.c: Likewise.
6381 * soft-fp/floatsitf.c: Likewise.
6382 * soft-fp/floattidf.c: Likewise.
6383 * soft-fp/floattisf.c: Likewise.
6384 * soft-fp/floattitf.c: Likewise.
6385 * soft-fp/floatundidf.c: Likewise.
6386 * soft-fp/floatundisf.c: Likewise.
6387 * soft-fp/floatunditf.c: Likewise.
6388 * soft-fp/floatunsidf.c: Likewise.
6389 * soft-fp/floatunsisf.c: Likewise.
6390 * soft-fp/floatunsitf.c: Likewise.
6391 * soft-fp/floatuntidf.c: Likewise.
6392 * soft-fp/floatuntisf.c: Likewise.
6393 * soft-fp/floatuntitf.c: Likewise.
6394 * soft-fp/gedf2.c: Likewise.
6395 * soft-fp/gesf2.c: Likewise.
6396 * soft-fp/getf2.c: Likewise.
6397 * soft-fp/ledf2.c: Likewise.
6398 * soft-fp/lesf2.c: Likewise.
6399 * soft-fp/letf2.c: Likewise.
6400 * soft-fp/muldf3.c: Likewise.
6401 * soft-fp/mulsf3.c: Likewise.
6402 * soft-fp/multf3.c: Likewise.
6403 * soft-fp/negdf2.c: Likewise.
6404 * soft-fp/negsf2.c: Likewise.
6405 * soft-fp/negtf2.c: Likewise.
6406 * soft-fp/op-1.h: Likewise.
6407 * soft-fp/op-2.h: Likewise.
6408 * soft-fp/op-4.h: Likewise.
6409 * soft-fp/op-8.h: Likewise.
6410 * soft-fp/op-common.h: Likewise.
6411 * soft-fp/quad.h: Likewise.
6412 * soft-fp/single.h: Likewise.
6413 * soft-fp/soft-fp.h: Likewise.
6414 * soft-fp/subdf3.c: Likewise.
6415 * soft-fp/subsf3.c: Likewise.
6416 * soft-fp/subtf3.c: Likewise.
6417 * soft-fp/truncdfsf2.c: Likewise.
6418 * soft-fp/trunctfdf2.c: Likewise.
6419 * soft-fp/trunctfsf2.c: Likewise.
6420 * soft-fp/trunctfxf2.c: Likewise.
6421 * soft-fp/unorddf2.c: Likewise.
6422 * soft-fp/unordsf2.c: Likewise.
6423 * soft-fp/unordtf2.c: Likewise.
6425 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
6428 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
6430 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6432 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6433 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
6434 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
6436 (internal_mcount): Likewise.
6437 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
6438 crt_compile, add CRTSTUFF_T_CFLAGS_S.
6440 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6442 * configure.ac (libgcc_cv_solaris_crts): New test.
6443 * configure: Regenerate.
6444 * config.in: Regenerate.
6445 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
6446 * config/gmon-sol2.c: Rename to ...
6447 * config/sol2/gmon.c: ... this.
6448 Include auto-target.h.
6449 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
6450 * config/t-sol2: Rename to ...
6451 * config/sol2/t-sol2: ... this.
6452 (gmon.o): Reflect renaming.
6453 (crtp.o, crtpg.o): New rules.
6454 * config.host (*-*-solaris2*): Reflect renaming.
6455 Use system CRTs if present.
6456 Remove default CRT case.
6458 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
6460 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
6461 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
6463 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
6464 (__sync_val_compare_and_swap_##WIDTH): Likewise.
6465 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
6466 (__sync_lock_test_and_set_##WIDTH): Likewise.
6467 (__sync_lock_release_##WIDTH): Likewise.
6468 (__sync_fetch_and_##OP##_4): Change result to match type of
6470 (__sync_##OP##_and_fetch_4): Likewise.
6471 (__sync_val_compare_and_swap_4): Likewise.
6472 (__sync_bool_compare_and_swap_4): likewise.
6473 (__sync_lock_test_and_set_4): Likewise.
6474 (__sync_lock_release_4): Likewise.
6475 (FETCH_AND_OP_2): Add long long variants.
6476 (OP_AND_FETCH_2): Likewise.
6477 (COMPARE_AND_SWAP_2 ): Likewise.
6478 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6479 (SYNC_LOCK_RELEASE_2): Likewise.
6480 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
6482 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
6484 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
6485 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
6486 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
6487 (get_available_features): Habdle new features.
6489 2015-09-21 James Bowman <james.bowman@ftdichip.com>
6491 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
6492 memory layout. Deal correctly with BSS region larger than 32K.
6493 Handle a watchdog reset like a power-on reset. Clean up unused
6496 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
6497 David Edelsohn <dje.gcc@gmail.com>
6499 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
6500 * config/rs6000/crtdbase.S: New file.
6501 * config/rs6000/t-aix-cxa: Build crtdbase.o.
6503 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
6505 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
6506 Add support for call0 ABI.
6508 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
6510 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
6512 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
6514 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
6515 (__GTHREAD_HAS_COND): Likewise.
6516 (__gthread_t): Likewise.
6517 (__gthread_cond_t): Likewise.
6518 (__gthread_time_t): Likewise.
6519 (__GTHREAD_MUTEX_INIT): Likewise.
6520 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
6521 (__GTHREAD_COND_INIT): Likewise.
6522 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
6523 (__GTHREAD_TIME_INIT): Likewise.
6524 (__gthread_create): Likewise.
6525 (__gthread_join): Likewise.
6526 (__gthread_detach): Likewise.
6527 (__gthread_equal): Likewise.
6528 (__gthread_self): Likewise.
6529 (__gthread_yield): Likewise.
6530 (__gthread_cond_broadcast): Likewise.
6531 (__gthread_cond_signal): Likewise.
6532 (__gthread_cond_wait): Likewise.
6533 (__gthread_cond_timedwait): Likewise.
6534 (__gthread_cond_wait_recursive): Likewise.
6535 (__gthread_cond_destroy): Likewise.
6536 (rtems_gxx_once): Delete.
6537 (rtems_gxx_key_create): Likewise.
6538 (rtems_gxx_key_delete): Likewise.
6539 (rtems_gxx_getspecific): Likewise.
6540 (rtems_gxx_setspecific): Likewise.
6541 (rtems_gxx_mutex_init): Likewise.
6542 (rtems_gxx_mutex_destroy): Likewise.
6543 (rtems_gxx_mutex_lock): Likewise.
6544 (rtems_gxx_mutex_trylock): Likewise.
6545 (rtems_gxx_mutex_unlock): Likewise.
6546 (rtems_gxx_recursive_mutex_init): Likewise.
6547 (rtems_gxx_recursive_mutex_lock): Likewise.
6548 (rtems_gxx_recursive_mutex_trylock): Likewise.
6549 (rtems_gxx_recursive_mutex_unlock): Likewise.
6550 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
6551 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
6552 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
6553 (__gthread_once): Likewise.
6554 (__gthread_key_create): Likewise.
6555 (__gthread_key_delete): Likewise.
6556 (__gthread_getspecific): Likewise.
6557 (__gthread_setspecific): Likewise.
6558 (__gthread_key_t): Use <pthread.h> type.
6559 (__gthread_once_t): Likewise
6560 (__gthread_mutex_t): Use <sys/lock.h> type.
6561 (__gthread_recursive_mutex_t): Likewise
6562 (__gthread_mutex_lock): Use <sys/lock.h> function.
6563 (__gthread_mutex_trylock): Likewise.
6564 (__gthread_mutex_timedlock): Likewise.
6565 (__gthread_mutex_unlock): Likewise.
6566 (__gthread_mutex_destroy): Likewise.
6567 (__gthread_recursive_mutex_lock): Likewise.
6568 (__gthread_recursive_mutex_trylock): Likewise.
6569 (__gthread_recursive_mutex_timedlock): Likewise.
6570 (__gthread_recursive_mutex_unlock): Likewise.
6571 (__gthread_recursive_mutex_destroy): Likewise.
6573 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6575 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
6576 context->sp instead of context->cfa.
6578 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6580 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
6581 with unwind-dw2-fde-dip.
6583 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6585 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
6586 CALL12 followed by series of ENTRY to spill windowed registers.
6587 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
6588 instead of making linux spill syscall.
6590 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
6592 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
6593 (get_intel_cpu): Likewise.
6595 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
6597 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
6598 (get_intel_cpu): Add Knights Landing support.
6600 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
6603 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
6604 (get_available_features): Handle FEATURE_PCLMUL.
6606 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
6608 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
6611 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
6614 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
6615 (get_available_features): Handle FEATURE_AES.
6617 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
6619 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
6620 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
6622 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
6624 * offloadstuff.c: Constify host data.
6626 2015-07-17 Jan Beulich <jbeulich@suse.com>
6628 * config/t-softfp: Split up "else ifneq".
6630 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
6631 Cesar Philippidis <cesar@codesourcery.com>
6632 Chung-Lin Tang <cltang@codesourcery.com>
6634 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
6635 for __nios2_arch__ level.
6637 2015-07-13 John Marino <gnugcc@marino.st>
6639 * config/i386/t-dragonfly: New.
6641 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
6643 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6644 better match light-weight syscall argument order.
6645 (__kernel_cmpxchg2): Likewise.
6648 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
6650 * config.host: Support i[34567]86-*-elfiamcu target.
6651 * config/t-softfp-sfdftf: New file.
6652 * config/i386/32/t-iamcu: Likewise.
6653 * configure: Regenerated.
6655 2015-06-23 James Lemke <jwlemke@codesourcery.com>
6658 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6660 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
6662 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6664 2015-05-27 John Marino <gnugcc@marino.st>
6666 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6668 * config/i386/freebsd-unwind.h: New.
6670 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
6672 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6673 i386/t-crtfm to tmake_file.
6674 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6675 (set_fast_math): Use set_fast_math_sse for SSE targets.
6676 * config/i386/t-crtfm: Remove.
6678 2015-05-21 Alan Modra <amodra@gmail.com>
6681 * config/rs6000/morestack.S: Remove ".abiversion 1".
6683 2015-05-20 Alan Modra <amodra@gmail.com>
6685 * config/rs6000/morestack.S: New.
6686 * config/rs6000/t-stack-rs6000: New.
6687 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6689 * generic-morestack.c: Don't build for powerpc 32-bit.
6691 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
6693 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6694 Remove useless endif/ifneq ($(enable_shared),yes) pair.
6696 2015-05-16 James Bowman <james.bowman@ftdichip.com>
6698 * config.host: FT32 target added.
6699 * config/ft32/*: New files for FT32 target.
6701 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
6703 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6705 * config/arm/ieee754-df.S: Add CFI directives.
6706 * config/arm/ieee754-sf.S: Add CFI directives.
6708 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
6710 * configure.ac: Include config/sjlj.m4.
6711 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6712 * config.in: Regenerate.
6713 * configure: Likewise.
6714 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6716 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
6718 * libgcov-util.c: Add space between string literal and macro name.
6720 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
6721 Chris Jones <chrisj@nvidia.com>
6722 Joshua Conner <jconner@nvidia.com>
6724 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6725 (arm*-*-uclinux*): Likewise.
6726 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6727 * config/arm/crtfastmath.c: New file.
6729 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
6731 * Makefile.in (real_host_noncanonical): New variable.
6732 (libsubdir): Use it.
6733 * configure.ac (real_host_noncanonical): Compute. Remove special
6734 case for intelmicemul.
6735 * configure: Regenerate.
6737 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
6739 * config/frv/elf-lib.h: New file.
6740 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6741 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6744 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
6746 * config/frv/frvbengin.c: Do not include defaults.h
6747 * config/frv/frvend.c: Ditto.
6749 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
6751 * config.host: Add h8300-*-linux
6752 * config/h8300/t-linux: New file.
6753 * config/h8300/lib1funs.s: Change symbol prefix.
6754 * config/h8300/sfp-machine.h: 64bit double support.
6756 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
6757 Szabolcs Nagy <szabolcs.nagy@arm.com>
6759 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6760 Linux if target provides dl_iterate_phdr.
6762 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
6765 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6766 * config/i386/cpuinfo.c (__cpu_model): Initialize.
6767 (__cpu_indicator_init@GCC_4.8.0): New.
6768 (__cpu_model@GCC_4.8.0): Likewise.
6769 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6772 2015-04-16 Nick Clifton <nickc@redhat.com>
6774 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6775 and __modhi3 functions.
6776 * config/rl78/divmodso.S: Add G14 and G13 versions of the
6777 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6779 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
6781 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6782 do-while loop as macro body to avoid warnings.
6784 2015-04-10 Jakub Jelinek <jakub@redhat.com>
6785 Iain Sandoe <iain@codesourcery.com>
6788 * configure: Regenerate.
6790 2015-04-07 Jakub Jelinek <jakub@redhat.com>
6791 Iain Sandoe <iain@codesourcery.com>
6794 * configure: Regenerate.
6796 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
6798 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6800 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
6802 Implement call0 ABI for xtensa
6803 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6804 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6805 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6806 use ret in call0 ABI.
6807 * config/xtensa/t-windowed: New file.
6808 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6809 * libgcc/configure: Regenerated.
6810 * libgcc/configure.ac: Check if xtensa target is configured for
6811 windowed ABI and thus needs to use custom unwind code.
6813 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
6816 * gthr-single.h: Use __unused__ attribute instead of unused.
6817 * config/gthr-vxworks.h: Likewise.
6818 * config/i386/gthr-win32.h: Likewise.
6820 2015-02-27 Kai Tietz <ktietz@redhat.com>
6823 * config.in: Regenerated.
6824 * configure: Likewise.
6825 * configure.ac (AC_HEADER_STDC): Added explicit.
6826 (AC_CHECK_HEADERS): Check for default headers plus
6828 * libgcov-util.c (gcov_read_profile_dir): Disable use
6829 of ftw-function, if header is not found.
6830 (ftw_read_file): Likewise.
6832 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
6835 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6838 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
6840 * config/arm/bpabi.S (test_div_by_zero): Make label names
6841 consistent between thumb2 and arm mode cases. Separate the
6842 signed comparison on the high word of the numerator from the
6843 unsigned comparison on the low word.
6844 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6847 2015-02-17 Joseph Myers <joseph@codesourcery.com>
6849 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6851 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6853 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
6855 PR gcov-profile/61889
6856 * libgcov-driver-system.c: undefine clashing macro for mkdir.
6858 2015-02-02 Nick Clifton <nickc@redhat.com>
6860 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6861 rounding up the fraction.
6863 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
6865 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
6866 oldval and newval to const void *. Fix typo.
6867 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
6868 (FETCH_AND_OP_WORD): Likewise.
6869 (OP_AND_FETCH_WORD): Likewise.
6870 (COMPARE_AND_SWAP_2): Likewise.
6871 (__sync_val_compare_and_swap_4): Likewise.
6872 (__sync_lock_test_and_set_4): Likewise.
6873 (SYNC_LOCK_RELEASE_2): Likewise.
6874 Remove support for long long atomic operations.
6876 2015-01-27 Caroline Tice <cmtice@google.com>
6878 Committing VTV Cywin/Ming patch for Patrick Wollgast
6879 * Makefile.in: Move rules to build vtv_*.o out of the check
6880 for CUSTOM_CRTSTUFF.
6881 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
6882 i[34567]86-*-mingw*)
6883 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
6884 enable_vtable_verify.
6886 2015-01-27 Nick Clifton <nickc@redhat.com>
6888 * config/rl78/cmpsi2.S: Use function start and end macros.
6889 (__gcc_bcmp): New function.
6890 * config/rl78/lshrsi3.S: Use function start and end macros.
6891 * config/rl78/mulsi3.S: Add support for G10.
6892 (__mulqi3): New function for G10.
6893 * config/rl78/signbit.S: Use function start and end macros.
6894 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
6896 (LIB2FUNCS_EXCLUDE): Define.
6897 (LIB2FUNCS_ST): Define.
6898 * config/rl78/trampoline.S: Use function start and end macros.
6899 * config/rl78/vregs.h (START_FUNC): New macro.
6900 (START_ANOTHER_FUNC): New macro.
6901 (END_FUNC): New macro.
6902 (END_ANOTHER_FUNC): New macro.
6903 * config/rl78/bit-count.S: New file. Contains assembler
6904 implementations of the bit counting functions: ___clzhi2,
6905 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
6906 __paritysi2, __popcounthi2 and __popcountsi2.
6907 * config/rl78/fpbit-sf.S: New file. Contains assembler
6908 implementationas of the math functions: __negsf2, __cmpsf2,
6909 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
6910 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
6911 * config/rl78/fpmath-sf.S: New file. Contains assembler
6912 implementations of the math functions: __subsf3, __addsf3,
6913 __mulsf3 and __divsf3
6915 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6917 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
6918 Add i386/elf-lib.h to tm_file.
6919 * config/i386/elf-lib.h: Fix comment.
6920 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
6921 && __sun__ && __svr4__]: Remove workaround.
6923 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6925 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
6927 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
6929 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
6931 * config/i386/cpuinfo.c (processor_subtypes): Add
6932 INTEL_COREI7_BROADWELL.
6933 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
6936 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
6938 * config/i386/elf-lib.h: New file.
6939 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
6940 Wrap definition in #ifdef __i386__.
6941 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6942 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6943 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6944 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6947 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
6949 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
6950 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
6952 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
6954 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
6955 Update rt_sigframe format and address for current Nios II
6958 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
6960 * config.host (arm*-*-freebsd*): Add new configuration for
6962 * config/arm/freebsd-atomic.c: New file.
6963 * config/arm/t-freebsd: Likewise.
6964 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
6965 'PC-relative indirect' OS's.
6967 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
6969 * config.host: Add Visium support.
6970 * config/visium: New directory.
6972 2015-01-05 Jakub Jelinek <jakub@redhat.com>
6974 Update copyright years.
6976 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
6978 * config.host: Support mipsisa32r6 and mipsisa64r6.
6979 * config/mips/mips16.S: Do not build for R6.
6981 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
6983 * config/sh/crt.h: New.
6984 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
6986 * config/sh/crt1.S: Likewise.
6988 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
6991 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
6992 func_ptr *dtor_list temporary variable to avoid "array subscript
6993 is above array bounds" warnings.
6995 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
6997 * Makefile.in (with_aix_soname): Define.
6998 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
6999 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
7000 * configure: Recreate.
7002 2014-12-05 Olivier Hainque <hainque@adacore.com>
7004 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
7005 now provided by defaults.h.
7007 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
7010 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
7011 whether it's defined.
7013 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
7015 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
7016 * config/i386/cpuinfo.c (get_available_features): Detect it.
7018 2014-11-27 Tony Wang <tony.wang@arm.com>
7020 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
7021 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
7022 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
7024 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
7026 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
7028 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
7030 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
7033 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
7034 John David Anglin <danglin@gcc.gnu.org>
7036 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
7037 (FETCH_AND_OP_2): New. Use for subword and double word operations.
7038 (OP_AND_FETCH_2): Likewise.
7039 (COMPARE_AND_SWAP_2): Likewise.
7040 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
7041 (SYNC_LOCK_RELEASE_2): Likewise.
7042 (SUBWORD_SYNC_OP): Remove.
7043 (SUBWORD_VAL_CAS): Likewise.
7044 (SUBWORD_BOOL_CAS): Likewise.
7045 (FETCH_AND_OP_WORD): Update.
7046 Consistently use signed types.
7048 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
7049 Thomas Schwinge <thomas@codesourcery.com>
7050 Ilya Verbin <ilya.verbin@intel.com>
7051 Andrey Turetskiy <andrey.turetskiy@intel.com>
7053 * Makefile.in (crtoffloadbegin$(objext)): New rule.
7054 (crtoffloadend$(objext)): Likewise.
7055 * configure: Regenerate.
7056 * configure.ac (accel_dir_suffix): Compute new variable.
7057 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
7058 if enable_offload_targets is not empty.
7059 * offloadstuff.c: New file.
7061 2014-11-13 Nick Clifton <nickc@redhat.com>
7063 * config/rl78/divmodhi.S: Add support for the G10 architecture.
7064 Use START_FUNC and END_FUNC macros to enable linker garbage
7066 * config/rl78/divmodqi.S: Likewise.
7067 * config/rl78/divmodsi.S: Likewise.
7068 * config/rl78/mulsi3.S: Likewise.
7069 * config/rl78/lib2div.c: Remove G10 functions.
7070 * config/rl78/lib2muls.c: Likewise.
7071 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
7072 * config/rl78/vregs.h (START_FUNC): New macro.
7073 (END_FUNC): New macro.
7075 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
7077 * config/mips/mips16.S: Set .module when supported. Update O32
7078 FP64 calling convention and use for FPXX when possible. Add FPXX
7079 calling convention fallback case.
7081 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
7083 * config.host: Handle nvptx-*-*.
7084 * shared-object.mk (as-flags-$o): Define.
7085 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
7086 -xassembler-with-cpp.
7087 * static-object.mk: Identical changes.
7088 * config/nvptx/t-nvptx: New file.
7089 * config/nvptx/crt0.s: New file.
7090 * config/nvptx/free.asm: New file.
7091 * config/nvptx/malloc.asm: New file.
7092 * config/nvptx/realloc.c: New file.
7094 2014-10-30 Joseph Myers <joseph@codesourcery.com>
7096 * Makefile.in (libgcc.map.in): New target.
7097 (libgcc.map): Use libgcc.map.in.
7098 * config/t-softfp (softfp_compat): New variable to be set by
7100 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
7102 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
7104 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
7105 that use compat symbols and disable all code unless [SHARED].
7106 * config/t-softfp-compat: New file.
7107 * find-symver.awk: New file.
7108 * configure.ac (--with-glibc-version): New configure option.
7109 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
7110 * configure: Regenerate.
7111 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
7112 soft-float and e500.
7114 2014-10-29 Joseph Myers <joseph@codesourcery.com>
7116 * config/t-hardfp (hardfp_exclusions): Document new variable for
7118 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
7119 * config/t-softfp (softfp_extras): Document new variable for user
7121 (softfp_func_list): Add functions from $(softfp_extras).
7122 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
7123 * config.host (powerpc*-*-linux*): For e500v1, use
7124 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
7125 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
7126 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
7128 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
7130 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
7131 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
7132 memory read accesses are ok.
7134 2014-10-25 Joseph Myers <joseph@codesourcery.com>
7136 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
7137 * configure: Regenerate.
7138 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
7139 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
7140 of soft-fp for 32-bit classic hard float. Do not use
7141 t-softfp-excl for soft float.
7143 2014-10-22 Joseph Myers <joseph@codesourcery.com>
7145 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
7147 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
7150 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
7152 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
7153 introduced with 2014-10-21 trunk r216525.
7155 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7156 Vidya Praveen <vidya.praveen@atmel.com>
7157 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
7158 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
7159 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
7161 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
7164 Updated library functions for AVRTINY arch.
7165 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
7166 Replaced occurrences of r0/r1 with tmp/zero reg macros.
7167 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
7168 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
7170 (__mulsi3_helper): Update stack, preserve callee saved regs and
7171 argument from stack. Restore callee save registers.
7172 (__mulpsi3): Likewise.
7173 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
7174 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
7175 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
7177 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
7178 (__do_copy_data): Added new definition for AVRTINY.
7179 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
7180 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
7181 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
7182 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
7183 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
7185 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
7188 Fix broken long multiplication on tiny arch.
7190 2014-10-09 Joseph Myers <joseph@codesourcery.com>
7192 * soft-fp/double.h: Update from glibc.
7193 * soft-fp/eqdf2.c: Likewise.
7194 * soft-fp/eqsf2.c: Likewise.
7195 * soft-fp/eqtf2.c: Likewise.
7196 * soft-fp/extenddftf2.c: Likewise.
7197 * soft-fp/extended.h: Likewise.
7198 * soft-fp/extendsfdf2.c: Likewise.
7199 * soft-fp/extendsftf2.c: Likewise.
7200 * soft-fp/extendxftf2.c: Likewise.
7201 * soft-fp/gedf2.c: Likewise.
7202 * soft-fp/gesf2.c: Likewise.
7203 * soft-fp/getf2.c: Likewise.
7204 * soft-fp/ledf2.c: Likewise.
7205 * soft-fp/lesf2.c: Likewise.
7206 * soft-fp/letf2.c: Likewise.
7207 * soft-fp/op-1.h: Likewise.
7208 * soft-fp/op-2.h: Likewise.
7209 * soft-fp/op-4.h: Likewise.
7210 * soft-fp/op-8.h: Likewise.
7211 * soft-fp/op-common.h: Likewise.
7212 * soft-fp/quad.h: Likewise.
7213 * soft-fp/single.h: Likewise.
7214 * soft-fp/soft-fp.h: Likewise.
7215 * soft-fp/unorddf2.c: Likewise.
7216 * soft-fp/unordsf2.c: Likewise.
7217 * soft-fp/unordtf2.c: Likewise.
7218 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
7219 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
7220 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
7221 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
7222 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
7223 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
7224 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
7225 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
7226 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
7227 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
7229 2014-10-08 Rong Xu <xur@google.com>
7231 * libgcov-util.c (read_gcda_file): Fix format.
7232 (find_match_gcov_info): Ditto.
7233 (calculate_2_entries): New.
7234 (compute_one_gcov): Ditto.
7235 (gcov_info_count_all_cold): Ditto.
7236 (gcov_info_count_all_zero): Ditto.
7237 (extract_file_basename): Ditto.
7238 (get_file_basename): Ditto.
7240 (matched_gcov_info): Ditto.
7241 (calculate_overlap): Ditto.
7242 (gcov_profile_overlap): Ditto.
7243 * libgcov-driver.c (compute_summary): Make
7244 it avavilable for external calls.
7246 2014-10-06 Rong Xu <xur@google.com>
7248 * Makefile.in: Ditto.
7249 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
7250 (gcov_sort_icall_topn_counter): Ditto.
7251 (gcov_sort_topn_counter_arrays): Ditto.
7252 (dump_one_gcov): Sort indirect_call topn counters.
7253 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
7255 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
7257 (__gcov_indirect_call_topn_profiler): New profiler function.
7258 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
7259 * libgcov.h: New decls.
7261 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
7263 * config.host: Remove support for score-*.
7265 2014-09-22 Joseph Myers <joseph@codesourcery.com>
7267 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7268 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
7269 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
7270 __LIBGCC_XF_MANT_DIG__.
7271 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
7272 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
7273 __LIBGCC_TF_MANT_DIG__.
7274 * libgcc2.c (NOTRUNC): Define in terms of
7275 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
7276 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7278 2014-09-22 Joseph Myers <joseph@codesourcery.com>
7281 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
7284 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
7286 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
7287 override USE_PT_GNU_EH_FRAME.
7288 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
7289 check USE_EH_FRAME_REGISTRY_ALWAYS against
7290 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
7291 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
7292 variable for substituted force_explicit_eh_registry.
7293 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
7294 * configure.ac (explicit-exception-frame-registration):
7296 * configure: Regenerate.
7298 2014-09-19 Olivier Hainque <hainque@adacore.com>
7300 * config.host (powerpc-wrs-vxworksmils): New configuration,
7303 2014-09-18 Joseph Myers <joseph@codesourcery.com>
7305 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
7307 2014-09-18 Joseph Myers <joseph@codesourcery.com>
7309 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
7310 bits not set bits as indicating trapping exceptions.
7312 2014-09-17 Nathan sidwell <nathan@acm.org>
7314 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
7315 (LIBGCOV_DRIVER): ... here.
7316 * libgcov-driver.c (gcov_master): New.
7317 (gcov_exit): Remove from master chain.
7318 (__gcov_init): Add to master chain if version compatible. Don't
7320 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
7321 (gcov_reset_int): Clear master chain, if compatible.
7322 (gcov_dump_int): New internal interface. Dump master chain, if
7324 (gcov_dump): Alias for gcov_dump_int.
7325 * libgcov.h (struct gcov_root): Add next and prev fields.
7326 (struct gcov_master): New struct.
7327 (__gcov_master): New.
7328 (gcov_dump_int): Declare.
7330 2014-09-17 Olivier Hainque <hainque@adacore.com>
7332 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
7333 and crtbegin.o + crtend.o to extra_parts.
7335 2014-09-12 Joseph Myers <joseph@codesourcery.com>
7337 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
7338 __LIBGCC_HAS_SF_MODE__.
7339 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7340 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7341 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7342 * config/libbid/bid_gcc_intrinsics.h
7343 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7344 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7345 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7346 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7347 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
7348 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7350 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
7353 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
7354 and R24 as needed. Make work for all devices and .text locations.
7355 (__do_global_ctors, __do_global_dtors): Use word addresses.
7356 (__tablejump__, __tablejump_elpm__): Remove functions.
7357 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
7359 (XICALL, XIJMP): New macros.
7361 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
7362 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7364 * config.host (aarch64*): Include crtfastmath.o and
7366 * config/aarch64/crtfastmath.c: New file.
7368 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
7370 * config.host: Remove picochip support.
7371 * config/picochip/adddi3.S: Remove.
7372 * config/picochip/ashlsi3.S: Remove.
7373 * config/picochip/ashlsi3.c: Remove.
7374 * config/picochip/ashrsi3.S: Remove.
7375 * config/picochip/ashrsi3.c: Remove.
7376 * config/picochip/clzsi2.S: Remove.
7377 * config/picochip/cmpsi2.S: Remove.
7378 * config/picochip/divmod15.S: Remove.
7379 * config/picochip/divmodhi4.S: Remove.
7380 * config/picochip/divmodsi4.S: Remove.
7381 * config/picochip/lib1funcs.S: Remove.
7382 * config/picochip/longjmp.S: Remove.
7383 * config/picochip/lshrsi3.S: Remove.
7384 * config/picochip/lshrsi3.c: Remove.
7385 * config/picochip/parityhi2.S: Remove.
7386 * config/picochip/popcounthi2.S: Remove.
7387 * config/picochip/setjmp.S: Remove.
7388 * config/picochip/subdi3.S: Remove.
7389 * config/picochip/t-picochip: Remove.
7390 * config/picochip/ucmpsi2.S: Remove.
7391 * config/picochip/udivmodhi4.S: Remove.
7392 * config/picochip/udivmodsi4.S: Remove.
7394 2014-09-08 Joseph Myers <joseph@codesourcery.com>
7396 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
7397 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
7398 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
7399 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
7400 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
7401 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
7402 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
7403 defined and LIBGCC2_HAS_DF_MODE is defined.
7404 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
7405 defined and LIBGCC2_HAS_XF_MODE is defined.
7406 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
7407 defined and LIBGCC2_HAS_TF_MODE is defined.
7409 2014-09-08 Joseph Myers <joseph@codesourcery.com>
7411 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
7412 and ROUND_TOWARDS_ZERO conditionals.
7414 2014-09-07 Nathan sidwell <nathan@acm.org>
7416 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
7417 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
7419 2014-09-05 Joseph Myers <joseph@codesourcery.com>
7421 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
7422 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7423 uses to __LIBGCC_STACK_POINTER_REGNUM__.
7424 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7425 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7426 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7427 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7428 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
7429 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
7430 (DWARF_FRAME_REGISTERS): Change all uses to
7431 __LIBGCC_DWARF_FRAME_REGISTERS__.
7432 (EH_RETURN_STACKADJ_RTX): Change all uses to
7433 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7434 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
7435 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
7436 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
7437 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
7438 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
7439 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
7440 to __LIBGCC_EH_FRAME_SECTION_NAME__.
7441 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
7442 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
7443 __LIBGCC_STACK_POINTER_REGNUM__.
7444 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7445 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7446 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7447 to __LIBGCC_STACK_POINTER_REGNUM__.
7448 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7449 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7450 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7451 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7452 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7453 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7454 (STACK_POINTER_REGNUM): Change all uses to
7455 __LIBGCC_STACK_POINTER_REGNUM__.
7456 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
7457 use to __LIBGCC_STACK_POINTER_REGNUM__.
7458 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7459 uses to __LIBGCC_STACK_POINTER_REGNUM__.
7460 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
7461 to __LIBGCC_DWARF_FRAME_REGISTERS__.
7462 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
7463 to __LIBGCC_DWARF_FRAME_REGISTERS__.
7464 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7465 to __LIBGCC_STACK_POINTER_REGNUM__.
7466 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
7467 Remove conditional definition.
7468 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
7469 __LIBGCC_TEXT_SECTION_ASM_OP__.
7470 (EH_FRAME_SECTION_NAME): Change all uses to
7471 __LIBGCC_EH_FRAME_SECTION_NAME__.
7472 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
7473 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
7474 (CTORS_SECTION_ASM_OP): Change all uses to
7475 __LIBGCC_CTORS_SECTION_ASM_OP__.
7476 (DTORS_SECTION_ASM_OP): Change all uses to
7477 __LIBGCC_DTORS_SECTION_ASM_OP__.
7478 (JCR_SECTION_NAME): Change all uses to
7479 __LIBGCC_JCR_SECTION_NAME__.
7480 (INIT_SECTION_ASM_OP): Change all uses to
7481 __LIBGCC_INIT_SECTION_ASM_OP__.
7482 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7483 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7484 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
7485 __LIBGCC_STACK_GROWS_DOWNWARD__.
7486 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
7487 __LIBGCC_INIT_SECTION_ASM_OP__.
7488 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7489 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7490 (EH_FRAME_SECTION_NAME): Change all uses to
7491 __LIBGCC_EH_FRAME_SECTION_NAME__.
7492 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
7493 definitions. Change all uses to
7494 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
7495 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
7496 __LIBGCC_STACK_GROWS_DOWNWARD__.
7497 (DWARF_FRAME_REGISTERS): Change all uses to
7498 __LIBGCC_DWARF_FRAME_REGISTERS__.
7499 (EH_RETURN_STACKADJ_RTX): Change all uses to
7500 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7501 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
7502 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
7503 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
7504 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
7505 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
7507 2014-09-02 Nathan sidwell <nathan@acm.org>
7509 * libgcov-interface.c (STRONG_ALIAS): New.
7510 (__gcov_flush): Call __gcov_reset_int.
7511 (__gcov_reset): Strong alias for ...
7512 (__gcov_reset_ing): ... this renamed hidden version.
7513 * libgcov.h (__gcov_reset_int): New declaration.
7515 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
7517 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
7519 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
7520 (__dso_handle): Define on Cygwin.
7521 * config/i386/t-cygming (crtbeginS.o): New rule.
7522 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
7524 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
7527 2014-08-13 Steve Ellcey <sellcey@mips.com>
7529 * crtstuff.c: Undef caddr_t.
7531 2014-08-12 Steve Ellcey <sellcey@mips.com>
7533 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
7535 2014-08-07 Nathan Sidwell <nathan@acm.org>
7537 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
7538 (LIBGCOV_DRIVER): ... to here.
7539 * libgcov.h (gcov_do_dump): New #define.
7540 (struct gcov_root): New.
7541 (__gcov_root): New declaration.
7542 (__gcov_dump_one): Declare.
7543 * libgcov-driver.c (gcov_list, gcov_dump_complete,
7544 run_accounted): Delete.
7545 (gcov_compute_histogram): Add LIST argument, adjust.
7546 (compute_summary): Adjust gcov_compute_histogram call.
7547 (gcov_do_dump): Not hidden, static in libgcov.
7548 (gcov_clear): Move to interface.c.
7549 (__gcov_dump_one): New, broken out of ...
7550 (gcov_exit): ... here. Make static.
7552 (__gcov_init): Adjust.
7553 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
7555 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
7556 (gcov_clear): Moved from driver.c. Add LIST argument.
7557 (__gcov_reset): Adjust for changed interfaces.
7558 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
7560 2014-08-04 Rohit <rohitarulraj@freescale.com>
7563 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
7564 based on change in SPE high register numbers and 3 HTM registers.
7566 2014-08-01 Nathan Sidwell <nathan@acm.org>
7568 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
7569 LIBGCOV_INTERFACE): Reformat.
7570 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
7572 * libgcov-interface.c: Reformat some comments.
7573 (__gcov_flush_mx): Add declaration. Tidy up definition.
7575 2014-07-31 Alan Modra <amodra@gmail.com>
7576 Peter Bergner <bergner@vnet.ibm.com>
7578 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
7579 (pack_ldouble): New function.
7580 (__gcc_qadd): Use it.
7581 (__gcc_qmul): Likewise.
7582 (__gcc_qdiv): Likewise.
7583 (__gcc_qneg): Likewise.
7584 (__gcc_stoq): Likewise.
7585 (__gcc_dtoq): Likewise.
7587 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
7589 * config/s390/tpf-unwind.h: Include <stdbool.h>.
7590 (__tpf_eh_return): Add original return address as second parameter.
7591 Handle cases where unwinder routines were called directly, instead
7592 of from within the C++ library.
7594 2014-07-29 Nathan Sidwell <nathan@acm.org>
7596 * libgcov.h: Move renaming of entry points to lib gcov specific
7598 (gcov_do_dump): New rename.
7599 (gcov_rewrite): Remove inline, make HIDDEN.
7600 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
7601 (gcov_exit_compute_summary): Rename to ...
7602 (compute_summary): ... here. Add LIST argument.
7603 (gcov_exit_merge_gcda): Rename to ...
7604 (merge_one_data): ... here.
7605 (gcov_exit_write_gcda): Rename to ...
7606 (write_one_data): ... here.
7607 (gcov_exit_merge_summary): Rename to ...
7608 (merge_summary): Add RUN_COUNTED argument.
7609 (gcov_exit_dump_gcov): Rename to ...
7610 (dump_one_gcov): Add RUN_COUNTED argument.
7611 (gcov_do_dump): New function, broken out of ...
7612 (gcov_exit): ... here. Call it.
7614 2014-07-27 Anthony Green <green@moxielogic.com>
7616 * config.host: Add moxiebox configuration suppport.
7618 2014-07-27 Nathan Sidwell <nathan@acm.org>
7620 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
7621 (struct gcov_filename): ... here. Include buffer and max length
7623 (gcov_max_filename): Remove.
7624 (gi_filename): Remove.
7625 (gcov_exit_compute_summary): Compute max filename here.
7626 (gcov_exit_merge_gcda): Add filename parm, adjust.
7627 (gcov_exit_merge_summary): Likewise.
7628 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
7629 (gcov_exit): Likewise.
7630 (__gcov_init): Don't calculate max length here.
7631 * libgcov_util.c (max_filename_len): Remove.
7632 (read_gcda_file): Don't calculate max length here.
7633 (gcov_read_profile_dir): Don't propagate here.
7634 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
7635 struct gcov_filename changes.
7636 (gcov_exit_open_gcda_file): Likewise.
7638 2014-07-25 Nathan Sidwell <nathan@acm.org>
7640 * libgcov-driver.c (set_gcov_dump_complete,
7641 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
7642 functions polluting user's namespace.
7643 (gcov_exit): Set variable directly.
7644 (gcov_clear): Reset variable directly.
7645 * libgcov-interface.c (get_gcov_dymp_complete,
7646 reset_gov_dump_complete): Remove declarations.
7647 (__gcov_reset, __gcov_dump): Don't call them.
7649 2014-07-24 DJ Delorie <dj@redhat.com>
7651 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
7652 (__gcc_deregister_frame): Move logic to detect deregister function
7654 (__gcc_register_frame): here, so it's consistent with the register
7657 2014-07-23 Nathan Sidwell <nathan@acm.org>
7659 * libgcov-driver.c (set_gcov_list): Remove.
7660 (gcov_list): Make non-static in GCOV_TOOL.
7661 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7663 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
7665 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7666 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7667 Don't use SYNC_LOCK_RELEASE for int type.
7669 2014-07-14 Richard Biener <rguenther@suse.de>
7671 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7673 2014-07-11 Rong Xu <xur@google.com>
7675 * libgcov-util.c (gcov_max_filename): Fix declartion.
7677 2014-07-10 Rong Xu <xur@google.com>
7679 Add gcov-tool: an offline gcda profile processing tool
7681 * libgcov-driver.c (gcov_max_filename): Make available
7683 * libgcov-merge.c (__gcov_merge_add): Replace
7684 gcov_read_counter() with a Macro.
7685 (__gcov_merge_ior): Ditto.
7686 (__gcov_merge_time_profile): Ditto.
7687 (__gcov_merge_single): Ditto.
7688 (__gcov_merge_delta): Ditto.
7689 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7690 in the utility functions.
7691 (set_fn_ctrs): Utility function for reading gcda files to in-memory
7692 gcov_list object link lists.
7693 (tag_function): Ditto.
7694 (tag_blocks): Ditto.
7697 (tag_counters): Ditto.
7698 (tag_summary): Ditto.
7699 (read_gcda_finalize): Ditto.
7700 (read_gcda_file): Ditto.
7701 (ftw_read_file): Ditto.
7702 (read_profile_dir_init): Ditto.
7703 (gcov_read_profile_dir): Ditto.
7704 (gcov_read_counter_mem): Ditto.
7705 (gcov_get_merge_weight): Ditto.
7706 (merge_wrapper): A wrapper function that calls merging handler.
7707 (gcov_merge): Merge two gcov_info objects with weights.
7708 (find_match_gcov_info): Find the matched gcov_info in the list.
7709 (gcov_profile_merge): Merge two gcov_info object lists.
7710 (__gcov_add_counter_op): Process edge profile counter values.
7711 (__gcov_ior_counter_op): Process IOR profile counter values.
7712 (__gcov_delta_counter_op): Process delta profile counter values.
7713 (__gcov_single_counter_op): Process single profile counter values.
7714 (fp_scale): Callback function for float-point scaling.
7715 (int_scale): Callback function for integer fraction scaling.
7716 (gcov_profile_scale): Scaling profile counters.
7717 (gcov_profile_normalize): Normalize profile counters.
7718 * libgcov.h: Add headers and functions for gcov-tool use.
7719 (gcov_get_counter): New.
7720 (gcov_get_counter_target): Ditto.
7721 (struct gcov_info): Make the functions field mutable in gcov-tool
7724 2014-06-23 Kai Tietz <ktietz@redhat.com>
7727 * unwind-seh.c (_Unwind_GetGR): Check for proper
7729 (_Unwind_SetGR): Likewise.
7731 2014-05-22 Nick Clifton <nickc@redhat.com>
7733 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7736 2014-05-22 Teresa Johnson <tejohnson@google.com>
7738 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7741 2014-05-20 John Marino <gnugcc@marino.st>
7743 * config.host (*-*-dragonfly*): New target.
7744 * crtstuff.c: Make dl_iterate_support generic on *bsd.
7745 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7746 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7747 * config/i386/dragonfly-unwind.h: New.
7749 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7752 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7753 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7755 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
7757 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7760 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
7762 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7764 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7767 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7770 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
7772 Work around for current cygwin32 build problems.
7773 * config/i386/cygming-crtbegin.c (__register_frame_info,
7774 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7775 functions only for 64-bit systems.
7777 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7779 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7780 (sigill_caught, sigill_hdlr): Remove.
7782 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7784 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7786 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7787 Solaris 9 single-threaded support.
7788 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7789 Solaris 9 single-threaded support. Add call_user_handler code
7791 (sparc_is_sighandler): Likewise.
7793 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7795 * config.host: Append t-floattodi to tmake_file depending on
7798 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
7800 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
7802 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
7805 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
7806 variable to avoid "array subscript is above array bounds" warnings.
7807 Use __builtin_expect when checking *jcr_list for NULL.
7809 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7812 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7813 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7814 vtv_*.o to extra_parts if enable_vtable_verify.
7816 2014-03-06 Nick Clifton <nickc@redhat.com>
7818 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7819 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7821 2014-02-28 Joey Ye <joey.ye@arm.com>
7824 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7825 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7828 2014-02-24 Walter Lee <walt@tilera.com>
7830 * config.host: Support "tilegx*" and "tilepro*" triplets.
7831 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7832 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7834 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
7835 Chung-Lin Tang <cltang@codesourcery.com>
7837 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7838 * config/nios2/crti.S: Remove .file directive.
7839 * config/nios2/crtn.S: Likewise.
7841 2014-02-18 Kai Tietz <ktietz@redhat.com>
7842 Jonathan Schleifer <js@webkeks.org>
7845 * unwind-seh.c (_GCC_specific_handler): Pass proper
7846 value to unwind-handler.
7848 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7850 * soft-fp/adddf3.c: Update from glibc.
7851 * soft-fp/addsf3.c: Likewise.
7852 * soft-fp/addtf3.c: Likewise.
7853 * soft-fp/divdf3.c: Likewise.
7854 * soft-fp/divsf3.c: Likewise.
7855 * soft-fp/divtf3.c: Likewise.
7856 * soft-fp/double.h: Likewise.
7857 * soft-fp/eqdf2.c: Likewise.
7858 * soft-fp/eqsf2.c: Likewise.
7859 * soft-fp/eqtf2.c: Likewise.
7860 * soft-fp/extenddftf2.c: Likewise.
7861 * soft-fp/extended.h: Likewise.
7862 * soft-fp/extendsfdf2.c: Likewise.
7863 * soft-fp/extendsftf2.c: Likewise.
7864 * soft-fp/extendxftf2.c: Likewise.
7865 * soft-fp/fixdfdi.c: Likewise.
7866 * soft-fp/fixdfsi.c: Likewise.
7867 * soft-fp/fixdfti.c: Likewise.
7868 * soft-fp/fixsfdi.c: Likewise.
7869 * soft-fp/fixsfsi.c: Likewise.
7870 * soft-fp/fixsfti.c: Likewise.
7871 * soft-fp/fixtfdi.c: Likewise.
7872 * soft-fp/fixtfsi.c: Likewise.
7873 * soft-fp/fixtfti.c: Likewise.
7874 * soft-fp/fixunsdfdi.c: Likewise.
7875 * soft-fp/fixunsdfsi.c: Likewise.
7876 * soft-fp/fixunsdfti.c: Likewise.
7877 * soft-fp/fixunssfdi.c: Likewise.
7878 * soft-fp/fixunssfsi.c: Likewise.
7879 * soft-fp/fixunssfti.c: Likewise.
7880 * soft-fp/fixunstfdi.c: Likewise.
7881 * soft-fp/fixunstfsi.c: Likewise.
7882 * soft-fp/fixunstfti.c: Likewise.
7883 * soft-fp/floatdidf.c: Likewise.
7884 * soft-fp/floatdisf.c: Likewise.
7885 * soft-fp/floatditf.c: Likewise.
7886 * soft-fp/floatsidf.c: Likewise.
7887 * soft-fp/floatsisf.c: Likewise.
7888 * soft-fp/floatsitf.c: Likewise.
7889 * soft-fp/floattidf.c: Likewise.
7890 * soft-fp/floattisf.c: Likewise.
7891 * soft-fp/floattitf.c: Likewise.
7892 * soft-fp/floatundidf.c: Likewise.
7893 * soft-fp/floatundisf.c: Likewise.
7894 * soft-fp/floatunditf.c: Likewise.
7895 * soft-fp/floatunsidf.c: Likewise.
7896 * soft-fp/floatunsisf.c: Likewise.
7897 * soft-fp/floatunsitf.c: Likewise.
7898 * soft-fp/floatuntidf.c: Likewise.
7899 * soft-fp/floatuntisf.c: Likewise.
7900 * soft-fp/floatuntitf.c: Likewise.
7901 * soft-fp/gedf2.c: Likewise.
7902 * soft-fp/gesf2.c: Likewise.
7903 * soft-fp/getf2.c: Likewise.
7904 * soft-fp/ledf2.c: Likewise.
7905 * soft-fp/lesf2.c: Likewise.
7906 * soft-fp/letf2.c: Likewise.
7907 * soft-fp/muldf3.c: Likewise.
7908 * soft-fp/mulsf3.c: Likewise.
7909 * soft-fp/multf3.c: Likewise.
7910 * soft-fp/negdf2.c: Likewise.
7911 * soft-fp/negsf2.c: Likewise.
7912 * soft-fp/negtf2.c: Likewise.
7913 * soft-fp/op-1.h: Likewise.
7914 * soft-fp/op-2.h: Likewise.
7915 * soft-fp/op-4.h: Likewise.
7916 * soft-fp/op-8.h: Likewise.
7917 * soft-fp/op-common.h: Likewise.
7918 * soft-fp/quad.h: Likewise.
7919 * soft-fp/single.h: Likewise.
7920 * soft-fp/soft-fp.h: Likewise.
7921 * soft-fp/subdf3.c: Likewise.
7922 * soft-fp/subsf3.c: Likewise.
7923 * soft-fp/subtf3.c: Likewise.
7924 * soft-fp/truncdfsf2.c: Likewise.
7925 * soft-fp/trunctfdf2.c: Likewise.
7926 * soft-fp/trunctfsf2.c: Likewise.
7927 * soft-fp/trunctfxf2.c: Likewise.
7928 * soft-fp/unorddf2.c: Likewise.
7929 * soft-fp/unordsf2.c: Likewise.
7930 * soft-fp/unordtf2.c: Likewise.
7931 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
7933 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7935 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7937 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7939 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7941 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7943 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7945 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7947 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7949 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7951 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7953 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7955 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7957 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
7959 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
7961 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7964 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7966 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
7967 cannot be represented.
7968 * config/s390/32/_fixsfdi.c: Likewise.
7969 * config/s390/32/_fixtfdi.c: Likewise.
7970 * config/s390/32/_fixunsdfdi.c: Likewise.
7971 * config/s390/32/_fixunssfdi.c: Likewise.
7972 * config/s390/32/_fixunstfdi.c: Likewise.
7974 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
7976 * configure.ac (libgcc_cv_mips_hard_float): New.
7977 * configure: Regenerate.
7978 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
7979 t-softfp-sfdf for hard-float targets.
7980 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
7981 (softfp_float_modes, softfp_int_modes, softfp_extensions)
7982 (softfp_truncations, softfp_exclude_libgcc2): New.
7983 * config/t-hardfp: New file.
7984 * config/t-hardfp-sfdf: Likewise.
7985 * config/hardfp.c: Likewise.
7987 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7989 * config.host: Include t-floattodi also for s390x.
7990 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
7991 * config/s390/32/_fixsfdi.c: Likewise.
7992 * config/s390/32/_fixtfdi.c: Likewise.
7993 * config/s390/32/_fixunsdfdi.c: Likewise.
7994 * config/s390/32/_fixunssfdi.c: Likewise.
7995 * config/s390/32/_fixunstfdi.c: Likewise.
7997 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8000 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
8001 (install-libgcc-unwind-map-forbuild): New target.
8002 (all): Depend on install-libgcc-unwind-map-forbuild.
8003 (install-libgcc-unwind-map): New target.
8004 (install): Depend on install-libgcc-unwind-map.
8006 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
8008 * config/nios2/crti.S (_init): Initialize GOT pointer from
8009 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
8011 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
8013 * configure.ac: Check __mips64 when setting host_address.
8014 * configure: Regenerate.
8015 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
8016 mips/t-mips64 and t-softfp.
8017 (mips*-*-linux*): Don't add mips/t-tpbit.
8018 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
8019 (DPBIT, DPBIT_CFLAGS): Delete.
8020 * config/mips/sfp-machine.h: New file.
8021 * config/mips/t-mips64: Likewise.
8022 * config/mips/t-softfp-tf: Likewise.
8023 * config/mips/t-tpbit: Delete.
8025 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
8027 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
8030 2014-01-25 Walter Lee <walt@tilera.com>
8032 * config/tilepro/atomic.c: Include tconfig.h. Don't include
8033 config.h or system.h.
8036 2014-01-25 Walter Lee <walt@tilera.com>
8038 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
8039 (post_atomic_barrier): Ditto.
8040 (__fetch_and_do): New macro.
8041 (__atomic_fetch_and_do): Use __fetch_and_do.
8042 (__sync_fetch_and_do): New macro.
8043 (__sync_fetch_and_add_4): New function.
8044 (__sync_fetch_and_sub_4): New function.
8045 (__sync_fetch_and_or_4): New function.
8046 (__sync_fetch_and_and_4): New function.
8047 (__sync_fetch_and_xor_4): New function.
8048 (__sync_fetch_and_nand_4): New function.
8049 (__sync_fetch_and_add_8): New function.
8050 (__sync_fetch_and_sub_8): New function.
8051 (__sync_fetch_and_or_8): New function.
8052 (__sync_fetch_and_and_8): New function.
8053 (__sync_fetch_and_xor_8): New function.
8054 (__sync_fetch_and_nand_8): New function.
8055 (__do_and_fetch): New macro.
8056 (__atomic_do_and_fetch): Use __do_and_fetch.
8057 (__sync_do_and_fetch): New macro.
8058 (__sync_add_and_fetch_4): New function.
8059 (__sync_sub_and_fetch_4): New function.
8060 (__sync_or_and_fetch_4): New function.
8061 (__sync_and_and_fetch_4): New function.
8062 (__sync_xor_and_fetch_4): New function.
8063 (__sync_nand_and_fetch_4): New function.
8064 (__sync_add_and_fetch_8): New function.
8065 (__sync_sub_and_fetch_8): New function.
8066 (__sync_or_and_fetch_8): New function.
8067 (__sync_and_and_fetch_8): New function.
8068 (__sync_xor_and_fetch_8): New function.
8069 (__sync_nand_and_fetch_8): New function.
8070 (__sync_exchange_methods): New macro.
8071 (__sync_val_compare_and_swap_4): New function.
8072 (__sync_bool_compare_and_swap_4): New function.
8073 (__sync_lock_test_and_test_4): New function.
8074 (__sync_val_compare_and_swap_8): New function.
8075 (__sync_bool_compare_and_swap_8): New function.
8076 (__sync_lock_test_and_test_8): New function.
8077 (__subword_cmpxchg_body): New macro.
8078 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
8079 (__atomic_compare_exchange_2): Ditto.
8080 (__sync_subword_cmpxchg): New macro.
8081 (__sync_val_compare_and_swap_1): New function.
8082 (__sync_bool_compare_and_swap_1): New function.
8083 (__sync_val_compare_and_swap_2): New function.
8084 (__sync_bool_compare_and_swap_2): New function.
8085 (__atomic_subword): Rename to ...
8086 (__subword): ... New name.
8087 (__atomic_subword_fetch): Use __subword.
8088 (__sync_subword_fetch): New macro.
8089 (__sync_fetch_and_add_1): New function.
8090 (__sync_fetch_and_sub_1): New function.
8091 (__sync_fetch_and_or_1): New function.
8092 (__sync_fetch_and_and_1): New function.
8093 (__sync_fetch_and_xor_1): New function.
8094 (__sync_fetch_and_nand_1): New function.
8095 (__sync_fetch_and_add_2): New function.
8096 (__sync_fetch_and_sub_2): New function.
8097 (__sync_fetch_and_or_2): New function.
8098 (__sync_fetch_and_and_2): New function.
8099 (__sync_fetch_and_xor_2): New function.
8100 (__sync_fetch_and_nand_2): New function.
8101 (__sync_add_and_fetch_1): New function.
8102 (__sync_sub_and_fetch_1): New function.
8103 (__sync_or_and_fetch_1): New function.
8104 (__sync_and_and_fetch_1): New function.
8105 (__sync_xor_and_fetch_1): New function.
8106 (__sync_nand_and_fetch_1): New function.
8107 (__sync_add_and_fetch_2): New function.
8108 (__sync_sub_and_fetch_2): New function.
8109 (__sync_or_and_fetch_2): New function.
8110 (__sync_and_and_fetch_2): New function.
8111 (__sync_xor_and_fetch_2): New function.
8112 (__sync_nand_and_fetch_2): New function.
8113 (__atomic_subword_lock): Use __subword.
8114 (__sync_subword_lock): New macro.
8115 (__sync_lock_test_and_set_1): New function.
8116 (__sync_lock_test_and_set_2): New function.
8118 2014-01-25 Walter Lee <walt@tilera.com>
8120 * config/tilepro/atomic.c (BIT_OFFSET): Define.
8121 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
8122 (__atomic_subword): Ditto.
8124 2014-01-25 Walter Lee <walt@tilera.com>
8126 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
8127 a prefix op argument.
8128 (__atomic_nand_fetch_4): Add prefix op.
8129 (__atomic_nand_fetch_8): Ditto.
8131 2014-01-21 Baruch Siach <barch@tkos.co.il>
8133 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
8135 2014-01-09 Rong Xu <xur@google.com>
8137 * libgcov-driver.c (this_prg): make it local to save
8139 (gcov_exit_compute_summary): Ditto.
8140 (gcov_exit_merge_gcda): Ditto.
8141 (gcov_exit_merge_summary): Ditto.
8142 (gcov_exit_dump_gcov): Ditto.
8144 2014-01-08 Rong Xu <xur@google.com>
8146 * libgcov-driver.c: Use libgcov.h.
8147 (buffer_fn_data): Use xmalloc instead of malloc.
8148 (gcov_exit_merge_gcda): Ditto.
8149 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
8150 * libgcov.h: New common header files for libgcov-*.h.
8151 * libgcov-interface.c: Use libgcov.h
8152 * libgcov-merge.c: Ditto.
8153 * libgcov-profiler.c: Ditto.
8154 * Makefile.in: Add dependence to libgcov.h
8156 2014-01-02 Joseph Myers <joseph@codesourcery.com>
8158 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
8159 case of small numerator and finite nonzero result.
8161 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
8163 Update copyright years
8165 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
8167 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
8168 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
8169 config/arc/dp-hack.h, config/arc/fp-hack.h,
8170 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
8171 config/arc/ieee-754/arc600-dsp/divdf3.S,
8172 config/arc/ieee-754/arc600-dsp/divsf3.S,
8173 config/arc/ieee-754/arc600-dsp/muldf3.S,
8174 config/arc/ieee-754/arc600-dsp/mulsf3.S,
8175 config/arc/ieee-754/arc600-mul64/divdf3.S,
8176 config/arc/ieee-754/arc600-mul64/divsf3.S,
8177 config/arc/ieee-754/arc600-mul64/muldf3.S,
8178 config/arc/ieee-754/arc600-mul64/mulsf3.S,
8179 config/arc/ieee-754/arc600/divsf3.S,
8180 config/arc/ieee-754/arc600/mulsf3.S,
8181 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
8182 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
8183 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
8184 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
8185 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
8186 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
8187 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
8188 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
8189 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
8190 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
8191 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
8192 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
8193 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
8194 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
8195 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
8196 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
8197 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
8198 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
8199 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
8200 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
8201 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
8202 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
8203 vtv_start_preinit.c: Use the standard form for the copyright notice.
8205 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
8206 Chung-Lin Tang <cltang@codesourcery.com>
8207 Based on patches from Altera Corporation
8209 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
8210 * config/nios2/lib2-nios2.h: New file.
8211 * config/nios2/lib2-divmod-hi.c: New file.
8212 * config/nios2/linux-unwind.h: New file.
8213 * config/nios2/lib2-divmod.c: New file.
8214 * config/nios2/linux-atomic.c: New file.
8215 * config/nios2/t-nios2: New file.
8216 * config/nios2/crti.asm: New file.
8217 * config/nios2/t-linux: New file.
8218 * config/nios2/lib2-divtable.c: New file.
8219 * config/nios2/lib2-mul.c: New file.
8220 * config/nios2/tramp.c: New file.
8221 * config/nios2/crtn.asm: New file.
8223 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
8225 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
8226 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
8227 from cpuid.h to check vendor signatures.
8229 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
8231 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
8232 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
8233 (get_amd_cpu): Likewise.
8235 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
8237 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
8240 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
8241 H.J. Lu <hongjiu.lu@intel.com>
8244 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
8246 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
8247 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
8248 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
8249 FEATURE_XOP and FEATURE_FMA.
8250 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
8252 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
8253 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
8254 FEATURE_FMA4 and FEATURE_XOP.
8256 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
8258 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
8259 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
8260 (get_intel_cpu): Updated.
8262 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
8264 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
8266 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
8268 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8269 instructions when __SSE_MATH__ is defined.
8271 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
8273 * config.host (microblaze-*-rtems*): New.
8275 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
8277 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
8278 architectures that do not have hardware divide instruction.
8279 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
8281 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
8283 * longlong.h: Delete (moved to include/).
8285 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8287 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
8288 of normal number and qNaN to not raise an inexact exception.
8290 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
8292 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
8294 2013-11-28 Matthew Leach <matthew.leach@arm.com>
8296 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
8297 for correct opcodes on BE.
8299 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
8301 * soft-fp/op-4.h: Update from glibc.
8303 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
8305 * libgcc2.c (__udivmoddi4): Define new implementation when
8306 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
8307 divide instructions.
8309 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
8311 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
8313 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8315 * config/t-softfp (soft-fp-objects-base): New variable.
8316 (soft-fp-objects): Use it.
8318 2013-11-23 David Edelson <dje.gcc@gmail.com>
8319 Andrew Dixie <andrewd@gentrack.com>
8322 * config/rs6000/aixinitfini.c: New file.
8323 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
8324 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
8327 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
8329 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
8331 2013-11-18 Jan Hubicka <jh@suse.cz>
8333 * libgcov-driver.c (run_accounted): Make global level static.
8334 (gcov_exit_merge_summary): Silence warning; do not clear
8336 (gcov_exit): Clear it here.
8338 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
8341 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
8342 (all_prg, crc32): Remove static vars.
8343 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
8345 (gcov_exit_merge_gcda): Add crc32 parameter.
8346 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
8347 do not account run if it was already accounted.
8348 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
8349 (gcov_exit): Initialize all_prg; update.
8351 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
8353 * configure: Regenerate.
8355 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8356 Alan Modra <amodra@gmail.com>
8358 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
8359 (frob_update_context): Use it.
8361 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8362 Alan Modra <amodra@gmail.com>
8364 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
8365 (trampoline_initial): Provide ELFv2 variant.
8366 (__trampoline_setup): Likewise.
8368 * config/rs6000/linux-unwind.h (frob_update_context): Do not
8369 check for AIX indirect function call sequence if _CALL_ELF == 2.
8371 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8372 Alan Modra <amodra@gmail.com>
8374 * config/rs6000/linux-unwind.h (get_regs): Do not support
8375 old kernel versions if _CALL_ELF == 2.
8376 (frob_update_context): Do not support PLT stub variants only
8377 generated by old linkers if _CALL_ELF == 2.
8379 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8380 Alan Modra <amodra@gmail.com>
8382 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
8383 location of CR save area for 64-bit little-endian systems.
8385 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
8387 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
8389 * config/arm/t-vxworks: Delete.
8391 2013-11-10 Kai Tietz <ktietz@redhat.com>
8393 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
8394 Increment load-count on use of LIBGCC_SONAME DLL.
8395 (hmod_libgcc): New static variable to hold handle of
8397 (__gcc_deregister_frame): Decrement load-count of
8400 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
8402 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
8404 * configure: Regenerate
8406 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
8408 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
8409 FP_EX_DENORM. Store result to volatile location after SSE division
8410 to close interrupt window. Remove unneeded fwait after x87
8411 division since interrupt window will be closed by emitted fstp.
8412 Rewrite FP_EX_INEXACT handling.
8414 2013-11-06 Joseph Myers <joseph@codesourcery.com>
8416 * soft-fp/README: Update.
8417 * soft-fp/adddf3.c: Update from glibc.
8418 * soft-fp/addsf3.c: Likewise.
8419 * soft-fp/addtf3.c: Likewise.
8420 * soft-fp/divdf3.c: Likewise.
8421 * soft-fp/divsf3.c: Likewise.
8422 * soft-fp/divtf3.c: Likewise.
8423 * soft-fp/double.h: Likewise.
8424 * soft-fp/eqdf2.c: Likewise.
8425 * soft-fp/eqsf2.c: Likewise.
8426 * soft-fp/eqtf2.c: Likewise.
8427 * soft-fp/extenddftf2.c: Likewise.
8428 * soft-fp/extended.h: Likewise.
8429 * soft-fp/extendsfdf2.c: Likewise.
8430 * soft-fp/extendsftf2.c: Likewise.
8431 * soft-fp/extendxftf2.c: Likewise.
8432 * soft-fp/fixdfdi.c: Likewise.
8433 * soft-fp/fixdfsi.c: Likewise.
8434 * soft-fp/fixdfti.c: Likewise.
8435 * soft-fp/fixsfdi.c: Likewise.
8436 * soft-fp/fixsfsi.c: Likewise.
8437 * soft-fp/fixsfti.c: Likewise.
8438 * soft-fp/fixtfdi.c: Likewise.
8439 * soft-fp/fixtfsi.c: Likewise.
8440 * soft-fp/fixtfti.c: Likewise.
8441 * soft-fp/fixunsdfdi.c: Likewise.
8442 * soft-fp/fixunsdfsi.c: Likewise.
8443 * soft-fp/fixunsdfti.c: Likewise.
8444 * soft-fp/fixunssfdi.c: Likewise.
8445 * soft-fp/fixunssfsi.c: Likewise.
8446 * soft-fp/fixunssfti.c: Likewise.
8447 * soft-fp/fixunstfdi.c: Likewise.
8448 * soft-fp/fixunstfsi.c: Likewise.
8449 * soft-fp/fixunstfti.c: Likewise.
8450 * soft-fp/floatdidf.c: Likewise.
8451 * soft-fp/floatdisf.c: Likewise.
8452 * soft-fp/floatditf.c: Likewise.
8453 * soft-fp/floatsidf.c: Likewise.
8454 * soft-fp/floatsisf.c: Likewise.
8455 * soft-fp/floatsitf.c: Likewise.
8456 * soft-fp/floattidf.c: Likewise.
8457 * soft-fp/floattisf.c: Likewise.
8458 * soft-fp/floattitf.c: Likewise.
8459 * soft-fp/floatundidf.c: Likewise.
8460 * soft-fp/floatundisf.c: Likewise.
8461 * soft-fp/floatunditf.c: Likewise.
8462 * soft-fp/floatunsidf.c: Likewise.
8463 * soft-fp/floatunsisf.c: Likewise.
8464 * soft-fp/floatunsitf.c: Likewise.
8465 * soft-fp/floatuntidf.c: Likewise.
8466 * soft-fp/floatuntisf.c: Likewise.
8467 * soft-fp/floatuntitf.c: Likewise.
8468 * soft-fp/gedf2.c: Likewise.
8469 * soft-fp/gesf2.c: Likewise.
8470 * soft-fp/getf2.c: Likewise.
8471 * soft-fp/ledf2.c: Likewise.
8472 * soft-fp/lesf2.c: Likewise.
8473 * soft-fp/letf2.c: Likewise.
8474 * soft-fp/muldf3.c: Likewise.
8475 * soft-fp/mulsf3.c: Likewise.
8476 * soft-fp/multf3.c: Likewise.
8477 * soft-fp/negdf2.c: Likewise.
8478 * soft-fp/negsf2.c: Likewise.
8479 * soft-fp/negtf2.c: Likewise.
8480 * soft-fp/op-1.h: Likewise.
8481 * soft-fp/op-2.h: Likewise.
8482 * soft-fp/op-4.h: Likewise.
8483 * soft-fp/op-8.h: Likewise.
8484 * soft-fp/op-common.h: Likewise.
8485 * soft-fp/quad.h: Likewise.
8486 * soft-fp/single.h: Likewise.
8487 * soft-fp/soft-fp.h: Likewise.
8488 * soft-fp/subdf3.c: Likewise.
8489 * soft-fp/subsf3.c: Likewise.
8490 * soft-fp/subtf3.c: Likewise.
8491 * soft-fp/truncdfsf2.c: Likewise.
8492 * soft-fp/trunctfdf2.c: Likewise.
8493 * soft-fp/trunctfsf2.c: Likewise.
8494 * soft-fp/trunctfxf2.c: Likewise.
8495 * soft-fp/unorddf2.c: Likewise.
8496 * soft-fp/unordsf2.c: Likewise.
8497 * soft-fp/unordtf2.c: Likewise.
8499 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
8501 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
8502 (_FP_MUL_MEAT_D): Ditto.
8503 (_FP_DIV_MEAT_S): Ditto.
8504 (_FP_DIV_MEAT_D): Ditto.
8505 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
8506 t-softfp-sfdf and t-softfp to tmake_file.
8508 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
8510 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
8511 * config/i386/crtprec.c: Ditto.
8513 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
8514 Shiva Chen <shiva0217@gmail.com>
8516 * config.host (nds32*-elf*): Add nds32 target.
8517 * config/nds32 : New directory and files.
8519 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
8521 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
8522 * config.host (cpu_type) <Setting default>: Add entry for
8524 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
8525 <crisv32-*-linux*>: Adjust.
8526 * longlong.h: Wrap the whole CRIS section in a single
8527 defined(__CRIS__) conditional. Add comment about add_ssaaaa
8529 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
8531 [__CRIS__] (__umulsidi3): Define.
8532 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
8533 * config/cris/sfp-machine.h: New file.
8534 * config/cris/umulsidi3.S: New file.
8535 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
8536 * config/cris/arit.c (SIGNMULT): New macro.
8537 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
8538 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
8539 saving 3 out of originally 33 cycles from the fastest
8540 path, 3 out of 54 from the medium path and one from the longest
8541 path. Improve comments.
8543 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
8545 * sync.c: Remove static aliases and define each function directly
8546 under its real name.
8548 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
8550 * config.host (hppa*64*-*-linux*): Define extra_parts.
8551 (hppa*-*-linux*): Likewise.
8553 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
8555 * config/arc/crtgend.S: Add 2013 to Copyright years.
8556 * config/arc/gmon/atomic.h: Likewise.
8557 * config/arc/gmon/auxreg.h: Likewise.
8558 * config/arc/gmon/sys/gmon_out.h: Likewise.
8559 * config/arc/gmon/sys/gmon.h: Likewise.
8560 * config/arc/gmon/prof-freq.c: Likewise.
8561 * config/arc/gmon/mcount.c: Likewise.
8562 * config/arc/gmon/prof-freq-stub.S: Likewise.
8563 * config/arc/gmon/gmon.c: Likewise.
8564 * config/arc/gmon/machine-gmon.h: Likewise.
8565 * config/arc/gmon/profil.S: Likewise.
8566 * config/arc/gmon/dcache_linesz.S: Likewise.
8567 * config/arc/crtg.S: Likewise.
8568 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
8569 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
8570 * config/arc/ieee-754/adddf3.S: Likewise.
8571 * config/arc/ieee-754/truncdfsf2.S: Likewise.
8572 * config/arc/ieee-754/fixsfsi.S: Likewise.
8573 * config/arc/ieee-754/gtsf2.S: Likewise.
8574 * config/arc/ieee-754/floatsisf.S: Likewise.
8575 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
8576 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
8577 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
8578 * config/arc/ieee-754/fixdfsi.S: Likewise.
8579 * config/arc/ieee-754/addsf3.S: Likewise.
8580 * config/arc/ieee-754/gesf2.S: Likewise.
8581 * config/arc/ieee-754/floatsidf.S: Likewise.
8582 * config/arc/ieee-754/extendsfdf2.S: Likewise.
8583 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
8584 * config/arc/ieee-754/gtdf2.S: Likewise.
8585 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
8586 * config/arc/ieee-754/uneqdf2.S: Likewise.
8587 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
8588 * config/arc/ieee-754/uneqsf2.S: Likewise.
8589 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
8590 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
8591 * config/arc/ieee-754/eqdf2.S: Likewise.
8592 * config/arc/ieee-754/ordsf2.S: Likewise.
8593 * config/arc/ieee-754/divsf3.S: Likewise.
8594 * config/arc/ieee-754/divdf3.S: Likewise.
8595 * config/arc/ieee-754/floatunsidf.S: Likewise.
8596 * config/arc/ieee-754/orddf2.S: Likewise.
8597 * config/arc/ieee-754/eqsf2.S: Likewise.
8598 * config/arc/ieee-754/gedf2.S: Likewise.
8599 * config/arc/crtn.S: Likewise.
8600 * config/arc/crti.S: Likewise.
8601 * config/arc/t-arc700-uClibc: Likewise.
8602 * config/arc/asm.h: Likewise.
8603 * config/arc/libgcc-excl.ver: Likewise.
8604 * config/arc/t-arc-newlib: Likewise.
8605 * config/arc/divtab-arc700.c: Likewise.
8606 * config/arc/initfini.c: Likewise.
8607 * config/arc/fp-hack.h: Likewise.
8609 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8610 Diego Novillo <dnovillo@google.com>
8612 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
8613 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
8614 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
8615 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
8617 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8618 Brendan Kehoe <brendan@zen.org>
8619 Simon Cook <simon.cook@embecosm.com>
8621 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
8622 * config/arc: New directory.
8623 * longlong.h [__arc__] (umul_ppmm): Remove.
8624 [__arc__] (__umulsidi3): Define.
8625 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
8626 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
8628 2013-09-17 Jacek Caban <jacek@codeweavers.com>
8630 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
8632 * config/i386/gthr-win32.h: Likewise.
8634 2013-09-16 DJ Delorie <dj@redhat.com>
8636 * config/rl78/vregs.h: Add G10 register definitions.
8637 * config/rl78/lib2mul.c: Enable for RL78/G10.
8638 * config/rl78/lib2div.c: Likewise.
8639 * config/rl78/lshrsi3.S: Use vregs.h.
8640 * config/rl78/cmpsi2.S: Likewise.
8641 * config/rl78/trampoline.S: Likewise.
8642 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
8644 2013-09-14 DJ Delorie <dj@redhat.com>
8645 Nick Clifton <nickc@redhat.com>
8647 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8648 * config/rl78/vregs.h: New.
8649 * config/rl78/signbit.S: New file. Implements signbit function.
8650 * config/rl78/divmodsi.S: New.
8651 * config/rl78/divmodhi.S: New.
8652 * config/rl78/divmodqi.S: New.
8653 * config/rl78/t-rl78: Build them here...
8654 * config/rl78/lib2div.c: ...but not here.
8656 2013-09-12 DJ Delorie <dj@redhat.com>
8658 * config.host (msp*-*-elf): New.
8659 * config/msp430/: New port.
8661 2013-08-18 Iain Sandoe <iain@codesourcery.com>
8663 PR gcov-profile/58127
8664 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8665 __thread var for emulated TLS.
8666 (__gcov_indirect_call_counters): Likewise.
8668 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
8669 Catherine Moore <clm@codesourcery.com>
8670 Richard Sandiford <rdsandiford@googlemail.com>
8672 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8673 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8674 (CALL_STUB_NO_RET): Likewise.
8675 (CALL_STUB_RET): Likewise.
8676 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8677 __mips16_ret call/return stub symbols.
8678 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8681 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
8683 * config.host <mips*-*-linux*>: Remove a stray comment.
8685 2013-08-10 Jan Hubicka <jh@suse.cz>
8687 Work around binutils PR14342
8688 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8689 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8690 (L_gcov_indirect_call_profiler_v2): New.
8692 2013-08-06 Jan Hubicka <jh@suse.cz>
8694 * libgcov.c (__gcov_indirect_call_callee,
8695 __gcov_indirect_call_counters): New global vars.
8696 (__gcov_indirect_call_profiler): replace by ...
8697 (__gcov_indirect_call_profiler_v2) ... this one.
8699 2013-08-06 Caroline Tice <cmtice@google.com>
8701 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
8702 vtv_start_preinit.o and vtv_end_preinit.o.
8703 * configure.ac: Add code to check/set enable_vtable_verify.
8704 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
8706 * vtv_start_preinit.c: New file.
8707 * vtv_end_preinit.c: New file.
8708 * vtv_start.c: New file.
8709 * vtv_end.c: New file.
8710 * configure: Regenerated.
8712 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
8714 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8715 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8716 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8717 GPL-3.0-with-GCC-exception.
8719 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
8721 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8724 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8726 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8727 mapping for FPRs when creating the fallback framestate.
8729 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
8732 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8733 (__round_s2_const, __round_u2_const)
8734 (__round_s4_const, __round_u4_const, __round_x8):
8735 Saturate result if addition result cannot be represented.
8737 2013-07-15 Matthias Klose <doko@ubuntu.com>
8739 * libgcc2.c: Don't include <limits.h>.
8741 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
8743 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8745 2013-07-06 Jakub Jelinek <jakub@redhat.com>
8748 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8750 2013-06-28 Jakub Jelinek <jakub@redhat.com>
8753 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8755 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8756 instead of table lookups.
8757 (__popcountDI2): Likewise.
8759 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
8761 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8764 2013-06-21 Joseph Myers <joseph@codesourcery.com>
8767 * soft-fp/adddf3.c: Update from glibc.
8768 * soft-fp/addsf3.c: Likewise.
8769 * soft-fp/addtf3.c: Likewise.
8770 * soft-fp/divdf3.c: Likewise.
8771 * soft-fp/divsf3.c: Likewise.
8772 * soft-fp/divtf3.c: Likewise.
8773 * soft-fp/double.h: Likewise.
8774 * soft-fp/eqdf2.c: Likewise.
8775 * soft-fp/eqsf2.c: Likewise.
8776 * soft-fp/eqtf2.c: Likewise.
8777 * soft-fp/extenddftf2.c: Likewise.
8778 * soft-fp/extended.h: Likewise.
8779 * soft-fp/extendsfdf2.c: Likewise.
8780 * soft-fp/extendsftf2.c: Likewise.
8781 * soft-fp/fixdfdi.c: Likewise.
8782 * soft-fp/fixdfsi.c: Likewise.
8783 * soft-fp/fixsfdi.c: Likewise.
8784 * soft-fp/fixsfsi.c: Likewise.
8785 * soft-fp/fixtfdi.c: Likewise.
8786 * soft-fp/fixtfsi.c: Likewise.
8787 * soft-fp/fixunsdfdi.c: Likewise.
8788 * soft-fp/fixunsdfsi.c: Likewise.
8789 * soft-fp/fixunssfdi.c: Likewise.
8790 * soft-fp/fixunssfsi.c: Likewise.
8791 * soft-fp/fixunstfdi.c: Likewise.
8792 * soft-fp/fixunstfsi.c: Likewise.
8793 * soft-fp/floatdidf.c: Likewise.
8794 * soft-fp/floatdisf.c: Likewise.
8795 * soft-fp/floatditf.c: Likewise.
8796 * soft-fp/floatsidf.c: Likewise.
8797 * soft-fp/floatsisf.c: Likewise.
8798 * soft-fp/floatsitf.c: Likewise.
8799 * soft-fp/floatundidf.c: Likewise.
8800 * soft-fp/floatundisf.c: Likewise.
8801 * soft-fp/floatunditf.c: Likewise.
8802 * soft-fp/floatunsidf.c: Likewise.
8803 * soft-fp/floatunsisf.c: Likewise.
8804 * soft-fp/floatunsitf.c: Likewise.
8805 * soft-fp/gedf2.c: Likewise.
8806 * soft-fp/gesf2.c: Likewise.
8807 * soft-fp/getf2.c: Likewise.
8808 * soft-fp/ledf2.c: Likewise.
8809 * soft-fp/lesf2.c: Likewise.
8810 * soft-fp/letf2.c: Likewise.
8811 * soft-fp/muldf3.c: Likewise.
8812 * soft-fp/mulsf3.c: Likewise.
8813 * soft-fp/multf3.c: Likewise.
8814 * soft-fp/negdf2.c: Likewise.
8815 * soft-fp/negsf2.c: Likewise.
8816 * soft-fp/negtf2.c: Likewise.
8817 * soft-fp/op-1.h: Likewise.
8818 * soft-fp/op-2.h: Likewise.
8819 * soft-fp/op-4.h: Likewise.
8820 * soft-fp/op-8.h: Likewise.
8821 * soft-fp/op-common.h: Likewise.
8822 * soft-fp/quad.h: Likewise.
8823 * soft-fp/single.h: Likewise.
8824 * soft-fp/soft-fp.h: Likewise.
8825 * soft-fp/subdf3.c: Likewise.
8826 * soft-fp/subsf3.c: Likewise.
8827 * soft-fp/subtf3.c: Likewise.
8828 * soft-fp/truncdfsf2.c: Likewise.
8829 * soft-fp/trunctfdf2.c: Likewise.
8830 * soft-fp/trunctfsf2.c: Likewise.
8831 * soft-fp/unorddf2.c: Likewise.
8832 * soft-fp/unordsf2.c: Likewise.
8833 * soft-fp/unordtf2.c: Likewise.
8834 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8835 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8836 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8837 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8838 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8839 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8840 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8841 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8842 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8843 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8844 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8845 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8847 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
8849 * config/mips/lib2funcs.c: New file.
8850 * config/mips/t-mips (LIB2ADD_ST): Add it.
8852 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
8855 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8856 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
8858 2013-06-08 Walter Lee <walt@tilera.com>
8860 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8861 Replace int64_t with long long. Add __extension__ where
8863 * config/tilepro/atomic.c: Include config.h.
8865 2013-06-06 Douglas B Rupp <rupp@adacore.com>
8867 * config.host (arm-wrs-vxworks): Configure with other soft float.
8869 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
8871 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8872 (mips64r5900el-*-elf*): New configurations.
8874 2013-06-04 Alan Modra <amodra@gmail.com>
8876 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
8878 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
8880 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
8882 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
8884 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
8885 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
8886 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
8888 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8890 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
8891 (powerpc-wrs-vxworks): Likewise.
8893 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8895 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
8896 signal frames as well.
8897 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
8898 STACK_BIAS to the CFA offset.
8900 2013-05-17 Richard Henderson <rth@redhat.com>
8903 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
8904 (execute_cfa_program): Use it when storing to fs->regs.
8906 2013-05-08 Kai Tietz <ktietz@redhat.com>
8908 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
8909 (__deregister_frame_info): Likewise.
8911 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
8913 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
8916 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
8918 2013-04-25 Alan Modra <amodra@gmail.com>
8920 * config.host: Match little-endian powerpc-linux.
8922 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
8924 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
8925 as 'unsigned long long' instead of 'unsigned long'.
8926 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
8929 2013-04-10 Julian Brown <julian@codesourcery.com>
8931 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
8932 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
8933 unsigned char/unsigned short.
8934 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
8936 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8939 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
8941 2013-04-04 Meador Inge <meadori@codesourcery.com>
8943 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8944 computing the location of the link register.
8945 (aeabi_uldivmod): Ditto.
8947 2013-03-27 Kai Tietz <ktietz@redhat.com>
8949 * config.host: Add support for cygwin x64 target.
8950 * configure: Regenerated.
8952 2013-03-26 Walter Lee <walt@tilera.com>
8954 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
8955 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
8957 2013-03-25 Kai Tietz <ktietz@redhat.com>
8959 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
8961 2013-03-20 Robert Mason <rbmj@verizon.net>
8963 * config/vxlib-tls.c (__gthread_get_tsd_data,)
8964 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
8965 (__gthread_leave_tsd_dtor_context): Add prototypes.
8966 (tls_delete_hook): Update.
8968 2013-03-20 Catherine Moore <clm@codesourcery.com>
8969 Joseph Myers <joseph@codesourcery.com>
8970 Chao-ying Fu <fu@mips.com>
8972 * config/mips/mips16.S: Don't build for microMIPS.
8973 * config/mips/linux-unwind.h: Handle microMIPS frame.
8974 * config/mips/crtn.S (fini, init): New labels.
8976 2013-03-14 Jakub Jelinek <jakub@redhat.com>
8978 PR tree-optimization/53265
8979 * unwind-dw2.c (execute_cfa_program): Avoid
8980 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
8981 on targets with DWARF_FRAME_REGISTERS < 32.
8983 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
8986 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
8987 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
8989 2013-03-07 Sriraman Tallam <tmsriram@google.com>
8991 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
8992 sandybridge processors.
8994 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
8997 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
9000 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
9002 * config/microblaze/crti.S: Setup stack protection at entry
9004 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
9006 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
9007 (__rotldi3): Shift bytewise if applicable.
9009 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
9011 * config/aarch64/sync-cache.c
9012 (__aarch64_sync_cache_range): Silence warnings.
9014 2013-02-25 Catherine Moore <clm@codesourcery.com>
9017 2013-02-24 Catherine Moore <clm@codesourcery.com>
9018 Joseph Myers <joseph@codesourcery.com>
9019 Chao-ying Fu <fu@mips.com>
9021 * config/mips/mips16.S: Don't build for microMIPS.
9022 * config/mips/linux-unwind.h: Handle microMIPS frame.
9023 * config/mips/crtn.S (fini, init): New labels.
9025 2013-02-24 Catherine Moore <clm@codesourcery.com>
9026 Joseph Myers <joseph@codesourcery.com>
9027 Chao-ying Fu <fu@mips.com>
9029 * config/mips/mips16.S: Don't build for microMIPS.
9030 * config/mips/linux-unwind.h: Handle microMIPS frame.
9031 * config/mips/crtn.S (fini, init): New labels.
9033 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
9034 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
9037 2013-02-16 Alan Modra <amodra@gmail.com>
9040 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
9041 (ppc_fallback_frame_state): Always set up save locations for fp
9042 and altivec. Don't bother with non-callee-saved regs, r0-r13
9043 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
9045 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
9048 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
9050 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
9051 _ssmulha3, _usmulusa3, _ssmulsa3.
9052 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
9053 (__muldi3): XCALL __muldi3_6 instead of rcall.
9054 (__umulsidi3, __mulsidi3): New functions.
9055 (do_prologue_saves, do_epilogue_restores): New .macros.
9056 (__divdi3_moddi3): Use them.
9057 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
9058 (__usmulusa3, __ssmulsa3): New functions.
9060 2013-02-11 Iain Sandoe <iain@codesourcery.com>
9061 Jack Howarth <howarth@bromo.med.uc.edu>
9062 Patrick Marlier <patrick.marlier@gmail.com>
9065 * config/darwin-crt-tm.c: Remove dummy functions hack.
9067 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
9070 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
9071 * config/avr/lib2-object.mk: New iterator to build objects from it.
9072 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
9074 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
9075 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
9076 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
9077 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
9078 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
9079 * config/avr/lib1funcs-fixed.S: Implement them.
9081 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
9083 Update copyright years.
9085 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
9088 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
9089 Add crtcxa to extra_parts.
9090 * config/rs6000/exit.h: New file.
9091 * config/rs6000/cxa_atexit.c: New file.
9092 * config/rs6000/cxa_finalize.c: New file.
9093 * config/rs6000/crtcxa.c: New file.
9094 * config/rs6000/t-aix-cxa: New file.
9095 * config/rs6000/libgcc-aix-cxa.ver: New file.
9097 2013-01-31 Nick Clifton <nickc@redhat.com>
9099 * config/v850/lib1funcs.S: Add support for e3v5 architecture
9102 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
9105 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
9106 _mulQQ, _mulHQ, _mulHA, _mulSA,
9107 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
9108 _divQQ, _divHQ, _divHA, _divSA,
9109 _divUQQ, _divUHQ, _divUHA, _divUSA.
9111 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
9113 * config.host(microblaze*-linux*): tmake_file: Remove
9114 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
9115 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
9116 to exclude functions from being built with libgcc.c and use
9117 the microblaze assembly.
9119 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
9121 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
9124 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
9126 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
9127 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
9128 __UINTPTR_TYPE__; also cast 'base' to the same type before the
9129 alignment operation.
9131 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
9133 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
9134 loop start address for cache clearing.
9136 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
9138 * config/avr/lib1funcs.S: Remove trailing blanks.
9139 * config/avr/lib1funcs-fixed.S: Ditto.
9141 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
9143 * config/avr/avr-lib.h: Add GPL copyright notice.
9145 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
9147 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
9148 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
9149 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
9150 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
9152 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
9154 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
9155 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
9157 2013-01-04 Nick Clifton <nickc@redhat.com>
9159 * config/v850/lib1funcs.S: Only provide CALLT support functions if
9160 the CALLT instruction is supported.
9162 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
9164 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
9165 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
9167 2012-12-13 John Tytgat <John@bass-software.com>
9169 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
9172 2012-12-12 Jakub Jelinek <jakub@redhat.com>
9175 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
9176 undefined signed overflows.
9178 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
9181 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
9183 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
9185 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
9186 (FP_TRAPPING_EXCEPTIONS): Define.
9187 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
9188 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
9190 2012-12-04 Richard Henderson <rth@redhat.com>
9193 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
9195 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
9197 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
9198 (FP_EX_SHIFT): Define.
9199 (FP_TRAPPING_EXCEPTIONS): Define.
9201 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
9203 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
9204 (FP_ROUNDMODE): Use FP_RND_MASK.
9205 * config/aarch64/sfp-exceptions.c: New.
9206 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
9207 Use __sfp_handle_exceptions.
9209 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
9211 * config.host: (arm*-*-freebsd*): Remove.
9212 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
9213 (arm*-*-elf*): Remove.
9214 (arm*-*-wince-pe*): Remove.
9215 * arm/unwind-arm.c (struct fpa_reg): Delete.
9216 (struct fpa_regs): Delete.
9217 (phase1_vrs): Remove fpa element.
9218 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
9219 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
9220 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
9221 * ieee754-sf.S (floatundisf): Remove FPA support.
9222 (floatdisf): Likewise.
9223 * ieee75f-df.S (floatundidf): Likewise.
9224 (floatdidf): Likewise.
9226 2012-11-29 Kai Tietz <ktietz@redhat.com>
9229 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
9230 * unwind-generic.h: Likewise.
9231 * unwind-seh.c: Likewise.
9233 2012-11-28 Richard Henderson <rth@redhat.com>
9236 * emutls.c (__emutls_get_address): Avoid race condition between
9237 obj->loc.offset read and emutls_key initialization.
9239 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
9241 Adjust decimal point of signed accum mode to GCC default.
9244 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
9246 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
9247 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
9248 (__mulha3, __mulsa3)
9249 (__divqq3, __divha3, __divsa3): Adjust to new position of
9250 decimal point of signed accum types.
9252 (__mulusa3_round): New function.
9253 (__mulusa3): Use it.
9254 (__divqq_helper): New function.
9255 (__udivuqq3): Use it.
9257 2012-11-20 Jakub Jelinek <jakub@redhat.com>
9260 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
9262 2012-11-18 Teresa Johnson <tejohnson@google.com>
9265 * libgcov.c (gcov_exit): Remove merged program summary
9266 comparison unless !GCOV_LOCKED.
9268 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
9270 * soft-fp: Updated from glibc upstream.
9272 2012-11-06 Ian Lance Taylor <iant@google.com>
9274 * generic-morestack.c (__generic_morestack): Align the returned
9275 stack pointer to a 32 byte boundary.
9276 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
9277 increment the return address until we have decided that we don't
9278 have a varargs function.
9279 (__morestack) [32-bit]: Align stack correctly when calling C
9281 (__morestack) [64-bit]: Likewise.
9283 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9285 * configure: Regenerate.
9287 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
9290 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
9291 * config/i386/sfp-machine.h: Guard exception handling
9292 code with _SOFT_FLOAT.
9293 * config/i386/32/sfp-machine.h: Guard rounding handling
9294 code with _SOFT_FLOAT.
9295 * config/i386/64/sfp-machine.h: Ditto.
9297 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
9299 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
9302 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
9304 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
9305 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
9306 when appropriate. Correct structure element types.
9307 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
9308 -minline-all-stringops from compile flags.
9310 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
9312 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
9314 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
9316 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
9318 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
9320 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
9323 2012-10-23 Ian Bolton <ian.bolton@arm.com>
9324 Jim MacArthur <jim.macarthur@arm.com>
9325 Marcus Shawcroft <marcus.shawcroft@arm.com>
9326 Nigel Stephens <nigel.stephens@arm.com>
9327 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
9328 Richard Earnshaw <rearnsha@arm.com>
9329 Sofiane Naci <sofiane.naci@arm.com>
9330 Stephen Thomas <stephen.thomas@arm.com>
9331 Tejas Belagod <tejas.belagod@arm.com>
9332 Yufeng Zhang <yufeng.zhang@arm.com>
9334 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
9335 * config/aarch64/crti.S: New file.
9336 * config/aarch64/crtn.S: New file.
9337 * config/aarch64/linux-unwind.h: New file.
9338 * config/aarch64/sfp-machine.h: New file.
9339 * config/aarch64/sync-cache.c: New file.
9340 * config/aarch64/t-aarch64: New file.
9341 * config/aarch64/t-softfp: New file.
9343 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
9345 * config/mmix/crti.S: Mark program and data addresses using PRELD.
9346 Remove typo'd and unnecessary alignment-LOC for .data. Remove
9347 no-longer-needed LDBU insns.
9349 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
9352 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
9353 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
9355 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9357 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
9359 2012-10-15 Matthias Klose <doko@ubuntu.com>
9361 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
9363 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
9365 * configure: Regenerate.
9366 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
9368 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
9370 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
9371 instructions for 64bit targets only.
9373 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
9375 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9376 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
9377 * config/i386/32/sfp-machine.h: ... here.
9378 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
9379 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
9382 2012-10-07 Matthias Klose <doko@ubuntu.com>
9384 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
9386 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
9388 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
9390 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
9391 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
9392 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
9395 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
9398 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9399 Fix parameter names.
9401 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
9404 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
9405 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
9406 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
9408 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
9411 * config/sh/linux-atomic.S: Delete.
9412 * config/sh/linux-atomic.c: New.
9413 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
9414 linux-atomic.c. Add cflags to disable warnings.
9416 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
9419 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
9421 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
9422 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
9423 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
9424 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
9425 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
9427 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9429 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
9431 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
9432 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
9434 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
9436 * config.host (hppa-*-openbsd*): New target.
9437 * config/pa/t-openbsd: New file.
9439 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
9442 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
9443 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
9444 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
9445 (__divsa3): Use __negsi2 to negate r_quoL.
9446 * config/avr/lib1funcs.S (FALIAS): New macro.
9447 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
9448 (__negsi2): ...this new function.
9449 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
9450 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
9451 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
9452 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
9453 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
9454 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
9456 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
9459 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
9460 (lshrsi3): Reimplement as lshrsi3_r0.
9462 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
9465 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
9468 2012-09-07 Teresa Johnson <tejohnson@google.com>
9470 PR gcov-profile/54487
9471 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9474 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
9477 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
9478 not configured --with-avrlibc=no.
9479 * config/avr/t-avrlibc: New file.
9480 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
9481 (DPBIT_FUNCS): Ditto.
9482 (TPBIT_FUNCS): Ditto.
9484 2012-09-04 Teresa Johnson <tejohnson@google.com>
9486 * libgcov.c (struct gcov_summary_buffer): New structure.
9487 (gcov_histogram_insert): New function.
9488 (gcov_compute_histogram): Ditto.
9489 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
9490 histograms during summary merging.
9492 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
9494 * config.host (x86_64-*-openbsd*): New target.
9496 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
9498 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
9501 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
9504 * config/avr/t-avr (conv_X): Rename to func_X.
9506 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
9509 * config/avr/lib1funcs-fixed.S: New file.
9510 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
9511 after they are used.
9512 (neg2, neg4): New macros.
9513 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
9514 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
9515 (__umulhisi3): Speed up MUL variant if there is enough flash.
9516 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
9518 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
9519 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
9520 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
9521 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
9522 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
9523 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
9524 (LIB2FUNCS_EXCLUDE): Add supported functions.
9526 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
9528 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
9529 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
9531 * fixed-obj.mk: Only expand dependency if $o is not in
9534 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
9536 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
9538 2012-08-22 Joseph Myers <joseph@codesourcery.com>
9540 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
9541 depend on --enable-shared.
9542 ($(lib1asmfuncs-o)): Use %.vis files independent of
9544 * static-object.mk ($(base)$(objext), $(base).vis)
9545 ($(base)_s$(objext)): Use same rules for visibility handling as in
9548 2012-08-21 Ian Lance Taylor <iant@google.com>
9550 * config/i386/morestack.S (__morestack_non_split): Increase amount
9551 of space allocated for non-split code stack.
9553 2012-08-19 Joseph Myers <joseph@codesourcery.com>
9555 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
9556 even if inhibit_libc.
9558 2012-08-17 Julian Brown <julian@codesourcery.com>
9560 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
9561 -fexceptions -fnon-call-exceptions if not defined.
9562 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
9563 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
9565 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
9567 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
9570 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
9572 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
9573 rs6000/t-slibgcc-aix.
9575 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9577 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
9579 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9581 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
9583 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
9586 * Makefile.in (version): Replace top_srcdir with srcdir.
9588 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
9590 * Makefile.in (version): set to BASE-VER file from gcc directory.
9592 2012-08-01 Nick Clifton <nickc@redhat.com>
9594 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
9595 Implements __clrsb for an HImode argument.
9597 2012-07-31 Nick Clifton <nickc@redhat.com>
9599 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
9600 Implements __clrsb for an HImode argument.
9601 * config/stormy16/clrsbhi2.c: New file:
9602 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
9604 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
9606 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
9608 2012-07-19 Tristan Gingold <gingold@adacore.com>
9609 Richard Henderson <rth@redhat.com>
9611 * unwind-seh.c: New file.
9612 * unwind-generic.h: Include windows.h for SEH.
9613 (_Unwind_Exception): Use 6 private fields for SEH.
9614 (_GCC_specific_handler): Declare.
9615 * unwind-c.c (__gcc_personality_seh0): New function.
9617 * config/i386/libgcc-cygming.ver: New file.
9618 * config/i386/t-seh-eh: New file.
9619 * config.host (x86_64-*-mingw*): Default to seh.
9621 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
9623 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
9625 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
9627 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
9628 __builtin_expect when checking for exceptions.
9629 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
9631 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
9633 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
9634 function declaration.
9635 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9637 * config/ia64/sfp-exceptions.c: New.
9638 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
9640 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
9642 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9643 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9644 * config/i386/64/sfp-machine: ... (delete here) ...
9645 * config/i386/sfp-machine.h: ... to here.
9646 (FP_EX_MASK): Remove.
9648 (FP_INIT_ROUNDMODE): Declare asm as volatile.
9650 2012-06-11 Sriraman Tallam <tmsriram@google.com>
9652 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9653 * config/i386/libgcc-sol2.ver: Ditto.
9654 * config/i386/libgcc-glibc.ver: Ditto.
9656 2012-06-11 Roland McGrath <mcgrathr@google.com>
9658 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9659 If __GLIBC__ is defined, refer to __pthread_key_create instead of
9662 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
9664 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9665 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9666 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9667 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9668 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9669 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9670 * config/i386/64/sfp-machine: ... (delete here) ...
9671 * config/i386/sfp-machine.h: ... to here.
9673 (__sfp_handle_exceptions): New function declaration.
9674 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9675 * config/i386/sfp-exceptions.c: New.
9676 * config/i386/t-softfp: New.
9677 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9678 i386/t-softfp to tmake_file.
9680 2012-06-03 David S. Miller <davem@davemloft.net>
9682 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9685 2012-05-31 David S. Miller <davem@davemloft.net>
9687 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9688 multiply and divide instructions on 32-bit when V9.
9689 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9691 2012-05-29 Joseph Myers <joseph@codesourcery.com>
9693 * config/arm/ieee754-df.S: Fix typos.
9694 * config/arm/ieee754-sf.S: Fix typos.
9695 * config/c6x/libunwind.S: Fix typos.
9696 * config/epiphany/udivsi3-float.c: Fix typos.
9697 * config/microblaze/muldi3_hard.S: Fix typos.
9698 * config/picochip/adddi3.S: Fix typos.
9699 * config/picochip/ashlsi3.S: Fix typos.
9700 * config/picochip/ashrsi3.S: Fix typos.
9701 * config/picochip/clzsi2.S: Fix typos.
9702 * config/picochip/cmpsi2.S: Fix typos.
9703 * config/picochip/divmod15.S: Fix typos.
9704 * config/picochip/divmodhi4.S: Fix typos.
9705 * config/picochip/divmodsi4.S: Fix typos.
9706 * config/picochip/longjmp.S: Fix typos.
9707 * config/picochip/lshrsi3.S: Fix typos.
9708 * config/picochip/parityhi2.S: Fix typos.
9709 * config/picochip/popcounthi2.S: Fix typos.
9710 * config/picochip/setjmp.S: Fix typos.
9711 * config/picochip/subdi3.S: Fix typos.
9712 * config/picochip/ucmpsi2.S: Fix typos.
9713 * config/picochip/udivmodhi4.S: Fix typos.
9714 * config/picochip/udivmodsi4.S: Fix typos.
9715 * config/spu/divv2df3.c: Fix typos.
9716 * config/spu/mfc_multi_tag_release.c: Fix typos.
9717 * config/spu/mfc_tag_release.c: Fix typos.
9718 * configure.ac: Fix typos.
9719 * configure: Regenerate.
9721 2012-05-25 Ian Lance Taylor <iant@google.com>
9723 * config/i386/morestack.S (__morestack_non_split): Check whether
9724 caller is varargs and needs %bp to hold the stack frame on return.
9726 2012-05-25 Olivier Hainque <hainque@adacore.com>
9728 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9729 sequence in the non pic case on VxWorks.
9731 2012-05-24 Olivier Hainque <hainque@adacore.com>
9733 * Makefile.in: Move dependency on install-unwind_h from
9734 "install-leaf" to "install".
9736 2012-05-24 Olivier Hainque <hainque@adacore.com>
9738 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9739 Use a separate command for stamp removals.
9741 2012-05-21 Andrew Pinski <apinski@cavium.com>
9744 * configure.ac: Define the default includes to being none.
9745 * configure: Regenerate.
9747 2012-05-16 Olivier Hainque <hainque@adacore.com>
9749 * Makefile.in (install-unwind_h): Rename into ...
9750 (install-unwind_h-forbuild): New target.
9751 (all): Use it instead of the former install-unwind_h.
9752 (install-unwind_h): Reinstate, copy to user install destination
9753 for include files, not to the internal gcc object directory one.
9754 (install-leaf): Depend on it.
9756 2012-05-15 Olivier Hainque <hainque@adacore.com>
9758 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9759 register numbers. LR_REGNO replaces R_LR.
9760 (ucontext_for): New, helper for ...
9761 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9763 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9765 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9767 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9768 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9769 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9771 (i[34567]86-*-*, x86_64-*-*): ... here.
9773 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9774 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9776 * config/i386/i386-cpuinfo.c: Rename to ...
9777 * config/i386/cpuinfo.c: ... this.
9778 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9780 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9781 (libgcc_cv_init_priority): New test.
9782 * configure: Regenerate.
9783 * config.in: New file.
9784 * Makefile.in (clean): Rename config.h to auto-target.h.
9785 (config.h): Likewise.
9786 (stamp-h): Likewise.
9788 * config/i386/cpuinfo.c (auto-target.h): Include.
9789 (CONSTRUCTOR_PRIORITY): Define.
9790 (__cpu_indicator_init): Use it.
9792 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9794 * longlong.h: Use a URL instead of an FSF postal address.
9795 Replace spaces with tab.
9797 2012-05-08 Teresa Johnson <tejohnson@google.com>
9799 * libgcov.c (gcov_clear, __gcov_reset): New functions.
9800 (__gcov_dump): Ditto.
9801 (gcov_dump_complete): New global variable.
9802 (gcov_exit): Export hidden to enable use in L_gcov_dump.
9803 (__gcov_flush): Outline functionality now in gcov_clear.
9804 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9806 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
9808 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9809 (mips*-*-linux*): Include mips/t-tpbit when long double is
9812 2012-04-25 Sriraman Tallam <tmsriram@google.com>
9814 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9815 (get_available_features): New argument. Check for AVX2.
9816 (__cpu_indicator_init): Modify call to get_available_features.
9818 2012-04-25 Alan Modra <amodra@gmail.com>
9820 * config/rs6000/crtsavevr.S: New file.
9821 * config/rs6000/crtrestvr.S: New file.
9822 * config/rs6000/t-savresfgpr: Build the above.
9823 * config/rs6000/t-netbsd: Likewise.
9825 2012-04-24 Sriraman Tallam <tmsriram@google.com>
9827 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9829 2012-04-24 Sriraman Tallam <tmsriram@google.com>
9831 * libgcc/config/i386/i386-cpuinfo.c: New file.
9832 * libgcc/config/i386/t-cpuinfo: New file.
9833 * libgcc/config.host: Include t-cpuinfo.
9834 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9836 2012-04-24 Chao-ying Fu <fu@mips.com>
9838 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9840 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
9842 struct siginfo vs. siginfo_t
9844 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9845 siginfo_t instead of struct siginfo.
9846 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9847 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9848 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9849 (ia64_handle_unwabi): Likewise.
9850 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9851 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9852 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9853 (sh_fallback_frame_state): Likewise.
9854 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9855 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9857 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
9859 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9862 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
9864 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9865 if it hasn't been previously saved.
9867 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
9869 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
9872 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
9875 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
9876 instead of __AVR_HAVE_8BIT_SP__.
9878 2012-03-26 Tristan Gingold <gingold@adacore.com>
9880 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
9881 (unw_table_entry): Use unw_word instead of unsigned long.
9882 (_Unwind_FindTableEntry): Likewise.
9883 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
9884 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
9885 (_Unwind_FindTableEntry): Likewise.
9886 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
9887 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
9888 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
9889 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
9890 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
9891 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
9892 (uw_init_context_1, uw_install_context): Likewise.
9893 (unw_word): Move to unwind-ia64.h
9895 2012-03-26 Tristan Gingold <gingold@adacore.com>
9897 * config/vms/vms-ucrt0.c: Update copyright years.
9899 (___gcc_main_flags): Declare.
9900 (__main): Check flags to remap argv and exit code.
9901 * config.host (*-*-*vms*): Adjust extra_parts.
9902 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
9905 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
9907 * arm/lib1funcs.asm (ctzsi2): New function.
9908 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
9909 * arm/t-linux (LIB1ASMFUNCS): Likewise.
9910 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
9911 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
9912 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9913 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
9915 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
9917 * config.host: Add bits to support powerpc64-*-freebsd*.
9918 * config/rs6000/freebsd-unwind.h: New file.
9919 * config/rs6000/t-freebsd64: New file.
9921 2012-03-20 Richard Guenther <rguenther@suse.de>
9923 PR gcov-profile/52627
9924 * libgcov.c (init_mx): Fix mutex name.
9926 2012-03-16 Tristan Gingold <gingold@adacore.com>
9928 * config/ia64/vms-unwind.h: Remove ulong (and replace
9929 it by unw_reg where used). Define unw_reg with __int64.
9931 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9933 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
9935 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
9937 (sparc_is_sighandler): Likewise.
9939 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
9941 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9944 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9946 * config/arm/crtn.S: Fix typo.
9948 2012-03-13 Richard Guenther <rguenther@suse.de>
9950 * libgcov.c: Remove stdio.h include and NULL un-define.
9952 2012-03-13 Richard Guenther <rguenther@suse.de>
9955 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
9957 2012-03-13 Richard Guenther <rguenther@suse.de>
9959 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
9961 2012-03-13 Richard Guenther <rguenther@suse.de>
9963 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
9964 and __gthread_mutex_init_function definitions.
9966 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9968 * config.host (mips*-*-openbsd*): Remove.
9970 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9972 * config.host: Remove alpha*-dec-osf5.1* handling.
9973 * config/alpha/gthr-posix.c: Remove.
9974 * config/alpha/libgcc-osf5.ver: Remove.
9975 * config/alpha/osf5-unwind.h: Remove.
9976 * config/alpha/t-osf-pthread: Remove.
9977 * config/alpha/t-slibgcc-osf: Remove.
9978 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
9979 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
9980 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
9981 * mkmap-flat.awk: Remove osf_export handling.
9983 2012-03-12 Richard Guenther <rguenther@suse.de>
9985 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
9986 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9987 (__gthread_mutex_init_function): New function.
9988 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9991 * libgcov.c: Include gthr.h.
9992 (__gcov_flush_mx): New global variable.
9993 (init_mx, init_mx_once): New functions.
9994 (__gcov_flush): Protect self with a mutex.
9995 (__gcov_fork): Re-initialize mutex after forking.
9996 * unwind-dw2-fde.c: Change condition under which to use
9997 __GTHREAD_MUTEX_INIT_FUNCTION.
9999 2012-03-12 Tristan Gingold <gingold@adacore.com>
10001 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
10002 * config/ia64/t-vms: Likewise.
10004 2012-03-11 Michael Hope <michael.hope@linaro.org>
10006 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
10009 2012-03-07 Walter Lee <walt@tilera.com>
10011 * config/tilepro/atomic.c: Rename "atomic_" prefix to
10013 (atomic_xor): Rename and move definition to
10014 config/tilepro/atomic.h.
10015 (atomic_nand): Ditto.
10016 * config/tilepro/atomic.h: Rename "atomic_" prefix to
10018 (arch_atomic_xor): Move from config/tilepro/atomic.c.
10019 (arch_atomic_nand): Ditto.
10021 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
10024 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
10026 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
10029 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
10032 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
10036 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
10037 if RAMPZ affects reading from RAM.
10038 (__tablejump_elpm__): Ditto.
10040 (__movmemx_hi): Ditto.
10041 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
10042 (__do_global_dtors): Ditto.
10043 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
10044 (__movmemx_hi): Ditto.
10046 2012-03-05 Richard Henderson <rth@redhat.com>
10048 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
10049 [ARM] (count_trailing_zeros): Use the builtin.
10051 2012-03-01 Kai Tietz <ktietz@redhat.com>
10053 * soft-fp: Imported from glibc upstream.
10055 2012-02-28 Kai Tietz <ktietz@redhat.com>
10057 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
10058 for mingw-targets as attribute gcc_struct.
10060 2012-02-28 Ian Lance Taylor <iant@google.com>
10062 * generic-morestack.c (__splitstack_releasecontext): Correct call
10063 to __morestack_release_segments.
10065 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10068 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
10069 for __linux__ when removing signals from __morestack_fullmask.
10071 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
10074 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
10076 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10078 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
10079 instead of HAVE_INITFINI_ARRAY.
10080 * config/ia64/crtend.S: Likewise.
10082 2012-02-20 Kai Tietz <ktietz@redhat.com>
10085 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
10087 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
10088 to w32-unwind.h header.
10090 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
10092 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
10093 (mips*-*-linux*): Remove t-slibgcc-libgcc.
10094 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
10095 * config/mips/mips16.S (__mips16_rdhwr): Delete.
10097 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
10099 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
10101 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
10104 * config/darwin-crt-tm.c: Correct typo.
10106 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
10107 Patrick Marlier <patrick.marlier@gmail.com>
10110 * config/darwin-crt-tm.c: Generate dummy functions.
10112 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
10113 Patrick Marlier <patrick.marlier@gmail.com>
10116 * config/darwin-crt-tm.c (getTMCloneTable): New function.
10117 (__doTMRegistrations): Call it.
10118 (__doTMdeRegistrations): Likewise.
10120 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
10121 Anatoly Sokolov <aesok@post.ru>
10122 Eric Weddington <eric.weddington@atmel.com>
10125 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
10126 (__epilogue_restores__): Ditto.
10128 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
10132 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
10133 Solaris 11 and slightly reformat.
10134 (sparc_is_sighandler): Likewise.
10136 2012-02-14 Walter Lee <walt@tilera.com>
10138 * config.host: Handle tilegx and tilepro.
10139 * config/tilegx/sfp-machine.h: New file.
10140 * config/tilegx/sfp-machine32.h: New file.
10141 * config/tilegx/sfp-machine64.h: New file.
10142 * config/tilegx/t-crtstuff: New file.
10143 * config/tilegx/t-softfp: New file.
10144 * config/tilegx/t-tilegx: New file.
10145 * config/tilepro/atomic.c: New file.
10146 * config/tilepro/atomic.h: New file.
10147 * config/tilepro/linux-unwind.h: New file.
10148 * config/tilepro/sfp-machine.h: New file.
10149 * config/tilepro/softdivide.c: New file.
10150 * config/tilepro/softmpy.S: New file.
10151 * config/tilepro/t-crtstuff: New file.
10152 * config/tilepro/t-tilepro: New file.
10154 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
10158 * gthr-posix.h: Allow static initializer macros to be disabled.
10159 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
10161 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
10163 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
10164 Add t-slibgcc-libgcc to tmake_file.
10165 * config/mips/libgcc-mips16.ver: Revert previous patch.
10166 * config/mips/mips16.S (__mips16_rdhwr): Hide.
10168 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
10169 Jayant R Sonar <jayant.sonar@kpitcummins.com>
10171 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
10172 * config/cr16/crti.S: New file.
10173 * config/cr16/crtlibid.S: New file.
10174 * config/cr16/crtn.S: New file.
10175 * config/cr16/lib1funcs.S: New file.
10176 * config/cr16/t-cr16: New file.
10177 * config/cr16/t-crtlibid: New file.
10178 * config/cr16/unwind-dw2.h: New file.
10179 * config/cr16/unwind-cr16.c: New file.
10180 * config/cr16/divmodhi3.c: New file.
10182 2012-01-25 Alan Modra <amodra@gmail.com>
10184 * config/rs6000/t-linux64: Delete. Move..
10185 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
10186 * config/rs6000/t-linux: ..and libgcc flags to here.
10188 2012-01-22 Douglas B Rupp <rupp@gnat.com>
10190 * config.host (i[34567]86-*-interix3*):
10191 Change triplet to i[34567]86-*-interix[3-9]*.
10192 * configure: Regenerate.
10194 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
10195 Richard Sandiford <rdsandiford@googlemail.com>
10197 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
10198 * config/mips/mips16.S (__mips16_rdhwr): New function.
10199 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
10201 2012-01-11 Nathan Sidwell <nathan@acm.org>
10203 * libgcov.c (__gcov_init): Ignore objects with no functions.
10205 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
10208 Extend __pgmx semantics to linearize memory.
10209 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
10210 * config/avr/lib1funcs.S (__xload_1): New function.
10211 (__movmemx_qi, __movmemx_hi): New functions.
10212 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
10215 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
10217 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
10218 purported sigacthandler address isn't null before dereferencing it.
10219 (sparc_is_sighandler): Likewise.
10221 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
10224 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
10225 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
10226 (sparc_is_sighandler): Likewise.
10227 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
10229 2012-01-06 Tristan Gingold <gingold@adacore.com>
10231 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
10232 compatibility thunks...
10233 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
10234 (crtbeginS.o, crtendS.o): ... and these to ...
10235 * config/ia64/t-ia64-elf: ... this new file.
10236 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
10237 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
10239 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10241 * configure: Regenerate.
10242 * config/s390/t-crtstuff: Remove -fPIC.
10244 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
10247 * enable-execute-stack-mprotect.c (getpagesize): Do not define
10250 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
10253 * config/avr/lib1funcs.S: Remove FIXME comments.
10254 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
10256 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
10258 Implement light-weight DImode support.
10259 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
10260 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
10261 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
10262 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
10264 2011-12-30 Nathan Sidwell <nathan@acm.org>
10266 * libgcov.c (gcov_crc32): Remove global var.
10267 (free_fn_data): New function.
10268 (buffer_fn_data): Pass in filename, more robust error recovery.
10269 (crc32_unsigned): New function.
10270 (gcov_exit): More robust detection of new program. More robust
10272 (__gcov_init): Do not update program's crc here.
10274 2011-12-21 Tristan Gingold <gingold@adacore.com>
10276 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
10278 2011-12-21 Ian Lance Taylor <iant@google.com>
10280 * config/i386/morestack.S: Simplify CFI opcodes throughout.
10282 2011-12-20 Ian Lance Taylor <iant@google.com>
10284 * config/i386/morestack.S (__morestack_non_split): If there is
10285 enough stack space already, don't split. Ask for more stack space
10288 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
10290 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
10292 (_Unwind_DebugHook): New function.
10293 (uw_restore_core_regs): New define.
10294 (unwind_phase2): Use uw_restore_core_regs instead of
10296 (unwind_phase2_forced): Likewise.
10297 (__gnu_Unwind_Resume): Likewise.
10299 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
10301 * config/alpha/linux-unwind.h: Update copyright years.
10302 (MD_FROB_UPDATE_CONTEXT): New define.
10303 (alpha_frob_update_context): New function.
10305 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
10307 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
10308 tmake_file rather replacing it.
10310 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
10312 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
10313 function is not used for PPC64.
10314 (save_world): Amend comments. Update the VRsave mask to reflect the
10316 (rest_world): Update comments, do not clobber r10, do not use r8.
10317 (eh_rest_world_r10): Amend comments, do not use r8.
10318 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
10319 no longer used, move restore of CR and target address to the end of
10322 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
10324 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
10325 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
10327 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
10330 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
10331 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
10333 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
10335 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
10337 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
10340 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
10341 * config/avr/lib1funcs.S (__muldi3): New function.
10343 2011-12-06 Andrew Pinski <apinski@cavium.com>
10345 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
10347 (__frame_dummy_init_array_entry): Likewise.
10349 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
10351 Forward-port from gcc-4_6-branch r181936 2011-12-02.
10355 * config/avr/lib1funcs.S (__prologue_saves__,
10356 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
10357 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
10359 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
10361 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
10363 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10366 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
10367 (_ITM_deregisterTMCloneTable): Likewise.
10368 (__register_frame_info): Fix unused warning.
10369 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
10370 pthread_default_stacksize_np): Likewise.
10371 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
10373 2011-11-29 DJ Delorie <dj@redhat.com>
10375 * config.host (rl78-*-elf): New case.
10376 * config/rl78: New directory for the Renesas RL78.
10378 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
10380 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
10383 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10386 * config/rs6000/t-savresfgpr: New file.
10387 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
10388 $(srcdir)/config/rs6000/eabi.S.
10389 * config/rs6000/t-ppccomm-ldbl: Remove.
10390 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
10392 (powerpc-*-eabispe*): Likewise.
10393 (powerpc-*-eabi*): Likewise.
10394 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10395 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
10396 to tmake_file, remove rs6000/t-ppccomm-ldbl.
10397 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
10399 (powerpc-*-eabisim*): Likewise.
10400 (powerpc-*-elf*): Likewise.
10401 (powerpc-*-eabialtivec*): Likewise.
10402 (powerpc-xilinx-eabi*): Likewise.
10403 (powerpc-*-rtems*): Likewise.
10404 (powerpcle-*-elf*): Likewise.
10405 (powerpcle-*-eabisim*): Likewise.
10406 (powerpcle-*-eabi*): Likewise.
10408 2011-11-27 Ian Lance Taylor <iant@google.com>
10410 * generic-morestack.c (__splitstack_find): Check for NULL old
10412 (__splitstack_resetcontext): New function.
10413 (__splitstack_releasecontext): New function.
10414 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10416 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
10418 * config/darwin-crt-tm.c: Correct comments, use correct licence.
10420 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
10422 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
10424 2011-11-26 Richard Henderson <rth@redhat.com>
10426 * config/m68k/linux-atomic.c: New file.
10427 * config/m68k/t-linux: New file.
10428 * config.host (m68k-uclinux, m68k-linux): Use it.
10430 2011-11-26 Richard Henderson <rth@redhat.com>
10432 * crtstuff.c (__TMC_LIST__): Mark used not unused.
10433 (__TMC_END__): Only declare if hidden is available; in the definition,
10434 if hidden is unavailable add a null record.
10435 (deregister_tm_clones, register_tm_clones): New.
10436 (__do_global_dtors_aux, frame_dummy): Use them.
10437 (__do_global_dtors, __do_global_ctors_1): Likewise.
10439 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
10441 * config/darwin-crt-tm.c: New file.
10442 * config.host (darwin): Build crttms.o crttme.o to provide
10443 startup and shutdown for tm clones.
10444 * config/t-darwin (crttms.o): New build rule.
10445 (crttme.o): Likewise.
10447 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
10449 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
10452 2011-11-21 Richard Henderson <rth@redhat.com>
10454 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
10455 (__TMC_LIST__, __TMC_END__): New.
10456 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
10457 (__do_global_dtors): Likewise.
10458 (frame_dummy): Call _ITM_registerTMCloneTable.
10459 (__do_global_ctors_1): Likewise.
10461 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10463 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
10464 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10465 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
10466 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
10467 * config/i386/t-darwin64: Remove.
10468 * config/sh/t-netbsd (LIB2ADD): Remove.
10470 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
10473 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
10474 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
10475 * config/avr/lib1funcs.S (wmov): New assembler macro.
10476 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
10477 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
10478 (__udivmod64): New function.
10479 (__negdi2): New function.
10481 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
10483 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
10484 *-*-freebsd*aout*): Remove.
10486 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
10488 * static-object.mk (c_flags-$o): Save c_flags.
10489 ($(base)$(objext)): Use it.
10491 2011-11-18 Steve Ellcey <sje@cup.hp.com>
10493 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
10495 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
10498 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
10499 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
10502 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
10504 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
10506 (aeabi_uidivmod): Likewise.
10507 (umodsi3): Likewise.
10508 (divsi3): Likewise.
10509 (aeabi_idivmod): Likewise.
10510 (modsi3): Likewise.
10512 2011-11-16 Tristan Gingold <gingold@adacore.com>
10514 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
10516 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
10519 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
10520 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
10522 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10524 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
10526 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
10527 * config/pa/t-stublib64: Delete.
10529 2011-11-12 Richard Henderson <rth@redhat.com>
10531 * config/rs6000/linux-unwind.h (frob_update_context): Properly
10532 cast the pointer argument to _Unwind_SetGRPtr.
10534 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10536 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
10538 2011-11-09 Ian Lance Taylor <iant@google.com>
10540 * generic-morestack.c: Include <string.h>.
10541 (uintptr_type): Define.
10542 (struct initial_sp): Add dont_block_signals field. Reduce size of
10544 (allocate_segment): Set prev field to NULL. Don't set
10545 __morestack_current_segment or __morestack_segments.
10546 (__generic_morestack): Update current->prev and *pp after calling
10548 (__morestack_block_signals): Don't do anything if
10549 dont_block_signals is set.
10550 (__morestack_unblock_signals): Likewise.
10551 (__generic_findstack): Check for initial_sp == NULL. Add casts to
10553 (__splitstack_block_signals): New function.
10554 (enum __splitstack_content_offsets): Define.
10555 (__splitstack_getcontext, __splitstack_setcontext): New functions.
10556 (__splitstack_makecontext): New function.
10557 (__splitstack_block_signals_context): New function.
10558 (__splitstack_find_context): New function.
10559 * config/i386/morestack.S (__morestack_get_guard): New function.
10560 (__morestack_set_guard, __morestack_make_guard): New functions.
10561 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10563 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10565 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
10566 (i[34567]86-*-mingw*): ... here.
10567 (x86_64-*-mingw*): ... here.
10569 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10571 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
10573 2011-11-07 Nathan Sidwell <nathan@acm.org>
10575 * libgcov.c (struct gcov_fn_buffer): New struct.
10576 (buffer_fn_data): New helper.
10577 (gcov_exit): Rework for new gcov data structures.
10579 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
10582 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
10584 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10586 * config.host (tmake_file): Correct comment.
10587 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
10589 (bfin*-uclinux*): Likewise.
10590 (bfin*-linux-uclibc*): Likewise.
10591 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
10593 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
10595 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10596 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
10597 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10598 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
10599 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10600 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
10601 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
10602 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10603 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
10604 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
10605 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
10606 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
10607 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
10609 * config/bfin/t-elf: Remove.
10610 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
10612 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10614 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
10615 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
10616 (lm32-*-elf*, lm32-*-rtems*): Split into ...
10617 (lm32-*-elf*): ... this.
10618 (lm32-*-rtems*): ... and this.
10620 (m32r-*-rtems*): Add to tmake_file.
10621 (moxie-*-rtems*): Likewise.
10622 (sparc-*-rtems*): Likewise.
10623 Remove t-rtems from tmake_file.
10624 (sparc64-*-rtems*): Likewise.
10625 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
10628 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10631 * config/gthr-posix.h: Move ...
10632 * gthr-posix.h: ... here.
10633 * config/gthr-lynx.h: Reflect this.
10634 * config/gthr-vxworks.h: Likewise.
10635 * config/rs6000/gthr-aix.h: Likewise.
10636 * configure.ac (target_thread_file): Likewise.
10637 * configure: Regenerate.
10639 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
10641 * config.host (arm*-*-rtemseabi*): New target.
10643 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10646 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10649 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
10651 * config.host (epiphany-*-elf*): New configuration.
10652 * config/epiphany: New Directory.
10654 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
10656 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10657 * config/avr/t-rtems: New.
10658 Filter out _exit from LIB1ASMFUNCS.
10660 2011-11-04 David S. Miller <davem@davemloft.net>
10662 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10663 * configure: Rebuild.
10665 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10667 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10670 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
10673 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10674 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10676 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
10679 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10681 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10683 * config/c6x/t-elf (LIB2ADDEH): Set.
10684 * config/c6x/t-c6x-elf: Remove.
10686 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10688 * config/i386/sol2-ci.S: Rename to ...
10689 * config/i386/crti.S: ... this.
10690 * config/i386/sol2-cn.S: Rename to ...
10691 * config/i386/crtn.S: ... this.
10692 * config/sparc/sol2-ci.S: Rename to ...
10693 * config/sparc/crti.S: ... this.
10694 * config/sparc/sol2-cn.S: Rename to ...
10695 * config/sparc/crtn.S: ... this.
10696 * config/t-sol2 (CUSTOM_CRTIN): Remove.
10697 (crti.o, crtn.o): Remove.
10699 2011-11-04 Tristan Gingold <gingold@adacore.com>
10701 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10703 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
10705 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10707 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
10709 * config.host (crisv32-*-none, cris-*-none): Remove.
10710 (crisv32-*-elf): Append to tmake_file, don't just set it.
10711 (cris-*-elf): Add missing t-fdpbit to tmake_file.
10713 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10715 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10716 (ecrtn$(objext)): Likewise.
10717 (ncrti$(objext)): Likewise.
10718 (ncrtn$(objext)): Likewise.
10720 2011-11-03 Andreas Schwab <schwab@redhat.com>
10722 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10724 2011-11-02 David S. Miller <davem@davemloft.net>
10726 * configure.ac: Set host_address on sparc too.
10727 * configure: Regenerate.
10728 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10729 based upon host_address.
10730 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10732 2011-11-02 Jason Merrill <jason@redhat.com>
10734 * config/rs6000/t-ppccomm: Add missing \.
10736 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10738 * gthr-single.h, gthr.h: New files.
10739 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10740 config/gthr-vxworks.h, config/i386/gthr-win32.h,
10741 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10742 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10743 * config/i386/gthr-win32.c: Include "gthr-win32.h".
10744 * configure.ac (thread_header): New variable.
10745 Set it depending on target_thread_file.
10746 (gthr-default.h): Link from $thread_header.
10747 * configure: Regenerate.
10748 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10750 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10752 * configure.ac (tm_file_): New variable.
10753 Determine from tm_file.
10754 (tm_file, tm_defines): Substitute.
10755 * configure: Regenerate.
10756 * mkheader.sh: New file.
10757 * Makefile.in (clean): Remove libgcc_tm.h.
10758 ($(objects)): Depend on libgcc_tm.h.
10759 (libgcc_tm_defines, libgcc_tm_file): New variables.
10760 (libgcc_tm.h, libgcc_tm.stamp): New targets.
10761 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10762 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10763 ($(extra-parts)): Depend on libgcc_tm.h.
10764 * config.host (tm_defines, tm_file): New variable.
10765 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10766 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10767 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10768 (avr-*-rtems*): Likewise.
10769 (avr-*-*): Likewise.
10770 (frv-*-elf): Likewise.
10771 (frv-*-*linux*): Likewise.
10772 (h8300-*-rtems*): Likewise.
10773 (h8300-*-elf*): Likewise.
10774 (i[34567]86-*-darwin*): Likewise.
10775 (x86_64-*-darwin*): Likewise.
10776 (rx-*-elf): Likewise.
10777 (tic6x-*-uclinux): Likewise.
10778 (tic6x-*-elf): Likewise.
10779 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10780 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10781 * config/i386/cygming-crtbegin.c: Likewise.
10782 * config/i386/cygming-crtend.c: Likewise.
10783 * config/ia64/fde-vms.c: Likewise.
10784 * config/ia64/unwind-ia64.c: Likewise.
10785 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10786 * config/rs6000/darwin-fallback.c: Likewise.
10787 * config/stormy16/lib2funcs.c: Likewise.
10788 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10789 * crtstuff.c: Likewise.
10790 * dfp-bit.h: Likewise.
10791 * emutls.c: Likewise.
10792 * fixed-bit.c: Likewise.
10793 * fp-bit.c: Likewise.
10794 * generic-morestack-thread.c: Likewise.
10795 * generic-morestack.c: Likewise.
10796 * libgcc2.c: Likewise.
10797 * libgcov.c: Likewise.
10798 * unwind-dw2-fde-dip.c: Likewise.
10799 * unwind-dw2-fde.c: Likewise.
10800 * unwind-dw2.c: Likewise.
10801 * unwind-sjlj.c: Likewise.
10803 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10805 * configure.ac: Include ../config/picflag.m4.
10806 (GCC_PICFLAG): Call it.
10808 * configure: Regenerate.
10809 * Makefile.in (gcc_srcdir): Remove.
10810 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10811 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10812 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10813 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10814 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10817 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10818 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10819 to refer to libgcc2.c.
10821 * config/darwin-64.c: New file.
10822 * config/darwin-crt3.c: Remove comment.
10823 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10824 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10825 config/udivmodsi4.c: New files.
10826 * config/memcmp.c, config/memcpy.c, config/memmove.c,
10827 config/memset.c: New files.
10828 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10829 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10830 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10831 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10832 * config/t-openbsd-thread: New file.
10833 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10834 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10835 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10836 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10839 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10840 to refer to gthr-posix.c.
10841 * config/alpha/t-vms (LIB2ADD): Set.
10842 * config/alpha/vms-gcc_shell_handler.c: New file.
10843 * config/arm/bpabi.c, config/arm/fp16.c,
10844 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10845 config/arm/unaligned-funcs.c: New files.
10846 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10847 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10848 * config/arm/t-linux: Likewise.
10849 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10850 * config/arm/t-netbsd: New file.
10851 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10852 * config/arm/t-symbian (LIB2ADD_ST): Set.
10853 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10854 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10855 * config/bfin/t-elf: New file.
10856 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10857 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10858 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10859 config/c6x/ltf.c: New files.
10860 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10861 (HOST_LIBGCC2_CFLAGS): Set.
10862 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10863 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10864 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10866 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
10867 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
10868 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
10869 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
10870 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
10872 * config/frv/t-frv (LIB2ADD): Set.
10873 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10874 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
10875 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
10876 config/h8300/popcounthi2.c: New files.
10877 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10878 * config/i386/gthr-win32.c: New file.
10879 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
10880 * config/i386/t-cygwin: Likewise.
10881 * config/i386/t-darwin, config/i386/t-darwin64,
10882 config/i386/t-gthr-win32, config/i386/t-interix: New files.
10883 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
10884 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10885 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10886 * config/ia64/quadlib.c: New file.
10887 * config/ia64/t-hpux (LIB2ADD): Set.
10888 * config/ia64/t-ia64: Add comment.
10889 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
10890 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10891 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
10892 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
10893 * config/m32c/t-m32c (LIB2ADD): Set.
10894 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10895 * config/m32r/t-m32r: Likewise.
10896 * config/m68k/fpgnulib.c: New file.
10897 * config/m68k/t-floatlib (LIB2ADD): Set.
10898 (xfgnulib.c): New target.
10899 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
10900 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
10901 * config/mep/t-mep (LIB2ADD): Set.
10902 * config/microblaze/divsi3.asm: Rename to divsi3.S.
10903 * config/microblaze/moddi3.asm: Rename to moddi3.S.
10904 * config/microblaze/modsi3.asm: Rename to modsi3.S.
10905 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
10906 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
10907 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
10908 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
10909 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
10910 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
10911 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
10913 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
10914 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
10915 * config/pa/fptr.c, config/pa/lib2funcs.S,
10916 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
10917 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10918 (LIB2ADD, LIB2ADD_ST): Set.
10919 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
10920 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
10922 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
10923 * config/pdp11/t-pdp11: New file.
10924 * config/picochip/libgccExtras/adddi3.S,
10925 config/picochip/libgccExtras/ashlsi3.S,
10926 config/picochip/libgccExtras/ashrsi3.S,
10927 config/picochip/libgccExtras/clzsi2.S,
10928 config/picochip/libgccExtras/cmpsi2.S,
10929 config/picochip/libgccExtras/divmod15.S,
10930 config/picochip/libgccExtras/divmodhi4.S,
10931 config/picochip/libgccExtras/divmodsi4.S,
10932 config/picochip/libgccExtras/lshrsi3.S,
10933 config/picochip/libgccExtras/parityhi2.S,
10934 config/picochip/libgccExtras/popcounthi2.S,
10935 config/picochip/libgccExtras/subdi3.S,
10936 config/picochip/libgccExtras/ucmpsi2.S,
10937 config/picochip/libgccExtras/udivmodhi4.S,
10938 config/picochip/libgccExtras/udivmodsi4.S: New files.
10939 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
10940 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10941 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10942 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10943 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10944 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10945 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
10946 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
10948 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
10949 (HOST_LIBGCC2_CFLAGS): Set.
10950 * config/rs6000/t-darwin64: New file.
10951 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
10952 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
10953 * config/rs6000/t-ppccomm (LIB2ADD): Add
10954 $(srcdir)/config/rs6000/tramp.S.
10955 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
10956 Add $(srcdir)/config/rs6000/eabi.S.
10957 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
10958 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
10959 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
10960 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
10961 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
10962 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
10963 * config/rs6000/tramp.S: New file.
10964 * config/s390/t-tpf: Remove.
10965 * config/sh/linux-atomic.S: New file.
10966 * config/sh/t-linux (LIB2ADD): Set.
10967 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
10968 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10969 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
10971 (HOST_LIBGCC2_CFLAGS): Set.
10972 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10973 * config/spu/divmodti4.c, config/spu/divv2df3.c,
10974 config/spu/float_disf.c, config/spu/float_unsdidf.c,
10975 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
10976 config/spu/mfc_multi_tag_release.c,
10977 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
10978 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
10979 config/spu/multi3.c: New files.
10980 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
10981 (HOST_LIBGCC2_CFLAGS): Set.
10982 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
10983 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
10984 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
10985 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
10986 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
10987 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
10988 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
10989 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
10990 config/stormy16/umodsi3.c: New files.
10991 * config/xtensa/lib2funcs.S: New file.
10992 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10993 * config/xtensa/t-xtensa (LIB2ADD): Set.
10994 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
10995 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
10996 Add t-freebsd-thread to tmake_file for posix threads.
10997 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
10998 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
10999 (*-*-lynxos*): Likewise.
11000 (*-*-netbsd*): Likewise.
11001 (*-*-openbsd*): Likewise.
11002 Add t-openbsd-thread to tmake_file for posix threads.
11003 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
11004 (*-*-vxworks*): Set tmake_file.
11005 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
11006 (alpha*-*-freebsd*): Likewise.
11007 (alpha*-*-netbsd*): Likewise.
11008 (alpha*-*-openbsd*): Likewise.
11009 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
11010 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
11011 (alpha*-dec-*vms*): Likewise.
11012 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
11013 (bfin*-elf*): Add bfin/t-elf to tmake_file.
11014 (bfin*-uclinux*): Likewise.
11015 (bfin*-linux-uclibc*): Likewise.
11016 (crisv32-*-elf): Add cris/t-cris to tmake_file.
11017 (crisv32-*-none): Likewise.
11018 (cris-*-elf): Likewise.
11019 (cris-*-none): Likewise.
11020 (cris-*-linux*, crisv32-*-linux*): Likewise.
11021 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
11023 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
11025 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
11026 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
11027 (x86_64-*-elf*): Likewise.
11028 (i[34567]86-*-nto-qnx*): Likewise.
11029 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
11031 (x86_64-*-mingw*): Likewise.
11032 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
11033 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
11034 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
11035 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
11036 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
11038 (mipsisa64sr71k-*-elf*): Likewise.
11039 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
11040 (mips-*-elf*, mipsel-*-elf*): Likewise.
11041 (mips64-*-elf*, mips64el-*-elf*): Likewise.
11042 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
11043 (mips*-*-rtems*): Likewise.
11044 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
11046 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
11047 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
11048 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
11049 (spu-*-elf*): Likewise.
11050 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
11052 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11054 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
11055 $(srcdir) to refer to $(LIB1ASMSRC).
11057 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
11058 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
11059 config/arm/lib1funcs.S: New files.
11060 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
11061 * config/arm/t-arm: New file.
11062 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
11063 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
11064 config/arm/t-strongarm-elf: New files.
11065 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
11066 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
11067 * config/avr/lib1funcs.S: New file.
11068 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11069 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
11070 * config/c6x/lib1funcs.S: New file.
11071 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11072 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
11073 * config/frv/lib1funcs.S: New file.
11074 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11075 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
11076 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
11077 * config/ia64/__divxf3.asm: Rename to ...
11078 * config/ia64/__divxf3.S: ... this.
11079 Adapt lib1funcs.asm filename.
11080 * config/ia64/_fixtfdi.asm: Rename to ...
11081 * config/ia64/_fixtfdi.S: ... this.
11082 Adapt lib1funcs.asm filename.
11083 * config/ia64/_fixunstfdi.asm: Rename to ...
11084 * config/ia64/_fixunstfdi.S: ... this.
11085 Adapt lib1funcs.asm filename.
11086 * config/ia64/_floatditf.asm: Rename to ...
11087 * config/ia64/_floatditf.S: ... this.
11088 Adapt lib1funcs.asm filename.
11089 * config/ia64/lib1funcs.S: New file.
11090 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
11091 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11092 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
11093 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
11094 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
11095 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
11096 * config/mep/lib1funcs.S: New file.
11097 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11098 * config/mips/mips16.S: New file.
11099 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11100 * config/pa/milli64.S: New file.
11101 * config/pa/t-linux, config/pa/t-linux64: New files.
11102 * config/picochip/lib1funcs.S: New file.
11103 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11104 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
11105 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
11106 * config/sh/t-netbsd: New file.
11107 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
11108 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
11109 * config/sh/t-sh64: New file.
11110 * config/sparc/lb1spc.S: New file.
11111 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
11113 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
11114 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
11115 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
11116 config/xtensa/lib1funcs.S: New files.
11117 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11118 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
11120 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
11121 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
11122 (arm*-*-linux*): Likewise.
11123 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
11124 arm*-*-linux-*eabi, add arm/t-linux otherwise.
11125 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
11126 (arm*-*-ecos-elf): Likewise.
11127 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11128 (arm*-*-rtems*): Likewise.
11129 (arm*-*-elf): Likewise.
11130 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
11131 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
11132 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
11133 (bfin*-uclinux*): Likewise.
11134 (bfin*-linux-uclibc*): Likewise.
11135 (bfin*-rtems*): Likewise.
11136 (bfin*-*): Likewise.
11137 (fido-*-elf): Merge into m68k-*-elf*.
11138 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
11139 (frv-*-*linux*): Add frv/t-frv to tmake_file.
11140 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
11141 (h8300-*-elf*): Likewise.
11142 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
11143 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
11144 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
11145 (i[34567]86-*-mingw*): Likewise.
11146 (x86_64-*-mingw*): Likewise.
11147 (i[34567]86-*-interix3*): Likewise.
11148 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
11149 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
11150 (m68k-*-elf*): Also handle fido-*-elf.
11151 Add m68k/t-floatlib to tmake_file.
11152 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
11153 (m68k-*-linux*): Likewise.
11154 (m68k-*-rtems*): Likewise.
11155 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
11156 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
11158 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
11159 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
11160 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
11161 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
11162 sh/t-netbsd to tmake_file.
11163 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
11164 (sh-*-rtems*): Add sh/t-sh to tmake_file.
11165 (sh-wrs-vxworks): Likewise.
11166 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
11168 (v850*-*-*): Add v850/t-v850 to tmake_file.
11169 (vax-*-linux*): Add vax/t-linux to tmake_file.
11170 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
11172 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11174 * crtstuff.c: New file.
11175 * Makefile.in (CRTSTUFF_CFLAGS): Define.
11176 (CRTSTUFF_T_CFLAGS): Define.
11177 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
11178 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
11179 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
11182 (crtbeginT.o): Use $(objext).
11183 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
11184 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
11185 (gcc-extra-parts): Remove.
11186 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
11188 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11189 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
11190 Add t-crtstuff-pic to tmake_file.
11191 (*-*-lynxos*): New case.
11192 Set tmake_file, extra_parts.
11193 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
11194 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
11195 *-*-netbsdelf[2-9]*.
11196 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
11197 (*-*-rtems*): Set extra_parts.
11198 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
11199 (*-*-uclinux*): New case.
11201 (*-*-vms*): New case.
11202 Set tmake_file, extra_parts.
11203 (*-*-elf): Set extra_parts.
11204 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
11205 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
11208 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
11210 (arm*-*-freebsd*): Add t-crtin to tmake_file.
11211 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
11212 (arm-wrs-vxworks): Append to tmake_file.
11214 (arm*-*-uclinux*): Set extra_parts.
11215 (arm*-*-ecos-elf): Likewise.
11216 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
11218 (arm*-*-rtems*): Set extra_parts.
11219 (arm*-*-elf): Likewise.
11220 (avr-*-rtems*): Clear extra_parts.
11221 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
11223 (bfin*-uclinux*): Likewise.
11224 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
11225 (bfin*-rtems*): Append to tmake_file.
11227 (bfin*-*): Likewise.
11228 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
11229 (crisv32-*-elf): ... this.
11230 (crisv32-*-none): ... this.
11231 (cris-*-elf, cris-*-none): New cases.
11232 Add cris/t-elfmulti to tmake_file.
11233 (fr30-*-elf): Append to tmake_file.
11235 (frv-*-elf): Append to tmake_file, add frv/t-frv.
11237 (h8300-*-rtems*): Append to tmake_file.
11239 (h8300-*-elf*): Likewise.
11240 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
11242 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
11244 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
11245 (x86_64-*-elf*): Likewise.
11246 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
11247 (x86_64-*-freebsd*): Likewise.
11248 (x86_64-*-netbsd*): Likewise.
11249 (i[34567]86-*-linux*): Likewise.
11250 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11251 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11252 (x86_64-*-linux*): Likewise.
11253 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11254 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
11257 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
11258 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
11259 Append to extra_parts, remove crtbegin.o, crtend.o.
11260 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
11261 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
11262 crtend.o, crtbeginS.o, crtendS.o.
11263 (ia64*-*-linux*): Comment extra_parts.
11264 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
11266 (iq2000*-*-elf*): Clear extra_parts.
11267 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
11268 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
11269 (m32r-*-elf*, m32r-*-rtems*): Split off ...
11270 (m32r-*-rtems*): ... this.
11271 Add m32r/t-m32r to tmake_file.
11272 (m68k-*-elf*): Add t-crtin to tmake_file.
11273 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
11274 (mcore-*-elf): Likewise.
11275 (microblaze*-*-*): Set extra_parts.
11276 (mips*-sde-elf*): New case.
11277 Set tmake_file, extra_parts.
11278 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
11279 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
11280 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
11283 (mipsisa64sr71k-*-elf*): Likewise.
11284 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
11285 (mips-*-elf*, mipsel-*-elf*): Likewise.
11286 (mips64-*-elf*, mips64el-*-elf*): Likewise.
11287 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
11288 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
11289 (mips*-*-rtems*): Likewise.
11290 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
11291 (moxie-*-*): Split into ...
11292 (moxie-*-elf, moxie-*-uclinux*): ... this.
11293 Add to extra_parts, remove crtbegin.o, crtend.o.
11294 (moxie-*-rtems*): New case.
11297 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
11299 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
11300 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
11303 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
11304 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
11306 (powerpc-*-eabisim*): Likewise.
11307 (powerpc-*-elf*): Likewise.
11308 (powerpc-*-eabialtivec*): Likewise.
11309 (powerpc-xilinx-eabi*): Likewise.
11310 (powerpc-*-eabi*): Likewise.
11311 (powerpc-*-rtems*): Likewise.
11312 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
11315 (powerpc-*-lynxos*): Add to tmake_file.
11316 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
11317 rs6000/t-crtstuff, t-crtstuff-pic.
11319 (powerpcle-*-eabisim*): Likewise.
11320 (powerpcle-*-eabi*): Likewise.
11321 (rx-*-elf): Remove extra_parts.
11322 (s390x-ibm-tpf*): Set extra_parts.
11323 (score-*-elf): Set extra_parts.
11324 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11325 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11326 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11327 (sh64l*-*-netbsd*): Split into ...
11328 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
11329 Add t-crtstuff-pic to tmake_file.
11331 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
11333 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
11334 (sparc-*-elf*): Remove t-crtin from tmake_file.
11335 Add to extra_parts, remove crtbegin.o, crtend.o.
11336 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
11337 (sparc64-*-linux*): Likewise.
11338 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
11339 Add to extra_parts, remove crtbegin.o, crtend.o.
11340 (sparc64-*-elf*): Remove t-crtin from tmake_file.
11341 Add to extra_parts, remove crtbegin.o, crtend.o.
11342 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
11343 Add to extra_parts, remove crtbegin.o, crtend.o.
11344 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
11345 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
11346 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
11348 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
11350 (tic6x-*-*): Change to ...
11351 (tic6x-*-elf): ... this.
11353 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
11355 (am33_2.0-*-linux*): Add comment.
11356 (mep*-*-*): Add mep/t-mep to tmake_file.
11358 * config/alpha/t-vms: New file.
11359 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
11360 * config/arm/crti.S, config/arm/crtn.S: New files.
11361 * config/bfin/crti.S, config/bfin/crtn.S: New files.
11362 * config/bfin/crtlibid.S: New file.
11363 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
11364 * config/c6x/crti.S, config/c6x/crtn.S: New files.
11365 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
11366 (crti.o, crtin.o): New rules.
11367 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11368 * config/c6x/t-uclinux: New file.
11369 * config/cris/t-elfmulti: New file.
11370 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
11371 * config/fr30/crti.S, config/fr30/crtn.S: New files.
11372 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
11373 * config/frv/t-frv: New file.
11374 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
11375 * config/h8300/crti.S, config/h8300/crtn.S: New files.
11376 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
11378 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
11379 refer to cygming-crtbegin.c, cygming-crtend.c.
11381 * config/i386/t-nto: New file.
11382 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
11383 * config/ia64/crti.S, config/ia64/crtn.S: New files.
11384 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
11385 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
11388 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11389 (crtinitS.o): New rule.
11390 * config/ia64/vms-crtinit.S: New file.
11391 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
11392 * config/m32r/initfini.c: New file.
11393 * config/m32r/t-linux, config/m32r/t-m32r: New files.
11394 * config/m68k/crti.S, config/m68k/crtn.S: New files.
11395 * config/mcore/crti.S, config/mcore/crtn.S: New files.
11396 * config/mep/t-mep: New file.
11397 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
11398 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
11399 * config/mips/crti.S, config/mips/crtn.S: New files.
11400 * config/mips/t-crtstuff: New file.
11401 * config/mmix/crti.S, config/mmix/crtn.S: New files.
11402 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
11403 (CUSTOM_CRTIN): Set.
11404 ($(T)crti.o, $(T)crtn.o): Remove $(T),
11406 Use $(srcdir) to refer to crti.S, crtn.S.
11407 Use .S extension, $<.
11408 * config/moxie/crti.asm: Rename to ...
11409 * config/moxie/crti.S: ... this.
11410 * config/moxie/crtn.asm: Rename to ...
11411 * config/moxie/crtn.S: ... this.
11412 * config/moxie/t-moxie: Remove.
11413 * config/pa/stublib.c: New file.
11414 * config/pa/t-stublib, config/pa/t-stublib64: New files.
11415 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
11416 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
11417 * config/rs6000/t-crtstuff: New file.
11418 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
11419 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
11420 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
11421 Make output file explicit.
11422 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
11423 Make output file explicit.
11424 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
11425 Make output file explicit.
11426 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
11427 Make output file explicit.
11428 * config/score/crti.S, config/score/crtn.S: New files.
11429 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
11430 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
11432 * config/sh/t-sh, config/sh/t-superh: New files.
11433 * config/sparc/t-linux64: New file.
11434 * config/spu/cache.S, config/spu/cachemgr.c: New files.
11435 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
11436 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
11437 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
11438 * config/t-crtin: Remove.
11439 * config/t-crtstuff-pic: New file.
11440 * config/t-sol2 (CUSTOM_CRTIN): Set.
11441 (crti.o, crtn.o): New rules.
11442 * config/vms/t-vms: New file.
11443 * config/vms/vms-ucrt0.c: New file.
11444 * config/xtensa/t-elf: New file.
11446 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11448 * Makefile.in (SHLIB_NM_FLAGS): Set.
11449 * mkmap-flat.awk, mkmap-symver.awk: New files.
11450 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
11452 * configure: Regenerate.
11453 * config/libgcc-glibc.ver: New file.
11454 * config/libgcc-libsystem.ver: New file.
11455 * config/t-libunwind (SHLIB_LC): Set.
11456 * config/t-linux: New file.
11457 * config/t-slibgcc (INSTALL_SHLIB): New.
11458 (SHLIB_INSTALL): Use it.
11459 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
11460 to mkmap-symver.awk.
11461 (SHLIB_MAPFILES): Don't append, adapt pathname.
11462 (SHLIB_VERPFX): Set.
11463 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
11464 to mkmap-symver.awk.
11465 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
11466 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
11467 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
11468 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
11470 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
11471 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
11472 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
11473 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
11474 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
11475 * config/i386/libgcc-darwin.10.4.ver,
11476 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
11478 * config/i386/t-darwin: Remove.
11479 * config/i386/t-darwin64: Likewise.
11480 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
11481 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
11482 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
11483 * config/i386/t-linux: New file.
11484 * config/i386/t-mingw32: New file.
11485 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
11486 * config/ia64/t-glibc: Rename to ...
11487 * config/ia64/t-linux: ... this.
11488 (SHLIB_MAPFILES): Set.
11489 * config/ia64/t-glibc-libunwind: Rename to ...
11490 * config/ia64/t-linux-libunwind: ... this.
11491 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
11492 * config/ia64/t-slibgcc-hpux: New file.
11493 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
11494 * config/m68k/t-slibgcc-elf-ver: New file.
11495 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
11496 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
11498 * config/pa/t-slibgcc-hpux: New file.
11499 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
11501 * config/rs6000/libgcc-darwin.10.4.ver,
11502 config/rs6000/libgcc-darwin.10.5.ver: New files.
11503 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
11504 config/rs6000/libgcc-glibc.ver.
11505 * config/rs6000/libgcc-ppc64.ver: Rename to
11506 config/rs6000/libgcc-ibm-ldouble.ver.
11507 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
11508 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
11509 * config/rs6000/t-ldbl128: Rename to ...
11510 * config/rs6000/t-linux: ... this.
11511 (SHLIB_MAPFILES): Adapt filename.
11512 * config/rs6000/t-slibgcc-aix: New file.
11513 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
11514 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
11515 libgcc-excl.ver, libgcc-glibc.ver.
11516 (SHLIB_LINK, SHLIB_INSTALL): Remove.
11517 * config/sparc/libgcc-glibc.ver: New file.
11518 * config/sparc/t-linux: New file.
11519 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
11520 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
11521 t-slibgcc-elf-ver to tmake_file.
11522 Add t-slibgcc-nolc-override to tmake_file for posix threads on
11524 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11525 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
11526 t-slibgcc-elf-ver, t-linux to tmake_file.
11527 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
11529 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
11530 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
11531 (alpha*-dec-*vms*): Likewise.
11532 (arm*-*-freebsd*): Append to tmake_file.
11533 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
11534 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
11535 arm*-*-linux-*eabi.
11536 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
11537 tmake_file for arm*-*-symbianelf*.
11538 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
11539 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
11541 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
11542 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
11543 pa/t-slibgcc-dwarf-ver to tmake_file.
11544 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
11545 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
11546 (hppa*64*-*-hpux11*): Likewise.
11547 (hppa[12]*-*-hpux11*): Likewise.
11548 (x86_64-*-darwin*): Don't override tmake_file, but only keep
11549 i386/t-crtpc, i386/t-crtfm.
11550 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
11551 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11553 Add i386/t-cygwin to tmake_file.
11554 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
11555 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
11556 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11558 Add i386/t-mingw32 to tmake_file.
11559 (x86_64-*-mingw*): Likewise.
11560 (ia64*-*-freebsd*): Append to tmake_file.
11561 (ia64*-*-linux*): Append to tmake_file.
11562 Replace ia64/t-glibc by ia64/t-linux.
11563 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
11565 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
11566 t-slibgcc-hpux to tmake_file.
11567 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
11568 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
11569 (m32rle-*-linux*): Likewise.
11570 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
11572 (microblaze*-linux*): New case.
11573 Append to tmake_file, add t-slibgcc-nolc-override.
11574 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
11575 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11576 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
11577 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11578 rs6000/t-slibgcc-aix to tmake_file.
11579 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11580 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11581 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11582 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11583 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11584 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
11586 (sparc-*-linux*): Append to tmake_file for *-leon*.
11587 Add sparc/t-linux to tmake_file for non-Leon targets.
11588 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
11589 (tic6x-*-uclinux): New case.
11590 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
11591 (tic6x-*-*): Add c6x/t-elf to tmake_file.
11592 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
11593 (am33_2.0-*-linux*): Append to tmake_file.
11594 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
11595 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
11596 x86_64-*-kfreebsd*-gnu.
11597 Add i386/t-linux to tmake_file.
11599 2011-10-28 Ian Lance Taylor <iant@google.com>
11601 * config/i386/morestack.S: Correct CFI information to do proper
11602 returns throughout function. In 32-bit mode, save %ebx so that it
11603 is restored on unwind.
11605 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
11607 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
11608 case where B3 isn't the return register.
11610 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
11611 logic for doubleword pops.
11613 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
11615 * config/rs6000/t-freebsd: Add wildcard.
11617 2011-10-21 Paul Brook <paul@codesourcery.com>
11619 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
11621 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
11622 Eric Botcazou <ebotcazou@adacore.com>
11625 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
11626 fs->signal_frame to 1.
11628 2011-10-07 Ian Lance Taylor <iant@google.com>
11630 * generic-morestack-thread.c: #include <errno.h>.
11632 2011-10-07 Ian Lance Taylor <iant@google.com>
11635 * generic-morestack.c (__generic_morestack): Make sure the segment
11636 is large enough for both the stack frame and the copied
11639 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11642 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11645 2011-09-28 Nick Clifton <nickc@redhat.com>
11647 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11648 64-bit doubles are not enabled.
11649 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11650 and floatunsisf functions.
11652 2011-09-13 Paul Brook <paul@codesourcery.com>
11654 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
11655 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11656 * unwind-arm-common.inc: New file.
11657 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11658 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11659 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11660 * config/c6x/libunwind.S: New file.
11661 * config/c6x/pr-support.c: New file.
11662 * config/c6x/unwind-c6x.c: New file.
11663 * config/c6x/unwind-c6x.h: New file.
11664 * config/c6x/t-c6x-elf: New file.
11666 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
11668 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11669 (ASM_DIVZERO): Ditto.
11670 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11672 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
11674 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11676 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
11679 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11680 instead of an assembly one.
11682 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
11685 * Makefile.in (install-unwind_h): Create
11686 $(gcc_objdir)/include/unwind.h atomically.
11688 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11690 * Makefile.in (install-unwind_h): Remove destination file first.
11692 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11694 * sync.c: New file.
11695 * config/mips/t-mips16: New file.
11696 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11697 (mips*-*-linux*): Likewise.
11698 (mips*-sde-elf*): Likewise.
11699 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11700 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11701 Add mips/t-mips16 to tmake_file.
11702 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11703 (mips-*-elf*): Likewise.
11704 (mips64-*-elf*): Likewise.
11705 (mips64orion-*-elf*): Likewise.
11706 (mips*-*-rtems*): Likewise.
11707 (mipstx39-*-elf*): Likewise.
11708 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11709 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11710 LIBGCC_SYNC_CFLAGS.
11711 Use $(srcdir) to refer to sync.c.
11713 ($(libgcc-sync-funcs-o)): Likewise.
11714 ($(libgcc-sync-size-funcs-s-o)): Likewise.
11715 ($(libgcc-sync-funcs-s-o)): Likewise.
11717 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11719 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11722 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
11725 * config/i386/value-unwind.h: New.
11727 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
11729 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11730 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11731 Add to tmake_file rather than overriding it.
11733 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11735 * config/t-softfp: Remove.
11736 * soft-fp: Moved from ../gcc/config.
11737 * soft-fp/README: Remove t-softfp reference.
11738 * soft-fp/t-softfp: Move to config/t-softfp.
11739 (softfp_machine_header): Remove.
11740 (softfp_file_list): Remove config subdir.
11741 (soft-fp-objects): New variable.
11742 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11743 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11744 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11745 * config/t-softfp-excl: New file.
11746 * config/t-softfp-sfdf: New file.
11747 * config/t-softfp-tf: New file.
11748 * config/no-sfp-machine.h: New file.
11749 * config/arm/sfp-machine.h: New file.
11750 * config/arm/t-softfp: New file.
11751 * config/c6x/sfp-machine.h: New file.
11752 * config/i386/32/t-fprules-softfp: Rename to ...
11753 * config/i386/32/t-softfp: ... this.
11754 (tifunctions, LIB2ADD): Remove.
11755 (softfp_int_modes): Override.
11756 * config/i386/64/t-softfp-compat (tf-functions): Remove config
11758 * config/i386/64/eqtf2.c: Likewise.
11759 * config/i386/64/getf2.c: Likewise.
11760 * config/i386/64/letf2.c: Likewise.
11761 * config/ia64/sft-machine.h: New file.
11762 * config/ia64/t-fprules-softfp: Rename to ...
11763 * config/ia64/t-softfp: ... this.
11764 * config/lm32/sfp-machine.h: New file.
11765 * config/moxie/t-moxie-softfp: Remove.
11766 * config/rs6000/ibm-ldouble-format: New file.
11767 * config/rs6000/ibm-ldouble.c: New file.
11768 * config/rs6000/libgcc-ppc-glibc.ver: New file
11769 * config/rs6000/libgcc-ppc64.ver: New file
11770 * config/rs6000/sfp-machine.h: New file.
11771 * config/rs6000/t-freebsd: New file.
11772 * config/rs6000/t-ibm-ldouble: New file.
11773 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11774 libgcc-ppc-glibc.ver.
11775 * config/rs6000/t-linux64: New file.
11776 * config/rs6000/t-ppccomm (LIB2ADD): Add
11777 $(srcdir)/config/rs6000/ibm-ldouble.c.
11778 * config/rs6000/t-ppccomm-ldbl: New file.
11779 * config/score/sfp-machine.h: New file.
11780 * config.host (sfp_machine_header): Explain.
11781 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11782 t-softfp to tmake_file.
11783 (arm*-*-uclinux*): Likewise.
11784 (arm*-*-ecos-elf): Likewise.
11785 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11786 (arm*-*-rtems*): Likewise.
11787 (arm*-*-elf): Likewise.
11788 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11790 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11791 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11792 (lm32-*-uclinux*): Likewise.
11793 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11794 t-softfp-excl, t-softfp.
11795 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11796 (powerpc64-*-darwin*): Likewise.
11797 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11799 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11801 (powerpc-*-eabisim*): Likewise.
11802 (powerpc-*-elf*): Likewise.
11803 (powerpc-*-eabialtivec*): Likewise.
11804 (powerpc-xilinx-eabi*): Likewise.
11805 (powerpc-*-rtems*): Likewise.
11806 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11807 t-softfp-excl, t-softfp to tmake_file.
11808 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11809 rs6000/t-ppccomm-ldbl to tmake_file.
11810 (powerpcle-*-elf*): Likewise.
11811 (powerpcle-*-eabisim*): Likewise.
11812 (powerpcle-*-eabi*): Likewise.
11813 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11814 rs6000/t-ibm-ldouble to tmake_file.
11815 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11816 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11817 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11818 (tic6x-*-*): Likewise.
11819 (i[34567]86-*-darwin*, x86_64-*-darwin*,
11820 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11821 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11822 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11823 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11824 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11825 t-softfp to tmake_file.
11826 * configure.ac (sfp_machine_header): Provide default if unset.
11828 Link sfp-machine.h to config/$sfp_machine_header.
11829 * configure: Regenerate.
11831 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11833 * Makefile.in (double_type_size, long_double_type_size): Set.
11834 Remove $(fpbit-in-libgcc) support.
11835 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11836 (fpbit-src): New variable.
11837 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11838 Compile with -DFLOAT $(FPBIT_CFLAGS).
11840 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11841 Compile with $(FPBIT_CFLAGS).
11843 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11844 Compile with -DFLOAT $(TPBIT_CFLAGS).
11846 * configure.ac (double_type_size, long_double_type_size):
11847 Determine and substitute.
11848 * configure: Regenerate.
11849 * fp-bit.c, fp-bit.h: New files.
11850 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11851 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11852 * config/mips/t-mips: New file.
11853 * config/mips/t-sdemtk: New file.
11854 * config/rs6000/ppc64-fp.c: New file.
11855 * config/rs6000/t-darwin (LIB2ADD): Add
11856 $(srcdir)/config/rs6000/ppc64-fp.c.
11857 * config/rs6000/t-ppc64-fp: New file.
11858 * config/rx/rx-lib.h: New file.
11859 * config/rx/t-rx (FPBIT): Set to true.
11860 ($(gcc_objdir)/fp-bit.c): Remove.
11861 (DPBIT): Set to true only with -m64bit-doubles.
11862 ($(gcc_objdir)/dp-bit.c): Remove.
11863 * config/sparc/t-softfp: Remove.
11864 * config/spu/t-elf: New file.
11865 * config/t-fdpbit, config/t-fpbit: New files.
11866 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
11867 (mips*-*-*): Likewise.
11868 (arm-wrs-vxworks): Likewise.
11869 (arm*-*-freebsd*): Likewise.
11870 (avr-*-rtems*): Add t-fpbit to tmake_file.
11871 (avr-*-*): Likewise.
11872 (bfin*-elf*): Add t-fdpbit to tmake_file.
11873 (bfin*-uclinux*): Likewise.
11874 (bfin*-linux-uclibc*): Likewise.
11875 (bfin*-rtems*): New case.
11876 Add t-fdpbit to tmake_file.
11877 (bfin*-*): Add t-fdpbit to tmake_file.
11878 (crisv32-*-elf): Likewise.
11879 (cris-*-linux*): Likewise.
11880 (fr30-*-elf): Likewise.
11881 (frv-*-elf, frv-*-*linux*): Likewise.
11882 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
11883 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
11884 (m32r-*-elf*): Likewise.
11885 (m32rle-*-elf*): Likewise.
11886 (m32r-*-linux*): Likewise.
11887 (m32rle-*-linux*): Likewise.
11888 (mcore-*-elf): Add t-fdpbit to tmake_file.
11889 (microblaze*-*-*): Likewise.
11890 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
11891 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
11892 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
11894 Add mips/t-tpbit to tmake-file.
11895 (mips*-*-linux*): Fix typo.
11896 (mips*-sde-elf*): New case
11897 Add mips/t-sdemtk unless using newlib.
11898 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
11899 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
11900 (mn10300-*-*): Likewise.
11901 (pdp11-*-*): Likewise.
11902 (picochip-*-*): Add t-fpbit to tmake_file.
11903 (powerpc-*-eabisimaltivec*): Likewise.
11904 (powerpc-*-eabisim*): Likewise.
11905 (powerpc-*-elf*): Likewise.
11906 (powerpc-*-eabialtivec*): Likewise.
11907 (powerpc-xilinx-eabi*): New case.
11908 Add t-fdpbit to tmake_file.
11909 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
11910 (powerpc-*-rtems*): Likewise.
11911 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
11913 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
11915 (powerpc-*-lynxos*): Likewise.
11916 (powerpcle-*-elf*): Likewise.
11917 (powerpcle-*-eabisim*): Likewise.
11918 (powerpcle-*-eabi*): Likewise.
11919 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11920 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
11921 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11922 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11923 (rx-*-elf): Add t-fdpbit to tmake_file.
11924 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11925 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11926 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11927 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
11929 (sh-*-rtems*): Add t-fdpbit to tmake_file.
11930 (sh-wrs-vxworks): Likewise.
11931 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
11932 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
11933 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
11934 (sparc64-*-rtems*): ... new case.
11935 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
11936 (spu-*-elf*): Likewise.
11937 Add spu/t-elf to tmake_file.
11938 (v850*-*-*): Add t-fdpbit to tmake_file.
11939 (xstormy16-*-elf): Likewise.
11940 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11941 (mep*-*-*): Likewise.
11943 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11945 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11947 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
11948 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
11949 (install-unwind_h): New target.
11950 (all): Depend on it.
11951 * config.host (unwind_header): New variable.
11952 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
11953 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11954 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
11955 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
11956 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
11958 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
11960 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
11962 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
11964 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
11965 (ia64*-*-freebsd*): Likewise.
11966 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
11968 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
11969 $with_system_libunwind.
11970 (ia64*-*-hpux*): Set tmake_file.
11971 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
11972 (picochip-*-*): Set tmake_file.
11973 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
11975 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11976 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11977 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
11978 (xtensa*-*-elf*): Set tmake_file.
11979 (xtensa*-*-linux*): Likewise.
11980 * configure.ac: Include ../config/unwind_ipinfo.m4.
11981 Call GCC_CHECK_UNWIND_GETIPINFO.
11982 Link unwind.h to $unwind_header.
11983 * configure: Regenerate.
11984 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
11985 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
11986 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
11987 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
11988 * config/unwind-dw2-fde-darwin.c: New file.
11989 * config/arm/libunwind.S, config/arm/pr-support.c,
11990 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
11991 config/arm/unwind-arm.h,: New files.
11992 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
11993 config/ia64/t-eh-ia64, config/ia64/t-glibc,
11994 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
11995 config/ia64/t-vms, config/ia64/unwind-ia64.c,
11996 config/ia64/unwind-ia64.h: New files.
11997 * config/picochip/t-picochip: New file.
11998 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
12000 * config/rs6000/t-darwin (LIB2ADDEH): Set.
12001 * config/s390/t-tpf (LIB2ADDEH): Remove.
12002 * config/t-darwin (LIB2ADDEH): Set.
12003 * config/t-eh-dw2-dip: New file.
12004 * config/t-libunwind, config/t-libunwind-elf: New files.
12005 * config/t-sol2 (LIB2ADDEH): Remove.
12006 * config/xtensa/t-xtensa: New file.
12008 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
12010 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
12011 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
12012 long long to check rt_sigreturn syscall.
12014 2011-08-02 Alan Modra <amodra@gmail.com>
12016 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
12017 Restore for indirect call bcrtl from correct stack slot, and only
12018 if cfa+40 isn't valid.
12020 2011-08-01 Julian Brown <julian@codesourcery.com>
12022 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
12023 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
12024 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
12026 2011-08-01 Julian Brown <julian@codesourcery.com>
12028 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
12029 (libgcc-std.ver.in): Use above.
12030 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
12031 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
12033 * config/t-fixedpoint-gnu-prefix: New file.
12034 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
12035 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
12036 instead of __PFX__.
12038 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
12040 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
12041 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
12042 for x86-64. Properly check __x86_64__ and __LP64__.
12044 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
12046 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
12048 (_FP_WS_TYPE): Likewise.
12049 (_FP_I_TYPE): Likewise.
12051 2011-07-28 Alan Modra <amodra@gmail.com>
12053 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
12054 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
12055 in a plt call stub. Do restore r2 if stopped on bctrl.
12057 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12059 * config.host (i[3456x]86-*-netware*): Remove.
12060 * config/i386/netware-crt0.c, config/i386/t-nwld,
12061 config/i386/t-slibgcc-nwld: Remove.
12063 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
12065 * config.host: Handle tic6x-*-*.
12066 * config/c6x/c6x-abi.h: New file.
12068 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12070 * config/i386/crtprec.c: New file.
12071 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
12072 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
12073 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
12074 (x86_64-*-darwin*): Likewise.
12075 (i[34567]86-*-solaris2*: Likewise.
12077 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12079 * config/alpha/crtfastmath.c: New file.
12080 * config/i386/crtfastmath.c: New file.
12081 * config/ia64/crtfastmath.c: New file.
12082 * config/mips/crtfastmath.c: New file.
12083 * config/sparc/crtfastmath.c: New file.
12085 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
12087 Add -frandom-seed=gcc-crtfastmath.
12088 * config/alpha/t-crtfm: Remove.
12089 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
12090 * config/ia64/t-ia64 (crtfastmath.o): Remove.
12092 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
12093 (alpha*-dec-osf5.1*): Likewise.
12094 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
12095 Add crtfastmath.o to extra_parts.
12096 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
12097 Add crtfastmath.o to extra_parts.
12098 (x86_64-*-darwin*): Likewise.
12099 (x86_64-*-mingw*): Likewise.
12100 (ia64*-*-elf*): Add t-crtfm to tmake_file.
12101 (ia64*-*-freebsd*): Likewise.
12102 (ia64*-*-linux*): Likewise.
12103 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
12104 Add crtfastmath.o to extra_parts.
12106 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12108 * config/darwin-crt3.o: New file.
12109 * config/rs6000/darwin-crt2.c: New file.
12110 * config/t-darwin: New file.
12111 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
12112 (crt2.o): New rule.
12113 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
12114 (powerpc-*-darwin*): Add crt2.o to extra_parts.
12115 (powerpc64-*-darwin*): Likewise.
12117 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12119 * config/i386/netware-crt0.c: New file.
12120 * config/i386/t-nwld: Rename to ...
12121 * config/i386/t-slibgcc-nwld: ... this.
12122 * config/i386/t-nwld: New file.
12123 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
12125 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
12128 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12130 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
12132 * configure: Regenerate.
12134 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12136 * dfp-bit.c, dfp-bit.h: New files.
12137 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
12139 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
12140 ($(d64pbit-o)): Likewise.
12141 ($(d128pbit-o)): Likewise.
12142 * config/t-dfprules: New file.
12143 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
12144 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
12145 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
12146 (x86_64-*-linux*): Likewise.
12147 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
12148 (i[34567]86-*-cygwin*): Likewise.
12149 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
12150 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
12152 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12154 * Makfile.in (LIBGCOV): New variable.
12155 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
12156 * libgcov.c: New file.
12158 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12160 * fixed-bit.c, fixed-bit.h: New files.
12161 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
12162 refer to fixed-bit.c.
12164 2011-07-07 Joseph Myers <joseph@codesourcery.com>
12166 * config.host (*local*): Remove.
12168 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12171 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
12172 like i?86-*-solaris2.1[0-9]*.
12173 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
12174 * configure.ac (i?86-*-solaris2*): Likewise.
12175 * configure: Regenerate.
12177 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
12179 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
12180 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
12181 md_unwind_header by splitting out of...
12182 (i[34567]86-*-linux*): ... this.
12183 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
12184 Remove md_unwind_header by splitting out of...
12185 (x86_64-*-linux*): ... this.
12187 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
12189 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
12191 2011-06-28 Nick Clifton <nickc@redhat.com>
12193 * config.host: Recognize all V850 variants.
12195 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
12197 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
12199 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12201 * shared-object.mk (c_flags-$o): Save c_flags.
12202 ($(base)$(objext)): Use it.
12203 ($(base)_s$(objext)): Likewise.
12205 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
12207 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
12208 * libgcc-std.ver.in (GCC_4.7.0): New section.
12210 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
12214 * config/avr/t-avr: Fix line endings.
12215 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
12218 2011-06-14 Olivier Hainque <hainque@adacore.com>
12219 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12221 * config/mips/irix6-unwind.h: New file.
12222 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
12224 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
12226 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
12227 (sparc64_fallback_frame_state): Use it.
12228 (sparc64_frob_update_context): Further adjust context.
12229 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
12230 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
12231 * config/sparc/sol2-cn.S: Likewise.
12233 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12235 * enable-execute-stack-empty.c: New file.
12236 * enable-execute-stack-mprotect.c: New file.
12237 * config/i386/enable-execute-stack-mingw32.c: New file.
12238 * config.host (enable_execute_stack): New variable.
12239 Select appropriate variants.
12240 * configure.ac: Link enable-execute-stack.c to
12241 $enable_execute_stack.
12242 * configure: Regenerate.
12243 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
12244 (lib2funcs): Remove _enable_execute_stack.
12246 2011-06-09 David S. Miller <davem@davemloft.net>
12247 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12249 * config.host (sparc-*-linux*): Correct md_unwind_header
12251 (s390x-ibm-tpf*): Fix typo.
12253 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12255 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
12256 Add crtfastmath.o to extra_parts.
12257 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
12259 * config/mips/t-crtfm: Remove.
12261 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
12263 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
12265 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
12267 * config.host (sh*-*-linux*): Fix typo.
12269 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12271 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
12272 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
12273 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
12274 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
12275 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
12276 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
12277 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
12278 Wrap in !__MINGW64__.
12279 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
12280 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
12281 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
12282 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
12283 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
12284 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
12285 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
12287 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
12288 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
12289 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
12290 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
12291 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
12292 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
12293 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
12294 * config/no-unwind.h: New file.
12295 * config.host (md_unwind_header): Document.
12297 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
12298 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
12299 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
12300 hppa[12]*-*-hpux11*): Set md_unwind_header.
12301 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
12302 Set md_unwind_header.
12303 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
12304 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
12305 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
12306 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
12307 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
12308 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
12309 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
12311 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
12312 * configure: Regenerate.
12314 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12316 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
12317 Set tmake_file, extra_parts.
12318 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
12319 Remove O32 support.
12320 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
12321 Remove O32 support.
12322 * config/mips/t-irix6: New file.
12323 * config/mips/t-slibgcc-irix: New file.
12325 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12327 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
12328 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
12330 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12332 * configure.ac (target_thread_file): Determine thread model.
12333 * configure: Regenerate.
12334 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
12335 * config/alpha/t-alpha: New file.
12336 * config/alpha/t-crtfm: Use $<.
12337 * config/alpha/t-ieee: New file.
12338 * config/alpha/t-osf-pthread: New file.
12339 * config/alpha/t-slibgcc-osf: New file.
12340 * config/alpha/libgcc-osf5.ver: New file.
12342 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12344 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
12346 Add crtfastmath.o to extra_parts.
12348 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12350 * config/gmon-sol2.c: Reindent.
12352 Remove, correct casts.
12353 Use STDERR_FILENO, NULL.
12354 (BASEADDRESS): Remove.
12356 (errno, sbrk): Remove declarations.
12357 (monstartup) [hp300]: Remove.
12360 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12362 * Makefile.in (cpu_type): Define.
12363 * config.host (i[34567]86-*-rtems*): Handle it.
12364 (i[34567]86-*-solaris2*): Move body ...
12365 (*-*-solaris2*): ... here.
12366 New case, generalize.
12367 (sparc-*-elf*): Handle it.
12368 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
12369 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
12370 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
12372 (sparc*-*-solaris2*): ... this.
12374 (sparc64-*-elf*): Handle it.
12375 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
12376 Merge ../gcc/config/i386/gmon-sol2.c.
12377 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
12379 Merge ../gcc/config/i386/sol2-gc1.asm.
12380 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
12382 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
12384 * config/i386/t-crtfm (crtfastmath.o): Use $<.
12385 * config/i386/t-crtstuff: New file.
12386 * config/i386/t-softfp: New file.
12387 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
12388 $(T)crti.o, $(T)crtn.o): Remove.
12389 (gcrt1.o): New rule.
12390 (TARGET_LIBGCC2_CFLAGS): Remove.
12391 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
12392 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
12393 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
12394 * config/sparc/t-sol2: New file.
12395 * config/sparc/t-crtfm: Move to ...
12396 * config/t-crtfm: ... this.
12397 Use $(cpu_type), $<.
12398 * config/t-crtin: New file.
12399 * config/sparc/t-softfp: New file.
12400 * config/sparc/t-softmul: New file.
12401 * config/t-rtems: New file.
12402 * config/t-slibgcc: New file.
12403 * config/t-slibgcc-elf-ver: New file.
12404 * config/t-slibgcc-gld: New file.
12405 * config/t-slibgcc-sld: New file.
12406 * config/t-sol2: New file.
12407 * configure.ac: Include ../config/lib-ld.m4.
12408 Call AC_LIB_PROG_LD_GNU.
12409 Substitute cpu_type.
12410 * configure: Regenerate.
12412 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
12415 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
12416 libgcc-std.ver in the build directory.
12417 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
12418 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
12420 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
12422 * libgcc-std.ver.in: New file.
12423 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
12425 (libgcc-std.ver): New rule.
12426 * config/t-gnu-prefix: New file.
12428 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12430 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
12432 2011-05-10 Joseph Myers <joseph@codesourcery.com>
12434 * config/i386/darwin-lib.h: New file.
12436 2011-05-10 Joseph Myers <joseph@codesourcery.com>
12438 * config/arm/symbian-lib.h: New.
12440 2011-05-04 Chris Demetriou <cgd@google.com>
12442 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
12443 (__x86.get_pc_thunk.bx): ...this.
12444 (__morestack): Adjust for rename, remove undef of __i686.
12446 2011-05-03 Chris Demetriou <cgd@google.com>
12448 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
12450 2011-03-22 Joseph Myers <joseph@codesourcery.com>
12452 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
12453 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
12454 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
12455 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
12456 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
12459 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
12461 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
12462 Adjust copyright year.
12464 2011-03-07 Ian Lance Taylor <iant@google.com>
12466 * generic-morestack.c (__splitstack_find): Adjust returned stack
12467 pointer to include all registers pushed by __morestack.
12469 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
12472 * configure.ac: Call ACX_NONCANONICAL_TARGET.
12473 (toolexecdir): Calculate and AC_SUBST.
12474 (toolexeclibdir): Likewise.
12475 * Makefile.in (target_noncanonical): Import.
12476 (toolexecdir): Likewise.
12477 (toolexeclibdir): Likewise.
12478 * configure: Regenerate.
12480 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
12483 * config/arm/bpabi.h: Rename to...
12484 * config/arm/bpabi-lib.h: ...this.
12486 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12488 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
12490 * configure: Regenerate.
12492 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
12494 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
12495 __FLOAT_WORD_ORDER__.
12496 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
12499 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12502 * Makefile.in (install-strip): New phony target.
12504 2010-11-07 Ian Lance Taylor <iant@google.com>
12507 * config/i386/morestack.S (__morestack_large_model): New
12510 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
12512 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
12514 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
12516 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
12518 * config/arm/bpabi.h: New file.
12519 * config/frv/frv-abi.h: New file.
12521 2010-10-01 Ian Lance Taylor <iant@google.com>
12523 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
12524 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
12526 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
12529 * config.host: Add the missing `$'.
12531 2010-09-30 Michael Eager <eager@eagercon.com>
12533 * config.host: Add microblaze*-*-*.
12534 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
12535 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
12536 udivsi3.asm,umodsi3.asm}: New.
12538 2010-09-28 Ian Lance Taylor <iant@google.com>
12540 * configure.ac: Adjust CFI test to test assembler directly rather
12541 than checking gcc preprocessor macro.
12542 * configure: Rebuild.
12544 2010-09-27 Ian Lance Taylor <iant@google.com>
12546 * configure.ac: Test whether assembler supports CFI directives.
12547 * config.host: Only add t-stack and i386/t-stack-i386 to
12548 tmake_file if libgcc_cv_cfi is "yes".
12549 * configure: Rebuild.
12551 2010-09-27 Ian Lance Taylor <iant@google.com>
12553 * generic-morestack.h: New file.
12554 * generic-morestack.c: New file.
12555 * generic-morestack-thread.c: New file.
12556 * config/i386/morestack.S: New file.
12557 * config/t-stack: New file.
12558 * config/i386/t-stack-i386: New file.
12559 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
12560 i386/t-stack-i386 to tmake_file.
12562 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
12564 * Makefile.in (libgcc-extra-parts): Check for static archives and
12565 invoke ranlib after installing them.
12566 (gcc-extra-parts): Likewise.
12567 (install-leaf): Likewise.
12569 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
12571 * configure: Regenerated.
12573 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
12575 * configure: Regenerated.
12577 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
12578 Andrew Pinski <pinskia@gmail.com>
12581 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
12583 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
12586 * configure: Regenerated.
12588 2010-09-06 Andreas Schwab <schwab@redhat.com>
12590 * configure: Regenerate.
12592 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
12594 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
12596 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
12599 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
12600 Iain Sandoe <iains@gcc.gnu.org>
12603 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
12604 LIB2FUNCS_EXCLUDE functions.
12606 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12608 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
12610 * configure: Regenerate.
12612 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
12614 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
12615 i386/t-freebsd to tmake_file.
12616 * config/i386/t-freebsd: New file.
12617 * config/i386/libgcc-bsd.ver: New file.
12619 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
12621 * config.host (powerpc*-eabispe*): Set tmake_file.
12622 (powerpc*-eabi*): Likewise.
12623 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
12624 crtbeginS, crtendS, crtbeginT.
12626 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
12628 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
12629 to tmake_file. Add crtfastmath.o to extra_parts.
12630 * config/mips/t-crtfm: New.
12632 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
12634 * config.host (sparc64-*-rtems*): New target.
12636 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12638 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12641 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
12643 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12645 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12647 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12648 alpha-dec-osf5.0* support.
12650 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
12652 * config.host: Add lm32-*-rtems*.
12654 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12655 Uros Bizjak <ubizjak@gmail.com>
12658 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12659 like other remaining 32-bit x86 OSes.
12660 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12662 * config/i386/libgcc-sol2.ver: New file.
12663 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12665 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
12668 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12669 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12670 is used and substitute set_use_emutls.
12671 * configure: Regenerated.
12673 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
12675 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12677 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12680 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12682 ($(T)gcrt1.o): Likewise.
12683 ($(T)crt1.o): Likewise.
12684 ($(T)crti.o): Likewise.
12685 ($(T)crtn.o): Likewise.
12687 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12690 * Makefile.in (install): Use $(MAKE) string in rule, for
12693 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
12695 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12696 * config/mmix/t-mmix: New file.
12697 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12699 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
12702 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12705 2010-01-04 Anthony Green <green@moxielogic.com>
12707 * config/moxie/crti.asm, config/moxie/crtn.asm,
12708 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12709 config/moxie/t-moxie: New files.
12710 * config.host: Add t-moxie-softfp reference.
12712 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
12715 * config/t-slibgcc-darwin: Fix embedded rpaths for
12716 --enable-version-specific-runtime-libs, build extension stub
12717 libs exposing features available from current libgcc_s.
12719 2009-11-11 Jon Beniston <jon@beniston.com>
12721 * config.host: Add lm32 targets.
12722 * config/lm32: New directory.
12723 * config/lm32/libgcc_lm32.h: New file.
12724 * config/lm32/_mulsi3.c: New file.
12725 * config/lm32/_udivmodsi4.c: New file.
12726 * config/lm32/_divsi3.c: New file.
12727 * config/lm32/_modsi3.c: New file.
12728 * config/lm32/_udivsi3.c: New file.
12729 * config/lm32/_umodsi3.c: New file.
12730 * config/lm32/_lshrsi3.S: New file.
12731 * config/lm32/_ashrsi3.S: New file.
12732 * config/lm32/_ashlsi3.S: New file.
12733 * config/lm32/crti.S: New file.
12734 * config/lm32/crtn.S: New file.
12735 * config/lm32/t-lm32: New file.
12736 * config/lm32/t-elf: New file.
12737 * config/lm32/t-uclinux: New file.
12739 2009-10-26 Nick Clifton <nickc@redhat.com>
12741 * config.host: Add support for RX target.
12742 * config/rx: New directory.
12743 * config/rx/rx-abi-functions.c: New file. Supplementary
12744 functions for libgcc to support the RX ABI.
12745 * config/rx/rx-abi.h: New file. Supplementary header file for
12746 libgcc RX ABI functions.
12747 * config/rx/t-rx: New file: Makefile fragment for building
12750 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
12752 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12753 constraint of y0 to "g".
12755 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12757 * config.host: Include the s390 makefile fragments.
12758 * config/s390/32/_fixdfdi.c: New file.
12759 * config/s390/32/_fixsfdi.c: New file.
12760 * config/s390/32/_fixtfdi.c: New file.
12761 * config/s390/32/_fixunsdfdi.c: New file.
12762 * config/s390/32/_fixunssfdi.c: New file.
12763 * config/s390/32/_fixunstfdi.c: New file.
12764 * config/s390/32/t-floattodi: New file.
12765 * config/s390/libgcc-glibc.ver: New file.
12766 * config/s390/t-crtstuff: New file.
12767 * config/s390/t-linux: New file.
12768 * config/s390/t-tpf: New file.
12770 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12772 * configure.ac (AC_PREREQ): Bump to 2.64.
12774 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
12776 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12778 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12780 * configure: Regenerate.
12782 2009-08-09 Douglas B Rupp <rupp@gnat.com>
12784 * config.host (ia64-hp-*vms*): New target.
12785 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12786 with ia64-hp-*vms*.
12788 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12790 * configure.ac: Add snippet for maintainer-mode.
12791 * configure: Regenerate.
12792 * Makefile.in (AUTOCONF, configure_deps): New variables.
12793 ($(srcdir)/configure)): New rule, active only with maintainer
12796 2009-06-23 DJ Delorie <dj@redhat.com>
12799 * config.host: Add mep support.
12801 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
12803 * config.host: Add i386/${host_address}/t-fprules-softfp and
12804 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
12806 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12808 * config/i386/64/_multc3.c: Likewise.
12809 * config/i386/64/_powitf2.c: Likewise.
12810 * config/i386/64/eqtf2.c: Likewise.
12811 * config/i386/64/getf2.c: Likewise.
12812 * config/i386/64/letf2.c: Likewise.
12813 * config/i386/64/letf2.c: Likewise.
12814 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12815 unsigned long long for x64 mingw targets.
12816 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12817 (_FP_I_TYPE): Define as long long for x64 mingw target.
12819 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
12821 * config.host (vax-*-linux*): New.
12823 2009-05-31 Anthony Green <green@moxielogic.com>
12825 * config.host: Add moxie support.
12826 * config/moxie/t-moxie: New file.
12828 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
12830 * config.host: Add i386/${host_address}/t-fprules-softfp and
12831 t-softfp to tmake_file for i[34567]86-*-cygwin*.
12833 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
12835 * config.host: Add i386/${host_address}/t-fprules-softfp to
12836 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12838 2009-04-09 Nick Clifton <nickc@redhat.com>
12840 * config/ia64/tf-signs.c: Change copyright header to refer to
12841 version 3 of the GNU General Public License with version 3.1
12842 of the GCC Runtime Library Exception and to point readers at
12843 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12845 * config/i386/32/tf-signs.c: Likewise.
12846 * config/libbid/_addsub_dd.c: Likewise.
12847 * config/libbid/_addsub_sd.c: Likewise.
12848 * config/libbid/_addsub_td.c: Likewise.
12849 * config/libbid/_dd_to_df.c: Likewise.
12850 * config/libbid/_dd_to_di.c: Likewise.
12851 * config/libbid/_dd_to_sd.c: Likewise.
12852 * config/libbid/_dd_to_sf.c: Likewise.
12853 * config/libbid/_dd_to_si.c: Likewise.
12854 * config/libbid/_dd_to_td.c: Likewise.
12855 * config/libbid/_dd_to_tf.c: Likewise.
12856 * config/libbid/_dd_to_udi.c: Likewise.
12857 * config/libbid/_dd_to_usi.c: Likewise.
12858 * config/libbid/_dd_to_xf.c: Likewise.
12859 * config/libbid/_df_to_dd.c: Likewise.
12860 * config/libbid/_df_to_sd.c: Likewise.
12861 * config/libbid/_df_to_td.c: Likewise.
12862 * config/libbid/_di_to_dd.c: Likewise.
12863 * config/libbid/_di_to_sd.c: Likewise.
12864 * config/libbid/_di_to_td.c: Likewise.
12865 * config/libbid/_div_dd.c: Likewise.
12866 * config/libbid/_div_sd.c: Likewise.
12867 * config/libbid/_div_td.c: Likewise.
12868 * config/libbid/_eq_dd.c: Likewise.
12869 * config/libbid/_eq_sd.c: Likewise.
12870 * config/libbid/_eq_td.c: Likewise.
12871 * config/libbid/_ge_dd.c: Likewise.
12872 * config/libbid/_ge_sd.c: Likewise.
12873 * config/libbid/_ge_td.c: Likewise.
12874 * config/libbid/_gt_dd.c: Likewise.
12875 * config/libbid/_gt_sd.c: Likewise.
12876 * config/libbid/_gt_td.c: Likewise.
12877 * config/libbid/_isinfd128.c: Likewise.
12878 * config/libbid/_isinfd32.c: Likewise.
12879 * config/libbid/_isinfd64.c: Likewise.
12880 * config/libbid/_le_dd.c: Likewise.
12881 * config/libbid/_le_sd.c: Likewise.
12882 * config/libbid/_le_td.c: Likewise.
12883 * config/libbid/_lt_dd.c: Likewise.
12884 * config/libbid/_lt_sd.c: Likewise.
12885 * config/libbid/_lt_td.c: Likewise.
12886 * config/libbid/_mul_dd.c: Likewise.
12887 * config/libbid/_mul_sd.c: Likewise.
12888 * config/libbid/_mul_td.c: Likewise.
12889 * config/libbid/_ne_dd.c: Likewise.
12890 * config/libbid/_ne_sd.c: Likewise.
12891 * config/libbid/_ne_td.c: Likewise.
12892 * config/libbid/_sd_to_dd.c: Likewise.
12893 * config/libbid/_sd_to_df.c: Likewise.
12894 * config/libbid/_sd_to_di.c: Likewise.
12895 * config/libbid/_sd_to_sf.c: Likewise.
12896 * config/libbid/_sd_to_si.c: Likewise.
12897 * config/libbid/_sd_to_td.c: Likewise.
12898 * config/libbid/_sd_to_tf.c: Likewise.
12899 * config/libbid/_sd_to_udi.c: Likewise.
12900 * config/libbid/_sd_to_usi.c: Likewise.
12901 * config/libbid/_sd_to_xf.c: Likewise.
12902 * config/libbid/_sf_to_dd.c: Likewise.
12903 * config/libbid/_sf_to_sd.c: Likewise.
12904 * config/libbid/_sf_to_td.c: Likewise.
12905 * config/libbid/_si_to_dd.c: Likewise.
12906 * config/libbid/_si_to_sd.c: Likewise.
12907 * config/libbid/_si_to_td.c: Likewise.
12908 * config/libbid/_td_to_dd.c: Likewise.
12909 * config/libbid/_td_to_df.c: Likewise.
12910 * config/libbid/_td_to_di.c: Likewise.
12911 * config/libbid/_td_to_sd.c: Likewise.
12912 * config/libbid/_td_to_sf.c: Likewise.
12913 * config/libbid/_td_to_si.c: Likewise.
12914 * config/libbid/_td_to_tf.c: Likewise.
12915 * config/libbid/_td_to_udi.c: Likewise.
12916 * config/libbid/_td_to_usi.c: Likewise.
12917 * config/libbid/_td_to_xf.c: Likewise.
12918 * config/libbid/_tf_to_dd.c: Likewise.
12919 * config/libbid/_tf_to_sd.c: Likewise.
12920 * config/libbid/_tf_to_td.c: Likewise.
12921 * config/libbid/_udi_to_dd.c: Likewise.
12922 * config/libbid/_udi_to_sd.c: Likewise.
12923 * config/libbid/_udi_to_td.c: Likewise.
12924 * config/libbid/_unord_dd.c: Likewise.
12925 * config/libbid/_unord_sd.c: Likewise.
12926 * config/libbid/_unord_td.c: Likewise.
12927 * config/libbid/_usi_to_dd.c: Likewise.
12928 * config/libbid/_usi_to_sd.c: Likewise.
12929 * config/libbid/_usi_to_td.c: Likewise.
12930 * config/libbid/_xf_to_dd.c: Likewise.
12931 * config/libbid/_xf_to_sd.c: Likewise.
12932 * config/libbid/_xf_to_td.c: Likewise.
12933 * config/libbid/bid128.c: Likewise.
12934 * config/libbid/bid128_2_str.h: Likewise.
12935 * config/libbid/bid128_2_str_macros.h: Likewise.
12936 * config/libbid/bid128_2_str_tables.c: Likewise.
12937 * config/libbid/bid128_add.c: Likewise.
12938 * config/libbid/bid128_compare.c: Likewise.
12939 * config/libbid/bid128_div.c: Likewise.
12940 * config/libbid/bid128_fma.c: Likewise.
12941 * config/libbid/bid128_logb.c: Likewise.
12942 * config/libbid/bid128_minmax.c: Likewise.
12943 * config/libbid/bid128_mul.c: Likewise.
12944 * config/libbid/bid128_next.c: Likewise.
12945 * config/libbid/bid128_noncomp.c: Likewise.
12946 * config/libbid/bid128_quantize.c: Likewise.
12947 * config/libbid/bid128_rem.c: Likewise.
12948 * config/libbid/bid128_round_integral.c: Likewise.
12949 * config/libbid/bid128_scalb.c: Likewise.
12950 * config/libbid/bid128_sqrt.c: Likewise.
12951 * config/libbid/bid128_string.c: Likewise.
12952 * config/libbid/bid128_to_int16.c: Likewise.
12953 * config/libbid/bid128_to_int32.c: Likewise.
12954 * config/libbid/bid128_to_int64.c: Likewise.
12955 * config/libbid/bid128_to_int8.c: Likewise.
12956 * config/libbid/bid128_to_uint16.c: Likewise.
12957 * config/libbid/bid128_to_uint32.c: Likewise.
12958 * config/libbid/bid128_to_uint64.c: Likewise.
12959 * config/libbid/bid128_to_uint8.c: Likewise.
12960 * config/libbid/bid32_to_bid128.c: Likewise.
12961 * config/libbid/bid32_to_bid64.c: Likewise.
12962 * config/libbid/bid64_add.c: Likewise.
12963 * config/libbid/bid64_compare.c: Likewise.
12964 * config/libbid/bid64_div.c: Likewise.
12965 * config/libbid/bid64_fma.c: Likewise.
12966 * config/libbid/bid64_logb.c: Likewise.
12967 * config/libbid/bid64_minmax.c: Likewise.
12968 * config/libbid/bid64_mul.c: Likewise.
12969 * config/libbid/bid64_next.c: Likewise.
12970 * config/libbid/bid64_noncomp.c: Likewise.
12971 * config/libbid/bid64_quantize.c: Likewise.
12972 * config/libbid/bid64_rem.c: Likewise.
12973 * config/libbid/bid64_round_integral.c: Likewise.
12974 * config/libbid/bid64_scalb.c: Likewise.
12975 * config/libbid/bid64_sqrt.c: Likewise.
12976 * config/libbid/bid64_string.c: Likewise.
12977 * config/libbid/bid64_to_bid128.c: Likewise.
12978 * config/libbid/bid64_to_int16.c: Likewise.
12979 * config/libbid/bid64_to_int32.c: Likewise.
12980 * config/libbid/bid64_to_int64.c: Likewise.
12981 * config/libbid/bid64_to_int8.c: Likewise.
12982 * config/libbid/bid64_to_uint16.c: Likewise.
12983 * config/libbid/bid64_to_uint32.c: Likewise.
12984 * config/libbid/bid64_to_uint64.c: Likewise.
12985 * config/libbid/bid64_to_uint8.c: Likewise.
12986 * config/libbid/bid_b2d.h: Likewise.
12987 * config/libbid/bid_binarydecimal.c: Likewise.
12988 * config/libbid/bid_conf.h: Likewise.
12989 * config/libbid/bid_convert_data.c: Likewise.
12990 * config/libbid/bid_decimal_data.c: Likewise.
12991 * config/libbid/bid_decimal_globals.c: Likewise.
12992 * config/libbid/bid_div_macros.h: Likewise.
12993 * config/libbid/bid_dpd.c: Likewise.
12994 * config/libbid/bid_flag_operations.c: Likewise.
12995 * config/libbid/bid_from_int.c: Likewise.
12996 * config/libbid/bid_functions.h: Likewise.
12997 * config/libbid/bid_gcc_intrinsics.h: Likewise.
12998 * config/libbid/bid_inline_add.h: Likewise.
12999 * config/libbid/bid_internal.h: Likewise.
13000 * config/libbid/bid_round.c: Likewise.
13001 * config/libbid/bid_sqrt_macros.h: Likewise.
13003 2009-04-09 Jakub Jelinek <jakub@redhat.com>
13005 * Makefile.in: Change copyright header to refer to version
13006 3 of the GNU General Public License and to point readers at the
13007 COPYING3 file and the FSF's license web page.
13008 * config.host: Likewise.
13010 2009-04-07 Alan Modra <amodra@bigpond.net.au>
13012 * config.host: Reorder and merge to match config.gcc change.
13014 2009-04-03 Alan Modra <amodra@bigpond.net.au>
13016 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
13018 2009-03-28 Joseph Myers <joseph@codesourcery.com>
13020 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
13021 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
13022 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
13023 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
13025 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
13027 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
13028 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
13030 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
13032 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
13033 ia64/t-softfp-compat to tmake_file.
13035 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
13037 * config/ia64/__divxf3.asm: New.
13038 * config/ia64/_fixtfdi.asm: Likewise.
13039 * config/ia64/_fixunstfdi.asm: Likewise.
13040 * config/ia64/_floatditf.asm: Likewise.
13041 * config/ia64/t-fprules-softfp: Likewise.
13042 * config/ia64/t-softfp-compat: Likewise.
13043 * config/ia64/tf-signs.c: Likewise.
13045 2009-01-18 Ben Elliston <bje@au.ibm.com>
13047 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
13049 2009-01-16 Ben Elliston <bje@au.ibm.com>
13051 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
13054 2009-01-13 Ben Elliston <bje@au.ibm.com>
13056 * config/t-softfp: New file.
13057 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
13058 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
13060 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
13062 * config.host: Add m32r*-*-rtems*.
13064 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
13066 * config.host: Add m32c*-*-rtems*.
13068 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13071 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
13072 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
13073 * configure: Regenerate.
13074 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
13075 tmake_file here from gcc/config.gcc.
13076 Move extra_parts here from gcc/config.gcc.
13077 * config/i386/t-sol2: Move here from gcc/config/i386.
13078 Use gcc_srcdir instead of srcdir.
13080 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
13082 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
13085 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
13087 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
13089 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
13091 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
13093 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
13096 * config.host: Add picochip-*-*.
13098 2008-08-06 Bob Wilson <bob.wilson@acm.org>
13100 * config.host: Match more processor names for Xtensa.
13102 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
13104 * config/i386/64/t-softfp-compat: Update comments.
13106 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
13108 * config/i386/64/_divtc3-compat.c: Moved to ...
13109 * config/i386/64/_divtc3.c: Here.
13111 * config/i386/64/_multc3-compat.c: Moved to ...
13112 * config/i386/64/_multc3.c: Here.
13114 * config/i386/64/_powitf2-compat.c: Moved to ...
13115 * config/i386/64/_powitf2.c: Here.
13117 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
13118 .c suffix instead of -compat.c.
13120 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
13122 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
13123 (_FP_MUL_MEAT_D): Ditto.
13124 (_FP_DIV_MEAT_S): Ditto.
13125 (_FP_DIV_MEAT_D): Ditto.
13127 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
13129 * Makefile.in: Add support for __sync_* libgcc functions.
13131 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
13133 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
13135 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
13138 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
13139 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
13141 * config/i386/64/t-fprules-softfp: Moved to ...
13142 * config/i386/64/t-softfp-compat: This. New.
13144 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
13146 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
13147 Initialize f with 0.0.
13149 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
13152 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
13154 * config/i386/64/_divtc3-compat.c: New.
13155 * config/i386/64/_multc3-compat.c: Likewise.
13156 * config/i386/64/_powitf2-compat.c: Likewise.
13157 * config/i386/64/eqtf2.c: Likewise.
13158 * config/i386/64/getf2.c: Likewise.
13159 * config/i386/64/letf2.c: Likewise.
13160 * config/i386/64/t-fprules-softfp: Likewise.
13162 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
13164 * config.host: Add i386/${host_address}/t-fprules-softfp to
13165 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
13166 i[34567]86-*-linux*, x86_64-*-linux*.
13168 * configure.ac: Set host_address to 64 or 32 for x86.
13169 * configure: Regenerated.
13171 * Makefile.in (config.status): Also depend on
13172 $(srcdir)/config.host.
13174 * config/i386/32/t-fprules-softfp: New.
13175 * config/i386/32/tf-signs.c: Likewise.
13177 * config/i386/64/sfp-machine.h: New. Moved from gcc.
13179 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
13180 Uros Bizjak <ubizjak@gmail.com>
13182 * config/i386/32/sfp-machine.h: New.
13184 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
13186 * config/rs6000/t-ppccomm: Remove rules that conflict with
13187 auto-generated rules.
13189 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13191 * configure.ac: sinclude override.m4.
13192 * configure: Regenerate.
13194 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
13196 * configure: Regenerate.
13198 2008-06-10 Joseph Myers <joseph@codesourcery.com>
13200 * Makefile.in (DECNUMINC): Remove
13201 -I$(MULTIBUILDTOP)../../libdecnumber.
13204 2008-06-07 Joseph Myers <joseph@codesourcery.com>
13206 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
13207 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
13208 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
13209 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
13210 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
13211 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
13212 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
13213 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
13214 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
13215 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
13216 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
13217 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
13218 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
13219 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
13221 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
13223 * config.host (sh2[lbe]*-*-linux*): Allow target.
13225 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
13227 * config/rs6000/t-ppccomm: Add build rules for new files.
13228 (LIB2ADD_ST): New variable.
13230 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
13234 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
13235 * config/t-avr: New file. Build 16bit libgcc functions.
13237 2008-03-02 Jakub Jelinek <jakub@redhat.com>
13240 * config/t-slibgcc-darwin: Make install-leaf dependent on
13241 install-darwin-libgcc-stubs instead of install.
13243 2008-01-25 Joseph Myers <joseph@codesourcery.com>
13245 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
13246 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
13247 sh-*-rtemscoff*): Remove cases.
13249 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
13251 * Makefile.in (all): Use install-leaf rather than install.
13252 (install): Split most of the rule into...
13253 (install-leaf): ...this new one.
13255 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
13256 Paolo Bonzini <bonzini@gnu.org>
13259 * Makefile.in: Use @shlib_slibdir@ substitution to get
13260 correct install name on darwin.
13261 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
13263 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
13265 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
13266 cris-*-elf and cris-*-none.
13267 (crisv32-*-linux*): Similar, as cris-*-linux*.
13269 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
13271 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
13273 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
13275 PR regression/33926
13276 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
13277 * configure: Regenerated.
13279 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
13281 * Makefile.in (dfp-filenames): Replace decimal_globals,
13282 decimal_data, binarydecimal and convert_data with
13283 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
13284 and bid_convert_data, respectively.
13286 2007-09-17 Chao-ying Fu <fu@mips.com>
13287 Nigel Stephens <nigel@mips.com>
13289 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
13290 * Makefile.in (fixed_point): Define.
13291 Check if fixed_point is yes to build support functions.
13292 * configure.ac: Check for fixed_point support.
13293 * configure: Regenerated.
13294 * gen-fixed.sh: New file to generate lists of fixed-point labels,
13295 funcs, modes, from, to.
13297 2007-09-11 Janis Johnson <janis187@us.ibm.com
13299 * Makefile.in (dfp-filenames): Add bid128_noncomp.
13301 2007-09-10 Janis Johnson <janis187@us.ibm.com>
13303 * Makefile.in (dfp-filenames): Remove decUtility, add
13304 decDouble, decPacked, decQuad, decSingle.
13306 2007-08-27 Hans Kester <hans.kester@ellips.nl>
13308 * config.host : Add x86_64-elf target.
13310 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
13312 * configure.ac (set_have_cc_tls): Add a missing =.
13313 * configure: Regenerated.
13315 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
13317 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
13318 and x86_64-*-linux*.
13320 * config/t-tls: New file.
13322 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
13324 * configure.ac: Include ../config/enable.m4 and
13325 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
13326 supports TLS and substitute set_have_cc_tls.
13327 * configure: Regenerated.
13329 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
13331 * Makefile.in: Use libbid for DFP when BID is enabled.
13333 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
13335 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
13336 extra_parts. Add config/i386/t-cygming to tmake_file.
13337 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
13339 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
13340 Danny Smith <dannysmith@users.sourceforge.net>
13343 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
13344 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
13345 * config/i386/t-crtfm: Compile crtfastmath.o with
13346 -minline-all-stringops.
13348 2007-05-10 Richard Sandiford <richard@codesourcery.com>
13350 * config.host (sparc-wrs-vxworks): New target.
13352 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
13354 * config.host: Recognize fido.
13356 2007-04-04 Janis Johnson <janis187@us.ibm.com>
13358 * configure: Check host, not target, for decimal float support.
13360 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
13362 * config/i386/t-crtpc: New file.
13363 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
13364 (x86_64-*-linux*): Ditto.
13366 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
13368 * config.host (x86_64-*-mingw*): New target.
13370 2007-03-23 Michael Meissner <michael.meissner@amd.com>
13371 H.J. Lu <hongjiu.lu@intel.com>
13373 * Makefile.in (enable_decimal_float): New.
13375 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
13376 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
13377 (decbits-filenames): This.
13378 (decbits-objects): New.
13379 (libgcc-objects): Add $(decbits-objects).
13381 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
13382 Substitute enable_decimal_float.
13383 * configure: Regenerated.
13385 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
13387 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
13389 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
13391 * Makefile.in (install-info): New dummy target.
13393 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
13395 * config.host (bfin*-linux-uclibc*): Set extra_parts.
13397 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
13399 * Makefile.in: Add install-html and install-pdf dummy
13402 2007-02-05 Roger Sayle <roger@eyesopen.com>
13403 Daniel Jacobowitz <dan@codesourcery.com>
13405 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
13406 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
13407 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
13409 2007-01-29 Janis Johnson <janis187@us.ibm.com>
13411 * Makefile.in (dec-filenames): Add decExcept.
13413 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
13416 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
13419 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
13421 * configure.ac: Add --enable-version-specific-runtime-libs.
13422 Correct $slibdir default.
13423 * configure: Regenerated.
13425 2007-01-23 Joseph Myers <joseph@codesourcery.com>
13427 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
13429 2007-01-21 Andrew Pinski <pinskia@gmail.com>
13432 * config.host (alpha*-*-linux*): Set extra_parts.
13434 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
13436 * config/sh/t-linux: New.
13437 * config.host (sh*-*-linux*): Set tmake_file.
13439 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
13441 * Makefile.in (install): Handle multilibs.
13443 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
13445 * Makefile.in: Added .PHONY entry for documentation targets.
13447 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
13449 * Makefile.in: Add empty info, html, dvi, pdf targets.
13451 2007-01-04 Mike Stump <mrs@apple.com>
13453 * Makefile.in (MAKEINFO): Remove.
13456 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
13458 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
13459 * configure: Regenerate.
13460 * Makefile.in (host_subdir): Substitute it.
13461 (gcc_objdir): Use it.
13463 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
13465 * config.host (ia64*-*-linux*): Set tmake_file.
13467 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
13469 * Makefile.in (version): Define.
13471 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
13472 Paolo Bonzini <bonzini@gnu.org>
13474 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
13475 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
13476 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
13477 config/sparc/t-crtfm, config/t-slibgcc-darwin,
13478 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
13479 shared-object.mk, siditi-object.mk, static-object.mk: New files.
13480 * configure: Generated.
13482 Copyright (C) 2007-2024 Free Software Foundation, Inc.
13484 Copying and distribution of this file, with or without modification,
13485 are permitted in any medium without royalty provided the copyright
13486 notice and this notice are preserved.