1 2024-01-12 Jakub Jelinek <jakub@redhat.com>
3 * libgcc2.h (UBILtype): New typedef with may_alias attribute.
4 (__mulbitint3, __divmodbitint4): Use UBILtype * instead of
5 UWtype * and const UBILtype * instead of const UWtype *.
6 * libgcc2.c (bitint_reduce_prec, bitint_mul_1, bitint_addmul_1,
7 __mulbitint3, bitint_negate, bitint_submul_1, __divmodbitint4):
9 * soft-fp/bitint.h (UBILtype): Change define into a typedef with
12 2024-01-12 Sandra Loosemore <sandra@codesourcery.com>
14 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Do not try to use
15 _dl_find_object on nios2; it doesn't work.
17 2023-12-23 Thomas Schwinge <thomas@codesourcery.com>
19 * c++-minimal/README: New.
20 * c++-minimal/guard.c: New.
21 * config/gcn/t-amdgcn (LIB2ADD): Add it.
22 * config/nvptx/t-nvptx (LIB2ADD): Likewise.
24 2023-12-20 Alexandre Oliva <oliva@adacore.com>
27 * config.host (sparc, sparc64): Enable...
28 * config/sparc/t-sparc: ... this new fragment.
30 2023-12-20 Alexandre Oliva <oliva@adacore.com>
32 * strub.c (ATTRIBUTE_NOINLINE): New.
33 (ATTRIBUTE_STRUB_CALLABLE): Add it.
34 (__strub_dummy_force_no_leaf): Drop it.
36 2023-12-16 Andrew Carlotti <andrew.carlotti@arm.com>
38 * config/aarch64/cpuinfo.c (enum CPUFeatures): Move to shared
41 2023-12-16 Andrew Carlotti <andrew.carlotti@arm.com>
42 Pavel Iliin <Pavel.Iliin@arm.com>
44 * config/aarch64/t-aarch64: Include cpuinfo.c
45 * config/aarch64/cpuinfo.c: New file
46 (__init_cpu_features_constructor) New.
47 (__init_cpu_features_resolver) New.
48 (__init_cpu_features) New.
50 2023-12-11 Lipeng Zhu <lipeng.zhu@intel.com>
52 * gthr-posix.h (__GTHREAD_RWLOCK_INIT): New macro.
53 (__gthrw): New function.
54 (__gthread_rwlock_rdlock): New function.
55 (__gthread_rwlock_tryrdlock): New function.
56 (__gthread_rwlock_wrlock): New function.
57 (__gthread_rwlock_trywrlock): New function.
58 (__gthread_rwlock_unlock): New function.
60 2023-12-08 Florian Weimer <fweimer@redhat.com>
62 * libgcov-interface.c (__gcov_fork): Use __builtin_fork instead
65 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
67 * config.in: Regenerate.
69 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
71 * config/aarch64/__arm_za_disable.S: Add hidden alias.
72 * config/aarch64/aarch64-unwind.h: Reset the SME state before
73 EH return via the _Unwind_Frames_Extra hook.
75 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
77 * config/aarch64/t-aarch64: Add sources to the build.
78 * config/aarch64/__aarch64_have_sme.c: New file.
79 * config/aarch64/__arm_sme_state.S: New file.
80 * config/aarch64/__arm_tpidr2_restore.S: New file.
81 * config/aarch64/__arm_tpidr2_save.S: New file.
82 * config/aarch64/__arm_za_disable.S: New file.
83 * config/aarch64/aarch64-asm.h: New file.
84 * config/aarch64/libgcc-sme.ver: New file.
86 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
88 * config.in: Undef HAVE___GETAUXVAL.
89 * configure: Regenerate.
90 * configure.ac: Check for __getauxval.
92 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
94 * config.in: Undef HAVE_AS_VARIANT_PCS.
95 * configure: Regenerate.
96 * configure.ac: Check for .variant_pcs.
98 2023-12-07 Alexandre Oliva <oliva@adacore.com>
100 * configure.ac: Check for strub support.
101 * configure: Rebuilt.
102 * Makefile.in: Compile strub.c conditionally.
104 2023-12-06 Thomas Schwinge <thomas@codesourcery.com>
105 Jakub Jelinek <jakub@redhat.com>
108 * emutls.c: Add GCC diagnostic ignored "-Wbuiltin-declaration-mismatch"
111 2023-12-06 Alexandre Oliva <oliva@adacore.com>
113 * Makefile.in (LIB2ADD): Add strub.c.
114 * libgcc2.h (__strub_enter, __strub_update, __strub_leave):
117 * libgcc-std.ver.in (__strub_enter): Add to GCC_14.0.0.
118 (__strub_update, __strub_leave): Likewise.
120 2023-12-03 Jeff Law <jlaw@ventanamicro.com>
122 * unwind-pe.h (_Unwind_gnu_Find_got): Add prototype.
124 2023-12-03 Jeff Law <jlaw@ventanamicro.com>
126 * config/rx/rx-abi-functions.c (__ltdf2, __gtdf2): Add prototype.
127 (__ledf2, __gedf2, __eqdf2, __nedf2): Likewise.
128 (__ltsf2, __gtsf2, __lesf2, __gesf2, __eqsf2, __nesf2): Likewise.
130 2023-12-03 Jeff Law <jlaw@ventanamicro.com>
132 * config/frv/frvbegin.c (atexit): Add prototype.
134 2023-12-01 Alexandre Oliva <oliva@adacore.com>
136 * libgcc-std.ver.in (__hardcfr_check): Add to GCC_14.0.0.
138 2023-12-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
141 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Honor that __LIBGCC_HAVE_LIBATOMIC is
142 always defined as either 0 or 1.
144 2023-12-01 Florian Weimer <fweimer@redhat.com>
146 * config/aarch64/linux-unwind.h
147 (aarch64_fallback_frame_state): Add cast to the expected type
150 2023-11-30 Wilco Dijkstra <wilco.dijkstra@arm.com>
153 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Execute STLXP using
154 either new value or loaded value.
156 2023-11-27 Richard Earnshaw <rearnsha@arm.com>
158 * config/arm/lib1funcs.S (__sync_synchronize): Adjust warning message.
160 2023-11-24 Richard Earnshaw <rearnsha@arm.com>
162 * config.host (arm*-*-eabi* | arm*-*-rtems*):
163 Add arm/t-sync to the makefile rules.
164 * config/arm/lib1funcs.S (__sync_synchronize_none)
165 (__sync_synchronize_cp15dmb, __sync_synchronize_dmb)
166 (__sync_synchronize): New functions.
167 * config/arm/t-sync: New file.
168 * config/arm/sync-none.specs: Likewise.
169 * config/arm/sync-dmb.specs: Likewise.
170 * config/arm/sync-cp15dmb.specs: Likewise.
172 2023-11-23 Jose E. Marchesi <jose.marchesi@oracle.com>
174 * hardcfr.c (__hardcfr_check_fail): Mark as always_inline.
176 2023-11-21 Jakub Jelinek <jakub@redhat.com>
178 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Formatting fixes.
180 2023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
182 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Always define it.
183 Set it also to 1, if __LIBGCC_HAVE_LIBATOMIC is defined.
185 2023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
188 2023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
190 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
191 (gcov_type_unsigned): Likewise.
193 2023-11-10 Keith Packard <keithp@keithp.com>
195 * config/m68k/lb1sf68.S (__adddf3): Properly check for non-zero denorm.
196 (__divdf3): Restore sign bit properly.
197 (__addsf3): Correct exponent check.
198 * config/m68k/fpgnulib.c (EXPMASK): Define.
199 (__extendsfdf2): Handle Inf and NaN properly.
200 (__truncdfsf2): Handle underflow and overflow correctly.
201 (__extenddfxf2): Handle underflow, denorms, Inf and NaN correctly.
202 (__truncxfdf2): Handle underflow and denorms correctly.
203 (__fixxfsi): Reimplement.
205 2023-11-09 Jakub Jelinek <jakub@redhat.com>
208 * config/t-softfp (softfp_bid_list): Add
209 {U,}TItype <-> _Decimal{32,64,128} conversions.
210 * soft-fp/floattisd.c: New file.
211 * soft-fp/floattidd.c: New file.
212 * soft-fp/floattitd.c: New file.
213 * soft-fp/floatuntisd.c: New file.
214 * soft-fp/floatuntidd.c: New file.
215 * soft-fp/floatuntitd.c: New file.
216 * soft-fp/fixsdti.c: New file.
217 * soft-fp/fixddti.c: New file.
218 * soft-fp/fixtdti.c: New file.
219 * soft-fp/fixunssdti.c: New file.
220 * soft-fp/fixunsddti.c: New file.
221 * soft-fp/fixunstdti.c: New file.
223 2023-11-07 Kwok Cheung Yeung <kcy@codesourcery.com>
225 * offloadstuff.c (OFFLOAD_IND_FUNC_TABLE_SECTION_NAME): New.
226 (__offload_ind_func_table): New.
227 (__offload_ind_funcs_end): New.
228 (__OFFLOAD_TABLE__): Add entries for indirect functions.
230 2023-11-03 Thomas Schwinge <thomas@codesourcery.com>
232 * config/gcn/gthr-gcn.h (__gthread_getspecific): 's%NULL%0'.
234 2023-10-31 Alexandre Oliva <oliva@adacore.com>
236 * hardcfr.c: Adjust copyright year.
238 2023-10-24 Sergei Trofimovich <siarheit@google.com>
240 * config/aarch64/heap-trampoline.c: Disable when libc is not
242 * config/i386/heap-trampoline.c: Ditto.
244 2023-10-22 Iain Sandoe <iain@sandoe.co.uk>
246 * config/t-slibgcc-darwin: Generate libgcc_s
248 * config.host: Handle Darwin rpaths.
249 * config/t-darwin-rpath: New file.
251 2023-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
252 Maxim Blinov <maxim.blinov@embecosm.com>
253 Iain Sandoe <iain@sandoe.co.uk>
254 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
256 * libgcc2.h (__builtin_nested_func_ptr_created): Declare.
257 (__builtin_nested_func_ptr_deleted): Declare.
258 * libgcc-std.ver.in: Add the new symbols.
259 * config/aarch64/heap-trampoline.c: Implement heap-based
260 trampolines for aarch64.
261 * config/aarch64/t-heap-trampoline: Add rule to build
262 config/aarch64/heap-trampoline.c
263 * config/i386/heap-trampoline.c: Implement heap-based
264 trampolines for x86_64.
265 * config/i386/t-heap-trampoline: Add rule to build
266 config/i386/heap-trampoline.cc
267 * config.host: Handle --enable-heap-trampolines on
268 x86_64-*-linux*, aarch64-*-linux*, x86_64-*-darwin*.
270 2023-10-20 Andrew Stubbs <ams@codesourcery.com>
272 * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Set false for __RDNA2__.
274 2023-10-20 Alexandre Oliva <oliva@adacore.com>
276 * Makefile.in (LIB2ADD): Add hardcfr.c.
279 2023-10-13 Florian Weimer <fweimer@redhat.com>
281 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Add
284 2023-10-13 Florian Weimer <fweimer@redhat.com>
286 * config/arc/linux-unwind.h (arc_fallback_frame_state): Add
289 2023-10-13 Florian Weimer <fweimer@redhat.com>
291 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Add
294 2023-10-13 Florian Weimer <fweimer@redhat.com>
296 * config/csky/linux-unwind.h (csky_fallback_frame_state): Add
299 2023-10-13 Florian Weimer <fweimer@redhat.com>
301 * config/m68k/fpgnulib.c (__cmpdf2): Declare.
303 2023-09-26 Wilco Dijkstra <wilco.dijkstra@arm.com>
305 * config/aarch64/lse.S (BTI_C): Remove define.
307 2023-09-20 Pekka Seppänen <pexu@gcc.mail.kapsi.fi>
309 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key):
310 Use const unsigned type and a builtin.
312 2023-09-06 Jakub Jelinek <jakub@redhat.com>
315 * libgcc2.c (bitint_negate): Add function comment.
316 * soft-fp/bitint.h (bitint_negate): Add function comment.
317 (FP_TO_BITINT, FP_FROM_BITINT): Add comment explaining the macros.
319 2023-09-06 Jakub Jelinek <jakub@redhat.com>
322 * config/aarch64/t-softfp (softfp_extras): Use += rather than :=.
323 * config/i386/64/t-softfp (softfp_extras): Likewise.
324 * config/i386/libgcc-glibc.ver (GCC_14.0.0): Export _BitInt support
326 * config/i386/t-softfp (softfp_extras): Add fixxfbitint and
327 bf, hf and xf mode floatbitint.
328 (CFLAGS-floatbitintbf.c, CFLAGS-floatbitinthf.c): Add -msse2.
329 * config/riscv/t-softfp32 (softfp_extras): Use += rather than :=.
330 * config/rs6000/t-e500v1-fp (softfp_extras): Likewise.
331 * config/rs6000/t-e500v2-fp (softfp_extras): Likewise.
332 * config/t-softfp (softfp_floatbitint_funcs): New.
333 (softfp_bid_list): New.
334 (softfp_func_list): Add sf and df mode from and to _BitInt libcalls.
335 (softfp_bid_file_list): New.
336 (LIB2ADD_ST): Add $(softfp_bid_file_list).
337 * config/t-softfp-sfdftf (softfp_extras): Add fixtfbitint and
339 * config/t-softfp-tf (softfp_extras): Likewise.
340 * libgcc2.c (bitint_reduce_prec): New inline function.
341 (BITINT_INC, BITINT_END): Define.
342 (bitint_mul_1, bitint_addmul_1): New helper functions.
343 (__mulbitint3): New function.
344 (bitint_negate, bitint_submul_1): New helper functions.
345 (__divmodbitint4): New function.
346 * libgcc2.h (LIBGCC2_UNITS_PER_WORD): When building _BitInt support
347 libcalls, redefine depending on __LIBGCC_BITINT_LIMB_WIDTH__.
348 (__mulbitint3, __divmodbitint4): Declare.
349 * libgcc-std.ver.in (GCC_14.0.0): Export _BitInt support routines.
350 * Makefile.in (lib2funcs): Add _mulbitint3.
351 (LIB2_DIVMOD_FUNCS): Add _divmodbitint4.
352 * soft-fp/bitint.h: New file.
353 * soft-fp/fixdfbitint.c: New file.
354 * soft-fp/fixsfbitint.c: New file.
355 * soft-fp/fixtfbitint.c: New file.
356 * soft-fp/fixxfbitint.c: New file.
357 * soft-fp/floatbitintbf.c: New file.
358 * soft-fp/floatbitintdf.c: New file.
359 * soft-fp/floatbitinthf.c: New file.
360 * soft-fp/floatbitintsf.c: New file.
361 * soft-fp/floatbitinttf.c: New file.
362 * soft-fp/floatbitintxf.c: New file.
363 * soft-fp/op-common.h (_FP_FROM_INT): Add support for rsize up to
364 4 * _FP_W_TYPE_SIZE rather than just 2 * _FP_W_TYPE_SIZE.
365 * soft-fp/bitintpow10.c: New file.
366 * soft-fp/fixsdbitint.c: New file.
367 * soft-fp/fixddbitint.c: New file.
368 * soft-fp/fixtdbitint.c: New file.
369 * soft-fp/floatbitintsd.c: New file.
370 * soft-fp/floatbitintdd.c: New file.
371 * soft-fp/floatbitinttd.c: New file.
373 2023-09-06 Jakub Jelinek <jakub@redhat.com>
376 * soft-fp/bitintpow10.h: New file.
378 2023-09-05 Yang Yujie <yangyujie@loongson.cn>
380 * config.host: add loongarch*-elf target.
382 2023-08-11 Thomas Neumann <thomas.neumann@in.tum.de>
385 * unwind-dw2-fde.c: Associate object with address of unwinding
388 2023-08-07 John Ericson <git@JohnEricson.me>
390 * configure: Regenerate.
392 2023-08-07 Alan Modra <amodra@gmail.com>
394 * configure: Regenerate.
396 2023-07-23 Andrew Pinski <apinski@marvell.com>
398 * config.host (riscv*-*-linux*): Add t-crtstuff to tmake_file.
399 (riscv*-*-freebsd*): Likewise.
400 * config/riscv/t-crtstuff: New file.
402 2023-07-19 liuhongt <hongtao.liu@intel.com>
404 * config/i386/t-softfp: Add -msse2 to libbid HFtype related
407 2023-07-11 Florian Weimer <fweimer@redhat.com>
410 * unwind-dw2-fde-dip.c (find_fde_tail): Add cast to avoid
411 implicit conversion of pointer value to integer.
413 2023-07-06 Kito Cheng <kito.cheng@sifive.com>
415 * config/riscv/sfp-machine.h (FP_INIT_ROUNDMODE): Check zfinx.
416 (FP_HANDLE_EXCEPTIONS): Ditto.
418 2023-06-19 Andrew Stubbs <ams@codesourcery.com>
420 * config/gcn/lib2-divmod-di.c: Reimplement like lib2-divmod.c.
421 * config/gcn/lib2-divmod.c: Likewise.
422 * config/gcn/lib2-gcn.h: Add new types and prototypes for all the
424 * config/gcn/t-amdgcn: Add new files.
425 * config/gcn/amdgcn_veclib.h: New file.
426 * config/gcn/lib2-vec_divmod-di.c: New file.
427 * config/gcn/lib2-vec_divmod-hi.c: New file.
428 * config/gcn/lib2-vec_divmod-qi.c: New file.
429 * config/gcn/lib2-vec_divmod.c: New file.
431 2023-06-19 Andrew Stubbs <ams@codesourcery.com>
433 * config/gcn/lib2-gcn.h (QItype, UQItype, HItype, UHItype): Delete.
434 (__divhi3, __modhi3, __udivhi3, __umodhi3): Delete.
435 * config/gcn/t-amdgcn: Don't build lib2-divmod-hi.c.
436 * config/gcn/lib2-divmod-hi.c: Removed.
438 2023-06-07 Florian Weimer <fweimer@redhat.com>
441 * unwind-dw2-fde-dip.c (find_fde_tail): Correct fast path for
444 2023-06-05 Kewen Lin <linkw@linux.ibm.com>
446 * config/i386/morestack.S: Use @init_array rather than
447 @progbits for section type of section .init_array.
448 * config/rs6000/morestack.S: Likewise.
449 * config/s390/morestack.S: Likewise.
451 2023-06-05 YunQiang Su <yunqiang.su@cipunited.com>
453 * config/mips/lib1funcs.S: New file.
454 define __speculation_barrier and include mips16.S.
455 * config/mips/t-mips: define LIB1ASMSRC as mips/lib1funcs.S.
456 define LIB1ASMFUNCS as _speculation_barrier.
457 set version info for __speculation_barrier.
458 * config/mips/libgcc-mips.ver: New file.
459 * config/mips/t-mips16: don't define LIB1ASMSRC as mips16.S
460 included in lib1funcs.S now.
462 2023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
465 * unwind-dw2-fde.c: Fix radix sort buffer management.
467 2023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
470 * unwind-dw2-fde.c: Free sort array in atomic fast path.
472 2023-05-19 Iain Sandoe <iain@sandoe.co.uk>
474 * config.host: Arrange to set min Darwin OS versions from
475 the configured host version.
476 * config/darwin10-unwind-find-enc-func.c: Do not use current
477 headers, but declare the nexessary structures locally to the
478 versions in use for Mac OSX 10.6.
479 * config/t-darwin: Amend to handle configured min OS
481 * config/t-darwin-min-1: New.
482 * config/t-darwin-min-5: New.
483 * config/t-darwin-min-8: New.
485 2023-05-15 Thomas Neumann <tneumann@users.sourceforge.net>
487 * unwind-dw2-fde.c: Fix assert in non-atomic path.
489 2023-05-15 Sören Tempel <soeren+git@soeren-tempel.net>
491 * unwind-dw2-fde.c: Accept empty ranges when deregistering frames.
493 2023-05-02 Patrick O'Neill <patrick@rivosinc.com>
495 * config/riscv/atomic.c: Change LR.aq/SC.rl pairs into
496 sequentially consistent LR.aqrl/SC.rl pairs.
498 2023-05-01 Dimitar Dimitrov <dimitar@dinux.eu>
500 * config/pru/t-pru (HOST_LIBGCC2_CFLAGS): Add
501 -DTARGET_HAS_NO_HW_DIVIDE.
503 2023-04-27 Hans-Peter Nilsson <hp@axis.com>
505 * config/cris/t-cris (HOST_LIBGCC2_CFLAGS): Add
506 -DTARGET_HAS_NO_HW_DIVIDE.
508 2023-04-26 Patrick O'Neill <patrick@rivosinc.com>
511 * config/riscv/atomic.c: Add reference to duplicate logic.
513 2023-04-08 Tetsuma Hoshino <t-hoshino@pony-e.jp>
516 * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
519 2023-04-05 John David Anglin <danglin@gcc.gnu.org>
522 * config/pa/milli64.S (RETURN_COLUMN): Define.
523 ($$divI): Add CFI directives.
528 2023-03-19 Stafford Horne <shorne@gmail.com>
530 * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
531 statement clearing existing exceptions.
533 2023-03-13 Max Filippov <jcmvbkbc@gmail.com>
535 * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
536 * config/xtensa/crtn.S: Likewise.
537 * config/xtensa/lib1funcs.S: Likewise.
538 * config/xtensa/lib2funcs.S: Likewise.
540 2023-03-12 Jakub Jelinek <jakub@redhat.com>
542 * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
543 (softfp_truncations): Add tfbf dfbf sfbf hfbf.
544 (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
545 * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
546 __extendbfsf2 and __trunc{s,d,t,h}fbf2.
547 * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
548 * soft-fp/floatundibf.c: New file.
549 * soft-fp/floatdibf.c: New file.
551 2023-03-10 Jakub Jelinek <jakub@redhat.com>
554 * soft-fp/floattibf.c: New file.
555 * soft-fp/floatuntibf.c: New file.
556 * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
557 * config/i386/64/t-softfp (softfp_extras): Add floattibf and
559 (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
561 2023-03-08 Kewen Lin <linkw@linux.ibm.com>
564 * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
567 2023-03-06 Michael Meissner <meissner@linux.ibm.com>
570 * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
571 whether long double is IBM or IEEE.
572 (INFINITY): Likewise.
574 * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
575 (INFINITY): Likewise.
576 * config/rs6000/quad-float128.h (TF): Remove definition.
577 (TFtype): Define to be long double or _Float128.
578 (TCtype): Define to be _Complex long double or _Complex _Float128.
579 * libgcc2.h (TFtype): Allow machine config files to override this.
581 * soft-fp/quad.h (TFtype): Likewise.
583 2023-02-13 Kito Cheng <kito.cheng@sifive.com>
585 * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
586 * config/riscv/value-unwind.h: New.
588 2023-02-03 Christophe Lyon <christophe.lyon@arm.com>
590 * config/arm/pr-support.c (__gnu_unwind_execute): Use
591 TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
593 2023-01-30 Flavio Cruz <flaviocruz@gmail.com>
595 * config.host: Recognize x86_64-*-gnu* targets.
596 * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
599 2023-01-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
601 * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
604 2023-01-23 Andrea Corallo <andrea.corallo@arm.com>
605 Tejas Belagod <tbelagod@arm.com>
606 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
608 * config/arm/pr-support.c (__gnu_unwind_execute): Decode
609 exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
611 * config/arm/unwind-arm.c (struct pseudo_regs): New.
612 (phase1_vrs): Introduce new field to store pseudo-reg state.
613 (phase2_vrs): Likewise.
614 (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
615 (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
616 (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
618 2023-01-18 Wilco Dijkstra <wilco.dijkstra@arm.com>
621 * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
622 * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
623 * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
624 encode the return address signing state.
625 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
626 Check current return address signing state.
627 (aarch64_frob_update_contex): Remove.
629 2023-01-13 John David Anglin <danglin@gcc.gnu.org>
631 * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
633 (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
634 instead of pa/t-hpux and pa/t-pa64.
635 * config/pa/linux-atomic.c: Define u32 type.
636 (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
637 atomic_load_2, atomic_load_4 and atomic_load_8. Update sync
638 defines to use atomic_load calls for type.
639 (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
640 * config/pa/sync-libfuncs.c: New file.
641 * config/pa/t-netbsd (LIB2ADD_ST): Define.
642 * config/pa/t-openbsd (LIB2ADD_ST): Define.
643 * config/pa/t-pa64-hpux: New file.
644 * config/pa/t-pa64-linux: New file.
646 2023-01-13 Jonathan Wakely <jwakely@redhat.com>
649 * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
650 struct matching the previous __gthread_mutex_t struct.
651 (__GTHREAD_LEGACY_MUTEX_T): Define.
653 2023-01-13 Seija Kijin <doremylover456@gmail.com>
655 * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
658 2023-01-07 LIU Hao <lh_mouse@126.com>
661 * config/i386/enable-execute-stack-mingw32.c: Define
662 `WIN32_LEAN_AND_MEAN` before <windows.h>.
663 * libgcc2.c: Likewise.
664 * unwind-generic.h: Likewise.
666 2023-01-03 Florian Weimer <fweimer@redhat.com>
668 * unwind-dw2-execute_cfa.h: New file. Extracted from
669 the execute_cfa_program function in unwind-dw2.c.
670 * unwind-dw2.c (execute_cfa_program_generic): New function.
671 (execute_cfa_program_specialized): Likewise.
672 (execute_cfa_program): Call execute_cfa_program_specialized
673 or execute_cfa_program_generic, as appropriate.
675 2023-01-03 Florian Weimer <fweimer@redhat.com>
678 2023-01-03 Florian Weimer <fweimer@redhat.com>
680 * unwind-dw2.c (dwarf_reg_size): New function.
681 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
682 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
683 (uw_init_context_1): Do not initialize dwarf_reg_size_table
686 2023-01-03 Florian Weimer <fweimer@redhat.com>
689 2023-01-03 Florian Weimer <fweimer@redhat.com>
691 * unwind-dw2-execute_cfa.h: New file. Extracted from
692 the execute_cfa_program function in unwind-dw2.c.
693 * unwind-dw2.c (execute_cfa_program_generic): New function.
694 (execute_cfa_program_specialized): Likewise.
695 (execute_cfa_program): Call execute_cfa_program_specialized
696 or execute_cfa_program_generic, as appropriate.
698 2023-01-02 Florian Weimer <fweimer@redhat.com>
700 * unwind-dw2-execute_cfa.h: New file. Extracted from
701 the execute_cfa_program function in unwind-dw2.c.
702 * unwind-dw2.c (execute_cfa_program_generic): New function.
703 (execute_cfa_program_specialized): Likewise.
704 (execute_cfa_program): Call execute_cfa_program_specialized
705 or execute_cfa_program_generic, as appropriate.
707 2023-01-02 Florian Weimer <fweimer@redhat.com>
709 * unwind-dw2.c (dwarf_reg_size): New function.
710 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
711 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
712 (uw_init_context_1): Do not initialize dwarf_reg_size_table
715 2022-12-25 Jonathan Yong <10walls@gmail.com>
717 * config/i386/gthr-win32.h: undef CC_NONE
719 2022-12-24 Iain Sandoe <iain@sandoe.co.uk>
721 * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
722 install of libgcc_s.1.dylib when the installation is into the build
725 2022-12-23 Eric Botcazou <ebotcazou@adacore.com>
727 * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
728 as well as new i386/t-slibgcc-mingw fragment.
729 (x86_64-*-mingw*): Likewise.
730 * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
731 both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
732 Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
733 Include stdlib.h instead of errno.h and do not include _mingw.h.
734 (CONST_CAST2): Add specific definition for C++.
735 (ATTRIBUTE_UNUSED): New macro.
736 (__UNUSED_PARAM): Delete.
737 Define WIN32_LEAN_AND_MEAN before including windows.h.
738 (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
739 (__gthread_objc_init_thread_system): Likewise.
740 (__gthread_objc_thread_get_data): Minor tweak.
741 (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
742 (__gthread_objc_condition_deallocate): Likewise.
743 (__gthread_objc_condition_wait): Likewise.
744 (__gthread_objc_condition_broadcast): Likewise.
745 (__gthread_objc_condition_signal): Likewise.
747 (__gthr_win32_DWORD): New typedef.
748 (__gthr_win32_HANDLE): Likewise.
749 (__gthr_win32_CRITICAL_SECTION): Likewise.
750 (__gthr_win32_CONDITION_VARIABLE): Likewise.
751 (__gthread_t): Adjust.
752 (__gthread_key_t): Likewise.
753 (__gthread_mutex_t): Likewise.
754 (__gthread_recursive_mutex_t): Likewise.
755 (__gthread_cond_t): New typedef.
756 (__gthread_time_t): Likewise.
757 (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
758 (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
759 (__GTHREAD_COND_INIT_FUNCTION): Define.
760 (__GTHREAD_TIME_INIT): Likewise.
761 (__gthr_i486_lock_cmp_xchg): Delete.
762 (__gthr_win32_create): Declare.
763 (__gthr_win32_join): Likewise.
764 (__gthr_win32_self): Likewise.
765 (__gthr_win32_detach): Likewise.
766 (__gthr_win32_equal): Likewise.
767 (__gthr_win32_yield): Likewise.
768 (__gthr_win32_mutex_destroy): Likewise.
769 (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
770 (__gthr_win32_cond_broadcast): Likewise.
771 (__gthr_win32_cond_signal): Likewise.
772 (__gthr_win32_cond_wait): Likewise.
773 (__gthr_win32_cond_timedwait): Likewise.
774 (__gthr_win32_recursive_mutex_init_function): Delete.
775 (__gthr_win32_recursive_mutex_lock): Likewise.
776 (__gthr_win32_recursive_mutex_unlock): Likewise.
777 (__gthr_win32_recursive_mutex_destroy): Likewise.
778 (__gthread_create): New inline function.
779 (__gthread_join): Likewise.
780 (__gthread_self): Likewise.
781 (__gthread_detach): Likewise.
782 (__gthread_equal): Likewise.
783 (__gthread_yield): Likewise.
784 (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
785 (__gthread_cond_broadcast): Likewise.
786 (__gthread_cond_signal): Likewise.
787 (__gthread_cond_wait): Likewise.
788 (__gthread_cond_timedwait): Likewise.
789 (__GTHREAD_WIN32_INLINE): New macro.
790 (__GTHREAD_WIN32_COND_INLINE): Likewise.
791 (__GTHREAD_WIN32_ACTIVE_P): Likewise.
792 Define WIN32_LEAN_AND_MEAN before including windows.h.
793 (__gthread_once): Minor tweaks.
794 (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
795 (__gthread_key_delete): Minor tweak.
796 (__gthread_getspecific): Likewise.
797 (__gthread_setspecific): Likewise.
798 (__gthread_mutex_init_function): Reimplement.
799 (__gthread_mutex_destroy): Likewise.
800 (__gthread_mutex_lock): Likewise.
801 (__gthread_mutex_trylock): Likewise.
802 (__gthread_mutex_unlock): Likewise.
803 (__gthr_win32_abs_to_rel_time): Declare.
804 (__gthread_recursive_mutex_init_function): Reimplement.
805 (__gthread_recursive_mutex_destroy): Likewise.
806 (__gthread_recursive_mutex_lock): Likewise.
807 (__gthread_recursive_mutex_trylock): Likewise.
808 (__gthread_recursive_mutex_unlock): Likewise.
809 (__gthread_cond_destroy): New inline function.
810 (__gthread_cond_wait_recursive): Likewise.
811 * config/i386/gthr-win32.c: Delete everything.
812 Include gthr-win32.h to get the out-of-line version of inline routines.
813 Add compile-time checks for the local version of the Win32 types.
814 * config/i386/gthr-win32-cond.c: New file.
815 * config/i386/gthr-win32-thread.c: Likewise.
816 * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
817 EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
818 the static version of libgcc.
819 * config/i386/t-slibgcc-mingw: New file.
820 * config/i386/libgcc-mingw.ver: Likewise.
822 2022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
824 * unwind-dw2-fde.c: Initialize fde object lazily when
825 the first exception tries to pass through.
827 2022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
829 * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
831 2022-12-08 Max Filippov <jcmvbkbc@gmail.com>
833 * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
834 (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
835 (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
836 (XSHAL_ABI): Remove stray symbols from macro definitions.
838 2022-12-07 Max Filippov <jcmvbkbc@gmail.com>
840 * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
841 xtensa-config-builtin.h.
842 * config/xtensa/crtn.S: Likewise.
843 * config/xtensa/lib1funcs.S: Likewise.
844 * config/xtensa/lib2funcs.S: Likewise.
845 * config/xtensa/xtensa-config-builtin.h: New File.
847 2022-11-04 Florian Weimer <fweimer@redhat.com>
849 * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
850 values actually used by BFD ld.
852 2022-10-23 LIU Hao <lh_mouse@126.com>
854 * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
855 libobjc, instead of 'gthr.h'
857 2022-10-19 LIU Hao <lh_mouse@126.com>
859 * config.host: Add new cases for `mcf` thread model
860 * config/i386/gthr-mcf.h: New file
861 * config/i386/t-mingw-mcfgthread: New file
862 * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
863 * configure: Regenerate
865 2022-10-18 Jonathan Wakely <jwakely@redhat.com>
867 * Makefile.in: Quote variable.
869 2022-10-17 H.J. Lu <hjl.tools@gmail.com>
871 * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
873 * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
874 _Unwind_Frames_Increment.
875 (_Unwind_ForcedUnwind_Phase2): Likewise.
876 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
877 Take the EXC argument. Return _URC_FATAL_PHASE2_ERROR if the
878 return address on normal stack doesn't match the return address
881 2022-10-17 Florian Weimer <fweimer@redhat.com>
883 * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
886 2022-10-14 Jakub Jelinek <jakub@redhat.com>
888 * config/i386/t-softfp (softfp_extensions): Add bfsf.
889 (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
890 (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
891 CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
893 * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
894 __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
895 * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
896 * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
897 * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
898 * soft-fp/brain.h: New file.
899 * soft-fp/truncsfbf2.c: New file.
900 * soft-fp/truncdfbf2.c: New file.
901 * soft-fp/truncxfbf2.c: New file.
902 * soft-fp/trunctfbf2.c: New file.
903 * soft-fp/trunchfbf2.c: New file.
904 * soft-fp/truncbfhf2.c: New file.
905 * soft-fp/extendbfsf2.c: New file.
907 2022-10-12 Martin Liska <mliska@suse.cz>
909 * libgcov-driver.c: Use new function.
910 * libgcov.h (gcov_write_summary): Rename to ...
911 (gcov_write_object_summary): ... this.
913 2022-10-11 Olivier Hainque <hainque@adacore.com>
915 * config.host (*vxworks*): When enable_shared, add
916 libgcc and crtstuff "shared" fragments for rtp except
918 (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
919 the list of fragments.
921 2022-10-06 Jakub Jelinek <jakub@redhat.com>
923 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
924 fs->regs.how[X] instead of fs->regs.reg[X].how.
926 2022-10-06 Jakub Jelinek <jakub@redhat.com>
928 * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
929 REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
930 REG_UNDEFINED): New anonymous enum, moved from inside of
931 struct frame_state_reg_info.
932 (struct frame_state_reg_info): Remove reg[].how element and the
933 anonymous enum there. Add how element.
934 * unwind-dw2.c: Include stddef.h.
935 (uw_frame_state_for): Don't clear first
936 offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
937 (execute_cfa_program, __frame_state_for, uw_update_context_1,
938 uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
939 or fs.regs.how[X] instead of fs.regs.reg[X].how.
940 * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
941 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
942 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
943 * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
944 UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
946 * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
948 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
949 * config/arc/linux-unwind.h (arc_fallback_frame_state,
950 arc_frob_update_context): Likewise.
951 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
952 * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
953 * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
954 * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
955 * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
956 * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
957 MD_FALLBACK_FRAME_STATE_FOR): Likewise.
958 * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
959 sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
960 * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
961 x86_fallback_frame_state): Likewise.
962 * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
963 * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
964 x86_fallback_frame_state): Likewise.
965 * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
967 * config/i386/dragonfly-unwind.h
968 (x86_64_dragonfly_fallback_frame_state): Likewise.
969 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
970 * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
971 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
973 * config/aarch64/freebsd-unwind.h
974 (aarch64_freebsd_fallback_frame_state): Likewise.
975 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
977 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
978 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
979 * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
981 * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
982 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
984 * config/rs6000/darwin-fallback.c (set_offset): Likewise.
985 * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
986 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
987 * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
989 2022-10-02 Olivier Hainque <hainque@adacore.com>
991 * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment. Move
992 -I options for gcc/include and gcc/include-fixed at the end
993 and make them -isystem.
995 2022-10-02 Olivier Hainque <hainque@adacore.com>
997 * config/gthr-vxworks.h: Prevent Wpragma warning for the
998 pragma diagnostics on Wstrict-prototypes.
1000 2022-09-29 Olivier Hainque <hainque@adacore.com>
1002 * config/vxcrtstuff.c: Improve the comment attached to the use
1003 of auto-host.h and of __dso_handle. Remove redundant guard on
1004 HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
1006 2022-09-26 Thomas Neumann <tneumann@users.sourceforge.net>
1008 * unwind-dw2-fde.c: Introduce a constant for in_shutdown
1009 for the non-fast-path case. Drop destructor priority.
1011 2022-09-22 Thomas Neumann <tneumann@users.sourceforge.net>
1013 * unwind-dw2-fde.c: (release_register_frames) Remember
1014 when the btree has been destroyed.
1015 (__deregister_frame_info_bases) Disable the assert when
1018 2022-09-18 Thomas Neumann <tneumann@users.sourceforge.net>
1020 * unwind-dw2-fde.c: Replace uintptr_t with typedef
1021 for __UINTPTR_TYPE__.
1022 * unwind-dw2-btree.h: Likewise.
1024 2022-09-16 Thomas Neumann <tneumann@users.sourceforge.net>
1026 * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
1027 (__register_frame_info_table_bases): Use btree in atomic fast path.
1028 (__deregister_frame_info_bases): Likewise.
1029 (_Unwind_Find_FDE): Likewise.
1030 (base_from_object): Make parameter const.
1031 (classify_object_over_fdes): Add query-only mode.
1032 (get_pc_range): Compute PC range for lookup.
1033 * unwind-dw2-fde.h (last_fde): Make parameter const.
1034 * unwind-dw2-btree.h: New file.
1036 2022-08-31 Martin Liska <mliska@suse.cz>
1038 * config.host: Remove hppa.
1040 2022-08-30 Martin Liska <mliska@suse.cz>
1042 * config.host: Remove the port.
1044 2022-08-26 Martin Liska <mliska@suse.cz>
1046 * config.host: Remove cr16 related stuff.
1047 * config/cr16/crti.S: Removed.
1048 * config/cr16/crtlibid.S: Removed.
1049 * config/cr16/crtn.S: Removed.
1050 * config/cr16/divmodhi3.c: Removed.
1051 * config/cr16/lib1funcs.S: Removed.
1052 * config/cr16/t-cr16: Removed.
1053 * config/cr16/t-crtlibid: Removed.
1054 * config/cr16/unwind-cr16.c: Removed.
1055 * config/cr16/unwind-dw2.h: Removed.
1057 2022-08-16 Kito Cheng <kito.cheng@sifive.com>
1059 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
1060 (_FP_NANFRAC_H): Ditto.
1061 (_FP_NANSIGN_H): Ditto.
1062 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
1064 (softfp_truncations): Ditto.
1065 (softfp_extras): Ditto.
1066 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
1068 2022-08-16 Kito Cheng <kito.cheng@sifive.com>
1070 * soft-fp/fixhfdi.c: New.
1071 * soft-fp/fixhfsi.c: Likewise.
1072 * soft-fp/fixunshfdi.c: Likewise.
1073 * soft-fp/fixunshfsi.c: Likewise.
1074 * soft-fp/floatdihf.c: Likewise.
1075 * soft-fp/floatsihf.c: Likewise.
1076 * soft-fp/floatundihf.c: Likewise.
1077 * soft-fp/floatunsihf.c: Likewise.
1078 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
1079 lines and update URL for license.
1080 * soft-fp/addsf3.c: Likewise.
1081 * soft-fp/addtf3.c: Likewise.
1082 * soft-fp/divdf3.c: Likewise.
1083 * soft-fp/divsf3.c: Likewise.
1084 * soft-fp/divtf3.c: Likewise.
1085 * soft-fp/double.h: Likewise.
1086 * soft-fp/eqdf2.c: Likewise.
1087 * soft-fp/eqhf2.c: Likewise.
1088 * soft-fp/eqsf2.c: Likewise.
1089 * soft-fp/eqtf2.c: Likewise.
1090 * soft-fp/extenddftf2.c: Likewise.
1091 * soft-fp/extended.h: Likewise.
1092 * soft-fp/extendhfdf2.c: Likewise.
1093 * soft-fp/extendhfsf2.c: Likewise.
1094 * soft-fp/extendhftf2.c: Likewise.
1095 * soft-fp/extendhfxf2.c: Likewise.
1096 * soft-fp/extendsfdf2.c: Likewise.
1097 * soft-fp/extendsftf2.c: Likewise.
1098 * soft-fp/extendxftf2.c: Likewise.
1099 * soft-fp/fixdfdi.c: Likewise.
1100 * soft-fp/fixdfsi.c: Likewise.
1101 * soft-fp/fixdfti.c: Likewise.
1102 * soft-fp/fixhfti.c: Likewise.
1103 * soft-fp/fixsfdi.c: Likewise.
1104 * soft-fp/fixsfsi.c: Likewise.
1105 * soft-fp/fixsfti.c: Likewise.
1106 * soft-fp/fixtfdi.c: Likewise.
1107 * soft-fp/fixtfsi.c: Likewise.
1108 * soft-fp/fixtfti.c: Likewise.
1109 * soft-fp/fixunsdfdi.c: Likewise.
1110 * soft-fp/fixunsdfsi.c: Likewise.
1111 * soft-fp/fixunsdfti.c: Likewise.
1112 * soft-fp/fixunshfti.c: Likewise.
1113 * soft-fp/fixunssfdi.c: Likewise.
1114 * soft-fp/fixunssfsi.c: Likewise.
1115 * soft-fp/fixunssfti.c: Likewise.
1116 * soft-fp/fixunstfdi.c: Likewise.
1117 * soft-fp/fixunstfsi.c: Likewise.
1118 * soft-fp/fixunstfti.c: Likewise.
1119 * soft-fp/floatdidf.c: Likewise.
1120 * soft-fp/floatdisf.c: Likewise.
1121 * soft-fp/floatditf.c: Likewise.
1122 * soft-fp/floatsidf.c: Likewise.
1123 * soft-fp/floatsisf.c: Likewise.
1124 * soft-fp/floatsitf.c: Likewise.
1125 * soft-fp/floattidf.c: Likewise.
1126 * soft-fp/floattihf.c: Likewise.
1127 * soft-fp/floattisf.c: Likewise.
1128 * soft-fp/floattitf.c: Likewise.
1129 * soft-fp/floatundidf.c: Likewise.
1130 * soft-fp/floatundisf.c: Likewise.
1131 * soft-fp/floatunditf.c: Likewise.
1132 * soft-fp/floatunsidf.c: Likewise.
1133 * soft-fp/floatunsisf.c: Likewise.
1134 * soft-fp/floatunsitf.c: Likewise.
1135 * soft-fp/floatuntidf.c: Likewise.
1136 * soft-fp/floatuntihf.c: Likewise.
1137 * soft-fp/floatuntisf.c: Likewise.
1138 * soft-fp/floatuntitf.c: Likewise.
1139 * soft-fp/gedf2.c: Likewise.
1140 * soft-fp/gesf2.c: Likewise.
1141 * soft-fp/getf2.c: Likewise.
1142 * soft-fp/half.h: Likewise.
1143 * soft-fp/ledf2.c: Likewise.
1144 * soft-fp/lesf2.c: Likewise.
1145 * soft-fp/letf2.c: Likewise.
1146 * soft-fp/muldf3.c: Likewise.
1147 * soft-fp/mulsf3.c: Likewise.
1148 * soft-fp/multf3.c: Likewise.
1149 * soft-fp/negdf2.c: Likewise.
1150 * soft-fp/negsf2.c: Likewise.
1151 * soft-fp/negtf2.c: Likewise.
1152 * soft-fp/op-1.h: Likewise.
1153 * soft-fp/op-2.h: Likewise.
1154 * soft-fp/op-4.h: Likewise.
1155 * soft-fp/op-8.h: Likewise.
1156 * soft-fp/op-common.h: Likewise.
1157 * soft-fp/quad.h: Likewise.
1158 * soft-fp/single.h: Likewise.
1159 * soft-fp/soft-fp.h: Likewise.
1160 * soft-fp/subdf3.c: Likewise.
1161 * soft-fp/subsf3.c: Likewise.
1162 * soft-fp/subtf3.c: Likewise.
1163 * soft-fp/truncdfhf2.c: Likewise.
1164 * soft-fp/truncdfsf2.c: Likewise.
1165 * soft-fp/truncsfhf2.c: Likewise.
1166 * soft-fp/trunctfdf2.c: Likewise.
1167 * soft-fp/trunctfhf2.c: Likewise.
1168 * soft-fp/trunctfsf2.c: Likewise.
1169 * soft-fp/trunctfxf2.c: Likewise.
1170 * soft-fp/truncxfhf2.c: Likewise.
1171 * soft-fp/unorddf2.c: Likewise.
1172 * soft-fp/unordsf2.c: Likewise.
1173 * soft-fp/unordtf2.c: Likewise.
1175 2022-07-18 Claudiu Zissulescu <claziss@synopsys.com>
1177 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
1178 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
1181 2022-06-25 Jeff Law <jeffreyalaw@gmail.com>
1183 * config.host: Removed tilegx and tilepro entries.
1184 * config/tilegx/sfp-machine.h: Removed.
1185 * config/tilegx/sfp-machine32.h: Removed.
1186 * config/tilegx/sfp-machine64.h: Removed.
1187 * config/tilegx/t-crtstuff: Removed.
1188 * config/tilegx/t-softfp: Removed.
1189 * config/tilegx/t-tilegx: Removed.
1190 * config/tilepro/atomic.c: Removed.
1191 * config/tilepro/atomic.h: Removed.
1192 * config/tilepro/linux-unwind.h: Removed.
1193 * config/tilepro/sfp-machine.h: Removed.
1194 * config/tilepro/softdivide.c: Removed.
1195 * config/tilepro/softmpy.S: Removed.
1196 * config/tilepro/t-crtstuff: Removed.
1197 * config/tilepro/t-tilepro: Removed.
1199 2022-06-09 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
1201 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
1202 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
1204 2022-06-01 H.J. Lu <hjl.tools@gmail.com>
1207 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
1209 2022-05-25 Wilco Dijkstra <wilco.dijkstra@arm.com>
1212 * config/aarch64/lse-init.c: Increase constructor priority.
1214 2022-05-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1217 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1218 Handle the !REG_UNSAVED case.
1219 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
1221 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1223 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
1224 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
1225 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
1227 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1229 * config.host: Add t-dfprules to AArch64 targets.
1231 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1233 * configure: Regenerate.
1235 2022-05-13 Sebastian Pop <spop@amazon.com>
1238 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
1239 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
1241 2022-05-10 Martin Liska <mliska@suse.cz>
1242 Hans-Peter Helfert <peter-helfert@t-online.de>
1244 PR gcov-profile/105535
1245 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
1248 2022-05-02 Martin Liska <mliska@suse.cz>
1250 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
1252 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1254 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
1255 (gcov_profile_merge_stream): Likewise.
1257 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1259 * libgcov-util.c (consume_stream): New.
1260 (get_target_profiles_for_merge): Likewise.
1261 (gcov_profile_merge_stream): Likewise.
1263 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1265 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
1267 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1269 * libgcov-util.c (read_gcda_file): Do not open file.
1270 (ftw_read_file): Open file here.
1272 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1274 * libgcov-util.c (read_gcda_file): Prepend new info object to global
1276 (ftw_read_file): Remove list append here.
1278 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1280 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
1281 (ftw_read_file): Duplicate filename for read_gcda_file().
1283 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1285 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
1286 (__gcov_filename_to_gcfn): Declare and document.
1287 * libgcov-driver.c (dump_string): New.
1288 (__gcov_filename_to_gcfn): Likewise.
1289 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
1291 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1293 * libgcov.h (gcov_seek): Remove define and declaration.
1295 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1297 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
1298 parameter. Pass mode to gcov_open() calls.
1299 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
1300 gcov_exit_open_gcda_file() call.
1301 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
1303 (__gcov_dump_one): Open file for reading and writing.
1305 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1307 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
1308 reading and writing.
1309 * libgcov-util.c (read_gcda_file): Open file for reading.
1310 * libgcov.h (gcov_open): Delete declaration.
1312 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1314 * libgcov-util.c (gcov_profile_merge): Return the list of merged
1315 profiles. Accept empty target and source profile lists.
1317 2022-04-08 Sergei Trofimovich <siarheit@google.com>
1319 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
1321 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
1322 Lulu Cheng <chenglulu@loongson.cn>
1324 * configure: Regenerate file.
1326 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
1327 Lulu Cheng <chenglulu@loongson.cn>
1329 * config/loongarch/crtfastmath.c: New file.
1330 * config/loongarch/linux-unwind.h: Like wise.
1331 * config/loongarch/sfp-machine.h: Like wise.
1332 * config/loongarch/t-crtstuff: Like wise.
1333 * config/loongarch/t-loongarch: Like wise.
1334 * config/loongarch/t-loongarch64: Like wise.
1335 * config/loongarch/t-softfp-tf: Like wise.
1336 * config.host: Add LoongArch tuples.
1337 * configure.ac: Add LoongArch support.
1339 2022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
1342 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
1344 (__udivsi3_internal, __divsi3_internal): Similarly.
1345 (__umodsi3, __modsi3): Use the internal function names.
1347 2022-03-09 Tobias Burnus <tobias@codesourcery.com>
1350 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
1351 a line up to non-arg-dependent value first.
1352 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
1353 __atomic_compare_exchange_{1,2}.
1355 2022-03-04 Iain Sandoe <iain@sandoe.co.uk>
1357 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
1358 * config/t-darwin-ehs: Add dependency on unwind.h.
1360 2022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
1362 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
1363 with 0 instead of NULL.
1365 2022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
1368 * configure.ac: --disable-gcov if targetting bpf-*.
1369 * configure: Regenerate.
1371 2022-01-25 Florian Weimer <fweimer@redhat.com>
1374 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
1376 2022-01-17 Martin Liska <mliska@suse.cz>
1378 * libgcov-driver.c: Rename .c names to .cc.
1380 2022-01-15 David <gccbugzilla@limegreensocks.com>
1382 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
1383 Remove inlined version, Windows 95 is no longer relevant.
1384 * config/i386/gthr-win32.h
1385 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
1387 2022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
1389 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1390 DWARF_ALT_FRAME_RETURN_COLUMN macro.
1392 2022-01-04 Florian Weimer <fweimer@redhat.com>
1394 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
1397 2022-01-02 John David Anglin <danglin@gcc.gnu.org>
1399 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
1400 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
1401 return is not equal _ASM_EFAULT.
1402 (__kernel_cmpxchg2): Likewise.
1404 2021-12-17 Iain Sandoe <iain@sandoe.co.uk>
1406 * config.host: Add shim declaration header to powerpc*-darwin builds.
1407 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
1409 * config/t-darwin-ehs: Add dependencies to the shared unwinder
1411 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
1412 the shared EH lib. Add all-multi to the dependencies for the
1413 libgcc_s.1.dylib redirections.
1415 2021-12-13 Olivier Hainque <hainque@adacore.com>
1417 * config.host (powerpc*-*-vxworks7*): Remove
1418 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
1420 2021-12-13 Olivier Hainque <hainque@adacore.com>
1422 * config.host (*vxworks*): Remove special case for
1423 arm on the use of vxcrtstuff.
1425 2021-12-13 Fred Konrad <konrad@adacore.com>
1426 Olivier Hainque <hainque@adacore.com>
1428 * config/t-vxcrtstuffS: New Makefile fragment.
1429 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
1430 functions for INITFINI_ARRAY support in shared libs and guard
1431 the definition of eh table registration functions on conditions
1432 indicating they are needed.
1434 2021-12-13 Olivier Hainque <hainque@adacore.com>
1436 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
1437 ahead of the other files in tmake_files.
1438 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
1441 2021-12-13 Olivier Hainque <hainque@adacore.com>
1443 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
1444 both VxWorks7 and earlier.
1445 * config/t-vxworks7: Remove.
1446 * config.host: Remove special case for vxworks7.
1448 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1450 * config/vxcrtstuff.c: Make constructor and destructor
1451 functions static when possible.
1453 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1455 * config/vxcrtstuff.c: Remove constructor/destructor
1458 2021-12-10 Iain Sandoe <iain@sandoe.co.uk>
1460 * config/t-darwin: Add libgcc_tm.h to the dependencies
1461 for darwin10-unwind-find-enc-func.
1463 2021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1465 * config/rs6000/t-vxworks: New file.
1466 * config.host (powerpc*-*-vxworks*): Use it instead of
1469 2021-12-09 Fred Konrad <konrad@adacore.com>
1471 * config.host (powerpc*-wrs-vxworks7*): Fix path to
1472 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
1474 2021-12-09 Olivier Hainque <hainque@adacore.com>
1475 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1477 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
1478 $(LIBGCC2_INCLUDES).
1479 * config/t-vxworks7: Likewise.
1481 2021-12-08 Iain Sandoe <iain@sandoe.co.uk>
1483 * config.host (*-*-darwin*): Add logic to build a shared
1484 unwinder library for Darwin8-10.
1485 * config/i386/t-darwin: Build legacy libgcc_s.1.
1486 * config/rs6000/t-darwin: Likewise.
1487 * config/t-darwin: Reorganise the EH fragments to place
1488 them for inclusion in a shared EH lib.
1489 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
1490 the supporting pieces (all FAT libs).
1491 * config/t-darwin-noeh: Removed.
1492 * config/darwin-unwind.ver: New file.
1493 * config/rs6000/t-darwin-ehs: New file.
1494 * config/t-darwin-ehs: New file.
1496 2021-12-06 Nelson Chu <nelson.chu@sifive.com>
1498 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
1499 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
1500 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
1503 2021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1505 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
1506 ssize_t and vfork after including auto-host.h.
1508 2021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1510 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
1511 crtend.o to extra_parts.
1513 2021-11-27 John David Anglin <danglin@gcc.gnu.org>
1515 * config/pa/t-dimode (lib2difuncs): Fix typo.
1517 2021-11-25 Florian Weimer <fweimer@redhat.com>
1519 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
1521 (find_fde_tail): New function. Split from
1522 _Unwind_IteratePhdrCallback. Move the result initialization
1523 from _Unwind_Find_FDE.
1524 (_Unwind_Find_FDE): Updated to call find_fde_tail.
1526 2021-11-22 Florian Weimer <fweimer@redhat.com>
1528 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
1529 (struct unw_eh_callback_data): Make dbase member conditional.
1530 (unw_eh_callback_data_dbase): New function.
1531 (base_from_cb_data): Simplify for the non-dbase case.
1532 (_Unwind_IteratePhdrCallback): Adjust.
1533 (_Unwind_Find_FDE): Likewise.
1535 2021-11-22 Florian Weimer <fweimer@redhat.com>
1537 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
1539 (base_from_cb_data): Adjust.
1540 (_Unwind_IteratePhdrCallback): Likewise.
1541 (_Unwind_Find_FDE): Likewise.
1543 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1545 * config.host: Add weak emutls crt to the extra_parts.
1546 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1548 * config/libgcc-libsystem.ver: Add exclude list for the system-
1550 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1551 * config/i386/libgcc-darwin.10.4.ver: Removed.
1552 * config/i386/libgcc-darwin.10.5.ver: Removed.
1553 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1554 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1555 * config/t-darwin-noeh: New file.
1557 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1559 * config/t-darwin: Build weak-defined emutls objects.
1560 * emutls.c (__emutls_get_address): Add optional attributes.
1561 (__emutls_register_common): Likewise.
1564 2021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1567 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1568 called with a null argument or at the end of the backtrace and return.
1569 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1571 2021-11-10 Jakub Jelinek <jakub@redhat.com>
1573 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1576 2021-11-05 Iain Sandoe <iain@sandoe.co.uk>
1578 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1579 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1581 2021-11-05 John David Anglin <danglin@gcc.gnu.org>
1584 * config.host (hppa*64*-*-linux*): Revise tmake_file.
1585 (hppa*64*-*-hpux11*): Likewise.
1586 * config/pa/sfp-exceptions.c: New.
1587 * config/pa/sfp-machine.h: New.
1588 * config/pa/t-dimode: New.
1589 * config/pa/t-softfp-sfdftf: New.
1591 2021-10-27 John David Anglin <danglin@gcc.gnu.org>
1593 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1595 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1596 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1597 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1598 * config/pa/t-linux64 (LIB1ASMSRC): New define.
1599 (LIB1ASMFUNCS): Revise.
1600 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1602 2021-10-22 Stafford Horne <shorne@gmail.com>
1604 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1607 2021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1609 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1610 outside of get_regs() in order to use it in another function, this
1611 is done twice: for __powerpc64__ and for !__powerpc64__.
1612 (struct trace_arg): New struct.
1613 (struct layout): New struct.
1614 (ppc_backchain_fallback): New function.
1615 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1616 state and call MD_BACKCHAIN_FALLBACK.
1618 2021-10-13 Martin Liska <mliska@suse.cz>
1620 PR gcov-profile/90364
1621 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1623 (write_one_data): Write also checksum.
1624 * libgcov-util.c (read_gcda_file): Read also checksum field.
1625 * libgcov.h (struct gcov_info): Add new field.
1627 2021-10-08 Ian Lance Taylor <iant@golang.org>
1629 * config/i386/morestack.S: Use .init_array for constructor if
1631 * config/rs6000/morestack.S: Likewise.
1632 * config/s390/morestack.S: Likewise.
1634 2021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1637 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1638 Use more correct values for native IBM 128-bit.
1640 2021-09-28 Iain Sandoe <iain@sandoe.co.uk>
1642 * config/i386/libgcc-darwin.ver: Add Symbols for
1643 __cpu_model, __cpu_indicator_init.
1645 2021-09-22 Iain Sandoe <iain@sandoe.co.uk>
1647 * config/i386/sfp-machine.h: Guard Mach-O-specific code
1650 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1652 * config/t-slibgcc-darwin: Delete unused code.
1654 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1656 * config/i386/t-darwin: Add in a vers file for X86-specific
1658 * config/t-darwin: Add the generic symbol maps here...
1659 * config/t-slibgcc-darwin: ... removing from here.
1660 * config/i386/libgcc-darwin.ver: New file.
1662 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1664 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1667 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1669 * config.host: Use convenience library for Darwin10
1671 * config/t-darwin: Build Darwin10 unwinder shim as a
1672 convenience library.
1674 2021-09-13 Andrew Pinski <apinski@marvell.com>
1676 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1677 * config/m32r/libgcc-glibc.ver: Removed.
1678 * config/m32r/t-linux: Removed.
1680 2021-09-08 liuhongt <hongtao.liu@intel.com>
1682 * config/i386/t-softfp: Compile __{mul,div}hc3 into
1685 2021-09-08 Jakub Jelinek <jakub@redhat.com>
1686 Iain Sandoe <iain@sandoe.co.uk>
1688 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1689 and export *hf* and *hc* functions at GCC_12.0.0.
1691 2021-09-06 liuhongt <hongtao.liu@intel.com>
1693 * Makefile.in: Adjust to support specific CFLAGS for each
1695 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1696 related libgcc source files.
1697 * config/i386/t-softfp: Ditto.
1698 * config/i386/_divhc3.c: New file.
1699 * config/i386/_mulhc3.c: New file.
1701 2021-09-03 Iain Sandoe <iain@sandoe.co.uk>
1703 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1704 alias_DFtype, alias_TFtype): New.
1705 (ALIAS_SELECTOR): New.
1706 (strong_alias): Use __typeof and a _Generic selector to
1707 provide the type to the synthesized function.
1709 2021-09-02 liuhongt <hongtao.liu@intel.com>
1711 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1712 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1713 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1714 * config/i386/t-softfp: Add hf soft-fp.
1715 * config.host: Add i386/64/t-softfp.
1716 * config/i386/64/t-softfp: New file.
1718 2021-09-02 liuhongt <hongtao.liu@intel.com>
1720 * soft-fp/eqhf2.c: New file.
1721 * soft-fp/extendhfdf2.c: New file.
1722 * soft-fp/extendhfsf2.c: New file.
1723 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1724 * soft-fp/truncdfhf2.c: New file
1725 * soft-fp/truncsfhf2.c: New file
1727 2021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
1729 * unwind-arm-common.inc (abort): Remove.
1731 2021-08-31 Richard Sandiford <richard.sandiford@arm.com>
1733 * config/aarch64/value-unwind.h: Add missing runtime exception
1735 * config/frv/frv-abi.h: Likewise.
1736 * config/i386/value-unwind.h: Likewise.
1737 * config/pa/pa64-hpux-lib.h: Likewise.
1739 2021-08-26 David Edelsohn <dje.gcc@gmail.com>
1741 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1743 (__gcc_qadd): Call ldouble_qadd_internal.
1744 (__gcc_qsub): Call ldouble_qadd_internal with second long double
1747 2021-08-26 Jonathan Yong <10walls@gmail.com>
1749 * config/i386/cygming-crtend.c: Fix register_frame_ctor
1750 and register_frame_dtor warnings.
1752 2021-08-24 Richard Earnshaw <rearnsha@arm.com>
1755 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1756 Add vlldm erratum work-around.
1758 2021-08-21 John David Anglin <danglin@gcc.gnu.org>
1760 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1762 2021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
1764 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1765 (gcov_type_unsigned): Likewise.
1767 2021-08-14 Stafford Horne <shorne@gmail.com>
1770 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
1771 * config/or1k/t-crtstuff: New file.
1773 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1775 * libgcov-driver.c (#include <stdint.h>): Remove.
1776 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
1778 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1780 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
1781 * gcov.h (gcov_info): Declare.
1782 (__gcov_info_to_gdca): Likewise.
1783 * libgcov.h (gcov_write_counter): Remove.
1784 (gcov_write_tag_length): Likewise.
1785 * libgcov-driver.c (#include <stdint.h>): New.
1786 (#include <string.h>): Remove.
1787 (NEED_L_GCOV): Conditionally define.
1788 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
1789 (are_all_counters_zero): New.
1790 (gcov_dump_handler): Likewise.
1791 (gcov_allocate_handler): Likewise.
1792 (dump_unsigned): Likewise.
1793 (dump_counter): Likewise.
1794 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
1795 Use dump_unsigned() and dump_counter().
1796 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
1797 dump_unsigned(), dump_counter(), and are_all_counters_zero().
1798 (__gcov_info_to_gcda): New.
1800 2021-08-05 Jakub Jelinek <jakub@redhat.com>
1802 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
1803 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
1804 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
1805 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
1807 2021-08-04 Jakub Jelinek <jakub@redhat.com>
1809 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
1811 2021-07-15 Alan Modra <amodra@gmail.com>
1813 * config/rs6000/morestack.S (R2_SAVE): Define.
1814 (__morestack): Save and restore r2. Set up r2 for called
1817 2021-07-01 H.J. Lu <hjl.tools@gmail.com>
1819 * soft-fp/extendhfxf2.c: New file.
1820 * soft-fp/truncxfhf2.c: Likewise.
1822 2021-06-29 Julian Brown <julian@codesourcery.com>
1824 * config/gcn/lib2-bswapti2.c: New file.
1825 * config/gcn/lib2-divmod-di.c: New file.
1826 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
1828 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
1829 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
1832 2021-06-29 Julian Brown <julian@codesourcery.com>
1834 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
1835 return types to USItype.
1836 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1838 2021-06-23 Kewen Lin <linkw@linux.ibm.com>
1840 * configure: Regenerate.
1841 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1842 typos among the name, CFLAGS and the test.
1843 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
1844 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
1846 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
1847 macro FLOAT128_HW_INSNS_ISA3_1.
1848 (FP128_3_1_CFLAGS_HW): Fix option typo.
1849 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
1850 FLOAT128_HW_INSNS_ISA3_1.
1851 (__floattikf_resolve): Likewise.
1852 (__floatuntikf_resolve): Likewise.
1853 (__fixkfti_resolve): Likewise.
1854 (__fixunskfti_resolve): Likewise.
1855 (__floattikf): Likewise.
1856 (__floatuntikf): Likewise.
1857 (__fixkfti): Likewise.
1858 (__fixunskfti): Likewise.
1860 2021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1863 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
1865 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
1866 on passing -mcmse option.
1868 2021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
1870 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
1873 2021-06-09 Carl Love <cel@us.ibm.com>
1875 * config.host: Add if test and set for
1876 libgcc_cv_powerpc_3_1_float128_hw.
1877 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
1878 Change calls of __fixkfti to __fixkfti_sw.
1879 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
1880 Change calls of __fixunskfti to __fixunskfti_sw.
1881 * config/rs6000/float128-p10.c (__floattikf_hw,
1882 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
1883 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
1884 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
1885 __fixunskfti_resolve): Add resolve functions.
1886 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
1887 * config/rs6000/float128-sed (floattitf, __floatuntitf,
1888 __fixtfti, __fixunstfti): Add editor commands to change names.
1889 * config/rs6000/float128-sed-hw (__floattitf,
1890 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
1892 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
1893 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
1894 * config/rs6000/quad-float128.h (__floattikf_sw,
1895 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
1896 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
1897 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
1898 * config/rs6000/t-float128 (floattikf, floatuntikf,
1899 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
1900 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
1901 file names to fp128_ppc_funcs.
1902 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
1903 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
1904 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
1905 * config/rs6000/t-float128-p10-hw: New file.
1906 * configure: Update script for isa 3.1 128-bit float support.
1907 * configure.ac: Add check for 128-bit float hardware support.
1908 * config/rs6000/fixkfti-sw.c: New file.
1909 * config/rs6000/fixunskfti-sw.c: New file.
1910 * config/rs6000/floattikf-sw.c: New file.
1911 * config/rs6000/floatuntikf-sw.c: New file.
1913 2021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
1915 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
1917 2021-05-13 Martin Liska <mliska@suse.cz>
1919 * libgcov-driver.c: Fix GNU coding style.
1921 2021-05-10 Martin Liska <mliska@suse.cz>
1923 * libgcov-driver.c (gcov_version): Use different name that does
1924 not clash with newly introduced macro.
1926 2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
1928 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
1929 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
1930 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
1932 2021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1934 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1936 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
1937 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1939 (__divkc3): Improve complex divide.
1941 2021-04-23 Michael Meissner <meissner@linux.ibm.com>
1944 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
1945 trampoline size comparison in 32-bit by reversing test and
1946 combining load immediate with compare.
1947 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
1948 in 32-bit by reversing test and combining load immediate with
1951 2021-04-05 Florian Weimer <fweimer@redhat.com>
1952 Michael Meissner <meissner@linux.ibm.com>
1954 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
1955 point functions for $(decimal_float) only.
1957 2021-04-03 Jakub Jelinek <jakub@redhat.com>
1960 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
1961 $(objext) instead of $(object). Use _floatunditf instead of
1962 _floatunsditf. Add tf <-> ti conversion objects.
1963 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
1965 2021-03-29 Michael Meissner <meissner@linux.ibm.com>
1967 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
1968 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
1969 (fp128_decstr_objs): Delete.
1970 * dfp-bit.h: Call __sprintfieee128 to do conversions from
1971 _Float128 to a Decimal type. Call __strtoieee128 to do
1972 conversions from a Decimal type to _Float128.
1973 * config/rs6000/_sprintfkf.c: Delete file.
1974 * config/rs6000/_sprintfkf.h: Delete file.
1975 * config/rs6000/_strtokf.c: Delete file.
1976 * config/rs6000/_strtokf.h: Delete file.
1978 2021-03-23 Marcus Comstedt <marcus@mc.pp.se>
1980 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
1983 2021-03-06 Jakub Jelinek <jakub@redhat.com>
1985 PR gcov-profile/99406
1986 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
1987 defined, define these macros if not defined already.
1989 2021-03-04 Martin Liska <mliska@suse.cz>
1991 PR gcov-profile/99105
1992 * libgcov-driver.c (write_top_counters): Rename to ...
1993 (write_topn_counters): ... this.
1994 (write_one_data): Pre-allocate buffer for number of items
1995 in the corresponding linked lists.
1996 * libgcov.h (malloc_mmap): New function.
1997 (allocate_gcov_kvp): Use it.
1999 2021-03-04 Martin Liska <mliska@suse.cz>
2001 PR gcov-profile/99385
2002 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
2004 2021-03-03 Martin Liska <mliska@suse.cz>
2006 PR gcov-profile/97461
2007 * config.in: Regenerate.
2008 * configure: Likewise.
2009 * configure.ac: Check sys/mman.h header file
2010 * libgcov-driver.c (struct gcov_kvp): Remove static
2011 pre-allocated pool and use a dynamic one.
2012 * libgcov.h (MMAP_CHUNK_SIZE): New.
2013 (gcov_counter_add): Use mmap to allocate pool for struct
2016 2021-03-02 Michael Meissner <meissner@linux.ibm.com>
2018 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
2020 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
2022 2021-02-24 Jakub Jelinek <jakub@redhat.com>
2025 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
2026 negation of m in unsigned type.
2028 2021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
2029 Hau Hsu <hsuhau617@gmail.com>
2032 * config/arm/t-arm: Fix cmse support detection.
2034 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
2036 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
2038 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
2040 * config/rs6000/_dd_to_kf.c: New file.
2041 * config/rs6000/_kf_to_dd.c: New file.
2042 * config/rs6000/_kf_to_sd.c: New file.
2043 * config/rs6000/_kf_to_td.c: New file.
2044 * config/rs6000/_sd_to_kf.c: New file.
2045 * config/rs6000/_sprintfkf.c: New file.
2046 * config/rs6000/_sprintfkf.h: New file.
2047 * config/rs6000/_strtokf.h: New file.
2048 * config/rs6000/_strtokf.c: New file.
2049 * config/rs6000/_td_to_kf.c: New file.
2050 * config/rs6000/quad-float128.h: Add new declarations.
2051 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
2052 (fp128_decstr_funcs): New macro.
2053 (ibm128_dec_funcs): New macro.
2054 (fp128_ppc_funcs): Add the new conversions.
2055 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
2056 compiled with -mabi=ieeelongdouble.
2057 (fp128_decstr_objs): Force __float128 <-> string conversions to be
2058 compiled with -mabi=ibmlongdouble.
2059 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
2060 compiled with -mabi=ieeelongdouble.
2061 (FP128_CFLAGS_DECIMAL): New macro.
2062 (IBM128_CFLAGS_DECIMAL): New macro.
2063 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
2064 (BFP_TO_DFP): Add PowerPC _Float128 support.
2065 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
2066 IEEE 128-bit floating point.
2067 (DFP_TO_BFP): Add PowerPC _Float128 support.
2068 (BFP_TO_DFP): Add PowerPC _Float128 support.
2069 (BFP_SPRINTF): New macro.
2071 2021-01-27 Jakub Jelinek <jakub@redhat.com>
2073 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
2074 * config/i386/savms64f.h: Likewise.
2075 * config/i386/resms64.h: Likewise.
2076 * config/i386/resms64f.h: Likewise.
2077 * config/i386/resms64x.h: Likewise.
2078 * config/i386/resms64fx.h: Likewise.
2080 2021-01-26 Martin Liska <mliska@suse.cz>
2082 PR gcov-profile/98739
2083 * libgcov.h (gcov_topn_add_value): Do not train when
2084 we have a merged profile with a negative number of total
2087 2021-01-25 Martin Liska <mliska@suse.cz>
2089 PR gcov-profile/98739
2090 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
2091 ends with a dropped counter.
2092 * libgcov.h (gcov_topn_add_value): Add return value.
2094 2021-01-13 Stafford Horne <shorne@gmail.com>
2096 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
2097 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
2098 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
2099 FP_EX_ALL): New constant macros.
2100 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
2101 FP_HANDLE_EXCEPTIONS): New macros.
2102 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
2104 2021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
2106 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
2107 posix siginfo case to struct handler_args. Detect between legacy
2108 and siginfo from the second parameter, which is a small sigcode in
2109 the legacy case, and a pointer in the siginfo case.
2111 2020-12-20 Max Filippov <jcmvbkbc@gmail.com>
2113 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
2115 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
2118 2020-12-08 Ian Lance Taylor <iant@golang.org>
2120 * generic-morestack-thread.c (free_segments): Block signals during
2123 2020-12-03 Michael Meissner <meissner@linux.ibm.com>
2127 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
2128 (IBM128_SHARED_OBJS): New make variable.
2129 (IBM128_OBJS): New make variable. Set all objects to use the
2130 explicit IBM format, and disable gnu attributes.
2131 (IBM128_CFLAGS): New make variable.
2132 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
2135 2020-12-03 Alexandre Oliva <oliva@adacore.com>
2137 * config/t-vxworks (LIB2ADD): Drop.
2138 * config/t-vxworks7 (LIB2ADD): Likewise.
2139 * config/vxcache.c: Remove.
2141 2020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
2143 * libgcc2.c (bswapsi2): Make constants unsigned.
2145 2020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
2147 * libgcc2.c (absvSI2): Simplify/improve implementation by using
2148 builtin_add_overflow.
2149 (absvsi2, absvDI2): Likewise.
2151 2020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
2153 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
2154 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
2156 2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2158 * config/msp430/lib2hw_mul.S (mult64_hw): New.
2159 (if MUL_32): Use mult64_hw for __muldi3.
2160 (if MUL_F5): Use mult64_hw for __muldi3.
2161 * config/msp430/lib2mul.c (__muldi3): New.
2162 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
2164 2020-11-17 Alan Modra <amodra@gmail.com>
2166 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
2167 (LIB2_SIDITI_CONV_FUNCS): Define.
2168 * config/rs6000/ppc64-fp.c: Delete file.
2170 2020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2172 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
2173 hwmult library functions.
2175 2020-11-10 Jeff Law <law@redhat.com>
2177 * libgcc2.c: Fix whitespace issues in most recent change.
2179 2020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
2181 * libgcc2.c (__addvSI3): Use overflow builtins.
2182 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
2183 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
2184 (__negvsi2, __negvDI2): Likewise.
2185 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
2187 * libgcc2.h (__ucmpdi2): Adjust prototype.
2189 2020-11-03 Pat Bernardi <bernardi@adacore.com>
2190 Olivier Hainque <hainque@adacore.com>
2192 * config.host (aarch64-vxworks7*, tmake_file): Add
2193 ${cpu_type}/t-lse and t-slibgcc-libgcc.
2195 2020-11-03 Martin Storsjö <martin@martin.st>
2197 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
2198 before calling the callback.
2200 2020-10-30 Olivier Hainque <hainque@adacore.com>
2201 Douglas Rupp <rupp@adacore.com>
2202 Pat Bernardi <bernardi@adacore.com>
2204 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
2205 to apply to VxWorks 7 as well.
2207 2020-10-29 Olivier Hainque <hainque@adacore.com>
2209 * config/gthr-vxworks-tls.c: Fix preprocessor logic
2210 controlling the definition of VX_ENTER_TLS_DTOR and
2211 VX_LEAVE_TLS_DTOR based on a version major check.
2213 2020-10-29 Olivier Hainque <hainque@adacore.com>
2215 * config/gthr-vxworks-thread.c: Fix name of macro used
2216 to condition the inclusion of an actual implementation.
2218 2020-10-27 Martin Liska <mliska@suse.cz>
2220 PR gcov-profile/97461
2221 * libgcov.h (gcov_counter_add): Use first static counters
2222 as it should help to have malloc wrappers set up.
2224 2020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2226 * config/gthr-vxworks-thread.c: #include gthr.h before
2227 testing the guard defined there.
2228 * config/gthr-vxworks-cond.c: Likewise.
2230 2020-10-21 Douglas Rupp <rupp@adacore.com>
2231 Olivier Hainque <hainque@adacore.com>
2233 * config.host (powerpc*-wrs-vxworks7*): New case.
2234 * configure.ac: Handle powerpc*-*-vxworks7* as
2235 powerpc*-*-linux* for ppc-fp_type.
2236 * configure: Regenerate.
2238 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2240 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
2241 section on VxWorks >= 6.
2242 * config/gthr-vxworks-thread.c: Condition the entire
2243 implementation on __GTHREAD_CXX0X.
2245 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2247 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
2248 section on VxWorks >= 6.
2249 * config/gthr-vxworks-cond.c: Condition the entire
2250 implementation on __GTHREAD_HAS_COND.
2252 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2254 * config/gthr-vxworks.c: #include <taskLib.h>.
2256 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2258 * config/gthr-vxworks.h: Rewrite remaining occurrence
2259 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
2261 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2262 Olivier Hainque <hainque@adacore.com>
2264 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
2265 except on VxWorks 6.
2267 2020-10-16 Olivier Hainque <hainque@adacore.com>
2269 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
2271 2020-10-14 Alexandre Oliva <oliva@adacore.com>
2273 * config/gthr-vxworks-thread.c: Include stdlib.h.
2274 (tls_delete_hook): Prototype it.
2275 (__gthread_cond_signal): Return early if no waiters. Consume
2276 signal in case the semaphore got full. Use semInfoGet instead
2277 of kernel-mode-only semInfo.
2278 (__gthread_cond_timedwait): Use semExchange. Always take the
2279 mutex again before returning.
2280 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
2282 2020-10-14 Olivier Hainque <hainque@adacore.com>
2284 * config/t-vxworks (LIBGCC2_INCLUDES): Append
2285 $(MULTISUBDIR) to the -I path for fixed headers, as we
2286 arrange to have different sets of such headers for different
2287 multilibs when they are activated.
2288 * config/t-vxworks7: Likewise.
2290 2020-10-14 Olivier Hainque <hainque@adacore.com>
2292 * config/t-vxworks: Add include-fixed to include search
2293 paths for libgcc on VxWorks.
2294 * config/t-vxworks7: Likewise.
2296 2020-10-09 H.J. Lu <hjl.tools@gmail.com>
2299 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
2300 instead of <cetintrin.h>.
2302 2020-10-01 Alan Modra <amodra@gmail.com>
2304 * config/rs6000/morestack.S,
2305 * config/rs6000/tramp.S: Support __PCREL__ code.
2307 2020-10-01 Alan Modra <amodra@gmail.com>
2309 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
2311 2020-09-29 Maciej W. Rozycki <macro@wdc.com>
2313 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
2316 2020-09-28 Richard Sandiford <richard.sandiford@arm.com>
2318 * config/aarch64/libgcc-softfp.ver: New file.
2319 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
2321 2020-09-27 Clement Chigot <clement.chigot@atos.net>
2323 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
2325 2020-09-22 Sergei Trofimovich <siarheit@google.com>
2327 PR gcov-profile/96913
2328 * libgcov-driver.c (write_one_data): Avoid function pointer
2329 comparison in TOP streaming decision.
2331 2020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
2332 Christophe Lyon <christophe.lyon@linaro.org>
2334 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
2336 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
2337 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
2340 2020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
2342 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
2343 unused variable warning.
2345 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
2347 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
2349 2020-09-09 Tom de Vries <tdevries@suse.de>
2351 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
2352 Wbuiltin-declaration-mismatch.
2354 2020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2356 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
2357 * config/msp430/srai.S (__gnu_mspabi_srap): New.
2358 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
2360 2020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
2362 * config/nvptx/atomic.c: New.
2363 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
2365 2020-08-03 Ian Lance Taylor <iant@golang.org>
2367 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
2369 2020-08-03 Jakub Jelinek <jakub@redhat.com>
2372 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
2373 of x(tmp0), x(tmp1) in STXP arguments.
2375 2020-07-31 Maciej W. Rozycki <macro@wdc.com>
2377 * config/riscv/save-restore.S [__riscv_xlen == 64]
2378 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
2379 (__riscv_save_2): Replace negative immediates used for the final
2380 stack pointer adjustment with positive ones, right-shifted by 4.
2382 2020-07-31 Martin Liska <mliska@suse.cz>
2384 * libgcov-driver.c: Add __gcov_kvp_pool
2385 and __gcov_kvp_pool_index variables.
2386 * libgcov.h (allocate_gcov_kvp): New.
2387 (gcov_topn_add_value): Use it.
2389 2020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2391 * config/aarch64/lse.S: Add PAC property note.
2393 2020-07-23 Martin Liska <mliska@suse.cz>
2395 PR gcov-profile/96035
2396 * libgcov-driver-system.c: Create gcov folders with 0777
2397 so that it respects a system umask.
2399 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
2401 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
2403 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2406 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
2407 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
2408 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
2409 (MD_DEMANGLE_RETURN_ADDR): This.
2410 (aarch64_post_extract_frame_addr): Rename to ...
2411 (aarch64_demangle_return_addr): This.
2412 (aarch64_post_frob_eh_handler_addr): Remove.
2413 * unwind-dw2.c (uw_update_context): Demangle return address.
2414 (uw_frob_return_addr): Remove.
2416 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2419 * config/aarch64/lse.S: Add BTI marking and related definitions,
2420 and add BTI c to function entries.
2422 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2424 * config/aarch64/lse.S: Add stack note.
2426 2020-07-02 Martin Liska <mliska@suse.cz>
2428 PR gcov-profile/95348
2429 * libgcov-driver.c (merge_one_data): Merge only profiles
2430 that are not of non-zero type.
2431 (write_one_data): Write counters only if there's one non-zero
2433 * libgcov-util.c (tag_function): Change signature from unsigned
2435 (tag_blocks): Likewise.
2436 (tag_arcs): Likewise.
2437 (tag_counters): Likewise.
2438 (tag_summary): Likewise.
2439 (tag_lines): Read only if COUNTERS is non-zero.
2440 (read_gcda_file): Handle negative length for COUNTERS type.
2442 2020-06-25 Martin Liska <mliska@suse.cz>
2444 * libgcov-driver.c (merge_summary): Remove function as its name
2445 is misleading and doing something different.
2446 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
2448 * libgcov-util.c (curr_object_summary): Remove.
2449 (read_gcda_file): Remove unused curr_object_summary.
2450 (gcov_merge): Merge summaries.
2451 * libgcov.h: Add summary argument for gcov_info struct.
2453 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
2456 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
2457 "common/config/i386/i386-cpuinfo.h" and
2458 "common/config/i386/cpuinfo.h".
2459 (__cpu_features2): Changed to array.
2460 (get_amd_cpu): Removed.
2461 (get_intel_cpu): Likewise.
2462 (get_available_features): Likewise.
2463 (__cpu_indicator_init): Call cpu_indicator_init.
2464 * config/i386/cpuinfo.h: Removed.
2466 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
2468 * Makefile.in: Remove uses of empty.mk. Use -include.
2469 * config/avr/t-avr: Use -include.
2472 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
2474 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
2475 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
2476 and 64 bit with -maix64.
2477 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
2478 Build and install AIX-style FAT libraries.
2480 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
2482 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
2484 * config/i386/gnu-unwind.h: New file.
2486 2020-06-17 Martin Liska <mliska@suse.cz>
2488 * libgcov-util.c (read_gcda_finalize): Remove const operator.
2489 (merge_wrapper): Add both counts and use them properly.
2490 (topn_to_memory_representation): New function.
2491 (gcov_merge): Covert on disk representation to in memory
2493 * libgcov.h: Remove const operator.
2495 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
2497 * configure: Regenerate.
2498 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
2499 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
2501 2020-06-09 Martin Liska <mliska@suse.cz>
2503 PR gcov-profile/95494
2504 * libgcov-driver.c (write_top_counters): Cast first to
2505 intptr_t as sizeof(*) != sizeof(gcov_type).
2506 * libgcov.h (gcov_counter_set_if_null): Remove.
2507 (gcov_topn_add_value): Cast first to intptr_t and update
2508 linked list directly.
2510 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
2512 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
2513 with uw_install_context_1.
2515 2020-06-04 Andreas Schwab <schwab@suse.de>
2519 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
2521 (LIB2ADD): Add config/ia64/divtf3.c.
2522 * config/ia64/divtf3.c: New file.
2524 2020-06-03 Martin Liska <mliska@suse.cz>
2526 PR gcov-profile/95480
2527 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
2528 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
2529 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
2530 (gcov_counter_set_if_null): Likewise.
2532 2020-06-02 Jim Wilson <jimw@sifive.com>
2534 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
2537 2020-06-02 Martin Liska <mliska@suse.cz>
2539 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2542 2020-06-02 Martin Liska <mliska@suse.cz>
2544 * libgcov-driver.c (prune_topn_counter): Remove.
2545 (prune_counters): Likewise.
2546 (merge_one_data): Special case TOP N counters
2547 as they have variable length.
2548 (write_top_counters): New.
2549 (write_one_data): Special case TOP N.
2550 (dump_one_gcov): Do not prune TOP N counters.
2551 * libgcov-merge.c (merge_topn_values_set): Remove.
2552 (__gcov_merge_topn): Use gcov_topn_add_value.
2553 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2555 * libgcov.h (gcov_counter_add): New.
2556 (gcov_counter_set_if_null): Likewise.
2557 (gcov_topn_add_value): New.
2559 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
2561 * config/i386/sfp-exceptions.c (struct fenv):
2562 Add __attribute__ ((gcc_struct)).
2564 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
2567 * configure: Regenerated.
2569 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
2571 PR gcov-profile/95332
2572 * libgcov-util.c (read_gcda_file): Call gcov_magic.
2573 * libgcov.h (gcov_magic): Disable GCC poison.
2575 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
2578 * config/i386/cpuinfo.h (processor_features): Move
2579 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2581 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
2584 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2587 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
2591 * config/i386/cpuinfo.c (get_available_features): Fix
2592 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
2593 * config/i386/cpuinfo.h (processor_features): Add
2594 FEATURE_AVX512VP2INTERSECT.
2596 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
2599 * configure: Regenerated.
2601 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
2603 * configure: Regenerated.
2605 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
2607 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2608 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2610 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
2612 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2613 (__math_force_eval_div): New define.
2614 (__sfp_handle_exceptions): Use __math_force_eval_div to use
2615 generic division to generate INVALID, DIVZERO and INEXACT
2618 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2620 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2621 instead of getauxval.
2623 (HWCAP_ATOMICS): Define.
2624 Guard detection on __gnu_linux__.
2626 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
2628 * config.host: Delete changes meant for a private branch.
2629 * config/rs6000/t-float128: Likewise.
2630 * configure.ac: Likewise.
2631 * configure: Likewise.
2633 2020-05-05 Martin Liska <mliska@suse.cz>
2635 PR gcov-profile/93623
2636 * Makefile.in: Remove __gcov_flush.
2637 * gcov.h (__gcov_flush): Remove.
2638 * libgcov-interface.c (__gcov_flush): Remove.
2639 (init_mx): Use renamed mutex.
2640 (__gcov_lock): Likewise.
2641 (__gcov_unlock): Likewise.
2642 (__gcov_fork): Likewise.
2643 (__gcov_flush): Remove.
2645 2020-05-05 Martin Liska <mliska@suse.cz>
2647 PR gcov-profile/93623
2648 * libgcov-interface.c (__gcov_fork): Do not flush
2649 and reset only in child process.
2650 (__gcov_execl): Dump counters only and reset them
2651 only if exec* fails.
2652 (__gcov_execlp): Likewise.
2653 (__gcov_execle): Likewise.
2654 (__gcov_execv): Likewise.
2655 (__gcov_execvp): Likewise.
2656 (__gcov_execve): Likewise.
2658 2020-05-05 Martin Liska <mliska@suse.cz>
2660 PR gcov-profile/93623
2661 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2662 * libgcov-interface.c (ALIAS_void_fn): Remove.
2664 (__gcov_unlock): New.
2665 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2666 (__gcov_reset): Likewise.
2667 (__gcov_dump): Likewise.
2668 * libgcov.h (__gcov_lock): New declaration.
2669 (__gcov_unlock): Likewise.
2671 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
2673 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
2674 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
2675 generic division to generate INVALID and DIVZERO exceptions.
2677 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
2679 * config/rs6000/crtresfpr.S: Use .machine ppc.
2680 * config/rs6000/crtresxfpr.S: Likewise.
2681 * config/rs6000/crtsavfpr.S: Likewise.
2683 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2686 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2687 Update context->flags accroding to the frame state.
2689 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
2691 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2692 Remove unneeded assignments to volatile memory.
2694 2020-04-15 Jakub Jelinek <jakub@redhat.com>
2697 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2698 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2699 is not defined, use just .arch armv8-a.
2700 (B, M, N, OPN): Define.
2701 (COMMENT): New .macro.
2702 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2703 defined. Otherwise, move the operands right after the glue? and
2704 comment out operands where the macros are used.
2705 * configure: Regenerated.
2706 * config.in: Regenerated.
2708 2020-04-07 Ian Lance Taylor <iant@golang.org>
2711 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2714 2020-04-04 Ian Lance Taylor <iant@golang.org>
2716 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2718 2020-04-03 Ian Lance Taylor <iant@golang.org>
2720 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2721 than mmap/munmap, to avoid hooks.
2723 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
2725 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2726 (TPFRA_OFFSET): Macros removed.
2727 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2728 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2729 (PG3_SKIPPING_OFFSET): New macros.
2730 (__isPATrange): Use cinfc_fast for the check.
2731 (__isSkipResetAddr): New function.
2732 (s390_fallback_frame_state): Check for skip trace addresses. Use
2733 either ICST_CRET or ICST_SRET to calculate return address
2735 (__tpf_eh_return): Handle skip trace addresses.
2737 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
2740 * config/arm/lib1funcs.asm (COND): Use a single definition for
2742 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2743 (aeabi_idivmod): Likewise.
2744 (divsi3_skip_div0_test): Likewise.
2746 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
2748 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2750 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
2752 * config.host: Include the new makefile fragment.
2753 * config/s390/t-tpf: New file.
2755 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
2757 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2759 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2760 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2761 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
2762 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
2763 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
2765 (divsi3, modsi3): Likewise.
2766 (clzdi2, ctzsi2): Likewise.
2767 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
2769 (UNWIND_WRAPPER): Likewise.
2771 2020-03-02 Martin Liska <mliska@suse.cz>
2773 * libgcov-interface.c: Remove duplicate
2774 declaration of __gcov_flush_mx.
2776 2020-02-18 Martin Liska <mliska@suse.cz>
2779 * libgcov-merge.c (merge_topn_values_set): Record
2780 when a TOP N counter becomes invalid. When merging
2781 remove a smallest value if the space is needed.
2783 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
2788 * configure: Regenerated.
2790 2020-02-10 Jeff Law <law@redhat.com>
2792 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
2794 * config/frv/frvend.c: Similarly.
2796 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
2799 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2802 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
2805 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
2806 _Unwind_gnu_Find_got.
2807 * unwind-pe.h: Likewise.
2809 2020-02-07 Jakub Jelinek <jakub@redhat.com>
2812 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
2813 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
2814 trailing :s in asm. Formatting fixes.
2815 (_Unwind_decode_typeinfo_ptr): Adjust caller.
2817 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
2819 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
2821 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
2822 * config/nios2-elf-lib.h: New.
2823 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
2824 code for finding GOT base for nios2.
2826 2020-01-27 Martin Liska <mliska@suse.cz>
2828 PR gcov-profile/93403
2829 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
2830 Call __gcov_indirect_call_profiler_body.
2831 (__gcov_indirect_call_profiler_body): New.
2832 (__gcov_indirect_call_profiler_v4_atomic): New.
2833 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
2836 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
2838 * config/arc/crti.S: Add RF16 object attribute.
2839 * config/arc/crtn.S: Likewise.
2840 * config/arc/crttls.S: Likewise.
2841 * config/arc/lib1funcs.S: Likewise.
2842 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
2843 * config/arc/lib2funcs.c: New file.
2844 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
2846 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
2848 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
2849 * configure.ac: Handle `--with-toolexeclibdir='.
2850 * configure: Regenerate.
2852 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2854 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
2856 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2858 * config/mips/gnustack.h: New file.
2859 * config/mips/crti.S: Include gnustack.h.
2860 * config/mips/crtn.S: Likewise.
2861 * config/mips/mips16.S: Likewise.
2862 * config/mips/vr4120-div.S: Likewise.
2864 2020-01-23 Martin Liska <mliska@suse.cz>
2866 * libgcov-driver.c (prune_topn_counter): Remove
2867 check for -1 as we only prune run-time counters
2868 that do not generate an invalid state.
2870 2020-01-22 Martin Liska <mliska@suse.cz>
2872 PR tree-optimization/92924
2873 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
2874 try to find an existing value, then find an empty slot
2877 2020-01-22 Martin Liska <mliska@suse.cz>
2879 PR tree-optimization/92924
2880 * libgcov-driver.c (prune_topn_counter): New.
2881 (prune_counters): Likewise.
2882 (dump_one_gcov): Prune a run-time counter.
2883 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2884 For a known value, add GCOV_TOPN_VALUES to value.
2885 Otherwise, decrement all counters by one.
2887 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
2889 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
2891 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
2894 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
2895 DEFAULT_USE_CXA_ATEXIT is true.
2897 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
2898 Thomas Preud'homme <thomas.preudhomme@arm.com>
2900 * config/arm/t-arm: Check return value of gcc rather than lack of
2903 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
2905 * config/avr/lib1funcs.S (skip): Simplify.
2907 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
2909 * config/gcn/atomic.c: Remove include of stdint.h.
2910 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
2913 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
2915 * config/gcn/atomic.c: New.
2916 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
2918 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
2920 Implement 64-bit double functions.
2923 * config.host (tmake_file) [target=avr]: Add t-libf7,
2924 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
2925 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
2926 depending on sizeof (double) or sizeof (long double).
2927 * config/avr/libf7: New folder.
2929 2020-01-05 Olivier Hainque <hainque@adacore.com>
2931 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
2934 2020-01-01 Jakub Jelinek <jakub@redhat.com>
2936 Update copyright years.
2938 2019-12-30 Olivier Hainque <hainque@adacore.com>
2940 * config/gthr-vxworks.h: Use _vxworks-versions.h.
2941 * config/gthr-vxworks-tls.c: Likewise.
2943 2019-12-30 Olivier Hainque <hainque@adacore.com>
2945 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
2946 standard zero-initializer syntax.
2948 2019-12-30 Olivier Hainque <hainque@adacore.com>
2950 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
2951 reference to the internal VX_GET_TLS_DATA interface.
2953 2019-12-30 Olivier Hainque <hainque@adacore.com>
2955 * config/vxcrtstuff.c: Fix incorrect spelling of
2956 USE_INITFINI_ARRAY in guard.
2958 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2960 * config.host: s/msp430*-*-elf/msp430-*-elf*.
2961 Override default "extra_parts" variable.
2962 * configure: Regenerate.
2963 * configure.ac: Disable TM clone registry by default for
2966 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2968 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
2970 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
2972 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2974 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
2977 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2979 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
2980 defined instead of its value.
2982 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2984 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
2985 if it will have contents.
2987 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
2990 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
2992 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
2995 * config.host: Add t-gthr-noweak on *-*-musl*.
2996 * config/t-gthr-noweak: New file.
2998 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
3000 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
3001 volatile void *. Remove trap check.
3002 (__kernel_cmpxchg2): Likewise.
3003 (FETCH_AND_OP_2): Adjust operand types.
3004 (OP_AND_FETCH_2): Likewise.
3005 (FETCH_AND_OP_WORD): Likewise.
3006 (OP_AND_FETCH_WORD): Likewise.
3007 (COMPARE_AND_SWAP_2): Likewise.
3008 (__sync_val_compare_and_swap_4): Likewise.
3009 (__sync_bool_compare_and_swap_4): Likewise.
3010 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3011 (__sync_lock_test_and_set_4): Likewise.
3012 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
3013 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
3015 (__sync_lock_release_8): Remove.
3017 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
3019 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
3022 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
3023 Doug Rupp <rupp@adacore.com>
3024 Olivier Hainque <hainque@adacore.com>
3026 * config.host: Collapse the arm-vxworks entries into
3027 a single arm-wrs-vxworks7* one.
3028 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
3029 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
3030 kernel modules, to be overriden by libstdc++ when we link with
3031 it. Rely on externally provided __exidx_start/end.
3033 2019-11-14 Doug Rupp <rupp@adacore.com>
3034 Olivier Hainque <hainque@adacore.com>
3036 * config.host: Handle aarch64*-wrs-vxworks7*.
3038 2019-11-12 Olivier Hainque <hainque@adacore.com>
3040 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
3041 sources except the cxx0x support to LIB2ADDEH. We don't support
3043 * config/t-vxworksae: New file.
3044 * config.host: Handle *-*-vxworksae: Add the two aforementioned
3045 Makefile fragment files at their expected position in the tmake_file
3046 list, in accordance with what is done for other VxWorks variants.
3048 2019-11-12 Corentin Gay <gay@adacore.com>
3049 Jerome Lambourg <lambourg@adacore.com>
3050 Olivier Hainque <hainque@adacore.com>
3052 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
3053 sources to LIB2ADDEH.
3054 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
3055 * config/t-vxworks7: Likewise.
3057 * config.host: Append a block at the end of the file to add the
3058 t-gthr files to the tmake_file list for VxWorks after everything
3061 * config/vxlib.c: Rename as gthr-vxworks.c.
3062 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
3064 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
3065 API and a basic error checking API, both internal. Simplify the
3066 __gthread_once_t type definition and initializers. Add sections
3067 for condition variables support and for the C++0x thread support,
3068 conditioned against Vx653 for the latter.
3070 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
3071 implementation, leveraging the TAS internal API.
3072 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
3073 API, leveraging the general availability of TLS services in VxWorks7
3075 (__gthread_setspecific, __gthread_setspecific): Use it.
3076 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
3077 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
3078 support based on VxWorks primitives.
3079 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
3080 based on VxWorks primitives.
3082 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
3083 Olivier Hainque <hainque@adacore.com>
3085 * config/vxcrtstuff.c: New file.
3086 * config/t-vxcrtstuff: New Makefile fragment.
3087 * config.host: Append t-vxcrtstuff to the tmake_file list
3088 on all VxWorks ports using dwarf for table based EH.
3090 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
3092 Support 64-bit double and 64-bit long double configurations.
3095 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
3096 long double is a 32-bit type.
3097 * config/avr/t-avrlibc: Copy double64 and long-double64
3098 multilib(s) from the vanilla one.
3099 * config/avr/t-copy-libgcc: New Makefile snip.
3101 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3103 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
3104 the target output object format is not ELF.
3105 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
3107 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
3110 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
3111 * fp-bit.c (pack_d, unpack_d): Remove special cases for
3112 FLOAT_BIT_ORDER_MISMATCH.
3113 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
3115 2019-11-01 Jim Wilson <jimw@sifive.com>
3117 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
3119 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3121 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
3122 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
3123 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
3124 Define symbols for 32-bit and f5series hardware multiply
3126 Replace hard-coded register addresses with symbols.
3127 Fix "_mspabi*" typo.
3129 * config/msp430/lib2mul.c: Add comment.
3131 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
3133 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
3134 unsigned int. Adjust callers.
3135 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
3136 unsigned int *. Load relocation offset before function pointer.
3137 Add barrier to ensure ordering.
3139 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
3141 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
3142 Load PIC register after branch target. Fix white space.
3143 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
3144 implementations. Load PIC register after branch target. Don't
3145 clobber function pointer when it points to function descriptor.
3146 Use nullification instead of branch in LINUX implementation.
3148 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
3150 * config/pa/fptr.c: Disable -Warray-bounds warning.
3152 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
3154 * config.in, configure: Re-rebuild with stock autoconf 2.69,
3155 not the ubuntu modified 2.69.
3158 * config/aarch64/lse-init.c: Include auto-target.h. Disable
3159 initialization if !HAVE_SYS_AUXV_H.
3160 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
3161 * config.in, configure: Rebuild.
3164 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
3167 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
3169 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
3170 CTR_EL0.IDC and CTR_EL0.DIC.
3172 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
3175 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3176 Mickaël Guêné <mickael.guene@st.com>
3178 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3181 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
3183 * config/aarch64/lse-init.c: New file.
3184 * config/aarch64/lse.S: New file.
3185 * config/aarch64/t-lse: New file.
3186 * config.host: Add t-lse to all aarch64 tuples.
3188 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3189 Mickaël Guêné <mickael.guene@st.com>
3191 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3194 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3195 Mickaël Guêné <mickael.guene@st.com>
3197 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
3198 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
3199 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
3200 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
3201 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
3202 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
3203 (__gnu_personality_sigframe_fdpic): New.
3204 (get_eit_entry): Add FDPIC signal frame support.
3206 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3207 Mickaël Guêné <mickael.guene@st.com>
3209 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
3210 (__kernel_dmb): Likewise.
3211 (__fdpic_cmpxchg): New function.
3212 (__fdpic_dmb): New function.
3213 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
3214 (gnu_Unwind_Find_got): New function.
3215 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
3216 * unwind-arm-common.inc (UCB_PR_GOT): New.
3217 (funcdesc_t): New struct.
3218 (get_eit_entry): Add FDPIC support.
3219 (unwind_phase2): Likewise.
3220 (unwind_phase2_forced): Likewise.
3221 (__gnu_Unwind_RaiseException): Likewise.
3222 (__gnu_Unwind_Resume): Likewise.
3223 (__gnu_Unwind_Backtrace): Likewise.
3224 * unwind-pe.h (read_encoded_value_with_base): Likewise.
3226 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3227 Mickaël Guêné <mickael.guene@st.com>
3229 * libgcc/crtstuff.c: Add support for FDPIC.
3231 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3233 * config.host: Handle *-*-uclinuxfdpiceabi.
3235 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
3237 * config.host: Set cpu_type for bpf-*-* targets.
3238 * config/bpf/t-bpf: Likewise.
3239 * config/bpf/crtn.S: Likewise.
3240 * config/bpf/crti.S: New file.
3242 2019-09-06 Jim Wilson <jimw@sifive.com>
3244 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3245 (riscv*-*-freebsd*): Likewise.
3247 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
3249 * config.host: Remove references to spu.
3250 * config/spu/: Remove directory.
3252 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3255 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
3256 element type, instead of "sizeof" the element type.
3257 (__DTOR_LIST__): Likewise.
3258 (__TMC_LIST__): Likewise.
3259 (__do_global_dtors_aux_fini_array_entry): Likewise.
3260 (__frame_dummy_init_array_entry): Likewise.
3261 (__CTOR_END__): Likewise.
3262 (__DTOR_END__): Likweise.
3263 (__FRAME_END__): Likewise.
3264 (__TMC_END__): Likewise.
3266 2019-08-20 Lili Cui <lilicui@intel.com>
3268 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
3269 INTEL_COREI7_COOPERLAKE.
3271 2019-07-31 Matt Thomas <matt@3am-software.com>
3272 Nick Hudson <nick@nthcliff.demon.co.uk>
3273 Matthew Green <mrg@eterna.com.au>
3274 Maya Rashish <coypu@sdf.org>
3276 * config.host (hppa*-*-netbsd*): New case.
3277 * config/pa/t-netbsd: New file.
3279 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
3281 * config/arm/cmse.c (cmse_check_address_range): Add
3282 warn_unused_result attribute.
3284 2019-07-22 Martin Liska <mliska@suse.cz>
3286 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
3287 * config/pa/t-stublib: Likewise.
3289 2019-07-22 Stafford Horne <shorne@gmail.com>
3292 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
3293 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
3294 instructions are not available on every processor. Change a
3295 l.bnf to l.bf to fix logic issue.
3297 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
3299 * config.host: Remove reference to t-darwin8.
3301 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
3303 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
3305 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
3306 mmacosx-version-min for crts to run across all system versions.
3307 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
3308 * config/t-darwin: Revise mmacosx-version-min for crts to run across
3309 system versions >= 10.4.
3311 2019-07-03 Martin Liska <mliska@suse.cz>
3313 * Makefile.in: Use topn_values instead of one_value names.
3314 * libgcov-merge.c (__gcov_merge_single): Move to ...
3315 (__gcov_merge_topn): ... this.
3316 (merge_single_value_set): Move to ...
3317 (merge_topn_values_set): ... this.
3318 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
3320 (__gcov_topn_values_profiler_body): ... this.
3321 (__gcov_one_value_profiler_v2): Move to ...
3322 (__gcov_topn_values_profiler): ... this.
3323 (__gcov_one_value_profiler_v2_atomic): Move to ...
3324 (__gcov_topn_values_profiler_atomic): ... this.
3325 (__gcov_indirect_call_profiler_v4): Remove.
3326 * libgcov-util.c (__gcov_single_counter_op): Move to ...
3327 (__gcov_topn_counter_op): ... this.
3328 * libgcov.h (L_gcov_merge_single): Remove.
3329 (L_gcov_merge_topn): New.
3330 (__gcov_merge_single): Remove.
3331 (__gcov_merge_topn): New.
3332 (__gcov_one_value_profiler_v2): Move to ..
3333 (__gcov_topn_values_profiler): ... this.
3334 (__gcov_one_value_profiler_v2_atomic): Move to ...
3335 (__gcov_topn_values_profiler_atomic): ... this.
3337 2019-07-03 Martin Liska <mliska@suse.cz>
3339 * libgcov-merge.c (merge_single_value_set): Support N values.
3340 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
3342 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
3344 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
3345 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
3346 * configure.ac: Add --disable-tm-clone-registry option.
3347 * configure: Regenerate.
3349 2019-06-27 Martin Liska <mliska@suse.cz>
3351 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
3353 * libgcov-util.c: Likewise.
3355 2019-06-27 Martin Liska <mliska@suse.cz>
3357 * libgcov-util.c (gcov_profile_merge): Release allocated
3359 (calculate_overlap): Likewise.
3361 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
3363 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
3364 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
3365 Build objects for the out of line save/restore register functions
3366 so that they can be used for any supported Darwin version.
3367 * config/t-darwin: Default the build Darwin version to Darwin8
3370 2019-06-25 Martin Liska <mliska@suse.cz>
3372 * libgcov-driver-system.c (replace_filename_variables): Do not
3373 call strlen with NULL argument.
3375 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
3377 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
3378 * config/gcn/unwind-gcn.c: New file.
3380 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
3381 Andrew Stubbs <ams@codesourcery.com>
3383 * configure: Regenerate.
3384 * config/gcn/gthr-gcn.h: New.
3386 2019-06-18 Tom de Vries <tdevries@suse.de>
3388 * config/nvptx/crt0.c (__main): Declare.
3390 2019-06-17 Matthew Green <mrg@eterna.com.au>
3391 Maya Rashish <coypu@sdf.org>
3393 * config.host (aarch64*-*-netbsd*): New case.
3395 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3397 * config/msp430/slli.S (__mspabi_sllll): New library function for
3398 performing a logical left shift of a 64-bit value.
3399 * config/msp430/srai.S (__mspabi_srall): New library function for
3400 performing a arithmetic right shift of a 64-bit value.
3401 * config/msp430/srll.S (__mspabi_srlll): New library function for
3402 performing a logical right shift of a 64-bit value.
3404 2019-06-14 Matt Thomas <matt@3am-software.com>
3405 Matthew Green <mrg@eterna.com.au>
3406 Nick Hudson <skrll@netbsd.org>
3407 Maya Rashish <coypu@sdf.org>
3409 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
3410 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
3412 * config/arm/t-netbsd-eabi: New file.
3414 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
3416 * config.host: Add PRU target.
3417 * config/pru/asri.c: New file.
3418 * config/pru/eqd.c: New file.
3419 * config/pru/eqf.c: New file.
3420 * config/pru/ged.c: New file.
3421 * config/pru/gef.c: New file.
3422 * config/pru/gtd.c: New file.
3423 * config/pru/gtf.c: New file.
3424 * config/pru/led.c: New file.
3425 * config/pru/lef.c: New file.
3426 * config/pru/lib2bitcountHI.c: New file.
3427 * config/pru/lib2divHI.c: New file.
3428 * config/pru/lib2divQI.c: New file.
3429 * config/pru/lib2divSI.c: New file.
3430 * config/pru/libgcc-eabi.ver: New file.
3431 * config/pru/ltd.c: New file.
3432 * config/pru/ltf.c: New file.
3433 * config/pru/mpyll.S: New file.
3434 * config/pru/pru-abi.h: New file.
3435 * config/pru/pru-asm.h: New file.
3436 * config/pru/pru-divmod.h: New file.
3437 * config/pru/sfp-machine.h: New file.
3438 * config/pru/t-pru: New file.
3440 2019-06-11 Jakub Jelinek <jakub@redhat.com>
3442 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
3444 2019-06-10 Martin Liska <mliska@suse.cz>
3447 * libgcov.h: Add ATTRIBUTE_UNUSED.
3449 2019-06-10 Martin Liska <mliska@suse.cz>
3451 * Makefile.in: Add __gcov_one_value_profiler_v2,
3452 __gcov_one_value_profiler_v2_atomic and
3453 __gcov_indirect_call_profiler_v4.
3454 * libgcov-merge.c (__gcov_merge_single): Change
3456 (merge_single_value_set): New.
3457 * libgcov-profiler.c (__gcov_one_value_profiler_body):
3458 Update functionality.
3459 (__gcov_one_value_profiler): Remove.
3460 (__gcov_one_value_profiler_v2): ... this.
3461 (__gcov_one_value_profiler_atomic): Rename to ...
3462 (__gcov_one_value_profiler_v2_atomic): this.
3463 (__gcov_indirect_call_profiler_v3): Rename to ...
3464 (__gcov_indirect_call_profiler_v4): ... this.
3465 * libgcov.h (__gcov_one_value_profiler): Remove.
3466 (__gcov_one_value_profiler_atomic): Remove.
3467 (__gcov_one_value_profiler_v2_atomic): New.
3468 (__gcov_indirect_call_profiler_v3): Remove.
3469 (__gcov_one_value_profiler_v2): New.
3470 (__gcov_indirect_call_profiler_v4): New.
3471 (gcov_get_counter_ignore_scaling): New function.
3473 2019-06-07 Martin Liska <mliska@suse.cz>
3475 * Makefile.in: Remove usage of
3476 _gcov_merge_icall_topn.
3477 * libgcov-driver.c (gcov_sort_n_vals): Remove.
3478 (gcov_sort_icall_topn_counter): Likewise.
3479 (gcov_sort_topn_counter_arrays): Likewise.
3480 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
3481 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
3482 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
3484 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
3485 (struct indirect_call_tuple): Remove.
3486 (__gcov_indirect_call_topn_profiler): Remove.
3487 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
3488 * libgcov.h (gcov_sort_n_vals): Remove.
3489 (L_gcov_merge_icall_topn): Likewise.
3490 (__gcov_merge_icall_topn): Likewise.
3491 (__gcov_indirect_call_topn_profiler): Likewise.
3493 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
3495 * config/rs6000/t-darwin: Ensure that the unwinder is built with
3498 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3500 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
3502 (__mspabi_slli): Likewise.
3503 (__mspabi_slll_n): Likewise.
3504 (__mspabi_slll): Likewise.
3505 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
3506 (__mspabi_srai): Likewise.
3507 (__mspabi_sral_n): Likewise.
3508 (__mspabi_sral): Likewise.
3509 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
3510 (__mspabi_srli): Likewise.
3511 (__mspabi_srll_n): Likewise.
3512 (__mspabi_srll): Likewise.
3514 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
3516 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
3517 Add appropriate tm_file clause as well.
3518 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
3520 2019-06-05 James Clarke <jrtc27@jrtc27.com>
3522 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
3523 rather than .data/.bss so it can be accessed via gp-relative
3526 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
3528 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
3529 (CR2_REGNO): Rename to R_CR2.
3530 (XER_REGNO): Rename to R_XER.
3531 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
3532 (VRSAVE_REGNO): Rename to R_VRSAVE.
3533 (VSCR_REGNO): R_VSCR.
3535 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
3537 * config.host (rx-*-linux*): Add new case.
3538 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3540 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
3542 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3544 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3545 aarch64_post_frob_eh_handler_addr): Add check for b-key.
3546 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3547 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3548 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3549 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3551 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3553 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3555 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3557 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3558 Remove Solaris 9 and 10 support.
3559 (sparc_is_sighandler): Likewise.
3561 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
3563 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3565 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
3567 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3568 4_FP_W_TYPEs are used for IEEE quad precision.
3569 * soft-fp/extendhftf2.c: Likewise.
3570 * soft-fp/extendsftf2.c: Likewise.
3571 * soft-fp/extendxftf2.c: Likewise.
3572 * soft-fp/trunctfdf2.c: Likewise.
3573 * soft-fp/trunctfhf2.c: Likewise.
3574 * soft-fp/trunctfsf2.c: Likewise.
3575 * soft-fp/trunctfxf2.c: Likewise.
3576 * config/rs6000/ibm-ldouble.c: Likewise.
3578 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3580 * config.host: Simplify various *-*-solaris2.1[0-9]* to
3582 * configure.ac: Likewise.
3583 * configure: Regenerate.
3585 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3586 Solaris 10 and Solaris 11 < snv_125 handling.
3588 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
3590 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3592 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
3594 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3595 * config/i386/cpuinfo.h (enum processor_features): Add
3598 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3599 Bernd Edlinger <bernd.edlinger@hotmail.de>
3600 Jakub Jelinek <jakub@redhat.com>
3603 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3604 * config/arm/unwind-arm.c: Likewise.
3605 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3608 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
3610 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3611 (RT_SIGRETURN): Update.
3612 (nds32_fallback_frame_state): Update.
3614 2019-02-21 Martin Sebor <msebor@redhat.com>
3616 * libgcc2.h (__clear_cache): Correct signature.
3617 * libgcc2.c (__clear_cache): Same.
3619 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
3621 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3622 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3624 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
3626 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3627 regno instead of index to DWARF_ZERO_REG.
3629 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
3631 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3632 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3634 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
3636 * config/alpha/t-linux: Add -mfp-rounding-mode=d
3637 to HOST_LIBGCC2_CFLAGS.
3639 2019-01-23 Joseph Myers <joseph@codesourcery.com>
3642 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
3644 2019-01-18 Martin Liska <mliska@suse.cz>
3646 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3648 (__gcov_indirect_call_profiler_v3): ... this.
3649 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3650 (__gcov_indirect_call_profiler_v3): Likewise.
3651 * Makefile.in: Bump function name.
3653 2019-01-18 Martin Liska <mliska@suse.cz>
3655 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3656 (gcov_version): Use in gcov_error.
3657 (merge_one_data): Likewise.
3658 (dump_one_gcov): Likewise.
3660 2019-01-18 Martin Liska <mliska@suse.cz>
3662 * libgcov-driver.c (gcov_version_string): New function.
3663 (gcov_version): Convert version integer into string.
3665 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
3666 Kwok Cheung Yeung <kcy@codesourcery.com>
3667 Julian Brown <julian@codesourcery.com>
3668 Tom de Vries <tom@codesourcery.com>
3670 * config.host: Recognize amdgcn*-*-amdhsa.
3671 * config/gcn/crt0.c: New file.
3672 * config/gcn/lib2-divmod-hi.c: New file.
3673 * config/gcn/lib2-divmod.c: New file.
3674 * config/gcn/lib2-gcn.h: New file.
3675 * config/gcn/sfp-machine.h: New file.
3676 * config/gcn/t-amdgcn: New file.
3678 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
3682 * config/c6x/libunwind.S: Mechanically replace "can not" with
3684 * config/tilepro/atomic.h: Likewise.
3685 * config/vxlib-tls.c: Likewise.
3686 * generic-morestack-thread.c: Likewise.
3687 * generic-morestack.c: Likewise.
3688 * mkmap-symver.awk: Likewise.
3690 2019-01-01 Jakub Jelinek <jakub@redhat.com>
3692 Update copyright years.
3694 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3696 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3697 to ignore -Waddress-of-packed-member.
3699 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
3701 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3702 parameter and corresponding code.
3703 (ARM_FUNC_START): Likewise in both definitions.
3704 Also update footer comment about condition that need to match with
3705 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3706 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3707 defined. Weakly define it in this case.
3708 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3709 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3710 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3711 comment to keep condition in sync with the one in
3712 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3714 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
3716 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3717 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3719 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3721 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3722 and .cfi_endproc directives for VxWorks targets.
3724 2018-12-05 Paul Koning <ni1d@arrl.net>
3726 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3728 2018-11-27 Alan Modra <amodra@gmail.com>
3730 * config/rs6000/morestack.S (__stack_split_initialize),
3731 (__morestack_get_guard, __morestack_set_guard),
3732 (__morestack_make_guard): Provide CFI covering these functions.
3733 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3735 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3737 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
3738 (sc_pt_regs_lr): Update for kernel.
3739 (sc_pt_regs_tls): Update for kernel.
3741 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3743 * config/csky/linux-unwind.h: Fix coding style.
3745 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
3747 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
3748 (csky_fallback_frame_state): Modify the check of the
3749 instructions to adapt to changes in the kernel
3751 2018-11-09 Stafford Horne <shorne@gmail.com>
3752 Richard Henderson <rth@twiddle.net>
3754 * config.host: Add OpenRISC support.
3755 * config/or1k/*: New.
3757 2018-11-08 Kito Cheng <kito@andestech.com>
3759 * soft-fp/adddf3.c: Update from glibc.
3760 * soft-fp/addsf3.c: Likewise.
3761 * soft-fp/addtf3.c: Likewise.
3762 * soft-fp/divdf3.c: Likewise.
3763 * soft-fp/divsf3.c: Likewise.
3764 * soft-fp/divtf3.c: Likewise.
3765 * soft-fp/double.h: Likewise.
3766 * soft-fp/eqdf2.c: Likewise.
3767 * soft-fp/eqsf2.c: Likewise.
3768 * soft-fp/eqtf2.c: Likewise.
3769 * soft-fp/extenddftf2.c: Likewise.
3770 * soft-fp/extended.h: Likewise.
3771 * soft-fp/extendhftf2.c: Likewise.
3772 * soft-fp/extendsfdf2.c: Likewise.
3773 * soft-fp/extendsftf2.c: Likewise.
3774 * soft-fp/extendxftf2.c: Likewise.
3775 * soft-fp/fixdfdi.c: Likewise.
3776 * soft-fp/fixdfsi.c: Likewise.
3777 * soft-fp/fixdfti.c: Likewise.
3778 * soft-fp/fixhfti.c: Likewise.
3779 * soft-fp/fixsfdi.c: Likewise.
3780 * soft-fp/fixsfsi.c: Likewise.
3781 * soft-fp/fixsfti.c: Likewise.
3782 * soft-fp/fixtfdi.c: Likewise.
3783 * soft-fp/fixtfsi.c: Likewise.
3784 * soft-fp/fixtfti.c: Likewise.
3785 * soft-fp/fixunsdfdi.c: Likewise.
3786 * soft-fp/fixunsdfsi.c: Likewise.
3787 * soft-fp/fixunsdfti.c: Likewise.
3788 * soft-fp/fixunshfti.c: Likewise.
3789 * soft-fp/fixunssfdi.c: Likewise.
3790 * soft-fp/fixunssfsi.c: Likewise.
3791 * soft-fp/fixunssfti.c: Likewise.
3792 * soft-fp/fixunstfdi.c: Likewise.
3793 * soft-fp/fixunstfsi.c: Likewise.
3794 * soft-fp/fixunstfti.c: Likewise.
3795 * soft-fp/floatdidf.c: Likewise.
3796 * soft-fp/floatdisf.c: Likewise.
3797 * soft-fp/floatditf.c: Likewise.
3798 * soft-fp/floatsidf.c: Likewise.
3799 * soft-fp/floatsisf.c: Likewise.
3800 * soft-fp/floatsitf.c: Likewise.
3801 * soft-fp/floattidf.c: Likewise.
3802 * soft-fp/floattihf.c: Likewise.
3803 * soft-fp/floattisf.c: Likewise.
3804 * soft-fp/floattitf.c: Likewise.
3805 * soft-fp/floatundidf.c: Likewise.
3806 * soft-fp/floatundisf.c: Likewise.
3807 * soft-fp/floatunditf.c: Likewise.
3808 * soft-fp/floatunsidf.c: Likewise.
3809 * soft-fp/floatunsisf.c: Likewise.
3810 * soft-fp/floatunsitf.c: Likewise.
3811 * soft-fp/floatuntidf.c: Likewise.
3812 * soft-fp/floatuntihf.c: Likewise.
3813 * soft-fp/floatuntisf.c: Likewise.
3814 * soft-fp/floatuntitf.c: Likewise.
3815 * soft-fp/gedf2.c: Likewise.
3816 * soft-fp/gesf2.c: Likewise.
3817 * soft-fp/getf2.c: Likewise.
3818 * soft-fp/half.h: Likewise.
3819 * soft-fp/ledf2.c: Likewise.
3820 * soft-fp/lesf2.c: Likewise.
3821 * soft-fp/letf2.c: Likewise.
3822 * soft-fp/muldf3.c: Likewise.
3823 * soft-fp/mulsf3.c: Likewise.
3824 * soft-fp/multf3.c: Likewise.
3825 * soft-fp/negdf2.c: Likewise.
3826 * soft-fp/negsf2.c: Likewise.
3827 * soft-fp/negtf2.c: Likewise.
3828 * soft-fp/op-1.h: Likewise.
3829 * soft-fp/op-2.h: Likewise.
3830 * soft-fp/op-4.h: Likewise.
3831 * soft-fp/op-8.h: Likewise.
3832 * soft-fp/op-common.h: Likewise.
3833 * soft-fp/quad.h: Likewise.
3834 * soft-fp/single.h: Likewise.
3835 * soft-fp/soft-fp.h: Likewise.
3836 * soft-fp/subdf3.c: Likewise.
3837 * soft-fp/subsf3.c: Likewise.
3838 * soft-fp/subtf3.c: Likewise.
3839 * soft-fp/truncdfsf2.c: Likewise.
3840 * soft-fp/trunctfdf2.c: Likewise.
3841 * soft-fp/trunctfhf2.c: Likewise.
3842 * soft-fp/trunctfsf2.c: Likewise.
3843 * soft-fp/trunctfxf2.c: Likewise.
3844 * soft-fp/unorddf2.c: Likewise.
3845 * soft-fp/unordsf2.c: Likewise.
3846 * soft-fp/unordtf2.c: Likewise.
3848 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
3850 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
3851 * config/i386/cpuinfo.h (processor_types): Add znver2.
3853 2018-11-01 Paul Koning <ni1d@arrl.net>
3855 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
3856 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
3858 2018-10-31 Joseph Myers <joseph@codesourcery.com>
3861 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
3862 * configure: Regenerate.
3864 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
3866 * config/arc/lib1funcs.S (_muldi3): New function.
3867 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
3869 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3871 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
3873 2018-10-25 Martin Liska <mliska@suse.cz>
3876 * libgcov-profiler.c: Revert.
3878 2018-10-24 Martin Liska <mliska@suse.cz>
3880 * libgcov-profiler.c: Start from 1 in order to distinguish
3881 functions which were seen and these that were not.
3883 2018-10-18 Paul Koning <ni1d@arrl.net>
3885 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
3887 * divmod.c: Update references to __udivmodsi4.
3889 * udivhi3.c: New file.
3890 * udivmodhi4.c: New file.
3891 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
3893 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3895 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
3897 2018-10-12 Olivier Hainque <hainque@adacore.com>
3899 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
3900 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
3902 2018-10-08 Paul Koning <ni1d@arrl.net>
3904 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
3906 2018-10-04 Martin Liska <mliska@suse.cz>
3908 PR gcov-profile/84107
3909 * libgcov-profiler.c (__gcov_indirect_call):
3910 Change type to indirect_call_tuple.
3911 (struct indirect_call_tuple): New struct.
3912 (__gcov_indirect_call_topn_profiler): Change type.
3913 (__gcov_indirect_call_profiler_v2): Use the new
3915 * libgcov.h (struct indirect_call_tuple): New struct
3918 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
3920 * libgcc2.c (isnan): Use __builtin_isnan.
3921 (isfinite): Use __builtin_isfinite.
3922 (isinf): Use __builtin_isinf.
3924 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
3926 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
3928 2018-09-21 Alexandre Oliva <oliva@adacore.com>
3930 * config/vxcache.c: New file. Provide __clear_cache, based on
3931 the cacheTextUpdate VxWorks service.
3932 * config/t-vxworks (LIB2ADD): Add vxcache.c.
3933 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
3934 * config/t-vxwoks7: Likewise.
3936 2018-09-21 Martin Liska <mliska@suse.cz>
3938 * libgcov-driver.c (crc32_unsigned): Remove.
3939 (gcov_histogram_insert): Likewise.
3940 (gcov_compute_histogram): Likewise.
3941 (compute_summary): Simplify rapidly.
3942 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
3943 (merge_summary): Rapidly simplify.
3944 (dump_one_gcov): Ignore gcov_summary.
3945 (gcov_do_dump): Do not handle program summary, it's not
3947 * libgcov-util.c (tag_summary): Remove.
3948 (read_gcda_finalize): Fix coding style.
3949 (read_gcda_file): Initialize curr_object_summary.
3950 (compute_summary): Remove.
3951 (calculate_overlap): Remove settings of run_max.
3953 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
3955 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
3956 ucontext_t type instead.
3957 (nds32_fallback_frame_state): Remove struct _sigframe statement.
3959 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
3961 * config/nds32/t-nds32-glibc: New file.
3963 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3965 * configure.ac (solaris_ld_v2_maps): New test.
3966 * configure: Regenerate.
3967 * Makefile.in (solaris_ld_v2_maps): New variable.
3968 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
3971 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
3974 * config/arm/lib1funcs.asm (speculation_barrier): New function.
3975 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
3978 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
3980 * config/unwind-dw2-fde-darwin.c
3981 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
3982 * config/darwin10-unwind-find-enc-func.c: … to here.
3983 * config/t-darwin: Build Darwin10 unwinder shim crt.
3984 * libgcc/config.host: Add the Darwin10 unwinder shim.
3986 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3988 * config.host: Add crtbegin.o and crtend.o for
3989 powerpc-wrs-vxworks target.
3991 2018-08-17 Jojo <jijie_rong@c-sky.com>
3992 Huibin Wang <huibin_wang@c-sky.com>
3993 Sandra Loosemore <sandra@codesourcery.com>
3994 Chung-Lin Tang <cltang@codesourcery.com>
3998 * config.host: Add C-SKY support.
3999 * config/csky/*: New.
4001 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
4003 * config/nds32/t-nds32-isr: Rearrange object dependency.
4004 * config/nds32/initfini.c: Add dwarf2 unwinding support.
4005 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
4006 and registers usage.
4007 * config/nds32/isr-library/excp_isr.S: Ditto.
4008 * config/nds32/isr-library/intr_isr.S: Ditto.
4009 * config/nds32/isr-library/reset.S: Ditto.
4010 * config/nds32/isr-library/restore_all.inc: Ditto.
4011 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
4012 * config/nds32/isr-library/restore_partial.inc: Ditto.
4013 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
4014 * config/nds32/isr-library/save_all.inc: Ditto.
4015 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
4016 * config/nds32/isr-library/save_partial.inc: Ditto.
4017 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
4018 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
4020 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
4022 * config/pa/linux-atomic.c: Update comment.
4023 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
4024 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
4025 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
4026 __ATOMIC_RELAXED for atomic loads.
4027 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
4028 unordered store to release lock.
4029 (__sync_lock_release_8): Likewise.
4030 (SYNC_LOCK_RELEASE_2): Remove define.
4032 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
4035 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
4036 exponent goes negative. Update my email address.
4037 * config/arm/ieee754-sf.S: Likewise.
4039 2018-08-01 Martin Liska <mliska@suse.cz>
4041 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
4042 check that __gcov_indirect_call_callee is non-null.
4044 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
4046 * config/arm/ieee754-df.S: Fix comment for code working on
4048 * config/arm/ieee754-sf.S: Likewise.
4050 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
4053 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4056 2018-07-05 James Clarke <jrtc27@jrtc27.com>
4058 * configure: Regenerated.
4060 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4062 * Makefile.in (install_leaf): Use enable_gcov instead of
4065 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4067 * configure.ac: Add --disable-gcov option.
4068 * configure: Regenerate.
4069 * Makefile.in: Honour @enable_gcov@.
4071 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
4073 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
4074 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
4075 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
4076 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
4078 * config/arm/ieee754-sf.S: Likewise.
4079 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
4081 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
4083 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
4085 * config/arm/ieee754-sf.S: Likewise.
4087 2018-06-20 Than McIntosh <thanm@google.com>
4090 * generic-morestack.c (allocate_segment): Move calls to getenv and
4091 getpagesize to __morestack_load_mmap.
4092 (__morestack_load_mmap) Initialize static_pagesize and
4093 use_guard_page here so as to avoid clobbering SSE regs during a
4096 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
4098 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
4099 support modules with -mno-gnu-attribute.
4100 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
4102 2018-06-07 Olivier Hainque <hainque@adacore.com>
4104 * config/t-vxworks (LIBGCC_INCLUDES): Add
4105 -I$(MULTIBUILDTOP)../../gcc/include.
4106 * config/t-vxworks7: Likewise. Reformat a bit to match
4107 the t-vxworks layout.
4109 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
4111 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
4113 2018-06-07 Martin Liska <mliska@suse.cz>
4115 * libgcov-driver.c: Rename cs_all to all and assign it from
4118 2018-06-07 Martin Liska <mliska@suse.cz>
4121 * libgcov-driver-system.c (replace_filename_variables): Use
4122 memcpy instead of mempcpy.
4123 (allocate_filename_struct): Do not allocate filename, allocate
4125 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
4126 here and properly copy content into it.
4127 * libgcov-driver.c (struct gcov_filename): Remove max_length
4128 field, change prefix from size_t into char *.
4129 (compute_summary): Do not calculate longest filename.
4130 (gcov_do_dump): Release memory of gf.filename after each file.
4131 * libgcov-util.c (compute_summary): Use new signature of
4133 (calculate_overlap): Likewise.
4135 2018-06-05 Martin Liska <mliska@suse.cz>
4137 PR gcov-profile/47618
4138 * libgcov-driver-system.c (replace_filename_variables): New
4140 (gcov_exit_open_gcda_file): Use it.
4142 2018-06-05 Martin Liska <mliska@suse.cz>
4144 * libgcov-driver.c (gcov_compute_histogram): Remove usage
4145 of gcov_ctr_summary.
4146 (compute_summary): Do it just for a single summary.
4147 (merge_one_data): Likewise.
4148 (merge_summary): Simplify as we read just single summary.
4149 (dump_one_gcov): Pass proper argument.
4150 * libgcov-util.c (compute_one_gcov): Simplify as we have just
4152 (gcov_info_count_all_cold): Likewise.
4153 (calculate_overlap): Likewise.
4155 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
4156 Monk Chiang <sh.chiang04@gmail.com>
4158 * config.host (nds32*-linux*): New.
4159 * config/nds32/linux-atomic.c: New file.
4160 * config/nds32/linux-unwind.h: New file.
4162 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
4165 * config/i386/cpuinfo.c (get_amd_cpu): Return
4166 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
4168 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
4170 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
4172 2018-05-29 Martin Liska <mliska@suse.cz>
4174 PR gcov-profile/85759
4175 * libgcov-driver-system.c (gcov_error): Introduce usage of
4176 GCOV_EXIT_AT_ERROR env. variable.
4177 * libgcov-driver.c (merge_one_data): Print error that we
4178 overwrite a gcov file with a different timestamp.
4180 2018-05-23 Kalamatee <kalamatee@gmail.com>
4182 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
4185 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
4186 Monk Chiang <sh.chiang04@gmail.com>
4187 Jim Wilson <jimw@sifive.com>
4189 * config/riscv/save-restore.S: Add support for rv32e.
4191 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4193 * config/arm/libunwind.S: Update comment relating to armv5.
4195 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
4197 * config/arm/cmse.c (cmse_check_address_range): Replace
4198 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
4200 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
4202 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
4203 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
4205 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
4207 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
4208 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
4210 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
4212 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
4214 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
4215 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
4218 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
4219 op_and_fetch to return the right result.
4221 2018-04-27 Alan Modra <amodra@gmail.com>
4224 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
4225 -fno-asynchronous-unwind-tables.
4227 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
4229 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
4230 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
4232 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
4234 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
4235 when including "config/i386/shadow-stack-unwind.h".
4237 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
4239 * configure: Regenerated.
4241 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
4244 * config/rs6000/_powikf2.c: New file. Add support for the
4245 __builtin_powil function when long double is IEEE 128-bit floating
4247 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
4249 (__powikf2): Likewise.
4250 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
4251 (__powikf2_hw): Likewise.
4252 (__powikf2): Likewise.
4253 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
4254 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
4255 (_powikf2-hw.c): Likewise.
4257 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
4260 * unwind-generic.h (_Unwind_Frames_Increment): New.
4261 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4263 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
4264 count with _Unwind_Frames_Increment.
4265 (_Unwind_ForcedUnwind_Phase2): Likewise.
4267 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
4270 * config/i386/morestack.S (__stack_split_initialize): Add
4273 2018-04-19 Jakub Jelinek <jakub@redhat.com>
4275 * configure: Regenerated.
4277 2018-04-18 David Malcolm <dmalcolm@redhat.com>
4280 * configure: Regenerate.
4282 2018-04-16 Jakub Jelinek <jakub@redhat.com>
4285 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
4286 -Wdangling-else warnings. Mask shift counts to avoid
4287 -Wshift-count-negative and -Wshift-count-overflow false positives.
4289 2018-04-06 Ruslan Bukin <br@bsdpad.com>
4291 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
4293 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
4296 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
4297 (XSTATE_FP): Likewise.
4298 (XSTATE_SSE): Likewise.
4299 (XSTATE_YMM): Likewise.
4300 (XSTATE_OPMASK): Likewise.
4301 (XSTATE_ZMM): Likewise.
4302 (XSTATE_HI_ZMM): Likewise.
4303 (XCR_AVX_ENABLED_MASK): Likewise.
4304 (XCR_AVX512F_ENABLED_MASK): Likewise.
4305 (get_available_features): Enable AVX and AVX512 features only
4306 if their states are supported by OSXSAVE.
4308 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4311 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4312 Fix a typo, tmp => 255.
4314 2018-03-20 Jakub Jelinek <jakub@redhat.com>
4317 * config/i386/cpuinfo.h (__cpu_features2): Declare.
4318 * config/i386/cpuinfo.c (__cpu_features2): New variable for
4320 (set_feature): Define.
4321 (get_available_features): Use set_feature macro. Set __cpu_features2
4322 to the second word of features ifndef SHARED.
4324 2018-03-15 Julia Koval <julia.koval@intel.com>
4326 * config/i386/cpuinfo.c (get_available_features): Add
4327 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
4328 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
4329 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
4330 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
4331 FEATURE_AVX512BITALG.
4333 2018-03-14 Julia Koval <julia.koval@intel.com>
4335 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
4336 icelake client and icelake server.
4338 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
4340 * config/pa/fptr.c (_dl_read_access_allowed): New.
4341 (__canonicalize_funcptr_for_compare): Use it.
4343 2018-02-28 Jakub Jelinek <jakub@redhat.com>
4346 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
4347 $asm_hidden_op if visibility ("hidden") attribute works.
4348 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
4349 * config/i386/i386-asm.h: Don't include auto-host.h.
4350 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
4351 PACKAGE_URL): Don't undefine.
4352 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
4353 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
4354 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
4355 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
4356 definition instead of hardcoded .hidden.
4357 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
4358 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
4359 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
4360 (USE_GAS_CFI_DIRECTIVES): Don't define.
4361 * configure: Regenerated.
4362 * config.in: Likewise.
4364 2018-02-26 Jakub Jelinek <jakub@redhat.com>
4367 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
4368 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
4369 inclusion of auto-target.h and auto-host.h.
4370 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
4371 __GCC_HAVE_DWARF2_CFI_ASM.
4372 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4373 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
4375 * config/i386/cygwin.S: Don't include auto-host.h here, just
4376 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
4377 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4378 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
4379 * config/i386/resms64fx.h: Add cfi_* directives.
4380 * config/i386/resms64x.h: Likewise.
4382 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
4384 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
4385 .literal_position directive.
4386 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
4388 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4391 * configure: Regenerate.
4393 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4396 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4397 Include cetintrin.h not x86intrin.h.
4399 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4402 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4403 Use new _get_ssp and _inc_ssp intrinsics.
4405 2018-02-02 Julia Koval <julia.koval@intel.com>
4407 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
4409 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4411 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
4413 (__divsi3): Use RF16 safe registers.
4414 (__modsi3): Likewise.
4416 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
4418 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
4419 (__divsf3): Make NaN return value quiet.
4420 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
4421 (__divdf3): Make NaN return value quiet.
4423 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4425 * config/rl78/anddi3.S: New assembly file.
4426 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
4428 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4430 * config/rl78/umindi3.S: New assembly file.
4431 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
4433 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4435 * config/rl78/smindi3.S: New assembly file.
4436 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
4438 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4440 * config/rl78/smaxdi3.S: New assembly file.
4441 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
4443 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4445 * config/rl78/umaxdi3.S: New assembly file.
4446 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
4448 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
4451 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
4452 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
4454 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
4456 * config/aarch64/value-unwind.h (aarch64_vg): New function.
4457 (DWARF_LAZY_REGISTER_VALUE): Define.
4458 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
4459 to provide a fallback register value.
4461 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
4463 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
4464 __ibm128, instead of trying to use long double.
4465 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
4466 accomidate -mabi=ieeelongdouble multilibs.
4467 (CVT_IBM128_TO_FLOAT128): Likewise.
4468 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
4469 the appropriate IBM extended double type.
4470 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
4471 (__gcc_qsub): Likewise.
4472 (__gcc_qmul): Likewise.
4473 (__gcc_qdiv): Likewise.
4474 (pack_ldouble): Likewise.
4475 (__gcc_qneg): Likewise.
4476 (__gcc_qeq): Likewise.
4477 (__gcc_qne): Likewise.
4478 (__gcc_qge): Likewise.
4479 (__gcc_qle): Likewise.
4480 (__gcc_stoq): Likewise.
4481 (__gcc_dtoq): Likewise.
4482 (__gcc_itoq): Likewise.
4483 (__gcc_utoq): Likewise.
4484 (__gcc_qunord): Likewise.
4485 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
4486 quad-float128.h for the definitions.
4487 (COPYSIGN): Use the f128 version instead of the q version.
4488 (INFINITY): Likewise.
4489 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
4490 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
4491 quad-float128.h for the definitions.
4492 (COPYSIGN): Use the f128 version instead of the q version.
4493 (INFINITY): Likewise.
4495 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
4496 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
4497 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
4499 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
4501 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
4504 2018-01-03 Jakub Jelinek <jakub@redhat.com>
4506 Update copyright years.
4508 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
4510 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
4511 * config/riscv/multi3.c: New file.
4512 * config/riscv/multi3.S: Remove.
4514 2017-12-08 Jim Wilson <jimw@sifive.com>
4516 * config/riscv/div.S: Use FUNC_* macros.
4517 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
4518 * config/riscv/save-restore.S: Likewise.
4519 * config/riscv/riscv-asm.h: New.
4521 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
4523 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
4524 * config/rs6000/_divkc3.c (__divkc3): Likewise.
4527 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
4528 correct type for all ifunc resolvers to silence -Wattribute-alias
4529 warnings. Eliminate the forward declaration of the resolver
4530 functions which is no longer needed.
4531 (__subkf3_resolve): Likewise.
4532 (__mulkf3_resolve): Likewise.
4533 (__divkf3_resolve): Likewise.
4534 (__negkf2_resolve): Likewise.
4535 (__eqkf2_resolve): Likewise.
4536 (__nekf2_resolve): Likewise.
4537 (__gekf2_resolve): Likewise.
4538 (__gtkf2_resolve): Likewise.
4539 (__lekf2_resolve): Likewise.
4540 (__ltkf2_resolve): Likewise.
4541 (__unordkf2_resolve): Likewise.
4542 (__extendsfkf2_resolve): Likewise.
4543 (__extenddfkf2_resolve): Likewise.
4544 (__trunckfsf2_resolve): Likewise.
4545 (__trunckfdf2_resolve): Likewise.
4546 (__fixkfsi_resolve): Likewise.
4547 (__fixkfdi_resolve): Likewise.
4548 (__fixunskfsi_resolve): Likewise.
4549 (__fixunskfdi_resolve): Likewise.
4550 (__floatsikf_resolve): Likewise.
4551 (__floatdikf_resolve): Likewise.
4552 (__floatunsikf_resolve): Likewise.
4553 (__floatundikf_resolve): Likewise.
4554 (__extendkftf2_resolve): Likewise.
4555 (__trunctfkf2_resolve): Likewise.
4558 * config/rs6000/quad-float128.h (TF): Don't define if long double
4559 is IEEE 128-bit floating point.
4560 (TCtype): Define as either TCmode or KCmode, depending on whether
4561 long double is IEEE 128-bit floating point.
4562 (__mulkc3_sw): Add declarations for software/hardware versions of
4563 complex multiply/divide.
4564 (__divkc3_sw): Likewise.
4565 (__mulkc3_hw): Likewise.
4566 (__divkc3_hw): Likewise.
4567 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4568 handlers to switch between using software emulation and hardware
4569 float128 instructions, build the complex multiply/divide functions
4570 for both software and hardware support.
4571 * config/rs6000/_divkc3.c (_divkc3): Likewise.
4572 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4573 (__divkc3_resolve): Likewise.
4574 (__mulkc3): Likewise.
4575 (__divkc3): Likewise.
4576 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4577 (fp128_hw_src): Likewise.
4578 (fp128_hw_static_obj): Likewise.
4579 (fp128_hw_shared_obj): Likewise.
4580 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4581 _mulkc3.c and _divkc3.c, changing the function name.
4582 (_divkc3-hw.c): Likewise.
4583 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4586 2017-11-26 Julia Koval <julia.koval@intel.com>
4588 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4589 * config/i386/cpuinfo.h (processor_subtypes): Add
4590 INTEL_COREI7_CANNONLAKE.
4592 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4595 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4597 * config/xtensa/unwind-dw2-xtensa.c: Likewise
4598 * config/ia64/unwind-ia64.c: Add frames parameter.
4599 * unwind-sjlj.c: Likewise.
4601 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4603 * config/i386/linux-unwind.h: Include
4604 config/i386/shadow-stack-unwind.h.
4605 * config/i386/shadow-stack-unwind.h: New file.
4606 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4607 pass it to _Unwind_Frames_Extra.
4608 * unwind-generic.h (_Unwind_Frames_Extra): New.
4609 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4610 parameter. Add local variable frames to count number of frames.
4611 (_Unwind_ForcedUnwind_Phase2): Likewise.
4612 (_Unwind_RaiseException): Add local variable frames to count
4613 number of frames, pass it to _Unwind_RaiseException_Phase2 and
4615 (_Unwind_ForcedUnwind): Likewise.
4616 (_Unwind_Resume): Likewise.
4617 (_Unwind_Resume_or_Rethrow): Likewise.
4619 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4621 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4623 * config/i386/morestack.S: Include <cet.h>.
4624 (__morestack_large_model): Add _CET_ENDBR at function entrance.
4625 * config/i386/resms64.h: Include <cet.h>.
4626 * config/i386/resms64f.h: Likewise.
4627 * config/i386/resms64fx.h: Likewise.
4628 * config/i386/resms64x.h: Likewise.
4629 * config/i386/savms64.h: Likewise.
4630 * config/i386/savms64f.h: Likewise.
4631 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4632 (CRTSTUFF_T_CFLAGS): Likewise.
4633 * configure.ac: Include ../config/cet.m4.
4634 Set and substitute CET_FLAGS.
4635 * configure: Regenerated.
4637 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4639 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4641 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4642 * configure.ac (libgcc_cv_solaris_crts): Likewise.
4643 * configure: Regenerate.
4645 2017-11-07 Tom de Vries <tom@codesourcery.com>
4647 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4648 after "do {} while (0)".
4650 2017-11-07 Tom de Vries <tom@codesourcery.com>
4653 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4654 semicolon after "do {} while (0)".
4655 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4656 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4657 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4658 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4660 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
4663 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4664 sysctl to determine whether we're in a trampoline.
4665 Keep the pattern matching method for systems without
4666 KERN_PROC_SIGTRAMP sysctl.
4668 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
4669 Vineet Gupta <vgupta@synopsys.com>
4671 * config.host (arc*-*-linux*): Set md_unwind_header variable.
4672 * config/arc/linux-unwind-reg.def: New file.
4673 * config/arc/linux-unwind-reg.h: Likewise.
4675 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
4677 * config/rl78/subdi3.S: New assembly file.
4678 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4680 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
4682 * config/rl78/adddi3.S: New assembly file.
4683 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4685 2017-10-13 Jakub Jelinek <jakub@redhat.com>
4688 * libgcc2.c (__mulvDI3): If both operands have
4689 the same highpart of -1 and the topmost bit of lowpart is 0,
4690 multiplication overflows even if both lowparts are 0.
4692 2017-09-28 James Bowman <james.bowman@ftdichip.com>
4694 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4696 2017-09-26 Joseph Myers <joseph@codesourcery.com>
4698 * config/microblaze/crti.S, config/microblaze/crtn.S,
4699 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4700 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4701 config/microblaze/mulsi3.S,
4702 config/microblaze/stack_overflow_exit.S,
4703 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4704 config/pa/milli64.S: Add .note.GNU-stack section.
4706 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
4708 * configure.ac: Add Check for HAVE_AS_AVX.
4709 * config.in: Regenerate.
4710 * configure: Likewise.
4711 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4712 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4713 Correct out-of-date comments.
4715 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
4717 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4718 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4720 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
4722 * config/i386/i386-asm.h (PASTE2): New macro.
4723 (ASMNAME): Modify to use PASTE2.
4724 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4725 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
4726 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
4727 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
4728 * config/i386/resms64f.S: Likewise.
4729 * config/i386/resms64fx.S: Likewise.
4730 * config/i386/resms64x.S: Likewise.
4731 * config/i386/savms64.S: Likewise.
4732 * config/i386/savms64f.S: Likewise.
4733 * config/i386/avx_resms64.S: New file that only defines a macro and
4734 includes it's corresponding header file.
4735 * config/i386/avx_resms64f.S: Likewise.
4736 * config/i386/avx_resms64fx.S: Likewise.
4737 * config/i386/avx_resms64x.S: Likewise.
4738 * config/i386/avx_savms64.S: Likewise.
4739 * config/i386/avx_savms64f.S: Likewise.
4740 * config/i386/sse_resms64.S: Likewise.
4741 * config/i386/sse_resms64f.S: Likewise.
4742 * config/i386/sse_resms64fx.S: Likewise.
4743 * config/i386/sse_resms64x.S: Likewise.
4744 * config/i386/sse_savms64.S: Likewise.
4745 * config/i386/sse_savms64f.S: Likewise.
4746 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
4748 2017-09-01 Olivier Hainque <hainque@adacore.com>
4749 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4751 2017-08-31 Olivier Hainque <hainque@adacore.com>
4753 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4754 match as powerpc-wrs-vxworks*.
4756 2017-08-07 Jonathan Yong <10walls@gmail.com>
4758 * config.host (*-cygwin): Include file from mingw
4759 config/i386/enable-execute-stack-mingw32.c
4761 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
4762 Doug Rupp <rupp@adacore.com>
4763 Olivier Hainque <hainque@adacore.com>
4765 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
4766 as well as arm-wrs-vxworks.
4767 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
4769 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
4770 __exidx_start and __exidx_end for downloadable modules.
4772 2017-08-01 Olivier Hainque <hainque@adacore.com>
4774 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
4775 * config/t-vxworks7: Likewise.
4777 2017-08-01 Olivier Hainque <hainque@adacore.com>
4779 * config/t-vxworks: Instead of redefining LIB2ADD,
4780 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
4782 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
4784 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
4786 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
4789 * config.host: include i386/t-msabi for darwin and solaris.
4790 * config/i386/i386-asm.h
4791 (ELFFN): Rename to FN_TYPE.
4792 (FN_SIZE): New macro.
4793 (FN_HIDDEN): Likewise.
4794 (ASMNAME): Likewise.
4795 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
4797 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
4798 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
4799 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
4801 * config/i386/resms64f.S: Likewise.
4802 * config/i386/resms64fx.S: Likewise.
4803 * config/i386/resms64x.S: Likewise.
4804 * config/i386/savms64.S: Likewise.
4805 * config/i386/savms64f.S: Likewise.
4807 2017-07-19 John Marino <gnugcc@marino.st>
4809 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
4811 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
4814 * configure.ac (PowerPC float128 hardware support): Test whether
4815 we can use __builtin_cpu_supports before enabling the ifunc
4817 * configure: Regenerate.
4819 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
4821 * config.host: Remove uclibc from arc target spec.
4823 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
4825 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
4827 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
4829 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
4830 (have_ieee_hw_p): Delete function.
4831 (SW_OR_HW) Use __builtin_cpu_supports().
4833 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
4835 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4837 2017-07-03 Olivier Hainque <hainque@adacore.com>
4839 * config/t-vxworks7: New file, really.
4841 2017-06-28 Joseph Myers <joseph@codesourcery.com>
4843 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
4844 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
4845 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
4846 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
4847 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
4848 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
4849 config/pa/linux-unwind.h (pa32_fallback_frame_state),
4850 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
4851 config/sh/linux-unwind.h (sh_fallback_frame_state),
4852 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
4853 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
4854 ucontext_t instead of struct ucontext.
4856 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
4858 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
4859 (x86_64-wrs-vxworks7): Likewise.
4861 2017-06-27 Olivier Hainque <hainque@adacore.com>
4863 * config/t-vxworks7: New file.
4864 * config.host (*-*-vxworks7): Use it.
4866 2017-06-22 Matt Turner <mattst88@gmail.com>
4868 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
4871 2017-06-21 Richard Biener <rguenther@suse.de>
4873 PR gcov-profile/81080
4874 * configure.ac: Add AC_SYS_LARGEFILE.
4875 * libgcov.h: Include auto-target.h before tsystem.h to pick
4876 up _FILE_OFFSET_BITS which might differ for multilibs.
4877 * config.in: Regenerate.
4878 * configure: Likewise.
4880 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
4882 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
4884 2017-06-09 Martin Liska <mliska@suse.cz>
4886 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
4887 Reset __gcov_indirect_call_callee to NULL.
4889 2017-06-08 Olivier Hainque <hainque@adacore.com>
4891 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
4892 the set of -I options, support for direct inclusions of net/uio.h
4893 by VxWorks header files via ioLib.h.
4895 2017-06-07 Tony Reix <tony.reix@atos.net>
4896 Matthieu Sarter <matthieu.sarter.external@atos.net>
4897 David Edelsohn <dje.gcc@gmail.com>
4899 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
4901 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
4904 2017-06-02 Olivier Hainque <hainque@adacore.com>
4906 * config/vxlib.c (__gthread_once): Add missing value to
4909 2017-05-30 Olivier Hainque <hainque@adacore.com>
4911 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
4912 dollar sign before $(MULTIDIR).
4914 2017-05-26 Richard Henderson <rth@redhat.com>
4917 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
4919 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
4921 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
4922 _Unwind_SetIP available as functions for arm*-*-freebsd*.
4923 * config/arm/unwind-arm.c: Implement the above.
4925 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4927 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
4928 section for a non-executable stack.
4930 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
4933 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
4935 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
4937 * config.host: Add i386/t-msabi to i386/t-linux file list.
4938 * config/i386/i386-asm.h: New file.
4939 * config/i386/resms64.S: New file.
4940 * config/i386/resms64f.S: New file.
4941 * config/i386/resms64fx.S: New file.
4942 * config/i386/resms64x.S: New file.
4943 * config/i386/savms64.S: New file.
4944 * config/i386/savms64f.S: New file.
4945 * config/i386/t-msabi: New file.
4947 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
4949 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
4950 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
4952 2017-05-05 Joshua Conner <joshconner@google.com>
4954 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
4955 pc-relative indirect handling for fuchsia.
4956 * config/t-slibgcc-fuchsia: New file.
4957 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
4958 x86_64-*-fuchsia*): Add definitions.
4960 2017-04-19 Martin Liska <mliska@suse.cz>
4962 PR gcov-profile/80435
4963 * Makefile.in: Install gcov.h.
4965 * libgcov.h: Use the header and make __gcov_flush publicly
4968 2017-04-18 Martin Liska <mliska@suse.cz>
4970 PR gcov-profile/78783
4971 * libgcov-driver.c (gcov_get_filename): New function.
4973 2017-04-07 Jeff Law <law@redhat.com>
4975 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
4976 target makefile fragment.
4977 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
4979 2017-04-07 Alan Modra <amodra@gmail.com>
4982 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
4984 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
4986 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
4988 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
4990 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
4992 2017-03-10 John Marino <gnugcc@marino.st>
4994 * config/aarch64/freebsd-unwind.h: New file.
4995 * config.host: Add aarch64-*-freebsd unwinder.
4997 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4999 * config/rs6000/crtrestvr.s: Use .machine altivec.
5000 * config/rs6000/crtsavevr.s: Ditto.
5002 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
5004 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
5005 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
5006 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
5007 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
5008 * configure: Regenerate.
5009 * config.in: Regenerate.
5011 2017-03-02 Jonathan Yong <10walls@gmail.com>
5013 * config/i386/gthr-win32.h: Define NOGDI before
5014 windows.h include to prevent w32api CC_NONE macro
5015 clash with libgfortran.
5017 2017-03-02 Jonathan Yong <10walls@gmail.com>
5019 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
5021 2017-02-16 Andrew Pinski <apinski@cavium.com>
5023 * config/aarch64/value-unwind.h: New file.
5024 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
5027 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
5029 * config.host: Add RISC-V tuples.
5030 * config/riscv/atomic.c: New file.
5031 * config/riscv/crti.S: Likewise.
5032 * config/riscv/crtn.S: Likewise.
5033 * config/riscv/div.S: Likewise.
5034 * config/riscv/linux-unwind.h: Likewise.
5035 * config/riscv/muldi3.S: Likewise.
5036 * config/riscv/multi3.S: Likewise.
5037 * config/riscv/save-restore.S: Likewise.
5038 * config/riscv/sfp-machine.h: Likewise.
5039 * config/riscv/t-elf: Likewise.
5040 * config/riscv/t-elf32: Likewise.
5041 * config/riscv/t-elf64: Likewise.
5042 * config/riscv/t-softfp32: Likewise.
5043 * config/riscv/t-softfp64: Likewise.
5045 2017-01-24 Jakub Jelinek <jakub@redhat.com>
5047 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
5048 /* FALLTHRU */ comments.
5050 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
5052 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
5054 2017-01-20 Jiong Wang <jiong.wang@arm.com>
5056 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
5057 * unwind-dw2.c (execute_cfa_program): Only multiplexing
5058 DW_CFA_GNU_window_save for AArch64 and LP64.
5060 2017-01-20 Jiong Wang <jiong.wang@arm.com>
5062 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
5064 2017-01-19 Jiong Wang <jiong.wang@arm.com>
5066 * config/aarch64/aarch64-unwind.h: New file.
5067 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
5068 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
5069 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
5070 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
5071 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
5072 (aarch64_post_extract_frame_addr): New function.
5073 (aarch64_post_frob_eh_handler_addr): New function.
5074 (aarch64_frob_update_context): New function.
5075 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
5076 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
5077 aarch64*-*-freebsd*):
5078 Initialize md_unwind_header to include aarch64-unwind.h.
5079 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
5080 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
5082 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
5083 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
5084 (uw_frob_return_addr): New function.
5085 (uw_install_context): Use uw_frob_return_addr.
5087 2017-01-17 Jakub Jelinek <jakub@redhat.com>
5090 * configure.ac: Add GCC_BASE_VER.
5091 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
5092 version from BASE-VER file.
5093 * configure: Regenerated.
5095 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
5097 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
5098 libmul_f5.a): Filter archived prerequisites.
5100 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
5102 * config/i386/cpuinfo.h (processor_features): Add
5103 FEATURE_AVX512VPOPCNTDQ.
5104 * config/i386/cpuinfo.c (get_available_features): Habdle new
5107 2017-01-04 Joseph Myers <joseph@codesourcery.com>
5109 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
5110 payload if [__mips_nan2008].
5112 2017-01-04 Alan Modra <amodra@gmail.com>
5114 * Makefile.in (configure_deps): Update.
5115 * configure: Regenerate.
5117 2017-01-01 Jakub Jelinek <jakub@redhat.com>
5119 Update copyright years.
5121 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
5123 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
5124 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
5125 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
5127 2016-12-17 Matthias Klose <doko@ubuntu.com>
5129 * config/arc/gmon: Remove empty directory.
5131 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
5133 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
5135 (arc*-*-elf*): Likewise.
5136 * config/arc/t-arc: Remove old gmon lib targets.
5137 * config/arc/crtg.S: Remove.
5138 * config/arc/crtgend.S: Likewise.
5139 * config/arc/gmon/atomic.h: Likewise.
5140 * config/arc/gmon/auxreg.h: Likewise.
5141 * config/arc/gmon/dcache_linesz.S: Likewise.
5142 * config/arc/gmon/gmon.c: Likewise.
5143 * config/arc/gmon/machine-gmon.h: Likewise.
5144 * config/arc/gmon/mcount.c: Likewise.
5145 * config/arc/gmon/prof-freq-stub.S: Likewise.
5146 * config/arc/gmon/prof-freq.c: Likewise.
5147 * config/arc/gmon/profil.S: Likewise.
5148 * config/arc/gmon/sys/gmon.h: Likewise.
5149 * config/arc/gmon/sys/gmon_out.h: Likewise.
5150 * config/arc/t-arc-newlib: Likewise.
5151 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
5153 2016-12-12 George Spelvin <linux@sciencehorizons.net>
5155 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
5157 2016-12-12 George Spelvin <linux@sciencehorizons.net>
5159 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
5160 R16 instead of push + pop.
5161 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
5163 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
5165 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
5168 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
5170 * config.host (arc*-*-linux-uclibc*): Use default extra
5171 objects. Include linux-android header.
5172 * config/arc/crti.S (_init): Declare symbol as function.
5175 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
5178 * config/i386/cpuinfo.c: Move denums for processor vendors,
5179 processor type, processor subtypes and declaration of
5180 struct __processor_model into
5181 * config/i386/cpuinfo.h: New header file.
5183 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
5184 Thomas Preud'homme <thomas.preudhomme@arm.com>
5186 * config/arm/cmse_nonsecure_call.S: New.
5187 * config/arm/t-arm: Compile cmse_nonsecure_call.S
5189 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
5190 Thomas Preud'homme <thomas.preudhomme@arm.com>
5192 * config/arm/t-arm (HAVE_CMSE): New.
5193 * config/arm/cmse.c: New.
5195 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
5198 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
5199 use generic linker version information on Blackfin.
5202 * libgcc/mkmap-symver.awk: add support for skip_underscore
5204 2016-11-27 Iain Sandoe <iain@codesourcery.com>
5205 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5208 * config/t-darwin: Default builds to 10.5 codegen.
5210 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
5212 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
5213 (_FP_NANSIGN_H): Likewise.
5214 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
5215 (softfp_truncations): Add tfhf.
5216 (softfp_extras): Add required conversion functions.
5218 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5219 Matthew Wahab <matthew.wahab@arm.com>
5221 * config/arm/fp16.c (binary64): New.
5222 (__gnu_d2h_internal): New.
5223 (__gnu_d2h_ieee): New.
5224 (__gnu_d2h_alternative): New.
5226 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5227 Matthew Wahab <matthew.wahab@arm.com>
5229 * config/arm/fp16.c (struct format): New.
5231 (__gnu_float2h_internal): New. Body moved from
5232 __gnu_f2h_internal and generalize.
5233 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
5234 Call it with binary32.
5236 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5238 * soft-fp/extendhftf2.c: Update from glibc.
5239 * soft-fp/fixhfti.c: Likewise.
5240 * soft-fp/fixunshfti.c: Likewise.
5241 * soft-fp/floattihf.c: Likewise.
5242 * soft-fp/floatuntihf.c: Likewise.
5243 * soft-fp/half.h: Likewise.
5244 * soft-fp/trunctfhf2.c: Likewise.
5246 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
5249 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
5250 __TMC_END__ behind a passthrough asm.
5252 2016-11-18 Walter Lee <walt@tilera.com>
5254 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
5256 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
5258 * config/i386/cpuinfo.c (processor_features): Add
5259 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
5261 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
5263 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
5264 (__ARC_NORM__): Use instead ARC_OPTFPE.
5265 * config/arc/fp-hack.h: Likewise.
5266 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
5267 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
5269 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
5271 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
5272 * config/nvptx/mgomp.c: New file.
5273 * config/nvptx/t-nvptx: Add mgomp.c
5275 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
5278 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
5280 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
5282 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
5283 of checking for cpus.
5284 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
5285 (__modsi3, __clzsi2): Likewise.
5287 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5289 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
5290 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
5291 * config/i386/t-cpuinfo-static: New.
5293 2016-11-03 Martin Liska <mliska@suse.cz>
5295 * libgcov-profiler.c (__gcov_time_profiler): Remove.
5296 (__gcov_time_profiler_atomic): Likewise.
5298 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
5301 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
5302 count_leading_zeros.
5304 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
5306 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
5307 * libgcc2.c (__divmoddi4): New function.
5308 * libgcc2.h (__divmoddi4): Declare.
5309 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
5310 and __PFX_divmodti4.
5312 2016-10-24 Florian Weimer <fweimer@redhat.com>
5315 * unwind-c.c: Include auto-target.h.
5317 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
5319 * config/pa/pa64-hpux-lib.h: New file.
5320 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
5321 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
5322 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
5325 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
5327 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5329 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5331 * config/xtensa/t-windowed (LIB2ADDEH): Use
5332 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
5335 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
5337 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
5338 __ieee754_sqrt): New functions.
5339 (__divdf3): Add implementation with new FPU instructions under
5340 #if XCHAL_HAVE_DFP_DIV.
5341 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
5342 __ieee754_sqrtf): New functions.
5343 (__divsf3): Add implementation with new FPU instructions under
5344 #if XCHAL_HAVE_FP_DIV.
5345 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
5346 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
5348 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
5350 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
5352 * config/tilepro/atomic.c: Likewise and stop casting model to
5355 2016-10-10 Joseph Myers <joseph@codesourcery.com>
5358 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
5361 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
5363 * config.host: Add support for aarch64-*-freebsd*.
5365 2016-10-05 Andreas Schwab <schwab@suse.de>
5367 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
5368 (.section .init_array): Don't call __do_jv_register_classes.
5369 (.section .init): Likewise.
5371 2016-10-04 Jakub Jelinek <jakub@redhat.com>
5373 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
5374 (__JCR_LIST__): Remove.
5375 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
5376 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
5377 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
5378 * config/ia64/crtend.S (__JCR_END__): Remove.
5379 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
5381 (__JCR_LIST__, __JCR_END__): Remove.
5382 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
5383 (__do_global_ctors_1): Likewise.
5385 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
5387 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
5388 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
5390 2016-09-27 Martin Liska <mliska@suse.cz>
5392 PR gcov-profile/7970
5393 PR gcov-profile/16855
5394 PR gcov-profile/44779
5395 * libgcov-driver.c (__gcov_init): Do not register a atexit
5397 (__gcov_exit): Rename from gcov_exit.
5398 * libgcov.h (__gcov_exit): Declare.
5400 2016-09-27 Martin Liska <mliska@suse.cz>
5403 * Makefile.in: Remove _gcov_merge_delta.
5404 * libgcov-merge.c (void __gcov_merge_delta): Remove.
5405 * libgcov-util.c (__gcov_delta_counter_op): Remove.
5406 * libgcov.h: Remove declaration of __gcov_merge_delta.
5408 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
5410 * configure.ac: Do not create links, only substitute the filenames.
5411 * configure: Regenerate.
5412 * Makefile.in: Assign the substitution results to variables.
5413 (LIBGCC_LINKS): Define.
5414 (enable-execute-stack.c): New rule.
5415 (unwind.h): Likewise.
5416 (md-unwind-support.h): Likewise.
5417 (sfp-machine.h): Likewise.
5418 (gthr-default.h): Likewise.
5419 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
5420 unwind.h as prerequisite of install-unwind_h-forbuild.
5422 2016-09-16 Jakub Jelinek <jakub@redhat.com>
5425 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
5426 is not the primary registry and atomics are available.
5427 (any_objects_registered): New variable.
5428 (__register_frame_info_bases, __register_frame_info_table_bases):
5429 Atomically store 1 to any_objects_registered after registering first
5431 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
5433 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
5436 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
5437 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
5440 (__divhc3): Likewise.
5441 (__mulhc3): Likewise.
5442 * libgcc2.c: Support _mulhc3 and _divhc3.
5444 2016-09-07 Joseph Myers <joseph@codesourcery.com>
5447 * libgcc2.c (NOTRUNC): Invert settings.
5449 2016-09-06 Martin Liska <mliska@suse.cz>
5451 PR gcov-profile/77378
5452 PR gcov-profile/77466
5453 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
5454 conditionaly enable/disable *_atomic functions.
5456 2016-08-26 Joseph Myers <joseph@codesourcery.com>
5458 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
5459 where not already enabled.
5461 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5463 * config/mips/linux-unwind.h: Use sys/syscall.h.
5465 2016-08-16 Joseph Myers <joseph@codesourcery.com>
5468 * soft-fp/adddf3.c: Update from glibc.
5469 * soft-fp/addsf3.c: Likewise.
5470 * soft-fp/addtf3.c: Likewise.
5471 * soft-fp/divdf3.c: Likewise.
5472 * soft-fp/divsf3.c: Likewise.
5473 * soft-fp/divtf3.c: Likewise.
5474 * soft-fp/double.h: Likewise.
5475 * soft-fp/eqdf2.c: Likewise.
5476 * soft-fp/eqsf2.c: Likewise.
5477 * soft-fp/eqtf2.c: Likewise.
5478 * soft-fp/extenddftf2.c: Likewise.
5479 * soft-fp/extended.h: Likewise.
5480 * soft-fp/extendsfdf2.c: Likewise.
5481 * soft-fp/extendsftf2.c: Likewise.
5482 * soft-fp/extendxftf2.c: Likewise.
5483 * soft-fp/fixdfdi.c: Likewise.
5484 * soft-fp/fixdfsi.c: Likewise.
5485 * soft-fp/fixdfti.c: Likewise.
5486 * soft-fp/fixsfdi.c: Likewise.
5487 * soft-fp/fixsfsi.c: Likewise.
5488 * soft-fp/fixsfti.c: Likewise.
5489 * soft-fp/fixtfdi.c: Likewise.
5490 * soft-fp/fixtfsi.c: Likewise.
5491 * soft-fp/fixtfti.c: Likewise.
5492 * soft-fp/fixunsdfdi.c: Likewise.
5493 * soft-fp/fixunsdfsi.c: Likewise.
5494 * soft-fp/fixunsdfti.c: Likewise.
5495 * soft-fp/fixunssfdi.c: Likewise.
5496 * soft-fp/fixunssfsi.c: Likewise.
5497 * soft-fp/fixunssfti.c: Likewise.
5498 * soft-fp/fixunstfdi.c: Likewise.
5499 * soft-fp/fixunstfsi.c: Likewise.
5500 * soft-fp/fixunstfti.c: Likewise.
5501 * soft-fp/floatdidf.c: Likewise.
5502 * soft-fp/floatdisf.c: Likewise.
5503 * soft-fp/floatditf.c: Likewise.
5504 * soft-fp/floatsidf.c: Likewise.
5505 * soft-fp/floatsisf.c: Likewise.
5506 * soft-fp/floatsitf.c: Likewise.
5507 * soft-fp/floattidf.c: Likewise.
5508 * soft-fp/floattisf.c: Likewise.
5509 * soft-fp/floattitf.c: Likewise.
5510 * soft-fp/floatundidf.c: Likewise.
5511 * soft-fp/floatundisf.c: Likewise.
5512 * soft-fp/floatunditf.c: Likewise.
5513 * soft-fp/floatunsidf.c: Likewise.
5514 * soft-fp/floatunsisf.c: Likewise.
5515 * soft-fp/floatunsitf.c: Likewise.
5516 * soft-fp/floatuntidf.c: Likewise.
5517 * soft-fp/floatuntisf.c: Likewise.
5518 * soft-fp/floatuntitf.c: Likewise.
5519 * soft-fp/gedf2.c: Likewise.
5520 * soft-fp/gesf2.c: Likewise.
5521 * soft-fp/getf2.c: Likewise.
5522 * soft-fp/ledf2.c: Likewise.
5523 * soft-fp/lesf2.c: Likewise.
5524 * soft-fp/letf2.c: Likewise.
5525 * soft-fp/muldf3.c: Likewise.
5526 * soft-fp/mulsf3.c: Likewise.
5527 * soft-fp/multf3.c: Likewise.
5528 * soft-fp/negdf2.c: Likewise.
5529 * soft-fp/negsf2.c: Likewise.
5530 * soft-fp/negtf2.c: Likewise.
5531 * soft-fp/op-1.h: Likewise.
5532 * soft-fp/op-2.h: Likewise.
5533 * soft-fp/op-4.h: Likewise.
5534 * soft-fp/op-8.h: Likewise.
5535 * soft-fp/op-common.h: Likewise.
5536 * soft-fp/quad.h: Likewise.
5537 * soft-fp/single.h: Likewise.
5538 * soft-fp/soft-fp.h: Likewise.
5539 * soft-fp/subdf3.c: Likewise.
5540 * soft-fp/subsf3.c: Likewise.
5541 * soft-fp/subtf3.c: Likewise.
5542 * soft-fp/truncdfsf2.c: Likewise.
5543 * soft-fp/trunctfdf2.c: Likewise.
5544 * soft-fp/trunctfsf2.c: Likewise.
5545 * soft-fp/trunctfxf2.c: Likewise.
5546 * soft-fp/unorddf2.c: Likewise.
5547 * soft-fp/unordsf2.c: Likewise.
5548 * soft-fp/unordtf2.c: Likewise.
5550 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
5552 PR gcov-profile/67097
5553 * libgcov-util.c (gcov_profile_merge): Skip missing files.
5555 2016-08-10 Martin Liska <mliska@suse.cz>
5557 PR gcov-profile/58306
5558 * Makefile.in: New functions (modules) are added.
5559 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5561 (__gcov_pow2_profiler_atomic): New function.
5562 (__gcov_one_value_profiler_body): New argument is instroduced.
5563 (__gcov_one_value_profiler): Call with the new argument.
5564 (__gcov_one_value_profiler_atomic): Likewise.
5565 (__gcov_indirect_call_profiler_v2): Likewise.
5566 (__gcov_time_profiler_atomic): New function.
5567 (__gcov_average_profiler_atomic): Likewise.
5568 (__gcov_ior_profiler_atomic): Likewise.
5569 * libgcov.h: Declare the aforementioned functions.
5571 2016-08-09 Martin Liska <mliska@suse.cz>
5573 * libgcov-util.c: Fix typo and GNU coding style.
5575 2016-08-09 Martin Liska <mliska@suse.cz>
5577 * Makefile.in: Remove __gcov_indirect_call_profiler.
5578 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5580 * libgcov.h: And the declaration of the function.
5582 2016-08-09 Martin Liska <mliska@suse.cz>
5584 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5587 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5589 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5590 * config/rs6000/_mulkc3.c: Likewise.
5592 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
5594 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5595 zero_reg as previous call to __umulhisi3 already cleared it.
5597 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
5600 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5602 2016-07-19 Nick Clifton <nickc@redhat.com>
5604 * config.host (m32r): Add m32r/t-m32r to tmake_file.
5605 Add crtinit.o and crtfini.o to extra_parts.
5607 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5609 * config/rs6000/_divkc3.c: New.
5610 * config/rs6000/_mulkc3.c: New.
5611 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5613 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5616 2016-07-11 Hale Wang <hale.wang@arm.com>
5617 Andre Vieira <andre.simoesdiasvieira@arm.com>
5619 * config/arm/lib1funcs.S: Add new wrapper.
5621 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5623 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5625 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5627 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5628 and ARMv5t* rather than for a fixed list of architectures.
5630 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5632 * config/arm/bpabi-v6m.S: Clarify what architectures is the
5633 implementation suitable for.
5634 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5635 for all Thumb-1 only targets.
5636 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5637 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5640 (ARM_FUNC_ALIAS): Likewise.
5641 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5644 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5647 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5648 __ARM_ARCH_6M__ in guard for checking whether it is defined.
5649 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5650 __ARM_ARCH_6M__ and add comment to indicate the connection between
5651 this condition and the one in gcc/config/arm/elf.h.
5652 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5653 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5654 * config/arm/t-softfp: Likewise.
5656 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5658 * libgcc2.c (SYMBOL__MAIN): Remove checks for
5659 CTOR_LISTS_DEFINED_EXTERNALLY.
5661 2016-06-28 Walter Lee <walt@tilera.com>
5663 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5665 (SPR_CMPEXCH_VALUE): Define for tilegx.
5666 (__NR_FAST_cmpxchg): Define for tilepro.
5667 (__NR_FAST_atomic_update): Define for tilepro.
5668 (__NR_FAST_cmpxchg64): Define for tilepro.
5670 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
5672 * config.host: Add suport for arm*-*-phoenix* targets.
5674 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5676 * config.host: Remove support for mep-*.
5677 * config/mep/lib1funcs.S: Remove.
5678 * config/mep/lib2funcs.c: Remove.
5679 * config/mep/t-mep: Remove.
5680 * config/mep/tramp.c: Remove.
5682 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5684 * config.host: Remove support for avr-rtems.
5685 * config/avr/t-rtems: Remove.
5687 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5689 * config.host: Remove m32r-rtems support.
5691 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5693 * config.host: Remove h8300-rtems support.
5695 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5697 * config.host: Remove support for knetbsd.
5699 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5701 * config.host: Remove support for openbsd 2 and 3.
5703 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5705 * config.host: Remove interix support.
5706 * config/i386/t-interix: Remove.
5708 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
5710 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5711 least-significant bit in function pointer for fixup.
5713 2016-06-05 Aaron Conole <aconole@redhat.com>
5714 Nathan Sidwell <nathan@acm.org>
5717 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5718 (get_gcov_error_file): Check __gcov_error_file before trying to
5720 (gcov_error): Always use get_gcov_error_file.
5722 2016-06-02 Aaron Conole <aconole@redhat.com>
5724 * libgcov-driver-system.c (__gcov_error_file): New.
5725 (get_gcov_error_file): New.
5726 (gcov_error): Use and set __gcov_error_file.
5727 (gcov_error_exit): New.
5728 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5730 2016-05-26 Nathan Sidwell <nathan@acm.org>
5732 * config/nvptx/free.asm: Delete.
5733 * config/nvptx/malloc.asm: Delete.
5734 * config/nvptx/realloc.c: Delete.
5737 2016-05-25 Nathan Sidwell <nathan@acm.org>
5739 * config/nvptx/crt0.s: Delete.
5740 * config/nvptx/crt0.c: New.
5743 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
5745 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
5746 dw2/seh configuration.
5747 [x86_64-*-mingw*]: Likewise.
5749 2016-05-10 Joel Sherrill <joel@rtems.org>
5752 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5753 targets so the same extra_parts are built. Also have tmake_file add
5754 on to its value rather than override.
5756 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
5758 * config.host: Remove SH5 support.
5759 * configure: Likewise.
5761 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
5763 * config/sh/crt1.S: Remove SH5 support.
5764 * config/sh/crti.S: Likewise.
5765 * config/sh/crtn.S: Likewise.
5766 * config/sh/lib1funcs-4-300.S: Likewise.
5767 * config/sh/lib1funcs-Os-4-200.S: Likewise.
5768 * config/sh/lib1funcs.S: Likewise.
5769 * config/sh/linux-unwind.h: Likewise.
5770 * config/sh/t-sh64: Delete.
5772 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
5774 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
5776 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
5777 Joern Rennecke <joern.rennecke@embecosm.com>
5779 * config/arc/crttls.S: New file.
5780 * config/arc/t-arc: New rule.
5781 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
5783 2016-04-25 Nick Clifton <nickc@redhat.com>
5785 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
5786 (__mspabi_cmpd): Likewise.
5787 * config/msp430/floathidf.c (__floathidf): Likewise.
5788 * config/msp430/floathisf.c (__floathisf): Likewise
5789 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
5790 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
5791 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
5793 (__ashrsi3): Likewise.
5795 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
5797 * config/m68k/linux-atomic.c: Do not include unistd.h
5799 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
5801 * config/arm/ieee754-df.S: Fix typos in comments.
5803 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
5806 * configure.ac (powerpc*-*-linux*): Rework tests to build
5807 __float128 emulation routines to not depend on using #pragma GCC
5808 target to enable -mfloat128.
5809 * configure: Regnerate.
5811 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
5814 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
5815 __MINGW32__ is defined.
5817 2016-03-28 James Bowman <james.bowman@ftdichip.com>
5819 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
5821 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
5824 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
5825 built with an assembler that does not support ISA 3.0
5826 instructions, rename __extendkftf2_sw to __extendkftf2.
5828 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5831 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
5832 call-clobbered registers.
5833 (internal_mcount): Remove __i386__ handling.
5835 2016-02-26 Joel Sherrill <joel@rtems.org>
5837 * config.host: Add x86_64-*-rtems*.
5839 2016-02-26 Joel Sherrill <joel@rtems.org>
5841 * libgcc/config.host: Add aarch64-*-rtems*.
5843 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5844 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5846 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
5847 union of u64 and double.
5848 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
5849 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
5851 (FP_ROUNDMODE): Update the usage of _fpscr.
5853 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
5856 * Makefile.in (crtoffloadtable$(objext)): New rule.
5857 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
5858 enable_offload_targets is not empty.
5859 * configure: Regenerate.
5860 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
5863 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
5865 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
5866 .literal_position before the function.
5867 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
5870 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
5872 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
5873 * config/s390/morestack.S: New file.
5874 * config/s390/t-stack-s390: New file.
5875 * generic-morestack.c (__splitstack_find): Add s390-specific code.
5877 2016-02-12 Walter Lee <walt@tilera.com>
5879 * config.host (tilegx*-*-linux*): remove ti from
5880 softfp_int_modes for 32-bit configs.
5882 2016-02-10 Ian Lance Taylor <iant@google.com>
5885 * config/i386/morestack.S (__stack_split_initialize): Align
5888 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
5891 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
5892 __FLOAT128__ to compile only for __float128 capable targets.
5894 2016-01-25 Jakub Jelinek <jakub@redhat.com>
5897 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
5898 instead of ___NO_FPRS__.
5900 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
5901 Steven Munroe <munroesj@linux.vnet.ibm.com>
5902 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
5904 * config/rs6000/float128-sed: New files to convert TF names to KF
5905 names for PowerPC IEEE 128-bit floating point support.
5906 * config/rs6000/float128-sed-hw: Likewise.
5908 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5909 floating point hardware support.
5911 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5912 128-bit floating point software emulation or use ISA 3.0 hardware
5913 support if it is available.
5915 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5918 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
5919 floating point to IBM extended double.
5921 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
5922 double to IEEE 128-bit floating point.
5924 * config/rs6000/t-float128: New Makefile fragments to enable
5925 building __float128 emulation support.
5926 * config/rs6000/t-float128-hw: Likewise.
5928 * config/rs6000/sfp-exceptions.c: New file to provide exception
5929 support for IEEE 128-bit floating point.
5931 * config/rs6000/floattikf.c: New files for converting between IEEE
5932 128-bit floating point and signed/unsigned 128-bit integers.
5933 * config/rs6000/fixunskfti.c: Likewise.
5934 * config/rs6000/fixkfti.c: Likewise.
5935 * config/rs6000/floatuntikf.c: Likewise.
5937 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5938 when building on 64-bit systems, or when VSX is enabled.
5939 (_FP_W_TYPE): Likewise.
5940 (_FP_WS_TYPE): Likewise.
5941 (_FP_I_TYPE): Likewise.
5942 (TItype): Define on 64-bit systems.
5943 (UTItype): Likewise.
5944 (TI_BITS): Likewise.
5945 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5946 (_FP_MUL_MEAT_Q): Likewise.
5947 (_FP_DIV_MEAT_D): Likewise.
5948 (_FP_DIV_MEAT_Q): Likewise.
5949 (_FP_NANFRAC_D): Likewise.
5950 (_FP_NANFRAC_Q): Likewise.
5951 (ISA_BIT): Add exception support if we are being compiled on a
5952 machine with hardware floating point support to build the IEEE
5953 128-bit emulation functions.
5954 (FP_EX_INVALID): Likewise.
5955 (FP_EX_OVERFLOW): Likewise.
5956 (FP_EX_UNDERFLOW): Likewise.
5957 (FP_EX_DIVZERO): Likewise.
5958 (FP_EX_INEXACT): Likewise.
5959 (FP_EX_ALL): Likewise.
5960 (__sfp_handle_exceptions): Likewise.
5961 (FP_HANDLE_EXCEPTIONS): Likewise.
5962 (FP_RND_NEAREST): Likewise.
5963 (FP_RND_ZERO): Likewise.
5964 (FP_RND_PINF): Likewise.
5965 (FP_RND_MINF): Likewise.
5966 (FP_RND_MASK): Likewise.
5967 (_FP_DECL_EX): Likewise.
5968 (FP_INIT_ROUNDMODE): Likewise.
5969 (FP_ROUNDMODE): Likewise.
5971 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5972 VSX code, enable IEEE 128-bit floating point. If the compiler can
5973 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
5974 floating point hardware instructions and it supports declaring
5975 functions with the ifunc attribute, enable ifunc functions to
5976 switch between software and hardware support.
5977 * configure.ac (powerpc*-*-linux*): Likewise.
5978 * configure: Regenerate.
5980 2016-01-15 Nick Clifton <nickc@redhat.com>
5982 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
5983 dependency as the source file to be compiled.
5984 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
5985 (lib2hw_mul_f5.o): Likewise.
5987 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
5989 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
5990 * libgcc/config/rs6000/fixkfti.c: Likewise.
5991 * libgcc/config/rs6000/fixunskfti.c: Likewise.
5992 * libgcc/config/rs6000/float128-hw.c: Likewise.
5993 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
5994 * libgcc/config/rs6000/float128-sed: Likewise.
5995 * libgcc/config/rs6000/floattikf.c: Likewise.
5996 * libgcc/config/rs6000/floatuntikf.c: Likewise.
5997 * libgcc/config/rs6000/quad-float128.h: Likewise.
5998 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
5999 * libgcc/config/rs6000/sfp-machine.h: Likewise.
6000 * libgcc/config/rs6000/t-float128: Likewise.
6001 * libgcc/config/rs6000/t-float128-hw: Likewise.
6002 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
6003 * libgcc/config.host: Likewise.
6004 * libgcc/configure: Likewise.
6005 * libgcc/configure.ac: Likewise.
6007 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
6008 Steven Munroe <munroesj@linux.vnet.ibm.com>
6009 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
6011 * config/rs6000/sfp-exceptions.c: New file to provide exception
6012 support for IEEE 128-bit floating point.
6014 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
6015 floating point hardware support.
6017 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
6019 * config/rs6000/fixunskfti.c: Likewise.
6020 * config/rs6000/fixkfti.c: Likewise.
6021 * config/rs6000/floatuntikf.c: Likewise.
6022 * config/rs6000/extendkftf2-sw.c: Likewise.
6023 * config/rs6000/trunctfkf2-sw.c: Likewise.
6025 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
6026 128-bit floating point software emulation or use ISA 3.0 hardware
6027 support if it is available.
6029 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
6032 * config/rs6000/t-float128: New Makefile fragments to enable
6033 building __float128 emulation support.
6034 * config/rs6000/t-float128-hw: Likewise.
6036 * config/rs6000/float128-sed: New file to convert TF names to KF
6037 names for PowerPC IEEE 128-bit floating point support.
6039 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
6040 when building on 64-bit systems, or when VSX is enabled.
6041 (_FP_W_TYPE): Likewise.
6042 (_FP_WS_TYPE): Likewise.
6043 (_FP_I_TYPE): Likewise.
6044 (TItype): Define on 64-bit systems.
6045 (UTItype): Likewise.
6046 (TI_BITS): Likewise.
6047 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
6048 (_FP_MUL_MEAT_Q): Likewise.
6049 (_FP_DIV_MEAT_D): Likewise.
6050 (_FP_DIV_MEAT_Q): Likewise.
6051 (_FP_NANFRAC_D): Likewise.
6052 (_FP_NANFRAC_Q): Likewise.
6053 (ISA_BIT): Add exception support if we are being compiled on a
6054 machine with hardware floating point support to build the IEEE
6055 128-bit emulation functions.
6056 (FP_EX_INVALID): Likewise.
6057 (FP_EX_OVERFLOW): Likewise.
6058 (FP_EX_UNDERFLOW): Likewise.
6059 (FP_EX_DIVZERO): Likewise.
6060 (FP_EX_INEXACT): Likewise.
6061 (FP_EX_ALL): Likewise.
6062 (__sfp_handle_exceptions): Likewise.
6063 (FP_HANDLE_EXCEPTIONS): Likewise.
6064 (FP_RND_NEAREST): Likewise.
6065 (FP_RND_ZERO): Likewise.
6066 (FP_RND_PINF): Likewise.
6067 (FP_RND_MINF): Likewise.
6068 (FP_RND_MASK): Likewise.
6069 (_FP_DECL_EX): Likewise.
6070 (FP_INIT_ROUNDMODE): Likewise.
6071 (FP_ROUNDMODE): Likewise.
6073 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
6074 compiler can do __float128.
6075 * configure: Regenerate.
6077 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
6078 VSX code, enable IEEE 128-bit floating point.
6080 2016-01-05 Olivier Hainque <hainque@adacore.com>
6082 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
6085 2016-01-04 Jakub Jelinek <jakub@redhat.com>
6087 Update copyright years.
6089 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
6091 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
6094 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
6096 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
6097 instead of abort to avoid dependency on stdlib.h.
6099 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
6101 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
6102 to initialize call to __dl_fixup once.
6104 2015-12-04 Nick Clifton <nickc@redhat.com>
6106 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
6107 Allow for the second argument being negative.
6108 * config.host (extra_parts): Define for MSP430. Create separate
6109 libraries for each of the hardware multiply formats.
6110 * config/msp430/lib2hw_mul.S: Build only the multiply routines
6112 * config/msp430/lib2mul.c: Likewise.
6113 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
6114 Add rules to build hardware multiply libraries.
6115 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
6116 __mspabi_divul function.
6117 (__mspabi_divllu): New stub function.
6119 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
6121 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
6122 fixup values if saved GOT address doesn't match runtime address.
6123 (fixup_branch_offset): Reorder list.
6125 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6127 * Makefile.in (VTV_CFLAGS): New variable.
6128 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
6129 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
6130 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6131 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
6132 to extra_parts if $enable_vtable_verify = yes.
6134 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
6137 * config/arm/linux-atomic-64bit.c (__write): Rename to...
6138 (write): ...this and fix the return type.
6140 2015-11-19 DJ Delorie <dj@redhat.com>
6142 * config/msp430/lib2hw_mul.S: Fix alignment.
6144 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
6146 * config/nvptx/reduction.c: New.
6147 * config/nvptx/t-nvptx (LIB2ADD): Add it.
6149 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
6151 * config/rs6000/on_exit.c: New file.
6152 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
6153 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
6155 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
6157 * config/arc/dp-hack.h: Add support for ARCHS.
6158 * config/arc/ieee-754/divdf3.S: Likewise.
6159 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6160 * config/arc/ieee-754/muldf3.S: Likewise.
6161 * config/arc/ieee-754/mulsf3.S: Likewise
6162 * config/arc/lib1funcs.S: Likewise
6163 * config/arc/gmon/dcache_linesz.S: Don't read the build register
6165 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
6167 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
6168 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
6171 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6173 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
6175 * config/ia64/crtend.S: Likewise.
6177 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
6179 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
6180 __CHAR_BIT__ instead of BITS_PER_UNIT.
6181 * fixed-bit.h: Likewise.
6182 * fp-bit.h: Likewise.
6183 * libgcc2.c (__popcountSI2): Likewise.
6184 (__popcountDI2): Likewise.
6185 * libgcc2.h: Likewise.
6186 * libgcov.h: Likewise.
6188 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
6190 * config/rs6000/atexit.c: New file.
6191 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
6192 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
6193 * config/rs6000/cxa_finalize.c
6194 (catomic_compare_and_exchange_bool_acq): Negate return value.
6196 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
6198 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
6199 (processor_subtypes): Add znver1.
6200 (get_amd_cpu): Detect znver1.
6202 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
6204 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
6205 Include crtfastmath.o.
6207 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
6210 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
6212 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
6214 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
6215 * config/rl78/divmodsi.S: Update return register to r8.
6216 * config/rl78/divmodhi.S: Update return register to r8,r9.
6217 Branch to main_loop_done_himode to pop registers before return.
6219 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
6221 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
6222 (__cpu_indicator_init): Fix model selection for AMD CPUs.
6224 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
6226 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
6228 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
6230 * config.host (xtensa*-*-uclinux*): New configuration.
6232 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
6234 * config/i386/cpuinfo.c (processor_features): Add
6235 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
6237 2015-09-28 Joseph Myers <joseph@codesourcery.com>
6239 * soft-fp/adddf3.c: Update from glibc.
6240 * soft-fp/addsf3.c: Likewise.
6241 * soft-fp/addtf3.c: Likewise.
6242 * soft-fp/divdf3.c: Likewise.
6243 * soft-fp/divsf3.c: Likewise.
6244 * soft-fp/divtf3.c: Likewise.
6245 * soft-fp/double.h: Likewise.
6246 * soft-fp/eqdf2.c: Likewise.
6247 * soft-fp/eqsf2.c: Likewise.
6248 * soft-fp/eqtf2.c: Likewise.
6249 * soft-fp/extenddftf2.c: Likewise.
6250 * soft-fp/extended.h: Likewise.
6251 * soft-fp/extendsfdf2.c: Likewise.
6252 * soft-fp/extendsftf2.c: Likewise.
6253 * soft-fp/extendxftf2.c: Likewise.
6254 * soft-fp/fixdfdi.c: Likewise.
6255 * soft-fp/fixdfsi.c: Likewise.
6256 * soft-fp/fixdfti.c: Likewise.
6257 * soft-fp/fixsfdi.c: Likewise.
6258 * soft-fp/fixsfsi.c: Likewise.
6259 * soft-fp/fixsfti.c: Likewise.
6260 * soft-fp/fixtfdi.c: Likewise.
6261 * soft-fp/fixtfsi.c: Likewise.
6262 * soft-fp/fixtfti.c: Likewise.
6263 * soft-fp/fixunsdfdi.c: Likewise.
6264 * soft-fp/fixunsdfsi.c: Likewise.
6265 * soft-fp/fixunsdfti.c: Likewise.
6266 * soft-fp/fixunssfdi.c: Likewise.
6267 * soft-fp/fixunssfsi.c: Likewise.
6268 * soft-fp/fixunssfti.c: Likewise.
6269 * soft-fp/fixunstfdi.c: Likewise.
6270 * soft-fp/fixunstfsi.c: Likewise.
6271 * soft-fp/fixunstfti.c: Likewise.
6272 * soft-fp/floatdidf.c: Likewise.
6273 * soft-fp/floatdisf.c: Likewise.
6274 * soft-fp/floatditf.c: Likewise.
6275 * soft-fp/floatsidf.c: Likewise.
6276 * soft-fp/floatsisf.c: Likewise.
6277 * soft-fp/floatsitf.c: Likewise.
6278 * soft-fp/floattidf.c: Likewise.
6279 * soft-fp/floattisf.c: Likewise.
6280 * soft-fp/floattitf.c: Likewise.
6281 * soft-fp/floatundidf.c: Likewise.
6282 * soft-fp/floatundisf.c: Likewise.
6283 * soft-fp/floatunditf.c: Likewise.
6284 * soft-fp/floatunsidf.c: Likewise.
6285 * soft-fp/floatunsisf.c: Likewise.
6286 * soft-fp/floatunsitf.c: Likewise.
6287 * soft-fp/floatuntidf.c: Likewise.
6288 * soft-fp/floatuntisf.c: Likewise.
6289 * soft-fp/floatuntitf.c: Likewise.
6290 * soft-fp/gedf2.c: Likewise.
6291 * soft-fp/gesf2.c: Likewise.
6292 * soft-fp/getf2.c: Likewise.
6293 * soft-fp/ledf2.c: Likewise.
6294 * soft-fp/lesf2.c: Likewise.
6295 * soft-fp/letf2.c: Likewise.
6296 * soft-fp/muldf3.c: Likewise.
6297 * soft-fp/mulsf3.c: Likewise.
6298 * soft-fp/multf3.c: Likewise.
6299 * soft-fp/negdf2.c: Likewise.
6300 * soft-fp/negsf2.c: Likewise.
6301 * soft-fp/negtf2.c: Likewise.
6302 * soft-fp/op-1.h: Likewise.
6303 * soft-fp/op-2.h: Likewise.
6304 * soft-fp/op-4.h: Likewise.
6305 * soft-fp/op-8.h: Likewise.
6306 * soft-fp/op-common.h: Likewise.
6307 * soft-fp/quad.h: Likewise.
6308 * soft-fp/single.h: Likewise.
6309 * soft-fp/soft-fp.h: Likewise.
6310 * soft-fp/subdf3.c: Likewise.
6311 * soft-fp/subsf3.c: Likewise.
6312 * soft-fp/subtf3.c: Likewise.
6313 * soft-fp/truncdfsf2.c: Likewise.
6314 * soft-fp/trunctfdf2.c: Likewise.
6315 * soft-fp/trunctfsf2.c: Likewise.
6316 * soft-fp/trunctfxf2.c: Likewise.
6317 * soft-fp/unorddf2.c: Likewise.
6318 * soft-fp/unordsf2.c: Likewise.
6319 * soft-fp/unordtf2.c: Likewise.
6321 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
6324 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
6326 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6328 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6329 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
6330 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
6332 (internal_mcount): Likewise.
6333 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
6334 crt_compile, add CRTSTUFF_T_CFLAGS_S.
6336 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6338 * configure.ac (libgcc_cv_solaris_crts): New test.
6339 * configure: Regenerate.
6340 * config.in: Regenerate.
6341 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
6342 * config/gmon-sol2.c: Rename to ...
6343 * config/sol2/gmon.c: ... this.
6344 Include auto-target.h.
6345 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
6346 * config/t-sol2: Rename to ...
6347 * config/sol2/t-sol2: ... this.
6348 (gmon.o): Reflect renaming.
6349 (crtp.o, crtpg.o): New rules.
6350 * config.host (*-*-solaris2*): Reflect renaming.
6351 Use system CRTs if present.
6352 Remove default CRT case.
6354 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
6356 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
6357 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
6359 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
6360 (__sync_val_compare_and_swap_##WIDTH): Likewise.
6361 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
6362 (__sync_lock_test_and_set_##WIDTH): Likewise.
6363 (__sync_lock_release_##WIDTH): Likewise.
6364 (__sync_fetch_and_##OP##_4): Change result to match type of
6366 (__sync_##OP##_and_fetch_4): Likewise.
6367 (__sync_val_compare_and_swap_4): Likewise.
6368 (__sync_bool_compare_and_swap_4): likewise.
6369 (__sync_lock_test_and_set_4): Likewise.
6370 (__sync_lock_release_4): Likewise.
6371 (FETCH_AND_OP_2): Add long long variants.
6372 (OP_AND_FETCH_2): Likewise.
6373 (COMPARE_AND_SWAP_2 ): Likewise.
6374 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6375 (SYNC_LOCK_RELEASE_2): Likewise.
6376 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
6378 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
6380 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
6381 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
6382 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
6383 (get_available_features): Habdle new features.
6385 2015-09-21 James Bowman <james.bowman@ftdichip.com>
6387 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
6388 memory layout. Deal correctly with BSS region larger than 32K.
6389 Handle a watchdog reset like a power-on reset. Clean up unused
6392 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
6393 David Edelsohn <dje.gcc@gmail.com>
6395 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
6396 * config/rs6000/crtdbase.S: New file.
6397 * config/rs6000/t-aix-cxa: Build crtdbase.o.
6399 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
6401 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
6402 Add support for call0 ABI.
6404 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
6406 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
6408 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
6410 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
6411 (__GTHREAD_HAS_COND): Likewise.
6412 (__gthread_t): Likewise.
6413 (__gthread_cond_t): Likewise.
6414 (__gthread_time_t): Likewise.
6415 (__GTHREAD_MUTEX_INIT): Likewise.
6416 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
6417 (__GTHREAD_COND_INIT): Likewise.
6418 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
6419 (__GTHREAD_TIME_INIT): Likewise.
6420 (__gthread_create): Likewise.
6421 (__gthread_join): Likewise.
6422 (__gthread_detach): Likewise.
6423 (__gthread_equal): Likewise.
6424 (__gthread_self): Likewise.
6425 (__gthread_yield): Likewise.
6426 (__gthread_cond_broadcast): Likewise.
6427 (__gthread_cond_signal): Likewise.
6428 (__gthread_cond_wait): Likewise.
6429 (__gthread_cond_timedwait): Likewise.
6430 (__gthread_cond_wait_recursive): Likewise.
6431 (__gthread_cond_destroy): Likewise.
6432 (rtems_gxx_once): Delete.
6433 (rtems_gxx_key_create): Likewise.
6434 (rtems_gxx_key_delete): Likewise.
6435 (rtems_gxx_getspecific): Likewise.
6436 (rtems_gxx_setspecific): Likewise.
6437 (rtems_gxx_mutex_init): Likewise.
6438 (rtems_gxx_mutex_destroy): Likewise.
6439 (rtems_gxx_mutex_lock): Likewise.
6440 (rtems_gxx_mutex_trylock): Likewise.
6441 (rtems_gxx_mutex_unlock): Likewise.
6442 (rtems_gxx_recursive_mutex_init): Likewise.
6443 (rtems_gxx_recursive_mutex_lock): Likewise.
6444 (rtems_gxx_recursive_mutex_trylock): Likewise.
6445 (rtems_gxx_recursive_mutex_unlock): Likewise.
6446 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
6447 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
6448 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
6449 (__gthread_once): Likewise.
6450 (__gthread_key_create): Likewise.
6451 (__gthread_key_delete): Likewise.
6452 (__gthread_getspecific): Likewise.
6453 (__gthread_setspecific): Likewise.
6454 (__gthread_key_t): Use <pthread.h> type.
6455 (__gthread_once_t): Likewise
6456 (__gthread_mutex_t): Use <sys/lock.h> type.
6457 (__gthread_recursive_mutex_t): Likewise
6458 (__gthread_mutex_lock): Use <sys/lock.h> function.
6459 (__gthread_mutex_trylock): Likewise.
6460 (__gthread_mutex_timedlock): Likewise.
6461 (__gthread_mutex_unlock): Likewise.
6462 (__gthread_mutex_destroy): Likewise.
6463 (__gthread_recursive_mutex_lock): Likewise.
6464 (__gthread_recursive_mutex_trylock): Likewise.
6465 (__gthread_recursive_mutex_timedlock): Likewise.
6466 (__gthread_recursive_mutex_unlock): Likewise.
6467 (__gthread_recursive_mutex_destroy): Likewise.
6469 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6471 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
6472 context->sp instead of context->cfa.
6474 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6476 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
6477 with unwind-dw2-fde-dip.
6479 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6481 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
6482 CALL12 followed by series of ENTRY to spill windowed registers.
6483 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
6484 instead of making linux spill syscall.
6486 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
6488 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
6489 (get_intel_cpu): Likewise.
6491 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
6493 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
6494 (get_intel_cpu): Add Knights Landing support.
6496 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
6499 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
6500 (get_available_features): Handle FEATURE_PCLMUL.
6502 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
6504 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
6507 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
6510 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
6511 (get_available_features): Handle FEATURE_AES.
6513 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
6515 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
6516 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
6518 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
6520 * offloadstuff.c: Constify host data.
6522 2015-07-17 Jan Beulich <jbeulich@suse.com>
6524 * config/t-softfp: Split up "else ifneq".
6526 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
6527 Cesar Philippidis <cesar@codesourcery.com>
6528 Chung-Lin Tang <cltang@codesourcery.com>
6530 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
6531 for __nios2_arch__ level.
6533 2015-07-13 John Marino <gnugcc@marino.st>
6535 * config/i386/t-dragonfly: New.
6537 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
6539 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6540 better match light-weight syscall argument order.
6541 (__kernel_cmpxchg2): Likewise.
6544 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
6546 * config.host: Support i[34567]86-*-elfiamcu target.
6547 * config/t-softfp-sfdftf: New file.
6548 * config/i386/32/t-iamcu: Likewise.
6549 * configure: Regenerated.
6551 2015-06-23 James Lemke <jwlemke@codesourcery.com>
6554 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6556 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
6558 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6560 2015-05-27 John Marino <gnugcc@marino.st>
6562 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6564 * config/i386/freebsd-unwind.h: New.
6566 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
6568 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6569 i386/t-crtfm to tmake_file.
6570 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6571 (set_fast_math): Use set_fast_math_sse for SSE targets.
6572 * config/i386/t-crtfm: Remove.
6574 2015-05-21 Alan Modra <amodra@gmail.com>
6577 * config/rs6000/morestack.S: Remove ".abiversion 1".
6579 2015-05-20 Alan Modra <amodra@gmail.com>
6581 * config/rs6000/morestack.S: New.
6582 * config/rs6000/t-stack-rs6000: New.
6583 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6585 * generic-morestack.c: Don't build for powerpc 32-bit.
6587 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
6589 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6590 Remove useless endif/ifneq ($(enable_shared),yes) pair.
6592 2015-05-16 James Bowman <james.bowman@ftdichip.com>
6594 * config.host: FT32 target added.
6595 * config/ft32/*: New files for FT32 target.
6597 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
6599 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6601 * config/arm/ieee754-df.S: Add CFI directives.
6602 * config/arm/ieee754-sf.S: Add CFI directives.
6604 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
6606 * configure.ac: Include config/sjlj.m4.
6607 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6608 * config.in: Regenerate.
6609 * configure: Likewise.
6610 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6612 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
6614 * libgcov-util.c: Add space between string literal and macro name.
6616 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
6617 Chris Jones <chrisj@nvidia.com>
6618 Joshua Conner <jconner@nvidia.com>
6620 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6621 (arm*-*-uclinux*): Likewise.
6622 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6623 * config/arm/crtfastmath.c: New file.
6625 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
6627 * Makefile.in (real_host_noncanonical): New variable.
6628 (libsubdir): Use it.
6629 * configure.ac (real_host_noncanonical): Compute. Remove special
6630 case for intelmicemul.
6631 * configure: Regenerate.
6633 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
6635 * config/frv/elf-lib.h: New file.
6636 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6637 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6640 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
6642 * config/frv/frvbengin.c: Do not include defaults.h
6643 * config/frv/frvend.c: Ditto.
6645 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
6647 * config.host: Add h8300-*-linux
6648 * config/h8300/t-linux: New file.
6649 * config/h8300/lib1funs.s: Change symbol prefix.
6650 * config/h8300/sfp-machine.h: 64bit double support.
6652 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
6653 Szabolcs Nagy <szabolcs.nagy@arm.com>
6655 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6656 Linux if target provides dl_iterate_phdr.
6658 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
6661 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6662 * config/i386/cpuinfo.c (__cpu_model): Initialize.
6663 (__cpu_indicator_init@GCC_4.8.0): New.
6664 (__cpu_model@GCC_4.8.0): Likewise.
6665 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6668 2015-04-16 Nick Clifton <nickc@redhat.com>
6670 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6671 and __modhi3 functions.
6672 * config/rl78/divmodso.S: Add G14 and G13 versions of the
6673 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6675 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
6677 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6678 do-while loop as macro body to avoid warnings.
6680 2015-04-10 Jakub Jelinek <jakub@redhat.com>
6681 Iain Sandoe <iain@codesourcery.com>
6684 * configure: Regenerate.
6686 2015-04-07 Jakub Jelinek <jakub@redhat.com>
6687 Iain Sandoe <iain@codesourcery.com>
6690 * configure: Regenerate.
6692 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
6694 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6696 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
6698 Implement call0 ABI for xtensa
6699 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6700 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6701 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6702 use ret in call0 ABI.
6703 * config/xtensa/t-windowed: New file.
6704 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6705 * libgcc/configure: Regenerated.
6706 * libgcc/configure.ac: Check if xtensa target is configured for
6707 windowed ABI and thus needs to use custom unwind code.
6709 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
6712 * gthr-single.h: Use __unused__ attribute instead of unused.
6713 * config/gthr-vxworks.h: Likewise.
6714 * config/i386/gthr-win32.h: Likewise.
6716 2015-02-27 Kai Tietz <ktietz@redhat.com>
6719 * config.in: Regenerated.
6720 * configure: Likewise.
6721 * configure.ac (AC_HEADER_STDC): Added explicit.
6722 (AC_CHECK_HEADERS): Check for default headers plus
6724 * libgcov-util.c (gcov_read_profile_dir): Disable use
6725 of ftw-function, if header is not found.
6726 (ftw_read_file): Likewise.
6728 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
6731 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6734 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
6736 * config/arm/bpabi.S (test_div_by_zero): Make label names
6737 consistent between thumb2 and arm mode cases. Separate the
6738 signed comparison on the high word of the numerator from the
6739 unsigned comparison on the low word.
6740 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6743 2015-02-17 Joseph Myers <joseph@codesourcery.com>
6745 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6747 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6749 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
6751 PR gcov-profile/61889
6752 * libgcov-driver-system.c: undefine clashing macro for mkdir.
6754 2015-02-02 Nick Clifton <nickc@redhat.com>
6756 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6757 rounding up the fraction.
6759 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
6761 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
6762 oldval and newval to const void *. Fix typo.
6763 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
6764 (FETCH_AND_OP_WORD): Likewise.
6765 (OP_AND_FETCH_WORD): Likewise.
6766 (COMPARE_AND_SWAP_2): Likewise.
6767 (__sync_val_compare_and_swap_4): Likewise.
6768 (__sync_lock_test_and_set_4): Likewise.
6769 (SYNC_LOCK_RELEASE_2): Likewise.
6770 Remove support for long long atomic operations.
6772 2015-01-27 Caroline Tice <cmtice@google.com>
6774 Committing VTV Cywin/Ming patch for Patrick Wollgast
6775 * Makefile.in: Move rules to build vtv_*.o out of the check
6776 for CUSTOM_CRTSTUFF.
6777 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
6778 i[34567]86-*-mingw*)
6779 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
6780 enable_vtable_verify.
6782 2015-01-27 Nick Clifton <nickc@redhat.com>
6784 * config/rl78/cmpsi2.S: Use function start and end macros.
6785 (__gcc_bcmp): New function.
6786 * config/rl78/lshrsi3.S: Use function start and end macros.
6787 * config/rl78/mulsi3.S: Add support for G10.
6788 (__mulqi3): New function for G10.
6789 * config/rl78/signbit.S: Use function start and end macros.
6790 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
6792 (LIB2FUNCS_EXCLUDE): Define.
6793 (LIB2FUNCS_ST): Define.
6794 * config/rl78/trampoline.S: Use function start and end macros.
6795 * config/rl78/vregs.h (START_FUNC): New macro.
6796 (START_ANOTHER_FUNC): New macro.
6797 (END_FUNC): New macro.
6798 (END_ANOTHER_FUNC): New macro.
6799 * config/rl78/bit-count.S: New file. Contains assembler
6800 implementations of the bit counting functions: ___clzhi2,
6801 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
6802 __paritysi2, __popcounthi2 and __popcountsi2.
6803 * config/rl78/fpbit-sf.S: New file. Contains assembler
6804 implementationas of the math functions: __negsf2, __cmpsf2,
6805 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
6806 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
6807 * config/rl78/fpmath-sf.S: New file. Contains assembler
6808 implementations of the math functions: __subsf3, __addsf3,
6809 __mulsf3 and __divsf3
6811 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6813 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
6814 Add i386/elf-lib.h to tm_file.
6815 * config/i386/elf-lib.h: Fix comment.
6816 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
6817 && __sun__ && __svr4__]: Remove workaround.
6819 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6821 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
6823 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
6825 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
6827 * config/i386/cpuinfo.c (processor_subtypes): Add
6828 INTEL_COREI7_BROADWELL.
6829 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
6832 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
6834 * config/i386/elf-lib.h: New file.
6835 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
6836 Wrap definition in #ifdef __i386__.
6837 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6838 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6839 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6840 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6843 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
6845 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
6846 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
6848 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
6850 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
6851 Update rt_sigframe format and address for current Nios II
6854 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
6856 * config.host (arm*-*-freebsd*): Add new configuration for
6858 * config/arm/freebsd-atomic.c: New file.
6859 * config/arm/t-freebsd: Likewise.
6860 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
6861 'PC-relative indirect' OS's.
6863 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
6865 * config.host: Add Visium support.
6866 * config/visium: New directory.
6868 2015-01-05 Jakub Jelinek <jakub@redhat.com>
6870 Update copyright years.
6872 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
6874 * config.host: Support mipsisa32r6 and mipsisa64r6.
6875 * config/mips/mips16.S: Do not build for R6.
6877 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
6879 * config/sh/crt.h: New.
6880 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
6882 * config/sh/crt1.S: Likewise.
6884 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
6887 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
6888 func_ptr *dtor_list temporary variable to avoid "array subscript
6889 is above array bounds" warnings.
6891 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
6893 * Makefile.in (with_aix_soname): Define.
6894 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
6895 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
6896 * configure: Recreate.
6898 2014-12-05 Olivier Hainque <hainque@adacore.com>
6900 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
6901 now provided by defaults.h.
6903 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
6906 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
6907 whether it's defined.
6909 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
6911 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
6912 * config/i386/cpuinfo.c (get_available_features): Detect it.
6914 2014-11-27 Tony Wang <tony.wang@arm.com>
6916 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
6917 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
6918 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
6920 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
6922 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
6924 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
6926 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
6929 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
6930 John David Anglin <danglin@gcc.gnu.org>
6932 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
6933 (FETCH_AND_OP_2): New. Use for subword and double word operations.
6934 (OP_AND_FETCH_2): Likewise.
6935 (COMPARE_AND_SWAP_2): Likewise.
6936 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6937 (SYNC_LOCK_RELEASE_2): Likewise.
6938 (SUBWORD_SYNC_OP): Remove.
6939 (SUBWORD_VAL_CAS): Likewise.
6940 (SUBWORD_BOOL_CAS): Likewise.
6941 (FETCH_AND_OP_WORD): Update.
6942 Consistently use signed types.
6944 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
6945 Thomas Schwinge <thomas@codesourcery.com>
6946 Ilya Verbin <ilya.verbin@intel.com>
6947 Andrey Turetskiy <andrey.turetskiy@intel.com>
6949 * Makefile.in (crtoffloadbegin$(objext)): New rule.
6950 (crtoffloadend$(objext)): Likewise.
6951 * configure: Regenerate.
6952 * configure.ac (accel_dir_suffix): Compute new variable.
6953 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
6954 if enable_offload_targets is not empty.
6955 * offloadstuff.c: New file.
6957 2014-11-13 Nick Clifton <nickc@redhat.com>
6959 * config/rl78/divmodhi.S: Add support for the G10 architecture.
6960 Use START_FUNC and END_FUNC macros to enable linker garbage
6962 * config/rl78/divmodqi.S: Likewise.
6963 * config/rl78/divmodsi.S: Likewise.
6964 * config/rl78/mulsi3.S: Likewise.
6965 * config/rl78/lib2div.c: Remove G10 functions.
6966 * config/rl78/lib2muls.c: Likewise.
6967 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
6968 * config/rl78/vregs.h (START_FUNC): New macro.
6969 (END_FUNC): New macro.
6971 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
6973 * config/mips/mips16.S: Set .module when supported. Update O32
6974 FP64 calling convention and use for FPXX when possible. Add FPXX
6975 calling convention fallback case.
6977 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
6979 * config.host: Handle nvptx-*-*.
6980 * shared-object.mk (as-flags-$o): Define.
6981 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
6982 -xassembler-with-cpp.
6983 * static-object.mk: Identical changes.
6984 * config/nvptx/t-nvptx: New file.
6985 * config/nvptx/crt0.s: New file.
6986 * config/nvptx/free.asm: New file.
6987 * config/nvptx/malloc.asm: New file.
6988 * config/nvptx/realloc.c: New file.
6990 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6992 * Makefile.in (libgcc.map.in): New target.
6993 (libgcc.map): Use libgcc.map.in.
6994 * config/t-softfp (softfp_compat): New variable to be set by
6996 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
6998 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
7000 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
7001 that use compat symbols and disable all code unless [SHARED].
7002 * config/t-softfp-compat: New file.
7003 * find-symver.awk: New file.
7004 * configure.ac (--with-glibc-version): New configure option.
7005 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
7006 * configure: Regenerate.
7007 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
7008 soft-float and e500.
7010 2014-10-29 Joseph Myers <joseph@codesourcery.com>
7012 * config/t-hardfp (hardfp_exclusions): Document new variable for
7014 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
7015 * config/t-softfp (softfp_extras): Document new variable for user
7017 (softfp_func_list): Add functions from $(softfp_extras).
7018 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
7019 * config.host (powerpc*-*-linux*): For e500v1, use
7020 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
7021 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
7022 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
7024 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
7026 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
7027 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
7028 memory read accesses are ok.
7030 2014-10-25 Joseph Myers <joseph@codesourcery.com>
7032 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
7033 * configure: Regenerate.
7034 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
7035 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
7036 of soft-fp for 32-bit classic hard float. Do not use
7037 t-softfp-excl for soft float.
7039 2014-10-22 Joseph Myers <joseph@codesourcery.com>
7041 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
7043 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
7046 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
7048 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
7049 introduced with 2014-10-21 trunk r216525.
7051 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7052 Vidya Praveen <vidya.praveen@atmel.com>
7053 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
7054 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
7055 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
7057 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
7060 Updated library functions for AVRTINY arch.
7061 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
7062 Replaced occurrences of r0/r1 with tmp/zero reg macros.
7063 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
7064 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
7066 (__mulsi3_helper): Update stack, preserve callee saved regs and
7067 argument from stack. Restore callee save registers.
7068 (__mulpsi3): Likewise.
7069 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
7070 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
7071 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
7073 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
7074 (__do_copy_data): Added new definition for AVRTINY.
7075 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
7076 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
7077 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
7078 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
7079 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
7081 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
7084 Fix broken long multiplication on tiny arch.
7086 2014-10-09 Joseph Myers <joseph@codesourcery.com>
7088 * soft-fp/double.h: Update from glibc.
7089 * soft-fp/eqdf2.c: Likewise.
7090 * soft-fp/eqsf2.c: Likewise.
7091 * soft-fp/eqtf2.c: Likewise.
7092 * soft-fp/extenddftf2.c: Likewise.
7093 * soft-fp/extended.h: Likewise.
7094 * soft-fp/extendsfdf2.c: Likewise.
7095 * soft-fp/extendsftf2.c: Likewise.
7096 * soft-fp/extendxftf2.c: Likewise.
7097 * soft-fp/gedf2.c: Likewise.
7098 * soft-fp/gesf2.c: Likewise.
7099 * soft-fp/getf2.c: Likewise.
7100 * soft-fp/ledf2.c: Likewise.
7101 * soft-fp/lesf2.c: Likewise.
7102 * soft-fp/letf2.c: Likewise.
7103 * soft-fp/op-1.h: Likewise.
7104 * soft-fp/op-2.h: Likewise.
7105 * soft-fp/op-4.h: Likewise.
7106 * soft-fp/op-8.h: Likewise.
7107 * soft-fp/op-common.h: Likewise.
7108 * soft-fp/quad.h: Likewise.
7109 * soft-fp/single.h: Likewise.
7110 * soft-fp/soft-fp.h: Likewise.
7111 * soft-fp/unorddf2.c: Likewise.
7112 * soft-fp/unordsf2.c: Likewise.
7113 * soft-fp/unordtf2.c: Likewise.
7114 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
7115 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
7116 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
7117 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
7118 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
7119 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
7120 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
7121 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
7122 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
7123 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
7125 2014-10-08 Rong Xu <xur@google.com>
7127 * libgcov-util.c (read_gcda_file): Fix format.
7128 (find_match_gcov_info): Ditto.
7129 (calculate_2_entries): New.
7130 (compute_one_gcov): Ditto.
7131 (gcov_info_count_all_cold): Ditto.
7132 (gcov_info_count_all_zero): Ditto.
7133 (extract_file_basename): Ditto.
7134 (get_file_basename): Ditto.
7136 (matched_gcov_info): Ditto.
7137 (calculate_overlap): Ditto.
7138 (gcov_profile_overlap): Ditto.
7139 * libgcov-driver.c (compute_summary): Make
7140 it avavilable for external calls.
7142 2014-10-06 Rong Xu <xur@google.com>
7144 * Makefile.in: Ditto.
7145 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
7146 (gcov_sort_icall_topn_counter): Ditto.
7147 (gcov_sort_topn_counter_arrays): Ditto.
7148 (dump_one_gcov): Sort indirect_call topn counters.
7149 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
7151 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
7153 (__gcov_indirect_call_topn_profiler): New profiler function.
7154 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
7155 * libgcov.h: New decls.
7157 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
7159 * config.host: Remove support for score-*.
7161 2014-09-22 Joseph Myers <joseph@codesourcery.com>
7163 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7164 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
7165 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
7166 __LIBGCC_XF_MANT_DIG__.
7167 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
7168 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
7169 __LIBGCC_TF_MANT_DIG__.
7170 * libgcc2.c (NOTRUNC): Define in terms of
7171 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
7172 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7174 2014-09-22 Joseph Myers <joseph@codesourcery.com>
7177 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
7180 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
7182 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
7183 override USE_PT_GNU_EH_FRAME.
7184 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
7185 check USE_EH_FRAME_REGISTRY_ALWAYS against
7186 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
7187 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
7188 variable for substituted force_explicit_eh_registry.
7189 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
7190 * configure.ac (explicit-exception-frame-registration):
7192 * configure: Regenerate.
7194 2014-09-19 Olivier Hainque <hainque@adacore.com>
7196 * config.host (powerpc-wrs-vxworksmils): New configuration,
7199 2014-09-18 Joseph Myers <joseph@codesourcery.com>
7201 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
7203 2014-09-18 Joseph Myers <joseph@codesourcery.com>
7205 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
7206 bits not set bits as indicating trapping exceptions.
7208 2014-09-17 Nathan sidwell <nathan@acm.org>
7210 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
7211 (LIBGCOV_DRIVER): ... here.
7212 * libgcov-driver.c (gcov_master): New.
7213 (gcov_exit): Remove from master chain.
7214 (__gcov_init): Add to master chain if version compatible. Don't
7216 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
7217 (gcov_reset_int): Clear master chain, if compatible.
7218 (gcov_dump_int): New internal interface. Dump master chain, if
7220 (gcov_dump): Alias for gcov_dump_int.
7221 * libgcov.h (struct gcov_root): Add next and prev fields.
7222 (struct gcov_master): New struct.
7223 (__gcov_master): New.
7224 (gcov_dump_int): Declare.
7226 2014-09-17 Olivier Hainque <hainque@adacore.com>
7228 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
7229 and crtbegin.o + crtend.o to extra_parts.
7231 2014-09-12 Joseph Myers <joseph@codesourcery.com>
7233 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
7234 __LIBGCC_HAS_SF_MODE__.
7235 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7236 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7237 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7238 * config/libbid/bid_gcc_intrinsics.h
7239 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7240 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7241 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7242 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7243 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
7244 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7246 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
7249 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
7250 and R24 as needed. Make work for all devices and .text locations.
7251 (__do_global_ctors, __do_global_dtors): Use word addresses.
7252 (__tablejump__, __tablejump_elpm__): Remove functions.
7253 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
7255 (XICALL, XIJMP): New macros.
7257 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
7258 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7260 * config.host (aarch64*): Include crtfastmath.o and
7262 * config/aarch64/crtfastmath.c: New file.
7264 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
7266 * config.host: Remove picochip support.
7267 * config/picochip/adddi3.S: Remove.
7268 * config/picochip/ashlsi3.S: Remove.
7269 * config/picochip/ashlsi3.c: Remove.
7270 * config/picochip/ashrsi3.S: Remove.
7271 * config/picochip/ashrsi3.c: Remove.
7272 * config/picochip/clzsi2.S: Remove.
7273 * config/picochip/cmpsi2.S: Remove.
7274 * config/picochip/divmod15.S: Remove.
7275 * config/picochip/divmodhi4.S: Remove.
7276 * config/picochip/divmodsi4.S: Remove.
7277 * config/picochip/lib1funcs.S: Remove.
7278 * config/picochip/longjmp.S: Remove.
7279 * config/picochip/lshrsi3.S: Remove.
7280 * config/picochip/lshrsi3.c: Remove.
7281 * config/picochip/parityhi2.S: Remove.
7282 * config/picochip/popcounthi2.S: Remove.
7283 * config/picochip/setjmp.S: Remove.
7284 * config/picochip/subdi3.S: Remove.
7285 * config/picochip/t-picochip: Remove.
7286 * config/picochip/ucmpsi2.S: Remove.
7287 * config/picochip/udivmodhi4.S: Remove.
7288 * config/picochip/udivmodsi4.S: Remove.
7290 2014-09-08 Joseph Myers <joseph@codesourcery.com>
7292 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
7293 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
7294 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
7295 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
7296 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
7297 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
7298 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
7299 defined and LIBGCC2_HAS_DF_MODE is defined.
7300 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
7301 defined and LIBGCC2_HAS_XF_MODE is defined.
7302 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
7303 defined and LIBGCC2_HAS_TF_MODE is defined.
7305 2014-09-08 Joseph Myers <joseph@codesourcery.com>
7307 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
7308 and ROUND_TOWARDS_ZERO conditionals.
7310 2014-09-07 Nathan sidwell <nathan@acm.org>
7312 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
7313 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
7315 2014-09-05 Joseph Myers <joseph@codesourcery.com>
7317 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
7318 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7319 uses to __LIBGCC_STACK_POINTER_REGNUM__.
7320 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7321 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7322 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7323 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7324 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
7325 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
7326 (DWARF_FRAME_REGISTERS): Change all uses to
7327 __LIBGCC_DWARF_FRAME_REGISTERS__.
7328 (EH_RETURN_STACKADJ_RTX): Change all uses to
7329 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7330 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
7331 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
7332 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
7333 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
7334 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
7335 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
7336 to __LIBGCC_EH_FRAME_SECTION_NAME__.
7337 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
7338 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
7339 __LIBGCC_STACK_POINTER_REGNUM__.
7340 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7341 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7342 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7343 to __LIBGCC_STACK_POINTER_REGNUM__.
7344 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7345 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7346 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7347 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7348 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7349 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7350 (STACK_POINTER_REGNUM): Change all uses to
7351 __LIBGCC_STACK_POINTER_REGNUM__.
7352 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
7353 use to __LIBGCC_STACK_POINTER_REGNUM__.
7354 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7355 uses to __LIBGCC_STACK_POINTER_REGNUM__.
7356 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
7357 to __LIBGCC_DWARF_FRAME_REGISTERS__.
7358 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
7359 to __LIBGCC_DWARF_FRAME_REGISTERS__.
7360 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7361 to __LIBGCC_STACK_POINTER_REGNUM__.
7362 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
7363 Remove conditional definition.
7364 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
7365 __LIBGCC_TEXT_SECTION_ASM_OP__.
7366 (EH_FRAME_SECTION_NAME): Change all uses to
7367 __LIBGCC_EH_FRAME_SECTION_NAME__.
7368 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
7369 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
7370 (CTORS_SECTION_ASM_OP): Change all uses to
7371 __LIBGCC_CTORS_SECTION_ASM_OP__.
7372 (DTORS_SECTION_ASM_OP): Change all uses to
7373 __LIBGCC_DTORS_SECTION_ASM_OP__.
7374 (JCR_SECTION_NAME): Change all uses to
7375 __LIBGCC_JCR_SECTION_NAME__.
7376 (INIT_SECTION_ASM_OP): Change all uses to
7377 __LIBGCC_INIT_SECTION_ASM_OP__.
7378 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7379 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7380 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
7381 __LIBGCC_STACK_GROWS_DOWNWARD__.
7382 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
7383 __LIBGCC_INIT_SECTION_ASM_OP__.
7384 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7385 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7386 (EH_FRAME_SECTION_NAME): Change all uses to
7387 __LIBGCC_EH_FRAME_SECTION_NAME__.
7388 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
7389 definitions. Change all uses to
7390 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
7391 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
7392 __LIBGCC_STACK_GROWS_DOWNWARD__.
7393 (DWARF_FRAME_REGISTERS): Change all uses to
7394 __LIBGCC_DWARF_FRAME_REGISTERS__.
7395 (EH_RETURN_STACKADJ_RTX): Change all uses to
7396 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7397 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
7398 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
7399 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
7400 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
7401 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
7403 2014-09-02 Nathan sidwell <nathan@acm.org>
7405 * libgcov-interface.c (STRONG_ALIAS): New.
7406 (__gcov_flush): Call __gcov_reset_int.
7407 (__gcov_reset): Strong alias for ...
7408 (__gcov_reset_ing): ... this renamed hidden version.
7409 * libgcov.h (__gcov_reset_int): New declaration.
7411 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
7413 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
7415 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
7416 (__dso_handle): Define on Cygwin.
7417 * config/i386/t-cygming (crtbeginS.o): New rule.
7418 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
7420 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
7423 2014-08-13 Steve Ellcey <sellcey@mips.com>
7425 * crtstuff.c: Undef caddr_t.
7427 2014-08-12 Steve Ellcey <sellcey@mips.com>
7429 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
7431 2014-08-07 Nathan Sidwell <nathan@acm.org>
7433 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
7434 (LIBGCOV_DRIVER): ... to here.
7435 * libgcov.h (gcov_do_dump): New #define.
7436 (struct gcov_root): New.
7437 (__gcov_root): New declaration.
7438 (__gcov_dump_one): Declare.
7439 * libgcov-driver.c (gcov_list, gcov_dump_complete,
7440 run_accounted): Delete.
7441 (gcov_compute_histogram): Add LIST argument, adjust.
7442 (compute_summary): Adjust gcov_compute_histogram call.
7443 (gcov_do_dump): Not hidden, static in libgcov.
7444 (gcov_clear): Move to interface.c.
7445 (__gcov_dump_one): New, broken out of ...
7446 (gcov_exit): ... here. Make static.
7448 (__gcov_init): Adjust.
7449 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
7451 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
7452 (gcov_clear): Moved from driver.c. Add LIST argument.
7453 (__gcov_reset): Adjust for changed interfaces.
7454 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
7456 2014-08-04 Rohit <rohitarulraj@freescale.com>
7459 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
7460 based on change in SPE high register numbers and 3 HTM registers.
7462 2014-08-01 Nathan Sidwell <nathan@acm.org>
7464 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
7465 LIBGCOV_INTERFACE): Reformat.
7466 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
7468 * libgcov-interface.c: Reformat some comments.
7469 (__gcov_flush_mx): Add declaration. Tidy up definition.
7471 2014-07-31 Alan Modra <amodra@gmail.com>
7472 Peter Bergner <bergner@vnet.ibm.com>
7474 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
7475 (pack_ldouble): New function.
7476 (__gcc_qadd): Use it.
7477 (__gcc_qmul): Likewise.
7478 (__gcc_qdiv): Likewise.
7479 (__gcc_qneg): Likewise.
7480 (__gcc_stoq): Likewise.
7481 (__gcc_dtoq): Likewise.
7483 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
7485 * config/s390/tpf-unwind.h: Include <stdbool.h>.
7486 (__tpf_eh_return): Add original return address as second parameter.
7487 Handle cases where unwinder routines were called directly, instead
7488 of from within the C++ library.
7490 2014-07-29 Nathan Sidwell <nathan@acm.org>
7492 * libgcov.h: Move renaming of entry points to lib gcov specific
7494 (gcov_do_dump): New rename.
7495 (gcov_rewrite): Remove inline, make HIDDEN.
7496 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
7497 (gcov_exit_compute_summary): Rename to ...
7498 (compute_summary): ... here. Add LIST argument.
7499 (gcov_exit_merge_gcda): Rename to ...
7500 (merge_one_data): ... here.
7501 (gcov_exit_write_gcda): Rename to ...
7502 (write_one_data): ... here.
7503 (gcov_exit_merge_summary): Rename to ...
7504 (merge_summary): Add RUN_COUNTED argument.
7505 (gcov_exit_dump_gcov): Rename to ...
7506 (dump_one_gcov): Add RUN_COUNTED argument.
7507 (gcov_do_dump): New function, broken out of ...
7508 (gcov_exit): ... here. Call it.
7510 2014-07-27 Anthony Green <green@moxielogic.com>
7512 * config.host: Add moxiebox configuration suppport.
7514 2014-07-27 Nathan Sidwell <nathan@acm.org>
7516 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
7517 (struct gcov_filename): ... here. Include buffer and max length
7519 (gcov_max_filename): Remove.
7520 (gi_filename): Remove.
7521 (gcov_exit_compute_summary): Compute max filename here.
7522 (gcov_exit_merge_gcda): Add filename parm, adjust.
7523 (gcov_exit_merge_summary): Likewise.
7524 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
7525 (gcov_exit): Likewise.
7526 (__gcov_init): Don't calculate max length here.
7527 * libgcov_util.c (max_filename_len): Remove.
7528 (read_gcda_file): Don't calculate max length here.
7529 (gcov_read_profile_dir): Don't propagate here.
7530 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
7531 struct gcov_filename changes.
7532 (gcov_exit_open_gcda_file): Likewise.
7534 2014-07-25 Nathan Sidwell <nathan@acm.org>
7536 * libgcov-driver.c (set_gcov_dump_complete,
7537 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
7538 functions polluting user's namespace.
7539 (gcov_exit): Set variable directly.
7540 (gcov_clear): Reset variable directly.
7541 * libgcov-interface.c (get_gcov_dymp_complete,
7542 reset_gov_dump_complete): Remove declarations.
7543 (__gcov_reset, __gcov_dump): Don't call them.
7545 2014-07-24 DJ Delorie <dj@redhat.com>
7547 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
7548 (__gcc_deregister_frame): Move logic to detect deregister function
7550 (__gcc_register_frame): here, so it's consistent with the register
7553 2014-07-23 Nathan Sidwell <nathan@acm.org>
7555 * libgcov-driver.c (set_gcov_list): Remove.
7556 (gcov_list): Make non-static in GCOV_TOOL.
7557 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7559 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
7561 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7562 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7563 Don't use SYNC_LOCK_RELEASE for int type.
7565 2014-07-14 Richard Biener <rguenther@suse.de>
7567 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7569 2014-07-11 Rong Xu <xur@google.com>
7571 * libgcov-util.c (gcov_max_filename): Fix declartion.
7573 2014-07-10 Rong Xu <xur@google.com>
7575 Add gcov-tool: an offline gcda profile processing tool
7577 * libgcov-driver.c (gcov_max_filename): Make available
7579 * libgcov-merge.c (__gcov_merge_add): Replace
7580 gcov_read_counter() with a Macro.
7581 (__gcov_merge_ior): Ditto.
7582 (__gcov_merge_time_profile): Ditto.
7583 (__gcov_merge_single): Ditto.
7584 (__gcov_merge_delta): Ditto.
7585 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7586 in the utility functions.
7587 (set_fn_ctrs): Utility function for reading gcda files to in-memory
7588 gcov_list object link lists.
7589 (tag_function): Ditto.
7590 (tag_blocks): Ditto.
7593 (tag_counters): Ditto.
7594 (tag_summary): Ditto.
7595 (read_gcda_finalize): Ditto.
7596 (read_gcda_file): Ditto.
7597 (ftw_read_file): Ditto.
7598 (read_profile_dir_init): Ditto.
7599 (gcov_read_profile_dir): Ditto.
7600 (gcov_read_counter_mem): Ditto.
7601 (gcov_get_merge_weight): Ditto.
7602 (merge_wrapper): A wrapper function that calls merging handler.
7603 (gcov_merge): Merge two gcov_info objects with weights.
7604 (find_match_gcov_info): Find the matched gcov_info in the list.
7605 (gcov_profile_merge): Merge two gcov_info object lists.
7606 (__gcov_add_counter_op): Process edge profile counter values.
7607 (__gcov_ior_counter_op): Process IOR profile counter values.
7608 (__gcov_delta_counter_op): Process delta profile counter values.
7609 (__gcov_single_counter_op): Process single profile counter values.
7610 (fp_scale): Callback function for float-point scaling.
7611 (int_scale): Callback function for integer fraction scaling.
7612 (gcov_profile_scale): Scaling profile counters.
7613 (gcov_profile_normalize): Normalize profile counters.
7614 * libgcov.h: Add headers and functions for gcov-tool use.
7615 (gcov_get_counter): New.
7616 (gcov_get_counter_target): Ditto.
7617 (struct gcov_info): Make the functions field mutable in gcov-tool
7620 2014-06-23 Kai Tietz <ktietz@redhat.com>
7623 * unwind-seh.c (_Unwind_GetGR): Check for proper
7625 (_Unwind_SetGR): Likewise.
7627 2014-05-22 Nick Clifton <nickc@redhat.com>
7629 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7632 2014-05-22 Teresa Johnson <tejohnson@google.com>
7634 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7637 2014-05-20 John Marino <gnugcc@marino.st>
7639 * config.host (*-*-dragonfly*): New target.
7640 * crtstuff.c: Make dl_iterate_support generic on *bsd.
7641 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7642 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7643 * config/i386/dragonfly-unwind.h: New.
7645 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7648 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7649 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7651 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
7653 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7656 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
7658 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7660 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7663 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7666 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
7668 Work around for current cygwin32 build problems.
7669 * config/i386/cygming-crtbegin.c (__register_frame_info,
7670 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7671 functions only for 64-bit systems.
7673 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7675 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7676 (sigill_caught, sigill_hdlr): Remove.
7678 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7680 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7682 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7683 Solaris 9 single-threaded support.
7684 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7685 Solaris 9 single-threaded support. Add call_user_handler code
7687 (sparc_is_sighandler): Likewise.
7689 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7691 * config.host: Append t-floattodi to tmake_file depending on
7694 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
7696 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
7698 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
7701 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
7702 variable to avoid "array subscript is above array bounds" warnings.
7703 Use __builtin_expect when checking *jcr_list for NULL.
7705 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7708 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7709 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7710 vtv_*.o to extra_parts if enable_vtable_verify.
7712 2014-03-06 Nick Clifton <nickc@redhat.com>
7714 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7715 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7717 2014-02-28 Joey Ye <joey.ye@arm.com>
7720 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7721 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7724 2014-02-24 Walter Lee <walt@tilera.com>
7726 * config.host: Support "tilegx*" and "tilepro*" triplets.
7727 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7728 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7730 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
7731 Chung-Lin Tang <cltang@codesourcery.com>
7733 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7734 * config/nios2/crti.S: Remove .file directive.
7735 * config/nios2/crtn.S: Likewise.
7737 2014-02-18 Kai Tietz <ktietz@redhat.com>
7738 Jonathan Schleifer <js@webkeks.org>
7741 * unwind-seh.c (_GCC_specific_handler): Pass proper
7742 value to unwind-handler.
7744 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7746 * soft-fp/adddf3.c: Update from glibc.
7747 * soft-fp/addsf3.c: Likewise.
7748 * soft-fp/addtf3.c: Likewise.
7749 * soft-fp/divdf3.c: Likewise.
7750 * soft-fp/divsf3.c: Likewise.
7751 * soft-fp/divtf3.c: Likewise.
7752 * soft-fp/double.h: Likewise.
7753 * soft-fp/eqdf2.c: Likewise.
7754 * soft-fp/eqsf2.c: Likewise.
7755 * soft-fp/eqtf2.c: Likewise.
7756 * soft-fp/extenddftf2.c: Likewise.
7757 * soft-fp/extended.h: Likewise.
7758 * soft-fp/extendsfdf2.c: Likewise.
7759 * soft-fp/extendsftf2.c: Likewise.
7760 * soft-fp/extendxftf2.c: Likewise.
7761 * soft-fp/fixdfdi.c: Likewise.
7762 * soft-fp/fixdfsi.c: Likewise.
7763 * soft-fp/fixdfti.c: Likewise.
7764 * soft-fp/fixsfdi.c: Likewise.
7765 * soft-fp/fixsfsi.c: Likewise.
7766 * soft-fp/fixsfti.c: Likewise.
7767 * soft-fp/fixtfdi.c: Likewise.
7768 * soft-fp/fixtfsi.c: Likewise.
7769 * soft-fp/fixtfti.c: Likewise.
7770 * soft-fp/fixunsdfdi.c: Likewise.
7771 * soft-fp/fixunsdfsi.c: Likewise.
7772 * soft-fp/fixunsdfti.c: Likewise.
7773 * soft-fp/fixunssfdi.c: Likewise.
7774 * soft-fp/fixunssfsi.c: Likewise.
7775 * soft-fp/fixunssfti.c: Likewise.
7776 * soft-fp/fixunstfdi.c: Likewise.
7777 * soft-fp/fixunstfsi.c: Likewise.
7778 * soft-fp/fixunstfti.c: Likewise.
7779 * soft-fp/floatdidf.c: Likewise.
7780 * soft-fp/floatdisf.c: Likewise.
7781 * soft-fp/floatditf.c: Likewise.
7782 * soft-fp/floatsidf.c: Likewise.
7783 * soft-fp/floatsisf.c: Likewise.
7784 * soft-fp/floatsitf.c: Likewise.
7785 * soft-fp/floattidf.c: Likewise.
7786 * soft-fp/floattisf.c: Likewise.
7787 * soft-fp/floattitf.c: Likewise.
7788 * soft-fp/floatundidf.c: Likewise.
7789 * soft-fp/floatundisf.c: Likewise.
7790 * soft-fp/floatunditf.c: Likewise.
7791 * soft-fp/floatunsidf.c: Likewise.
7792 * soft-fp/floatunsisf.c: Likewise.
7793 * soft-fp/floatunsitf.c: Likewise.
7794 * soft-fp/floatuntidf.c: Likewise.
7795 * soft-fp/floatuntisf.c: Likewise.
7796 * soft-fp/floatuntitf.c: Likewise.
7797 * soft-fp/gedf2.c: Likewise.
7798 * soft-fp/gesf2.c: Likewise.
7799 * soft-fp/getf2.c: Likewise.
7800 * soft-fp/ledf2.c: Likewise.
7801 * soft-fp/lesf2.c: Likewise.
7802 * soft-fp/letf2.c: Likewise.
7803 * soft-fp/muldf3.c: Likewise.
7804 * soft-fp/mulsf3.c: Likewise.
7805 * soft-fp/multf3.c: Likewise.
7806 * soft-fp/negdf2.c: Likewise.
7807 * soft-fp/negsf2.c: Likewise.
7808 * soft-fp/negtf2.c: Likewise.
7809 * soft-fp/op-1.h: Likewise.
7810 * soft-fp/op-2.h: Likewise.
7811 * soft-fp/op-4.h: Likewise.
7812 * soft-fp/op-8.h: Likewise.
7813 * soft-fp/op-common.h: Likewise.
7814 * soft-fp/quad.h: Likewise.
7815 * soft-fp/single.h: Likewise.
7816 * soft-fp/soft-fp.h: Likewise.
7817 * soft-fp/subdf3.c: Likewise.
7818 * soft-fp/subsf3.c: Likewise.
7819 * soft-fp/subtf3.c: Likewise.
7820 * soft-fp/truncdfsf2.c: Likewise.
7821 * soft-fp/trunctfdf2.c: Likewise.
7822 * soft-fp/trunctfsf2.c: Likewise.
7823 * soft-fp/trunctfxf2.c: Likewise.
7824 * soft-fp/unorddf2.c: Likewise.
7825 * soft-fp/unordsf2.c: Likewise.
7826 * soft-fp/unordtf2.c: Likewise.
7827 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
7829 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7831 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7833 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7835 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7837 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7839 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7841 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7843 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7845 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7847 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7849 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7851 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7853 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
7855 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
7857 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7860 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7862 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
7863 cannot be represented.
7864 * config/s390/32/_fixsfdi.c: Likewise.
7865 * config/s390/32/_fixtfdi.c: Likewise.
7866 * config/s390/32/_fixunsdfdi.c: Likewise.
7867 * config/s390/32/_fixunssfdi.c: Likewise.
7868 * config/s390/32/_fixunstfdi.c: Likewise.
7870 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
7872 * configure.ac (libgcc_cv_mips_hard_float): New.
7873 * configure: Regenerate.
7874 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
7875 t-softfp-sfdf for hard-float targets.
7876 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
7877 (softfp_float_modes, softfp_int_modes, softfp_extensions)
7878 (softfp_truncations, softfp_exclude_libgcc2): New.
7879 * config/t-hardfp: New file.
7880 * config/t-hardfp-sfdf: Likewise.
7881 * config/hardfp.c: Likewise.
7883 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7885 * config.host: Include t-floattodi also for s390x.
7886 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
7887 * config/s390/32/_fixsfdi.c: Likewise.
7888 * config/s390/32/_fixtfdi.c: Likewise.
7889 * config/s390/32/_fixunsdfdi.c: Likewise.
7890 * config/s390/32/_fixunssfdi.c: Likewise.
7891 * config/s390/32/_fixunstfdi.c: Likewise.
7893 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7896 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
7897 (install-libgcc-unwind-map-forbuild): New target.
7898 (all): Depend on install-libgcc-unwind-map-forbuild.
7899 (install-libgcc-unwind-map): New target.
7900 (install): Depend on install-libgcc-unwind-map.
7902 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
7904 * config/nios2/crti.S (_init): Initialize GOT pointer from
7905 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
7907 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
7909 * configure.ac: Check __mips64 when setting host_address.
7910 * configure: Regenerate.
7911 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
7912 mips/t-mips64 and t-softfp.
7913 (mips*-*-linux*): Don't add mips/t-tpbit.
7914 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
7915 (DPBIT, DPBIT_CFLAGS): Delete.
7916 * config/mips/sfp-machine.h: New file.
7917 * config/mips/t-mips64: Likewise.
7918 * config/mips/t-softfp-tf: Likewise.
7919 * config/mips/t-tpbit: Delete.
7921 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
7923 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
7926 2014-01-25 Walter Lee <walt@tilera.com>
7928 * config/tilepro/atomic.c: Include tconfig.h. Don't include
7929 config.h or system.h.
7932 2014-01-25 Walter Lee <walt@tilera.com>
7934 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
7935 (post_atomic_barrier): Ditto.
7936 (__fetch_and_do): New macro.
7937 (__atomic_fetch_and_do): Use __fetch_and_do.
7938 (__sync_fetch_and_do): New macro.
7939 (__sync_fetch_and_add_4): New function.
7940 (__sync_fetch_and_sub_4): New function.
7941 (__sync_fetch_and_or_4): New function.
7942 (__sync_fetch_and_and_4): New function.
7943 (__sync_fetch_and_xor_4): New function.
7944 (__sync_fetch_and_nand_4): New function.
7945 (__sync_fetch_and_add_8): New function.
7946 (__sync_fetch_and_sub_8): New function.
7947 (__sync_fetch_and_or_8): New function.
7948 (__sync_fetch_and_and_8): New function.
7949 (__sync_fetch_and_xor_8): New function.
7950 (__sync_fetch_and_nand_8): New function.
7951 (__do_and_fetch): New macro.
7952 (__atomic_do_and_fetch): Use __do_and_fetch.
7953 (__sync_do_and_fetch): New macro.
7954 (__sync_add_and_fetch_4): New function.
7955 (__sync_sub_and_fetch_4): New function.
7956 (__sync_or_and_fetch_4): New function.
7957 (__sync_and_and_fetch_4): New function.
7958 (__sync_xor_and_fetch_4): New function.
7959 (__sync_nand_and_fetch_4): New function.
7960 (__sync_add_and_fetch_8): New function.
7961 (__sync_sub_and_fetch_8): New function.
7962 (__sync_or_and_fetch_8): New function.
7963 (__sync_and_and_fetch_8): New function.
7964 (__sync_xor_and_fetch_8): New function.
7965 (__sync_nand_and_fetch_8): New function.
7966 (__sync_exchange_methods): New macro.
7967 (__sync_val_compare_and_swap_4): New function.
7968 (__sync_bool_compare_and_swap_4): New function.
7969 (__sync_lock_test_and_test_4): New function.
7970 (__sync_val_compare_and_swap_8): New function.
7971 (__sync_bool_compare_and_swap_8): New function.
7972 (__sync_lock_test_and_test_8): New function.
7973 (__subword_cmpxchg_body): New macro.
7974 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
7975 (__atomic_compare_exchange_2): Ditto.
7976 (__sync_subword_cmpxchg): New macro.
7977 (__sync_val_compare_and_swap_1): New function.
7978 (__sync_bool_compare_and_swap_1): New function.
7979 (__sync_val_compare_and_swap_2): New function.
7980 (__sync_bool_compare_and_swap_2): New function.
7981 (__atomic_subword): Rename to ...
7982 (__subword): ... New name.
7983 (__atomic_subword_fetch): Use __subword.
7984 (__sync_subword_fetch): New macro.
7985 (__sync_fetch_and_add_1): New function.
7986 (__sync_fetch_and_sub_1): New function.
7987 (__sync_fetch_and_or_1): New function.
7988 (__sync_fetch_and_and_1): New function.
7989 (__sync_fetch_and_xor_1): New function.
7990 (__sync_fetch_and_nand_1): New function.
7991 (__sync_fetch_and_add_2): New function.
7992 (__sync_fetch_and_sub_2): New function.
7993 (__sync_fetch_and_or_2): New function.
7994 (__sync_fetch_and_and_2): New function.
7995 (__sync_fetch_and_xor_2): New function.
7996 (__sync_fetch_and_nand_2): New function.
7997 (__sync_add_and_fetch_1): New function.
7998 (__sync_sub_and_fetch_1): New function.
7999 (__sync_or_and_fetch_1): New function.
8000 (__sync_and_and_fetch_1): New function.
8001 (__sync_xor_and_fetch_1): New function.
8002 (__sync_nand_and_fetch_1): New function.
8003 (__sync_add_and_fetch_2): New function.
8004 (__sync_sub_and_fetch_2): New function.
8005 (__sync_or_and_fetch_2): New function.
8006 (__sync_and_and_fetch_2): New function.
8007 (__sync_xor_and_fetch_2): New function.
8008 (__sync_nand_and_fetch_2): New function.
8009 (__atomic_subword_lock): Use __subword.
8010 (__sync_subword_lock): New macro.
8011 (__sync_lock_test_and_set_1): New function.
8012 (__sync_lock_test_and_set_2): New function.
8014 2014-01-25 Walter Lee <walt@tilera.com>
8016 * config/tilepro/atomic.c (BIT_OFFSET): Define.
8017 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
8018 (__atomic_subword): Ditto.
8020 2014-01-25 Walter Lee <walt@tilera.com>
8022 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
8023 a prefix op argument.
8024 (__atomic_nand_fetch_4): Add prefix op.
8025 (__atomic_nand_fetch_8): Ditto.
8027 2014-01-21 Baruch Siach <barch@tkos.co.il>
8029 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
8031 2014-01-09 Rong Xu <xur@google.com>
8033 * libgcov-driver.c (this_prg): make it local to save
8035 (gcov_exit_compute_summary): Ditto.
8036 (gcov_exit_merge_gcda): Ditto.
8037 (gcov_exit_merge_summary): Ditto.
8038 (gcov_exit_dump_gcov): Ditto.
8040 2014-01-08 Rong Xu <xur@google.com>
8042 * libgcov-driver.c: Use libgcov.h.
8043 (buffer_fn_data): Use xmalloc instead of malloc.
8044 (gcov_exit_merge_gcda): Ditto.
8045 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
8046 * libgcov.h: New common header files for libgcov-*.h.
8047 * libgcov-interface.c: Use libgcov.h
8048 * libgcov-merge.c: Ditto.
8049 * libgcov-profiler.c: Ditto.
8050 * Makefile.in: Add dependence to libgcov.h
8052 2014-01-02 Joseph Myers <joseph@codesourcery.com>
8054 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
8055 case of small numerator and finite nonzero result.
8057 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
8059 Update copyright years
8061 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
8063 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
8064 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
8065 config/arc/dp-hack.h, config/arc/fp-hack.h,
8066 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
8067 config/arc/ieee-754/arc600-dsp/divdf3.S,
8068 config/arc/ieee-754/arc600-dsp/divsf3.S,
8069 config/arc/ieee-754/arc600-dsp/muldf3.S,
8070 config/arc/ieee-754/arc600-dsp/mulsf3.S,
8071 config/arc/ieee-754/arc600-mul64/divdf3.S,
8072 config/arc/ieee-754/arc600-mul64/divsf3.S,
8073 config/arc/ieee-754/arc600-mul64/muldf3.S,
8074 config/arc/ieee-754/arc600-mul64/mulsf3.S,
8075 config/arc/ieee-754/arc600/divsf3.S,
8076 config/arc/ieee-754/arc600/mulsf3.S,
8077 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
8078 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
8079 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
8080 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
8081 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
8082 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
8083 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
8084 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
8085 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
8086 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
8087 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
8088 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
8089 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
8090 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
8091 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
8092 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
8093 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
8094 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
8095 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
8096 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
8097 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
8098 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
8099 vtv_start_preinit.c: Use the standard form for the copyright notice.
8101 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
8102 Chung-Lin Tang <cltang@codesourcery.com>
8103 Based on patches from Altera Corporation
8105 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
8106 * config/nios2/lib2-nios2.h: New file.
8107 * config/nios2/lib2-divmod-hi.c: New file.
8108 * config/nios2/linux-unwind.h: New file.
8109 * config/nios2/lib2-divmod.c: New file.
8110 * config/nios2/linux-atomic.c: New file.
8111 * config/nios2/t-nios2: New file.
8112 * config/nios2/crti.asm: New file.
8113 * config/nios2/t-linux: New file.
8114 * config/nios2/lib2-divtable.c: New file.
8115 * config/nios2/lib2-mul.c: New file.
8116 * config/nios2/tramp.c: New file.
8117 * config/nios2/crtn.asm: New file.
8119 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
8121 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
8122 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
8123 from cpuid.h to check vendor signatures.
8125 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
8127 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
8128 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
8129 (get_amd_cpu): Likewise.
8131 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
8133 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
8136 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
8137 H.J. Lu <hongjiu.lu@intel.com>
8140 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
8142 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
8143 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
8144 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
8145 FEATURE_XOP and FEATURE_FMA.
8146 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
8148 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
8149 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
8150 FEATURE_FMA4 and FEATURE_XOP.
8152 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
8154 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
8155 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
8156 (get_intel_cpu): Updated.
8158 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
8160 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
8162 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
8164 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8165 instructions when __SSE_MATH__ is defined.
8167 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
8169 * config.host (microblaze-*-rtems*): New.
8171 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
8173 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
8174 architectures that do not have hardware divide instruction.
8175 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
8177 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
8179 * longlong.h: Delete (moved to include/).
8181 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8183 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
8184 of normal number and qNaN to not raise an inexact exception.
8186 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
8188 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
8190 2013-11-28 Matthew Leach <matthew.leach@arm.com>
8192 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
8193 for correct opcodes on BE.
8195 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
8197 * soft-fp/op-4.h: Update from glibc.
8199 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
8201 * libgcc2.c (__udivmoddi4): Define new implementation when
8202 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
8203 divide instructions.
8205 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
8207 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
8209 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8211 * config/t-softfp (soft-fp-objects-base): New variable.
8212 (soft-fp-objects): Use it.
8214 2013-11-23 David Edelson <dje.gcc@gmail.com>
8215 Andrew Dixie <andrewd@gentrack.com>
8218 * config/rs6000/aixinitfini.c: New file.
8219 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
8220 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
8223 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
8225 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
8227 2013-11-18 Jan Hubicka <jh@suse.cz>
8229 * libgcov-driver.c (run_accounted): Make global level static.
8230 (gcov_exit_merge_summary): Silence warning; do not clear
8232 (gcov_exit): Clear it here.
8234 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
8237 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
8238 (all_prg, crc32): Remove static vars.
8239 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
8241 (gcov_exit_merge_gcda): Add crc32 parameter.
8242 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
8243 do not account run if it was already accounted.
8244 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
8245 (gcov_exit): Initialize all_prg; update.
8247 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
8249 * configure: Regenerate.
8251 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8252 Alan Modra <amodra@gmail.com>
8254 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
8255 (frob_update_context): Use it.
8257 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8258 Alan Modra <amodra@gmail.com>
8260 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
8261 (trampoline_initial): Provide ELFv2 variant.
8262 (__trampoline_setup): Likewise.
8264 * config/rs6000/linux-unwind.h (frob_update_context): Do not
8265 check for AIX indirect function call sequence if _CALL_ELF == 2.
8267 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8268 Alan Modra <amodra@gmail.com>
8270 * config/rs6000/linux-unwind.h (get_regs): Do not support
8271 old kernel versions if _CALL_ELF == 2.
8272 (frob_update_context): Do not support PLT stub variants only
8273 generated by old linkers if _CALL_ELF == 2.
8275 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8276 Alan Modra <amodra@gmail.com>
8278 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
8279 location of CR save area for 64-bit little-endian systems.
8281 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
8283 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
8285 * config/arm/t-vxworks: Delete.
8287 2013-11-10 Kai Tietz <ktietz@redhat.com>
8289 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
8290 Increment load-count on use of LIBGCC_SONAME DLL.
8291 (hmod_libgcc): New static variable to hold handle of
8293 (__gcc_deregister_frame): Decrement load-count of
8296 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
8298 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
8300 * configure: Regenerate
8302 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
8304 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
8305 FP_EX_DENORM. Store result to volatile location after SSE division
8306 to close interrupt window. Remove unneeded fwait after x87
8307 division since interrupt window will be closed by emitted fstp.
8308 Rewrite FP_EX_INEXACT handling.
8310 2013-11-06 Joseph Myers <joseph@codesourcery.com>
8312 * soft-fp/README: Update.
8313 * soft-fp/adddf3.c: Update from glibc.
8314 * soft-fp/addsf3.c: Likewise.
8315 * soft-fp/addtf3.c: Likewise.
8316 * soft-fp/divdf3.c: Likewise.
8317 * soft-fp/divsf3.c: Likewise.
8318 * soft-fp/divtf3.c: Likewise.
8319 * soft-fp/double.h: Likewise.
8320 * soft-fp/eqdf2.c: Likewise.
8321 * soft-fp/eqsf2.c: Likewise.
8322 * soft-fp/eqtf2.c: Likewise.
8323 * soft-fp/extenddftf2.c: Likewise.
8324 * soft-fp/extended.h: Likewise.
8325 * soft-fp/extendsfdf2.c: Likewise.
8326 * soft-fp/extendsftf2.c: Likewise.
8327 * soft-fp/extendxftf2.c: Likewise.
8328 * soft-fp/fixdfdi.c: Likewise.
8329 * soft-fp/fixdfsi.c: Likewise.
8330 * soft-fp/fixdfti.c: Likewise.
8331 * soft-fp/fixsfdi.c: Likewise.
8332 * soft-fp/fixsfsi.c: Likewise.
8333 * soft-fp/fixsfti.c: Likewise.
8334 * soft-fp/fixtfdi.c: Likewise.
8335 * soft-fp/fixtfsi.c: Likewise.
8336 * soft-fp/fixtfti.c: Likewise.
8337 * soft-fp/fixunsdfdi.c: Likewise.
8338 * soft-fp/fixunsdfsi.c: Likewise.
8339 * soft-fp/fixunsdfti.c: Likewise.
8340 * soft-fp/fixunssfdi.c: Likewise.
8341 * soft-fp/fixunssfsi.c: Likewise.
8342 * soft-fp/fixunssfti.c: Likewise.
8343 * soft-fp/fixunstfdi.c: Likewise.
8344 * soft-fp/fixunstfsi.c: Likewise.
8345 * soft-fp/fixunstfti.c: Likewise.
8346 * soft-fp/floatdidf.c: Likewise.
8347 * soft-fp/floatdisf.c: Likewise.
8348 * soft-fp/floatditf.c: Likewise.
8349 * soft-fp/floatsidf.c: Likewise.
8350 * soft-fp/floatsisf.c: Likewise.
8351 * soft-fp/floatsitf.c: Likewise.
8352 * soft-fp/floattidf.c: Likewise.
8353 * soft-fp/floattisf.c: Likewise.
8354 * soft-fp/floattitf.c: Likewise.
8355 * soft-fp/floatundidf.c: Likewise.
8356 * soft-fp/floatundisf.c: Likewise.
8357 * soft-fp/floatunditf.c: Likewise.
8358 * soft-fp/floatunsidf.c: Likewise.
8359 * soft-fp/floatunsisf.c: Likewise.
8360 * soft-fp/floatunsitf.c: Likewise.
8361 * soft-fp/floatuntidf.c: Likewise.
8362 * soft-fp/floatuntisf.c: Likewise.
8363 * soft-fp/floatuntitf.c: Likewise.
8364 * soft-fp/gedf2.c: Likewise.
8365 * soft-fp/gesf2.c: Likewise.
8366 * soft-fp/getf2.c: Likewise.
8367 * soft-fp/ledf2.c: Likewise.
8368 * soft-fp/lesf2.c: Likewise.
8369 * soft-fp/letf2.c: Likewise.
8370 * soft-fp/muldf3.c: Likewise.
8371 * soft-fp/mulsf3.c: Likewise.
8372 * soft-fp/multf3.c: Likewise.
8373 * soft-fp/negdf2.c: Likewise.
8374 * soft-fp/negsf2.c: Likewise.
8375 * soft-fp/negtf2.c: Likewise.
8376 * soft-fp/op-1.h: Likewise.
8377 * soft-fp/op-2.h: Likewise.
8378 * soft-fp/op-4.h: Likewise.
8379 * soft-fp/op-8.h: Likewise.
8380 * soft-fp/op-common.h: Likewise.
8381 * soft-fp/quad.h: Likewise.
8382 * soft-fp/single.h: Likewise.
8383 * soft-fp/soft-fp.h: Likewise.
8384 * soft-fp/subdf3.c: Likewise.
8385 * soft-fp/subsf3.c: Likewise.
8386 * soft-fp/subtf3.c: Likewise.
8387 * soft-fp/truncdfsf2.c: Likewise.
8388 * soft-fp/trunctfdf2.c: Likewise.
8389 * soft-fp/trunctfsf2.c: Likewise.
8390 * soft-fp/trunctfxf2.c: Likewise.
8391 * soft-fp/unorddf2.c: Likewise.
8392 * soft-fp/unordsf2.c: Likewise.
8393 * soft-fp/unordtf2.c: Likewise.
8395 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
8397 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
8398 (_FP_MUL_MEAT_D): Ditto.
8399 (_FP_DIV_MEAT_S): Ditto.
8400 (_FP_DIV_MEAT_D): Ditto.
8401 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
8402 t-softfp-sfdf and t-softfp to tmake_file.
8404 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
8406 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
8407 * config/i386/crtprec.c: Ditto.
8409 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
8410 Shiva Chen <shiva0217@gmail.com>
8412 * config.host (nds32*-elf*): Add nds32 target.
8413 * config/nds32 : New directory and files.
8415 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
8417 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
8418 * config.host (cpu_type) <Setting default>: Add entry for
8420 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
8421 <crisv32-*-linux*>: Adjust.
8422 * longlong.h: Wrap the whole CRIS section in a single
8423 defined(__CRIS__) conditional. Add comment about add_ssaaaa
8425 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
8427 [__CRIS__] (__umulsidi3): Define.
8428 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
8429 * config/cris/sfp-machine.h: New file.
8430 * config/cris/umulsidi3.S: New file.
8431 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
8432 * config/cris/arit.c (SIGNMULT): New macro.
8433 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
8434 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
8435 saving 3 out of originally 33 cycles from the fastest
8436 path, 3 out of 54 from the medium path and one from the longest
8437 path. Improve comments.
8439 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
8441 * sync.c: Remove static aliases and define each function directly
8442 under its real name.
8444 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
8446 * config.host (hppa*64*-*-linux*): Define extra_parts.
8447 (hppa*-*-linux*): Likewise.
8449 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
8451 * config/arc/crtgend.S: Add 2013 to Copyright years.
8452 * config/arc/gmon/atomic.h: Likewise.
8453 * config/arc/gmon/auxreg.h: Likewise.
8454 * config/arc/gmon/sys/gmon_out.h: Likewise.
8455 * config/arc/gmon/sys/gmon.h: Likewise.
8456 * config/arc/gmon/prof-freq.c: Likewise.
8457 * config/arc/gmon/mcount.c: Likewise.
8458 * config/arc/gmon/prof-freq-stub.S: Likewise.
8459 * config/arc/gmon/gmon.c: Likewise.
8460 * config/arc/gmon/machine-gmon.h: Likewise.
8461 * config/arc/gmon/profil.S: Likewise.
8462 * config/arc/gmon/dcache_linesz.S: Likewise.
8463 * config/arc/crtg.S: Likewise.
8464 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
8465 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
8466 * config/arc/ieee-754/adddf3.S: Likewise.
8467 * config/arc/ieee-754/truncdfsf2.S: Likewise.
8468 * config/arc/ieee-754/fixsfsi.S: Likewise.
8469 * config/arc/ieee-754/gtsf2.S: Likewise.
8470 * config/arc/ieee-754/floatsisf.S: Likewise.
8471 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
8472 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
8473 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
8474 * config/arc/ieee-754/fixdfsi.S: Likewise.
8475 * config/arc/ieee-754/addsf3.S: Likewise.
8476 * config/arc/ieee-754/gesf2.S: Likewise.
8477 * config/arc/ieee-754/floatsidf.S: Likewise.
8478 * config/arc/ieee-754/extendsfdf2.S: Likewise.
8479 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
8480 * config/arc/ieee-754/gtdf2.S: Likewise.
8481 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
8482 * config/arc/ieee-754/uneqdf2.S: Likewise.
8483 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
8484 * config/arc/ieee-754/uneqsf2.S: Likewise.
8485 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
8486 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
8487 * config/arc/ieee-754/eqdf2.S: Likewise.
8488 * config/arc/ieee-754/ordsf2.S: Likewise.
8489 * config/arc/ieee-754/divsf3.S: Likewise.
8490 * config/arc/ieee-754/divdf3.S: Likewise.
8491 * config/arc/ieee-754/floatunsidf.S: Likewise.
8492 * config/arc/ieee-754/orddf2.S: Likewise.
8493 * config/arc/ieee-754/eqsf2.S: Likewise.
8494 * config/arc/ieee-754/gedf2.S: Likewise.
8495 * config/arc/crtn.S: Likewise.
8496 * config/arc/crti.S: Likewise.
8497 * config/arc/t-arc700-uClibc: Likewise.
8498 * config/arc/asm.h: Likewise.
8499 * config/arc/libgcc-excl.ver: Likewise.
8500 * config/arc/t-arc-newlib: Likewise.
8501 * config/arc/divtab-arc700.c: Likewise.
8502 * config/arc/initfini.c: Likewise.
8503 * config/arc/fp-hack.h: Likewise.
8505 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8506 Diego Novillo <dnovillo@google.com>
8508 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
8509 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
8510 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
8511 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
8513 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8514 Brendan Kehoe <brendan@zen.org>
8515 Simon Cook <simon.cook@embecosm.com>
8517 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
8518 * config/arc: New directory.
8519 * longlong.h [__arc__] (umul_ppmm): Remove.
8520 [__arc__] (__umulsidi3): Define.
8521 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
8522 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
8524 2013-09-17 Jacek Caban <jacek@codeweavers.com>
8526 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
8528 * config/i386/gthr-win32.h: Likewise.
8530 2013-09-16 DJ Delorie <dj@redhat.com>
8532 * config/rl78/vregs.h: Add G10 register definitions.
8533 * config/rl78/lib2mul.c: Enable for RL78/G10.
8534 * config/rl78/lib2div.c: Likewise.
8535 * config/rl78/lshrsi3.S: Use vregs.h.
8536 * config/rl78/cmpsi2.S: Likewise.
8537 * config/rl78/trampoline.S: Likewise.
8538 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
8540 2013-09-14 DJ Delorie <dj@redhat.com>
8541 Nick Clifton <nickc@redhat.com>
8543 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8544 * config/rl78/vregs.h: New.
8545 * config/rl78/signbit.S: New file. Implements signbit function.
8546 * config/rl78/divmodsi.S: New.
8547 * config/rl78/divmodhi.S: New.
8548 * config/rl78/divmodqi.S: New.
8549 * config/rl78/t-rl78: Build them here...
8550 * config/rl78/lib2div.c: ...but not here.
8552 2013-09-12 DJ Delorie <dj@redhat.com>
8554 * config.host (msp*-*-elf): New.
8555 * config/msp430/: New port.
8557 2013-08-18 Iain Sandoe <iain@codesourcery.com>
8559 PR gcov-profile/58127
8560 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8561 __thread var for emulated TLS.
8562 (__gcov_indirect_call_counters): Likewise.
8564 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
8565 Catherine Moore <clm@codesourcery.com>
8566 Richard Sandiford <rdsandiford@googlemail.com>
8568 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8569 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8570 (CALL_STUB_NO_RET): Likewise.
8571 (CALL_STUB_RET): Likewise.
8572 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8573 __mips16_ret call/return stub symbols.
8574 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8577 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
8579 * config.host <mips*-*-linux*>: Remove a stray comment.
8581 2013-08-10 Jan Hubicka <jh@suse.cz>
8583 Work around binutils PR14342
8584 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8585 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8586 (L_gcov_indirect_call_profiler_v2): New.
8588 2013-08-06 Jan Hubicka <jh@suse.cz>
8590 * libgcov.c (__gcov_indirect_call_callee,
8591 __gcov_indirect_call_counters): New global vars.
8592 (__gcov_indirect_call_profiler): replace by ...
8593 (__gcov_indirect_call_profiler_v2) ... this one.
8595 2013-08-06 Caroline Tice <cmtice@google.com>
8597 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
8598 vtv_start_preinit.o and vtv_end_preinit.o.
8599 * configure.ac: Add code to check/set enable_vtable_verify.
8600 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
8602 * vtv_start_preinit.c: New file.
8603 * vtv_end_preinit.c: New file.
8604 * vtv_start.c: New file.
8605 * vtv_end.c: New file.
8606 * configure: Regenerated.
8608 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
8610 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8611 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8612 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8613 GPL-3.0-with-GCC-exception.
8615 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
8617 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8620 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8622 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8623 mapping for FPRs when creating the fallback framestate.
8625 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
8628 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8629 (__round_s2_const, __round_u2_const)
8630 (__round_s4_const, __round_u4_const, __round_x8):
8631 Saturate result if addition result cannot be represented.
8633 2013-07-15 Matthias Klose <doko@ubuntu.com>
8635 * libgcc2.c: Don't include <limits.h>.
8637 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
8639 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8641 2013-07-06 Jakub Jelinek <jakub@redhat.com>
8644 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8646 2013-06-28 Jakub Jelinek <jakub@redhat.com>
8649 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8651 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8652 instead of table lookups.
8653 (__popcountDI2): Likewise.
8655 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
8657 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8660 2013-06-21 Joseph Myers <joseph@codesourcery.com>
8663 * soft-fp/adddf3.c: Update from glibc.
8664 * soft-fp/addsf3.c: Likewise.
8665 * soft-fp/addtf3.c: Likewise.
8666 * soft-fp/divdf3.c: Likewise.
8667 * soft-fp/divsf3.c: Likewise.
8668 * soft-fp/divtf3.c: Likewise.
8669 * soft-fp/double.h: Likewise.
8670 * soft-fp/eqdf2.c: Likewise.
8671 * soft-fp/eqsf2.c: Likewise.
8672 * soft-fp/eqtf2.c: Likewise.
8673 * soft-fp/extenddftf2.c: Likewise.
8674 * soft-fp/extended.h: Likewise.
8675 * soft-fp/extendsfdf2.c: Likewise.
8676 * soft-fp/extendsftf2.c: Likewise.
8677 * soft-fp/fixdfdi.c: Likewise.
8678 * soft-fp/fixdfsi.c: Likewise.
8679 * soft-fp/fixsfdi.c: Likewise.
8680 * soft-fp/fixsfsi.c: Likewise.
8681 * soft-fp/fixtfdi.c: Likewise.
8682 * soft-fp/fixtfsi.c: Likewise.
8683 * soft-fp/fixunsdfdi.c: Likewise.
8684 * soft-fp/fixunsdfsi.c: Likewise.
8685 * soft-fp/fixunssfdi.c: Likewise.
8686 * soft-fp/fixunssfsi.c: Likewise.
8687 * soft-fp/fixunstfdi.c: Likewise.
8688 * soft-fp/fixunstfsi.c: Likewise.
8689 * soft-fp/floatdidf.c: Likewise.
8690 * soft-fp/floatdisf.c: Likewise.
8691 * soft-fp/floatditf.c: Likewise.
8692 * soft-fp/floatsidf.c: Likewise.
8693 * soft-fp/floatsisf.c: Likewise.
8694 * soft-fp/floatsitf.c: Likewise.
8695 * soft-fp/floatundidf.c: Likewise.
8696 * soft-fp/floatundisf.c: Likewise.
8697 * soft-fp/floatunditf.c: Likewise.
8698 * soft-fp/floatunsidf.c: Likewise.
8699 * soft-fp/floatunsisf.c: Likewise.
8700 * soft-fp/floatunsitf.c: Likewise.
8701 * soft-fp/gedf2.c: Likewise.
8702 * soft-fp/gesf2.c: Likewise.
8703 * soft-fp/getf2.c: Likewise.
8704 * soft-fp/ledf2.c: Likewise.
8705 * soft-fp/lesf2.c: Likewise.
8706 * soft-fp/letf2.c: Likewise.
8707 * soft-fp/muldf3.c: Likewise.
8708 * soft-fp/mulsf3.c: Likewise.
8709 * soft-fp/multf3.c: Likewise.
8710 * soft-fp/negdf2.c: Likewise.
8711 * soft-fp/negsf2.c: Likewise.
8712 * soft-fp/negtf2.c: Likewise.
8713 * soft-fp/op-1.h: Likewise.
8714 * soft-fp/op-2.h: Likewise.
8715 * soft-fp/op-4.h: Likewise.
8716 * soft-fp/op-8.h: Likewise.
8717 * soft-fp/op-common.h: Likewise.
8718 * soft-fp/quad.h: Likewise.
8719 * soft-fp/single.h: Likewise.
8720 * soft-fp/soft-fp.h: Likewise.
8721 * soft-fp/subdf3.c: Likewise.
8722 * soft-fp/subsf3.c: Likewise.
8723 * soft-fp/subtf3.c: Likewise.
8724 * soft-fp/truncdfsf2.c: Likewise.
8725 * soft-fp/trunctfdf2.c: Likewise.
8726 * soft-fp/trunctfsf2.c: Likewise.
8727 * soft-fp/unorddf2.c: Likewise.
8728 * soft-fp/unordsf2.c: Likewise.
8729 * soft-fp/unordtf2.c: Likewise.
8730 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8731 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8732 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8733 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8734 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8735 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8736 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8737 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8738 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8739 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8740 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8741 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8743 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
8745 * config/mips/lib2funcs.c: New file.
8746 * config/mips/t-mips (LIB2ADD_ST): Add it.
8748 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
8751 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8752 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
8754 2013-06-08 Walter Lee <walt@tilera.com>
8756 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8757 Replace int64_t with long long. Add __extension__ where
8759 * config/tilepro/atomic.c: Include config.h.
8761 2013-06-06 Douglas B Rupp <rupp@adacore.com>
8763 * config.host (arm-wrs-vxworks): Configure with other soft float.
8765 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
8767 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8768 (mips64r5900el-*-elf*): New configurations.
8770 2013-06-04 Alan Modra <amodra@gmail.com>
8772 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
8774 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
8776 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
8778 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
8780 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
8781 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
8782 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
8784 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8786 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
8787 (powerpc-wrs-vxworks): Likewise.
8789 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8791 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
8792 signal frames as well.
8793 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
8794 STACK_BIAS to the CFA offset.
8796 2013-05-17 Richard Henderson <rth@redhat.com>
8799 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
8800 (execute_cfa_program): Use it when storing to fs->regs.
8802 2013-05-08 Kai Tietz <ktietz@redhat.com>
8804 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
8805 (__deregister_frame_info): Likewise.
8807 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
8809 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
8812 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
8814 2013-04-25 Alan Modra <amodra@gmail.com>
8816 * config.host: Match little-endian powerpc-linux.
8818 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
8820 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
8821 as 'unsigned long long' instead of 'unsigned long'.
8822 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
8825 2013-04-10 Julian Brown <julian@codesourcery.com>
8827 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
8828 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
8829 unsigned char/unsigned short.
8830 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
8832 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8835 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
8837 2013-04-04 Meador Inge <meadori@codesourcery.com>
8839 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8840 computing the location of the link register.
8841 (aeabi_uldivmod): Ditto.
8843 2013-03-27 Kai Tietz <ktietz@redhat.com>
8845 * config.host: Add support for cygwin x64 target.
8846 * configure: Regenerated.
8848 2013-03-26 Walter Lee <walt@tilera.com>
8850 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
8851 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
8853 2013-03-25 Kai Tietz <ktietz@redhat.com>
8855 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
8857 2013-03-20 Robert Mason <rbmj@verizon.net>
8859 * config/vxlib-tls.c (__gthread_get_tsd_data,)
8860 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
8861 (__gthread_leave_tsd_dtor_context): Add prototypes.
8862 (tls_delete_hook): Update.
8864 2013-03-20 Catherine Moore <clm@codesourcery.com>
8865 Joseph Myers <joseph@codesourcery.com>
8866 Chao-ying Fu <fu@mips.com>
8868 * config/mips/mips16.S: Don't build for microMIPS.
8869 * config/mips/linux-unwind.h: Handle microMIPS frame.
8870 * config/mips/crtn.S (fini, init): New labels.
8872 2013-03-14 Jakub Jelinek <jakub@redhat.com>
8874 PR tree-optimization/53265
8875 * unwind-dw2.c (execute_cfa_program): Avoid
8876 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
8877 on targets with DWARF_FRAME_REGISTERS < 32.
8879 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
8882 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
8883 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
8885 2013-03-07 Sriraman Tallam <tmsriram@google.com>
8887 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
8888 sandybridge processors.
8890 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
8893 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
8896 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
8898 * config/microblaze/crti.S: Setup stack protection at entry
8900 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
8902 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
8903 (__rotldi3): Shift bytewise if applicable.
8905 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
8907 * config/aarch64/sync-cache.c
8908 (__aarch64_sync_cache_range): Silence warnings.
8910 2013-02-25 Catherine Moore <clm@codesourcery.com>
8913 2013-02-24 Catherine Moore <clm@codesourcery.com>
8914 Joseph Myers <joseph@codesourcery.com>
8915 Chao-ying Fu <fu@mips.com>
8917 * config/mips/mips16.S: Don't build for microMIPS.
8918 * config/mips/linux-unwind.h: Handle microMIPS frame.
8919 * config/mips/crtn.S (fini, init): New labels.
8921 2013-02-24 Catherine Moore <clm@codesourcery.com>
8922 Joseph Myers <joseph@codesourcery.com>
8923 Chao-ying Fu <fu@mips.com>
8925 * config/mips/mips16.S: Don't build for microMIPS.
8926 * config/mips/linux-unwind.h: Handle microMIPS frame.
8927 * config/mips/crtn.S (fini, init): New labels.
8929 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
8930 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
8933 2013-02-16 Alan Modra <amodra@gmail.com>
8936 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
8937 (ppc_fallback_frame_state): Always set up save locations for fp
8938 and altivec. Don't bother with non-callee-saved regs, r0-r13
8939 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
8941 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
8944 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
8946 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
8947 _ssmulha3, _usmulusa3, _ssmulsa3.
8948 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
8949 (__muldi3): XCALL __muldi3_6 instead of rcall.
8950 (__umulsidi3, __mulsidi3): New functions.
8951 (do_prologue_saves, do_epilogue_restores): New .macros.
8952 (__divdi3_moddi3): Use them.
8953 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
8954 (__usmulusa3, __ssmulsa3): New functions.
8956 2013-02-11 Iain Sandoe <iain@codesourcery.com>
8957 Jack Howarth <howarth@bromo.med.uc.edu>
8958 Patrick Marlier <patrick.marlier@gmail.com>
8961 * config/darwin-crt-tm.c: Remove dummy functions hack.
8963 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
8966 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
8967 * config/avr/lib2-object.mk: New iterator to build objects from it.
8968 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
8970 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
8971 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
8972 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
8973 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
8974 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
8975 * config/avr/lib1funcs-fixed.S: Implement them.
8977 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
8979 Update copyright years.
8981 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
8984 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
8985 Add crtcxa to extra_parts.
8986 * config/rs6000/exit.h: New file.
8987 * config/rs6000/cxa_atexit.c: New file.
8988 * config/rs6000/cxa_finalize.c: New file.
8989 * config/rs6000/crtcxa.c: New file.
8990 * config/rs6000/t-aix-cxa: New file.
8991 * config/rs6000/libgcc-aix-cxa.ver: New file.
8993 2013-01-31 Nick Clifton <nickc@redhat.com>
8995 * config/v850/lib1funcs.S: Add support for e3v5 architecture
8998 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
9001 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
9002 _mulQQ, _mulHQ, _mulHA, _mulSA,
9003 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
9004 _divQQ, _divHQ, _divHA, _divSA,
9005 _divUQQ, _divUHQ, _divUHA, _divUSA.
9007 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
9009 * config.host(microblaze*-linux*): tmake_file: Remove
9010 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
9011 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
9012 to exclude functions from being built with libgcc.c and use
9013 the microblaze assembly.
9015 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
9017 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
9020 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
9022 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
9023 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
9024 __UINTPTR_TYPE__; also cast 'base' to the same type before the
9025 alignment operation.
9027 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
9029 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
9030 loop start address for cache clearing.
9032 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
9034 * config/avr/lib1funcs.S: Remove trailing blanks.
9035 * config/avr/lib1funcs-fixed.S: Ditto.
9037 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
9039 * config/avr/avr-lib.h: Add GPL copyright notice.
9041 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
9043 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
9044 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
9045 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
9046 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
9048 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
9050 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
9051 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
9053 2013-01-04 Nick Clifton <nickc@redhat.com>
9055 * config/v850/lib1funcs.S: Only provide CALLT support functions if
9056 the CALLT instruction is supported.
9058 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
9060 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
9061 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
9063 2012-12-13 John Tytgat <John@bass-software.com>
9065 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
9068 2012-12-12 Jakub Jelinek <jakub@redhat.com>
9071 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
9072 undefined signed overflows.
9074 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
9077 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
9079 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
9081 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
9082 (FP_TRAPPING_EXCEPTIONS): Define.
9083 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
9084 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
9086 2012-12-04 Richard Henderson <rth@redhat.com>
9089 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
9091 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
9093 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
9094 (FP_EX_SHIFT): Define.
9095 (FP_TRAPPING_EXCEPTIONS): Define.
9097 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
9099 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
9100 (FP_ROUNDMODE): Use FP_RND_MASK.
9101 * config/aarch64/sfp-exceptions.c: New.
9102 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
9103 Use __sfp_handle_exceptions.
9105 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
9107 * config.host: (arm*-*-freebsd*): Remove.
9108 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
9109 (arm*-*-elf*): Remove.
9110 (arm*-*-wince-pe*): Remove.
9111 * arm/unwind-arm.c (struct fpa_reg): Delete.
9112 (struct fpa_regs): Delete.
9113 (phase1_vrs): Remove fpa element.
9114 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
9115 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
9116 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
9117 * ieee754-sf.S (floatundisf): Remove FPA support.
9118 (floatdisf): Likewise.
9119 * ieee75f-df.S (floatundidf): Likewise.
9120 (floatdidf): Likewise.
9122 2012-11-29 Kai Tietz <ktietz@redhat.com>
9125 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
9126 * unwind-generic.h: Likewise.
9127 * unwind-seh.c: Likewise.
9129 2012-11-28 Richard Henderson <rth@redhat.com>
9132 * emutls.c (__emutls_get_address): Avoid race condition between
9133 obj->loc.offset read and emutls_key initialization.
9135 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
9137 Adjust decimal point of signed accum mode to GCC default.
9140 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
9142 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
9143 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
9144 (__mulha3, __mulsa3)
9145 (__divqq3, __divha3, __divsa3): Adjust to new position of
9146 decimal point of signed accum types.
9148 (__mulusa3_round): New function.
9149 (__mulusa3): Use it.
9150 (__divqq_helper): New function.
9151 (__udivuqq3): Use it.
9153 2012-11-20 Jakub Jelinek <jakub@redhat.com>
9156 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
9158 2012-11-18 Teresa Johnson <tejohnson@google.com>
9161 * libgcov.c (gcov_exit): Remove merged program summary
9162 comparison unless !GCOV_LOCKED.
9164 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
9166 * soft-fp: Updated from glibc upstream.
9168 2012-11-06 Ian Lance Taylor <iant@google.com>
9170 * generic-morestack.c (__generic_morestack): Align the returned
9171 stack pointer to a 32 byte boundary.
9172 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
9173 increment the return address until we have decided that we don't
9174 have a varargs function.
9175 (__morestack) [32-bit]: Align stack correctly when calling C
9177 (__morestack) [64-bit]: Likewise.
9179 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9181 * configure: Regenerate.
9183 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
9186 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
9187 * config/i386/sfp-machine.h: Guard exception handling
9188 code with _SOFT_FLOAT.
9189 * config/i386/32/sfp-machine.h: Guard rounding handling
9190 code with _SOFT_FLOAT.
9191 * config/i386/64/sfp-machine.h: Ditto.
9193 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
9195 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
9198 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
9200 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
9201 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
9202 when appropriate. Correct structure element types.
9203 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
9204 -minline-all-stringops from compile flags.
9206 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
9208 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
9210 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
9212 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
9214 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
9216 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
9219 2012-10-23 Ian Bolton <ian.bolton@arm.com>
9220 Jim MacArthur <jim.macarthur@arm.com>
9221 Marcus Shawcroft <marcus.shawcroft@arm.com>
9222 Nigel Stephens <nigel.stephens@arm.com>
9223 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
9224 Richard Earnshaw <rearnsha@arm.com>
9225 Sofiane Naci <sofiane.naci@arm.com>
9226 Stephen Thomas <stephen.thomas@arm.com>
9227 Tejas Belagod <tejas.belagod@arm.com>
9228 Yufeng Zhang <yufeng.zhang@arm.com>
9230 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
9231 * config/aarch64/crti.S: New file.
9232 * config/aarch64/crtn.S: New file.
9233 * config/aarch64/linux-unwind.h: New file.
9234 * config/aarch64/sfp-machine.h: New file.
9235 * config/aarch64/sync-cache.c: New file.
9236 * config/aarch64/t-aarch64: New file.
9237 * config/aarch64/t-softfp: New file.
9239 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
9241 * config/mmix/crti.S: Mark program and data addresses using PRELD.
9242 Remove typo'd and unnecessary alignment-LOC for .data. Remove
9243 no-longer-needed LDBU insns.
9245 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
9248 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
9249 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
9251 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9253 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
9255 2012-10-15 Matthias Klose <doko@ubuntu.com>
9257 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
9259 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
9261 * configure: Regenerate.
9262 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
9264 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
9266 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
9267 instructions for 64bit targets only.
9269 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
9271 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9272 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
9273 * config/i386/32/sfp-machine.h: ... here.
9274 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
9275 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
9278 2012-10-07 Matthias Klose <doko@ubuntu.com>
9280 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
9282 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
9284 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
9286 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
9287 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
9288 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
9291 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
9294 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9295 Fix parameter names.
9297 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
9300 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
9301 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
9302 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
9304 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
9307 * config/sh/linux-atomic.S: Delete.
9308 * config/sh/linux-atomic.c: New.
9309 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
9310 linux-atomic.c. Add cflags to disable warnings.
9312 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
9315 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
9317 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
9318 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
9319 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
9320 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
9321 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
9323 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9325 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
9327 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
9328 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
9330 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
9332 * config.host (hppa-*-openbsd*): New target.
9333 * config/pa/t-openbsd: New file.
9335 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
9338 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
9339 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
9340 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
9341 (__divsa3): Use __negsi2 to negate r_quoL.
9342 * config/avr/lib1funcs.S (FALIAS): New macro.
9343 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
9344 (__negsi2): ...this new function.
9345 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
9346 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
9347 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
9348 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
9349 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
9350 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
9352 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
9355 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
9356 (lshrsi3): Reimplement as lshrsi3_r0.
9358 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
9361 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
9364 2012-09-07 Teresa Johnson <tejohnson@google.com>
9366 PR gcov-profile/54487
9367 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9370 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
9373 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
9374 not configured --with-avrlibc=no.
9375 * config/avr/t-avrlibc: New file.
9376 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
9377 (DPBIT_FUNCS): Ditto.
9378 (TPBIT_FUNCS): Ditto.
9380 2012-09-04 Teresa Johnson <tejohnson@google.com>
9382 * libgcov.c (struct gcov_summary_buffer): New structure.
9383 (gcov_histogram_insert): New function.
9384 (gcov_compute_histogram): Ditto.
9385 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
9386 histograms during summary merging.
9388 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
9390 * config.host (x86_64-*-openbsd*): New target.
9392 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
9394 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
9397 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
9400 * config/avr/t-avr (conv_X): Rename to func_X.
9402 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
9405 * config/avr/lib1funcs-fixed.S: New file.
9406 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
9407 after they are used.
9408 (neg2, neg4): New macros.
9409 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
9410 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
9411 (__umulhisi3): Speed up MUL variant if there is enough flash.
9412 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
9414 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
9415 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
9416 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
9417 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
9418 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
9419 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
9420 (LIB2FUNCS_EXCLUDE): Add supported functions.
9422 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
9424 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
9425 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
9427 * fixed-obj.mk: Only expand dependency if $o is not in
9430 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
9432 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
9434 2012-08-22 Joseph Myers <joseph@codesourcery.com>
9436 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
9437 depend on --enable-shared.
9438 ($(lib1asmfuncs-o)): Use %.vis files independent of
9440 * static-object.mk ($(base)$(objext), $(base).vis)
9441 ($(base)_s$(objext)): Use same rules for visibility handling as in
9444 2012-08-21 Ian Lance Taylor <iant@google.com>
9446 * config/i386/morestack.S (__morestack_non_split): Increase amount
9447 of space allocated for non-split code stack.
9449 2012-08-19 Joseph Myers <joseph@codesourcery.com>
9451 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
9452 even if inhibit_libc.
9454 2012-08-17 Julian Brown <julian@codesourcery.com>
9456 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
9457 -fexceptions -fnon-call-exceptions if not defined.
9458 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
9459 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
9461 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
9463 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
9466 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
9468 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
9469 rs6000/t-slibgcc-aix.
9471 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9473 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
9475 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9477 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
9479 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
9482 * Makefile.in (version): Replace top_srcdir with srcdir.
9484 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
9486 * Makefile.in (version): set to BASE-VER file from gcc directory.
9488 2012-08-01 Nick Clifton <nickc@redhat.com>
9490 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
9491 Implements __clrsb for an HImode argument.
9493 2012-07-31 Nick Clifton <nickc@redhat.com>
9495 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
9496 Implements __clrsb for an HImode argument.
9497 * config/stormy16/clrsbhi2.c: New file:
9498 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
9500 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
9502 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
9504 2012-07-19 Tristan Gingold <gingold@adacore.com>
9505 Richard Henderson <rth@redhat.com>
9507 * unwind-seh.c: New file.
9508 * unwind-generic.h: Include windows.h for SEH.
9509 (_Unwind_Exception): Use 6 private fields for SEH.
9510 (_GCC_specific_handler): Declare.
9511 * unwind-c.c (__gcc_personality_seh0): New function.
9513 * config/i386/libgcc-cygming.ver: New file.
9514 * config/i386/t-seh-eh: New file.
9515 * config.host (x86_64-*-mingw*): Default to seh.
9517 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
9519 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
9521 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
9523 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
9524 __builtin_expect when checking for exceptions.
9525 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
9527 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
9529 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
9530 function declaration.
9531 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9533 * config/ia64/sfp-exceptions.c: New.
9534 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
9536 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
9538 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9539 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9540 * config/i386/64/sfp-machine: ... (delete here) ...
9541 * config/i386/sfp-machine.h: ... to here.
9542 (FP_EX_MASK): Remove.
9544 (FP_INIT_ROUNDMODE): Declare asm as volatile.
9546 2012-06-11 Sriraman Tallam <tmsriram@google.com>
9548 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9549 * config/i386/libgcc-sol2.ver: Ditto.
9550 * config/i386/libgcc-glibc.ver: Ditto.
9552 2012-06-11 Roland McGrath <mcgrathr@google.com>
9554 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9555 If __GLIBC__ is defined, refer to __pthread_key_create instead of
9558 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
9560 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9561 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9562 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9563 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9564 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9565 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9566 * config/i386/64/sfp-machine: ... (delete here) ...
9567 * config/i386/sfp-machine.h: ... to here.
9569 (__sfp_handle_exceptions): New function declaration.
9570 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9571 * config/i386/sfp-exceptions.c: New.
9572 * config/i386/t-softfp: New.
9573 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9574 i386/t-softfp to tmake_file.
9576 2012-06-03 David S. Miller <davem@davemloft.net>
9578 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9581 2012-05-31 David S. Miller <davem@davemloft.net>
9583 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9584 multiply and divide instructions on 32-bit when V9.
9585 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9587 2012-05-29 Joseph Myers <joseph@codesourcery.com>
9589 * config/arm/ieee754-df.S: Fix typos.
9590 * config/arm/ieee754-sf.S: Fix typos.
9591 * config/c6x/libunwind.S: Fix typos.
9592 * config/epiphany/udivsi3-float.c: Fix typos.
9593 * config/microblaze/muldi3_hard.S: Fix typos.
9594 * config/picochip/adddi3.S: Fix typos.
9595 * config/picochip/ashlsi3.S: Fix typos.
9596 * config/picochip/ashrsi3.S: Fix typos.
9597 * config/picochip/clzsi2.S: Fix typos.
9598 * config/picochip/cmpsi2.S: Fix typos.
9599 * config/picochip/divmod15.S: Fix typos.
9600 * config/picochip/divmodhi4.S: Fix typos.
9601 * config/picochip/divmodsi4.S: Fix typos.
9602 * config/picochip/longjmp.S: Fix typos.
9603 * config/picochip/lshrsi3.S: Fix typos.
9604 * config/picochip/parityhi2.S: Fix typos.
9605 * config/picochip/popcounthi2.S: Fix typos.
9606 * config/picochip/setjmp.S: Fix typos.
9607 * config/picochip/subdi3.S: Fix typos.
9608 * config/picochip/ucmpsi2.S: Fix typos.
9609 * config/picochip/udivmodhi4.S: Fix typos.
9610 * config/picochip/udivmodsi4.S: Fix typos.
9611 * config/spu/divv2df3.c: Fix typos.
9612 * config/spu/mfc_multi_tag_release.c: Fix typos.
9613 * config/spu/mfc_tag_release.c: Fix typos.
9614 * configure.ac: Fix typos.
9615 * configure: Regenerate.
9617 2012-05-25 Ian Lance Taylor <iant@google.com>
9619 * config/i386/morestack.S (__morestack_non_split): Check whether
9620 caller is varargs and needs %bp to hold the stack frame on return.
9622 2012-05-25 Olivier Hainque <hainque@adacore.com>
9624 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9625 sequence in the non pic case on VxWorks.
9627 2012-05-24 Olivier Hainque <hainque@adacore.com>
9629 * Makefile.in: Move dependency on install-unwind_h from
9630 "install-leaf" to "install".
9632 2012-05-24 Olivier Hainque <hainque@adacore.com>
9634 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9635 Use a separate command for stamp removals.
9637 2012-05-21 Andrew Pinski <apinski@cavium.com>
9640 * configure.ac: Define the default includes to being none.
9641 * configure: Regenerate.
9643 2012-05-16 Olivier Hainque <hainque@adacore.com>
9645 * Makefile.in (install-unwind_h): Rename into ...
9646 (install-unwind_h-forbuild): New target.
9647 (all): Use it instead of the former install-unwind_h.
9648 (install-unwind_h): Reinstate, copy to user install destination
9649 for include files, not to the internal gcc object directory one.
9650 (install-leaf): Depend on it.
9652 2012-05-15 Olivier Hainque <hainque@adacore.com>
9654 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9655 register numbers. LR_REGNO replaces R_LR.
9656 (ucontext_for): New, helper for ...
9657 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9659 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9661 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9663 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9664 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9665 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9667 (i[34567]86-*-*, x86_64-*-*): ... here.
9669 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9670 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9672 * config/i386/i386-cpuinfo.c: Rename to ...
9673 * config/i386/cpuinfo.c: ... this.
9674 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9676 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9677 (libgcc_cv_init_priority): New test.
9678 * configure: Regenerate.
9679 * config.in: New file.
9680 * Makefile.in (clean): Rename config.h to auto-target.h.
9681 (config.h): Likewise.
9682 (stamp-h): Likewise.
9684 * config/i386/cpuinfo.c (auto-target.h): Include.
9685 (CONSTRUCTOR_PRIORITY): Define.
9686 (__cpu_indicator_init): Use it.
9688 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9690 * longlong.h: Use a URL instead of an FSF postal address.
9691 Replace spaces with tab.
9693 2012-05-08 Teresa Johnson <tejohnson@google.com>
9695 * libgcov.c (gcov_clear, __gcov_reset): New functions.
9696 (__gcov_dump): Ditto.
9697 (gcov_dump_complete): New global variable.
9698 (gcov_exit): Export hidden to enable use in L_gcov_dump.
9699 (__gcov_flush): Outline functionality now in gcov_clear.
9700 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9702 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
9704 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9705 (mips*-*-linux*): Include mips/t-tpbit when long double is
9708 2012-04-25 Sriraman Tallam <tmsriram@google.com>
9710 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9711 (get_available_features): New argument. Check for AVX2.
9712 (__cpu_indicator_init): Modify call to get_available_features.
9714 2012-04-25 Alan Modra <amodra@gmail.com>
9716 * config/rs6000/crtsavevr.S: New file.
9717 * config/rs6000/crtrestvr.S: New file.
9718 * config/rs6000/t-savresfgpr: Build the above.
9719 * config/rs6000/t-netbsd: Likewise.
9721 2012-04-24 Sriraman Tallam <tmsriram@google.com>
9723 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9725 2012-04-24 Sriraman Tallam <tmsriram@google.com>
9727 * libgcc/config/i386/i386-cpuinfo.c: New file.
9728 * libgcc/config/i386/t-cpuinfo: New file.
9729 * libgcc/config.host: Include t-cpuinfo.
9730 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9732 2012-04-24 Chao-ying Fu <fu@mips.com>
9734 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9736 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
9738 struct siginfo vs. siginfo_t
9740 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9741 siginfo_t instead of struct siginfo.
9742 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9743 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9744 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9745 (ia64_handle_unwabi): Likewise.
9746 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9747 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9748 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9749 (sh_fallback_frame_state): Likewise.
9750 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9751 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9753 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
9755 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9758 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
9760 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9761 if it hasn't been previously saved.
9763 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
9765 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
9768 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
9771 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
9772 instead of __AVR_HAVE_8BIT_SP__.
9774 2012-03-26 Tristan Gingold <gingold@adacore.com>
9776 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
9777 (unw_table_entry): Use unw_word instead of unsigned long.
9778 (_Unwind_FindTableEntry): Likewise.
9779 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
9780 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
9781 (_Unwind_FindTableEntry): Likewise.
9782 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
9783 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
9784 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
9785 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
9786 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
9787 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
9788 (uw_init_context_1, uw_install_context): Likewise.
9789 (unw_word): Move to unwind-ia64.h
9791 2012-03-26 Tristan Gingold <gingold@adacore.com>
9793 * config/vms/vms-ucrt0.c: Update copyright years.
9795 (___gcc_main_flags): Declare.
9796 (__main): Check flags to remap argv and exit code.
9797 * config.host (*-*-*vms*): Adjust extra_parts.
9798 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
9801 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
9803 * arm/lib1funcs.asm (ctzsi2): New function.
9804 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
9805 * arm/t-linux (LIB1ASMFUNCS): Likewise.
9806 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
9807 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
9808 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9809 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
9811 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
9813 * config.host: Add bits to support powerpc64-*-freebsd*.
9814 * config/rs6000/freebsd-unwind.h: New file.
9815 * config/rs6000/t-freebsd64: New file.
9817 2012-03-20 Richard Guenther <rguenther@suse.de>
9819 PR gcov-profile/52627
9820 * libgcov.c (init_mx): Fix mutex name.
9822 2012-03-16 Tristan Gingold <gingold@adacore.com>
9824 * config/ia64/vms-unwind.h: Remove ulong (and replace
9825 it by unw_reg where used). Define unw_reg with __int64.
9827 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9829 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
9831 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
9833 (sparc_is_sighandler): Likewise.
9835 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
9837 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9840 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9842 * config/arm/crtn.S: Fix typo.
9844 2012-03-13 Richard Guenther <rguenther@suse.de>
9846 * libgcov.c: Remove stdio.h include and NULL un-define.
9848 2012-03-13 Richard Guenther <rguenther@suse.de>
9851 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
9853 2012-03-13 Richard Guenther <rguenther@suse.de>
9855 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
9857 2012-03-13 Richard Guenther <rguenther@suse.de>
9859 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
9860 and __gthread_mutex_init_function definitions.
9862 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9864 * config.host (mips*-*-openbsd*): Remove.
9866 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9868 * config.host: Remove alpha*-dec-osf5.1* handling.
9869 * config/alpha/gthr-posix.c: Remove.
9870 * config/alpha/libgcc-osf5.ver: Remove.
9871 * config/alpha/osf5-unwind.h: Remove.
9872 * config/alpha/t-osf-pthread: Remove.
9873 * config/alpha/t-slibgcc-osf: Remove.
9874 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
9875 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
9876 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
9877 * mkmap-flat.awk: Remove osf_export handling.
9879 2012-03-12 Richard Guenther <rguenther@suse.de>
9881 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
9882 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9883 (__gthread_mutex_init_function): New function.
9884 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9887 * libgcov.c: Include gthr.h.
9888 (__gcov_flush_mx): New global variable.
9889 (init_mx, init_mx_once): New functions.
9890 (__gcov_flush): Protect self with a mutex.
9891 (__gcov_fork): Re-initialize mutex after forking.
9892 * unwind-dw2-fde.c: Change condition under which to use
9893 __GTHREAD_MUTEX_INIT_FUNCTION.
9895 2012-03-12 Tristan Gingold <gingold@adacore.com>
9897 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
9898 * config/ia64/t-vms: Likewise.
9900 2012-03-11 Michael Hope <michael.hope@linaro.org>
9902 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
9905 2012-03-07 Walter Lee <walt@tilera.com>
9907 * config/tilepro/atomic.c: Rename "atomic_" prefix to
9909 (atomic_xor): Rename and move definition to
9910 config/tilepro/atomic.h.
9911 (atomic_nand): Ditto.
9912 * config/tilepro/atomic.h: Rename "atomic_" prefix to
9914 (arch_atomic_xor): Move from config/tilepro/atomic.c.
9915 (arch_atomic_nand): Ditto.
9917 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
9920 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
9922 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
9925 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
9928 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
9932 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
9933 if RAMPZ affects reading from RAM.
9934 (__tablejump_elpm__): Ditto.
9936 (__movmemx_hi): Ditto.
9937 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
9938 (__do_global_dtors): Ditto.
9939 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
9940 (__movmemx_hi): Ditto.
9942 2012-03-05 Richard Henderson <rth@redhat.com>
9944 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
9945 [ARM] (count_trailing_zeros): Use the builtin.
9947 2012-03-01 Kai Tietz <ktietz@redhat.com>
9949 * soft-fp: Imported from glibc upstream.
9951 2012-02-28 Kai Tietz <ktietz@redhat.com>
9953 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
9954 for mingw-targets as attribute gcc_struct.
9956 2012-02-28 Ian Lance Taylor <iant@google.com>
9958 * generic-morestack.c (__splitstack_releasecontext): Correct call
9959 to __morestack_release_segments.
9961 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9964 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
9965 for __linux__ when removing signals from __morestack_fullmask.
9967 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
9970 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
9972 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9974 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
9975 instead of HAVE_INITFINI_ARRAY.
9976 * config/ia64/crtend.S: Likewise.
9978 2012-02-20 Kai Tietz <ktietz@redhat.com>
9981 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
9983 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
9984 to w32-unwind.h header.
9986 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9988 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
9989 (mips*-*-linux*): Remove t-slibgcc-libgcc.
9990 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
9991 * config/mips/mips16.S (__mips16_rdhwr): Delete.
9993 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9995 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
9997 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
10000 * config/darwin-crt-tm.c: Correct typo.
10002 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
10003 Patrick Marlier <patrick.marlier@gmail.com>
10006 * config/darwin-crt-tm.c: Generate dummy functions.
10008 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
10009 Patrick Marlier <patrick.marlier@gmail.com>
10012 * config/darwin-crt-tm.c (getTMCloneTable): New function.
10013 (__doTMRegistrations): Call it.
10014 (__doTMdeRegistrations): Likewise.
10016 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
10017 Anatoly Sokolov <aesok@post.ru>
10018 Eric Weddington <eric.weddington@atmel.com>
10021 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
10022 (__epilogue_restores__): Ditto.
10024 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
10028 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
10029 Solaris 11 and slightly reformat.
10030 (sparc_is_sighandler): Likewise.
10032 2012-02-14 Walter Lee <walt@tilera.com>
10034 * config.host: Handle tilegx and tilepro.
10035 * config/tilegx/sfp-machine.h: New file.
10036 * config/tilegx/sfp-machine32.h: New file.
10037 * config/tilegx/sfp-machine64.h: New file.
10038 * config/tilegx/t-crtstuff: New file.
10039 * config/tilegx/t-softfp: New file.
10040 * config/tilegx/t-tilegx: New file.
10041 * config/tilepro/atomic.c: New file.
10042 * config/tilepro/atomic.h: New file.
10043 * config/tilepro/linux-unwind.h: New file.
10044 * config/tilepro/sfp-machine.h: New file.
10045 * config/tilepro/softdivide.c: New file.
10046 * config/tilepro/softmpy.S: New file.
10047 * config/tilepro/t-crtstuff: New file.
10048 * config/tilepro/t-tilepro: New file.
10050 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
10054 * gthr-posix.h: Allow static initializer macros to be disabled.
10055 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
10057 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
10059 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
10060 Add t-slibgcc-libgcc to tmake_file.
10061 * config/mips/libgcc-mips16.ver: Revert previous patch.
10062 * config/mips/mips16.S (__mips16_rdhwr): Hide.
10064 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
10065 Jayant R Sonar <jayant.sonar@kpitcummins.com>
10067 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
10068 * config/cr16/crti.S: New file.
10069 * config/cr16/crtlibid.S: New file.
10070 * config/cr16/crtn.S: New file.
10071 * config/cr16/lib1funcs.S: New file.
10072 * config/cr16/t-cr16: New file.
10073 * config/cr16/t-crtlibid: New file.
10074 * config/cr16/unwind-dw2.h: New file.
10075 * config/cr16/unwind-cr16.c: New file.
10076 * config/cr16/divmodhi3.c: New file.
10078 2012-01-25 Alan Modra <amodra@gmail.com>
10080 * config/rs6000/t-linux64: Delete. Move..
10081 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
10082 * config/rs6000/t-linux: ..and libgcc flags to here.
10084 2012-01-22 Douglas B Rupp <rupp@gnat.com>
10086 * config.host (i[34567]86-*-interix3*):
10087 Change triplet to i[34567]86-*-interix[3-9]*.
10088 * configure: Regenerate.
10090 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
10091 Richard Sandiford <rdsandiford@googlemail.com>
10093 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
10094 * config/mips/mips16.S (__mips16_rdhwr): New function.
10095 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
10097 2012-01-11 Nathan Sidwell <nathan@acm.org>
10099 * libgcov.c (__gcov_init): Ignore objects with no functions.
10101 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
10104 Extend __pgmx semantics to linearize memory.
10105 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
10106 * config/avr/lib1funcs.S (__xload_1): New function.
10107 (__movmemx_qi, __movmemx_hi): New functions.
10108 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
10111 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
10113 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
10114 purported sigacthandler address isn't null before dereferencing it.
10115 (sparc_is_sighandler): Likewise.
10117 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
10120 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
10121 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
10122 (sparc_is_sighandler): Likewise.
10123 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
10125 2012-01-06 Tristan Gingold <gingold@adacore.com>
10127 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
10128 compatibility thunks...
10129 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
10130 (crtbeginS.o, crtendS.o): ... and these to ...
10131 * config/ia64/t-ia64-elf: ... this new file.
10132 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
10133 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
10135 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10137 * configure: Regenerate.
10138 * config/s390/t-crtstuff: Remove -fPIC.
10140 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
10143 * enable-execute-stack-mprotect.c (getpagesize): Do not define
10146 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
10149 * config/avr/lib1funcs.S: Remove FIXME comments.
10150 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
10152 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
10154 Implement light-weight DImode support.
10155 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
10156 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
10157 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
10158 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
10160 2011-12-30 Nathan Sidwell <nathan@acm.org>
10162 * libgcov.c (gcov_crc32): Remove global var.
10163 (free_fn_data): New function.
10164 (buffer_fn_data): Pass in filename, more robust error recovery.
10165 (crc32_unsigned): New function.
10166 (gcov_exit): More robust detection of new program. More robust
10168 (__gcov_init): Do not update program's crc here.
10170 2011-12-21 Tristan Gingold <gingold@adacore.com>
10172 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
10174 2011-12-21 Ian Lance Taylor <iant@google.com>
10176 * config/i386/morestack.S: Simplify CFI opcodes throughout.
10178 2011-12-20 Ian Lance Taylor <iant@google.com>
10180 * config/i386/morestack.S (__morestack_non_split): If there is
10181 enough stack space already, don't split. Ask for more stack space
10184 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
10186 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
10188 (_Unwind_DebugHook): New function.
10189 (uw_restore_core_regs): New define.
10190 (unwind_phase2): Use uw_restore_core_regs instead of
10192 (unwind_phase2_forced): Likewise.
10193 (__gnu_Unwind_Resume): Likewise.
10195 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
10197 * config/alpha/linux-unwind.h: Update copyright years.
10198 (MD_FROB_UPDATE_CONTEXT): New define.
10199 (alpha_frob_update_context): New function.
10201 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
10203 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
10204 tmake_file rather replacing it.
10206 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
10208 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
10209 function is not used for PPC64.
10210 (save_world): Amend comments. Update the VRsave mask to reflect the
10212 (rest_world): Update comments, do not clobber r10, do not use r8.
10213 (eh_rest_world_r10): Amend comments, do not use r8.
10214 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
10215 no longer used, move restore of CR and target address to the end of
10218 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
10220 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
10221 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
10223 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
10226 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
10227 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
10229 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
10231 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
10233 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
10236 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
10237 * config/avr/lib1funcs.S (__muldi3): New function.
10239 2011-12-06 Andrew Pinski <apinski@cavium.com>
10241 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
10243 (__frame_dummy_init_array_entry): Likewise.
10245 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
10247 Forward-port from gcc-4_6-branch r181936 2011-12-02.
10251 * config/avr/lib1funcs.S (__prologue_saves__,
10252 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
10253 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
10255 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
10257 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
10259 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10262 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
10263 (_ITM_deregisterTMCloneTable): Likewise.
10264 (__register_frame_info): Fix unused warning.
10265 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
10266 pthread_default_stacksize_np): Likewise.
10267 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
10269 2011-11-29 DJ Delorie <dj@redhat.com>
10271 * config.host (rl78-*-elf): New case.
10272 * config/rl78: New directory for the Renesas RL78.
10274 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
10276 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
10279 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10282 * config/rs6000/t-savresfgpr: New file.
10283 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
10284 $(srcdir)/config/rs6000/eabi.S.
10285 * config/rs6000/t-ppccomm-ldbl: Remove.
10286 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
10288 (powerpc-*-eabispe*): Likewise.
10289 (powerpc-*-eabi*): Likewise.
10290 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10291 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
10292 to tmake_file, remove rs6000/t-ppccomm-ldbl.
10293 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
10295 (powerpc-*-eabisim*): Likewise.
10296 (powerpc-*-elf*): Likewise.
10297 (powerpc-*-eabialtivec*): Likewise.
10298 (powerpc-xilinx-eabi*): Likewise.
10299 (powerpc-*-rtems*): Likewise.
10300 (powerpcle-*-elf*): Likewise.
10301 (powerpcle-*-eabisim*): Likewise.
10302 (powerpcle-*-eabi*): Likewise.
10304 2011-11-27 Ian Lance Taylor <iant@google.com>
10306 * generic-morestack.c (__splitstack_find): Check for NULL old
10308 (__splitstack_resetcontext): New function.
10309 (__splitstack_releasecontext): New function.
10310 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10312 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
10314 * config/darwin-crt-tm.c: Correct comments, use correct licence.
10316 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
10318 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
10320 2011-11-26 Richard Henderson <rth@redhat.com>
10322 * config/m68k/linux-atomic.c: New file.
10323 * config/m68k/t-linux: New file.
10324 * config.host (m68k-uclinux, m68k-linux): Use it.
10326 2011-11-26 Richard Henderson <rth@redhat.com>
10328 * crtstuff.c (__TMC_LIST__): Mark used not unused.
10329 (__TMC_END__): Only declare if hidden is available; in the definition,
10330 if hidden is unavailable add a null record.
10331 (deregister_tm_clones, register_tm_clones): New.
10332 (__do_global_dtors_aux, frame_dummy): Use them.
10333 (__do_global_dtors, __do_global_ctors_1): Likewise.
10335 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
10337 * config/darwin-crt-tm.c: New file.
10338 * config.host (darwin): Build crttms.o crttme.o to provide
10339 startup and shutdown for tm clones.
10340 * config/t-darwin (crttms.o): New build rule.
10341 (crttme.o): Likewise.
10343 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
10345 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
10348 2011-11-21 Richard Henderson <rth@redhat.com>
10350 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
10351 (__TMC_LIST__, __TMC_END__): New.
10352 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
10353 (__do_global_dtors): Likewise.
10354 (frame_dummy): Call _ITM_registerTMCloneTable.
10355 (__do_global_ctors_1): Likewise.
10357 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10359 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
10360 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10361 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
10362 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
10363 * config/i386/t-darwin64: Remove.
10364 * config/sh/t-netbsd (LIB2ADD): Remove.
10366 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
10369 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
10370 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
10371 * config/avr/lib1funcs.S (wmov): New assembler macro.
10372 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
10373 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
10374 (__udivmod64): New function.
10375 (__negdi2): New function.
10377 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
10379 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
10380 *-*-freebsd*aout*): Remove.
10382 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
10384 * static-object.mk (c_flags-$o): Save c_flags.
10385 ($(base)$(objext)): Use it.
10387 2011-11-18 Steve Ellcey <sje@cup.hp.com>
10389 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
10391 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
10394 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
10395 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
10398 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
10400 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
10402 (aeabi_uidivmod): Likewise.
10403 (umodsi3): Likewise.
10404 (divsi3): Likewise.
10405 (aeabi_idivmod): Likewise.
10406 (modsi3): Likewise.
10408 2011-11-16 Tristan Gingold <gingold@adacore.com>
10410 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
10412 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
10415 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
10416 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
10418 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10420 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
10422 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
10423 * config/pa/t-stublib64: Delete.
10425 2011-11-12 Richard Henderson <rth@redhat.com>
10427 * config/rs6000/linux-unwind.h (frob_update_context): Properly
10428 cast the pointer argument to _Unwind_SetGRPtr.
10430 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10432 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
10434 2011-11-09 Ian Lance Taylor <iant@google.com>
10436 * generic-morestack.c: Include <string.h>.
10437 (uintptr_type): Define.
10438 (struct initial_sp): Add dont_block_signals field. Reduce size of
10440 (allocate_segment): Set prev field to NULL. Don't set
10441 __morestack_current_segment or __morestack_segments.
10442 (__generic_morestack): Update current->prev and *pp after calling
10444 (__morestack_block_signals): Don't do anything if
10445 dont_block_signals is set.
10446 (__morestack_unblock_signals): Likewise.
10447 (__generic_findstack): Check for initial_sp == NULL. Add casts to
10449 (__splitstack_block_signals): New function.
10450 (enum __splitstack_content_offsets): Define.
10451 (__splitstack_getcontext, __splitstack_setcontext): New functions.
10452 (__splitstack_makecontext): New function.
10453 (__splitstack_block_signals_context): New function.
10454 (__splitstack_find_context): New function.
10455 * config/i386/morestack.S (__morestack_get_guard): New function.
10456 (__morestack_set_guard, __morestack_make_guard): New functions.
10457 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10459 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10461 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
10462 (i[34567]86-*-mingw*): ... here.
10463 (x86_64-*-mingw*): ... here.
10465 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10467 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
10469 2011-11-07 Nathan Sidwell <nathan@acm.org>
10471 * libgcov.c (struct gcov_fn_buffer): New struct.
10472 (buffer_fn_data): New helper.
10473 (gcov_exit): Rework for new gcov data structures.
10475 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
10478 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
10480 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10482 * config.host (tmake_file): Correct comment.
10483 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
10485 (bfin*-uclinux*): Likewise.
10486 (bfin*-linux-uclibc*): Likewise.
10487 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
10489 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
10491 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10492 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
10493 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10494 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
10495 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10496 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
10497 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
10498 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10499 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
10500 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
10501 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
10502 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
10503 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
10505 * config/bfin/t-elf: Remove.
10506 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
10508 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10510 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
10511 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
10512 (lm32-*-elf*, lm32-*-rtems*): Split into ...
10513 (lm32-*-elf*): ... this.
10514 (lm32-*-rtems*): ... and this.
10516 (m32r-*-rtems*): Add to tmake_file.
10517 (moxie-*-rtems*): Likewise.
10518 (sparc-*-rtems*): Likewise.
10519 Remove t-rtems from tmake_file.
10520 (sparc64-*-rtems*): Likewise.
10521 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
10524 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10527 * config/gthr-posix.h: Move ...
10528 * gthr-posix.h: ... here.
10529 * config/gthr-lynx.h: Reflect this.
10530 * config/gthr-vxworks.h: Likewise.
10531 * config/rs6000/gthr-aix.h: Likewise.
10532 * configure.ac (target_thread_file): Likewise.
10533 * configure: Regenerate.
10535 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
10537 * config.host (arm*-*-rtemseabi*): New target.
10539 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10542 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10545 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
10547 * config.host (epiphany-*-elf*): New configuration.
10548 * config/epiphany: New Directory.
10550 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
10552 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10553 * config/avr/t-rtems: New.
10554 Filter out _exit from LIB1ASMFUNCS.
10556 2011-11-04 David S. Miller <davem@davemloft.net>
10558 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10559 * configure: Rebuild.
10561 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10563 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10566 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
10569 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10570 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10572 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
10575 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10577 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10579 * config/c6x/t-elf (LIB2ADDEH): Set.
10580 * config/c6x/t-c6x-elf: Remove.
10582 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10584 * config/i386/sol2-ci.S: Rename to ...
10585 * config/i386/crti.S: ... this.
10586 * config/i386/sol2-cn.S: Rename to ...
10587 * config/i386/crtn.S: ... this.
10588 * config/sparc/sol2-ci.S: Rename to ...
10589 * config/sparc/crti.S: ... this.
10590 * config/sparc/sol2-cn.S: Rename to ...
10591 * config/sparc/crtn.S: ... this.
10592 * config/t-sol2 (CUSTOM_CRTIN): Remove.
10593 (crti.o, crtn.o): Remove.
10595 2011-11-04 Tristan Gingold <gingold@adacore.com>
10597 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10599 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
10601 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10603 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
10605 * config.host (crisv32-*-none, cris-*-none): Remove.
10606 (crisv32-*-elf): Append to tmake_file, don't just set it.
10607 (cris-*-elf): Add missing t-fdpbit to tmake_file.
10609 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10611 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10612 (ecrtn$(objext)): Likewise.
10613 (ncrti$(objext)): Likewise.
10614 (ncrtn$(objext)): Likewise.
10616 2011-11-03 Andreas Schwab <schwab@redhat.com>
10618 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10620 2011-11-02 David S. Miller <davem@davemloft.net>
10622 * configure.ac: Set host_address on sparc too.
10623 * configure: Regenerate.
10624 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10625 based upon host_address.
10626 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10628 2011-11-02 Jason Merrill <jason@redhat.com>
10630 * config/rs6000/t-ppccomm: Add missing \.
10632 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10634 * gthr-single.h, gthr.h: New files.
10635 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10636 config/gthr-vxworks.h, config/i386/gthr-win32.h,
10637 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10638 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10639 * config/i386/gthr-win32.c: Include "gthr-win32.h".
10640 * configure.ac (thread_header): New variable.
10641 Set it depending on target_thread_file.
10642 (gthr-default.h): Link from $thread_header.
10643 * configure: Regenerate.
10644 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10646 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10648 * configure.ac (tm_file_): New variable.
10649 Determine from tm_file.
10650 (tm_file, tm_defines): Substitute.
10651 * configure: Regenerate.
10652 * mkheader.sh: New file.
10653 * Makefile.in (clean): Remove libgcc_tm.h.
10654 ($(objects)): Depend on libgcc_tm.h.
10655 (libgcc_tm_defines, libgcc_tm_file): New variables.
10656 (libgcc_tm.h, libgcc_tm.stamp): New targets.
10657 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10658 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10659 ($(extra-parts)): Depend on libgcc_tm.h.
10660 * config.host (tm_defines, tm_file): New variable.
10661 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10662 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10663 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10664 (avr-*-rtems*): Likewise.
10665 (avr-*-*): Likewise.
10666 (frv-*-elf): Likewise.
10667 (frv-*-*linux*): Likewise.
10668 (h8300-*-rtems*): Likewise.
10669 (h8300-*-elf*): Likewise.
10670 (i[34567]86-*-darwin*): Likewise.
10671 (x86_64-*-darwin*): Likewise.
10672 (rx-*-elf): Likewise.
10673 (tic6x-*-uclinux): Likewise.
10674 (tic6x-*-elf): Likewise.
10675 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10676 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10677 * config/i386/cygming-crtbegin.c: Likewise.
10678 * config/i386/cygming-crtend.c: Likewise.
10679 * config/ia64/fde-vms.c: Likewise.
10680 * config/ia64/unwind-ia64.c: Likewise.
10681 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10682 * config/rs6000/darwin-fallback.c: Likewise.
10683 * config/stormy16/lib2funcs.c: Likewise.
10684 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10685 * crtstuff.c: Likewise.
10686 * dfp-bit.h: Likewise.
10687 * emutls.c: Likewise.
10688 * fixed-bit.c: Likewise.
10689 * fp-bit.c: Likewise.
10690 * generic-morestack-thread.c: Likewise.
10691 * generic-morestack.c: Likewise.
10692 * libgcc2.c: Likewise.
10693 * libgcov.c: Likewise.
10694 * unwind-dw2-fde-dip.c: Likewise.
10695 * unwind-dw2-fde.c: Likewise.
10696 * unwind-dw2.c: Likewise.
10697 * unwind-sjlj.c: Likewise.
10699 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10701 * configure.ac: Include ../config/picflag.m4.
10702 (GCC_PICFLAG): Call it.
10704 * configure: Regenerate.
10705 * Makefile.in (gcc_srcdir): Remove.
10706 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10707 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10708 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10709 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10710 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10713 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10714 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10715 to refer to libgcc2.c.
10717 * config/darwin-64.c: New file.
10718 * config/darwin-crt3.c: Remove comment.
10719 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10720 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10721 config/udivmodsi4.c: New files.
10722 * config/memcmp.c, config/memcpy.c, config/memmove.c,
10723 config/memset.c: New files.
10724 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10725 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10726 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10727 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10728 * config/t-openbsd-thread: New file.
10729 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10730 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10731 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10732 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10735 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10736 to refer to gthr-posix.c.
10737 * config/alpha/t-vms (LIB2ADD): Set.
10738 * config/alpha/vms-gcc_shell_handler.c: New file.
10739 * config/arm/bpabi.c, config/arm/fp16.c,
10740 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10741 config/arm/unaligned-funcs.c: New files.
10742 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10743 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10744 * config/arm/t-linux: Likewise.
10745 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10746 * config/arm/t-netbsd: New file.
10747 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10748 * config/arm/t-symbian (LIB2ADD_ST): Set.
10749 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10750 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10751 * config/bfin/t-elf: New file.
10752 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10753 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10754 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10755 config/c6x/ltf.c: New files.
10756 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10757 (HOST_LIBGCC2_CFLAGS): Set.
10758 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10759 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10760 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10762 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
10763 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
10764 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
10765 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
10766 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
10768 * config/frv/t-frv (LIB2ADD): Set.
10769 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10770 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
10771 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
10772 config/h8300/popcounthi2.c: New files.
10773 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10774 * config/i386/gthr-win32.c: New file.
10775 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
10776 * config/i386/t-cygwin: Likewise.
10777 * config/i386/t-darwin, config/i386/t-darwin64,
10778 config/i386/t-gthr-win32, config/i386/t-interix: New files.
10779 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
10780 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10781 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10782 * config/ia64/quadlib.c: New file.
10783 * config/ia64/t-hpux (LIB2ADD): Set.
10784 * config/ia64/t-ia64: Add comment.
10785 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
10786 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10787 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
10788 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
10789 * config/m32c/t-m32c (LIB2ADD): Set.
10790 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10791 * config/m32r/t-m32r: Likewise.
10792 * config/m68k/fpgnulib.c: New file.
10793 * config/m68k/t-floatlib (LIB2ADD): Set.
10794 (xfgnulib.c): New target.
10795 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
10796 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
10797 * config/mep/t-mep (LIB2ADD): Set.
10798 * config/microblaze/divsi3.asm: Rename to divsi3.S.
10799 * config/microblaze/moddi3.asm: Rename to moddi3.S.
10800 * config/microblaze/modsi3.asm: Rename to modsi3.S.
10801 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
10802 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
10803 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
10804 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
10805 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
10806 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
10807 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
10809 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
10810 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
10811 * config/pa/fptr.c, config/pa/lib2funcs.S,
10812 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
10813 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10814 (LIB2ADD, LIB2ADD_ST): Set.
10815 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
10816 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
10818 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
10819 * config/pdp11/t-pdp11: New file.
10820 * config/picochip/libgccExtras/adddi3.S,
10821 config/picochip/libgccExtras/ashlsi3.S,
10822 config/picochip/libgccExtras/ashrsi3.S,
10823 config/picochip/libgccExtras/clzsi2.S,
10824 config/picochip/libgccExtras/cmpsi2.S,
10825 config/picochip/libgccExtras/divmod15.S,
10826 config/picochip/libgccExtras/divmodhi4.S,
10827 config/picochip/libgccExtras/divmodsi4.S,
10828 config/picochip/libgccExtras/lshrsi3.S,
10829 config/picochip/libgccExtras/parityhi2.S,
10830 config/picochip/libgccExtras/popcounthi2.S,
10831 config/picochip/libgccExtras/subdi3.S,
10832 config/picochip/libgccExtras/ucmpsi2.S,
10833 config/picochip/libgccExtras/udivmodhi4.S,
10834 config/picochip/libgccExtras/udivmodsi4.S: New files.
10835 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
10836 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10837 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10838 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10839 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10840 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10841 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
10842 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
10844 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
10845 (HOST_LIBGCC2_CFLAGS): Set.
10846 * config/rs6000/t-darwin64: New file.
10847 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
10848 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
10849 * config/rs6000/t-ppccomm (LIB2ADD): Add
10850 $(srcdir)/config/rs6000/tramp.S.
10851 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
10852 Add $(srcdir)/config/rs6000/eabi.S.
10853 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
10854 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
10855 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
10856 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
10857 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
10858 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
10859 * config/rs6000/tramp.S: New file.
10860 * config/s390/t-tpf: Remove.
10861 * config/sh/linux-atomic.S: New file.
10862 * config/sh/t-linux (LIB2ADD): Set.
10863 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
10864 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10865 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
10867 (HOST_LIBGCC2_CFLAGS): Set.
10868 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10869 * config/spu/divmodti4.c, config/spu/divv2df3.c,
10870 config/spu/float_disf.c, config/spu/float_unsdidf.c,
10871 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
10872 config/spu/mfc_multi_tag_release.c,
10873 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
10874 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
10875 config/spu/multi3.c: New files.
10876 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
10877 (HOST_LIBGCC2_CFLAGS): Set.
10878 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
10879 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
10880 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
10881 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
10882 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
10883 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
10884 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
10885 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
10886 config/stormy16/umodsi3.c: New files.
10887 * config/xtensa/lib2funcs.S: New file.
10888 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10889 * config/xtensa/t-xtensa (LIB2ADD): Set.
10890 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
10891 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
10892 Add t-freebsd-thread to tmake_file for posix threads.
10893 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
10894 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
10895 (*-*-lynxos*): Likewise.
10896 (*-*-netbsd*): Likewise.
10897 (*-*-openbsd*): Likewise.
10898 Add t-openbsd-thread to tmake_file for posix threads.
10899 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
10900 (*-*-vxworks*): Set tmake_file.
10901 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10902 (alpha*-*-freebsd*): Likewise.
10903 (alpha*-*-netbsd*): Likewise.
10904 (alpha*-*-openbsd*): Likewise.
10905 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
10906 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10907 (alpha*-dec-*vms*): Likewise.
10908 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
10909 (bfin*-elf*): Add bfin/t-elf to tmake_file.
10910 (bfin*-uclinux*): Likewise.
10911 (bfin*-linux-uclibc*): Likewise.
10912 (crisv32-*-elf): Add cris/t-cris to tmake_file.
10913 (crisv32-*-none): Likewise.
10914 (cris-*-elf): Likewise.
10915 (cris-*-none): Likewise.
10916 (cris-*-linux*, crisv32-*-linux*): Likewise.
10917 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
10919 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
10921 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
10922 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
10923 (x86_64-*-elf*): Likewise.
10924 (i[34567]86-*-nto-qnx*): Likewise.
10925 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
10927 (x86_64-*-mingw*): Likewise.
10928 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
10929 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
10930 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10931 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10932 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
10934 (mipsisa64sr71k-*-elf*): Likewise.
10935 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10936 (mips-*-elf*, mipsel-*-elf*): Likewise.
10937 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10938 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10939 (mips*-*-rtems*): Likewise.
10940 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
10942 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
10943 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
10944 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
10945 (spu-*-elf*): Likewise.
10946 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
10948 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10950 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
10951 $(srcdir) to refer to $(LIB1ASMSRC).
10953 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
10954 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
10955 config/arm/lib1funcs.S: New files.
10956 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
10957 * config/arm/t-arm: New file.
10958 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
10959 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
10960 config/arm/t-strongarm-elf: New files.
10961 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
10962 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
10963 * config/avr/lib1funcs.S: New file.
10964 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10965 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
10966 * config/c6x/lib1funcs.S: New file.
10967 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10968 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
10969 * config/frv/lib1funcs.S: New file.
10970 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10971 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
10972 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
10973 * config/ia64/__divxf3.asm: Rename to ...
10974 * config/ia64/__divxf3.S: ... this.
10975 Adapt lib1funcs.asm filename.
10976 * config/ia64/_fixtfdi.asm: Rename to ...
10977 * config/ia64/_fixtfdi.S: ... this.
10978 Adapt lib1funcs.asm filename.
10979 * config/ia64/_fixunstfdi.asm: Rename to ...
10980 * config/ia64/_fixunstfdi.S: ... this.
10981 Adapt lib1funcs.asm filename.
10982 * config/ia64/_floatditf.asm: Rename to ...
10983 * config/ia64/_floatditf.S: ... this.
10984 Adapt lib1funcs.asm filename.
10985 * config/ia64/lib1funcs.S: New file.
10986 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
10987 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10988 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
10989 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
10990 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
10991 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
10992 * config/mep/lib1funcs.S: New file.
10993 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10994 * config/mips/mips16.S: New file.
10995 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10996 * config/pa/milli64.S: New file.
10997 * config/pa/t-linux, config/pa/t-linux64: New files.
10998 * config/picochip/lib1funcs.S: New file.
10999 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11000 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
11001 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
11002 * config/sh/t-netbsd: New file.
11003 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
11004 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
11005 * config/sh/t-sh64: New file.
11006 * config/sparc/lb1spc.S: New file.
11007 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
11009 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
11010 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
11011 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
11012 config/xtensa/lib1funcs.S: New files.
11013 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11014 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
11016 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
11017 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
11018 (arm*-*-linux*): Likewise.
11019 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
11020 arm*-*-linux-*eabi, add arm/t-linux otherwise.
11021 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
11022 (arm*-*-ecos-elf): Likewise.
11023 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11024 (arm*-*-rtems*): Likewise.
11025 (arm*-*-elf): Likewise.
11026 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
11027 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
11028 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
11029 (bfin*-uclinux*): Likewise.
11030 (bfin*-linux-uclibc*): Likewise.
11031 (bfin*-rtems*): Likewise.
11032 (bfin*-*): Likewise.
11033 (fido-*-elf): Merge into m68k-*-elf*.
11034 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
11035 (frv-*-*linux*): Add frv/t-frv to tmake_file.
11036 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
11037 (h8300-*-elf*): Likewise.
11038 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
11039 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
11040 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
11041 (i[34567]86-*-mingw*): Likewise.
11042 (x86_64-*-mingw*): Likewise.
11043 (i[34567]86-*-interix3*): Likewise.
11044 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
11045 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
11046 (m68k-*-elf*): Also handle fido-*-elf.
11047 Add m68k/t-floatlib to tmake_file.
11048 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
11049 (m68k-*-linux*): Likewise.
11050 (m68k-*-rtems*): Likewise.
11051 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
11052 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
11054 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
11055 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
11056 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
11057 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
11058 sh/t-netbsd to tmake_file.
11059 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
11060 (sh-*-rtems*): Add sh/t-sh to tmake_file.
11061 (sh-wrs-vxworks): Likewise.
11062 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
11064 (v850*-*-*): Add v850/t-v850 to tmake_file.
11065 (vax-*-linux*): Add vax/t-linux to tmake_file.
11066 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
11068 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11070 * crtstuff.c: New file.
11071 * Makefile.in (CRTSTUFF_CFLAGS): Define.
11072 (CRTSTUFF_T_CFLAGS): Define.
11073 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
11074 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
11075 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
11078 (crtbeginT.o): Use $(objext).
11079 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
11080 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
11081 (gcc-extra-parts): Remove.
11082 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
11084 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11085 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
11086 Add t-crtstuff-pic to tmake_file.
11087 (*-*-lynxos*): New case.
11088 Set tmake_file, extra_parts.
11089 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
11090 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
11091 *-*-netbsdelf[2-9]*.
11092 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
11093 (*-*-rtems*): Set extra_parts.
11094 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
11095 (*-*-uclinux*): New case.
11097 (*-*-vms*): New case.
11098 Set tmake_file, extra_parts.
11099 (*-*-elf): Set extra_parts.
11100 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
11101 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
11104 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
11106 (arm*-*-freebsd*): Add t-crtin to tmake_file.
11107 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
11108 (arm-wrs-vxworks): Append to tmake_file.
11110 (arm*-*-uclinux*): Set extra_parts.
11111 (arm*-*-ecos-elf): Likewise.
11112 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
11114 (arm*-*-rtems*): Set extra_parts.
11115 (arm*-*-elf): Likewise.
11116 (avr-*-rtems*): Clear extra_parts.
11117 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
11119 (bfin*-uclinux*): Likewise.
11120 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
11121 (bfin*-rtems*): Append to tmake_file.
11123 (bfin*-*): Likewise.
11124 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
11125 (crisv32-*-elf): ... this.
11126 (crisv32-*-none): ... this.
11127 (cris-*-elf, cris-*-none): New cases.
11128 Add cris/t-elfmulti to tmake_file.
11129 (fr30-*-elf): Append to tmake_file.
11131 (frv-*-elf): Append to tmake_file, add frv/t-frv.
11133 (h8300-*-rtems*): Append to tmake_file.
11135 (h8300-*-elf*): Likewise.
11136 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
11138 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
11140 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
11141 (x86_64-*-elf*): Likewise.
11142 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
11143 (x86_64-*-freebsd*): Likewise.
11144 (x86_64-*-netbsd*): Likewise.
11145 (i[34567]86-*-linux*): Likewise.
11146 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11147 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11148 (x86_64-*-linux*): Likewise.
11149 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11150 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
11153 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
11154 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
11155 Append to extra_parts, remove crtbegin.o, crtend.o.
11156 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
11157 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
11158 crtend.o, crtbeginS.o, crtendS.o.
11159 (ia64*-*-linux*): Comment extra_parts.
11160 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
11162 (iq2000*-*-elf*): Clear extra_parts.
11163 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
11164 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
11165 (m32r-*-elf*, m32r-*-rtems*): Split off ...
11166 (m32r-*-rtems*): ... this.
11167 Add m32r/t-m32r to tmake_file.
11168 (m68k-*-elf*): Add t-crtin to tmake_file.
11169 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
11170 (mcore-*-elf): Likewise.
11171 (microblaze*-*-*): Set extra_parts.
11172 (mips*-sde-elf*): New case.
11173 Set tmake_file, extra_parts.
11174 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
11175 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
11176 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
11179 (mipsisa64sr71k-*-elf*): Likewise.
11180 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
11181 (mips-*-elf*, mipsel-*-elf*): Likewise.
11182 (mips64-*-elf*, mips64el-*-elf*): Likewise.
11183 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
11184 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
11185 (mips*-*-rtems*): Likewise.
11186 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
11187 (moxie-*-*): Split into ...
11188 (moxie-*-elf, moxie-*-uclinux*): ... this.
11189 Add to extra_parts, remove crtbegin.o, crtend.o.
11190 (moxie-*-rtems*): New case.
11193 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
11195 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
11196 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
11199 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
11200 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
11202 (powerpc-*-eabisim*): Likewise.
11203 (powerpc-*-elf*): Likewise.
11204 (powerpc-*-eabialtivec*): Likewise.
11205 (powerpc-xilinx-eabi*): Likewise.
11206 (powerpc-*-eabi*): Likewise.
11207 (powerpc-*-rtems*): Likewise.
11208 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
11211 (powerpc-*-lynxos*): Add to tmake_file.
11212 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
11213 rs6000/t-crtstuff, t-crtstuff-pic.
11215 (powerpcle-*-eabisim*): Likewise.
11216 (powerpcle-*-eabi*): Likewise.
11217 (rx-*-elf): Remove extra_parts.
11218 (s390x-ibm-tpf*): Set extra_parts.
11219 (score-*-elf): Set extra_parts.
11220 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11221 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11222 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11223 (sh64l*-*-netbsd*): Split into ...
11224 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
11225 Add t-crtstuff-pic to tmake_file.
11227 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
11229 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
11230 (sparc-*-elf*): Remove t-crtin from tmake_file.
11231 Add to extra_parts, remove crtbegin.o, crtend.o.
11232 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
11233 (sparc64-*-linux*): Likewise.
11234 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
11235 Add to extra_parts, remove crtbegin.o, crtend.o.
11236 (sparc64-*-elf*): Remove t-crtin from tmake_file.
11237 Add to extra_parts, remove crtbegin.o, crtend.o.
11238 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
11239 Add to extra_parts, remove crtbegin.o, crtend.o.
11240 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
11241 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
11242 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
11244 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
11246 (tic6x-*-*): Change to ...
11247 (tic6x-*-elf): ... this.
11249 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
11251 (am33_2.0-*-linux*): Add comment.
11252 (mep*-*-*): Add mep/t-mep to tmake_file.
11254 * config/alpha/t-vms: New file.
11255 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
11256 * config/arm/crti.S, config/arm/crtn.S: New files.
11257 * config/bfin/crti.S, config/bfin/crtn.S: New files.
11258 * config/bfin/crtlibid.S: New file.
11259 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
11260 * config/c6x/crti.S, config/c6x/crtn.S: New files.
11261 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
11262 (crti.o, crtin.o): New rules.
11263 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11264 * config/c6x/t-uclinux: New file.
11265 * config/cris/t-elfmulti: New file.
11266 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
11267 * config/fr30/crti.S, config/fr30/crtn.S: New files.
11268 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
11269 * config/frv/t-frv: New file.
11270 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
11271 * config/h8300/crti.S, config/h8300/crtn.S: New files.
11272 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
11274 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
11275 refer to cygming-crtbegin.c, cygming-crtend.c.
11277 * config/i386/t-nto: New file.
11278 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
11279 * config/ia64/crti.S, config/ia64/crtn.S: New files.
11280 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
11281 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
11284 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11285 (crtinitS.o): New rule.
11286 * config/ia64/vms-crtinit.S: New file.
11287 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
11288 * config/m32r/initfini.c: New file.
11289 * config/m32r/t-linux, config/m32r/t-m32r: New files.
11290 * config/m68k/crti.S, config/m68k/crtn.S: New files.
11291 * config/mcore/crti.S, config/mcore/crtn.S: New files.
11292 * config/mep/t-mep: New file.
11293 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
11294 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
11295 * config/mips/crti.S, config/mips/crtn.S: New files.
11296 * config/mips/t-crtstuff: New file.
11297 * config/mmix/crti.S, config/mmix/crtn.S: New files.
11298 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
11299 (CUSTOM_CRTIN): Set.
11300 ($(T)crti.o, $(T)crtn.o): Remove $(T),
11302 Use $(srcdir) to refer to crti.S, crtn.S.
11303 Use .S extension, $<.
11304 * config/moxie/crti.asm: Rename to ...
11305 * config/moxie/crti.S: ... this.
11306 * config/moxie/crtn.asm: Rename to ...
11307 * config/moxie/crtn.S: ... this.
11308 * config/moxie/t-moxie: Remove.
11309 * config/pa/stublib.c: New file.
11310 * config/pa/t-stublib, config/pa/t-stublib64: New files.
11311 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
11312 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
11313 * config/rs6000/t-crtstuff: New file.
11314 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
11315 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
11316 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
11317 Make output file explicit.
11318 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
11319 Make output file explicit.
11320 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
11321 Make output file explicit.
11322 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
11323 Make output file explicit.
11324 * config/score/crti.S, config/score/crtn.S: New files.
11325 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
11326 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
11328 * config/sh/t-sh, config/sh/t-superh: New files.
11329 * config/sparc/t-linux64: New file.
11330 * config/spu/cache.S, config/spu/cachemgr.c: New files.
11331 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
11332 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
11333 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
11334 * config/t-crtin: Remove.
11335 * config/t-crtstuff-pic: New file.
11336 * config/t-sol2 (CUSTOM_CRTIN): Set.
11337 (crti.o, crtn.o): New rules.
11338 * config/vms/t-vms: New file.
11339 * config/vms/vms-ucrt0.c: New file.
11340 * config/xtensa/t-elf: New file.
11342 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11344 * Makefile.in (SHLIB_NM_FLAGS): Set.
11345 * mkmap-flat.awk, mkmap-symver.awk: New files.
11346 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
11348 * configure: Regenerate.
11349 * config/libgcc-glibc.ver: New file.
11350 * config/libgcc-libsystem.ver: New file.
11351 * config/t-libunwind (SHLIB_LC): Set.
11352 * config/t-linux: New file.
11353 * config/t-slibgcc (INSTALL_SHLIB): New.
11354 (SHLIB_INSTALL): Use it.
11355 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
11356 to mkmap-symver.awk.
11357 (SHLIB_MAPFILES): Don't append, adapt pathname.
11358 (SHLIB_VERPFX): Set.
11359 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
11360 to mkmap-symver.awk.
11361 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
11362 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
11363 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
11364 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
11366 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
11367 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
11368 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
11369 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
11370 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
11371 * config/i386/libgcc-darwin.10.4.ver,
11372 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
11374 * config/i386/t-darwin: Remove.
11375 * config/i386/t-darwin64: Likewise.
11376 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
11377 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
11378 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
11379 * config/i386/t-linux: New file.
11380 * config/i386/t-mingw32: New file.
11381 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
11382 * config/ia64/t-glibc: Rename to ...
11383 * config/ia64/t-linux: ... this.
11384 (SHLIB_MAPFILES): Set.
11385 * config/ia64/t-glibc-libunwind: Rename to ...
11386 * config/ia64/t-linux-libunwind: ... this.
11387 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
11388 * config/ia64/t-slibgcc-hpux: New file.
11389 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
11390 * config/m68k/t-slibgcc-elf-ver: New file.
11391 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
11392 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
11394 * config/pa/t-slibgcc-hpux: New file.
11395 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
11397 * config/rs6000/libgcc-darwin.10.4.ver,
11398 config/rs6000/libgcc-darwin.10.5.ver: New files.
11399 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
11400 config/rs6000/libgcc-glibc.ver.
11401 * config/rs6000/libgcc-ppc64.ver: Rename to
11402 config/rs6000/libgcc-ibm-ldouble.ver.
11403 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
11404 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
11405 * config/rs6000/t-ldbl128: Rename to ...
11406 * config/rs6000/t-linux: ... this.
11407 (SHLIB_MAPFILES): Adapt filename.
11408 * config/rs6000/t-slibgcc-aix: New file.
11409 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
11410 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
11411 libgcc-excl.ver, libgcc-glibc.ver.
11412 (SHLIB_LINK, SHLIB_INSTALL): Remove.
11413 * config/sparc/libgcc-glibc.ver: New file.
11414 * config/sparc/t-linux: New file.
11415 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
11416 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
11417 t-slibgcc-elf-ver to tmake_file.
11418 Add t-slibgcc-nolc-override to tmake_file for posix threads on
11420 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11421 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
11422 t-slibgcc-elf-ver, t-linux to tmake_file.
11423 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
11425 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
11426 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
11427 (alpha*-dec-*vms*): Likewise.
11428 (arm*-*-freebsd*): Append to tmake_file.
11429 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
11430 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
11431 arm*-*-linux-*eabi.
11432 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
11433 tmake_file for arm*-*-symbianelf*.
11434 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
11435 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
11437 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
11438 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
11439 pa/t-slibgcc-dwarf-ver to tmake_file.
11440 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
11441 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
11442 (hppa*64*-*-hpux11*): Likewise.
11443 (hppa[12]*-*-hpux11*): Likewise.
11444 (x86_64-*-darwin*): Don't override tmake_file, but only keep
11445 i386/t-crtpc, i386/t-crtfm.
11446 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
11447 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11449 Add i386/t-cygwin to tmake_file.
11450 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
11451 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
11452 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11454 Add i386/t-mingw32 to tmake_file.
11455 (x86_64-*-mingw*): Likewise.
11456 (ia64*-*-freebsd*): Append to tmake_file.
11457 (ia64*-*-linux*): Append to tmake_file.
11458 Replace ia64/t-glibc by ia64/t-linux.
11459 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
11461 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
11462 t-slibgcc-hpux to tmake_file.
11463 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
11464 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
11465 (m32rle-*-linux*): Likewise.
11466 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
11468 (microblaze*-linux*): New case.
11469 Append to tmake_file, add t-slibgcc-nolc-override.
11470 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
11471 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11472 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
11473 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11474 rs6000/t-slibgcc-aix to tmake_file.
11475 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11476 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11477 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11478 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11479 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11480 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
11482 (sparc-*-linux*): Append to tmake_file for *-leon*.
11483 Add sparc/t-linux to tmake_file for non-Leon targets.
11484 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
11485 (tic6x-*-uclinux): New case.
11486 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
11487 (tic6x-*-*): Add c6x/t-elf to tmake_file.
11488 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
11489 (am33_2.0-*-linux*): Append to tmake_file.
11490 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
11491 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
11492 x86_64-*-kfreebsd*-gnu.
11493 Add i386/t-linux to tmake_file.
11495 2011-10-28 Ian Lance Taylor <iant@google.com>
11497 * config/i386/morestack.S: Correct CFI information to do proper
11498 returns throughout function. In 32-bit mode, save %ebx so that it
11499 is restored on unwind.
11501 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
11503 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
11504 case where B3 isn't the return register.
11506 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
11507 logic for doubleword pops.
11509 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
11511 * config/rs6000/t-freebsd: Add wildcard.
11513 2011-10-21 Paul Brook <paul@codesourcery.com>
11515 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
11517 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
11518 Eric Botcazou <ebotcazou@adacore.com>
11521 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
11522 fs->signal_frame to 1.
11524 2011-10-07 Ian Lance Taylor <iant@google.com>
11526 * generic-morestack-thread.c: #include <errno.h>.
11528 2011-10-07 Ian Lance Taylor <iant@google.com>
11531 * generic-morestack.c (__generic_morestack): Make sure the segment
11532 is large enough for both the stack frame and the copied
11535 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11538 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11541 2011-09-28 Nick Clifton <nickc@redhat.com>
11543 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11544 64-bit doubles are not enabled.
11545 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11546 and floatunsisf functions.
11548 2011-09-13 Paul Brook <paul@codesourcery.com>
11550 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
11551 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11552 * unwind-arm-common.inc: New file.
11553 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11554 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11555 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11556 * config/c6x/libunwind.S: New file.
11557 * config/c6x/pr-support.c: New file.
11558 * config/c6x/unwind-c6x.c: New file.
11559 * config/c6x/unwind-c6x.h: New file.
11560 * config/c6x/t-c6x-elf: New file.
11562 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
11564 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11565 (ASM_DIVZERO): Ditto.
11566 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11568 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
11570 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11572 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
11575 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11576 instead of an assembly one.
11578 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
11581 * Makefile.in (install-unwind_h): Create
11582 $(gcc_objdir)/include/unwind.h atomically.
11584 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11586 * Makefile.in (install-unwind_h): Remove destination file first.
11588 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11590 * sync.c: New file.
11591 * config/mips/t-mips16: New file.
11592 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11593 (mips*-*-linux*): Likewise.
11594 (mips*-sde-elf*): Likewise.
11595 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11596 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11597 Add mips/t-mips16 to tmake_file.
11598 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11599 (mips-*-elf*): Likewise.
11600 (mips64-*-elf*): Likewise.
11601 (mips64orion-*-elf*): Likewise.
11602 (mips*-*-rtems*): Likewise.
11603 (mipstx39-*-elf*): Likewise.
11604 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11605 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11606 LIBGCC_SYNC_CFLAGS.
11607 Use $(srcdir) to refer to sync.c.
11609 ($(libgcc-sync-funcs-o)): Likewise.
11610 ($(libgcc-sync-size-funcs-s-o)): Likewise.
11611 ($(libgcc-sync-funcs-s-o)): Likewise.
11613 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11615 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11618 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
11621 * config/i386/value-unwind.h: New.
11623 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
11625 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11626 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11627 Add to tmake_file rather than overriding it.
11629 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11631 * config/t-softfp: Remove.
11632 * soft-fp: Moved from ../gcc/config.
11633 * soft-fp/README: Remove t-softfp reference.
11634 * soft-fp/t-softfp: Move to config/t-softfp.
11635 (softfp_machine_header): Remove.
11636 (softfp_file_list): Remove config subdir.
11637 (soft-fp-objects): New variable.
11638 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11639 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11640 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11641 * config/t-softfp-excl: New file.
11642 * config/t-softfp-sfdf: New file.
11643 * config/t-softfp-tf: New file.
11644 * config/no-sfp-machine.h: New file.
11645 * config/arm/sfp-machine.h: New file.
11646 * config/arm/t-softfp: New file.
11647 * config/c6x/sfp-machine.h: New file.
11648 * config/i386/32/t-fprules-softfp: Rename to ...
11649 * config/i386/32/t-softfp: ... this.
11650 (tifunctions, LIB2ADD): Remove.
11651 (softfp_int_modes): Override.
11652 * config/i386/64/t-softfp-compat (tf-functions): Remove config
11654 * config/i386/64/eqtf2.c: Likewise.
11655 * config/i386/64/getf2.c: Likewise.
11656 * config/i386/64/letf2.c: Likewise.
11657 * config/ia64/sft-machine.h: New file.
11658 * config/ia64/t-fprules-softfp: Rename to ...
11659 * config/ia64/t-softfp: ... this.
11660 * config/lm32/sfp-machine.h: New file.
11661 * config/moxie/t-moxie-softfp: Remove.
11662 * config/rs6000/ibm-ldouble-format: New file.
11663 * config/rs6000/ibm-ldouble.c: New file.
11664 * config/rs6000/libgcc-ppc-glibc.ver: New file
11665 * config/rs6000/libgcc-ppc64.ver: New file
11666 * config/rs6000/sfp-machine.h: New file.
11667 * config/rs6000/t-freebsd: New file.
11668 * config/rs6000/t-ibm-ldouble: New file.
11669 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11670 libgcc-ppc-glibc.ver.
11671 * config/rs6000/t-linux64: New file.
11672 * config/rs6000/t-ppccomm (LIB2ADD): Add
11673 $(srcdir)/config/rs6000/ibm-ldouble.c.
11674 * config/rs6000/t-ppccomm-ldbl: New file.
11675 * config/score/sfp-machine.h: New file.
11676 * config.host (sfp_machine_header): Explain.
11677 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11678 t-softfp to tmake_file.
11679 (arm*-*-uclinux*): Likewise.
11680 (arm*-*-ecos-elf): Likewise.
11681 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11682 (arm*-*-rtems*): Likewise.
11683 (arm*-*-elf): Likewise.
11684 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11686 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11687 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11688 (lm32-*-uclinux*): Likewise.
11689 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11690 t-softfp-excl, t-softfp.
11691 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11692 (powerpc64-*-darwin*): Likewise.
11693 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11695 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11697 (powerpc-*-eabisim*): Likewise.
11698 (powerpc-*-elf*): Likewise.
11699 (powerpc-*-eabialtivec*): Likewise.
11700 (powerpc-xilinx-eabi*): Likewise.
11701 (powerpc-*-rtems*): Likewise.
11702 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11703 t-softfp-excl, t-softfp to tmake_file.
11704 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11705 rs6000/t-ppccomm-ldbl to tmake_file.
11706 (powerpcle-*-elf*): Likewise.
11707 (powerpcle-*-eabisim*): Likewise.
11708 (powerpcle-*-eabi*): Likewise.
11709 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11710 rs6000/t-ibm-ldouble to tmake_file.
11711 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11712 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11713 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11714 (tic6x-*-*): Likewise.
11715 (i[34567]86-*-darwin*, x86_64-*-darwin*,
11716 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11717 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11718 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11719 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11720 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11721 t-softfp to tmake_file.
11722 * configure.ac (sfp_machine_header): Provide default if unset.
11724 Link sfp-machine.h to config/$sfp_machine_header.
11725 * configure: Regenerate.
11727 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11729 * Makefile.in (double_type_size, long_double_type_size): Set.
11730 Remove $(fpbit-in-libgcc) support.
11731 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11732 (fpbit-src): New variable.
11733 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11734 Compile with -DFLOAT $(FPBIT_CFLAGS).
11736 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11737 Compile with $(FPBIT_CFLAGS).
11739 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11740 Compile with -DFLOAT $(TPBIT_CFLAGS).
11742 * configure.ac (double_type_size, long_double_type_size):
11743 Determine and substitute.
11744 * configure: Regenerate.
11745 * fp-bit.c, fp-bit.h: New files.
11746 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11747 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11748 * config/mips/t-mips: New file.
11749 * config/mips/t-sdemtk: New file.
11750 * config/rs6000/ppc64-fp.c: New file.
11751 * config/rs6000/t-darwin (LIB2ADD): Add
11752 $(srcdir)/config/rs6000/ppc64-fp.c.
11753 * config/rs6000/t-ppc64-fp: New file.
11754 * config/rx/rx-lib.h: New file.
11755 * config/rx/t-rx (FPBIT): Set to true.
11756 ($(gcc_objdir)/fp-bit.c): Remove.
11757 (DPBIT): Set to true only with -m64bit-doubles.
11758 ($(gcc_objdir)/dp-bit.c): Remove.
11759 * config/sparc/t-softfp: Remove.
11760 * config/spu/t-elf: New file.
11761 * config/t-fdpbit, config/t-fpbit: New files.
11762 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
11763 (mips*-*-*): Likewise.
11764 (arm-wrs-vxworks): Likewise.
11765 (arm*-*-freebsd*): Likewise.
11766 (avr-*-rtems*): Add t-fpbit to tmake_file.
11767 (avr-*-*): Likewise.
11768 (bfin*-elf*): Add t-fdpbit to tmake_file.
11769 (bfin*-uclinux*): Likewise.
11770 (bfin*-linux-uclibc*): Likewise.
11771 (bfin*-rtems*): New case.
11772 Add t-fdpbit to tmake_file.
11773 (bfin*-*): Add t-fdpbit to tmake_file.
11774 (crisv32-*-elf): Likewise.
11775 (cris-*-linux*): Likewise.
11776 (fr30-*-elf): Likewise.
11777 (frv-*-elf, frv-*-*linux*): Likewise.
11778 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
11779 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
11780 (m32r-*-elf*): Likewise.
11781 (m32rle-*-elf*): Likewise.
11782 (m32r-*-linux*): Likewise.
11783 (m32rle-*-linux*): Likewise.
11784 (mcore-*-elf): Add t-fdpbit to tmake_file.
11785 (microblaze*-*-*): Likewise.
11786 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
11787 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
11788 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
11790 Add mips/t-tpbit to tmake-file.
11791 (mips*-*-linux*): Fix typo.
11792 (mips*-sde-elf*): New case
11793 Add mips/t-sdemtk unless using newlib.
11794 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
11795 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
11796 (mn10300-*-*): Likewise.
11797 (pdp11-*-*): Likewise.
11798 (picochip-*-*): Add t-fpbit to tmake_file.
11799 (powerpc-*-eabisimaltivec*): Likewise.
11800 (powerpc-*-eabisim*): Likewise.
11801 (powerpc-*-elf*): Likewise.
11802 (powerpc-*-eabialtivec*): Likewise.
11803 (powerpc-xilinx-eabi*): New case.
11804 Add t-fdpbit to tmake_file.
11805 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
11806 (powerpc-*-rtems*): Likewise.
11807 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
11809 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
11811 (powerpc-*-lynxos*): Likewise.
11812 (powerpcle-*-elf*): Likewise.
11813 (powerpcle-*-eabisim*): Likewise.
11814 (powerpcle-*-eabi*): Likewise.
11815 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11816 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
11817 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11818 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11819 (rx-*-elf): Add t-fdpbit to tmake_file.
11820 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11821 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11822 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11823 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
11825 (sh-*-rtems*): Add t-fdpbit to tmake_file.
11826 (sh-wrs-vxworks): Likewise.
11827 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
11828 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
11829 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
11830 (sparc64-*-rtems*): ... new case.
11831 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
11832 (spu-*-elf*): Likewise.
11833 Add spu/t-elf to tmake_file.
11834 (v850*-*-*): Add t-fdpbit to tmake_file.
11835 (xstormy16-*-elf): Likewise.
11836 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11837 (mep*-*-*): Likewise.
11839 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11841 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11843 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
11844 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
11845 (install-unwind_h): New target.
11846 (all): Depend on it.
11847 * config.host (unwind_header): New variable.
11848 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
11849 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11850 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
11851 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
11852 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
11854 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
11856 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
11858 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
11860 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
11861 (ia64*-*-freebsd*): Likewise.
11862 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
11864 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
11865 $with_system_libunwind.
11866 (ia64*-*-hpux*): Set tmake_file.
11867 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
11868 (picochip-*-*): Set tmake_file.
11869 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
11871 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11872 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11873 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
11874 (xtensa*-*-elf*): Set tmake_file.
11875 (xtensa*-*-linux*): Likewise.
11876 * configure.ac: Include ../config/unwind_ipinfo.m4.
11877 Call GCC_CHECK_UNWIND_GETIPINFO.
11878 Link unwind.h to $unwind_header.
11879 * configure: Regenerate.
11880 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
11881 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
11882 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
11883 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
11884 * config/unwind-dw2-fde-darwin.c: New file.
11885 * config/arm/libunwind.S, config/arm/pr-support.c,
11886 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
11887 config/arm/unwind-arm.h,: New files.
11888 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
11889 config/ia64/t-eh-ia64, config/ia64/t-glibc,
11890 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
11891 config/ia64/t-vms, config/ia64/unwind-ia64.c,
11892 config/ia64/unwind-ia64.h: New files.
11893 * config/picochip/t-picochip: New file.
11894 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
11896 * config/rs6000/t-darwin (LIB2ADDEH): Set.
11897 * config/s390/t-tpf (LIB2ADDEH): Remove.
11898 * config/t-darwin (LIB2ADDEH): Set.
11899 * config/t-eh-dw2-dip: New file.
11900 * config/t-libunwind, config/t-libunwind-elf: New files.
11901 * config/t-sol2 (LIB2ADDEH): Remove.
11902 * config/xtensa/t-xtensa: New file.
11904 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
11906 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
11907 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
11908 long long to check rt_sigreturn syscall.
11910 2011-08-02 Alan Modra <amodra@gmail.com>
11912 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11913 Restore for indirect call bcrtl from correct stack slot, and only
11914 if cfa+40 isn't valid.
11916 2011-08-01 Julian Brown <julian@codesourcery.com>
11918 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
11919 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
11920 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
11922 2011-08-01 Julian Brown <julian@codesourcery.com>
11924 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
11925 (libgcc-std.ver.in): Use above.
11926 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
11927 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
11929 * config/t-fixedpoint-gnu-prefix: New file.
11930 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
11931 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
11932 instead of __PFX__.
11934 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
11936 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
11937 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
11938 for x86-64. Properly check __x86_64__ and __LP64__.
11940 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
11942 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
11944 (_FP_WS_TYPE): Likewise.
11945 (_FP_I_TYPE): Likewise.
11947 2011-07-28 Alan Modra <amodra@gmail.com>
11949 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11950 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
11951 in a plt call stub. Do restore r2 if stopped on bctrl.
11953 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11955 * config.host (i[3456x]86-*-netware*): Remove.
11956 * config/i386/netware-crt0.c, config/i386/t-nwld,
11957 config/i386/t-slibgcc-nwld: Remove.
11959 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
11961 * config.host: Handle tic6x-*-*.
11962 * config/c6x/c6x-abi.h: New file.
11964 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11966 * config/i386/crtprec.c: New file.
11967 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
11968 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
11969 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
11970 (x86_64-*-darwin*): Likewise.
11971 (i[34567]86-*-solaris2*: Likewise.
11973 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11975 * config/alpha/crtfastmath.c: New file.
11976 * config/i386/crtfastmath.c: New file.
11977 * config/ia64/crtfastmath.c: New file.
11978 * config/mips/crtfastmath.c: New file.
11979 * config/sparc/crtfastmath.c: New file.
11981 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
11983 Add -frandom-seed=gcc-crtfastmath.
11984 * config/alpha/t-crtfm: Remove.
11985 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
11986 * config/ia64/t-ia64 (crtfastmath.o): Remove.
11988 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
11989 (alpha*-dec-osf5.1*): Likewise.
11990 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
11991 Add crtfastmath.o to extra_parts.
11992 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
11993 Add crtfastmath.o to extra_parts.
11994 (x86_64-*-darwin*): Likewise.
11995 (x86_64-*-mingw*): Likewise.
11996 (ia64*-*-elf*): Add t-crtfm to tmake_file.
11997 (ia64*-*-freebsd*): Likewise.
11998 (ia64*-*-linux*): Likewise.
11999 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
12000 Add crtfastmath.o to extra_parts.
12002 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12004 * config/darwin-crt3.o: New file.
12005 * config/rs6000/darwin-crt2.c: New file.
12006 * config/t-darwin: New file.
12007 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
12008 (crt2.o): New rule.
12009 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
12010 (powerpc-*-darwin*): Add crt2.o to extra_parts.
12011 (powerpc64-*-darwin*): Likewise.
12013 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12015 * config/i386/netware-crt0.c: New file.
12016 * config/i386/t-nwld: Rename to ...
12017 * config/i386/t-slibgcc-nwld: ... this.
12018 * config/i386/t-nwld: New file.
12019 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
12021 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
12024 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12026 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
12028 * configure: Regenerate.
12030 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12032 * dfp-bit.c, dfp-bit.h: New files.
12033 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
12035 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
12036 ($(d64pbit-o)): Likewise.
12037 ($(d128pbit-o)): Likewise.
12038 * config/t-dfprules: New file.
12039 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
12040 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
12041 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
12042 (x86_64-*-linux*): Likewise.
12043 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
12044 (i[34567]86-*-cygwin*): Likewise.
12045 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
12046 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
12048 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12050 * Makfile.in (LIBGCOV): New variable.
12051 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
12052 * libgcov.c: New file.
12054 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12056 * fixed-bit.c, fixed-bit.h: New files.
12057 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
12058 refer to fixed-bit.c.
12060 2011-07-07 Joseph Myers <joseph@codesourcery.com>
12062 * config.host (*local*): Remove.
12064 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12067 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
12068 like i?86-*-solaris2.1[0-9]*.
12069 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
12070 * configure.ac (i?86-*-solaris2*): Likewise.
12071 * configure: Regenerate.
12073 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
12075 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
12076 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
12077 md_unwind_header by splitting out of...
12078 (i[34567]86-*-linux*): ... this.
12079 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
12080 Remove md_unwind_header by splitting out of...
12081 (x86_64-*-linux*): ... this.
12083 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
12085 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
12087 2011-06-28 Nick Clifton <nickc@redhat.com>
12089 * config.host: Recognize all V850 variants.
12091 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
12093 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
12095 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12097 * shared-object.mk (c_flags-$o): Save c_flags.
12098 ($(base)$(objext)): Use it.
12099 ($(base)_s$(objext)): Likewise.
12101 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
12103 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
12104 * libgcc-std.ver.in (GCC_4.7.0): New section.
12106 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
12110 * config/avr/t-avr: Fix line endings.
12111 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
12114 2011-06-14 Olivier Hainque <hainque@adacore.com>
12115 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12117 * config/mips/irix6-unwind.h: New file.
12118 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
12120 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
12122 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
12123 (sparc64_fallback_frame_state): Use it.
12124 (sparc64_frob_update_context): Further adjust context.
12125 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
12126 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
12127 * config/sparc/sol2-cn.S: Likewise.
12129 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12131 * enable-execute-stack-empty.c: New file.
12132 * enable-execute-stack-mprotect.c: New file.
12133 * config/i386/enable-execute-stack-mingw32.c: New file.
12134 * config.host (enable_execute_stack): New variable.
12135 Select appropriate variants.
12136 * configure.ac: Link enable-execute-stack.c to
12137 $enable_execute_stack.
12138 * configure: Regenerate.
12139 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
12140 (lib2funcs): Remove _enable_execute_stack.
12142 2011-06-09 David S. Miller <davem@davemloft.net>
12143 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12145 * config.host (sparc-*-linux*): Correct md_unwind_header
12147 (s390x-ibm-tpf*): Fix typo.
12149 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12151 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
12152 Add crtfastmath.o to extra_parts.
12153 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
12155 * config/mips/t-crtfm: Remove.
12157 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
12159 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
12161 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
12163 * config.host (sh*-*-linux*): Fix typo.
12165 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12167 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
12168 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
12169 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
12170 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
12171 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
12172 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
12173 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
12174 Wrap in !__MINGW64__.
12175 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
12176 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
12177 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
12178 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
12179 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
12180 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
12181 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
12183 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
12184 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
12185 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
12186 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
12187 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
12188 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
12189 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
12190 * config/no-unwind.h: New file.
12191 * config.host (md_unwind_header): Document.
12193 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
12194 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
12195 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
12196 hppa[12]*-*-hpux11*): Set md_unwind_header.
12197 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
12198 Set md_unwind_header.
12199 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
12200 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
12201 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
12202 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
12203 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
12204 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
12205 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
12207 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
12208 * configure: Regenerate.
12210 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12212 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
12213 Set tmake_file, extra_parts.
12214 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
12215 Remove O32 support.
12216 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
12217 Remove O32 support.
12218 * config/mips/t-irix6: New file.
12219 * config/mips/t-slibgcc-irix: New file.
12221 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12223 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
12224 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
12226 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12228 * configure.ac (target_thread_file): Determine thread model.
12229 * configure: Regenerate.
12230 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
12231 * config/alpha/t-alpha: New file.
12232 * config/alpha/t-crtfm: Use $<.
12233 * config/alpha/t-ieee: New file.
12234 * config/alpha/t-osf-pthread: New file.
12235 * config/alpha/t-slibgcc-osf: New file.
12236 * config/alpha/libgcc-osf5.ver: New file.
12238 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12240 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
12242 Add crtfastmath.o to extra_parts.
12244 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12246 * config/gmon-sol2.c: Reindent.
12248 Remove, correct casts.
12249 Use STDERR_FILENO, NULL.
12250 (BASEADDRESS): Remove.
12252 (errno, sbrk): Remove declarations.
12253 (monstartup) [hp300]: Remove.
12256 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12258 * Makefile.in (cpu_type): Define.
12259 * config.host (i[34567]86-*-rtems*): Handle it.
12260 (i[34567]86-*-solaris2*): Move body ...
12261 (*-*-solaris2*): ... here.
12262 New case, generalize.
12263 (sparc-*-elf*): Handle it.
12264 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
12265 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
12266 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
12268 (sparc*-*-solaris2*): ... this.
12270 (sparc64-*-elf*): Handle it.
12271 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
12272 Merge ../gcc/config/i386/gmon-sol2.c.
12273 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
12275 Merge ../gcc/config/i386/sol2-gc1.asm.
12276 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
12278 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
12280 * config/i386/t-crtfm (crtfastmath.o): Use $<.
12281 * config/i386/t-crtstuff: New file.
12282 * config/i386/t-softfp: New file.
12283 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
12284 $(T)crti.o, $(T)crtn.o): Remove.
12285 (gcrt1.o): New rule.
12286 (TARGET_LIBGCC2_CFLAGS): Remove.
12287 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
12288 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
12289 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
12290 * config/sparc/t-sol2: New file.
12291 * config/sparc/t-crtfm: Move to ...
12292 * config/t-crtfm: ... this.
12293 Use $(cpu_type), $<.
12294 * config/t-crtin: New file.
12295 * config/sparc/t-softfp: New file.
12296 * config/sparc/t-softmul: New file.
12297 * config/t-rtems: New file.
12298 * config/t-slibgcc: New file.
12299 * config/t-slibgcc-elf-ver: New file.
12300 * config/t-slibgcc-gld: New file.
12301 * config/t-slibgcc-sld: New file.
12302 * config/t-sol2: New file.
12303 * configure.ac: Include ../config/lib-ld.m4.
12304 Call AC_LIB_PROG_LD_GNU.
12305 Substitute cpu_type.
12306 * configure: Regenerate.
12308 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
12311 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
12312 libgcc-std.ver in the build directory.
12313 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
12314 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
12316 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
12318 * libgcc-std.ver.in: New file.
12319 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
12321 (libgcc-std.ver): New rule.
12322 * config/t-gnu-prefix: New file.
12324 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12326 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
12328 2011-05-10 Joseph Myers <joseph@codesourcery.com>
12330 * config/i386/darwin-lib.h: New file.
12332 2011-05-10 Joseph Myers <joseph@codesourcery.com>
12334 * config/arm/symbian-lib.h: New.
12336 2011-05-04 Chris Demetriou <cgd@google.com>
12338 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
12339 (__x86.get_pc_thunk.bx): ...this.
12340 (__morestack): Adjust for rename, remove undef of __i686.
12342 2011-05-03 Chris Demetriou <cgd@google.com>
12344 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
12346 2011-03-22 Joseph Myers <joseph@codesourcery.com>
12348 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
12349 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
12350 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
12351 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
12352 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
12355 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
12357 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
12358 Adjust copyright year.
12360 2011-03-07 Ian Lance Taylor <iant@google.com>
12362 * generic-morestack.c (__splitstack_find): Adjust returned stack
12363 pointer to include all registers pushed by __morestack.
12365 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
12368 * configure.ac: Call ACX_NONCANONICAL_TARGET.
12369 (toolexecdir): Calculate and AC_SUBST.
12370 (toolexeclibdir): Likewise.
12371 * Makefile.in (target_noncanonical): Import.
12372 (toolexecdir): Likewise.
12373 (toolexeclibdir): Likewise.
12374 * configure: Regenerate.
12376 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
12379 * config/arm/bpabi.h: Rename to...
12380 * config/arm/bpabi-lib.h: ...this.
12382 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12384 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
12386 * configure: Regenerate.
12388 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
12390 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
12391 __FLOAT_WORD_ORDER__.
12392 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
12395 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12398 * Makefile.in (install-strip): New phony target.
12400 2010-11-07 Ian Lance Taylor <iant@google.com>
12403 * config/i386/morestack.S (__morestack_large_model): New
12406 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
12408 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
12410 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
12412 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
12414 * config/arm/bpabi.h: New file.
12415 * config/frv/frv-abi.h: New file.
12417 2010-10-01 Ian Lance Taylor <iant@google.com>
12419 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
12420 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
12422 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
12425 * config.host: Add the missing `$'.
12427 2010-09-30 Michael Eager <eager@eagercon.com>
12429 * config.host: Add microblaze*-*-*.
12430 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
12431 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
12432 udivsi3.asm,umodsi3.asm}: New.
12434 2010-09-28 Ian Lance Taylor <iant@google.com>
12436 * configure.ac: Adjust CFI test to test assembler directly rather
12437 than checking gcc preprocessor macro.
12438 * configure: Rebuild.
12440 2010-09-27 Ian Lance Taylor <iant@google.com>
12442 * configure.ac: Test whether assembler supports CFI directives.
12443 * config.host: Only add t-stack and i386/t-stack-i386 to
12444 tmake_file if libgcc_cv_cfi is "yes".
12445 * configure: Rebuild.
12447 2010-09-27 Ian Lance Taylor <iant@google.com>
12449 * generic-morestack.h: New file.
12450 * generic-morestack.c: New file.
12451 * generic-morestack-thread.c: New file.
12452 * config/i386/morestack.S: New file.
12453 * config/t-stack: New file.
12454 * config/i386/t-stack-i386: New file.
12455 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
12456 i386/t-stack-i386 to tmake_file.
12458 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
12460 * Makefile.in (libgcc-extra-parts): Check for static archives and
12461 invoke ranlib after installing them.
12462 (gcc-extra-parts): Likewise.
12463 (install-leaf): Likewise.
12465 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
12467 * configure: Regenerated.
12469 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
12471 * configure: Regenerated.
12473 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
12474 Andrew Pinski <pinskia@gmail.com>
12477 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
12479 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
12482 * configure: Regenerated.
12484 2010-09-06 Andreas Schwab <schwab@redhat.com>
12486 * configure: Regenerate.
12488 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
12490 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
12492 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
12495 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
12496 Iain Sandoe <iains@gcc.gnu.org>
12499 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
12500 LIB2FUNCS_EXCLUDE functions.
12502 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12504 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
12506 * configure: Regenerate.
12508 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
12510 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
12511 i386/t-freebsd to tmake_file.
12512 * config/i386/t-freebsd: New file.
12513 * config/i386/libgcc-bsd.ver: New file.
12515 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
12517 * config.host (powerpc*-eabispe*): Set tmake_file.
12518 (powerpc*-eabi*): Likewise.
12519 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
12520 crtbeginS, crtendS, crtbeginT.
12522 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
12524 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
12525 to tmake_file. Add crtfastmath.o to extra_parts.
12526 * config/mips/t-crtfm: New.
12528 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
12530 * config.host (sparc64-*-rtems*): New target.
12532 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12534 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12537 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
12539 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12541 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12543 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12544 alpha-dec-osf5.0* support.
12546 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
12548 * config.host: Add lm32-*-rtems*.
12550 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12551 Uros Bizjak <ubizjak@gmail.com>
12554 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12555 like other remaining 32-bit x86 OSes.
12556 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12558 * config/i386/libgcc-sol2.ver: New file.
12559 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12561 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
12564 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12565 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12566 is used and substitute set_use_emutls.
12567 * configure: Regenerated.
12569 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
12571 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12573 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12576 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12578 ($(T)gcrt1.o): Likewise.
12579 ($(T)crt1.o): Likewise.
12580 ($(T)crti.o): Likewise.
12581 ($(T)crtn.o): Likewise.
12583 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12586 * Makefile.in (install): Use $(MAKE) string in rule, for
12589 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
12591 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12592 * config/mmix/t-mmix: New file.
12593 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12595 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
12598 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12601 2010-01-04 Anthony Green <green@moxielogic.com>
12603 * config/moxie/crti.asm, config/moxie/crtn.asm,
12604 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12605 config/moxie/t-moxie: New files.
12606 * config.host: Add t-moxie-softfp reference.
12608 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
12611 * config/t-slibgcc-darwin: Fix embedded rpaths for
12612 --enable-version-specific-runtime-libs, build extension stub
12613 libs exposing features available from current libgcc_s.
12615 2009-11-11 Jon Beniston <jon@beniston.com>
12617 * config.host: Add lm32 targets.
12618 * config/lm32: New directory.
12619 * config/lm32/libgcc_lm32.h: New file.
12620 * config/lm32/_mulsi3.c: New file.
12621 * config/lm32/_udivmodsi4.c: New file.
12622 * config/lm32/_divsi3.c: New file.
12623 * config/lm32/_modsi3.c: New file.
12624 * config/lm32/_udivsi3.c: New file.
12625 * config/lm32/_umodsi3.c: New file.
12626 * config/lm32/_lshrsi3.S: New file.
12627 * config/lm32/_ashrsi3.S: New file.
12628 * config/lm32/_ashlsi3.S: New file.
12629 * config/lm32/crti.S: New file.
12630 * config/lm32/crtn.S: New file.
12631 * config/lm32/t-lm32: New file.
12632 * config/lm32/t-elf: New file.
12633 * config/lm32/t-uclinux: New file.
12635 2009-10-26 Nick Clifton <nickc@redhat.com>
12637 * config.host: Add support for RX target.
12638 * config/rx: New directory.
12639 * config/rx/rx-abi-functions.c: New file. Supplementary
12640 functions for libgcc to support the RX ABI.
12641 * config/rx/rx-abi.h: New file. Supplementary header file for
12642 libgcc RX ABI functions.
12643 * config/rx/t-rx: New file: Makefile fragment for building
12646 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
12648 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12649 constraint of y0 to "g".
12651 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12653 * config.host: Include the s390 makefile fragments.
12654 * config/s390/32/_fixdfdi.c: New file.
12655 * config/s390/32/_fixsfdi.c: New file.
12656 * config/s390/32/_fixtfdi.c: New file.
12657 * config/s390/32/_fixunsdfdi.c: New file.
12658 * config/s390/32/_fixunssfdi.c: New file.
12659 * config/s390/32/_fixunstfdi.c: New file.
12660 * config/s390/32/t-floattodi: New file.
12661 * config/s390/libgcc-glibc.ver: New file.
12662 * config/s390/t-crtstuff: New file.
12663 * config/s390/t-linux: New file.
12664 * config/s390/t-tpf: New file.
12666 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12668 * configure.ac (AC_PREREQ): Bump to 2.64.
12670 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
12672 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12674 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12676 * configure: Regenerate.
12678 2009-08-09 Douglas B Rupp <rupp@gnat.com>
12680 * config.host (ia64-hp-*vms*): New target.
12681 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12682 with ia64-hp-*vms*.
12684 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12686 * configure.ac: Add snippet for maintainer-mode.
12687 * configure: Regenerate.
12688 * Makefile.in (AUTOCONF, configure_deps): New variables.
12689 ($(srcdir)/configure)): New rule, active only with maintainer
12692 2009-06-23 DJ Delorie <dj@redhat.com>
12695 * config.host: Add mep support.
12697 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
12699 * config.host: Add i386/${host_address}/t-fprules-softfp and
12700 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
12702 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12704 * config/i386/64/_multc3.c: Likewise.
12705 * config/i386/64/_powitf2.c: Likewise.
12706 * config/i386/64/eqtf2.c: Likewise.
12707 * config/i386/64/getf2.c: Likewise.
12708 * config/i386/64/letf2.c: Likewise.
12709 * config/i386/64/letf2.c: Likewise.
12710 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12711 unsigned long long for x64 mingw targets.
12712 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12713 (_FP_I_TYPE): Define as long long for x64 mingw target.
12715 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
12717 * config.host (vax-*-linux*): New.
12719 2009-05-31 Anthony Green <green@moxielogic.com>
12721 * config.host: Add moxie support.
12722 * config/moxie/t-moxie: New file.
12724 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
12726 * config.host: Add i386/${host_address}/t-fprules-softfp and
12727 t-softfp to tmake_file for i[34567]86-*-cygwin*.
12729 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
12731 * config.host: Add i386/${host_address}/t-fprules-softfp to
12732 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12734 2009-04-09 Nick Clifton <nickc@redhat.com>
12736 * config/ia64/tf-signs.c: Change copyright header to refer to
12737 version 3 of the GNU General Public License with version 3.1
12738 of the GCC Runtime Library Exception and to point readers at
12739 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12741 * config/i386/32/tf-signs.c: Likewise.
12742 * config/libbid/_addsub_dd.c: Likewise.
12743 * config/libbid/_addsub_sd.c: Likewise.
12744 * config/libbid/_addsub_td.c: Likewise.
12745 * config/libbid/_dd_to_df.c: Likewise.
12746 * config/libbid/_dd_to_di.c: Likewise.
12747 * config/libbid/_dd_to_sd.c: Likewise.
12748 * config/libbid/_dd_to_sf.c: Likewise.
12749 * config/libbid/_dd_to_si.c: Likewise.
12750 * config/libbid/_dd_to_td.c: Likewise.
12751 * config/libbid/_dd_to_tf.c: Likewise.
12752 * config/libbid/_dd_to_udi.c: Likewise.
12753 * config/libbid/_dd_to_usi.c: Likewise.
12754 * config/libbid/_dd_to_xf.c: Likewise.
12755 * config/libbid/_df_to_dd.c: Likewise.
12756 * config/libbid/_df_to_sd.c: Likewise.
12757 * config/libbid/_df_to_td.c: Likewise.
12758 * config/libbid/_di_to_dd.c: Likewise.
12759 * config/libbid/_di_to_sd.c: Likewise.
12760 * config/libbid/_di_to_td.c: Likewise.
12761 * config/libbid/_div_dd.c: Likewise.
12762 * config/libbid/_div_sd.c: Likewise.
12763 * config/libbid/_div_td.c: Likewise.
12764 * config/libbid/_eq_dd.c: Likewise.
12765 * config/libbid/_eq_sd.c: Likewise.
12766 * config/libbid/_eq_td.c: Likewise.
12767 * config/libbid/_ge_dd.c: Likewise.
12768 * config/libbid/_ge_sd.c: Likewise.
12769 * config/libbid/_ge_td.c: Likewise.
12770 * config/libbid/_gt_dd.c: Likewise.
12771 * config/libbid/_gt_sd.c: Likewise.
12772 * config/libbid/_gt_td.c: Likewise.
12773 * config/libbid/_isinfd128.c: Likewise.
12774 * config/libbid/_isinfd32.c: Likewise.
12775 * config/libbid/_isinfd64.c: Likewise.
12776 * config/libbid/_le_dd.c: Likewise.
12777 * config/libbid/_le_sd.c: Likewise.
12778 * config/libbid/_le_td.c: Likewise.
12779 * config/libbid/_lt_dd.c: Likewise.
12780 * config/libbid/_lt_sd.c: Likewise.
12781 * config/libbid/_lt_td.c: Likewise.
12782 * config/libbid/_mul_dd.c: Likewise.
12783 * config/libbid/_mul_sd.c: Likewise.
12784 * config/libbid/_mul_td.c: Likewise.
12785 * config/libbid/_ne_dd.c: Likewise.
12786 * config/libbid/_ne_sd.c: Likewise.
12787 * config/libbid/_ne_td.c: Likewise.
12788 * config/libbid/_sd_to_dd.c: Likewise.
12789 * config/libbid/_sd_to_df.c: Likewise.
12790 * config/libbid/_sd_to_di.c: Likewise.
12791 * config/libbid/_sd_to_sf.c: Likewise.
12792 * config/libbid/_sd_to_si.c: Likewise.
12793 * config/libbid/_sd_to_td.c: Likewise.
12794 * config/libbid/_sd_to_tf.c: Likewise.
12795 * config/libbid/_sd_to_udi.c: Likewise.
12796 * config/libbid/_sd_to_usi.c: Likewise.
12797 * config/libbid/_sd_to_xf.c: Likewise.
12798 * config/libbid/_sf_to_dd.c: Likewise.
12799 * config/libbid/_sf_to_sd.c: Likewise.
12800 * config/libbid/_sf_to_td.c: Likewise.
12801 * config/libbid/_si_to_dd.c: Likewise.
12802 * config/libbid/_si_to_sd.c: Likewise.
12803 * config/libbid/_si_to_td.c: Likewise.
12804 * config/libbid/_td_to_dd.c: Likewise.
12805 * config/libbid/_td_to_df.c: Likewise.
12806 * config/libbid/_td_to_di.c: Likewise.
12807 * config/libbid/_td_to_sd.c: Likewise.
12808 * config/libbid/_td_to_sf.c: Likewise.
12809 * config/libbid/_td_to_si.c: Likewise.
12810 * config/libbid/_td_to_tf.c: Likewise.
12811 * config/libbid/_td_to_udi.c: Likewise.
12812 * config/libbid/_td_to_usi.c: Likewise.
12813 * config/libbid/_td_to_xf.c: Likewise.
12814 * config/libbid/_tf_to_dd.c: Likewise.
12815 * config/libbid/_tf_to_sd.c: Likewise.
12816 * config/libbid/_tf_to_td.c: Likewise.
12817 * config/libbid/_udi_to_dd.c: Likewise.
12818 * config/libbid/_udi_to_sd.c: Likewise.
12819 * config/libbid/_udi_to_td.c: Likewise.
12820 * config/libbid/_unord_dd.c: Likewise.
12821 * config/libbid/_unord_sd.c: Likewise.
12822 * config/libbid/_unord_td.c: Likewise.
12823 * config/libbid/_usi_to_dd.c: Likewise.
12824 * config/libbid/_usi_to_sd.c: Likewise.
12825 * config/libbid/_usi_to_td.c: Likewise.
12826 * config/libbid/_xf_to_dd.c: Likewise.
12827 * config/libbid/_xf_to_sd.c: Likewise.
12828 * config/libbid/_xf_to_td.c: Likewise.
12829 * config/libbid/bid128.c: Likewise.
12830 * config/libbid/bid128_2_str.h: Likewise.
12831 * config/libbid/bid128_2_str_macros.h: Likewise.
12832 * config/libbid/bid128_2_str_tables.c: Likewise.
12833 * config/libbid/bid128_add.c: Likewise.
12834 * config/libbid/bid128_compare.c: Likewise.
12835 * config/libbid/bid128_div.c: Likewise.
12836 * config/libbid/bid128_fma.c: Likewise.
12837 * config/libbid/bid128_logb.c: Likewise.
12838 * config/libbid/bid128_minmax.c: Likewise.
12839 * config/libbid/bid128_mul.c: Likewise.
12840 * config/libbid/bid128_next.c: Likewise.
12841 * config/libbid/bid128_noncomp.c: Likewise.
12842 * config/libbid/bid128_quantize.c: Likewise.
12843 * config/libbid/bid128_rem.c: Likewise.
12844 * config/libbid/bid128_round_integral.c: Likewise.
12845 * config/libbid/bid128_scalb.c: Likewise.
12846 * config/libbid/bid128_sqrt.c: Likewise.
12847 * config/libbid/bid128_string.c: Likewise.
12848 * config/libbid/bid128_to_int16.c: Likewise.
12849 * config/libbid/bid128_to_int32.c: Likewise.
12850 * config/libbid/bid128_to_int64.c: Likewise.
12851 * config/libbid/bid128_to_int8.c: Likewise.
12852 * config/libbid/bid128_to_uint16.c: Likewise.
12853 * config/libbid/bid128_to_uint32.c: Likewise.
12854 * config/libbid/bid128_to_uint64.c: Likewise.
12855 * config/libbid/bid128_to_uint8.c: Likewise.
12856 * config/libbid/bid32_to_bid128.c: Likewise.
12857 * config/libbid/bid32_to_bid64.c: Likewise.
12858 * config/libbid/bid64_add.c: Likewise.
12859 * config/libbid/bid64_compare.c: Likewise.
12860 * config/libbid/bid64_div.c: Likewise.
12861 * config/libbid/bid64_fma.c: Likewise.
12862 * config/libbid/bid64_logb.c: Likewise.
12863 * config/libbid/bid64_minmax.c: Likewise.
12864 * config/libbid/bid64_mul.c: Likewise.
12865 * config/libbid/bid64_next.c: Likewise.
12866 * config/libbid/bid64_noncomp.c: Likewise.
12867 * config/libbid/bid64_quantize.c: Likewise.
12868 * config/libbid/bid64_rem.c: Likewise.
12869 * config/libbid/bid64_round_integral.c: Likewise.
12870 * config/libbid/bid64_scalb.c: Likewise.
12871 * config/libbid/bid64_sqrt.c: Likewise.
12872 * config/libbid/bid64_string.c: Likewise.
12873 * config/libbid/bid64_to_bid128.c: Likewise.
12874 * config/libbid/bid64_to_int16.c: Likewise.
12875 * config/libbid/bid64_to_int32.c: Likewise.
12876 * config/libbid/bid64_to_int64.c: Likewise.
12877 * config/libbid/bid64_to_int8.c: Likewise.
12878 * config/libbid/bid64_to_uint16.c: Likewise.
12879 * config/libbid/bid64_to_uint32.c: Likewise.
12880 * config/libbid/bid64_to_uint64.c: Likewise.
12881 * config/libbid/bid64_to_uint8.c: Likewise.
12882 * config/libbid/bid_b2d.h: Likewise.
12883 * config/libbid/bid_binarydecimal.c: Likewise.
12884 * config/libbid/bid_conf.h: Likewise.
12885 * config/libbid/bid_convert_data.c: Likewise.
12886 * config/libbid/bid_decimal_data.c: Likewise.
12887 * config/libbid/bid_decimal_globals.c: Likewise.
12888 * config/libbid/bid_div_macros.h: Likewise.
12889 * config/libbid/bid_dpd.c: Likewise.
12890 * config/libbid/bid_flag_operations.c: Likewise.
12891 * config/libbid/bid_from_int.c: Likewise.
12892 * config/libbid/bid_functions.h: Likewise.
12893 * config/libbid/bid_gcc_intrinsics.h: Likewise.
12894 * config/libbid/bid_inline_add.h: Likewise.
12895 * config/libbid/bid_internal.h: Likewise.
12896 * config/libbid/bid_round.c: Likewise.
12897 * config/libbid/bid_sqrt_macros.h: Likewise.
12899 2009-04-09 Jakub Jelinek <jakub@redhat.com>
12901 * Makefile.in: Change copyright header to refer to version
12902 3 of the GNU General Public License and to point readers at the
12903 COPYING3 file and the FSF's license web page.
12904 * config.host: Likewise.
12906 2009-04-07 Alan Modra <amodra@bigpond.net.au>
12908 * config.host: Reorder and merge to match config.gcc change.
12910 2009-04-03 Alan Modra <amodra@bigpond.net.au>
12912 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
12914 2009-03-28 Joseph Myers <joseph@codesourcery.com>
12916 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
12917 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
12918 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
12919 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
12921 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
12923 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
12924 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12926 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
12928 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
12929 ia64/t-softfp-compat to tmake_file.
12931 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
12933 * config/ia64/__divxf3.asm: New.
12934 * config/ia64/_fixtfdi.asm: Likewise.
12935 * config/ia64/_fixunstfdi.asm: Likewise.
12936 * config/ia64/_floatditf.asm: Likewise.
12937 * config/ia64/t-fprules-softfp: Likewise.
12938 * config/ia64/t-softfp-compat: Likewise.
12939 * config/ia64/tf-signs.c: Likewise.
12941 2009-01-18 Ben Elliston <bje@au.ibm.com>
12943 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12945 2009-01-16 Ben Elliston <bje@au.ibm.com>
12947 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
12950 2009-01-13 Ben Elliston <bje@au.ibm.com>
12952 * config/t-softfp: New file.
12953 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
12954 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
12956 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
12958 * config.host: Add m32r*-*-rtems*.
12960 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
12962 * config.host: Add m32c*-*-rtems*.
12964 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12967 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
12968 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
12969 * configure: Regenerate.
12970 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
12971 tmake_file here from gcc/config.gcc.
12972 Move extra_parts here from gcc/config.gcc.
12973 * config/i386/t-sol2: Move here from gcc/config/i386.
12974 Use gcc_srcdir instead of srcdir.
12976 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
12978 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
12981 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
12983 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
12985 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
12987 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
12989 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
12992 * config.host: Add picochip-*-*.
12994 2008-08-06 Bob Wilson <bob.wilson@acm.org>
12996 * config.host: Match more processor names for Xtensa.
12998 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
13000 * config/i386/64/t-softfp-compat: Update comments.
13002 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
13004 * config/i386/64/_divtc3-compat.c: Moved to ...
13005 * config/i386/64/_divtc3.c: Here.
13007 * config/i386/64/_multc3-compat.c: Moved to ...
13008 * config/i386/64/_multc3.c: Here.
13010 * config/i386/64/_powitf2-compat.c: Moved to ...
13011 * config/i386/64/_powitf2.c: Here.
13013 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
13014 .c suffix instead of -compat.c.
13016 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
13018 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
13019 (_FP_MUL_MEAT_D): Ditto.
13020 (_FP_DIV_MEAT_S): Ditto.
13021 (_FP_DIV_MEAT_D): Ditto.
13023 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
13025 * Makefile.in: Add support for __sync_* libgcc functions.
13027 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
13029 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
13031 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
13034 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
13035 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
13037 * config/i386/64/t-fprules-softfp: Moved to ...
13038 * config/i386/64/t-softfp-compat: This. New.
13040 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
13042 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
13043 Initialize f with 0.0.
13045 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
13048 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
13050 * config/i386/64/_divtc3-compat.c: New.
13051 * config/i386/64/_multc3-compat.c: Likewise.
13052 * config/i386/64/_powitf2-compat.c: Likewise.
13053 * config/i386/64/eqtf2.c: Likewise.
13054 * config/i386/64/getf2.c: Likewise.
13055 * config/i386/64/letf2.c: Likewise.
13056 * config/i386/64/t-fprules-softfp: Likewise.
13058 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
13060 * config.host: Add i386/${host_address}/t-fprules-softfp to
13061 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
13062 i[34567]86-*-linux*, x86_64-*-linux*.
13064 * configure.ac: Set host_address to 64 or 32 for x86.
13065 * configure: Regenerated.
13067 * Makefile.in (config.status): Also depend on
13068 $(srcdir)/config.host.
13070 * config/i386/32/t-fprules-softfp: New.
13071 * config/i386/32/tf-signs.c: Likewise.
13073 * config/i386/64/sfp-machine.h: New. Moved from gcc.
13075 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
13076 Uros Bizjak <ubizjak@gmail.com>
13078 * config/i386/32/sfp-machine.h: New.
13080 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
13082 * config/rs6000/t-ppccomm: Remove rules that conflict with
13083 auto-generated rules.
13085 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13087 * configure.ac: sinclude override.m4.
13088 * configure: Regenerate.
13090 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
13092 * configure: Regenerate.
13094 2008-06-10 Joseph Myers <joseph@codesourcery.com>
13096 * Makefile.in (DECNUMINC): Remove
13097 -I$(MULTIBUILDTOP)../../libdecnumber.
13100 2008-06-07 Joseph Myers <joseph@codesourcery.com>
13102 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
13103 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
13104 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
13105 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
13106 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
13107 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
13108 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
13109 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
13110 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
13111 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
13112 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
13113 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
13114 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
13115 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
13117 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
13119 * config.host (sh2[lbe]*-*-linux*): Allow target.
13121 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
13123 * config/rs6000/t-ppccomm: Add build rules for new files.
13124 (LIB2ADD_ST): New variable.
13126 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
13130 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
13131 * config/t-avr: New file. Build 16bit libgcc functions.
13133 2008-03-02 Jakub Jelinek <jakub@redhat.com>
13136 * config/t-slibgcc-darwin: Make install-leaf dependent on
13137 install-darwin-libgcc-stubs instead of install.
13139 2008-01-25 Joseph Myers <joseph@codesourcery.com>
13141 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
13142 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
13143 sh-*-rtemscoff*): Remove cases.
13145 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
13147 * Makefile.in (all): Use install-leaf rather than install.
13148 (install): Split most of the rule into...
13149 (install-leaf): ...this new one.
13151 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
13152 Paolo Bonzini <bonzini@gnu.org>
13155 * Makefile.in: Use @shlib_slibdir@ substitution to get
13156 correct install name on darwin.
13157 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
13159 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
13161 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
13162 cris-*-elf and cris-*-none.
13163 (crisv32-*-linux*): Similar, as cris-*-linux*.
13165 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
13167 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
13169 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
13171 PR regression/33926
13172 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
13173 * configure: Regenerated.
13175 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
13177 * Makefile.in (dfp-filenames): Replace decimal_globals,
13178 decimal_data, binarydecimal and convert_data with
13179 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
13180 and bid_convert_data, respectively.
13182 2007-09-17 Chao-ying Fu <fu@mips.com>
13183 Nigel Stephens <nigel@mips.com>
13185 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
13186 * Makefile.in (fixed_point): Define.
13187 Check if fixed_point is yes to build support functions.
13188 * configure.ac: Check for fixed_point support.
13189 * configure: Regenerated.
13190 * gen-fixed.sh: New file to generate lists of fixed-point labels,
13191 funcs, modes, from, to.
13193 2007-09-11 Janis Johnson <janis187@us.ibm.com
13195 * Makefile.in (dfp-filenames): Add bid128_noncomp.
13197 2007-09-10 Janis Johnson <janis187@us.ibm.com>
13199 * Makefile.in (dfp-filenames): Remove decUtility, add
13200 decDouble, decPacked, decQuad, decSingle.
13202 2007-08-27 Hans Kester <hans.kester@ellips.nl>
13204 * config.host : Add x86_64-elf target.
13206 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
13208 * configure.ac (set_have_cc_tls): Add a missing =.
13209 * configure: Regenerated.
13211 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
13213 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
13214 and x86_64-*-linux*.
13216 * config/t-tls: New file.
13218 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
13220 * configure.ac: Include ../config/enable.m4 and
13221 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
13222 supports TLS and substitute set_have_cc_tls.
13223 * configure: Regenerated.
13225 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
13227 * Makefile.in: Use libbid for DFP when BID is enabled.
13229 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
13231 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
13232 extra_parts. Add config/i386/t-cygming to tmake_file.
13233 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
13235 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
13236 Danny Smith <dannysmith@users.sourceforge.net>
13239 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
13240 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
13241 * config/i386/t-crtfm: Compile crtfastmath.o with
13242 -minline-all-stringops.
13244 2007-05-10 Richard Sandiford <richard@codesourcery.com>
13246 * config.host (sparc-wrs-vxworks): New target.
13248 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
13250 * config.host: Recognize fido.
13252 2007-04-04 Janis Johnson <janis187@us.ibm.com>
13254 * configure: Check host, not target, for decimal float support.
13256 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
13258 * config/i386/t-crtpc: New file.
13259 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
13260 (x86_64-*-linux*): Ditto.
13262 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
13264 * config.host (x86_64-*-mingw*): New target.
13266 2007-03-23 Michael Meissner <michael.meissner@amd.com>
13267 H.J. Lu <hongjiu.lu@intel.com>
13269 * Makefile.in (enable_decimal_float): New.
13271 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
13272 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
13273 (decbits-filenames): This.
13274 (decbits-objects): New.
13275 (libgcc-objects): Add $(decbits-objects).
13277 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
13278 Substitute enable_decimal_float.
13279 * configure: Regenerated.
13281 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
13283 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
13285 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
13287 * Makefile.in (install-info): New dummy target.
13289 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
13291 * config.host (bfin*-linux-uclibc*): Set extra_parts.
13293 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
13295 * Makefile.in: Add install-html and install-pdf dummy
13298 2007-02-05 Roger Sayle <roger@eyesopen.com>
13299 Daniel Jacobowitz <dan@codesourcery.com>
13301 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
13302 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
13303 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
13305 2007-01-29 Janis Johnson <janis187@us.ibm.com>
13307 * Makefile.in (dec-filenames): Add decExcept.
13309 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
13312 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
13315 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
13317 * configure.ac: Add --enable-version-specific-runtime-libs.
13318 Correct $slibdir default.
13319 * configure: Regenerated.
13321 2007-01-23 Joseph Myers <joseph@codesourcery.com>
13323 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
13325 2007-01-21 Andrew Pinski <pinskia@gmail.com>
13328 * config.host (alpha*-*-linux*): Set extra_parts.
13330 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
13332 * config/sh/t-linux: New.
13333 * config.host (sh*-*-linux*): Set tmake_file.
13335 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
13337 * Makefile.in (install): Handle multilibs.
13339 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
13341 * Makefile.in: Added .PHONY entry for documentation targets.
13343 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
13345 * Makefile.in: Add empty info, html, dvi, pdf targets.
13347 2007-01-04 Mike Stump <mrs@apple.com>
13349 * Makefile.in (MAKEINFO): Remove.
13352 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
13354 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
13355 * configure: Regenerate.
13356 * Makefile.in (host_subdir): Substitute it.
13357 (gcc_objdir): Use it.
13359 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
13361 * config.host (ia64*-*-linux*): Set tmake_file.
13363 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
13365 * Makefile.in (version): Define.
13367 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
13368 Paolo Bonzini <bonzini@gnu.org>
13370 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
13371 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
13372 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
13373 config/sparc/t-crtfm, config/t-slibgcc-darwin,
13374 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
13375 shared-object.mk, siditi-object.mk, static-object.mk: New files.
13376 * configure: Generated.
13378 Copyright (C) 2007-2024 Free Software Foundation, Inc.
13380 Copying and distribution of this file, with or without modification,
13381 are permitted in any medium without royalty provided the copyright
13382 notice and this notice are preserved.