1 2023-12-23 Thomas Schwinge <thomas@codesourcery.com>
3 * c++-minimal/README: New.
4 * c++-minimal/guard.c: New.
5 * config/gcn/t-amdgcn (LIB2ADD): Add it.
6 * config/nvptx/t-nvptx (LIB2ADD): Likewise.
8 2023-12-20 Alexandre Oliva <oliva@adacore.com>
11 * config.host (sparc, sparc64): Enable...
12 * config/sparc/t-sparc: ... this new fragment.
14 2023-12-20 Alexandre Oliva <oliva@adacore.com>
16 * strub.c (ATTRIBUTE_NOINLINE): New.
17 (ATTRIBUTE_STRUB_CALLABLE): Add it.
18 (__strub_dummy_force_no_leaf): Drop it.
20 2023-12-16 Andrew Carlotti <andrew.carlotti@arm.com>
22 * config/aarch64/cpuinfo.c (enum CPUFeatures): Move to shared
25 2023-12-16 Andrew Carlotti <andrew.carlotti@arm.com>
26 Pavel Iliin <Pavel.Iliin@arm.com>
28 * config/aarch64/t-aarch64: Include cpuinfo.c
29 * config/aarch64/cpuinfo.c: New file
30 (__init_cpu_features_constructor) New.
31 (__init_cpu_features_resolver) New.
32 (__init_cpu_features) New.
34 2023-12-11 Lipeng Zhu <lipeng.zhu@intel.com>
36 * gthr-posix.h (__GTHREAD_RWLOCK_INIT): New macro.
37 (__gthrw): New function.
38 (__gthread_rwlock_rdlock): New function.
39 (__gthread_rwlock_tryrdlock): New function.
40 (__gthread_rwlock_wrlock): New function.
41 (__gthread_rwlock_trywrlock): New function.
42 (__gthread_rwlock_unlock): New function.
44 2023-12-08 Florian Weimer <fweimer@redhat.com>
46 * libgcov-interface.c (__gcov_fork): Use __builtin_fork instead
49 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
51 * config.in: Regenerate.
53 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
55 * config/aarch64/__arm_za_disable.S: Add hidden alias.
56 * config/aarch64/aarch64-unwind.h: Reset the SME state before
57 EH return via the _Unwind_Frames_Extra hook.
59 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
61 * config/aarch64/t-aarch64: Add sources to the build.
62 * config/aarch64/__aarch64_have_sme.c: New file.
63 * config/aarch64/__arm_sme_state.S: New file.
64 * config/aarch64/__arm_tpidr2_restore.S: New file.
65 * config/aarch64/__arm_tpidr2_save.S: New file.
66 * config/aarch64/__arm_za_disable.S: New file.
67 * config/aarch64/aarch64-asm.h: New file.
68 * config/aarch64/libgcc-sme.ver: New file.
70 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
72 * config.in: Undef HAVE___GETAUXVAL.
73 * configure: Regenerate.
74 * configure.ac: Check for __getauxval.
76 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
78 * config.in: Undef HAVE_AS_VARIANT_PCS.
79 * configure: Regenerate.
80 * configure.ac: Check for .variant_pcs.
82 2023-12-07 Alexandre Oliva <oliva@adacore.com>
84 * configure.ac: Check for strub support.
86 * Makefile.in: Compile strub.c conditionally.
88 2023-12-06 Thomas Schwinge <thomas@codesourcery.com>
89 Jakub Jelinek <jakub@redhat.com>
92 * emutls.c: Add GCC diagnostic ignored "-Wbuiltin-declaration-mismatch"
95 2023-12-06 Alexandre Oliva <oliva@adacore.com>
97 * Makefile.in (LIB2ADD): Add strub.c.
98 * libgcc2.h (__strub_enter, __strub_update, __strub_leave):
101 * libgcc-std.ver.in (__strub_enter): Add to GCC_14.0.0.
102 (__strub_update, __strub_leave): Likewise.
104 2023-12-03 Jeff Law <jlaw@ventanamicro.com>
106 * unwind-pe.h (_Unwind_gnu_Find_got): Add prototype.
108 2023-12-03 Jeff Law <jlaw@ventanamicro.com>
110 * config/rx/rx-abi-functions.c (__ltdf2, __gtdf2): Add prototype.
111 (__ledf2, __gedf2, __eqdf2, __nedf2): Likewise.
112 (__ltsf2, __gtsf2, __lesf2, __gesf2, __eqsf2, __nesf2): Likewise.
114 2023-12-03 Jeff Law <jlaw@ventanamicro.com>
116 * config/frv/frvbegin.c (atexit): Add prototype.
118 2023-12-01 Alexandre Oliva <oliva@adacore.com>
120 * libgcc-std.ver.in (__hardcfr_check): Add to GCC_14.0.0.
122 2023-12-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
125 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Honor that __LIBGCC_HAVE_LIBATOMIC is
126 always defined as either 0 or 1.
128 2023-12-01 Florian Weimer <fweimer@redhat.com>
130 * config/aarch64/linux-unwind.h
131 (aarch64_fallback_frame_state): Add cast to the expected type
134 2023-11-30 Wilco Dijkstra <wilco.dijkstra@arm.com>
137 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Execute STLXP using
138 either new value or loaded value.
140 2023-11-27 Richard Earnshaw <rearnsha@arm.com>
142 * config/arm/lib1funcs.S (__sync_synchronize): Adjust warning message.
144 2023-11-24 Richard Earnshaw <rearnsha@arm.com>
146 * config.host (arm*-*-eabi* | arm*-*-rtems*):
147 Add arm/t-sync to the makefile rules.
148 * config/arm/lib1funcs.S (__sync_synchronize_none)
149 (__sync_synchronize_cp15dmb, __sync_synchronize_dmb)
150 (__sync_synchronize): New functions.
151 * config/arm/t-sync: New file.
152 * config/arm/sync-none.specs: Likewise.
153 * config/arm/sync-dmb.specs: Likewise.
154 * config/arm/sync-cp15dmb.specs: Likewise.
156 2023-11-23 Jose E. Marchesi <jose.marchesi@oracle.com>
158 * hardcfr.c (__hardcfr_check_fail): Mark as always_inline.
160 2023-11-21 Jakub Jelinek <jakub@redhat.com>
162 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Formatting fixes.
164 2023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
166 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Always define it.
167 Set it also to 1, if __LIBGCC_HAVE_LIBATOMIC is defined.
169 2023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
172 2023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
174 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
175 (gcov_type_unsigned): Likewise.
177 2023-11-10 Keith Packard <keithp@keithp.com>
179 * config/m68k/lb1sf68.S (__adddf3): Properly check for non-zero denorm.
180 (__divdf3): Restore sign bit properly.
181 (__addsf3): Correct exponent check.
182 * config/m68k/fpgnulib.c (EXPMASK): Define.
183 (__extendsfdf2): Handle Inf and NaN properly.
184 (__truncdfsf2): Handle underflow and overflow correctly.
185 (__extenddfxf2): Handle underflow, denorms, Inf and NaN correctly.
186 (__truncxfdf2): Handle underflow and denorms correctly.
187 (__fixxfsi): Reimplement.
189 2023-11-09 Jakub Jelinek <jakub@redhat.com>
192 * config/t-softfp (softfp_bid_list): Add
193 {U,}TItype <-> _Decimal{32,64,128} conversions.
194 * soft-fp/floattisd.c: New file.
195 * soft-fp/floattidd.c: New file.
196 * soft-fp/floattitd.c: New file.
197 * soft-fp/floatuntisd.c: New file.
198 * soft-fp/floatuntidd.c: New file.
199 * soft-fp/floatuntitd.c: New file.
200 * soft-fp/fixsdti.c: New file.
201 * soft-fp/fixddti.c: New file.
202 * soft-fp/fixtdti.c: New file.
203 * soft-fp/fixunssdti.c: New file.
204 * soft-fp/fixunsddti.c: New file.
205 * soft-fp/fixunstdti.c: New file.
207 2023-11-07 Kwok Cheung Yeung <kcy@codesourcery.com>
209 * offloadstuff.c (OFFLOAD_IND_FUNC_TABLE_SECTION_NAME): New.
210 (__offload_ind_func_table): New.
211 (__offload_ind_funcs_end): New.
212 (__OFFLOAD_TABLE__): Add entries for indirect functions.
214 2023-11-03 Thomas Schwinge <thomas@codesourcery.com>
216 * config/gcn/gthr-gcn.h (__gthread_getspecific): 's%NULL%0'.
218 2023-10-31 Alexandre Oliva <oliva@adacore.com>
220 * hardcfr.c: Adjust copyright year.
222 2023-10-24 Sergei Trofimovich <siarheit@google.com>
224 * config/aarch64/heap-trampoline.c: Disable when libc is not
226 * config/i386/heap-trampoline.c: Ditto.
228 2023-10-22 Iain Sandoe <iain@sandoe.co.uk>
230 * config/t-slibgcc-darwin: Generate libgcc_s
232 * config.host: Handle Darwin rpaths.
233 * config/t-darwin-rpath: New file.
235 2023-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
236 Maxim Blinov <maxim.blinov@embecosm.com>
237 Iain Sandoe <iain@sandoe.co.uk>
238 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
240 * libgcc2.h (__builtin_nested_func_ptr_created): Declare.
241 (__builtin_nested_func_ptr_deleted): Declare.
242 * libgcc-std.ver.in: Add the new symbols.
243 * config/aarch64/heap-trampoline.c: Implement heap-based
244 trampolines for aarch64.
245 * config/aarch64/t-heap-trampoline: Add rule to build
246 config/aarch64/heap-trampoline.c
247 * config/i386/heap-trampoline.c: Implement heap-based
248 trampolines for x86_64.
249 * config/i386/t-heap-trampoline: Add rule to build
250 config/i386/heap-trampoline.cc
251 * config.host: Handle --enable-heap-trampolines on
252 x86_64-*-linux*, aarch64-*-linux*, x86_64-*-darwin*.
254 2023-10-20 Andrew Stubbs <ams@codesourcery.com>
256 * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Set false for __RDNA2__.
258 2023-10-20 Alexandre Oliva <oliva@adacore.com>
260 * Makefile.in (LIB2ADD): Add hardcfr.c.
263 2023-10-13 Florian Weimer <fweimer@redhat.com>
265 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Add
268 2023-10-13 Florian Weimer <fweimer@redhat.com>
270 * config/arc/linux-unwind.h (arc_fallback_frame_state): Add
273 2023-10-13 Florian Weimer <fweimer@redhat.com>
275 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Add
278 2023-10-13 Florian Weimer <fweimer@redhat.com>
280 * config/csky/linux-unwind.h (csky_fallback_frame_state): Add
283 2023-10-13 Florian Weimer <fweimer@redhat.com>
285 * config/m68k/fpgnulib.c (__cmpdf2): Declare.
287 2023-09-26 Wilco Dijkstra <wilco.dijkstra@arm.com>
289 * config/aarch64/lse.S (BTI_C): Remove define.
291 2023-09-20 Pekka Seppänen <pexu@gcc.mail.kapsi.fi>
293 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key):
294 Use const unsigned type and a builtin.
296 2023-09-06 Jakub Jelinek <jakub@redhat.com>
299 * libgcc2.c (bitint_negate): Add function comment.
300 * soft-fp/bitint.h (bitint_negate): Add function comment.
301 (FP_TO_BITINT, FP_FROM_BITINT): Add comment explaining the macros.
303 2023-09-06 Jakub Jelinek <jakub@redhat.com>
306 * config/aarch64/t-softfp (softfp_extras): Use += rather than :=.
307 * config/i386/64/t-softfp (softfp_extras): Likewise.
308 * config/i386/libgcc-glibc.ver (GCC_14.0.0): Export _BitInt support
310 * config/i386/t-softfp (softfp_extras): Add fixxfbitint and
311 bf, hf and xf mode floatbitint.
312 (CFLAGS-floatbitintbf.c, CFLAGS-floatbitinthf.c): Add -msse2.
313 * config/riscv/t-softfp32 (softfp_extras): Use += rather than :=.
314 * config/rs6000/t-e500v1-fp (softfp_extras): Likewise.
315 * config/rs6000/t-e500v2-fp (softfp_extras): Likewise.
316 * config/t-softfp (softfp_floatbitint_funcs): New.
317 (softfp_bid_list): New.
318 (softfp_func_list): Add sf and df mode from and to _BitInt libcalls.
319 (softfp_bid_file_list): New.
320 (LIB2ADD_ST): Add $(softfp_bid_file_list).
321 * config/t-softfp-sfdftf (softfp_extras): Add fixtfbitint and
323 * config/t-softfp-tf (softfp_extras): Likewise.
324 * libgcc2.c (bitint_reduce_prec): New inline function.
325 (BITINT_INC, BITINT_END): Define.
326 (bitint_mul_1, bitint_addmul_1): New helper functions.
327 (__mulbitint3): New function.
328 (bitint_negate, bitint_submul_1): New helper functions.
329 (__divmodbitint4): New function.
330 * libgcc2.h (LIBGCC2_UNITS_PER_WORD): When building _BitInt support
331 libcalls, redefine depending on __LIBGCC_BITINT_LIMB_WIDTH__.
332 (__mulbitint3, __divmodbitint4): Declare.
333 * libgcc-std.ver.in (GCC_14.0.0): Export _BitInt support routines.
334 * Makefile.in (lib2funcs): Add _mulbitint3.
335 (LIB2_DIVMOD_FUNCS): Add _divmodbitint4.
336 * soft-fp/bitint.h: New file.
337 * soft-fp/fixdfbitint.c: New file.
338 * soft-fp/fixsfbitint.c: New file.
339 * soft-fp/fixtfbitint.c: New file.
340 * soft-fp/fixxfbitint.c: New file.
341 * soft-fp/floatbitintbf.c: New file.
342 * soft-fp/floatbitintdf.c: New file.
343 * soft-fp/floatbitinthf.c: New file.
344 * soft-fp/floatbitintsf.c: New file.
345 * soft-fp/floatbitinttf.c: New file.
346 * soft-fp/floatbitintxf.c: New file.
347 * soft-fp/op-common.h (_FP_FROM_INT): Add support for rsize up to
348 4 * _FP_W_TYPE_SIZE rather than just 2 * _FP_W_TYPE_SIZE.
349 * soft-fp/bitintpow10.c: New file.
350 * soft-fp/fixsdbitint.c: New file.
351 * soft-fp/fixddbitint.c: New file.
352 * soft-fp/fixtdbitint.c: New file.
353 * soft-fp/floatbitintsd.c: New file.
354 * soft-fp/floatbitintdd.c: New file.
355 * soft-fp/floatbitinttd.c: New file.
357 2023-09-06 Jakub Jelinek <jakub@redhat.com>
360 * soft-fp/bitintpow10.h: New file.
362 2023-09-05 Yang Yujie <yangyujie@loongson.cn>
364 * config.host: add loongarch*-elf target.
366 2023-08-11 Thomas Neumann <thomas.neumann@in.tum.de>
369 * unwind-dw2-fde.c: Associate object with address of unwinding
372 2023-08-07 John Ericson <git@JohnEricson.me>
374 * configure: Regenerate.
376 2023-08-07 Alan Modra <amodra@gmail.com>
378 * configure: Regenerate.
380 2023-07-23 Andrew Pinski <apinski@marvell.com>
382 * config.host (riscv*-*-linux*): Add t-crtstuff to tmake_file.
383 (riscv*-*-freebsd*): Likewise.
384 * config/riscv/t-crtstuff: New file.
386 2023-07-19 liuhongt <hongtao.liu@intel.com>
388 * config/i386/t-softfp: Add -msse2 to libbid HFtype related
391 2023-07-11 Florian Weimer <fweimer@redhat.com>
394 * unwind-dw2-fde-dip.c (find_fde_tail): Add cast to avoid
395 implicit conversion of pointer value to integer.
397 2023-07-06 Kito Cheng <kito.cheng@sifive.com>
399 * config/riscv/sfp-machine.h (FP_INIT_ROUNDMODE): Check zfinx.
400 (FP_HANDLE_EXCEPTIONS): Ditto.
402 2023-06-19 Andrew Stubbs <ams@codesourcery.com>
404 * config/gcn/lib2-divmod-di.c: Reimplement like lib2-divmod.c.
405 * config/gcn/lib2-divmod.c: Likewise.
406 * config/gcn/lib2-gcn.h: Add new types and prototypes for all the
408 * config/gcn/t-amdgcn: Add new files.
409 * config/gcn/amdgcn_veclib.h: New file.
410 * config/gcn/lib2-vec_divmod-di.c: New file.
411 * config/gcn/lib2-vec_divmod-hi.c: New file.
412 * config/gcn/lib2-vec_divmod-qi.c: New file.
413 * config/gcn/lib2-vec_divmod.c: New file.
415 2023-06-19 Andrew Stubbs <ams@codesourcery.com>
417 * config/gcn/lib2-gcn.h (QItype, UQItype, HItype, UHItype): Delete.
418 (__divhi3, __modhi3, __udivhi3, __umodhi3): Delete.
419 * config/gcn/t-amdgcn: Don't build lib2-divmod-hi.c.
420 * config/gcn/lib2-divmod-hi.c: Removed.
422 2023-06-07 Florian Weimer <fweimer@redhat.com>
425 * unwind-dw2-fde-dip.c (find_fde_tail): Correct fast path for
428 2023-06-05 Kewen Lin <linkw@linux.ibm.com>
430 * config/i386/morestack.S: Use @init_array rather than
431 @progbits for section type of section .init_array.
432 * config/rs6000/morestack.S: Likewise.
433 * config/s390/morestack.S: Likewise.
435 2023-06-05 YunQiang Su <yunqiang.su@cipunited.com>
437 * config/mips/lib1funcs.S: New file.
438 define __speculation_barrier and include mips16.S.
439 * config/mips/t-mips: define LIB1ASMSRC as mips/lib1funcs.S.
440 define LIB1ASMFUNCS as _speculation_barrier.
441 set version info for __speculation_barrier.
442 * config/mips/libgcc-mips.ver: New file.
443 * config/mips/t-mips16: don't define LIB1ASMSRC as mips16.S
444 included in lib1funcs.S now.
446 2023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
449 * unwind-dw2-fde.c: Fix radix sort buffer management.
451 2023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
454 * unwind-dw2-fde.c: Free sort array in atomic fast path.
456 2023-05-19 Iain Sandoe <iain@sandoe.co.uk>
458 * config.host: Arrange to set min Darwin OS versions from
459 the configured host version.
460 * config/darwin10-unwind-find-enc-func.c: Do not use current
461 headers, but declare the nexessary structures locally to the
462 versions in use for Mac OSX 10.6.
463 * config/t-darwin: Amend to handle configured min OS
465 * config/t-darwin-min-1: New.
466 * config/t-darwin-min-5: New.
467 * config/t-darwin-min-8: New.
469 2023-05-15 Thomas Neumann <tneumann@users.sourceforge.net>
471 * unwind-dw2-fde.c: Fix assert in non-atomic path.
473 2023-05-15 Sören Tempel <soeren+git@soeren-tempel.net>
475 * unwind-dw2-fde.c: Accept empty ranges when deregistering frames.
477 2023-05-02 Patrick O'Neill <patrick@rivosinc.com>
479 * config/riscv/atomic.c: Change LR.aq/SC.rl pairs into
480 sequentially consistent LR.aqrl/SC.rl pairs.
482 2023-05-01 Dimitar Dimitrov <dimitar@dinux.eu>
484 * config/pru/t-pru (HOST_LIBGCC2_CFLAGS): Add
485 -DTARGET_HAS_NO_HW_DIVIDE.
487 2023-04-27 Hans-Peter Nilsson <hp@axis.com>
489 * config/cris/t-cris (HOST_LIBGCC2_CFLAGS): Add
490 -DTARGET_HAS_NO_HW_DIVIDE.
492 2023-04-26 Patrick O'Neill <patrick@rivosinc.com>
495 * config/riscv/atomic.c: Add reference to duplicate logic.
497 2023-04-08 Tetsuma Hoshino <t-hoshino@pony-e.jp>
500 * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
503 2023-04-05 John David Anglin <danglin@gcc.gnu.org>
506 * config/pa/milli64.S (RETURN_COLUMN): Define.
507 ($$divI): Add CFI directives.
512 2023-03-19 Stafford Horne <shorne@gmail.com>
514 * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
515 statement clearing existing exceptions.
517 2023-03-13 Max Filippov <jcmvbkbc@gmail.com>
519 * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
520 * config/xtensa/crtn.S: Likewise.
521 * config/xtensa/lib1funcs.S: Likewise.
522 * config/xtensa/lib2funcs.S: Likewise.
524 2023-03-12 Jakub Jelinek <jakub@redhat.com>
526 * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
527 (softfp_truncations): Add tfbf dfbf sfbf hfbf.
528 (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
529 * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
530 __extendbfsf2 and __trunc{s,d,t,h}fbf2.
531 * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
532 * soft-fp/floatundibf.c: New file.
533 * soft-fp/floatdibf.c: New file.
535 2023-03-10 Jakub Jelinek <jakub@redhat.com>
538 * soft-fp/floattibf.c: New file.
539 * soft-fp/floatuntibf.c: New file.
540 * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
541 * config/i386/64/t-softfp (softfp_extras): Add floattibf and
543 (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
545 2023-03-08 Kewen Lin <linkw@linux.ibm.com>
548 * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
551 2023-03-06 Michael Meissner <meissner@linux.ibm.com>
554 * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
555 whether long double is IBM or IEEE.
556 (INFINITY): Likewise.
558 * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
559 (INFINITY): Likewise.
560 * config/rs6000/quad-float128.h (TF): Remove definition.
561 (TFtype): Define to be long double or _Float128.
562 (TCtype): Define to be _Complex long double or _Complex _Float128.
563 * libgcc2.h (TFtype): Allow machine config files to override this.
565 * soft-fp/quad.h (TFtype): Likewise.
567 2023-02-13 Kito Cheng <kito.cheng@sifive.com>
569 * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
570 * config/riscv/value-unwind.h: New.
572 2023-02-03 Christophe Lyon <christophe.lyon@arm.com>
574 * config/arm/pr-support.c (__gnu_unwind_execute): Use
575 TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
577 2023-01-30 Flavio Cruz <flaviocruz@gmail.com>
579 * config.host: Recognize x86_64-*-gnu* targets.
580 * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
583 2023-01-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
585 * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
588 2023-01-23 Andrea Corallo <andrea.corallo@arm.com>
589 Tejas Belagod <tbelagod@arm.com>
590 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
592 * config/arm/pr-support.c (__gnu_unwind_execute): Decode
593 exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
595 * config/arm/unwind-arm.c (struct pseudo_regs): New.
596 (phase1_vrs): Introduce new field to store pseudo-reg state.
597 (phase2_vrs): Likewise.
598 (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
599 (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
600 (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
602 2023-01-18 Wilco Dijkstra <wilco.dijkstra@arm.com>
605 * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
606 * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
607 * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
608 encode the return address signing state.
609 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
610 Check current return address signing state.
611 (aarch64_frob_update_contex): Remove.
613 2023-01-13 John David Anglin <danglin@gcc.gnu.org>
615 * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
617 (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
618 instead of pa/t-hpux and pa/t-pa64.
619 * config/pa/linux-atomic.c: Define u32 type.
620 (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
621 atomic_load_2, atomic_load_4 and atomic_load_8. Update sync
622 defines to use atomic_load calls for type.
623 (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
624 * config/pa/sync-libfuncs.c: New file.
625 * config/pa/t-netbsd (LIB2ADD_ST): Define.
626 * config/pa/t-openbsd (LIB2ADD_ST): Define.
627 * config/pa/t-pa64-hpux: New file.
628 * config/pa/t-pa64-linux: New file.
630 2023-01-13 Jonathan Wakely <jwakely@redhat.com>
633 * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
634 struct matching the previous __gthread_mutex_t struct.
635 (__GTHREAD_LEGACY_MUTEX_T): Define.
637 2023-01-13 Seija Kijin <doremylover456@gmail.com>
639 * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
642 2023-01-07 LIU Hao <lh_mouse@126.com>
645 * config/i386/enable-execute-stack-mingw32.c: Define
646 `WIN32_LEAN_AND_MEAN` before <windows.h>.
647 * libgcc2.c: Likewise.
648 * unwind-generic.h: Likewise.
650 2023-01-03 Florian Weimer <fweimer@redhat.com>
652 * unwind-dw2-execute_cfa.h: New file. Extracted from
653 the execute_cfa_program function in unwind-dw2.c.
654 * unwind-dw2.c (execute_cfa_program_generic): New function.
655 (execute_cfa_program_specialized): Likewise.
656 (execute_cfa_program): Call execute_cfa_program_specialized
657 or execute_cfa_program_generic, as appropriate.
659 2023-01-03 Florian Weimer <fweimer@redhat.com>
662 2023-01-03 Florian Weimer <fweimer@redhat.com>
664 * unwind-dw2.c (dwarf_reg_size): New function.
665 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
666 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
667 (uw_init_context_1): Do not initialize dwarf_reg_size_table
670 2023-01-03 Florian Weimer <fweimer@redhat.com>
673 2023-01-03 Florian Weimer <fweimer@redhat.com>
675 * unwind-dw2-execute_cfa.h: New file. Extracted from
676 the execute_cfa_program function in unwind-dw2.c.
677 * unwind-dw2.c (execute_cfa_program_generic): New function.
678 (execute_cfa_program_specialized): Likewise.
679 (execute_cfa_program): Call execute_cfa_program_specialized
680 or execute_cfa_program_generic, as appropriate.
682 2023-01-02 Florian Weimer <fweimer@redhat.com>
684 * unwind-dw2-execute_cfa.h: New file. Extracted from
685 the execute_cfa_program function in unwind-dw2.c.
686 * unwind-dw2.c (execute_cfa_program_generic): New function.
687 (execute_cfa_program_specialized): Likewise.
688 (execute_cfa_program): Call execute_cfa_program_specialized
689 or execute_cfa_program_generic, as appropriate.
691 2023-01-02 Florian Weimer <fweimer@redhat.com>
693 * unwind-dw2.c (dwarf_reg_size): New function.
694 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
695 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
696 (uw_init_context_1): Do not initialize dwarf_reg_size_table
699 2022-12-25 Jonathan Yong <10walls@gmail.com>
701 * config/i386/gthr-win32.h: undef CC_NONE
703 2022-12-24 Iain Sandoe <iain@sandoe.co.uk>
705 * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
706 install of libgcc_s.1.dylib when the installation is into the build
709 2022-12-23 Eric Botcazou <ebotcazou@adacore.com>
711 * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
712 as well as new i386/t-slibgcc-mingw fragment.
713 (x86_64-*-mingw*): Likewise.
714 * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
715 both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
716 Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
717 Include stdlib.h instead of errno.h and do not include _mingw.h.
718 (CONST_CAST2): Add specific definition for C++.
719 (ATTRIBUTE_UNUSED): New macro.
720 (__UNUSED_PARAM): Delete.
721 Define WIN32_LEAN_AND_MEAN before including windows.h.
722 (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
723 (__gthread_objc_init_thread_system): Likewise.
724 (__gthread_objc_thread_get_data): Minor tweak.
725 (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
726 (__gthread_objc_condition_deallocate): Likewise.
727 (__gthread_objc_condition_wait): Likewise.
728 (__gthread_objc_condition_broadcast): Likewise.
729 (__gthread_objc_condition_signal): Likewise.
731 (__gthr_win32_DWORD): New typedef.
732 (__gthr_win32_HANDLE): Likewise.
733 (__gthr_win32_CRITICAL_SECTION): Likewise.
734 (__gthr_win32_CONDITION_VARIABLE): Likewise.
735 (__gthread_t): Adjust.
736 (__gthread_key_t): Likewise.
737 (__gthread_mutex_t): Likewise.
738 (__gthread_recursive_mutex_t): Likewise.
739 (__gthread_cond_t): New typedef.
740 (__gthread_time_t): Likewise.
741 (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
742 (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
743 (__GTHREAD_COND_INIT_FUNCTION): Define.
744 (__GTHREAD_TIME_INIT): Likewise.
745 (__gthr_i486_lock_cmp_xchg): Delete.
746 (__gthr_win32_create): Declare.
747 (__gthr_win32_join): Likewise.
748 (__gthr_win32_self): Likewise.
749 (__gthr_win32_detach): Likewise.
750 (__gthr_win32_equal): Likewise.
751 (__gthr_win32_yield): Likewise.
752 (__gthr_win32_mutex_destroy): Likewise.
753 (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
754 (__gthr_win32_cond_broadcast): Likewise.
755 (__gthr_win32_cond_signal): Likewise.
756 (__gthr_win32_cond_wait): Likewise.
757 (__gthr_win32_cond_timedwait): Likewise.
758 (__gthr_win32_recursive_mutex_init_function): Delete.
759 (__gthr_win32_recursive_mutex_lock): Likewise.
760 (__gthr_win32_recursive_mutex_unlock): Likewise.
761 (__gthr_win32_recursive_mutex_destroy): Likewise.
762 (__gthread_create): New inline function.
763 (__gthread_join): Likewise.
764 (__gthread_self): Likewise.
765 (__gthread_detach): Likewise.
766 (__gthread_equal): Likewise.
767 (__gthread_yield): Likewise.
768 (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
769 (__gthread_cond_broadcast): Likewise.
770 (__gthread_cond_signal): Likewise.
771 (__gthread_cond_wait): Likewise.
772 (__gthread_cond_timedwait): Likewise.
773 (__GTHREAD_WIN32_INLINE): New macro.
774 (__GTHREAD_WIN32_COND_INLINE): Likewise.
775 (__GTHREAD_WIN32_ACTIVE_P): Likewise.
776 Define WIN32_LEAN_AND_MEAN before including windows.h.
777 (__gthread_once): Minor tweaks.
778 (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
779 (__gthread_key_delete): Minor tweak.
780 (__gthread_getspecific): Likewise.
781 (__gthread_setspecific): Likewise.
782 (__gthread_mutex_init_function): Reimplement.
783 (__gthread_mutex_destroy): Likewise.
784 (__gthread_mutex_lock): Likewise.
785 (__gthread_mutex_trylock): Likewise.
786 (__gthread_mutex_unlock): Likewise.
787 (__gthr_win32_abs_to_rel_time): Declare.
788 (__gthread_recursive_mutex_init_function): Reimplement.
789 (__gthread_recursive_mutex_destroy): Likewise.
790 (__gthread_recursive_mutex_lock): Likewise.
791 (__gthread_recursive_mutex_trylock): Likewise.
792 (__gthread_recursive_mutex_unlock): Likewise.
793 (__gthread_cond_destroy): New inline function.
794 (__gthread_cond_wait_recursive): Likewise.
795 * config/i386/gthr-win32.c: Delete everything.
796 Include gthr-win32.h to get the out-of-line version of inline routines.
797 Add compile-time checks for the local version of the Win32 types.
798 * config/i386/gthr-win32-cond.c: New file.
799 * config/i386/gthr-win32-thread.c: Likewise.
800 * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
801 EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
802 the static version of libgcc.
803 * config/i386/t-slibgcc-mingw: New file.
804 * config/i386/libgcc-mingw.ver: Likewise.
806 2022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
808 * unwind-dw2-fde.c: Initialize fde object lazily when
809 the first exception tries to pass through.
811 2022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
813 * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
815 2022-12-08 Max Filippov <jcmvbkbc@gmail.com>
817 * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
818 (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
819 (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
820 (XSHAL_ABI): Remove stray symbols from macro definitions.
822 2022-12-07 Max Filippov <jcmvbkbc@gmail.com>
824 * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
825 xtensa-config-builtin.h.
826 * config/xtensa/crtn.S: Likewise.
827 * config/xtensa/lib1funcs.S: Likewise.
828 * config/xtensa/lib2funcs.S: Likewise.
829 * config/xtensa/xtensa-config-builtin.h: New File.
831 2022-11-04 Florian Weimer <fweimer@redhat.com>
833 * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
834 values actually used by BFD ld.
836 2022-10-23 LIU Hao <lh_mouse@126.com>
838 * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
839 libobjc, instead of 'gthr.h'
841 2022-10-19 LIU Hao <lh_mouse@126.com>
843 * config.host: Add new cases for `mcf` thread model
844 * config/i386/gthr-mcf.h: New file
845 * config/i386/t-mingw-mcfgthread: New file
846 * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
847 * configure: Regenerate
849 2022-10-18 Jonathan Wakely <jwakely@redhat.com>
851 * Makefile.in: Quote variable.
853 2022-10-17 H.J. Lu <hjl.tools@gmail.com>
855 * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
857 * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
858 _Unwind_Frames_Increment.
859 (_Unwind_ForcedUnwind_Phase2): Likewise.
860 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
861 Take the EXC argument. Return _URC_FATAL_PHASE2_ERROR if the
862 return address on normal stack doesn't match the return address
865 2022-10-17 Florian Weimer <fweimer@redhat.com>
867 * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
870 2022-10-14 Jakub Jelinek <jakub@redhat.com>
872 * config/i386/t-softfp (softfp_extensions): Add bfsf.
873 (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
874 (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
875 CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
877 * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
878 __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
879 * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
880 * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
881 * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
882 * soft-fp/brain.h: New file.
883 * soft-fp/truncsfbf2.c: New file.
884 * soft-fp/truncdfbf2.c: New file.
885 * soft-fp/truncxfbf2.c: New file.
886 * soft-fp/trunctfbf2.c: New file.
887 * soft-fp/trunchfbf2.c: New file.
888 * soft-fp/truncbfhf2.c: New file.
889 * soft-fp/extendbfsf2.c: New file.
891 2022-10-12 Martin Liska <mliska@suse.cz>
893 * libgcov-driver.c: Use new function.
894 * libgcov.h (gcov_write_summary): Rename to ...
895 (gcov_write_object_summary): ... this.
897 2022-10-11 Olivier Hainque <hainque@adacore.com>
899 * config.host (*vxworks*): When enable_shared, add
900 libgcc and crtstuff "shared" fragments for rtp except
902 (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
903 the list of fragments.
905 2022-10-06 Jakub Jelinek <jakub@redhat.com>
907 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
908 fs->regs.how[X] instead of fs->regs.reg[X].how.
910 2022-10-06 Jakub Jelinek <jakub@redhat.com>
912 * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
913 REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
914 REG_UNDEFINED): New anonymous enum, moved from inside of
915 struct frame_state_reg_info.
916 (struct frame_state_reg_info): Remove reg[].how element and the
917 anonymous enum there. Add how element.
918 * unwind-dw2.c: Include stddef.h.
919 (uw_frame_state_for): Don't clear first
920 offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
921 (execute_cfa_program, __frame_state_for, uw_update_context_1,
922 uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
923 or fs.regs.how[X] instead of fs.regs.reg[X].how.
924 * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
925 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
926 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
927 * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
928 UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
930 * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
932 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
933 * config/arc/linux-unwind.h (arc_fallback_frame_state,
934 arc_frob_update_context): Likewise.
935 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
936 * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
937 * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
938 * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
939 * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
940 * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
941 MD_FALLBACK_FRAME_STATE_FOR): Likewise.
942 * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
943 sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
944 * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
945 x86_fallback_frame_state): Likewise.
946 * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
947 * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
948 x86_fallback_frame_state): Likewise.
949 * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
951 * config/i386/dragonfly-unwind.h
952 (x86_64_dragonfly_fallback_frame_state): Likewise.
953 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
954 * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
955 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
957 * config/aarch64/freebsd-unwind.h
958 (aarch64_freebsd_fallback_frame_state): Likewise.
959 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
961 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
962 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
963 * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
965 * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
966 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
968 * config/rs6000/darwin-fallback.c (set_offset): Likewise.
969 * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
970 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
971 * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
973 2022-10-02 Olivier Hainque <hainque@adacore.com>
975 * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment. Move
976 -I options for gcc/include and gcc/include-fixed at the end
977 and make them -isystem.
979 2022-10-02 Olivier Hainque <hainque@adacore.com>
981 * config/gthr-vxworks.h: Prevent Wpragma warning for the
982 pragma diagnostics on Wstrict-prototypes.
984 2022-09-29 Olivier Hainque <hainque@adacore.com>
986 * config/vxcrtstuff.c: Improve the comment attached to the use
987 of auto-host.h and of __dso_handle. Remove redundant guard on
988 HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
990 2022-09-26 Thomas Neumann <tneumann@users.sourceforge.net>
992 * unwind-dw2-fde.c: Introduce a constant for in_shutdown
993 for the non-fast-path case. Drop destructor priority.
995 2022-09-22 Thomas Neumann <tneumann@users.sourceforge.net>
997 * unwind-dw2-fde.c: (release_register_frames) Remember
998 when the btree has been destroyed.
999 (__deregister_frame_info_bases) Disable the assert when
1002 2022-09-18 Thomas Neumann <tneumann@users.sourceforge.net>
1004 * unwind-dw2-fde.c: Replace uintptr_t with typedef
1005 for __UINTPTR_TYPE__.
1006 * unwind-dw2-btree.h: Likewise.
1008 2022-09-16 Thomas Neumann <tneumann@users.sourceforge.net>
1010 * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
1011 (__register_frame_info_table_bases): Use btree in atomic fast path.
1012 (__deregister_frame_info_bases): Likewise.
1013 (_Unwind_Find_FDE): Likewise.
1014 (base_from_object): Make parameter const.
1015 (classify_object_over_fdes): Add query-only mode.
1016 (get_pc_range): Compute PC range for lookup.
1017 * unwind-dw2-fde.h (last_fde): Make parameter const.
1018 * unwind-dw2-btree.h: New file.
1020 2022-08-31 Martin Liska <mliska@suse.cz>
1022 * config.host: Remove hppa.
1024 2022-08-30 Martin Liska <mliska@suse.cz>
1026 * config.host: Remove the port.
1028 2022-08-26 Martin Liska <mliska@suse.cz>
1030 * config.host: Remove cr16 related stuff.
1031 * config/cr16/crti.S: Removed.
1032 * config/cr16/crtlibid.S: Removed.
1033 * config/cr16/crtn.S: Removed.
1034 * config/cr16/divmodhi3.c: Removed.
1035 * config/cr16/lib1funcs.S: Removed.
1036 * config/cr16/t-cr16: Removed.
1037 * config/cr16/t-crtlibid: Removed.
1038 * config/cr16/unwind-cr16.c: Removed.
1039 * config/cr16/unwind-dw2.h: Removed.
1041 2022-08-16 Kito Cheng <kito.cheng@sifive.com>
1043 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
1044 (_FP_NANFRAC_H): Ditto.
1045 (_FP_NANSIGN_H): Ditto.
1046 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
1048 (softfp_truncations): Ditto.
1049 (softfp_extras): Ditto.
1050 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
1052 2022-08-16 Kito Cheng <kito.cheng@sifive.com>
1054 * soft-fp/fixhfdi.c: New.
1055 * soft-fp/fixhfsi.c: Likewise.
1056 * soft-fp/fixunshfdi.c: Likewise.
1057 * soft-fp/fixunshfsi.c: Likewise.
1058 * soft-fp/floatdihf.c: Likewise.
1059 * soft-fp/floatsihf.c: Likewise.
1060 * soft-fp/floatundihf.c: Likewise.
1061 * soft-fp/floatunsihf.c: Likewise.
1062 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
1063 lines and update URL for license.
1064 * soft-fp/addsf3.c: Likewise.
1065 * soft-fp/addtf3.c: Likewise.
1066 * soft-fp/divdf3.c: Likewise.
1067 * soft-fp/divsf3.c: Likewise.
1068 * soft-fp/divtf3.c: Likewise.
1069 * soft-fp/double.h: Likewise.
1070 * soft-fp/eqdf2.c: Likewise.
1071 * soft-fp/eqhf2.c: Likewise.
1072 * soft-fp/eqsf2.c: Likewise.
1073 * soft-fp/eqtf2.c: Likewise.
1074 * soft-fp/extenddftf2.c: Likewise.
1075 * soft-fp/extended.h: Likewise.
1076 * soft-fp/extendhfdf2.c: Likewise.
1077 * soft-fp/extendhfsf2.c: Likewise.
1078 * soft-fp/extendhftf2.c: Likewise.
1079 * soft-fp/extendhfxf2.c: Likewise.
1080 * soft-fp/extendsfdf2.c: Likewise.
1081 * soft-fp/extendsftf2.c: Likewise.
1082 * soft-fp/extendxftf2.c: Likewise.
1083 * soft-fp/fixdfdi.c: Likewise.
1084 * soft-fp/fixdfsi.c: Likewise.
1085 * soft-fp/fixdfti.c: Likewise.
1086 * soft-fp/fixhfti.c: Likewise.
1087 * soft-fp/fixsfdi.c: Likewise.
1088 * soft-fp/fixsfsi.c: Likewise.
1089 * soft-fp/fixsfti.c: Likewise.
1090 * soft-fp/fixtfdi.c: Likewise.
1091 * soft-fp/fixtfsi.c: Likewise.
1092 * soft-fp/fixtfti.c: Likewise.
1093 * soft-fp/fixunsdfdi.c: Likewise.
1094 * soft-fp/fixunsdfsi.c: Likewise.
1095 * soft-fp/fixunsdfti.c: Likewise.
1096 * soft-fp/fixunshfti.c: Likewise.
1097 * soft-fp/fixunssfdi.c: Likewise.
1098 * soft-fp/fixunssfsi.c: Likewise.
1099 * soft-fp/fixunssfti.c: Likewise.
1100 * soft-fp/fixunstfdi.c: Likewise.
1101 * soft-fp/fixunstfsi.c: Likewise.
1102 * soft-fp/fixunstfti.c: Likewise.
1103 * soft-fp/floatdidf.c: Likewise.
1104 * soft-fp/floatdisf.c: Likewise.
1105 * soft-fp/floatditf.c: Likewise.
1106 * soft-fp/floatsidf.c: Likewise.
1107 * soft-fp/floatsisf.c: Likewise.
1108 * soft-fp/floatsitf.c: Likewise.
1109 * soft-fp/floattidf.c: Likewise.
1110 * soft-fp/floattihf.c: Likewise.
1111 * soft-fp/floattisf.c: Likewise.
1112 * soft-fp/floattitf.c: Likewise.
1113 * soft-fp/floatundidf.c: Likewise.
1114 * soft-fp/floatundisf.c: Likewise.
1115 * soft-fp/floatunditf.c: Likewise.
1116 * soft-fp/floatunsidf.c: Likewise.
1117 * soft-fp/floatunsisf.c: Likewise.
1118 * soft-fp/floatunsitf.c: Likewise.
1119 * soft-fp/floatuntidf.c: Likewise.
1120 * soft-fp/floatuntihf.c: Likewise.
1121 * soft-fp/floatuntisf.c: Likewise.
1122 * soft-fp/floatuntitf.c: Likewise.
1123 * soft-fp/gedf2.c: Likewise.
1124 * soft-fp/gesf2.c: Likewise.
1125 * soft-fp/getf2.c: Likewise.
1126 * soft-fp/half.h: Likewise.
1127 * soft-fp/ledf2.c: Likewise.
1128 * soft-fp/lesf2.c: Likewise.
1129 * soft-fp/letf2.c: Likewise.
1130 * soft-fp/muldf3.c: Likewise.
1131 * soft-fp/mulsf3.c: Likewise.
1132 * soft-fp/multf3.c: Likewise.
1133 * soft-fp/negdf2.c: Likewise.
1134 * soft-fp/negsf2.c: Likewise.
1135 * soft-fp/negtf2.c: Likewise.
1136 * soft-fp/op-1.h: Likewise.
1137 * soft-fp/op-2.h: Likewise.
1138 * soft-fp/op-4.h: Likewise.
1139 * soft-fp/op-8.h: Likewise.
1140 * soft-fp/op-common.h: Likewise.
1141 * soft-fp/quad.h: Likewise.
1142 * soft-fp/single.h: Likewise.
1143 * soft-fp/soft-fp.h: Likewise.
1144 * soft-fp/subdf3.c: Likewise.
1145 * soft-fp/subsf3.c: Likewise.
1146 * soft-fp/subtf3.c: Likewise.
1147 * soft-fp/truncdfhf2.c: Likewise.
1148 * soft-fp/truncdfsf2.c: Likewise.
1149 * soft-fp/truncsfhf2.c: Likewise.
1150 * soft-fp/trunctfdf2.c: Likewise.
1151 * soft-fp/trunctfhf2.c: Likewise.
1152 * soft-fp/trunctfsf2.c: Likewise.
1153 * soft-fp/trunctfxf2.c: Likewise.
1154 * soft-fp/truncxfhf2.c: Likewise.
1155 * soft-fp/unorddf2.c: Likewise.
1156 * soft-fp/unordsf2.c: Likewise.
1157 * soft-fp/unordtf2.c: Likewise.
1159 2022-07-18 Claudiu Zissulescu <claziss@synopsys.com>
1161 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
1162 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
1165 2022-06-25 Jeff Law <jeffreyalaw@gmail.com>
1167 * config.host: Removed tilegx and tilepro entries.
1168 * config/tilegx/sfp-machine.h: Removed.
1169 * config/tilegx/sfp-machine32.h: Removed.
1170 * config/tilegx/sfp-machine64.h: Removed.
1171 * config/tilegx/t-crtstuff: Removed.
1172 * config/tilegx/t-softfp: Removed.
1173 * config/tilegx/t-tilegx: Removed.
1174 * config/tilepro/atomic.c: Removed.
1175 * config/tilepro/atomic.h: Removed.
1176 * config/tilepro/linux-unwind.h: Removed.
1177 * config/tilepro/sfp-machine.h: Removed.
1178 * config/tilepro/softdivide.c: Removed.
1179 * config/tilepro/softmpy.S: Removed.
1180 * config/tilepro/t-crtstuff: Removed.
1181 * config/tilepro/t-tilepro: Removed.
1183 2022-06-09 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
1185 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
1186 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
1188 2022-06-01 H.J. Lu <hjl.tools@gmail.com>
1191 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
1193 2022-05-25 Wilco Dijkstra <wilco.dijkstra@arm.com>
1196 * config/aarch64/lse-init.c: Increase constructor priority.
1198 2022-05-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1201 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1202 Handle the !REG_UNSAVED case.
1203 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
1205 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1207 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
1208 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
1209 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
1211 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1213 * config.host: Add t-dfprules to AArch64 targets.
1215 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1217 * configure: Regenerate.
1219 2022-05-13 Sebastian Pop <spop@amazon.com>
1222 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
1223 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
1225 2022-05-10 Martin Liska <mliska@suse.cz>
1226 Hans-Peter Helfert <peter-helfert@t-online.de>
1228 PR gcov-profile/105535
1229 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
1232 2022-05-02 Martin Liska <mliska@suse.cz>
1234 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
1236 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1238 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
1239 (gcov_profile_merge_stream): Likewise.
1241 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1243 * libgcov-util.c (consume_stream): New.
1244 (get_target_profiles_for_merge): Likewise.
1245 (gcov_profile_merge_stream): Likewise.
1247 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1249 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
1251 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1253 * libgcov-util.c (read_gcda_file): Do not open file.
1254 (ftw_read_file): Open file here.
1256 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1258 * libgcov-util.c (read_gcda_file): Prepend new info object to global
1260 (ftw_read_file): Remove list append here.
1262 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1264 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
1265 (ftw_read_file): Duplicate filename for read_gcda_file().
1267 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1269 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
1270 (__gcov_filename_to_gcfn): Declare and document.
1271 * libgcov-driver.c (dump_string): New.
1272 (__gcov_filename_to_gcfn): Likewise.
1273 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
1275 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1277 * libgcov.h (gcov_seek): Remove define and declaration.
1279 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1281 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
1282 parameter. Pass mode to gcov_open() calls.
1283 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
1284 gcov_exit_open_gcda_file() call.
1285 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
1287 (__gcov_dump_one): Open file for reading and writing.
1289 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1291 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
1292 reading and writing.
1293 * libgcov-util.c (read_gcda_file): Open file for reading.
1294 * libgcov.h (gcov_open): Delete declaration.
1296 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1298 * libgcov-util.c (gcov_profile_merge): Return the list of merged
1299 profiles. Accept empty target and source profile lists.
1301 2022-04-08 Sergei Trofimovich <siarheit@google.com>
1303 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
1305 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
1306 Lulu Cheng <chenglulu@loongson.cn>
1308 * configure: Regenerate file.
1310 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
1311 Lulu Cheng <chenglulu@loongson.cn>
1313 * config/loongarch/crtfastmath.c: New file.
1314 * config/loongarch/linux-unwind.h: Like wise.
1315 * config/loongarch/sfp-machine.h: Like wise.
1316 * config/loongarch/t-crtstuff: Like wise.
1317 * config/loongarch/t-loongarch: Like wise.
1318 * config/loongarch/t-loongarch64: Like wise.
1319 * config/loongarch/t-softfp-tf: Like wise.
1320 * config.host: Add LoongArch tuples.
1321 * configure.ac: Add LoongArch support.
1323 2022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
1326 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
1328 (__udivsi3_internal, __divsi3_internal): Similarly.
1329 (__umodsi3, __modsi3): Use the internal function names.
1331 2022-03-09 Tobias Burnus <tobias@codesourcery.com>
1334 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
1335 a line up to non-arg-dependent value first.
1336 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
1337 __atomic_compare_exchange_{1,2}.
1339 2022-03-04 Iain Sandoe <iain@sandoe.co.uk>
1341 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
1342 * config/t-darwin-ehs: Add dependency on unwind.h.
1344 2022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
1346 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
1347 with 0 instead of NULL.
1349 2022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
1352 * configure.ac: --disable-gcov if targetting bpf-*.
1353 * configure: Regenerate.
1355 2022-01-25 Florian Weimer <fweimer@redhat.com>
1358 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
1360 2022-01-17 Martin Liska <mliska@suse.cz>
1362 * libgcov-driver.c: Rename .c names to .cc.
1364 2022-01-15 David <gccbugzilla@limegreensocks.com>
1366 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
1367 Remove inlined version, Windows 95 is no longer relevant.
1368 * config/i386/gthr-win32.h
1369 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
1371 2022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
1373 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1374 DWARF_ALT_FRAME_RETURN_COLUMN macro.
1376 2022-01-04 Florian Weimer <fweimer@redhat.com>
1378 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
1381 2022-01-02 John David Anglin <danglin@gcc.gnu.org>
1383 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
1384 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
1385 return is not equal _ASM_EFAULT.
1386 (__kernel_cmpxchg2): Likewise.
1388 2021-12-17 Iain Sandoe <iain@sandoe.co.uk>
1390 * config.host: Add shim declaration header to powerpc*-darwin builds.
1391 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
1393 * config/t-darwin-ehs: Add dependencies to the shared unwinder
1395 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
1396 the shared EH lib. Add all-multi to the dependencies for the
1397 libgcc_s.1.dylib redirections.
1399 2021-12-13 Olivier Hainque <hainque@adacore.com>
1401 * config.host (powerpc*-*-vxworks7*): Remove
1402 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
1404 2021-12-13 Olivier Hainque <hainque@adacore.com>
1406 * config.host (*vxworks*): Remove special case for
1407 arm on the use of vxcrtstuff.
1409 2021-12-13 Fred Konrad <konrad@adacore.com>
1410 Olivier Hainque <hainque@adacore.com>
1412 * config/t-vxcrtstuffS: New Makefile fragment.
1413 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
1414 functions for INITFINI_ARRAY support in shared libs and guard
1415 the definition of eh table registration functions on conditions
1416 indicating they are needed.
1418 2021-12-13 Olivier Hainque <hainque@adacore.com>
1420 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
1421 ahead of the other files in tmake_files.
1422 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
1425 2021-12-13 Olivier Hainque <hainque@adacore.com>
1427 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
1428 both VxWorks7 and earlier.
1429 * config/t-vxworks7: Remove.
1430 * config.host: Remove special case for vxworks7.
1432 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1434 * config/vxcrtstuff.c: Make constructor and destructor
1435 functions static when possible.
1437 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1439 * config/vxcrtstuff.c: Remove constructor/destructor
1442 2021-12-10 Iain Sandoe <iain@sandoe.co.uk>
1444 * config/t-darwin: Add libgcc_tm.h to the dependencies
1445 for darwin10-unwind-find-enc-func.
1447 2021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1449 * config/rs6000/t-vxworks: New file.
1450 * config.host (powerpc*-*-vxworks*): Use it instead of
1453 2021-12-09 Fred Konrad <konrad@adacore.com>
1455 * config.host (powerpc*-wrs-vxworks7*): Fix path to
1456 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
1458 2021-12-09 Olivier Hainque <hainque@adacore.com>
1459 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1461 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
1462 $(LIBGCC2_INCLUDES).
1463 * config/t-vxworks7: Likewise.
1465 2021-12-08 Iain Sandoe <iain@sandoe.co.uk>
1467 * config.host (*-*-darwin*): Add logic to build a shared
1468 unwinder library for Darwin8-10.
1469 * config/i386/t-darwin: Build legacy libgcc_s.1.
1470 * config/rs6000/t-darwin: Likewise.
1471 * config/t-darwin: Reorganise the EH fragments to place
1472 them for inclusion in a shared EH lib.
1473 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
1474 the supporting pieces (all FAT libs).
1475 * config/t-darwin-noeh: Removed.
1476 * config/darwin-unwind.ver: New file.
1477 * config/rs6000/t-darwin-ehs: New file.
1478 * config/t-darwin-ehs: New file.
1480 2021-12-06 Nelson Chu <nelson.chu@sifive.com>
1482 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
1483 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
1484 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
1487 2021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1489 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
1490 ssize_t and vfork after including auto-host.h.
1492 2021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1494 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
1495 crtend.o to extra_parts.
1497 2021-11-27 John David Anglin <danglin@gcc.gnu.org>
1499 * config/pa/t-dimode (lib2difuncs): Fix typo.
1501 2021-11-25 Florian Weimer <fweimer@redhat.com>
1503 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
1505 (find_fde_tail): New function. Split from
1506 _Unwind_IteratePhdrCallback. Move the result initialization
1507 from _Unwind_Find_FDE.
1508 (_Unwind_Find_FDE): Updated to call find_fde_tail.
1510 2021-11-22 Florian Weimer <fweimer@redhat.com>
1512 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
1513 (struct unw_eh_callback_data): Make dbase member conditional.
1514 (unw_eh_callback_data_dbase): New function.
1515 (base_from_cb_data): Simplify for the non-dbase case.
1516 (_Unwind_IteratePhdrCallback): Adjust.
1517 (_Unwind_Find_FDE): Likewise.
1519 2021-11-22 Florian Weimer <fweimer@redhat.com>
1521 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
1523 (base_from_cb_data): Adjust.
1524 (_Unwind_IteratePhdrCallback): Likewise.
1525 (_Unwind_Find_FDE): Likewise.
1527 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1529 * config.host: Add weak emutls crt to the extra_parts.
1530 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1532 * config/libgcc-libsystem.ver: Add exclude list for the system-
1534 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1535 * config/i386/libgcc-darwin.10.4.ver: Removed.
1536 * config/i386/libgcc-darwin.10.5.ver: Removed.
1537 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1538 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1539 * config/t-darwin-noeh: New file.
1541 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1543 * config/t-darwin: Build weak-defined emutls objects.
1544 * emutls.c (__emutls_get_address): Add optional attributes.
1545 (__emutls_register_common): Likewise.
1548 2021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1551 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1552 called with a null argument or at the end of the backtrace and return.
1553 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1555 2021-11-10 Jakub Jelinek <jakub@redhat.com>
1557 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1560 2021-11-05 Iain Sandoe <iain@sandoe.co.uk>
1562 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1563 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1565 2021-11-05 John David Anglin <danglin@gcc.gnu.org>
1568 * config.host (hppa*64*-*-linux*): Revise tmake_file.
1569 (hppa*64*-*-hpux11*): Likewise.
1570 * config/pa/sfp-exceptions.c: New.
1571 * config/pa/sfp-machine.h: New.
1572 * config/pa/t-dimode: New.
1573 * config/pa/t-softfp-sfdftf: New.
1575 2021-10-27 John David Anglin <danglin@gcc.gnu.org>
1577 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1579 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1580 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1581 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1582 * config/pa/t-linux64 (LIB1ASMSRC): New define.
1583 (LIB1ASMFUNCS): Revise.
1584 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1586 2021-10-22 Stafford Horne <shorne@gmail.com>
1588 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1591 2021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1593 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1594 outside of get_regs() in order to use it in another function, this
1595 is done twice: for __powerpc64__ and for !__powerpc64__.
1596 (struct trace_arg): New struct.
1597 (struct layout): New struct.
1598 (ppc_backchain_fallback): New function.
1599 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1600 state and call MD_BACKCHAIN_FALLBACK.
1602 2021-10-13 Martin Liska <mliska@suse.cz>
1604 PR gcov-profile/90364
1605 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1607 (write_one_data): Write also checksum.
1608 * libgcov-util.c (read_gcda_file): Read also checksum field.
1609 * libgcov.h (struct gcov_info): Add new field.
1611 2021-10-08 Ian Lance Taylor <iant@golang.org>
1613 * config/i386/morestack.S: Use .init_array for constructor if
1615 * config/rs6000/morestack.S: Likewise.
1616 * config/s390/morestack.S: Likewise.
1618 2021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1621 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1622 Use more correct values for native IBM 128-bit.
1624 2021-09-28 Iain Sandoe <iain@sandoe.co.uk>
1626 * config/i386/libgcc-darwin.ver: Add Symbols for
1627 __cpu_model, __cpu_indicator_init.
1629 2021-09-22 Iain Sandoe <iain@sandoe.co.uk>
1631 * config/i386/sfp-machine.h: Guard Mach-O-specific code
1634 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1636 * config/t-slibgcc-darwin: Delete unused code.
1638 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1640 * config/i386/t-darwin: Add in a vers file for X86-specific
1642 * config/t-darwin: Add the generic symbol maps here...
1643 * config/t-slibgcc-darwin: ... removing from here.
1644 * config/i386/libgcc-darwin.ver: New file.
1646 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1648 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1651 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1653 * config.host: Use convenience library for Darwin10
1655 * config/t-darwin: Build Darwin10 unwinder shim as a
1656 convenience library.
1658 2021-09-13 Andrew Pinski <apinski@marvell.com>
1660 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1661 * config/m32r/libgcc-glibc.ver: Removed.
1662 * config/m32r/t-linux: Removed.
1664 2021-09-08 liuhongt <hongtao.liu@intel.com>
1666 * config/i386/t-softfp: Compile __{mul,div}hc3 into
1669 2021-09-08 Jakub Jelinek <jakub@redhat.com>
1670 Iain Sandoe <iain@sandoe.co.uk>
1672 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1673 and export *hf* and *hc* functions at GCC_12.0.0.
1675 2021-09-06 liuhongt <hongtao.liu@intel.com>
1677 * Makefile.in: Adjust to support specific CFLAGS for each
1679 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1680 related libgcc source files.
1681 * config/i386/t-softfp: Ditto.
1682 * config/i386/_divhc3.c: New file.
1683 * config/i386/_mulhc3.c: New file.
1685 2021-09-03 Iain Sandoe <iain@sandoe.co.uk>
1687 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1688 alias_DFtype, alias_TFtype): New.
1689 (ALIAS_SELECTOR): New.
1690 (strong_alias): Use __typeof and a _Generic selector to
1691 provide the type to the synthesized function.
1693 2021-09-02 liuhongt <hongtao.liu@intel.com>
1695 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1696 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1697 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1698 * config/i386/t-softfp: Add hf soft-fp.
1699 * config.host: Add i386/64/t-softfp.
1700 * config/i386/64/t-softfp: New file.
1702 2021-09-02 liuhongt <hongtao.liu@intel.com>
1704 * soft-fp/eqhf2.c: New file.
1705 * soft-fp/extendhfdf2.c: New file.
1706 * soft-fp/extendhfsf2.c: New file.
1707 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1708 * soft-fp/truncdfhf2.c: New file
1709 * soft-fp/truncsfhf2.c: New file
1711 2021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
1713 * unwind-arm-common.inc (abort): Remove.
1715 2021-08-31 Richard Sandiford <richard.sandiford@arm.com>
1717 * config/aarch64/value-unwind.h: Add missing runtime exception
1719 * config/frv/frv-abi.h: Likewise.
1720 * config/i386/value-unwind.h: Likewise.
1721 * config/pa/pa64-hpux-lib.h: Likewise.
1723 2021-08-26 David Edelsohn <dje.gcc@gmail.com>
1725 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1727 (__gcc_qadd): Call ldouble_qadd_internal.
1728 (__gcc_qsub): Call ldouble_qadd_internal with second long double
1731 2021-08-26 Jonathan Yong <10walls@gmail.com>
1733 * config/i386/cygming-crtend.c: Fix register_frame_ctor
1734 and register_frame_dtor warnings.
1736 2021-08-24 Richard Earnshaw <rearnsha@arm.com>
1739 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1740 Add vlldm erratum work-around.
1742 2021-08-21 John David Anglin <danglin@gcc.gnu.org>
1744 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1746 2021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
1748 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1749 (gcov_type_unsigned): Likewise.
1751 2021-08-14 Stafford Horne <shorne@gmail.com>
1754 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
1755 * config/or1k/t-crtstuff: New file.
1757 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1759 * libgcov-driver.c (#include <stdint.h>): Remove.
1760 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
1762 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1764 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
1765 * gcov.h (gcov_info): Declare.
1766 (__gcov_info_to_gdca): Likewise.
1767 * libgcov.h (gcov_write_counter): Remove.
1768 (gcov_write_tag_length): Likewise.
1769 * libgcov-driver.c (#include <stdint.h>): New.
1770 (#include <string.h>): Remove.
1771 (NEED_L_GCOV): Conditionally define.
1772 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
1773 (are_all_counters_zero): New.
1774 (gcov_dump_handler): Likewise.
1775 (gcov_allocate_handler): Likewise.
1776 (dump_unsigned): Likewise.
1777 (dump_counter): Likewise.
1778 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
1779 Use dump_unsigned() and dump_counter().
1780 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
1781 dump_unsigned(), dump_counter(), and are_all_counters_zero().
1782 (__gcov_info_to_gcda): New.
1784 2021-08-05 Jakub Jelinek <jakub@redhat.com>
1786 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
1787 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
1788 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
1789 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
1791 2021-08-04 Jakub Jelinek <jakub@redhat.com>
1793 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
1795 2021-07-15 Alan Modra <amodra@gmail.com>
1797 * config/rs6000/morestack.S (R2_SAVE): Define.
1798 (__morestack): Save and restore r2. Set up r2 for called
1801 2021-07-01 H.J. Lu <hjl.tools@gmail.com>
1803 * soft-fp/extendhfxf2.c: New file.
1804 * soft-fp/truncxfhf2.c: Likewise.
1806 2021-06-29 Julian Brown <julian@codesourcery.com>
1808 * config/gcn/lib2-bswapti2.c: New file.
1809 * config/gcn/lib2-divmod-di.c: New file.
1810 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
1812 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
1813 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
1816 2021-06-29 Julian Brown <julian@codesourcery.com>
1818 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
1819 return types to USItype.
1820 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1822 2021-06-23 Kewen Lin <linkw@linux.ibm.com>
1824 * configure: Regenerate.
1825 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1826 typos among the name, CFLAGS and the test.
1827 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
1828 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
1830 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
1831 macro FLOAT128_HW_INSNS_ISA3_1.
1832 (FP128_3_1_CFLAGS_HW): Fix option typo.
1833 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
1834 FLOAT128_HW_INSNS_ISA3_1.
1835 (__floattikf_resolve): Likewise.
1836 (__floatuntikf_resolve): Likewise.
1837 (__fixkfti_resolve): Likewise.
1838 (__fixunskfti_resolve): Likewise.
1839 (__floattikf): Likewise.
1840 (__floatuntikf): Likewise.
1841 (__fixkfti): Likewise.
1842 (__fixunskfti): Likewise.
1844 2021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1847 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
1849 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
1850 on passing -mcmse option.
1852 2021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
1854 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
1857 2021-06-09 Carl Love <cel@us.ibm.com>
1859 * config.host: Add if test and set for
1860 libgcc_cv_powerpc_3_1_float128_hw.
1861 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
1862 Change calls of __fixkfti to __fixkfti_sw.
1863 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
1864 Change calls of __fixunskfti to __fixunskfti_sw.
1865 * config/rs6000/float128-p10.c (__floattikf_hw,
1866 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
1867 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
1868 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
1869 __fixunskfti_resolve): Add resolve functions.
1870 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
1871 * config/rs6000/float128-sed (floattitf, __floatuntitf,
1872 __fixtfti, __fixunstfti): Add editor commands to change names.
1873 * config/rs6000/float128-sed-hw (__floattitf,
1874 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
1876 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
1877 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
1878 * config/rs6000/quad-float128.h (__floattikf_sw,
1879 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
1880 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
1881 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
1882 * config/rs6000/t-float128 (floattikf, floatuntikf,
1883 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
1884 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
1885 file names to fp128_ppc_funcs.
1886 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
1887 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
1888 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
1889 * config/rs6000/t-float128-p10-hw: New file.
1890 * configure: Update script for isa 3.1 128-bit float support.
1891 * configure.ac: Add check for 128-bit float hardware support.
1892 * config/rs6000/fixkfti-sw.c: New file.
1893 * config/rs6000/fixunskfti-sw.c: New file.
1894 * config/rs6000/floattikf-sw.c: New file.
1895 * config/rs6000/floatuntikf-sw.c: New file.
1897 2021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
1899 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
1901 2021-05-13 Martin Liska <mliska@suse.cz>
1903 * libgcov-driver.c: Fix GNU coding style.
1905 2021-05-10 Martin Liska <mliska@suse.cz>
1907 * libgcov-driver.c (gcov_version): Use different name that does
1908 not clash with newly introduced macro.
1910 2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
1912 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
1913 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
1914 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
1916 2021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1918 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1920 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
1921 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1923 (__divkc3): Improve complex divide.
1925 2021-04-23 Michael Meissner <meissner@linux.ibm.com>
1928 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
1929 trampoline size comparison in 32-bit by reversing test and
1930 combining load immediate with compare.
1931 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
1932 in 32-bit by reversing test and combining load immediate with
1935 2021-04-05 Florian Weimer <fweimer@redhat.com>
1936 Michael Meissner <meissner@linux.ibm.com>
1938 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
1939 point functions for $(decimal_float) only.
1941 2021-04-03 Jakub Jelinek <jakub@redhat.com>
1944 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
1945 $(objext) instead of $(object). Use _floatunditf instead of
1946 _floatunsditf. Add tf <-> ti conversion objects.
1947 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
1949 2021-03-29 Michael Meissner <meissner@linux.ibm.com>
1951 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
1952 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
1953 (fp128_decstr_objs): Delete.
1954 * dfp-bit.h: Call __sprintfieee128 to do conversions from
1955 _Float128 to a Decimal type. Call __strtoieee128 to do
1956 conversions from a Decimal type to _Float128.
1957 * config/rs6000/_sprintfkf.c: Delete file.
1958 * config/rs6000/_sprintfkf.h: Delete file.
1959 * config/rs6000/_strtokf.c: Delete file.
1960 * config/rs6000/_strtokf.h: Delete file.
1962 2021-03-23 Marcus Comstedt <marcus@mc.pp.se>
1964 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
1967 2021-03-06 Jakub Jelinek <jakub@redhat.com>
1969 PR gcov-profile/99406
1970 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
1971 defined, define these macros if not defined already.
1973 2021-03-04 Martin Liska <mliska@suse.cz>
1975 PR gcov-profile/99105
1976 * libgcov-driver.c (write_top_counters): Rename to ...
1977 (write_topn_counters): ... this.
1978 (write_one_data): Pre-allocate buffer for number of items
1979 in the corresponding linked lists.
1980 * libgcov.h (malloc_mmap): New function.
1981 (allocate_gcov_kvp): Use it.
1983 2021-03-04 Martin Liska <mliska@suse.cz>
1985 PR gcov-profile/99385
1986 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
1988 2021-03-03 Martin Liska <mliska@suse.cz>
1990 PR gcov-profile/97461
1991 * config.in: Regenerate.
1992 * configure: Likewise.
1993 * configure.ac: Check sys/mman.h header file
1994 * libgcov-driver.c (struct gcov_kvp): Remove static
1995 pre-allocated pool and use a dynamic one.
1996 * libgcov.h (MMAP_CHUNK_SIZE): New.
1997 (gcov_counter_add): Use mmap to allocate pool for struct
2000 2021-03-02 Michael Meissner <meissner@linux.ibm.com>
2002 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
2004 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
2006 2021-02-24 Jakub Jelinek <jakub@redhat.com>
2009 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
2010 negation of m in unsigned type.
2012 2021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
2013 Hau Hsu <hsuhau617@gmail.com>
2016 * config/arm/t-arm: Fix cmse support detection.
2018 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
2020 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
2022 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
2024 * config/rs6000/_dd_to_kf.c: New file.
2025 * config/rs6000/_kf_to_dd.c: New file.
2026 * config/rs6000/_kf_to_sd.c: New file.
2027 * config/rs6000/_kf_to_td.c: New file.
2028 * config/rs6000/_sd_to_kf.c: New file.
2029 * config/rs6000/_sprintfkf.c: New file.
2030 * config/rs6000/_sprintfkf.h: New file.
2031 * config/rs6000/_strtokf.h: New file.
2032 * config/rs6000/_strtokf.c: New file.
2033 * config/rs6000/_td_to_kf.c: New file.
2034 * config/rs6000/quad-float128.h: Add new declarations.
2035 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
2036 (fp128_decstr_funcs): New macro.
2037 (ibm128_dec_funcs): New macro.
2038 (fp128_ppc_funcs): Add the new conversions.
2039 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
2040 compiled with -mabi=ieeelongdouble.
2041 (fp128_decstr_objs): Force __float128 <-> string conversions to be
2042 compiled with -mabi=ibmlongdouble.
2043 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
2044 compiled with -mabi=ieeelongdouble.
2045 (FP128_CFLAGS_DECIMAL): New macro.
2046 (IBM128_CFLAGS_DECIMAL): New macro.
2047 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
2048 (BFP_TO_DFP): Add PowerPC _Float128 support.
2049 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
2050 IEEE 128-bit floating point.
2051 (DFP_TO_BFP): Add PowerPC _Float128 support.
2052 (BFP_TO_DFP): Add PowerPC _Float128 support.
2053 (BFP_SPRINTF): New macro.
2055 2021-01-27 Jakub Jelinek <jakub@redhat.com>
2057 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
2058 * config/i386/savms64f.h: Likewise.
2059 * config/i386/resms64.h: Likewise.
2060 * config/i386/resms64f.h: Likewise.
2061 * config/i386/resms64x.h: Likewise.
2062 * config/i386/resms64fx.h: Likewise.
2064 2021-01-26 Martin Liska <mliska@suse.cz>
2066 PR gcov-profile/98739
2067 * libgcov.h (gcov_topn_add_value): Do not train when
2068 we have a merged profile with a negative number of total
2071 2021-01-25 Martin Liska <mliska@suse.cz>
2073 PR gcov-profile/98739
2074 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
2075 ends with a dropped counter.
2076 * libgcov.h (gcov_topn_add_value): Add return value.
2078 2021-01-13 Stafford Horne <shorne@gmail.com>
2080 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
2081 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
2082 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
2083 FP_EX_ALL): New constant macros.
2084 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
2085 FP_HANDLE_EXCEPTIONS): New macros.
2086 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
2088 2021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
2090 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
2091 posix siginfo case to struct handler_args. Detect between legacy
2092 and siginfo from the second parameter, which is a small sigcode in
2093 the legacy case, and a pointer in the siginfo case.
2095 2020-12-20 Max Filippov <jcmvbkbc@gmail.com>
2097 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
2099 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
2102 2020-12-08 Ian Lance Taylor <iant@golang.org>
2104 * generic-morestack-thread.c (free_segments): Block signals during
2107 2020-12-03 Michael Meissner <meissner@linux.ibm.com>
2111 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
2112 (IBM128_SHARED_OBJS): New make variable.
2113 (IBM128_OBJS): New make variable. Set all objects to use the
2114 explicit IBM format, and disable gnu attributes.
2115 (IBM128_CFLAGS): New make variable.
2116 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
2119 2020-12-03 Alexandre Oliva <oliva@adacore.com>
2121 * config/t-vxworks (LIB2ADD): Drop.
2122 * config/t-vxworks7 (LIB2ADD): Likewise.
2123 * config/vxcache.c: Remove.
2125 2020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
2127 * libgcc2.c (bswapsi2): Make constants unsigned.
2129 2020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
2131 * libgcc2.c (absvSI2): Simplify/improve implementation by using
2132 builtin_add_overflow.
2133 (absvsi2, absvDI2): Likewise.
2135 2020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
2137 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
2138 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
2140 2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2142 * config/msp430/lib2hw_mul.S (mult64_hw): New.
2143 (if MUL_32): Use mult64_hw for __muldi3.
2144 (if MUL_F5): Use mult64_hw for __muldi3.
2145 * config/msp430/lib2mul.c (__muldi3): New.
2146 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
2148 2020-11-17 Alan Modra <amodra@gmail.com>
2150 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
2151 (LIB2_SIDITI_CONV_FUNCS): Define.
2152 * config/rs6000/ppc64-fp.c: Delete file.
2154 2020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2156 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
2157 hwmult library functions.
2159 2020-11-10 Jeff Law <law@redhat.com>
2161 * libgcc2.c: Fix whitespace issues in most recent change.
2163 2020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
2165 * libgcc2.c (__addvSI3): Use overflow builtins.
2166 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
2167 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
2168 (__negvsi2, __negvDI2): Likewise.
2169 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
2171 * libgcc2.h (__ucmpdi2): Adjust prototype.
2173 2020-11-03 Pat Bernardi <bernardi@adacore.com>
2174 Olivier Hainque <hainque@adacore.com>
2176 * config.host (aarch64-vxworks7*, tmake_file): Add
2177 ${cpu_type}/t-lse and t-slibgcc-libgcc.
2179 2020-11-03 Martin Storsjö <martin@martin.st>
2181 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
2182 before calling the callback.
2184 2020-10-30 Olivier Hainque <hainque@adacore.com>
2185 Douglas Rupp <rupp@adacore.com>
2186 Pat Bernardi <bernardi@adacore.com>
2188 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
2189 to apply to VxWorks 7 as well.
2191 2020-10-29 Olivier Hainque <hainque@adacore.com>
2193 * config/gthr-vxworks-tls.c: Fix preprocessor logic
2194 controlling the definition of VX_ENTER_TLS_DTOR and
2195 VX_LEAVE_TLS_DTOR based on a version major check.
2197 2020-10-29 Olivier Hainque <hainque@adacore.com>
2199 * config/gthr-vxworks-thread.c: Fix name of macro used
2200 to condition the inclusion of an actual implementation.
2202 2020-10-27 Martin Liska <mliska@suse.cz>
2204 PR gcov-profile/97461
2205 * libgcov.h (gcov_counter_add): Use first static counters
2206 as it should help to have malloc wrappers set up.
2208 2020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2210 * config/gthr-vxworks-thread.c: #include gthr.h before
2211 testing the guard defined there.
2212 * config/gthr-vxworks-cond.c: Likewise.
2214 2020-10-21 Douglas Rupp <rupp@adacore.com>
2215 Olivier Hainque <hainque@adacore.com>
2217 * config.host (powerpc*-wrs-vxworks7*): New case.
2218 * configure.ac: Handle powerpc*-*-vxworks7* as
2219 powerpc*-*-linux* for ppc-fp_type.
2220 * configure: Regenerate.
2222 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2224 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
2225 section on VxWorks >= 6.
2226 * config/gthr-vxworks-thread.c: Condition the entire
2227 implementation on __GTHREAD_CXX0X.
2229 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2231 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
2232 section on VxWorks >= 6.
2233 * config/gthr-vxworks-cond.c: Condition the entire
2234 implementation on __GTHREAD_HAS_COND.
2236 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2238 * config/gthr-vxworks.c: #include <taskLib.h>.
2240 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2242 * config/gthr-vxworks.h: Rewrite remaining occurrence
2243 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
2245 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2246 Olivier Hainque <hainque@adacore.com>
2248 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
2249 except on VxWorks 6.
2251 2020-10-16 Olivier Hainque <hainque@adacore.com>
2253 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
2255 2020-10-14 Alexandre Oliva <oliva@adacore.com>
2257 * config/gthr-vxworks-thread.c: Include stdlib.h.
2258 (tls_delete_hook): Prototype it.
2259 (__gthread_cond_signal): Return early if no waiters. Consume
2260 signal in case the semaphore got full. Use semInfoGet instead
2261 of kernel-mode-only semInfo.
2262 (__gthread_cond_timedwait): Use semExchange. Always take the
2263 mutex again before returning.
2264 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
2266 2020-10-14 Olivier Hainque <hainque@adacore.com>
2268 * config/t-vxworks (LIBGCC2_INCLUDES): Append
2269 $(MULTISUBDIR) to the -I path for fixed headers, as we
2270 arrange to have different sets of such headers for different
2271 multilibs when they are activated.
2272 * config/t-vxworks7: Likewise.
2274 2020-10-14 Olivier Hainque <hainque@adacore.com>
2276 * config/t-vxworks: Add include-fixed to include search
2277 paths for libgcc on VxWorks.
2278 * config/t-vxworks7: Likewise.
2280 2020-10-09 H.J. Lu <hjl.tools@gmail.com>
2283 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
2284 instead of <cetintrin.h>.
2286 2020-10-01 Alan Modra <amodra@gmail.com>
2288 * config/rs6000/morestack.S,
2289 * config/rs6000/tramp.S: Support __PCREL__ code.
2291 2020-10-01 Alan Modra <amodra@gmail.com>
2293 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
2295 2020-09-29 Maciej W. Rozycki <macro@wdc.com>
2297 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
2300 2020-09-28 Richard Sandiford <richard.sandiford@arm.com>
2302 * config/aarch64/libgcc-softfp.ver: New file.
2303 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
2305 2020-09-27 Clement Chigot <clement.chigot@atos.net>
2307 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
2309 2020-09-22 Sergei Trofimovich <siarheit@google.com>
2311 PR gcov-profile/96913
2312 * libgcov-driver.c (write_one_data): Avoid function pointer
2313 comparison in TOP streaming decision.
2315 2020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
2316 Christophe Lyon <christophe.lyon@linaro.org>
2318 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
2320 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
2321 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
2324 2020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
2326 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
2327 unused variable warning.
2329 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
2331 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
2333 2020-09-09 Tom de Vries <tdevries@suse.de>
2335 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
2336 Wbuiltin-declaration-mismatch.
2338 2020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2340 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
2341 * config/msp430/srai.S (__gnu_mspabi_srap): New.
2342 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
2344 2020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
2346 * config/nvptx/atomic.c: New.
2347 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
2349 2020-08-03 Ian Lance Taylor <iant@golang.org>
2351 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
2353 2020-08-03 Jakub Jelinek <jakub@redhat.com>
2356 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
2357 of x(tmp0), x(tmp1) in STXP arguments.
2359 2020-07-31 Maciej W. Rozycki <macro@wdc.com>
2361 * config/riscv/save-restore.S [__riscv_xlen == 64]
2362 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
2363 (__riscv_save_2): Replace negative immediates used for the final
2364 stack pointer adjustment with positive ones, right-shifted by 4.
2366 2020-07-31 Martin Liska <mliska@suse.cz>
2368 * libgcov-driver.c: Add __gcov_kvp_pool
2369 and __gcov_kvp_pool_index variables.
2370 * libgcov.h (allocate_gcov_kvp): New.
2371 (gcov_topn_add_value): Use it.
2373 2020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2375 * config/aarch64/lse.S: Add PAC property note.
2377 2020-07-23 Martin Liska <mliska@suse.cz>
2379 PR gcov-profile/96035
2380 * libgcov-driver-system.c: Create gcov folders with 0777
2381 so that it respects a system umask.
2383 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
2385 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
2387 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2390 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
2391 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
2392 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
2393 (MD_DEMANGLE_RETURN_ADDR): This.
2394 (aarch64_post_extract_frame_addr): Rename to ...
2395 (aarch64_demangle_return_addr): This.
2396 (aarch64_post_frob_eh_handler_addr): Remove.
2397 * unwind-dw2.c (uw_update_context): Demangle return address.
2398 (uw_frob_return_addr): Remove.
2400 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2403 * config/aarch64/lse.S: Add BTI marking and related definitions,
2404 and add BTI c to function entries.
2406 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2408 * config/aarch64/lse.S: Add stack note.
2410 2020-07-02 Martin Liska <mliska@suse.cz>
2412 PR gcov-profile/95348
2413 * libgcov-driver.c (merge_one_data): Merge only profiles
2414 that are not of non-zero type.
2415 (write_one_data): Write counters only if there's one non-zero
2417 * libgcov-util.c (tag_function): Change signature from unsigned
2419 (tag_blocks): Likewise.
2420 (tag_arcs): Likewise.
2421 (tag_counters): Likewise.
2422 (tag_summary): Likewise.
2423 (tag_lines): Read only if COUNTERS is non-zero.
2424 (read_gcda_file): Handle negative length for COUNTERS type.
2426 2020-06-25 Martin Liska <mliska@suse.cz>
2428 * libgcov-driver.c (merge_summary): Remove function as its name
2429 is misleading and doing something different.
2430 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
2432 * libgcov-util.c (curr_object_summary): Remove.
2433 (read_gcda_file): Remove unused curr_object_summary.
2434 (gcov_merge): Merge summaries.
2435 * libgcov.h: Add summary argument for gcov_info struct.
2437 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
2440 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
2441 "common/config/i386/i386-cpuinfo.h" and
2442 "common/config/i386/cpuinfo.h".
2443 (__cpu_features2): Changed to array.
2444 (get_amd_cpu): Removed.
2445 (get_intel_cpu): Likewise.
2446 (get_available_features): Likewise.
2447 (__cpu_indicator_init): Call cpu_indicator_init.
2448 * config/i386/cpuinfo.h: Removed.
2450 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
2452 * Makefile.in: Remove uses of empty.mk. Use -include.
2453 * config/avr/t-avr: Use -include.
2456 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
2458 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
2459 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
2460 and 64 bit with -maix64.
2461 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
2462 Build and install AIX-style FAT libraries.
2464 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
2466 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
2468 * config/i386/gnu-unwind.h: New file.
2470 2020-06-17 Martin Liska <mliska@suse.cz>
2472 * libgcov-util.c (read_gcda_finalize): Remove const operator.
2473 (merge_wrapper): Add both counts and use them properly.
2474 (topn_to_memory_representation): New function.
2475 (gcov_merge): Covert on disk representation to in memory
2477 * libgcov.h: Remove const operator.
2479 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
2481 * configure: Regenerate.
2482 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
2483 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
2485 2020-06-09 Martin Liska <mliska@suse.cz>
2487 PR gcov-profile/95494
2488 * libgcov-driver.c (write_top_counters): Cast first to
2489 intptr_t as sizeof(*) != sizeof(gcov_type).
2490 * libgcov.h (gcov_counter_set_if_null): Remove.
2491 (gcov_topn_add_value): Cast first to intptr_t and update
2492 linked list directly.
2494 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
2496 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
2497 with uw_install_context_1.
2499 2020-06-04 Andreas Schwab <schwab@suse.de>
2503 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
2505 (LIB2ADD): Add config/ia64/divtf3.c.
2506 * config/ia64/divtf3.c: New file.
2508 2020-06-03 Martin Liska <mliska@suse.cz>
2510 PR gcov-profile/95480
2511 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
2512 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
2513 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
2514 (gcov_counter_set_if_null): Likewise.
2516 2020-06-02 Jim Wilson <jimw@sifive.com>
2518 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
2521 2020-06-02 Martin Liska <mliska@suse.cz>
2523 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2526 2020-06-02 Martin Liska <mliska@suse.cz>
2528 * libgcov-driver.c (prune_topn_counter): Remove.
2529 (prune_counters): Likewise.
2530 (merge_one_data): Special case TOP N counters
2531 as they have variable length.
2532 (write_top_counters): New.
2533 (write_one_data): Special case TOP N.
2534 (dump_one_gcov): Do not prune TOP N counters.
2535 * libgcov-merge.c (merge_topn_values_set): Remove.
2536 (__gcov_merge_topn): Use gcov_topn_add_value.
2537 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2539 * libgcov.h (gcov_counter_add): New.
2540 (gcov_counter_set_if_null): Likewise.
2541 (gcov_topn_add_value): New.
2543 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
2545 * config/i386/sfp-exceptions.c (struct fenv):
2546 Add __attribute__ ((gcc_struct)).
2548 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
2551 * configure: Regenerated.
2553 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
2555 PR gcov-profile/95332
2556 * libgcov-util.c (read_gcda_file): Call gcov_magic.
2557 * libgcov.h (gcov_magic): Disable GCC poison.
2559 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
2562 * config/i386/cpuinfo.h (processor_features): Move
2563 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2565 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
2568 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2571 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
2575 * config/i386/cpuinfo.c (get_available_features): Fix
2576 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
2577 * config/i386/cpuinfo.h (processor_features): Add
2578 FEATURE_AVX512VP2INTERSECT.
2580 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
2583 * configure: Regenerated.
2585 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
2587 * configure: Regenerated.
2589 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
2591 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2592 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2594 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
2596 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2597 (__math_force_eval_div): New define.
2598 (__sfp_handle_exceptions): Use __math_force_eval_div to use
2599 generic division to generate INVALID, DIVZERO and INEXACT
2602 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2604 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2605 instead of getauxval.
2607 (HWCAP_ATOMICS): Define.
2608 Guard detection on __gnu_linux__.
2610 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
2612 * config.host: Delete changes meant for a private branch.
2613 * config/rs6000/t-float128: Likewise.
2614 * configure.ac: Likewise.
2615 * configure: Likewise.
2617 2020-05-05 Martin Liska <mliska@suse.cz>
2619 PR gcov-profile/93623
2620 * Makefile.in: Remove __gcov_flush.
2621 * gcov.h (__gcov_flush): Remove.
2622 * libgcov-interface.c (__gcov_flush): Remove.
2623 (init_mx): Use renamed mutex.
2624 (__gcov_lock): Likewise.
2625 (__gcov_unlock): Likewise.
2626 (__gcov_fork): Likewise.
2627 (__gcov_flush): Remove.
2629 2020-05-05 Martin Liska <mliska@suse.cz>
2631 PR gcov-profile/93623
2632 * libgcov-interface.c (__gcov_fork): Do not flush
2633 and reset only in child process.
2634 (__gcov_execl): Dump counters only and reset them
2635 only if exec* fails.
2636 (__gcov_execlp): Likewise.
2637 (__gcov_execle): Likewise.
2638 (__gcov_execv): Likewise.
2639 (__gcov_execvp): Likewise.
2640 (__gcov_execve): Likewise.
2642 2020-05-05 Martin Liska <mliska@suse.cz>
2644 PR gcov-profile/93623
2645 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2646 * libgcov-interface.c (ALIAS_void_fn): Remove.
2648 (__gcov_unlock): New.
2649 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2650 (__gcov_reset): Likewise.
2651 (__gcov_dump): Likewise.
2652 * libgcov.h (__gcov_lock): New declaration.
2653 (__gcov_unlock): Likewise.
2655 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
2657 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
2658 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
2659 generic division to generate INVALID and DIVZERO exceptions.
2661 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
2663 * config/rs6000/crtresfpr.S: Use .machine ppc.
2664 * config/rs6000/crtresxfpr.S: Likewise.
2665 * config/rs6000/crtsavfpr.S: Likewise.
2667 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2670 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2671 Update context->flags accroding to the frame state.
2673 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
2675 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2676 Remove unneeded assignments to volatile memory.
2678 2020-04-15 Jakub Jelinek <jakub@redhat.com>
2681 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2682 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2683 is not defined, use just .arch armv8-a.
2684 (B, M, N, OPN): Define.
2685 (COMMENT): New .macro.
2686 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2687 defined. Otherwise, move the operands right after the glue? and
2688 comment out operands where the macros are used.
2689 * configure: Regenerated.
2690 * config.in: Regenerated.
2692 2020-04-07 Ian Lance Taylor <iant@golang.org>
2695 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2698 2020-04-04 Ian Lance Taylor <iant@golang.org>
2700 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2702 2020-04-03 Ian Lance Taylor <iant@golang.org>
2704 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2705 than mmap/munmap, to avoid hooks.
2707 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
2709 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2710 (TPFRA_OFFSET): Macros removed.
2711 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2712 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2713 (PG3_SKIPPING_OFFSET): New macros.
2714 (__isPATrange): Use cinfc_fast for the check.
2715 (__isSkipResetAddr): New function.
2716 (s390_fallback_frame_state): Check for skip trace addresses. Use
2717 either ICST_CRET or ICST_SRET to calculate return address
2719 (__tpf_eh_return): Handle skip trace addresses.
2721 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
2724 * config/arm/lib1funcs.asm (COND): Use a single definition for
2726 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2727 (aeabi_idivmod): Likewise.
2728 (divsi3_skip_div0_test): Likewise.
2730 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
2732 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2734 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
2736 * config.host: Include the new makefile fragment.
2737 * config/s390/t-tpf: New file.
2739 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
2741 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2743 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2744 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2745 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
2746 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
2747 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
2749 (divsi3, modsi3): Likewise.
2750 (clzdi2, ctzsi2): Likewise.
2751 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
2753 (UNWIND_WRAPPER): Likewise.
2755 2020-03-02 Martin Liska <mliska@suse.cz>
2757 * libgcov-interface.c: Remove duplicate
2758 declaration of __gcov_flush_mx.
2760 2020-02-18 Martin Liska <mliska@suse.cz>
2763 * libgcov-merge.c (merge_topn_values_set): Record
2764 when a TOP N counter becomes invalid. When merging
2765 remove a smallest value if the space is needed.
2767 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
2772 * configure: Regenerated.
2774 2020-02-10 Jeff Law <law@redhat.com>
2776 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
2778 * config/frv/frvend.c: Similarly.
2780 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
2783 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2786 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
2789 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
2790 _Unwind_gnu_Find_got.
2791 * unwind-pe.h: Likewise.
2793 2020-02-07 Jakub Jelinek <jakub@redhat.com>
2796 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
2797 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
2798 trailing :s in asm. Formatting fixes.
2799 (_Unwind_decode_typeinfo_ptr): Adjust caller.
2801 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
2803 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
2805 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
2806 * config/nios2-elf-lib.h: New.
2807 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
2808 code for finding GOT base for nios2.
2810 2020-01-27 Martin Liska <mliska@suse.cz>
2812 PR gcov-profile/93403
2813 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
2814 Call __gcov_indirect_call_profiler_body.
2815 (__gcov_indirect_call_profiler_body): New.
2816 (__gcov_indirect_call_profiler_v4_atomic): New.
2817 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
2820 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
2822 * config/arc/crti.S: Add RF16 object attribute.
2823 * config/arc/crtn.S: Likewise.
2824 * config/arc/crttls.S: Likewise.
2825 * config/arc/lib1funcs.S: Likewise.
2826 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
2827 * config/arc/lib2funcs.c: New file.
2828 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
2830 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
2832 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
2833 * configure.ac: Handle `--with-toolexeclibdir='.
2834 * configure: Regenerate.
2836 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2838 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
2840 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2842 * config/mips/gnustack.h: New file.
2843 * config/mips/crti.S: Include gnustack.h.
2844 * config/mips/crtn.S: Likewise.
2845 * config/mips/mips16.S: Likewise.
2846 * config/mips/vr4120-div.S: Likewise.
2848 2020-01-23 Martin Liska <mliska@suse.cz>
2850 * libgcov-driver.c (prune_topn_counter): Remove
2851 check for -1 as we only prune run-time counters
2852 that do not generate an invalid state.
2854 2020-01-22 Martin Liska <mliska@suse.cz>
2856 PR tree-optimization/92924
2857 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
2858 try to find an existing value, then find an empty slot
2861 2020-01-22 Martin Liska <mliska@suse.cz>
2863 PR tree-optimization/92924
2864 * libgcov-driver.c (prune_topn_counter): New.
2865 (prune_counters): Likewise.
2866 (dump_one_gcov): Prune a run-time counter.
2867 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2868 For a known value, add GCOV_TOPN_VALUES to value.
2869 Otherwise, decrement all counters by one.
2871 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
2873 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
2875 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
2878 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
2879 DEFAULT_USE_CXA_ATEXIT is true.
2881 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
2882 Thomas Preud'homme <thomas.preudhomme@arm.com>
2884 * config/arm/t-arm: Check return value of gcc rather than lack of
2887 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
2889 * config/avr/lib1funcs.S (skip): Simplify.
2891 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
2893 * config/gcn/atomic.c: Remove include of stdint.h.
2894 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
2897 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
2899 * config/gcn/atomic.c: New.
2900 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
2902 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
2904 Implement 64-bit double functions.
2907 * config.host (tmake_file) [target=avr]: Add t-libf7,
2908 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
2909 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
2910 depending on sizeof (double) or sizeof (long double).
2911 * config/avr/libf7: New folder.
2913 2020-01-05 Olivier Hainque <hainque@adacore.com>
2915 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
2918 2020-01-01 Jakub Jelinek <jakub@redhat.com>
2920 Update copyright years.
2922 2019-12-30 Olivier Hainque <hainque@adacore.com>
2924 * config/gthr-vxworks.h: Use _vxworks-versions.h.
2925 * config/gthr-vxworks-tls.c: Likewise.
2927 2019-12-30 Olivier Hainque <hainque@adacore.com>
2929 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
2930 standard zero-initializer syntax.
2932 2019-12-30 Olivier Hainque <hainque@adacore.com>
2934 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
2935 reference to the internal VX_GET_TLS_DATA interface.
2937 2019-12-30 Olivier Hainque <hainque@adacore.com>
2939 * config/vxcrtstuff.c: Fix incorrect spelling of
2940 USE_INITFINI_ARRAY in guard.
2942 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2944 * config.host: s/msp430*-*-elf/msp430-*-elf*.
2945 Override default "extra_parts" variable.
2946 * configure: Regenerate.
2947 * configure.ac: Disable TM clone registry by default for
2950 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2952 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
2954 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
2956 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2958 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
2961 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2963 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
2964 defined instead of its value.
2966 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2968 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
2969 if it will have contents.
2971 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
2974 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
2976 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
2979 * config.host: Add t-gthr-noweak on *-*-musl*.
2980 * config/t-gthr-noweak: New file.
2982 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
2984 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
2985 volatile void *. Remove trap check.
2986 (__kernel_cmpxchg2): Likewise.
2987 (FETCH_AND_OP_2): Adjust operand types.
2988 (OP_AND_FETCH_2): Likewise.
2989 (FETCH_AND_OP_WORD): Likewise.
2990 (OP_AND_FETCH_WORD): Likewise.
2991 (COMPARE_AND_SWAP_2): Likewise.
2992 (__sync_val_compare_and_swap_4): Likewise.
2993 (__sync_bool_compare_and_swap_4): Likewise.
2994 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2995 (__sync_lock_test_and_set_4): Likewise.
2996 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
2997 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
2999 (__sync_lock_release_8): Remove.
3001 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
3003 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
3006 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
3007 Doug Rupp <rupp@adacore.com>
3008 Olivier Hainque <hainque@adacore.com>
3010 * config.host: Collapse the arm-vxworks entries into
3011 a single arm-wrs-vxworks7* one.
3012 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
3013 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
3014 kernel modules, to be overriden by libstdc++ when we link with
3015 it. Rely on externally provided __exidx_start/end.
3017 2019-11-14 Doug Rupp <rupp@adacore.com>
3018 Olivier Hainque <hainque@adacore.com>
3020 * config.host: Handle aarch64*-wrs-vxworks7*.
3022 2019-11-12 Olivier Hainque <hainque@adacore.com>
3024 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
3025 sources except the cxx0x support to LIB2ADDEH. We don't support
3027 * config/t-vxworksae: New file.
3028 * config.host: Handle *-*-vxworksae: Add the two aforementioned
3029 Makefile fragment files at their expected position in the tmake_file
3030 list, in accordance with what is done for other VxWorks variants.
3032 2019-11-12 Corentin Gay <gay@adacore.com>
3033 Jerome Lambourg <lambourg@adacore.com>
3034 Olivier Hainque <hainque@adacore.com>
3036 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
3037 sources to LIB2ADDEH.
3038 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
3039 * config/t-vxworks7: Likewise.
3041 * config.host: Append a block at the end of the file to add the
3042 t-gthr files to the tmake_file list for VxWorks after everything
3045 * config/vxlib.c: Rename as gthr-vxworks.c.
3046 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
3048 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
3049 API and a basic error checking API, both internal. Simplify the
3050 __gthread_once_t type definition and initializers. Add sections
3051 for condition variables support and for the C++0x thread support,
3052 conditioned against Vx653 for the latter.
3054 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
3055 implementation, leveraging the TAS internal API.
3056 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
3057 API, leveraging the general availability of TLS services in VxWorks7
3059 (__gthread_setspecific, __gthread_setspecific): Use it.
3060 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
3061 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
3062 support based on VxWorks primitives.
3063 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
3064 based on VxWorks primitives.
3066 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
3067 Olivier Hainque <hainque@adacore.com>
3069 * config/vxcrtstuff.c: New file.
3070 * config/t-vxcrtstuff: New Makefile fragment.
3071 * config.host: Append t-vxcrtstuff to the tmake_file list
3072 on all VxWorks ports using dwarf for table based EH.
3074 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
3076 Support 64-bit double and 64-bit long double configurations.
3079 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
3080 long double is a 32-bit type.
3081 * config/avr/t-avrlibc: Copy double64 and long-double64
3082 multilib(s) from the vanilla one.
3083 * config/avr/t-copy-libgcc: New Makefile snip.
3085 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3087 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
3088 the target output object format is not ELF.
3089 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
3091 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
3094 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
3095 * fp-bit.c (pack_d, unpack_d): Remove special cases for
3096 FLOAT_BIT_ORDER_MISMATCH.
3097 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
3099 2019-11-01 Jim Wilson <jimw@sifive.com>
3101 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
3103 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3105 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
3106 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
3107 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
3108 Define symbols for 32-bit and f5series hardware multiply
3110 Replace hard-coded register addresses with symbols.
3111 Fix "_mspabi*" typo.
3113 * config/msp430/lib2mul.c: Add comment.
3115 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
3117 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
3118 unsigned int. Adjust callers.
3119 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
3120 unsigned int *. Load relocation offset before function pointer.
3121 Add barrier to ensure ordering.
3123 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
3125 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
3126 Load PIC register after branch target. Fix white space.
3127 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
3128 implementations. Load PIC register after branch target. Don't
3129 clobber function pointer when it points to function descriptor.
3130 Use nullification instead of branch in LINUX implementation.
3132 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
3134 * config/pa/fptr.c: Disable -Warray-bounds warning.
3136 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
3138 * config.in, configure: Re-rebuild with stock autoconf 2.69,
3139 not the ubuntu modified 2.69.
3142 * config/aarch64/lse-init.c: Include auto-target.h. Disable
3143 initialization if !HAVE_SYS_AUXV_H.
3144 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
3145 * config.in, configure: Rebuild.
3148 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
3151 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
3153 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
3154 CTR_EL0.IDC and CTR_EL0.DIC.
3156 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
3159 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3160 Mickaël Guêné <mickael.guene@st.com>
3162 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3165 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
3167 * config/aarch64/lse-init.c: New file.
3168 * config/aarch64/lse.S: New file.
3169 * config/aarch64/t-lse: New file.
3170 * config.host: Add t-lse to all aarch64 tuples.
3172 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3173 Mickaël Guêné <mickael.guene@st.com>
3175 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3178 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3179 Mickaël Guêné <mickael.guene@st.com>
3181 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
3182 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
3183 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
3184 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
3185 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
3186 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
3187 (__gnu_personality_sigframe_fdpic): New.
3188 (get_eit_entry): Add FDPIC signal frame support.
3190 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3191 Mickaël Guêné <mickael.guene@st.com>
3193 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
3194 (__kernel_dmb): Likewise.
3195 (__fdpic_cmpxchg): New function.
3196 (__fdpic_dmb): New function.
3197 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
3198 (gnu_Unwind_Find_got): New function.
3199 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
3200 * unwind-arm-common.inc (UCB_PR_GOT): New.
3201 (funcdesc_t): New struct.
3202 (get_eit_entry): Add FDPIC support.
3203 (unwind_phase2): Likewise.
3204 (unwind_phase2_forced): Likewise.
3205 (__gnu_Unwind_RaiseException): Likewise.
3206 (__gnu_Unwind_Resume): Likewise.
3207 (__gnu_Unwind_Backtrace): Likewise.
3208 * unwind-pe.h (read_encoded_value_with_base): Likewise.
3210 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3211 Mickaël Guêné <mickael.guene@st.com>
3213 * libgcc/crtstuff.c: Add support for FDPIC.
3215 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3217 * config.host: Handle *-*-uclinuxfdpiceabi.
3219 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
3221 * config.host: Set cpu_type for bpf-*-* targets.
3222 * config/bpf/t-bpf: Likewise.
3223 * config/bpf/crtn.S: Likewise.
3224 * config/bpf/crti.S: New file.
3226 2019-09-06 Jim Wilson <jimw@sifive.com>
3228 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3229 (riscv*-*-freebsd*): Likewise.
3231 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
3233 * config.host: Remove references to spu.
3234 * config/spu/: Remove directory.
3236 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3239 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
3240 element type, instead of "sizeof" the element type.
3241 (__DTOR_LIST__): Likewise.
3242 (__TMC_LIST__): Likewise.
3243 (__do_global_dtors_aux_fini_array_entry): Likewise.
3244 (__frame_dummy_init_array_entry): Likewise.
3245 (__CTOR_END__): Likewise.
3246 (__DTOR_END__): Likweise.
3247 (__FRAME_END__): Likewise.
3248 (__TMC_END__): Likewise.
3250 2019-08-20 Lili Cui <lilicui@intel.com>
3252 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
3253 INTEL_COREI7_COOPERLAKE.
3255 2019-07-31 Matt Thomas <matt@3am-software.com>
3256 Nick Hudson <nick@nthcliff.demon.co.uk>
3257 Matthew Green <mrg@eterna.com.au>
3258 Maya Rashish <coypu@sdf.org>
3260 * config.host (hppa*-*-netbsd*): New case.
3261 * config/pa/t-netbsd: New file.
3263 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
3265 * config/arm/cmse.c (cmse_check_address_range): Add
3266 warn_unused_result attribute.
3268 2019-07-22 Martin Liska <mliska@suse.cz>
3270 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
3271 * config/pa/t-stublib: Likewise.
3273 2019-07-22 Stafford Horne <shorne@gmail.com>
3276 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
3277 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
3278 instructions are not available on every processor. Change a
3279 l.bnf to l.bf to fix logic issue.
3281 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
3283 * config.host: Remove reference to t-darwin8.
3285 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
3287 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
3289 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
3290 mmacosx-version-min for crts to run across all system versions.
3291 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
3292 * config/t-darwin: Revise mmacosx-version-min for crts to run across
3293 system versions >= 10.4.
3295 2019-07-03 Martin Liska <mliska@suse.cz>
3297 * Makefile.in: Use topn_values instead of one_value names.
3298 * libgcov-merge.c (__gcov_merge_single): Move to ...
3299 (__gcov_merge_topn): ... this.
3300 (merge_single_value_set): Move to ...
3301 (merge_topn_values_set): ... this.
3302 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
3304 (__gcov_topn_values_profiler_body): ... this.
3305 (__gcov_one_value_profiler_v2): Move to ...
3306 (__gcov_topn_values_profiler): ... this.
3307 (__gcov_one_value_profiler_v2_atomic): Move to ...
3308 (__gcov_topn_values_profiler_atomic): ... this.
3309 (__gcov_indirect_call_profiler_v4): Remove.
3310 * libgcov-util.c (__gcov_single_counter_op): Move to ...
3311 (__gcov_topn_counter_op): ... this.
3312 * libgcov.h (L_gcov_merge_single): Remove.
3313 (L_gcov_merge_topn): New.
3314 (__gcov_merge_single): Remove.
3315 (__gcov_merge_topn): New.
3316 (__gcov_one_value_profiler_v2): Move to ..
3317 (__gcov_topn_values_profiler): ... this.
3318 (__gcov_one_value_profiler_v2_atomic): Move to ...
3319 (__gcov_topn_values_profiler_atomic): ... this.
3321 2019-07-03 Martin Liska <mliska@suse.cz>
3323 * libgcov-merge.c (merge_single_value_set): Support N values.
3324 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
3326 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
3328 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
3329 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
3330 * configure.ac: Add --disable-tm-clone-registry option.
3331 * configure: Regenerate.
3333 2019-06-27 Martin Liska <mliska@suse.cz>
3335 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
3337 * libgcov-util.c: Likewise.
3339 2019-06-27 Martin Liska <mliska@suse.cz>
3341 * libgcov-util.c (gcov_profile_merge): Release allocated
3343 (calculate_overlap): Likewise.
3345 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
3347 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
3348 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
3349 Build objects for the out of line save/restore register functions
3350 so that they can be used for any supported Darwin version.
3351 * config/t-darwin: Default the build Darwin version to Darwin8
3354 2019-06-25 Martin Liska <mliska@suse.cz>
3356 * libgcov-driver-system.c (replace_filename_variables): Do not
3357 call strlen with NULL argument.
3359 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
3361 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
3362 * config/gcn/unwind-gcn.c: New file.
3364 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
3365 Andrew Stubbs <ams@codesourcery.com>
3367 * configure: Regenerate.
3368 * config/gcn/gthr-gcn.h: New.
3370 2019-06-18 Tom de Vries <tdevries@suse.de>
3372 * config/nvptx/crt0.c (__main): Declare.
3374 2019-06-17 Matthew Green <mrg@eterna.com.au>
3375 Maya Rashish <coypu@sdf.org>
3377 * config.host (aarch64*-*-netbsd*): New case.
3379 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3381 * config/msp430/slli.S (__mspabi_sllll): New library function for
3382 performing a logical left shift of a 64-bit value.
3383 * config/msp430/srai.S (__mspabi_srall): New library function for
3384 performing a arithmetic right shift of a 64-bit value.
3385 * config/msp430/srll.S (__mspabi_srlll): New library function for
3386 performing a logical right shift of a 64-bit value.
3388 2019-06-14 Matt Thomas <matt@3am-software.com>
3389 Matthew Green <mrg@eterna.com.au>
3390 Nick Hudson <skrll@netbsd.org>
3391 Maya Rashish <coypu@sdf.org>
3393 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
3394 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
3396 * config/arm/t-netbsd-eabi: New file.
3398 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
3400 * config.host: Add PRU target.
3401 * config/pru/asri.c: New file.
3402 * config/pru/eqd.c: New file.
3403 * config/pru/eqf.c: New file.
3404 * config/pru/ged.c: New file.
3405 * config/pru/gef.c: New file.
3406 * config/pru/gtd.c: New file.
3407 * config/pru/gtf.c: New file.
3408 * config/pru/led.c: New file.
3409 * config/pru/lef.c: New file.
3410 * config/pru/lib2bitcountHI.c: New file.
3411 * config/pru/lib2divHI.c: New file.
3412 * config/pru/lib2divQI.c: New file.
3413 * config/pru/lib2divSI.c: New file.
3414 * config/pru/libgcc-eabi.ver: New file.
3415 * config/pru/ltd.c: New file.
3416 * config/pru/ltf.c: New file.
3417 * config/pru/mpyll.S: New file.
3418 * config/pru/pru-abi.h: New file.
3419 * config/pru/pru-asm.h: New file.
3420 * config/pru/pru-divmod.h: New file.
3421 * config/pru/sfp-machine.h: New file.
3422 * config/pru/t-pru: New file.
3424 2019-06-11 Jakub Jelinek <jakub@redhat.com>
3426 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
3428 2019-06-10 Martin Liska <mliska@suse.cz>
3431 * libgcov.h: Add ATTRIBUTE_UNUSED.
3433 2019-06-10 Martin Liska <mliska@suse.cz>
3435 * Makefile.in: Add __gcov_one_value_profiler_v2,
3436 __gcov_one_value_profiler_v2_atomic and
3437 __gcov_indirect_call_profiler_v4.
3438 * libgcov-merge.c (__gcov_merge_single): Change
3440 (merge_single_value_set): New.
3441 * libgcov-profiler.c (__gcov_one_value_profiler_body):
3442 Update functionality.
3443 (__gcov_one_value_profiler): Remove.
3444 (__gcov_one_value_profiler_v2): ... this.
3445 (__gcov_one_value_profiler_atomic): Rename to ...
3446 (__gcov_one_value_profiler_v2_atomic): this.
3447 (__gcov_indirect_call_profiler_v3): Rename to ...
3448 (__gcov_indirect_call_profiler_v4): ... this.
3449 * libgcov.h (__gcov_one_value_profiler): Remove.
3450 (__gcov_one_value_profiler_atomic): Remove.
3451 (__gcov_one_value_profiler_v2_atomic): New.
3452 (__gcov_indirect_call_profiler_v3): Remove.
3453 (__gcov_one_value_profiler_v2): New.
3454 (__gcov_indirect_call_profiler_v4): New.
3455 (gcov_get_counter_ignore_scaling): New function.
3457 2019-06-07 Martin Liska <mliska@suse.cz>
3459 * Makefile.in: Remove usage of
3460 _gcov_merge_icall_topn.
3461 * libgcov-driver.c (gcov_sort_n_vals): Remove.
3462 (gcov_sort_icall_topn_counter): Likewise.
3463 (gcov_sort_topn_counter_arrays): Likewise.
3464 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
3465 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
3466 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
3468 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
3469 (struct indirect_call_tuple): Remove.
3470 (__gcov_indirect_call_topn_profiler): Remove.
3471 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
3472 * libgcov.h (gcov_sort_n_vals): Remove.
3473 (L_gcov_merge_icall_topn): Likewise.
3474 (__gcov_merge_icall_topn): Likewise.
3475 (__gcov_indirect_call_topn_profiler): Likewise.
3477 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
3479 * config/rs6000/t-darwin: Ensure that the unwinder is built with
3482 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3484 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
3486 (__mspabi_slli): Likewise.
3487 (__mspabi_slll_n): Likewise.
3488 (__mspabi_slll): Likewise.
3489 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
3490 (__mspabi_srai): Likewise.
3491 (__mspabi_sral_n): Likewise.
3492 (__mspabi_sral): Likewise.
3493 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
3494 (__mspabi_srli): Likewise.
3495 (__mspabi_srll_n): Likewise.
3496 (__mspabi_srll): Likewise.
3498 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
3500 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
3501 Add appropriate tm_file clause as well.
3502 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
3504 2019-06-05 James Clarke <jrtc27@jrtc27.com>
3506 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
3507 rather than .data/.bss so it can be accessed via gp-relative
3510 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
3512 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
3513 (CR2_REGNO): Rename to R_CR2.
3514 (XER_REGNO): Rename to R_XER.
3515 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
3516 (VRSAVE_REGNO): Rename to R_VRSAVE.
3517 (VSCR_REGNO): R_VSCR.
3519 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
3521 * config.host (rx-*-linux*): Add new case.
3522 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3524 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
3526 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3528 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3529 aarch64_post_frob_eh_handler_addr): Add check for b-key.
3530 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3531 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3532 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3533 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3535 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3537 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3539 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3541 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3542 Remove Solaris 9 and 10 support.
3543 (sparc_is_sighandler): Likewise.
3545 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
3547 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3549 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
3551 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3552 4_FP_W_TYPEs are used for IEEE quad precision.
3553 * soft-fp/extendhftf2.c: Likewise.
3554 * soft-fp/extendsftf2.c: Likewise.
3555 * soft-fp/extendxftf2.c: Likewise.
3556 * soft-fp/trunctfdf2.c: Likewise.
3557 * soft-fp/trunctfhf2.c: Likewise.
3558 * soft-fp/trunctfsf2.c: Likewise.
3559 * soft-fp/trunctfxf2.c: Likewise.
3560 * config/rs6000/ibm-ldouble.c: Likewise.
3562 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3564 * config.host: Simplify various *-*-solaris2.1[0-9]* to
3566 * configure.ac: Likewise.
3567 * configure: Regenerate.
3569 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3570 Solaris 10 and Solaris 11 < snv_125 handling.
3572 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
3574 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3576 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
3578 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3579 * config/i386/cpuinfo.h (enum processor_features): Add
3582 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3583 Bernd Edlinger <bernd.edlinger@hotmail.de>
3584 Jakub Jelinek <jakub@redhat.com>
3587 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3588 * config/arm/unwind-arm.c: Likewise.
3589 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3592 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
3594 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3595 (RT_SIGRETURN): Update.
3596 (nds32_fallback_frame_state): Update.
3598 2019-02-21 Martin Sebor <msebor@redhat.com>
3600 * libgcc2.h (__clear_cache): Correct signature.
3601 * libgcc2.c (__clear_cache): Same.
3603 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
3605 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3606 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3608 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
3610 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3611 regno instead of index to DWARF_ZERO_REG.
3613 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
3615 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3616 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3618 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
3620 * config/alpha/t-linux: Add -mfp-rounding-mode=d
3621 to HOST_LIBGCC2_CFLAGS.
3623 2019-01-23 Joseph Myers <joseph@codesourcery.com>
3626 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
3628 2019-01-18 Martin Liska <mliska@suse.cz>
3630 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3632 (__gcov_indirect_call_profiler_v3): ... this.
3633 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3634 (__gcov_indirect_call_profiler_v3): Likewise.
3635 * Makefile.in: Bump function name.
3637 2019-01-18 Martin Liska <mliska@suse.cz>
3639 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3640 (gcov_version): Use in gcov_error.
3641 (merge_one_data): Likewise.
3642 (dump_one_gcov): Likewise.
3644 2019-01-18 Martin Liska <mliska@suse.cz>
3646 * libgcov-driver.c (gcov_version_string): New function.
3647 (gcov_version): Convert version integer into string.
3649 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
3650 Kwok Cheung Yeung <kcy@codesourcery.com>
3651 Julian Brown <julian@codesourcery.com>
3652 Tom de Vries <tom@codesourcery.com>
3654 * config.host: Recognize amdgcn*-*-amdhsa.
3655 * config/gcn/crt0.c: New file.
3656 * config/gcn/lib2-divmod-hi.c: New file.
3657 * config/gcn/lib2-divmod.c: New file.
3658 * config/gcn/lib2-gcn.h: New file.
3659 * config/gcn/sfp-machine.h: New file.
3660 * config/gcn/t-amdgcn: New file.
3662 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
3666 * config/c6x/libunwind.S: Mechanically replace "can not" with
3668 * config/tilepro/atomic.h: Likewise.
3669 * config/vxlib-tls.c: Likewise.
3670 * generic-morestack-thread.c: Likewise.
3671 * generic-morestack.c: Likewise.
3672 * mkmap-symver.awk: Likewise.
3674 2019-01-01 Jakub Jelinek <jakub@redhat.com>
3676 Update copyright years.
3678 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3680 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3681 to ignore -Waddress-of-packed-member.
3683 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
3685 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3686 parameter and corresponding code.
3687 (ARM_FUNC_START): Likewise in both definitions.
3688 Also update footer comment about condition that need to match with
3689 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3690 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3691 defined. Weakly define it in this case.
3692 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3693 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3694 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3695 comment to keep condition in sync with the one in
3696 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3698 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
3700 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3701 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3703 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3705 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3706 and .cfi_endproc directives for VxWorks targets.
3708 2018-12-05 Paul Koning <ni1d@arrl.net>
3710 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3712 2018-11-27 Alan Modra <amodra@gmail.com>
3714 * config/rs6000/morestack.S (__stack_split_initialize),
3715 (__morestack_get_guard, __morestack_set_guard),
3716 (__morestack_make_guard): Provide CFI covering these functions.
3717 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3719 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3721 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
3722 (sc_pt_regs_lr): Update for kernel.
3723 (sc_pt_regs_tls): Update for kernel.
3725 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3727 * config/csky/linux-unwind.h: Fix coding style.
3729 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
3731 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
3732 (csky_fallback_frame_state): Modify the check of the
3733 instructions to adapt to changes in the kernel
3735 2018-11-09 Stafford Horne <shorne@gmail.com>
3736 Richard Henderson <rth@twiddle.net>
3738 * config.host: Add OpenRISC support.
3739 * config/or1k/*: New.
3741 2018-11-08 Kito Cheng <kito@andestech.com>
3743 * soft-fp/adddf3.c: Update from glibc.
3744 * soft-fp/addsf3.c: Likewise.
3745 * soft-fp/addtf3.c: Likewise.
3746 * soft-fp/divdf3.c: Likewise.
3747 * soft-fp/divsf3.c: Likewise.
3748 * soft-fp/divtf3.c: Likewise.
3749 * soft-fp/double.h: Likewise.
3750 * soft-fp/eqdf2.c: Likewise.
3751 * soft-fp/eqsf2.c: Likewise.
3752 * soft-fp/eqtf2.c: Likewise.
3753 * soft-fp/extenddftf2.c: Likewise.
3754 * soft-fp/extended.h: Likewise.
3755 * soft-fp/extendhftf2.c: Likewise.
3756 * soft-fp/extendsfdf2.c: Likewise.
3757 * soft-fp/extendsftf2.c: Likewise.
3758 * soft-fp/extendxftf2.c: Likewise.
3759 * soft-fp/fixdfdi.c: Likewise.
3760 * soft-fp/fixdfsi.c: Likewise.
3761 * soft-fp/fixdfti.c: Likewise.
3762 * soft-fp/fixhfti.c: Likewise.
3763 * soft-fp/fixsfdi.c: Likewise.
3764 * soft-fp/fixsfsi.c: Likewise.
3765 * soft-fp/fixsfti.c: Likewise.
3766 * soft-fp/fixtfdi.c: Likewise.
3767 * soft-fp/fixtfsi.c: Likewise.
3768 * soft-fp/fixtfti.c: Likewise.
3769 * soft-fp/fixunsdfdi.c: Likewise.
3770 * soft-fp/fixunsdfsi.c: Likewise.
3771 * soft-fp/fixunsdfti.c: Likewise.
3772 * soft-fp/fixunshfti.c: Likewise.
3773 * soft-fp/fixunssfdi.c: Likewise.
3774 * soft-fp/fixunssfsi.c: Likewise.
3775 * soft-fp/fixunssfti.c: Likewise.
3776 * soft-fp/fixunstfdi.c: Likewise.
3777 * soft-fp/fixunstfsi.c: Likewise.
3778 * soft-fp/fixunstfti.c: Likewise.
3779 * soft-fp/floatdidf.c: Likewise.
3780 * soft-fp/floatdisf.c: Likewise.
3781 * soft-fp/floatditf.c: Likewise.
3782 * soft-fp/floatsidf.c: Likewise.
3783 * soft-fp/floatsisf.c: Likewise.
3784 * soft-fp/floatsitf.c: Likewise.
3785 * soft-fp/floattidf.c: Likewise.
3786 * soft-fp/floattihf.c: Likewise.
3787 * soft-fp/floattisf.c: Likewise.
3788 * soft-fp/floattitf.c: Likewise.
3789 * soft-fp/floatundidf.c: Likewise.
3790 * soft-fp/floatundisf.c: Likewise.
3791 * soft-fp/floatunditf.c: Likewise.
3792 * soft-fp/floatunsidf.c: Likewise.
3793 * soft-fp/floatunsisf.c: Likewise.
3794 * soft-fp/floatunsitf.c: Likewise.
3795 * soft-fp/floatuntidf.c: Likewise.
3796 * soft-fp/floatuntihf.c: Likewise.
3797 * soft-fp/floatuntisf.c: Likewise.
3798 * soft-fp/floatuntitf.c: Likewise.
3799 * soft-fp/gedf2.c: Likewise.
3800 * soft-fp/gesf2.c: Likewise.
3801 * soft-fp/getf2.c: Likewise.
3802 * soft-fp/half.h: Likewise.
3803 * soft-fp/ledf2.c: Likewise.
3804 * soft-fp/lesf2.c: Likewise.
3805 * soft-fp/letf2.c: Likewise.
3806 * soft-fp/muldf3.c: Likewise.
3807 * soft-fp/mulsf3.c: Likewise.
3808 * soft-fp/multf3.c: Likewise.
3809 * soft-fp/negdf2.c: Likewise.
3810 * soft-fp/negsf2.c: Likewise.
3811 * soft-fp/negtf2.c: Likewise.
3812 * soft-fp/op-1.h: Likewise.
3813 * soft-fp/op-2.h: Likewise.
3814 * soft-fp/op-4.h: Likewise.
3815 * soft-fp/op-8.h: Likewise.
3816 * soft-fp/op-common.h: Likewise.
3817 * soft-fp/quad.h: Likewise.
3818 * soft-fp/single.h: Likewise.
3819 * soft-fp/soft-fp.h: Likewise.
3820 * soft-fp/subdf3.c: Likewise.
3821 * soft-fp/subsf3.c: Likewise.
3822 * soft-fp/subtf3.c: Likewise.
3823 * soft-fp/truncdfsf2.c: Likewise.
3824 * soft-fp/trunctfdf2.c: Likewise.
3825 * soft-fp/trunctfhf2.c: Likewise.
3826 * soft-fp/trunctfsf2.c: Likewise.
3827 * soft-fp/trunctfxf2.c: Likewise.
3828 * soft-fp/unorddf2.c: Likewise.
3829 * soft-fp/unordsf2.c: Likewise.
3830 * soft-fp/unordtf2.c: Likewise.
3832 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
3834 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
3835 * config/i386/cpuinfo.h (processor_types): Add znver2.
3837 2018-11-01 Paul Koning <ni1d@arrl.net>
3839 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
3840 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
3842 2018-10-31 Joseph Myers <joseph@codesourcery.com>
3845 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
3846 * configure: Regenerate.
3848 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
3850 * config/arc/lib1funcs.S (_muldi3): New function.
3851 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
3853 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3855 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
3857 2018-10-25 Martin Liska <mliska@suse.cz>
3860 * libgcov-profiler.c: Revert.
3862 2018-10-24 Martin Liska <mliska@suse.cz>
3864 * libgcov-profiler.c: Start from 1 in order to distinguish
3865 functions which were seen and these that were not.
3867 2018-10-18 Paul Koning <ni1d@arrl.net>
3869 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
3871 * divmod.c: Update references to __udivmodsi4.
3873 * udivhi3.c: New file.
3874 * udivmodhi4.c: New file.
3875 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
3877 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3879 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
3881 2018-10-12 Olivier Hainque <hainque@adacore.com>
3883 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
3884 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
3886 2018-10-08 Paul Koning <ni1d@arrl.net>
3888 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
3890 2018-10-04 Martin Liska <mliska@suse.cz>
3892 PR gcov-profile/84107
3893 * libgcov-profiler.c (__gcov_indirect_call):
3894 Change type to indirect_call_tuple.
3895 (struct indirect_call_tuple): New struct.
3896 (__gcov_indirect_call_topn_profiler): Change type.
3897 (__gcov_indirect_call_profiler_v2): Use the new
3899 * libgcov.h (struct indirect_call_tuple): New struct
3902 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
3904 * libgcc2.c (isnan): Use __builtin_isnan.
3905 (isfinite): Use __builtin_isfinite.
3906 (isinf): Use __builtin_isinf.
3908 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
3910 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
3912 2018-09-21 Alexandre Oliva <oliva@adacore.com>
3914 * config/vxcache.c: New file. Provide __clear_cache, based on
3915 the cacheTextUpdate VxWorks service.
3916 * config/t-vxworks (LIB2ADD): Add vxcache.c.
3917 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
3918 * config/t-vxwoks7: Likewise.
3920 2018-09-21 Martin Liska <mliska@suse.cz>
3922 * libgcov-driver.c (crc32_unsigned): Remove.
3923 (gcov_histogram_insert): Likewise.
3924 (gcov_compute_histogram): Likewise.
3925 (compute_summary): Simplify rapidly.
3926 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
3927 (merge_summary): Rapidly simplify.
3928 (dump_one_gcov): Ignore gcov_summary.
3929 (gcov_do_dump): Do not handle program summary, it's not
3931 * libgcov-util.c (tag_summary): Remove.
3932 (read_gcda_finalize): Fix coding style.
3933 (read_gcda_file): Initialize curr_object_summary.
3934 (compute_summary): Remove.
3935 (calculate_overlap): Remove settings of run_max.
3937 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
3939 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
3940 ucontext_t type instead.
3941 (nds32_fallback_frame_state): Remove struct _sigframe statement.
3943 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
3945 * config/nds32/t-nds32-glibc: New file.
3947 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3949 * configure.ac (solaris_ld_v2_maps): New test.
3950 * configure: Regenerate.
3951 * Makefile.in (solaris_ld_v2_maps): New variable.
3952 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
3955 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
3958 * config/arm/lib1funcs.asm (speculation_barrier): New function.
3959 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
3962 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
3964 * config/unwind-dw2-fde-darwin.c
3965 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
3966 * config/darwin10-unwind-find-enc-func.c: … to here.
3967 * config/t-darwin: Build Darwin10 unwinder shim crt.
3968 * libgcc/config.host: Add the Darwin10 unwinder shim.
3970 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3972 * config.host: Add crtbegin.o and crtend.o for
3973 powerpc-wrs-vxworks target.
3975 2018-08-17 Jojo <jijie_rong@c-sky.com>
3976 Huibin Wang <huibin_wang@c-sky.com>
3977 Sandra Loosemore <sandra@codesourcery.com>
3978 Chung-Lin Tang <cltang@codesourcery.com>
3982 * config.host: Add C-SKY support.
3983 * config/csky/*: New.
3985 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
3987 * config/nds32/t-nds32-isr: Rearrange object dependency.
3988 * config/nds32/initfini.c: Add dwarf2 unwinding support.
3989 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
3990 and registers usage.
3991 * config/nds32/isr-library/excp_isr.S: Ditto.
3992 * config/nds32/isr-library/intr_isr.S: Ditto.
3993 * config/nds32/isr-library/reset.S: Ditto.
3994 * config/nds32/isr-library/restore_all.inc: Ditto.
3995 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
3996 * config/nds32/isr-library/restore_partial.inc: Ditto.
3997 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
3998 * config/nds32/isr-library/save_all.inc: Ditto.
3999 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
4000 * config/nds32/isr-library/save_partial.inc: Ditto.
4001 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
4002 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
4004 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
4006 * config/pa/linux-atomic.c: Update comment.
4007 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
4008 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
4009 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
4010 __ATOMIC_RELAXED for atomic loads.
4011 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
4012 unordered store to release lock.
4013 (__sync_lock_release_8): Likewise.
4014 (SYNC_LOCK_RELEASE_2): Remove define.
4016 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
4019 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
4020 exponent goes negative. Update my email address.
4021 * config/arm/ieee754-sf.S: Likewise.
4023 2018-08-01 Martin Liska <mliska@suse.cz>
4025 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
4026 check that __gcov_indirect_call_callee is non-null.
4028 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
4030 * config/arm/ieee754-df.S: Fix comment for code working on
4032 * config/arm/ieee754-sf.S: Likewise.
4034 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
4037 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4040 2018-07-05 James Clarke <jrtc27@jrtc27.com>
4042 * configure: Regenerated.
4044 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4046 * Makefile.in (install_leaf): Use enable_gcov instead of
4049 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4051 * configure.ac: Add --disable-gcov option.
4052 * configure: Regenerate.
4053 * Makefile.in: Honour @enable_gcov@.
4055 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
4057 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
4058 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
4059 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
4060 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
4062 * config/arm/ieee754-sf.S: Likewise.
4063 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
4065 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
4067 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
4069 * config/arm/ieee754-sf.S: Likewise.
4071 2018-06-20 Than McIntosh <thanm@google.com>
4074 * generic-morestack.c (allocate_segment): Move calls to getenv and
4075 getpagesize to __morestack_load_mmap.
4076 (__morestack_load_mmap) Initialize static_pagesize and
4077 use_guard_page here so as to avoid clobbering SSE regs during a
4080 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
4082 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
4083 support modules with -mno-gnu-attribute.
4084 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
4086 2018-06-07 Olivier Hainque <hainque@adacore.com>
4088 * config/t-vxworks (LIBGCC_INCLUDES): Add
4089 -I$(MULTIBUILDTOP)../../gcc/include.
4090 * config/t-vxworks7: Likewise. Reformat a bit to match
4091 the t-vxworks layout.
4093 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
4095 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
4097 2018-06-07 Martin Liska <mliska@suse.cz>
4099 * libgcov-driver.c: Rename cs_all to all and assign it from
4102 2018-06-07 Martin Liska <mliska@suse.cz>
4105 * libgcov-driver-system.c (replace_filename_variables): Use
4106 memcpy instead of mempcpy.
4107 (allocate_filename_struct): Do not allocate filename, allocate
4109 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
4110 here and properly copy content into it.
4111 * libgcov-driver.c (struct gcov_filename): Remove max_length
4112 field, change prefix from size_t into char *.
4113 (compute_summary): Do not calculate longest filename.
4114 (gcov_do_dump): Release memory of gf.filename after each file.
4115 * libgcov-util.c (compute_summary): Use new signature of
4117 (calculate_overlap): Likewise.
4119 2018-06-05 Martin Liska <mliska@suse.cz>
4121 PR gcov-profile/47618
4122 * libgcov-driver-system.c (replace_filename_variables): New
4124 (gcov_exit_open_gcda_file): Use it.
4126 2018-06-05 Martin Liska <mliska@suse.cz>
4128 * libgcov-driver.c (gcov_compute_histogram): Remove usage
4129 of gcov_ctr_summary.
4130 (compute_summary): Do it just for a single summary.
4131 (merge_one_data): Likewise.
4132 (merge_summary): Simplify as we read just single summary.
4133 (dump_one_gcov): Pass proper argument.
4134 * libgcov-util.c (compute_one_gcov): Simplify as we have just
4136 (gcov_info_count_all_cold): Likewise.
4137 (calculate_overlap): Likewise.
4139 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
4140 Monk Chiang <sh.chiang04@gmail.com>
4142 * config.host (nds32*-linux*): New.
4143 * config/nds32/linux-atomic.c: New file.
4144 * config/nds32/linux-unwind.h: New file.
4146 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
4149 * config/i386/cpuinfo.c (get_amd_cpu): Return
4150 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
4152 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
4154 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
4156 2018-05-29 Martin Liska <mliska@suse.cz>
4158 PR gcov-profile/85759
4159 * libgcov-driver-system.c (gcov_error): Introduce usage of
4160 GCOV_EXIT_AT_ERROR env. variable.
4161 * libgcov-driver.c (merge_one_data): Print error that we
4162 overwrite a gcov file with a different timestamp.
4164 2018-05-23 Kalamatee <kalamatee@gmail.com>
4166 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
4169 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
4170 Monk Chiang <sh.chiang04@gmail.com>
4171 Jim Wilson <jimw@sifive.com>
4173 * config/riscv/save-restore.S: Add support for rv32e.
4175 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4177 * config/arm/libunwind.S: Update comment relating to armv5.
4179 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
4181 * config/arm/cmse.c (cmse_check_address_range): Replace
4182 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
4184 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
4186 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
4187 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
4189 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
4191 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
4192 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
4194 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
4196 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
4198 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
4199 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
4202 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
4203 op_and_fetch to return the right result.
4205 2018-04-27 Alan Modra <amodra@gmail.com>
4208 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
4209 -fno-asynchronous-unwind-tables.
4211 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
4213 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
4214 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
4216 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
4218 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
4219 when including "config/i386/shadow-stack-unwind.h".
4221 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
4223 * configure: Regenerated.
4225 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
4228 * config/rs6000/_powikf2.c: New file. Add support for the
4229 __builtin_powil function when long double is IEEE 128-bit floating
4231 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
4233 (__powikf2): Likewise.
4234 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
4235 (__powikf2_hw): Likewise.
4236 (__powikf2): Likewise.
4237 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
4238 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
4239 (_powikf2-hw.c): Likewise.
4241 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
4244 * unwind-generic.h (_Unwind_Frames_Increment): New.
4245 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4247 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
4248 count with _Unwind_Frames_Increment.
4249 (_Unwind_ForcedUnwind_Phase2): Likewise.
4251 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
4254 * config/i386/morestack.S (__stack_split_initialize): Add
4257 2018-04-19 Jakub Jelinek <jakub@redhat.com>
4259 * configure: Regenerated.
4261 2018-04-18 David Malcolm <dmalcolm@redhat.com>
4264 * configure: Regenerate.
4266 2018-04-16 Jakub Jelinek <jakub@redhat.com>
4269 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
4270 -Wdangling-else warnings. Mask shift counts to avoid
4271 -Wshift-count-negative and -Wshift-count-overflow false positives.
4273 2018-04-06 Ruslan Bukin <br@bsdpad.com>
4275 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
4277 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
4280 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
4281 (XSTATE_FP): Likewise.
4282 (XSTATE_SSE): Likewise.
4283 (XSTATE_YMM): Likewise.
4284 (XSTATE_OPMASK): Likewise.
4285 (XSTATE_ZMM): Likewise.
4286 (XSTATE_HI_ZMM): Likewise.
4287 (XCR_AVX_ENABLED_MASK): Likewise.
4288 (XCR_AVX512F_ENABLED_MASK): Likewise.
4289 (get_available_features): Enable AVX and AVX512 features only
4290 if their states are supported by OSXSAVE.
4292 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4295 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4296 Fix a typo, tmp => 255.
4298 2018-03-20 Jakub Jelinek <jakub@redhat.com>
4301 * config/i386/cpuinfo.h (__cpu_features2): Declare.
4302 * config/i386/cpuinfo.c (__cpu_features2): New variable for
4304 (set_feature): Define.
4305 (get_available_features): Use set_feature macro. Set __cpu_features2
4306 to the second word of features ifndef SHARED.
4308 2018-03-15 Julia Koval <julia.koval@intel.com>
4310 * config/i386/cpuinfo.c (get_available_features): Add
4311 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
4312 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
4313 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
4314 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
4315 FEATURE_AVX512BITALG.
4317 2018-03-14 Julia Koval <julia.koval@intel.com>
4319 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
4320 icelake client and icelake server.
4322 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
4324 * config/pa/fptr.c (_dl_read_access_allowed): New.
4325 (__canonicalize_funcptr_for_compare): Use it.
4327 2018-02-28 Jakub Jelinek <jakub@redhat.com>
4330 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
4331 $asm_hidden_op if visibility ("hidden") attribute works.
4332 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
4333 * config/i386/i386-asm.h: Don't include auto-host.h.
4334 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
4335 PACKAGE_URL): Don't undefine.
4336 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
4337 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
4338 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
4339 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
4340 definition instead of hardcoded .hidden.
4341 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
4342 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
4343 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
4344 (USE_GAS_CFI_DIRECTIVES): Don't define.
4345 * configure: Regenerated.
4346 * config.in: Likewise.
4348 2018-02-26 Jakub Jelinek <jakub@redhat.com>
4351 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
4352 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
4353 inclusion of auto-target.h and auto-host.h.
4354 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
4355 __GCC_HAVE_DWARF2_CFI_ASM.
4356 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4357 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
4359 * config/i386/cygwin.S: Don't include auto-host.h here, just
4360 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
4361 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4362 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
4363 * config/i386/resms64fx.h: Add cfi_* directives.
4364 * config/i386/resms64x.h: Likewise.
4366 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
4368 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
4369 .literal_position directive.
4370 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
4372 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4375 * configure: Regenerate.
4377 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4380 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4381 Include cetintrin.h not x86intrin.h.
4383 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4386 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4387 Use new _get_ssp and _inc_ssp intrinsics.
4389 2018-02-02 Julia Koval <julia.koval@intel.com>
4391 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
4393 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4395 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
4397 (__divsi3): Use RF16 safe registers.
4398 (__modsi3): Likewise.
4400 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
4402 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
4403 (__divsf3): Make NaN return value quiet.
4404 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
4405 (__divdf3): Make NaN return value quiet.
4407 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4409 * config/rl78/anddi3.S: New assembly file.
4410 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
4412 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4414 * config/rl78/umindi3.S: New assembly file.
4415 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
4417 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4419 * config/rl78/smindi3.S: New assembly file.
4420 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
4422 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4424 * config/rl78/smaxdi3.S: New assembly file.
4425 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
4427 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4429 * config/rl78/umaxdi3.S: New assembly file.
4430 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
4432 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
4435 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
4436 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
4438 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
4440 * config/aarch64/value-unwind.h (aarch64_vg): New function.
4441 (DWARF_LAZY_REGISTER_VALUE): Define.
4442 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
4443 to provide a fallback register value.
4445 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
4447 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
4448 __ibm128, instead of trying to use long double.
4449 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
4450 accomidate -mabi=ieeelongdouble multilibs.
4451 (CVT_IBM128_TO_FLOAT128): Likewise.
4452 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
4453 the appropriate IBM extended double type.
4454 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
4455 (__gcc_qsub): Likewise.
4456 (__gcc_qmul): Likewise.
4457 (__gcc_qdiv): Likewise.
4458 (pack_ldouble): Likewise.
4459 (__gcc_qneg): Likewise.
4460 (__gcc_qeq): Likewise.
4461 (__gcc_qne): Likewise.
4462 (__gcc_qge): Likewise.
4463 (__gcc_qle): Likewise.
4464 (__gcc_stoq): Likewise.
4465 (__gcc_dtoq): Likewise.
4466 (__gcc_itoq): Likewise.
4467 (__gcc_utoq): Likewise.
4468 (__gcc_qunord): Likewise.
4469 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
4470 quad-float128.h for the definitions.
4471 (COPYSIGN): Use the f128 version instead of the q version.
4472 (INFINITY): Likewise.
4473 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
4474 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
4475 quad-float128.h for the definitions.
4476 (COPYSIGN): Use the f128 version instead of the q version.
4477 (INFINITY): Likewise.
4479 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
4480 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
4481 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
4483 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
4485 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
4488 2018-01-03 Jakub Jelinek <jakub@redhat.com>
4490 Update copyright years.
4492 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
4494 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
4495 * config/riscv/multi3.c: New file.
4496 * config/riscv/multi3.S: Remove.
4498 2017-12-08 Jim Wilson <jimw@sifive.com>
4500 * config/riscv/div.S: Use FUNC_* macros.
4501 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
4502 * config/riscv/save-restore.S: Likewise.
4503 * config/riscv/riscv-asm.h: New.
4505 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
4507 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
4508 * config/rs6000/_divkc3.c (__divkc3): Likewise.
4511 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
4512 correct type for all ifunc resolvers to silence -Wattribute-alias
4513 warnings. Eliminate the forward declaration of the resolver
4514 functions which is no longer needed.
4515 (__subkf3_resolve): Likewise.
4516 (__mulkf3_resolve): Likewise.
4517 (__divkf3_resolve): Likewise.
4518 (__negkf2_resolve): Likewise.
4519 (__eqkf2_resolve): Likewise.
4520 (__nekf2_resolve): Likewise.
4521 (__gekf2_resolve): Likewise.
4522 (__gtkf2_resolve): Likewise.
4523 (__lekf2_resolve): Likewise.
4524 (__ltkf2_resolve): Likewise.
4525 (__unordkf2_resolve): Likewise.
4526 (__extendsfkf2_resolve): Likewise.
4527 (__extenddfkf2_resolve): Likewise.
4528 (__trunckfsf2_resolve): Likewise.
4529 (__trunckfdf2_resolve): Likewise.
4530 (__fixkfsi_resolve): Likewise.
4531 (__fixkfdi_resolve): Likewise.
4532 (__fixunskfsi_resolve): Likewise.
4533 (__fixunskfdi_resolve): Likewise.
4534 (__floatsikf_resolve): Likewise.
4535 (__floatdikf_resolve): Likewise.
4536 (__floatunsikf_resolve): Likewise.
4537 (__floatundikf_resolve): Likewise.
4538 (__extendkftf2_resolve): Likewise.
4539 (__trunctfkf2_resolve): Likewise.
4542 * config/rs6000/quad-float128.h (TF): Don't define if long double
4543 is IEEE 128-bit floating point.
4544 (TCtype): Define as either TCmode or KCmode, depending on whether
4545 long double is IEEE 128-bit floating point.
4546 (__mulkc3_sw): Add declarations for software/hardware versions of
4547 complex multiply/divide.
4548 (__divkc3_sw): Likewise.
4549 (__mulkc3_hw): Likewise.
4550 (__divkc3_hw): Likewise.
4551 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4552 handlers to switch between using software emulation and hardware
4553 float128 instructions, build the complex multiply/divide functions
4554 for both software and hardware support.
4555 * config/rs6000/_divkc3.c (_divkc3): Likewise.
4556 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4557 (__divkc3_resolve): Likewise.
4558 (__mulkc3): Likewise.
4559 (__divkc3): Likewise.
4560 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4561 (fp128_hw_src): Likewise.
4562 (fp128_hw_static_obj): Likewise.
4563 (fp128_hw_shared_obj): Likewise.
4564 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4565 _mulkc3.c and _divkc3.c, changing the function name.
4566 (_divkc3-hw.c): Likewise.
4567 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4570 2017-11-26 Julia Koval <julia.koval@intel.com>
4572 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4573 * config/i386/cpuinfo.h (processor_subtypes): Add
4574 INTEL_COREI7_CANNONLAKE.
4576 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4579 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4581 * config/xtensa/unwind-dw2-xtensa.c: Likewise
4582 * config/ia64/unwind-ia64.c: Add frames parameter.
4583 * unwind-sjlj.c: Likewise.
4585 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4587 * config/i386/linux-unwind.h: Include
4588 config/i386/shadow-stack-unwind.h.
4589 * config/i386/shadow-stack-unwind.h: New file.
4590 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4591 pass it to _Unwind_Frames_Extra.
4592 * unwind-generic.h (_Unwind_Frames_Extra): New.
4593 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4594 parameter. Add local variable frames to count number of frames.
4595 (_Unwind_ForcedUnwind_Phase2): Likewise.
4596 (_Unwind_RaiseException): Add local variable frames to count
4597 number of frames, pass it to _Unwind_RaiseException_Phase2 and
4599 (_Unwind_ForcedUnwind): Likewise.
4600 (_Unwind_Resume): Likewise.
4601 (_Unwind_Resume_or_Rethrow): Likewise.
4603 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4605 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4607 * config/i386/morestack.S: Include <cet.h>.
4608 (__morestack_large_model): Add _CET_ENDBR at function entrance.
4609 * config/i386/resms64.h: Include <cet.h>.
4610 * config/i386/resms64f.h: Likewise.
4611 * config/i386/resms64fx.h: Likewise.
4612 * config/i386/resms64x.h: Likewise.
4613 * config/i386/savms64.h: Likewise.
4614 * config/i386/savms64f.h: Likewise.
4615 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4616 (CRTSTUFF_T_CFLAGS): Likewise.
4617 * configure.ac: Include ../config/cet.m4.
4618 Set and substitute CET_FLAGS.
4619 * configure: Regenerated.
4621 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4623 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4625 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4626 * configure.ac (libgcc_cv_solaris_crts): Likewise.
4627 * configure: Regenerate.
4629 2017-11-07 Tom de Vries <tom@codesourcery.com>
4631 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4632 after "do {} while (0)".
4634 2017-11-07 Tom de Vries <tom@codesourcery.com>
4637 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4638 semicolon after "do {} while (0)".
4639 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4640 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4641 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4642 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4644 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
4647 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4648 sysctl to determine whether we're in a trampoline.
4649 Keep the pattern matching method for systems without
4650 KERN_PROC_SIGTRAMP sysctl.
4652 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
4653 Vineet Gupta <vgupta@synopsys.com>
4655 * config.host (arc*-*-linux*): Set md_unwind_header variable.
4656 * config/arc/linux-unwind-reg.def: New file.
4657 * config/arc/linux-unwind-reg.h: Likewise.
4659 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
4661 * config/rl78/subdi3.S: New assembly file.
4662 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4664 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
4666 * config/rl78/adddi3.S: New assembly file.
4667 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4669 2017-10-13 Jakub Jelinek <jakub@redhat.com>
4672 * libgcc2.c (__mulvDI3): If both operands have
4673 the same highpart of -1 and the topmost bit of lowpart is 0,
4674 multiplication overflows even if both lowparts are 0.
4676 2017-09-28 James Bowman <james.bowman@ftdichip.com>
4678 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4680 2017-09-26 Joseph Myers <joseph@codesourcery.com>
4682 * config/microblaze/crti.S, config/microblaze/crtn.S,
4683 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4684 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4685 config/microblaze/mulsi3.S,
4686 config/microblaze/stack_overflow_exit.S,
4687 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4688 config/pa/milli64.S: Add .note.GNU-stack section.
4690 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
4692 * configure.ac: Add Check for HAVE_AS_AVX.
4693 * config.in: Regenerate.
4694 * configure: Likewise.
4695 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4696 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4697 Correct out-of-date comments.
4699 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
4701 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4702 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4704 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
4706 * config/i386/i386-asm.h (PASTE2): New macro.
4707 (ASMNAME): Modify to use PASTE2.
4708 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4709 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
4710 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
4711 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
4712 * config/i386/resms64f.S: Likewise.
4713 * config/i386/resms64fx.S: Likewise.
4714 * config/i386/resms64x.S: Likewise.
4715 * config/i386/savms64.S: Likewise.
4716 * config/i386/savms64f.S: Likewise.
4717 * config/i386/avx_resms64.S: New file that only defines a macro and
4718 includes it's corresponding header file.
4719 * config/i386/avx_resms64f.S: Likewise.
4720 * config/i386/avx_resms64fx.S: Likewise.
4721 * config/i386/avx_resms64x.S: Likewise.
4722 * config/i386/avx_savms64.S: Likewise.
4723 * config/i386/avx_savms64f.S: Likewise.
4724 * config/i386/sse_resms64.S: Likewise.
4725 * config/i386/sse_resms64f.S: Likewise.
4726 * config/i386/sse_resms64fx.S: Likewise.
4727 * config/i386/sse_resms64x.S: Likewise.
4728 * config/i386/sse_savms64.S: Likewise.
4729 * config/i386/sse_savms64f.S: Likewise.
4730 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
4732 2017-09-01 Olivier Hainque <hainque@adacore.com>
4733 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4735 2017-08-31 Olivier Hainque <hainque@adacore.com>
4737 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4738 match as powerpc-wrs-vxworks*.
4740 2017-08-07 Jonathan Yong <10walls@gmail.com>
4742 * config.host (*-cygwin): Include file from mingw
4743 config/i386/enable-execute-stack-mingw32.c
4745 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
4746 Doug Rupp <rupp@adacore.com>
4747 Olivier Hainque <hainque@adacore.com>
4749 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
4750 as well as arm-wrs-vxworks.
4751 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
4753 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
4754 __exidx_start and __exidx_end for downloadable modules.
4756 2017-08-01 Olivier Hainque <hainque@adacore.com>
4758 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
4759 * config/t-vxworks7: Likewise.
4761 2017-08-01 Olivier Hainque <hainque@adacore.com>
4763 * config/t-vxworks: Instead of redefining LIB2ADD,
4764 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
4766 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
4768 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
4770 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
4773 * config.host: include i386/t-msabi for darwin and solaris.
4774 * config/i386/i386-asm.h
4775 (ELFFN): Rename to FN_TYPE.
4776 (FN_SIZE): New macro.
4777 (FN_HIDDEN): Likewise.
4778 (ASMNAME): Likewise.
4779 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
4781 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
4782 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
4783 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
4785 * config/i386/resms64f.S: Likewise.
4786 * config/i386/resms64fx.S: Likewise.
4787 * config/i386/resms64x.S: Likewise.
4788 * config/i386/savms64.S: Likewise.
4789 * config/i386/savms64f.S: Likewise.
4791 2017-07-19 John Marino <gnugcc@marino.st>
4793 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
4795 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
4798 * configure.ac (PowerPC float128 hardware support): Test whether
4799 we can use __builtin_cpu_supports before enabling the ifunc
4801 * configure: Regenerate.
4803 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
4805 * config.host: Remove uclibc from arc target spec.
4807 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
4809 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
4811 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
4813 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
4814 (have_ieee_hw_p): Delete function.
4815 (SW_OR_HW) Use __builtin_cpu_supports().
4817 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
4819 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4821 2017-07-03 Olivier Hainque <hainque@adacore.com>
4823 * config/t-vxworks7: New file, really.
4825 2017-06-28 Joseph Myers <joseph@codesourcery.com>
4827 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
4828 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
4829 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
4830 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
4831 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
4832 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
4833 config/pa/linux-unwind.h (pa32_fallback_frame_state),
4834 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
4835 config/sh/linux-unwind.h (sh_fallback_frame_state),
4836 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
4837 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
4838 ucontext_t instead of struct ucontext.
4840 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
4842 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
4843 (x86_64-wrs-vxworks7): Likewise.
4845 2017-06-27 Olivier Hainque <hainque@adacore.com>
4847 * config/t-vxworks7: New file.
4848 * config.host (*-*-vxworks7): Use it.
4850 2017-06-22 Matt Turner <mattst88@gmail.com>
4852 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
4855 2017-06-21 Richard Biener <rguenther@suse.de>
4857 PR gcov-profile/81080
4858 * configure.ac: Add AC_SYS_LARGEFILE.
4859 * libgcov.h: Include auto-target.h before tsystem.h to pick
4860 up _FILE_OFFSET_BITS which might differ for multilibs.
4861 * config.in: Regenerate.
4862 * configure: Likewise.
4864 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
4866 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
4868 2017-06-09 Martin Liska <mliska@suse.cz>
4870 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
4871 Reset __gcov_indirect_call_callee to NULL.
4873 2017-06-08 Olivier Hainque <hainque@adacore.com>
4875 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
4876 the set of -I options, support for direct inclusions of net/uio.h
4877 by VxWorks header files via ioLib.h.
4879 2017-06-07 Tony Reix <tony.reix@atos.net>
4880 Matthieu Sarter <matthieu.sarter.external@atos.net>
4881 David Edelsohn <dje.gcc@gmail.com>
4883 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
4885 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
4888 2017-06-02 Olivier Hainque <hainque@adacore.com>
4890 * config/vxlib.c (__gthread_once): Add missing value to
4893 2017-05-30 Olivier Hainque <hainque@adacore.com>
4895 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
4896 dollar sign before $(MULTIDIR).
4898 2017-05-26 Richard Henderson <rth@redhat.com>
4901 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
4903 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
4905 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
4906 _Unwind_SetIP available as functions for arm*-*-freebsd*.
4907 * config/arm/unwind-arm.c: Implement the above.
4909 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4911 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
4912 section for a non-executable stack.
4914 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
4917 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
4919 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
4921 * config.host: Add i386/t-msabi to i386/t-linux file list.
4922 * config/i386/i386-asm.h: New file.
4923 * config/i386/resms64.S: New file.
4924 * config/i386/resms64f.S: New file.
4925 * config/i386/resms64fx.S: New file.
4926 * config/i386/resms64x.S: New file.
4927 * config/i386/savms64.S: New file.
4928 * config/i386/savms64f.S: New file.
4929 * config/i386/t-msabi: New file.
4931 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
4933 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
4934 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
4936 2017-05-05 Joshua Conner <joshconner@google.com>
4938 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
4939 pc-relative indirect handling for fuchsia.
4940 * config/t-slibgcc-fuchsia: New file.
4941 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
4942 x86_64-*-fuchsia*): Add definitions.
4944 2017-04-19 Martin Liska <mliska@suse.cz>
4946 PR gcov-profile/80435
4947 * Makefile.in: Install gcov.h.
4949 * libgcov.h: Use the header and make __gcov_flush publicly
4952 2017-04-18 Martin Liska <mliska@suse.cz>
4954 PR gcov-profile/78783
4955 * libgcov-driver.c (gcov_get_filename): New function.
4957 2017-04-07 Jeff Law <law@redhat.com>
4959 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
4960 target makefile fragment.
4961 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
4963 2017-04-07 Alan Modra <amodra@gmail.com>
4966 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
4968 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
4970 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
4972 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
4974 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
4976 2017-03-10 John Marino <gnugcc@marino.st>
4978 * config/aarch64/freebsd-unwind.h: New file.
4979 * config.host: Add aarch64-*-freebsd unwinder.
4981 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4983 * config/rs6000/crtrestvr.s: Use .machine altivec.
4984 * config/rs6000/crtsavevr.s: Ditto.
4986 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4988 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
4989 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
4990 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
4991 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
4992 * configure: Regenerate.
4993 * config.in: Regenerate.
4995 2017-03-02 Jonathan Yong <10walls@gmail.com>
4997 * config/i386/gthr-win32.h: Define NOGDI before
4998 windows.h include to prevent w32api CC_NONE macro
4999 clash with libgfortran.
5001 2017-03-02 Jonathan Yong <10walls@gmail.com>
5003 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
5005 2017-02-16 Andrew Pinski <apinski@cavium.com>
5007 * config/aarch64/value-unwind.h: New file.
5008 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
5011 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
5013 * config.host: Add RISC-V tuples.
5014 * config/riscv/atomic.c: New file.
5015 * config/riscv/crti.S: Likewise.
5016 * config/riscv/crtn.S: Likewise.
5017 * config/riscv/div.S: Likewise.
5018 * config/riscv/linux-unwind.h: Likewise.
5019 * config/riscv/muldi3.S: Likewise.
5020 * config/riscv/multi3.S: Likewise.
5021 * config/riscv/save-restore.S: Likewise.
5022 * config/riscv/sfp-machine.h: Likewise.
5023 * config/riscv/t-elf: Likewise.
5024 * config/riscv/t-elf32: Likewise.
5025 * config/riscv/t-elf64: Likewise.
5026 * config/riscv/t-softfp32: Likewise.
5027 * config/riscv/t-softfp64: Likewise.
5029 2017-01-24 Jakub Jelinek <jakub@redhat.com>
5031 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
5032 /* FALLTHRU */ comments.
5034 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
5036 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
5038 2017-01-20 Jiong Wang <jiong.wang@arm.com>
5040 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
5041 * unwind-dw2.c (execute_cfa_program): Only multiplexing
5042 DW_CFA_GNU_window_save for AArch64 and LP64.
5044 2017-01-20 Jiong Wang <jiong.wang@arm.com>
5046 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
5048 2017-01-19 Jiong Wang <jiong.wang@arm.com>
5050 * config/aarch64/aarch64-unwind.h: New file.
5051 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
5052 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
5053 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
5054 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
5055 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
5056 (aarch64_post_extract_frame_addr): New function.
5057 (aarch64_post_frob_eh_handler_addr): New function.
5058 (aarch64_frob_update_context): New function.
5059 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
5060 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
5061 aarch64*-*-freebsd*):
5062 Initialize md_unwind_header to include aarch64-unwind.h.
5063 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
5064 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
5066 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
5067 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
5068 (uw_frob_return_addr): New function.
5069 (uw_install_context): Use uw_frob_return_addr.
5071 2017-01-17 Jakub Jelinek <jakub@redhat.com>
5074 * configure.ac: Add GCC_BASE_VER.
5075 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
5076 version from BASE-VER file.
5077 * configure: Regenerated.
5079 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
5081 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
5082 libmul_f5.a): Filter archived prerequisites.
5084 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
5086 * config/i386/cpuinfo.h (processor_features): Add
5087 FEATURE_AVX512VPOPCNTDQ.
5088 * config/i386/cpuinfo.c (get_available_features): Habdle new
5091 2017-01-04 Joseph Myers <joseph@codesourcery.com>
5093 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
5094 payload if [__mips_nan2008].
5096 2017-01-04 Alan Modra <amodra@gmail.com>
5098 * Makefile.in (configure_deps): Update.
5099 * configure: Regenerate.
5101 2017-01-01 Jakub Jelinek <jakub@redhat.com>
5103 Update copyright years.
5105 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
5107 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
5108 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
5109 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
5111 2016-12-17 Matthias Klose <doko@ubuntu.com>
5113 * config/arc/gmon: Remove empty directory.
5115 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
5117 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
5119 (arc*-*-elf*): Likewise.
5120 * config/arc/t-arc: Remove old gmon lib targets.
5121 * config/arc/crtg.S: Remove.
5122 * config/arc/crtgend.S: Likewise.
5123 * config/arc/gmon/atomic.h: Likewise.
5124 * config/arc/gmon/auxreg.h: Likewise.
5125 * config/arc/gmon/dcache_linesz.S: Likewise.
5126 * config/arc/gmon/gmon.c: Likewise.
5127 * config/arc/gmon/machine-gmon.h: Likewise.
5128 * config/arc/gmon/mcount.c: Likewise.
5129 * config/arc/gmon/prof-freq-stub.S: Likewise.
5130 * config/arc/gmon/prof-freq.c: Likewise.
5131 * config/arc/gmon/profil.S: Likewise.
5132 * config/arc/gmon/sys/gmon.h: Likewise.
5133 * config/arc/gmon/sys/gmon_out.h: Likewise.
5134 * config/arc/t-arc-newlib: Likewise.
5135 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
5137 2016-12-12 George Spelvin <linux@sciencehorizons.net>
5139 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
5141 2016-12-12 George Spelvin <linux@sciencehorizons.net>
5143 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
5144 R16 instead of push + pop.
5145 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
5147 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
5149 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
5152 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
5154 * config.host (arc*-*-linux-uclibc*): Use default extra
5155 objects. Include linux-android header.
5156 * config/arc/crti.S (_init): Declare symbol as function.
5159 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
5162 * config/i386/cpuinfo.c: Move denums for processor vendors,
5163 processor type, processor subtypes and declaration of
5164 struct __processor_model into
5165 * config/i386/cpuinfo.h: New header file.
5167 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
5168 Thomas Preud'homme <thomas.preudhomme@arm.com>
5170 * config/arm/cmse_nonsecure_call.S: New.
5171 * config/arm/t-arm: Compile cmse_nonsecure_call.S
5173 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
5174 Thomas Preud'homme <thomas.preudhomme@arm.com>
5176 * config/arm/t-arm (HAVE_CMSE): New.
5177 * config/arm/cmse.c: New.
5179 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
5182 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
5183 use generic linker version information on Blackfin.
5186 * libgcc/mkmap-symver.awk: add support for skip_underscore
5188 2016-11-27 Iain Sandoe <iain@codesourcery.com>
5189 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5192 * config/t-darwin: Default builds to 10.5 codegen.
5194 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
5196 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
5197 (_FP_NANSIGN_H): Likewise.
5198 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
5199 (softfp_truncations): Add tfhf.
5200 (softfp_extras): Add required conversion functions.
5202 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5203 Matthew Wahab <matthew.wahab@arm.com>
5205 * config/arm/fp16.c (binary64): New.
5206 (__gnu_d2h_internal): New.
5207 (__gnu_d2h_ieee): New.
5208 (__gnu_d2h_alternative): New.
5210 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5211 Matthew Wahab <matthew.wahab@arm.com>
5213 * config/arm/fp16.c (struct format): New.
5215 (__gnu_float2h_internal): New. Body moved from
5216 __gnu_f2h_internal and generalize.
5217 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
5218 Call it with binary32.
5220 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5222 * soft-fp/extendhftf2.c: Update from glibc.
5223 * soft-fp/fixhfti.c: Likewise.
5224 * soft-fp/fixunshfti.c: Likewise.
5225 * soft-fp/floattihf.c: Likewise.
5226 * soft-fp/floatuntihf.c: Likewise.
5227 * soft-fp/half.h: Likewise.
5228 * soft-fp/trunctfhf2.c: Likewise.
5230 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
5233 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
5234 __TMC_END__ behind a passthrough asm.
5236 2016-11-18 Walter Lee <walt@tilera.com>
5238 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
5240 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
5242 * config/i386/cpuinfo.c (processor_features): Add
5243 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
5245 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
5247 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
5248 (__ARC_NORM__): Use instead ARC_OPTFPE.
5249 * config/arc/fp-hack.h: Likewise.
5250 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
5251 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
5253 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
5255 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
5256 * config/nvptx/mgomp.c: New file.
5257 * config/nvptx/t-nvptx: Add mgomp.c
5259 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
5262 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
5264 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
5266 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
5267 of checking for cpus.
5268 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
5269 (__modsi3, __clzsi2): Likewise.
5271 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5273 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
5274 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
5275 * config/i386/t-cpuinfo-static: New.
5277 2016-11-03 Martin Liska <mliska@suse.cz>
5279 * libgcov-profiler.c (__gcov_time_profiler): Remove.
5280 (__gcov_time_profiler_atomic): Likewise.
5282 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
5285 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
5286 count_leading_zeros.
5288 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
5290 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
5291 * libgcc2.c (__divmoddi4): New function.
5292 * libgcc2.h (__divmoddi4): Declare.
5293 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
5294 and __PFX_divmodti4.
5296 2016-10-24 Florian Weimer <fweimer@redhat.com>
5299 * unwind-c.c: Include auto-target.h.
5301 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
5303 * config/pa/pa64-hpux-lib.h: New file.
5304 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
5305 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
5306 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
5309 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
5311 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5313 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5315 * config/xtensa/t-windowed (LIB2ADDEH): Use
5316 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
5319 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
5321 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
5322 __ieee754_sqrt): New functions.
5323 (__divdf3): Add implementation with new FPU instructions under
5324 #if XCHAL_HAVE_DFP_DIV.
5325 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
5326 __ieee754_sqrtf): New functions.
5327 (__divsf3): Add implementation with new FPU instructions under
5328 #if XCHAL_HAVE_FP_DIV.
5329 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
5330 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
5332 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
5334 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
5336 * config/tilepro/atomic.c: Likewise and stop casting model to
5339 2016-10-10 Joseph Myers <joseph@codesourcery.com>
5342 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
5345 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
5347 * config.host: Add support for aarch64-*-freebsd*.
5349 2016-10-05 Andreas Schwab <schwab@suse.de>
5351 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
5352 (.section .init_array): Don't call __do_jv_register_classes.
5353 (.section .init): Likewise.
5355 2016-10-04 Jakub Jelinek <jakub@redhat.com>
5357 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
5358 (__JCR_LIST__): Remove.
5359 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
5360 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
5361 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
5362 * config/ia64/crtend.S (__JCR_END__): Remove.
5363 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
5365 (__JCR_LIST__, __JCR_END__): Remove.
5366 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
5367 (__do_global_ctors_1): Likewise.
5369 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
5371 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
5372 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
5374 2016-09-27 Martin Liska <mliska@suse.cz>
5376 PR gcov-profile/7970
5377 PR gcov-profile/16855
5378 PR gcov-profile/44779
5379 * libgcov-driver.c (__gcov_init): Do not register a atexit
5381 (__gcov_exit): Rename from gcov_exit.
5382 * libgcov.h (__gcov_exit): Declare.
5384 2016-09-27 Martin Liska <mliska@suse.cz>
5387 * Makefile.in: Remove _gcov_merge_delta.
5388 * libgcov-merge.c (void __gcov_merge_delta): Remove.
5389 * libgcov-util.c (__gcov_delta_counter_op): Remove.
5390 * libgcov.h: Remove declaration of __gcov_merge_delta.
5392 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
5394 * configure.ac: Do not create links, only substitute the filenames.
5395 * configure: Regenerate.
5396 * Makefile.in: Assign the substitution results to variables.
5397 (LIBGCC_LINKS): Define.
5398 (enable-execute-stack.c): New rule.
5399 (unwind.h): Likewise.
5400 (md-unwind-support.h): Likewise.
5401 (sfp-machine.h): Likewise.
5402 (gthr-default.h): Likewise.
5403 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
5404 unwind.h as prerequisite of install-unwind_h-forbuild.
5406 2016-09-16 Jakub Jelinek <jakub@redhat.com>
5409 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
5410 is not the primary registry and atomics are available.
5411 (any_objects_registered): New variable.
5412 (__register_frame_info_bases, __register_frame_info_table_bases):
5413 Atomically store 1 to any_objects_registered after registering first
5415 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
5417 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
5420 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
5421 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
5424 (__divhc3): Likewise.
5425 (__mulhc3): Likewise.
5426 * libgcc2.c: Support _mulhc3 and _divhc3.
5428 2016-09-07 Joseph Myers <joseph@codesourcery.com>
5431 * libgcc2.c (NOTRUNC): Invert settings.
5433 2016-09-06 Martin Liska <mliska@suse.cz>
5435 PR gcov-profile/77378
5436 PR gcov-profile/77466
5437 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
5438 conditionaly enable/disable *_atomic functions.
5440 2016-08-26 Joseph Myers <joseph@codesourcery.com>
5442 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
5443 where not already enabled.
5445 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5447 * config/mips/linux-unwind.h: Use sys/syscall.h.
5449 2016-08-16 Joseph Myers <joseph@codesourcery.com>
5452 * soft-fp/adddf3.c: Update from glibc.
5453 * soft-fp/addsf3.c: Likewise.
5454 * soft-fp/addtf3.c: Likewise.
5455 * soft-fp/divdf3.c: Likewise.
5456 * soft-fp/divsf3.c: Likewise.
5457 * soft-fp/divtf3.c: Likewise.
5458 * soft-fp/double.h: Likewise.
5459 * soft-fp/eqdf2.c: Likewise.
5460 * soft-fp/eqsf2.c: Likewise.
5461 * soft-fp/eqtf2.c: Likewise.
5462 * soft-fp/extenddftf2.c: Likewise.
5463 * soft-fp/extended.h: Likewise.
5464 * soft-fp/extendsfdf2.c: Likewise.
5465 * soft-fp/extendsftf2.c: Likewise.
5466 * soft-fp/extendxftf2.c: Likewise.
5467 * soft-fp/fixdfdi.c: Likewise.
5468 * soft-fp/fixdfsi.c: Likewise.
5469 * soft-fp/fixdfti.c: Likewise.
5470 * soft-fp/fixsfdi.c: Likewise.
5471 * soft-fp/fixsfsi.c: Likewise.
5472 * soft-fp/fixsfti.c: Likewise.
5473 * soft-fp/fixtfdi.c: Likewise.
5474 * soft-fp/fixtfsi.c: Likewise.
5475 * soft-fp/fixtfti.c: Likewise.
5476 * soft-fp/fixunsdfdi.c: Likewise.
5477 * soft-fp/fixunsdfsi.c: Likewise.
5478 * soft-fp/fixunsdfti.c: Likewise.
5479 * soft-fp/fixunssfdi.c: Likewise.
5480 * soft-fp/fixunssfsi.c: Likewise.
5481 * soft-fp/fixunssfti.c: Likewise.
5482 * soft-fp/fixunstfdi.c: Likewise.
5483 * soft-fp/fixunstfsi.c: Likewise.
5484 * soft-fp/fixunstfti.c: Likewise.
5485 * soft-fp/floatdidf.c: Likewise.
5486 * soft-fp/floatdisf.c: Likewise.
5487 * soft-fp/floatditf.c: Likewise.
5488 * soft-fp/floatsidf.c: Likewise.
5489 * soft-fp/floatsisf.c: Likewise.
5490 * soft-fp/floatsitf.c: Likewise.
5491 * soft-fp/floattidf.c: Likewise.
5492 * soft-fp/floattisf.c: Likewise.
5493 * soft-fp/floattitf.c: Likewise.
5494 * soft-fp/floatundidf.c: Likewise.
5495 * soft-fp/floatundisf.c: Likewise.
5496 * soft-fp/floatunditf.c: Likewise.
5497 * soft-fp/floatunsidf.c: Likewise.
5498 * soft-fp/floatunsisf.c: Likewise.
5499 * soft-fp/floatunsitf.c: Likewise.
5500 * soft-fp/floatuntidf.c: Likewise.
5501 * soft-fp/floatuntisf.c: Likewise.
5502 * soft-fp/floatuntitf.c: Likewise.
5503 * soft-fp/gedf2.c: Likewise.
5504 * soft-fp/gesf2.c: Likewise.
5505 * soft-fp/getf2.c: Likewise.
5506 * soft-fp/ledf2.c: Likewise.
5507 * soft-fp/lesf2.c: Likewise.
5508 * soft-fp/letf2.c: Likewise.
5509 * soft-fp/muldf3.c: Likewise.
5510 * soft-fp/mulsf3.c: Likewise.
5511 * soft-fp/multf3.c: Likewise.
5512 * soft-fp/negdf2.c: Likewise.
5513 * soft-fp/negsf2.c: Likewise.
5514 * soft-fp/negtf2.c: Likewise.
5515 * soft-fp/op-1.h: Likewise.
5516 * soft-fp/op-2.h: Likewise.
5517 * soft-fp/op-4.h: Likewise.
5518 * soft-fp/op-8.h: Likewise.
5519 * soft-fp/op-common.h: Likewise.
5520 * soft-fp/quad.h: Likewise.
5521 * soft-fp/single.h: Likewise.
5522 * soft-fp/soft-fp.h: Likewise.
5523 * soft-fp/subdf3.c: Likewise.
5524 * soft-fp/subsf3.c: Likewise.
5525 * soft-fp/subtf3.c: Likewise.
5526 * soft-fp/truncdfsf2.c: Likewise.
5527 * soft-fp/trunctfdf2.c: Likewise.
5528 * soft-fp/trunctfsf2.c: Likewise.
5529 * soft-fp/trunctfxf2.c: Likewise.
5530 * soft-fp/unorddf2.c: Likewise.
5531 * soft-fp/unordsf2.c: Likewise.
5532 * soft-fp/unordtf2.c: Likewise.
5534 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
5536 PR gcov-profile/67097
5537 * libgcov-util.c (gcov_profile_merge): Skip missing files.
5539 2016-08-10 Martin Liska <mliska@suse.cz>
5541 PR gcov-profile/58306
5542 * Makefile.in: New functions (modules) are added.
5543 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5545 (__gcov_pow2_profiler_atomic): New function.
5546 (__gcov_one_value_profiler_body): New argument is instroduced.
5547 (__gcov_one_value_profiler): Call with the new argument.
5548 (__gcov_one_value_profiler_atomic): Likewise.
5549 (__gcov_indirect_call_profiler_v2): Likewise.
5550 (__gcov_time_profiler_atomic): New function.
5551 (__gcov_average_profiler_atomic): Likewise.
5552 (__gcov_ior_profiler_atomic): Likewise.
5553 * libgcov.h: Declare the aforementioned functions.
5555 2016-08-09 Martin Liska <mliska@suse.cz>
5557 * libgcov-util.c: Fix typo and GNU coding style.
5559 2016-08-09 Martin Liska <mliska@suse.cz>
5561 * Makefile.in: Remove __gcov_indirect_call_profiler.
5562 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5564 * libgcov.h: And the declaration of the function.
5566 2016-08-09 Martin Liska <mliska@suse.cz>
5568 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5571 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5573 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5574 * config/rs6000/_mulkc3.c: Likewise.
5576 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
5578 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5579 zero_reg as previous call to __umulhisi3 already cleared it.
5581 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
5584 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5586 2016-07-19 Nick Clifton <nickc@redhat.com>
5588 * config.host (m32r): Add m32r/t-m32r to tmake_file.
5589 Add crtinit.o and crtfini.o to extra_parts.
5591 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5593 * config/rs6000/_divkc3.c: New.
5594 * config/rs6000/_mulkc3.c: New.
5595 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5597 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5600 2016-07-11 Hale Wang <hale.wang@arm.com>
5601 Andre Vieira <andre.simoesdiasvieira@arm.com>
5603 * config/arm/lib1funcs.S: Add new wrapper.
5605 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5607 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5609 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5611 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5612 and ARMv5t* rather than for a fixed list of architectures.
5614 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5616 * config/arm/bpabi-v6m.S: Clarify what architectures is the
5617 implementation suitable for.
5618 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5619 for all Thumb-1 only targets.
5620 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5621 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5624 (ARM_FUNC_ALIAS): Likewise.
5625 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5628 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5631 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5632 __ARM_ARCH_6M__ in guard for checking whether it is defined.
5633 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5634 __ARM_ARCH_6M__ and add comment to indicate the connection between
5635 this condition and the one in gcc/config/arm/elf.h.
5636 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5637 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5638 * config/arm/t-softfp: Likewise.
5640 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5642 * libgcc2.c (SYMBOL__MAIN): Remove checks for
5643 CTOR_LISTS_DEFINED_EXTERNALLY.
5645 2016-06-28 Walter Lee <walt@tilera.com>
5647 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5649 (SPR_CMPEXCH_VALUE): Define for tilegx.
5650 (__NR_FAST_cmpxchg): Define for tilepro.
5651 (__NR_FAST_atomic_update): Define for tilepro.
5652 (__NR_FAST_cmpxchg64): Define for tilepro.
5654 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
5656 * config.host: Add suport for arm*-*-phoenix* targets.
5658 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5660 * config.host: Remove support for mep-*.
5661 * config/mep/lib1funcs.S: Remove.
5662 * config/mep/lib2funcs.c: Remove.
5663 * config/mep/t-mep: Remove.
5664 * config/mep/tramp.c: Remove.
5666 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5668 * config.host: Remove support for avr-rtems.
5669 * config/avr/t-rtems: Remove.
5671 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5673 * config.host: Remove m32r-rtems support.
5675 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5677 * config.host: Remove h8300-rtems support.
5679 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5681 * config.host: Remove support for knetbsd.
5683 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5685 * config.host: Remove support for openbsd 2 and 3.
5687 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5689 * config.host: Remove interix support.
5690 * config/i386/t-interix: Remove.
5692 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
5694 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5695 least-significant bit in function pointer for fixup.
5697 2016-06-05 Aaron Conole <aconole@redhat.com>
5698 Nathan Sidwell <nathan@acm.org>
5701 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5702 (get_gcov_error_file): Check __gcov_error_file before trying to
5704 (gcov_error): Always use get_gcov_error_file.
5706 2016-06-02 Aaron Conole <aconole@redhat.com>
5708 * libgcov-driver-system.c (__gcov_error_file): New.
5709 (get_gcov_error_file): New.
5710 (gcov_error): Use and set __gcov_error_file.
5711 (gcov_error_exit): New.
5712 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5714 2016-05-26 Nathan Sidwell <nathan@acm.org>
5716 * config/nvptx/free.asm: Delete.
5717 * config/nvptx/malloc.asm: Delete.
5718 * config/nvptx/realloc.c: Delete.
5721 2016-05-25 Nathan Sidwell <nathan@acm.org>
5723 * config/nvptx/crt0.s: Delete.
5724 * config/nvptx/crt0.c: New.
5727 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
5729 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
5730 dw2/seh configuration.
5731 [x86_64-*-mingw*]: Likewise.
5733 2016-05-10 Joel Sherrill <joel@rtems.org>
5736 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5737 targets so the same extra_parts are built. Also have tmake_file add
5738 on to its value rather than override.
5740 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
5742 * config.host: Remove SH5 support.
5743 * configure: Likewise.
5745 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
5747 * config/sh/crt1.S: Remove SH5 support.
5748 * config/sh/crti.S: Likewise.
5749 * config/sh/crtn.S: Likewise.
5750 * config/sh/lib1funcs-4-300.S: Likewise.
5751 * config/sh/lib1funcs-Os-4-200.S: Likewise.
5752 * config/sh/lib1funcs.S: Likewise.
5753 * config/sh/linux-unwind.h: Likewise.
5754 * config/sh/t-sh64: Delete.
5756 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
5758 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
5760 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
5761 Joern Rennecke <joern.rennecke@embecosm.com>
5763 * config/arc/crttls.S: New file.
5764 * config/arc/t-arc: New rule.
5765 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
5767 2016-04-25 Nick Clifton <nickc@redhat.com>
5769 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
5770 (__mspabi_cmpd): Likewise.
5771 * config/msp430/floathidf.c (__floathidf): Likewise.
5772 * config/msp430/floathisf.c (__floathisf): Likewise
5773 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
5774 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
5775 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
5777 (__ashrsi3): Likewise.
5779 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
5781 * config/m68k/linux-atomic.c: Do not include unistd.h
5783 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
5785 * config/arm/ieee754-df.S: Fix typos in comments.
5787 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
5790 * configure.ac (powerpc*-*-linux*): Rework tests to build
5791 __float128 emulation routines to not depend on using #pragma GCC
5792 target to enable -mfloat128.
5793 * configure: Regnerate.
5795 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
5798 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
5799 __MINGW32__ is defined.
5801 2016-03-28 James Bowman <james.bowman@ftdichip.com>
5803 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
5805 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
5808 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
5809 built with an assembler that does not support ISA 3.0
5810 instructions, rename __extendkftf2_sw to __extendkftf2.
5812 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5815 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
5816 call-clobbered registers.
5817 (internal_mcount): Remove __i386__ handling.
5819 2016-02-26 Joel Sherrill <joel@rtems.org>
5821 * config.host: Add x86_64-*-rtems*.
5823 2016-02-26 Joel Sherrill <joel@rtems.org>
5825 * libgcc/config.host: Add aarch64-*-rtems*.
5827 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5828 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5830 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
5831 union of u64 and double.
5832 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
5833 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
5835 (FP_ROUNDMODE): Update the usage of _fpscr.
5837 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
5840 * Makefile.in (crtoffloadtable$(objext)): New rule.
5841 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
5842 enable_offload_targets is not empty.
5843 * configure: Regenerate.
5844 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
5847 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
5849 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
5850 .literal_position before the function.
5851 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
5854 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
5856 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
5857 * config/s390/morestack.S: New file.
5858 * config/s390/t-stack-s390: New file.
5859 * generic-morestack.c (__splitstack_find): Add s390-specific code.
5861 2016-02-12 Walter Lee <walt@tilera.com>
5863 * config.host (tilegx*-*-linux*): remove ti from
5864 softfp_int_modes for 32-bit configs.
5866 2016-02-10 Ian Lance Taylor <iant@google.com>
5869 * config/i386/morestack.S (__stack_split_initialize): Align
5872 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
5875 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
5876 __FLOAT128__ to compile only for __float128 capable targets.
5878 2016-01-25 Jakub Jelinek <jakub@redhat.com>
5881 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
5882 instead of ___NO_FPRS__.
5884 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
5885 Steven Munroe <munroesj@linux.vnet.ibm.com>
5886 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
5888 * config/rs6000/float128-sed: New files to convert TF names to KF
5889 names for PowerPC IEEE 128-bit floating point support.
5890 * config/rs6000/float128-sed-hw: Likewise.
5892 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5893 floating point hardware support.
5895 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5896 128-bit floating point software emulation or use ISA 3.0 hardware
5897 support if it is available.
5899 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5902 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
5903 floating point to IBM extended double.
5905 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
5906 double to IEEE 128-bit floating point.
5908 * config/rs6000/t-float128: New Makefile fragments to enable
5909 building __float128 emulation support.
5910 * config/rs6000/t-float128-hw: Likewise.
5912 * config/rs6000/sfp-exceptions.c: New file to provide exception
5913 support for IEEE 128-bit floating point.
5915 * config/rs6000/floattikf.c: New files for converting between IEEE
5916 128-bit floating point and signed/unsigned 128-bit integers.
5917 * config/rs6000/fixunskfti.c: Likewise.
5918 * config/rs6000/fixkfti.c: Likewise.
5919 * config/rs6000/floatuntikf.c: Likewise.
5921 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5922 when building on 64-bit systems, or when VSX is enabled.
5923 (_FP_W_TYPE): Likewise.
5924 (_FP_WS_TYPE): Likewise.
5925 (_FP_I_TYPE): Likewise.
5926 (TItype): Define on 64-bit systems.
5927 (UTItype): Likewise.
5928 (TI_BITS): Likewise.
5929 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5930 (_FP_MUL_MEAT_Q): Likewise.
5931 (_FP_DIV_MEAT_D): Likewise.
5932 (_FP_DIV_MEAT_Q): Likewise.
5933 (_FP_NANFRAC_D): Likewise.
5934 (_FP_NANFRAC_Q): Likewise.
5935 (ISA_BIT): Add exception support if we are being compiled on a
5936 machine with hardware floating point support to build the IEEE
5937 128-bit emulation functions.
5938 (FP_EX_INVALID): Likewise.
5939 (FP_EX_OVERFLOW): Likewise.
5940 (FP_EX_UNDERFLOW): Likewise.
5941 (FP_EX_DIVZERO): Likewise.
5942 (FP_EX_INEXACT): Likewise.
5943 (FP_EX_ALL): Likewise.
5944 (__sfp_handle_exceptions): Likewise.
5945 (FP_HANDLE_EXCEPTIONS): Likewise.
5946 (FP_RND_NEAREST): Likewise.
5947 (FP_RND_ZERO): Likewise.
5948 (FP_RND_PINF): Likewise.
5949 (FP_RND_MINF): Likewise.
5950 (FP_RND_MASK): Likewise.
5951 (_FP_DECL_EX): Likewise.
5952 (FP_INIT_ROUNDMODE): Likewise.
5953 (FP_ROUNDMODE): Likewise.
5955 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5956 VSX code, enable IEEE 128-bit floating point. If the compiler can
5957 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
5958 floating point hardware instructions and it supports declaring
5959 functions with the ifunc attribute, enable ifunc functions to
5960 switch between software and hardware support.
5961 * configure.ac (powerpc*-*-linux*): Likewise.
5962 * configure: Regenerate.
5964 2016-01-15 Nick Clifton <nickc@redhat.com>
5966 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
5967 dependency as the source file to be compiled.
5968 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
5969 (lib2hw_mul_f5.o): Likewise.
5971 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
5973 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
5974 * libgcc/config/rs6000/fixkfti.c: Likewise.
5975 * libgcc/config/rs6000/fixunskfti.c: Likewise.
5976 * libgcc/config/rs6000/float128-hw.c: Likewise.
5977 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
5978 * libgcc/config/rs6000/float128-sed: Likewise.
5979 * libgcc/config/rs6000/floattikf.c: Likewise.
5980 * libgcc/config/rs6000/floatuntikf.c: Likewise.
5981 * libgcc/config/rs6000/quad-float128.h: Likewise.
5982 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
5983 * libgcc/config/rs6000/sfp-machine.h: Likewise.
5984 * libgcc/config/rs6000/t-float128: Likewise.
5985 * libgcc/config/rs6000/t-float128-hw: Likewise.
5986 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
5987 * libgcc/config.host: Likewise.
5988 * libgcc/configure: Likewise.
5989 * libgcc/configure.ac: Likewise.
5991 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
5992 Steven Munroe <munroesj@linux.vnet.ibm.com>
5993 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
5995 * config/rs6000/sfp-exceptions.c: New file to provide exception
5996 support for IEEE 128-bit floating point.
5998 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5999 floating point hardware support.
6001 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
6003 * config/rs6000/fixunskfti.c: Likewise.
6004 * config/rs6000/fixkfti.c: Likewise.
6005 * config/rs6000/floatuntikf.c: Likewise.
6006 * config/rs6000/extendkftf2-sw.c: Likewise.
6007 * config/rs6000/trunctfkf2-sw.c: Likewise.
6009 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
6010 128-bit floating point software emulation or use ISA 3.0 hardware
6011 support if it is available.
6013 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
6016 * config/rs6000/t-float128: New Makefile fragments to enable
6017 building __float128 emulation support.
6018 * config/rs6000/t-float128-hw: Likewise.
6020 * config/rs6000/float128-sed: New file to convert TF names to KF
6021 names for PowerPC IEEE 128-bit floating point support.
6023 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
6024 when building on 64-bit systems, or when VSX is enabled.
6025 (_FP_W_TYPE): Likewise.
6026 (_FP_WS_TYPE): Likewise.
6027 (_FP_I_TYPE): Likewise.
6028 (TItype): Define on 64-bit systems.
6029 (UTItype): Likewise.
6030 (TI_BITS): Likewise.
6031 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
6032 (_FP_MUL_MEAT_Q): Likewise.
6033 (_FP_DIV_MEAT_D): Likewise.
6034 (_FP_DIV_MEAT_Q): Likewise.
6035 (_FP_NANFRAC_D): Likewise.
6036 (_FP_NANFRAC_Q): Likewise.
6037 (ISA_BIT): Add exception support if we are being compiled on a
6038 machine with hardware floating point support to build the IEEE
6039 128-bit emulation functions.
6040 (FP_EX_INVALID): Likewise.
6041 (FP_EX_OVERFLOW): Likewise.
6042 (FP_EX_UNDERFLOW): Likewise.
6043 (FP_EX_DIVZERO): Likewise.
6044 (FP_EX_INEXACT): Likewise.
6045 (FP_EX_ALL): Likewise.
6046 (__sfp_handle_exceptions): Likewise.
6047 (FP_HANDLE_EXCEPTIONS): Likewise.
6048 (FP_RND_NEAREST): Likewise.
6049 (FP_RND_ZERO): Likewise.
6050 (FP_RND_PINF): Likewise.
6051 (FP_RND_MINF): Likewise.
6052 (FP_RND_MASK): Likewise.
6053 (_FP_DECL_EX): Likewise.
6054 (FP_INIT_ROUNDMODE): Likewise.
6055 (FP_ROUNDMODE): Likewise.
6057 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
6058 compiler can do __float128.
6059 * configure: Regenerate.
6061 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
6062 VSX code, enable IEEE 128-bit floating point.
6064 2016-01-05 Olivier Hainque <hainque@adacore.com>
6066 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
6069 2016-01-04 Jakub Jelinek <jakub@redhat.com>
6071 Update copyright years.
6073 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
6075 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
6078 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
6080 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
6081 instead of abort to avoid dependency on stdlib.h.
6083 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
6085 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
6086 to initialize call to __dl_fixup once.
6088 2015-12-04 Nick Clifton <nickc@redhat.com>
6090 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
6091 Allow for the second argument being negative.
6092 * config.host (extra_parts): Define for MSP430. Create separate
6093 libraries for each of the hardware multiply formats.
6094 * config/msp430/lib2hw_mul.S: Build only the multiply routines
6096 * config/msp430/lib2mul.c: Likewise.
6097 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
6098 Add rules to build hardware multiply libraries.
6099 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
6100 __mspabi_divul function.
6101 (__mspabi_divllu): New stub function.
6103 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
6105 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
6106 fixup values if saved GOT address doesn't match runtime address.
6107 (fixup_branch_offset): Reorder list.
6109 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6111 * Makefile.in (VTV_CFLAGS): New variable.
6112 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
6113 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
6114 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6115 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
6116 to extra_parts if $enable_vtable_verify = yes.
6118 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
6121 * config/arm/linux-atomic-64bit.c (__write): Rename to...
6122 (write): ...this and fix the return type.
6124 2015-11-19 DJ Delorie <dj@redhat.com>
6126 * config/msp430/lib2hw_mul.S: Fix alignment.
6128 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
6130 * config/nvptx/reduction.c: New.
6131 * config/nvptx/t-nvptx (LIB2ADD): Add it.
6133 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
6135 * config/rs6000/on_exit.c: New file.
6136 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
6137 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
6139 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
6141 * config/arc/dp-hack.h: Add support for ARCHS.
6142 * config/arc/ieee-754/divdf3.S: Likewise.
6143 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6144 * config/arc/ieee-754/muldf3.S: Likewise.
6145 * config/arc/ieee-754/mulsf3.S: Likewise
6146 * config/arc/lib1funcs.S: Likewise
6147 * config/arc/gmon/dcache_linesz.S: Don't read the build register
6149 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
6151 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
6152 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
6155 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6157 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
6159 * config/ia64/crtend.S: Likewise.
6161 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
6163 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
6164 __CHAR_BIT__ instead of BITS_PER_UNIT.
6165 * fixed-bit.h: Likewise.
6166 * fp-bit.h: Likewise.
6167 * libgcc2.c (__popcountSI2): Likewise.
6168 (__popcountDI2): Likewise.
6169 * libgcc2.h: Likewise.
6170 * libgcov.h: Likewise.
6172 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
6174 * config/rs6000/atexit.c: New file.
6175 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
6176 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
6177 * config/rs6000/cxa_finalize.c
6178 (catomic_compare_and_exchange_bool_acq): Negate return value.
6180 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
6182 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
6183 (processor_subtypes): Add znver1.
6184 (get_amd_cpu): Detect znver1.
6186 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
6188 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
6189 Include crtfastmath.o.
6191 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
6194 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
6196 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
6198 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
6199 * config/rl78/divmodsi.S: Update return register to r8.
6200 * config/rl78/divmodhi.S: Update return register to r8,r9.
6201 Branch to main_loop_done_himode to pop registers before return.
6203 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
6205 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
6206 (__cpu_indicator_init): Fix model selection for AMD CPUs.
6208 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
6210 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
6212 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
6214 * config.host (xtensa*-*-uclinux*): New configuration.
6216 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
6218 * config/i386/cpuinfo.c (processor_features): Add
6219 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
6221 2015-09-28 Joseph Myers <joseph@codesourcery.com>
6223 * soft-fp/adddf3.c: Update from glibc.
6224 * soft-fp/addsf3.c: Likewise.
6225 * soft-fp/addtf3.c: Likewise.
6226 * soft-fp/divdf3.c: Likewise.
6227 * soft-fp/divsf3.c: Likewise.
6228 * soft-fp/divtf3.c: Likewise.
6229 * soft-fp/double.h: Likewise.
6230 * soft-fp/eqdf2.c: Likewise.
6231 * soft-fp/eqsf2.c: Likewise.
6232 * soft-fp/eqtf2.c: Likewise.
6233 * soft-fp/extenddftf2.c: Likewise.
6234 * soft-fp/extended.h: Likewise.
6235 * soft-fp/extendsfdf2.c: Likewise.
6236 * soft-fp/extendsftf2.c: Likewise.
6237 * soft-fp/extendxftf2.c: Likewise.
6238 * soft-fp/fixdfdi.c: Likewise.
6239 * soft-fp/fixdfsi.c: Likewise.
6240 * soft-fp/fixdfti.c: Likewise.
6241 * soft-fp/fixsfdi.c: Likewise.
6242 * soft-fp/fixsfsi.c: Likewise.
6243 * soft-fp/fixsfti.c: Likewise.
6244 * soft-fp/fixtfdi.c: Likewise.
6245 * soft-fp/fixtfsi.c: Likewise.
6246 * soft-fp/fixtfti.c: Likewise.
6247 * soft-fp/fixunsdfdi.c: Likewise.
6248 * soft-fp/fixunsdfsi.c: Likewise.
6249 * soft-fp/fixunsdfti.c: Likewise.
6250 * soft-fp/fixunssfdi.c: Likewise.
6251 * soft-fp/fixunssfsi.c: Likewise.
6252 * soft-fp/fixunssfti.c: Likewise.
6253 * soft-fp/fixunstfdi.c: Likewise.
6254 * soft-fp/fixunstfsi.c: Likewise.
6255 * soft-fp/fixunstfti.c: Likewise.
6256 * soft-fp/floatdidf.c: Likewise.
6257 * soft-fp/floatdisf.c: Likewise.
6258 * soft-fp/floatditf.c: Likewise.
6259 * soft-fp/floatsidf.c: Likewise.
6260 * soft-fp/floatsisf.c: Likewise.
6261 * soft-fp/floatsitf.c: Likewise.
6262 * soft-fp/floattidf.c: Likewise.
6263 * soft-fp/floattisf.c: Likewise.
6264 * soft-fp/floattitf.c: Likewise.
6265 * soft-fp/floatundidf.c: Likewise.
6266 * soft-fp/floatundisf.c: Likewise.
6267 * soft-fp/floatunditf.c: Likewise.
6268 * soft-fp/floatunsidf.c: Likewise.
6269 * soft-fp/floatunsisf.c: Likewise.
6270 * soft-fp/floatunsitf.c: Likewise.
6271 * soft-fp/floatuntidf.c: Likewise.
6272 * soft-fp/floatuntisf.c: Likewise.
6273 * soft-fp/floatuntitf.c: Likewise.
6274 * soft-fp/gedf2.c: Likewise.
6275 * soft-fp/gesf2.c: Likewise.
6276 * soft-fp/getf2.c: Likewise.
6277 * soft-fp/ledf2.c: Likewise.
6278 * soft-fp/lesf2.c: Likewise.
6279 * soft-fp/letf2.c: Likewise.
6280 * soft-fp/muldf3.c: Likewise.
6281 * soft-fp/mulsf3.c: Likewise.
6282 * soft-fp/multf3.c: Likewise.
6283 * soft-fp/negdf2.c: Likewise.
6284 * soft-fp/negsf2.c: Likewise.
6285 * soft-fp/negtf2.c: Likewise.
6286 * soft-fp/op-1.h: Likewise.
6287 * soft-fp/op-2.h: Likewise.
6288 * soft-fp/op-4.h: Likewise.
6289 * soft-fp/op-8.h: Likewise.
6290 * soft-fp/op-common.h: Likewise.
6291 * soft-fp/quad.h: Likewise.
6292 * soft-fp/single.h: Likewise.
6293 * soft-fp/soft-fp.h: Likewise.
6294 * soft-fp/subdf3.c: Likewise.
6295 * soft-fp/subsf3.c: Likewise.
6296 * soft-fp/subtf3.c: Likewise.
6297 * soft-fp/truncdfsf2.c: Likewise.
6298 * soft-fp/trunctfdf2.c: Likewise.
6299 * soft-fp/trunctfsf2.c: Likewise.
6300 * soft-fp/trunctfxf2.c: Likewise.
6301 * soft-fp/unorddf2.c: Likewise.
6302 * soft-fp/unordsf2.c: Likewise.
6303 * soft-fp/unordtf2.c: Likewise.
6305 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
6308 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
6310 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6312 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6313 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
6314 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
6316 (internal_mcount): Likewise.
6317 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
6318 crt_compile, add CRTSTUFF_T_CFLAGS_S.
6320 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6322 * configure.ac (libgcc_cv_solaris_crts): New test.
6323 * configure: Regenerate.
6324 * config.in: Regenerate.
6325 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
6326 * config/gmon-sol2.c: Rename to ...
6327 * config/sol2/gmon.c: ... this.
6328 Include auto-target.h.
6329 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
6330 * config/t-sol2: Rename to ...
6331 * config/sol2/t-sol2: ... this.
6332 (gmon.o): Reflect renaming.
6333 (crtp.o, crtpg.o): New rules.
6334 * config.host (*-*-solaris2*): Reflect renaming.
6335 Use system CRTs if present.
6336 Remove default CRT case.
6338 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
6340 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
6341 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
6343 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
6344 (__sync_val_compare_and_swap_##WIDTH): Likewise.
6345 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
6346 (__sync_lock_test_and_set_##WIDTH): Likewise.
6347 (__sync_lock_release_##WIDTH): Likewise.
6348 (__sync_fetch_and_##OP##_4): Change result to match type of
6350 (__sync_##OP##_and_fetch_4): Likewise.
6351 (__sync_val_compare_and_swap_4): Likewise.
6352 (__sync_bool_compare_and_swap_4): likewise.
6353 (__sync_lock_test_and_set_4): Likewise.
6354 (__sync_lock_release_4): Likewise.
6355 (FETCH_AND_OP_2): Add long long variants.
6356 (OP_AND_FETCH_2): Likewise.
6357 (COMPARE_AND_SWAP_2 ): Likewise.
6358 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6359 (SYNC_LOCK_RELEASE_2): Likewise.
6360 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
6362 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
6364 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
6365 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
6366 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
6367 (get_available_features): Habdle new features.
6369 2015-09-21 James Bowman <james.bowman@ftdichip.com>
6371 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
6372 memory layout. Deal correctly with BSS region larger than 32K.
6373 Handle a watchdog reset like a power-on reset. Clean up unused
6376 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
6377 David Edelsohn <dje.gcc@gmail.com>
6379 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
6380 * config/rs6000/crtdbase.S: New file.
6381 * config/rs6000/t-aix-cxa: Build crtdbase.o.
6383 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
6385 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
6386 Add support for call0 ABI.
6388 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
6390 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
6392 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
6394 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
6395 (__GTHREAD_HAS_COND): Likewise.
6396 (__gthread_t): Likewise.
6397 (__gthread_cond_t): Likewise.
6398 (__gthread_time_t): Likewise.
6399 (__GTHREAD_MUTEX_INIT): Likewise.
6400 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
6401 (__GTHREAD_COND_INIT): Likewise.
6402 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
6403 (__GTHREAD_TIME_INIT): Likewise.
6404 (__gthread_create): Likewise.
6405 (__gthread_join): Likewise.
6406 (__gthread_detach): Likewise.
6407 (__gthread_equal): Likewise.
6408 (__gthread_self): Likewise.
6409 (__gthread_yield): Likewise.
6410 (__gthread_cond_broadcast): Likewise.
6411 (__gthread_cond_signal): Likewise.
6412 (__gthread_cond_wait): Likewise.
6413 (__gthread_cond_timedwait): Likewise.
6414 (__gthread_cond_wait_recursive): Likewise.
6415 (__gthread_cond_destroy): Likewise.
6416 (rtems_gxx_once): Delete.
6417 (rtems_gxx_key_create): Likewise.
6418 (rtems_gxx_key_delete): Likewise.
6419 (rtems_gxx_getspecific): Likewise.
6420 (rtems_gxx_setspecific): Likewise.
6421 (rtems_gxx_mutex_init): Likewise.
6422 (rtems_gxx_mutex_destroy): Likewise.
6423 (rtems_gxx_mutex_lock): Likewise.
6424 (rtems_gxx_mutex_trylock): Likewise.
6425 (rtems_gxx_mutex_unlock): Likewise.
6426 (rtems_gxx_recursive_mutex_init): Likewise.
6427 (rtems_gxx_recursive_mutex_lock): Likewise.
6428 (rtems_gxx_recursive_mutex_trylock): Likewise.
6429 (rtems_gxx_recursive_mutex_unlock): Likewise.
6430 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
6431 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
6432 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
6433 (__gthread_once): Likewise.
6434 (__gthread_key_create): Likewise.
6435 (__gthread_key_delete): Likewise.
6436 (__gthread_getspecific): Likewise.
6437 (__gthread_setspecific): Likewise.
6438 (__gthread_key_t): Use <pthread.h> type.
6439 (__gthread_once_t): Likewise
6440 (__gthread_mutex_t): Use <sys/lock.h> type.
6441 (__gthread_recursive_mutex_t): Likewise
6442 (__gthread_mutex_lock): Use <sys/lock.h> function.
6443 (__gthread_mutex_trylock): Likewise.
6444 (__gthread_mutex_timedlock): Likewise.
6445 (__gthread_mutex_unlock): Likewise.
6446 (__gthread_mutex_destroy): Likewise.
6447 (__gthread_recursive_mutex_lock): Likewise.
6448 (__gthread_recursive_mutex_trylock): Likewise.
6449 (__gthread_recursive_mutex_timedlock): Likewise.
6450 (__gthread_recursive_mutex_unlock): Likewise.
6451 (__gthread_recursive_mutex_destroy): Likewise.
6453 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6455 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
6456 context->sp instead of context->cfa.
6458 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6460 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
6461 with unwind-dw2-fde-dip.
6463 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6465 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
6466 CALL12 followed by series of ENTRY to spill windowed registers.
6467 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
6468 instead of making linux spill syscall.
6470 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
6472 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
6473 (get_intel_cpu): Likewise.
6475 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
6477 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
6478 (get_intel_cpu): Add Knights Landing support.
6480 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
6483 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
6484 (get_available_features): Handle FEATURE_PCLMUL.
6486 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
6488 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
6491 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
6494 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
6495 (get_available_features): Handle FEATURE_AES.
6497 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
6499 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
6500 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
6502 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
6504 * offloadstuff.c: Constify host data.
6506 2015-07-17 Jan Beulich <jbeulich@suse.com>
6508 * config/t-softfp: Split up "else ifneq".
6510 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
6511 Cesar Philippidis <cesar@codesourcery.com>
6512 Chung-Lin Tang <cltang@codesourcery.com>
6514 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
6515 for __nios2_arch__ level.
6517 2015-07-13 John Marino <gnugcc@marino.st>
6519 * config/i386/t-dragonfly: New.
6521 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
6523 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6524 better match light-weight syscall argument order.
6525 (__kernel_cmpxchg2): Likewise.
6528 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
6530 * config.host: Support i[34567]86-*-elfiamcu target.
6531 * config/t-softfp-sfdftf: New file.
6532 * config/i386/32/t-iamcu: Likewise.
6533 * configure: Regenerated.
6535 2015-06-23 James Lemke <jwlemke@codesourcery.com>
6538 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6540 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
6542 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6544 2015-05-27 John Marino <gnugcc@marino.st>
6546 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6548 * config/i386/freebsd-unwind.h: New.
6550 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
6552 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6553 i386/t-crtfm to tmake_file.
6554 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6555 (set_fast_math): Use set_fast_math_sse for SSE targets.
6556 * config/i386/t-crtfm: Remove.
6558 2015-05-21 Alan Modra <amodra@gmail.com>
6561 * config/rs6000/morestack.S: Remove ".abiversion 1".
6563 2015-05-20 Alan Modra <amodra@gmail.com>
6565 * config/rs6000/morestack.S: New.
6566 * config/rs6000/t-stack-rs6000: New.
6567 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6569 * generic-morestack.c: Don't build for powerpc 32-bit.
6571 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
6573 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6574 Remove useless endif/ifneq ($(enable_shared),yes) pair.
6576 2015-05-16 James Bowman <james.bowman@ftdichip.com>
6578 * config.host: FT32 target added.
6579 * config/ft32/*: New files for FT32 target.
6581 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
6583 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6585 * config/arm/ieee754-df.S: Add CFI directives.
6586 * config/arm/ieee754-sf.S: Add CFI directives.
6588 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
6590 * configure.ac: Include config/sjlj.m4.
6591 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6592 * config.in: Regenerate.
6593 * configure: Likewise.
6594 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6596 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
6598 * libgcov-util.c: Add space between string literal and macro name.
6600 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
6601 Chris Jones <chrisj@nvidia.com>
6602 Joshua Conner <jconner@nvidia.com>
6604 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6605 (arm*-*-uclinux*): Likewise.
6606 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6607 * config/arm/crtfastmath.c: New file.
6609 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
6611 * Makefile.in (real_host_noncanonical): New variable.
6612 (libsubdir): Use it.
6613 * configure.ac (real_host_noncanonical): Compute. Remove special
6614 case for intelmicemul.
6615 * configure: Regenerate.
6617 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
6619 * config/frv/elf-lib.h: New file.
6620 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6621 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6624 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
6626 * config/frv/frvbengin.c: Do not include defaults.h
6627 * config/frv/frvend.c: Ditto.
6629 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
6631 * config.host: Add h8300-*-linux
6632 * config/h8300/t-linux: New file.
6633 * config/h8300/lib1funs.s: Change symbol prefix.
6634 * config/h8300/sfp-machine.h: 64bit double support.
6636 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
6637 Szabolcs Nagy <szabolcs.nagy@arm.com>
6639 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6640 Linux if target provides dl_iterate_phdr.
6642 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
6645 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6646 * config/i386/cpuinfo.c (__cpu_model): Initialize.
6647 (__cpu_indicator_init@GCC_4.8.0): New.
6648 (__cpu_model@GCC_4.8.0): Likewise.
6649 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6652 2015-04-16 Nick Clifton <nickc@redhat.com>
6654 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6655 and __modhi3 functions.
6656 * config/rl78/divmodso.S: Add G14 and G13 versions of the
6657 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6659 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
6661 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6662 do-while loop as macro body to avoid warnings.
6664 2015-04-10 Jakub Jelinek <jakub@redhat.com>
6665 Iain Sandoe <iain@codesourcery.com>
6668 * configure: Regenerate.
6670 2015-04-07 Jakub Jelinek <jakub@redhat.com>
6671 Iain Sandoe <iain@codesourcery.com>
6674 * configure: Regenerate.
6676 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
6678 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6680 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
6682 Implement call0 ABI for xtensa
6683 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6684 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6685 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6686 use ret in call0 ABI.
6687 * config/xtensa/t-windowed: New file.
6688 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6689 * libgcc/configure: Regenerated.
6690 * libgcc/configure.ac: Check if xtensa target is configured for
6691 windowed ABI and thus needs to use custom unwind code.
6693 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
6696 * gthr-single.h: Use __unused__ attribute instead of unused.
6697 * config/gthr-vxworks.h: Likewise.
6698 * config/i386/gthr-win32.h: Likewise.
6700 2015-02-27 Kai Tietz <ktietz@redhat.com>
6703 * config.in: Regenerated.
6704 * configure: Likewise.
6705 * configure.ac (AC_HEADER_STDC): Added explicit.
6706 (AC_CHECK_HEADERS): Check for default headers plus
6708 * libgcov-util.c (gcov_read_profile_dir): Disable use
6709 of ftw-function, if header is not found.
6710 (ftw_read_file): Likewise.
6712 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
6715 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6718 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
6720 * config/arm/bpabi.S (test_div_by_zero): Make label names
6721 consistent between thumb2 and arm mode cases. Separate the
6722 signed comparison on the high word of the numerator from the
6723 unsigned comparison on the low word.
6724 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6727 2015-02-17 Joseph Myers <joseph@codesourcery.com>
6729 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6731 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6733 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
6735 PR gcov-profile/61889
6736 * libgcov-driver-system.c: undefine clashing macro for mkdir.
6738 2015-02-02 Nick Clifton <nickc@redhat.com>
6740 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6741 rounding up the fraction.
6743 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
6745 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
6746 oldval and newval to const void *. Fix typo.
6747 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
6748 (FETCH_AND_OP_WORD): Likewise.
6749 (OP_AND_FETCH_WORD): Likewise.
6750 (COMPARE_AND_SWAP_2): Likewise.
6751 (__sync_val_compare_and_swap_4): Likewise.
6752 (__sync_lock_test_and_set_4): Likewise.
6753 (SYNC_LOCK_RELEASE_2): Likewise.
6754 Remove support for long long atomic operations.
6756 2015-01-27 Caroline Tice <cmtice@google.com>
6758 Committing VTV Cywin/Ming patch for Patrick Wollgast
6759 * Makefile.in: Move rules to build vtv_*.o out of the check
6760 for CUSTOM_CRTSTUFF.
6761 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
6762 i[34567]86-*-mingw*)
6763 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
6764 enable_vtable_verify.
6766 2015-01-27 Nick Clifton <nickc@redhat.com>
6768 * config/rl78/cmpsi2.S: Use function start and end macros.
6769 (__gcc_bcmp): New function.
6770 * config/rl78/lshrsi3.S: Use function start and end macros.
6771 * config/rl78/mulsi3.S: Add support for G10.
6772 (__mulqi3): New function for G10.
6773 * config/rl78/signbit.S: Use function start and end macros.
6774 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
6776 (LIB2FUNCS_EXCLUDE): Define.
6777 (LIB2FUNCS_ST): Define.
6778 * config/rl78/trampoline.S: Use function start and end macros.
6779 * config/rl78/vregs.h (START_FUNC): New macro.
6780 (START_ANOTHER_FUNC): New macro.
6781 (END_FUNC): New macro.
6782 (END_ANOTHER_FUNC): New macro.
6783 * config/rl78/bit-count.S: New file. Contains assembler
6784 implementations of the bit counting functions: ___clzhi2,
6785 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
6786 __paritysi2, __popcounthi2 and __popcountsi2.
6787 * config/rl78/fpbit-sf.S: New file. Contains assembler
6788 implementationas of the math functions: __negsf2, __cmpsf2,
6789 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
6790 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
6791 * config/rl78/fpmath-sf.S: New file. Contains assembler
6792 implementations of the math functions: __subsf3, __addsf3,
6793 __mulsf3 and __divsf3
6795 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6797 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
6798 Add i386/elf-lib.h to tm_file.
6799 * config/i386/elf-lib.h: Fix comment.
6800 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
6801 && __sun__ && __svr4__]: Remove workaround.
6803 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6805 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
6807 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
6809 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
6811 * config/i386/cpuinfo.c (processor_subtypes): Add
6812 INTEL_COREI7_BROADWELL.
6813 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
6816 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
6818 * config/i386/elf-lib.h: New file.
6819 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
6820 Wrap definition in #ifdef __i386__.
6821 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6822 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6823 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6824 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6827 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
6829 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
6830 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
6832 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
6834 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
6835 Update rt_sigframe format and address for current Nios II
6838 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
6840 * config.host (arm*-*-freebsd*): Add new configuration for
6842 * config/arm/freebsd-atomic.c: New file.
6843 * config/arm/t-freebsd: Likewise.
6844 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
6845 'PC-relative indirect' OS's.
6847 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
6849 * config.host: Add Visium support.
6850 * config/visium: New directory.
6852 2015-01-05 Jakub Jelinek <jakub@redhat.com>
6854 Update copyright years.
6856 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
6858 * config.host: Support mipsisa32r6 and mipsisa64r6.
6859 * config/mips/mips16.S: Do not build for R6.
6861 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
6863 * config/sh/crt.h: New.
6864 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
6866 * config/sh/crt1.S: Likewise.
6868 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
6871 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
6872 func_ptr *dtor_list temporary variable to avoid "array subscript
6873 is above array bounds" warnings.
6875 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
6877 * Makefile.in (with_aix_soname): Define.
6878 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
6879 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
6880 * configure: Recreate.
6882 2014-12-05 Olivier Hainque <hainque@adacore.com>
6884 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
6885 now provided by defaults.h.
6887 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
6890 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
6891 whether it's defined.
6893 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
6895 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
6896 * config/i386/cpuinfo.c (get_available_features): Detect it.
6898 2014-11-27 Tony Wang <tony.wang@arm.com>
6900 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
6901 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
6902 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
6904 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
6906 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
6908 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
6910 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
6913 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
6914 John David Anglin <danglin@gcc.gnu.org>
6916 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
6917 (FETCH_AND_OP_2): New. Use for subword and double word operations.
6918 (OP_AND_FETCH_2): Likewise.
6919 (COMPARE_AND_SWAP_2): Likewise.
6920 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6921 (SYNC_LOCK_RELEASE_2): Likewise.
6922 (SUBWORD_SYNC_OP): Remove.
6923 (SUBWORD_VAL_CAS): Likewise.
6924 (SUBWORD_BOOL_CAS): Likewise.
6925 (FETCH_AND_OP_WORD): Update.
6926 Consistently use signed types.
6928 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
6929 Thomas Schwinge <thomas@codesourcery.com>
6930 Ilya Verbin <ilya.verbin@intel.com>
6931 Andrey Turetskiy <andrey.turetskiy@intel.com>
6933 * Makefile.in (crtoffloadbegin$(objext)): New rule.
6934 (crtoffloadend$(objext)): Likewise.
6935 * configure: Regenerate.
6936 * configure.ac (accel_dir_suffix): Compute new variable.
6937 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
6938 if enable_offload_targets is not empty.
6939 * offloadstuff.c: New file.
6941 2014-11-13 Nick Clifton <nickc@redhat.com>
6943 * config/rl78/divmodhi.S: Add support for the G10 architecture.
6944 Use START_FUNC and END_FUNC macros to enable linker garbage
6946 * config/rl78/divmodqi.S: Likewise.
6947 * config/rl78/divmodsi.S: Likewise.
6948 * config/rl78/mulsi3.S: Likewise.
6949 * config/rl78/lib2div.c: Remove G10 functions.
6950 * config/rl78/lib2muls.c: Likewise.
6951 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
6952 * config/rl78/vregs.h (START_FUNC): New macro.
6953 (END_FUNC): New macro.
6955 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
6957 * config/mips/mips16.S: Set .module when supported. Update O32
6958 FP64 calling convention and use for FPXX when possible. Add FPXX
6959 calling convention fallback case.
6961 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
6963 * config.host: Handle nvptx-*-*.
6964 * shared-object.mk (as-flags-$o): Define.
6965 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
6966 -xassembler-with-cpp.
6967 * static-object.mk: Identical changes.
6968 * config/nvptx/t-nvptx: New file.
6969 * config/nvptx/crt0.s: New file.
6970 * config/nvptx/free.asm: New file.
6971 * config/nvptx/malloc.asm: New file.
6972 * config/nvptx/realloc.c: New file.
6974 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6976 * Makefile.in (libgcc.map.in): New target.
6977 (libgcc.map): Use libgcc.map.in.
6978 * config/t-softfp (softfp_compat): New variable to be set by
6980 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
6982 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
6984 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
6985 that use compat symbols and disable all code unless [SHARED].
6986 * config/t-softfp-compat: New file.
6987 * find-symver.awk: New file.
6988 * configure.ac (--with-glibc-version): New configure option.
6989 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
6990 * configure: Regenerate.
6991 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
6992 soft-float and e500.
6994 2014-10-29 Joseph Myers <joseph@codesourcery.com>
6996 * config/t-hardfp (hardfp_exclusions): Document new variable for
6998 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
6999 * config/t-softfp (softfp_extras): Document new variable for user
7001 (softfp_func_list): Add functions from $(softfp_extras).
7002 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
7003 * config.host (powerpc*-*-linux*): For e500v1, use
7004 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
7005 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
7006 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
7008 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
7010 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
7011 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
7012 memory read accesses are ok.
7014 2014-10-25 Joseph Myers <joseph@codesourcery.com>
7016 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
7017 * configure: Regenerate.
7018 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
7019 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
7020 of soft-fp for 32-bit classic hard float. Do not use
7021 t-softfp-excl for soft float.
7023 2014-10-22 Joseph Myers <joseph@codesourcery.com>
7025 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
7027 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
7030 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
7032 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
7033 introduced with 2014-10-21 trunk r216525.
7035 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7036 Vidya Praveen <vidya.praveen@atmel.com>
7037 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
7038 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
7039 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
7041 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
7044 Updated library functions for AVRTINY arch.
7045 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
7046 Replaced occurrences of r0/r1 with tmp/zero reg macros.
7047 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
7048 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
7050 (__mulsi3_helper): Update stack, preserve callee saved regs and
7051 argument from stack. Restore callee save registers.
7052 (__mulpsi3): Likewise.
7053 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
7054 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
7055 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
7057 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
7058 (__do_copy_data): Added new definition for AVRTINY.
7059 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
7060 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
7061 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
7062 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
7063 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
7065 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
7068 Fix broken long multiplication on tiny arch.
7070 2014-10-09 Joseph Myers <joseph@codesourcery.com>
7072 * soft-fp/double.h: Update from glibc.
7073 * soft-fp/eqdf2.c: Likewise.
7074 * soft-fp/eqsf2.c: Likewise.
7075 * soft-fp/eqtf2.c: Likewise.
7076 * soft-fp/extenddftf2.c: Likewise.
7077 * soft-fp/extended.h: Likewise.
7078 * soft-fp/extendsfdf2.c: Likewise.
7079 * soft-fp/extendsftf2.c: Likewise.
7080 * soft-fp/extendxftf2.c: Likewise.
7081 * soft-fp/gedf2.c: Likewise.
7082 * soft-fp/gesf2.c: Likewise.
7083 * soft-fp/getf2.c: Likewise.
7084 * soft-fp/ledf2.c: Likewise.
7085 * soft-fp/lesf2.c: Likewise.
7086 * soft-fp/letf2.c: Likewise.
7087 * soft-fp/op-1.h: Likewise.
7088 * soft-fp/op-2.h: Likewise.
7089 * soft-fp/op-4.h: Likewise.
7090 * soft-fp/op-8.h: Likewise.
7091 * soft-fp/op-common.h: Likewise.
7092 * soft-fp/quad.h: Likewise.
7093 * soft-fp/single.h: Likewise.
7094 * soft-fp/soft-fp.h: Likewise.
7095 * soft-fp/unorddf2.c: Likewise.
7096 * soft-fp/unordsf2.c: Likewise.
7097 * soft-fp/unordtf2.c: Likewise.
7098 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
7099 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
7100 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
7101 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
7102 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
7103 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
7104 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
7105 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
7106 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
7107 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
7109 2014-10-08 Rong Xu <xur@google.com>
7111 * libgcov-util.c (read_gcda_file): Fix format.
7112 (find_match_gcov_info): Ditto.
7113 (calculate_2_entries): New.
7114 (compute_one_gcov): Ditto.
7115 (gcov_info_count_all_cold): Ditto.
7116 (gcov_info_count_all_zero): Ditto.
7117 (extract_file_basename): Ditto.
7118 (get_file_basename): Ditto.
7120 (matched_gcov_info): Ditto.
7121 (calculate_overlap): Ditto.
7122 (gcov_profile_overlap): Ditto.
7123 * libgcov-driver.c (compute_summary): Make
7124 it avavilable for external calls.
7126 2014-10-06 Rong Xu <xur@google.com>
7128 * Makefile.in: Ditto.
7129 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
7130 (gcov_sort_icall_topn_counter): Ditto.
7131 (gcov_sort_topn_counter_arrays): Ditto.
7132 (dump_one_gcov): Sort indirect_call topn counters.
7133 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
7135 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
7137 (__gcov_indirect_call_topn_profiler): New profiler function.
7138 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
7139 * libgcov.h: New decls.
7141 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
7143 * config.host: Remove support for score-*.
7145 2014-09-22 Joseph Myers <joseph@codesourcery.com>
7147 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7148 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
7149 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
7150 __LIBGCC_XF_MANT_DIG__.
7151 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
7152 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
7153 __LIBGCC_TF_MANT_DIG__.
7154 * libgcc2.c (NOTRUNC): Define in terms of
7155 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
7156 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7158 2014-09-22 Joseph Myers <joseph@codesourcery.com>
7161 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
7164 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
7166 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
7167 override USE_PT_GNU_EH_FRAME.
7168 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
7169 check USE_EH_FRAME_REGISTRY_ALWAYS against
7170 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
7171 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
7172 variable for substituted force_explicit_eh_registry.
7173 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
7174 * configure.ac (explicit-exception-frame-registration):
7176 * configure: Regenerate.
7178 2014-09-19 Olivier Hainque <hainque@adacore.com>
7180 * config.host (powerpc-wrs-vxworksmils): New configuration,
7183 2014-09-18 Joseph Myers <joseph@codesourcery.com>
7185 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
7187 2014-09-18 Joseph Myers <joseph@codesourcery.com>
7189 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
7190 bits not set bits as indicating trapping exceptions.
7192 2014-09-17 Nathan sidwell <nathan@acm.org>
7194 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
7195 (LIBGCOV_DRIVER): ... here.
7196 * libgcov-driver.c (gcov_master): New.
7197 (gcov_exit): Remove from master chain.
7198 (__gcov_init): Add to master chain if version compatible. Don't
7200 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
7201 (gcov_reset_int): Clear master chain, if compatible.
7202 (gcov_dump_int): New internal interface. Dump master chain, if
7204 (gcov_dump): Alias for gcov_dump_int.
7205 * libgcov.h (struct gcov_root): Add next and prev fields.
7206 (struct gcov_master): New struct.
7207 (__gcov_master): New.
7208 (gcov_dump_int): Declare.
7210 2014-09-17 Olivier Hainque <hainque@adacore.com>
7212 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
7213 and crtbegin.o + crtend.o to extra_parts.
7215 2014-09-12 Joseph Myers <joseph@codesourcery.com>
7217 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
7218 __LIBGCC_HAS_SF_MODE__.
7219 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7220 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7221 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7222 * config/libbid/bid_gcc_intrinsics.h
7223 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7224 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7225 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7226 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7227 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
7228 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7230 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
7233 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
7234 and R24 as needed. Make work for all devices and .text locations.
7235 (__do_global_ctors, __do_global_dtors): Use word addresses.
7236 (__tablejump__, __tablejump_elpm__): Remove functions.
7237 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
7239 (XICALL, XIJMP): New macros.
7241 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
7242 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7244 * config.host (aarch64*): Include crtfastmath.o and
7246 * config/aarch64/crtfastmath.c: New file.
7248 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
7250 * config.host: Remove picochip support.
7251 * config/picochip/adddi3.S: Remove.
7252 * config/picochip/ashlsi3.S: Remove.
7253 * config/picochip/ashlsi3.c: Remove.
7254 * config/picochip/ashrsi3.S: Remove.
7255 * config/picochip/ashrsi3.c: Remove.
7256 * config/picochip/clzsi2.S: Remove.
7257 * config/picochip/cmpsi2.S: Remove.
7258 * config/picochip/divmod15.S: Remove.
7259 * config/picochip/divmodhi4.S: Remove.
7260 * config/picochip/divmodsi4.S: Remove.
7261 * config/picochip/lib1funcs.S: Remove.
7262 * config/picochip/longjmp.S: Remove.
7263 * config/picochip/lshrsi3.S: Remove.
7264 * config/picochip/lshrsi3.c: Remove.
7265 * config/picochip/parityhi2.S: Remove.
7266 * config/picochip/popcounthi2.S: Remove.
7267 * config/picochip/setjmp.S: Remove.
7268 * config/picochip/subdi3.S: Remove.
7269 * config/picochip/t-picochip: Remove.
7270 * config/picochip/ucmpsi2.S: Remove.
7271 * config/picochip/udivmodhi4.S: Remove.
7272 * config/picochip/udivmodsi4.S: Remove.
7274 2014-09-08 Joseph Myers <joseph@codesourcery.com>
7276 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
7277 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
7278 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
7279 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
7280 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
7281 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
7282 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
7283 defined and LIBGCC2_HAS_DF_MODE is defined.
7284 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
7285 defined and LIBGCC2_HAS_XF_MODE is defined.
7286 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
7287 defined and LIBGCC2_HAS_TF_MODE is defined.
7289 2014-09-08 Joseph Myers <joseph@codesourcery.com>
7291 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
7292 and ROUND_TOWARDS_ZERO conditionals.
7294 2014-09-07 Nathan sidwell <nathan@acm.org>
7296 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
7297 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
7299 2014-09-05 Joseph Myers <joseph@codesourcery.com>
7301 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
7302 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7303 uses to __LIBGCC_STACK_POINTER_REGNUM__.
7304 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7305 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7306 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7307 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7308 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
7309 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
7310 (DWARF_FRAME_REGISTERS): Change all uses to
7311 __LIBGCC_DWARF_FRAME_REGISTERS__.
7312 (EH_RETURN_STACKADJ_RTX): Change all uses to
7313 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7314 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
7315 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
7316 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
7317 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
7318 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
7319 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
7320 to __LIBGCC_EH_FRAME_SECTION_NAME__.
7321 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
7322 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
7323 __LIBGCC_STACK_POINTER_REGNUM__.
7324 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7325 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7326 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7327 to __LIBGCC_STACK_POINTER_REGNUM__.
7328 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7329 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7330 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7331 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7332 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7333 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7334 (STACK_POINTER_REGNUM): Change all uses to
7335 __LIBGCC_STACK_POINTER_REGNUM__.
7336 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
7337 use to __LIBGCC_STACK_POINTER_REGNUM__.
7338 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7339 uses to __LIBGCC_STACK_POINTER_REGNUM__.
7340 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
7341 to __LIBGCC_DWARF_FRAME_REGISTERS__.
7342 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
7343 to __LIBGCC_DWARF_FRAME_REGISTERS__.
7344 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7345 to __LIBGCC_STACK_POINTER_REGNUM__.
7346 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
7347 Remove conditional definition.
7348 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
7349 __LIBGCC_TEXT_SECTION_ASM_OP__.
7350 (EH_FRAME_SECTION_NAME): Change all uses to
7351 __LIBGCC_EH_FRAME_SECTION_NAME__.
7352 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
7353 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
7354 (CTORS_SECTION_ASM_OP): Change all uses to
7355 __LIBGCC_CTORS_SECTION_ASM_OP__.
7356 (DTORS_SECTION_ASM_OP): Change all uses to
7357 __LIBGCC_DTORS_SECTION_ASM_OP__.
7358 (JCR_SECTION_NAME): Change all uses to
7359 __LIBGCC_JCR_SECTION_NAME__.
7360 (INIT_SECTION_ASM_OP): Change all uses to
7361 __LIBGCC_INIT_SECTION_ASM_OP__.
7362 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7363 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7364 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
7365 __LIBGCC_STACK_GROWS_DOWNWARD__.
7366 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
7367 __LIBGCC_INIT_SECTION_ASM_OP__.
7368 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7369 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7370 (EH_FRAME_SECTION_NAME): Change all uses to
7371 __LIBGCC_EH_FRAME_SECTION_NAME__.
7372 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
7373 definitions. Change all uses to
7374 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
7375 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
7376 __LIBGCC_STACK_GROWS_DOWNWARD__.
7377 (DWARF_FRAME_REGISTERS): Change all uses to
7378 __LIBGCC_DWARF_FRAME_REGISTERS__.
7379 (EH_RETURN_STACKADJ_RTX): Change all uses to
7380 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7381 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
7382 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
7383 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
7384 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
7385 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
7387 2014-09-02 Nathan sidwell <nathan@acm.org>
7389 * libgcov-interface.c (STRONG_ALIAS): New.
7390 (__gcov_flush): Call __gcov_reset_int.
7391 (__gcov_reset): Strong alias for ...
7392 (__gcov_reset_ing): ... this renamed hidden version.
7393 * libgcov.h (__gcov_reset_int): New declaration.
7395 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
7397 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
7399 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
7400 (__dso_handle): Define on Cygwin.
7401 * config/i386/t-cygming (crtbeginS.o): New rule.
7402 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
7404 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
7407 2014-08-13 Steve Ellcey <sellcey@mips.com>
7409 * crtstuff.c: Undef caddr_t.
7411 2014-08-12 Steve Ellcey <sellcey@mips.com>
7413 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
7415 2014-08-07 Nathan Sidwell <nathan@acm.org>
7417 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
7418 (LIBGCOV_DRIVER): ... to here.
7419 * libgcov.h (gcov_do_dump): New #define.
7420 (struct gcov_root): New.
7421 (__gcov_root): New declaration.
7422 (__gcov_dump_one): Declare.
7423 * libgcov-driver.c (gcov_list, gcov_dump_complete,
7424 run_accounted): Delete.
7425 (gcov_compute_histogram): Add LIST argument, adjust.
7426 (compute_summary): Adjust gcov_compute_histogram call.
7427 (gcov_do_dump): Not hidden, static in libgcov.
7428 (gcov_clear): Move to interface.c.
7429 (__gcov_dump_one): New, broken out of ...
7430 (gcov_exit): ... here. Make static.
7432 (__gcov_init): Adjust.
7433 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
7435 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
7436 (gcov_clear): Moved from driver.c. Add LIST argument.
7437 (__gcov_reset): Adjust for changed interfaces.
7438 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
7440 2014-08-04 Rohit <rohitarulraj@freescale.com>
7443 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
7444 based on change in SPE high register numbers and 3 HTM registers.
7446 2014-08-01 Nathan Sidwell <nathan@acm.org>
7448 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
7449 LIBGCOV_INTERFACE): Reformat.
7450 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
7452 * libgcov-interface.c: Reformat some comments.
7453 (__gcov_flush_mx): Add declaration. Tidy up definition.
7455 2014-07-31 Alan Modra <amodra@gmail.com>
7456 Peter Bergner <bergner@vnet.ibm.com>
7458 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
7459 (pack_ldouble): New function.
7460 (__gcc_qadd): Use it.
7461 (__gcc_qmul): Likewise.
7462 (__gcc_qdiv): Likewise.
7463 (__gcc_qneg): Likewise.
7464 (__gcc_stoq): Likewise.
7465 (__gcc_dtoq): Likewise.
7467 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
7469 * config/s390/tpf-unwind.h: Include <stdbool.h>.
7470 (__tpf_eh_return): Add original return address as second parameter.
7471 Handle cases where unwinder routines were called directly, instead
7472 of from within the C++ library.
7474 2014-07-29 Nathan Sidwell <nathan@acm.org>
7476 * libgcov.h: Move renaming of entry points to lib gcov specific
7478 (gcov_do_dump): New rename.
7479 (gcov_rewrite): Remove inline, make HIDDEN.
7480 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
7481 (gcov_exit_compute_summary): Rename to ...
7482 (compute_summary): ... here. Add LIST argument.
7483 (gcov_exit_merge_gcda): Rename to ...
7484 (merge_one_data): ... here.
7485 (gcov_exit_write_gcda): Rename to ...
7486 (write_one_data): ... here.
7487 (gcov_exit_merge_summary): Rename to ...
7488 (merge_summary): Add RUN_COUNTED argument.
7489 (gcov_exit_dump_gcov): Rename to ...
7490 (dump_one_gcov): Add RUN_COUNTED argument.
7491 (gcov_do_dump): New function, broken out of ...
7492 (gcov_exit): ... here. Call it.
7494 2014-07-27 Anthony Green <green@moxielogic.com>
7496 * config.host: Add moxiebox configuration suppport.
7498 2014-07-27 Nathan Sidwell <nathan@acm.org>
7500 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
7501 (struct gcov_filename): ... here. Include buffer and max length
7503 (gcov_max_filename): Remove.
7504 (gi_filename): Remove.
7505 (gcov_exit_compute_summary): Compute max filename here.
7506 (gcov_exit_merge_gcda): Add filename parm, adjust.
7507 (gcov_exit_merge_summary): Likewise.
7508 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
7509 (gcov_exit): Likewise.
7510 (__gcov_init): Don't calculate max length here.
7511 * libgcov_util.c (max_filename_len): Remove.
7512 (read_gcda_file): Don't calculate max length here.
7513 (gcov_read_profile_dir): Don't propagate here.
7514 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
7515 struct gcov_filename changes.
7516 (gcov_exit_open_gcda_file): Likewise.
7518 2014-07-25 Nathan Sidwell <nathan@acm.org>
7520 * libgcov-driver.c (set_gcov_dump_complete,
7521 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
7522 functions polluting user's namespace.
7523 (gcov_exit): Set variable directly.
7524 (gcov_clear): Reset variable directly.
7525 * libgcov-interface.c (get_gcov_dymp_complete,
7526 reset_gov_dump_complete): Remove declarations.
7527 (__gcov_reset, __gcov_dump): Don't call them.
7529 2014-07-24 DJ Delorie <dj@redhat.com>
7531 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
7532 (__gcc_deregister_frame): Move logic to detect deregister function
7534 (__gcc_register_frame): here, so it's consistent with the register
7537 2014-07-23 Nathan Sidwell <nathan@acm.org>
7539 * libgcov-driver.c (set_gcov_list): Remove.
7540 (gcov_list): Make non-static in GCOV_TOOL.
7541 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7543 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
7545 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7546 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7547 Don't use SYNC_LOCK_RELEASE for int type.
7549 2014-07-14 Richard Biener <rguenther@suse.de>
7551 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7553 2014-07-11 Rong Xu <xur@google.com>
7555 * libgcov-util.c (gcov_max_filename): Fix declartion.
7557 2014-07-10 Rong Xu <xur@google.com>
7559 Add gcov-tool: an offline gcda profile processing tool
7561 * libgcov-driver.c (gcov_max_filename): Make available
7563 * libgcov-merge.c (__gcov_merge_add): Replace
7564 gcov_read_counter() with a Macro.
7565 (__gcov_merge_ior): Ditto.
7566 (__gcov_merge_time_profile): Ditto.
7567 (__gcov_merge_single): Ditto.
7568 (__gcov_merge_delta): Ditto.
7569 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7570 in the utility functions.
7571 (set_fn_ctrs): Utility function for reading gcda files to in-memory
7572 gcov_list object link lists.
7573 (tag_function): Ditto.
7574 (tag_blocks): Ditto.
7577 (tag_counters): Ditto.
7578 (tag_summary): Ditto.
7579 (read_gcda_finalize): Ditto.
7580 (read_gcda_file): Ditto.
7581 (ftw_read_file): Ditto.
7582 (read_profile_dir_init): Ditto.
7583 (gcov_read_profile_dir): Ditto.
7584 (gcov_read_counter_mem): Ditto.
7585 (gcov_get_merge_weight): Ditto.
7586 (merge_wrapper): A wrapper function that calls merging handler.
7587 (gcov_merge): Merge two gcov_info objects with weights.
7588 (find_match_gcov_info): Find the matched gcov_info in the list.
7589 (gcov_profile_merge): Merge two gcov_info object lists.
7590 (__gcov_add_counter_op): Process edge profile counter values.
7591 (__gcov_ior_counter_op): Process IOR profile counter values.
7592 (__gcov_delta_counter_op): Process delta profile counter values.
7593 (__gcov_single_counter_op): Process single profile counter values.
7594 (fp_scale): Callback function for float-point scaling.
7595 (int_scale): Callback function for integer fraction scaling.
7596 (gcov_profile_scale): Scaling profile counters.
7597 (gcov_profile_normalize): Normalize profile counters.
7598 * libgcov.h: Add headers and functions for gcov-tool use.
7599 (gcov_get_counter): New.
7600 (gcov_get_counter_target): Ditto.
7601 (struct gcov_info): Make the functions field mutable in gcov-tool
7604 2014-06-23 Kai Tietz <ktietz@redhat.com>
7607 * unwind-seh.c (_Unwind_GetGR): Check for proper
7609 (_Unwind_SetGR): Likewise.
7611 2014-05-22 Nick Clifton <nickc@redhat.com>
7613 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7616 2014-05-22 Teresa Johnson <tejohnson@google.com>
7618 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7621 2014-05-20 John Marino <gnugcc@marino.st>
7623 * config.host (*-*-dragonfly*): New target.
7624 * crtstuff.c: Make dl_iterate_support generic on *bsd.
7625 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7626 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7627 * config/i386/dragonfly-unwind.h: New.
7629 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7632 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7633 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7635 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
7637 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7640 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
7642 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7644 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7647 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7650 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
7652 Work around for current cygwin32 build problems.
7653 * config/i386/cygming-crtbegin.c (__register_frame_info,
7654 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7655 functions only for 64-bit systems.
7657 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7659 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7660 (sigill_caught, sigill_hdlr): Remove.
7662 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7664 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7666 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7667 Solaris 9 single-threaded support.
7668 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7669 Solaris 9 single-threaded support. Add call_user_handler code
7671 (sparc_is_sighandler): Likewise.
7673 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7675 * config.host: Append t-floattodi to tmake_file depending on
7678 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
7680 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
7682 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
7685 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
7686 variable to avoid "array subscript is above array bounds" warnings.
7687 Use __builtin_expect when checking *jcr_list for NULL.
7689 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7692 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7693 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7694 vtv_*.o to extra_parts if enable_vtable_verify.
7696 2014-03-06 Nick Clifton <nickc@redhat.com>
7698 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7699 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7701 2014-02-28 Joey Ye <joey.ye@arm.com>
7704 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7705 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7708 2014-02-24 Walter Lee <walt@tilera.com>
7710 * config.host: Support "tilegx*" and "tilepro*" triplets.
7711 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7712 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7714 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
7715 Chung-Lin Tang <cltang@codesourcery.com>
7717 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7718 * config/nios2/crti.S: Remove .file directive.
7719 * config/nios2/crtn.S: Likewise.
7721 2014-02-18 Kai Tietz <ktietz@redhat.com>
7722 Jonathan Schleifer <js@webkeks.org>
7725 * unwind-seh.c (_GCC_specific_handler): Pass proper
7726 value to unwind-handler.
7728 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7730 * soft-fp/adddf3.c: Update from glibc.
7731 * soft-fp/addsf3.c: Likewise.
7732 * soft-fp/addtf3.c: Likewise.
7733 * soft-fp/divdf3.c: Likewise.
7734 * soft-fp/divsf3.c: Likewise.
7735 * soft-fp/divtf3.c: Likewise.
7736 * soft-fp/double.h: Likewise.
7737 * soft-fp/eqdf2.c: Likewise.
7738 * soft-fp/eqsf2.c: Likewise.
7739 * soft-fp/eqtf2.c: Likewise.
7740 * soft-fp/extenddftf2.c: Likewise.
7741 * soft-fp/extended.h: Likewise.
7742 * soft-fp/extendsfdf2.c: Likewise.
7743 * soft-fp/extendsftf2.c: Likewise.
7744 * soft-fp/extendxftf2.c: Likewise.
7745 * soft-fp/fixdfdi.c: Likewise.
7746 * soft-fp/fixdfsi.c: Likewise.
7747 * soft-fp/fixdfti.c: Likewise.
7748 * soft-fp/fixsfdi.c: Likewise.
7749 * soft-fp/fixsfsi.c: Likewise.
7750 * soft-fp/fixsfti.c: Likewise.
7751 * soft-fp/fixtfdi.c: Likewise.
7752 * soft-fp/fixtfsi.c: Likewise.
7753 * soft-fp/fixtfti.c: Likewise.
7754 * soft-fp/fixunsdfdi.c: Likewise.
7755 * soft-fp/fixunsdfsi.c: Likewise.
7756 * soft-fp/fixunsdfti.c: Likewise.
7757 * soft-fp/fixunssfdi.c: Likewise.
7758 * soft-fp/fixunssfsi.c: Likewise.
7759 * soft-fp/fixunssfti.c: Likewise.
7760 * soft-fp/fixunstfdi.c: Likewise.
7761 * soft-fp/fixunstfsi.c: Likewise.
7762 * soft-fp/fixunstfti.c: Likewise.
7763 * soft-fp/floatdidf.c: Likewise.
7764 * soft-fp/floatdisf.c: Likewise.
7765 * soft-fp/floatditf.c: Likewise.
7766 * soft-fp/floatsidf.c: Likewise.
7767 * soft-fp/floatsisf.c: Likewise.
7768 * soft-fp/floatsitf.c: Likewise.
7769 * soft-fp/floattidf.c: Likewise.
7770 * soft-fp/floattisf.c: Likewise.
7771 * soft-fp/floattitf.c: Likewise.
7772 * soft-fp/floatundidf.c: Likewise.
7773 * soft-fp/floatundisf.c: Likewise.
7774 * soft-fp/floatunditf.c: Likewise.
7775 * soft-fp/floatunsidf.c: Likewise.
7776 * soft-fp/floatunsisf.c: Likewise.
7777 * soft-fp/floatunsitf.c: Likewise.
7778 * soft-fp/floatuntidf.c: Likewise.
7779 * soft-fp/floatuntisf.c: Likewise.
7780 * soft-fp/floatuntitf.c: Likewise.
7781 * soft-fp/gedf2.c: Likewise.
7782 * soft-fp/gesf2.c: Likewise.
7783 * soft-fp/getf2.c: Likewise.
7784 * soft-fp/ledf2.c: Likewise.
7785 * soft-fp/lesf2.c: Likewise.
7786 * soft-fp/letf2.c: Likewise.
7787 * soft-fp/muldf3.c: Likewise.
7788 * soft-fp/mulsf3.c: Likewise.
7789 * soft-fp/multf3.c: Likewise.
7790 * soft-fp/negdf2.c: Likewise.
7791 * soft-fp/negsf2.c: Likewise.
7792 * soft-fp/negtf2.c: Likewise.
7793 * soft-fp/op-1.h: Likewise.
7794 * soft-fp/op-2.h: Likewise.
7795 * soft-fp/op-4.h: Likewise.
7796 * soft-fp/op-8.h: Likewise.
7797 * soft-fp/op-common.h: Likewise.
7798 * soft-fp/quad.h: Likewise.
7799 * soft-fp/single.h: Likewise.
7800 * soft-fp/soft-fp.h: Likewise.
7801 * soft-fp/subdf3.c: Likewise.
7802 * soft-fp/subsf3.c: Likewise.
7803 * soft-fp/subtf3.c: Likewise.
7804 * soft-fp/truncdfsf2.c: Likewise.
7805 * soft-fp/trunctfdf2.c: Likewise.
7806 * soft-fp/trunctfsf2.c: Likewise.
7807 * soft-fp/trunctfxf2.c: Likewise.
7808 * soft-fp/unorddf2.c: Likewise.
7809 * soft-fp/unordsf2.c: Likewise.
7810 * soft-fp/unordtf2.c: Likewise.
7811 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
7813 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7815 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7817 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7819 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7821 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7823 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7825 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7827 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7829 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7831 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7833 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7835 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7837 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
7839 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
7841 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7844 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7846 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
7847 cannot be represented.
7848 * config/s390/32/_fixsfdi.c: Likewise.
7849 * config/s390/32/_fixtfdi.c: Likewise.
7850 * config/s390/32/_fixunsdfdi.c: Likewise.
7851 * config/s390/32/_fixunssfdi.c: Likewise.
7852 * config/s390/32/_fixunstfdi.c: Likewise.
7854 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
7856 * configure.ac (libgcc_cv_mips_hard_float): New.
7857 * configure: Regenerate.
7858 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
7859 t-softfp-sfdf for hard-float targets.
7860 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
7861 (softfp_float_modes, softfp_int_modes, softfp_extensions)
7862 (softfp_truncations, softfp_exclude_libgcc2): New.
7863 * config/t-hardfp: New file.
7864 * config/t-hardfp-sfdf: Likewise.
7865 * config/hardfp.c: Likewise.
7867 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7869 * config.host: Include t-floattodi also for s390x.
7870 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
7871 * config/s390/32/_fixsfdi.c: Likewise.
7872 * config/s390/32/_fixtfdi.c: Likewise.
7873 * config/s390/32/_fixunsdfdi.c: Likewise.
7874 * config/s390/32/_fixunssfdi.c: Likewise.
7875 * config/s390/32/_fixunstfdi.c: Likewise.
7877 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7880 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
7881 (install-libgcc-unwind-map-forbuild): New target.
7882 (all): Depend on install-libgcc-unwind-map-forbuild.
7883 (install-libgcc-unwind-map): New target.
7884 (install): Depend on install-libgcc-unwind-map.
7886 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
7888 * config/nios2/crti.S (_init): Initialize GOT pointer from
7889 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
7891 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
7893 * configure.ac: Check __mips64 when setting host_address.
7894 * configure: Regenerate.
7895 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
7896 mips/t-mips64 and t-softfp.
7897 (mips*-*-linux*): Don't add mips/t-tpbit.
7898 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
7899 (DPBIT, DPBIT_CFLAGS): Delete.
7900 * config/mips/sfp-machine.h: New file.
7901 * config/mips/t-mips64: Likewise.
7902 * config/mips/t-softfp-tf: Likewise.
7903 * config/mips/t-tpbit: Delete.
7905 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
7907 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
7910 2014-01-25 Walter Lee <walt@tilera.com>
7912 * config/tilepro/atomic.c: Include tconfig.h. Don't include
7913 config.h or system.h.
7916 2014-01-25 Walter Lee <walt@tilera.com>
7918 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
7919 (post_atomic_barrier): Ditto.
7920 (__fetch_and_do): New macro.
7921 (__atomic_fetch_and_do): Use __fetch_and_do.
7922 (__sync_fetch_and_do): New macro.
7923 (__sync_fetch_and_add_4): New function.
7924 (__sync_fetch_and_sub_4): New function.
7925 (__sync_fetch_and_or_4): New function.
7926 (__sync_fetch_and_and_4): New function.
7927 (__sync_fetch_and_xor_4): New function.
7928 (__sync_fetch_and_nand_4): New function.
7929 (__sync_fetch_and_add_8): New function.
7930 (__sync_fetch_and_sub_8): New function.
7931 (__sync_fetch_and_or_8): New function.
7932 (__sync_fetch_and_and_8): New function.
7933 (__sync_fetch_and_xor_8): New function.
7934 (__sync_fetch_and_nand_8): New function.
7935 (__do_and_fetch): New macro.
7936 (__atomic_do_and_fetch): Use __do_and_fetch.
7937 (__sync_do_and_fetch): New macro.
7938 (__sync_add_and_fetch_4): New function.
7939 (__sync_sub_and_fetch_4): New function.
7940 (__sync_or_and_fetch_4): New function.
7941 (__sync_and_and_fetch_4): New function.
7942 (__sync_xor_and_fetch_4): New function.
7943 (__sync_nand_and_fetch_4): New function.
7944 (__sync_add_and_fetch_8): New function.
7945 (__sync_sub_and_fetch_8): New function.
7946 (__sync_or_and_fetch_8): New function.
7947 (__sync_and_and_fetch_8): New function.
7948 (__sync_xor_and_fetch_8): New function.
7949 (__sync_nand_and_fetch_8): New function.
7950 (__sync_exchange_methods): New macro.
7951 (__sync_val_compare_and_swap_4): New function.
7952 (__sync_bool_compare_and_swap_4): New function.
7953 (__sync_lock_test_and_test_4): New function.
7954 (__sync_val_compare_and_swap_8): New function.
7955 (__sync_bool_compare_and_swap_8): New function.
7956 (__sync_lock_test_and_test_8): New function.
7957 (__subword_cmpxchg_body): New macro.
7958 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
7959 (__atomic_compare_exchange_2): Ditto.
7960 (__sync_subword_cmpxchg): New macro.
7961 (__sync_val_compare_and_swap_1): New function.
7962 (__sync_bool_compare_and_swap_1): New function.
7963 (__sync_val_compare_and_swap_2): New function.
7964 (__sync_bool_compare_and_swap_2): New function.
7965 (__atomic_subword): Rename to ...
7966 (__subword): ... New name.
7967 (__atomic_subword_fetch): Use __subword.
7968 (__sync_subword_fetch): New macro.
7969 (__sync_fetch_and_add_1): New function.
7970 (__sync_fetch_and_sub_1): New function.
7971 (__sync_fetch_and_or_1): New function.
7972 (__sync_fetch_and_and_1): New function.
7973 (__sync_fetch_and_xor_1): New function.
7974 (__sync_fetch_and_nand_1): New function.
7975 (__sync_fetch_and_add_2): New function.
7976 (__sync_fetch_and_sub_2): New function.
7977 (__sync_fetch_and_or_2): New function.
7978 (__sync_fetch_and_and_2): New function.
7979 (__sync_fetch_and_xor_2): New function.
7980 (__sync_fetch_and_nand_2): New function.
7981 (__sync_add_and_fetch_1): New function.
7982 (__sync_sub_and_fetch_1): New function.
7983 (__sync_or_and_fetch_1): New function.
7984 (__sync_and_and_fetch_1): New function.
7985 (__sync_xor_and_fetch_1): New function.
7986 (__sync_nand_and_fetch_1): New function.
7987 (__sync_add_and_fetch_2): New function.
7988 (__sync_sub_and_fetch_2): New function.
7989 (__sync_or_and_fetch_2): New function.
7990 (__sync_and_and_fetch_2): New function.
7991 (__sync_xor_and_fetch_2): New function.
7992 (__sync_nand_and_fetch_2): New function.
7993 (__atomic_subword_lock): Use __subword.
7994 (__sync_subword_lock): New macro.
7995 (__sync_lock_test_and_set_1): New function.
7996 (__sync_lock_test_and_set_2): New function.
7998 2014-01-25 Walter Lee <walt@tilera.com>
8000 * config/tilepro/atomic.c (BIT_OFFSET): Define.
8001 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
8002 (__atomic_subword): Ditto.
8004 2014-01-25 Walter Lee <walt@tilera.com>
8006 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
8007 a prefix op argument.
8008 (__atomic_nand_fetch_4): Add prefix op.
8009 (__atomic_nand_fetch_8): Ditto.
8011 2014-01-21 Baruch Siach <barch@tkos.co.il>
8013 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
8015 2014-01-09 Rong Xu <xur@google.com>
8017 * libgcov-driver.c (this_prg): make it local to save
8019 (gcov_exit_compute_summary): Ditto.
8020 (gcov_exit_merge_gcda): Ditto.
8021 (gcov_exit_merge_summary): Ditto.
8022 (gcov_exit_dump_gcov): Ditto.
8024 2014-01-08 Rong Xu <xur@google.com>
8026 * libgcov-driver.c: Use libgcov.h.
8027 (buffer_fn_data): Use xmalloc instead of malloc.
8028 (gcov_exit_merge_gcda): Ditto.
8029 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
8030 * libgcov.h: New common header files for libgcov-*.h.
8031 * libgcov-interface.c: Use libgcov.h
8032 * libgcov-merge.c: Ditto.
8033 * libgcov-profiler.c: Ditto.
8034 * Makefile.in: Add dependence to libgcov.h
8036 2014-01-02 Joseph Myers <joseph@codesourcery.com>
8038 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
8039 case of small numerator and finite nonzero result.
8041 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
8043 Update copyright years
8045 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
8047 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
8048 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
8049 config/arc/dp-hack.h, config/arc/fp-hack.h,
8050 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
8051 config/arc/ieee-754/arc600-dsp/divdf3.S,
8052 config/arc/ieee-754/arc600-dsp/divsf3.S,
8053 config/arc/ieee-754/arc600-dsp/muldf3.S,
8054 config/arc/ieee-754/arc600-dsp/mulsf3.S,
8055 config/arc/ieee-754/arc600-mul64/divdf3.S,
8056 config/arc/ieee-754/arc600-mul64/divsf3.S,
8057 config/arc/ieee-754/arc600-mul64/muldf3.S,
8058 config/arc/ieee-754/arc600-mul64/mulsf3.S,
8059 config/arc/ieee-754/arc600/divsf3.S,
8060 config/arc/ieee-754/arc600/mulsf3.S,
8061 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
8062 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
8063 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
8064 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
8065 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
8066 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
8067 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
8068 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
8069 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
8070 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
8071 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
8072 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
8073 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
8074 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
8075 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
8076 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
8077 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
8078 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
8079 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
8080 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
8081 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
8082 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
8083 vtv_start_preinit.c: Use the standard form for the copyright notice.
8085 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
8086 Chung-Lin Tang <cltang@codesourcery.com>
8087 Based on patches from Altera Corporation
8089 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
8090 * config/nios2/lib2-nios2.h: New file.
8091 * config/nios2/lib2-divmod-hi.c: New file.
8092 * config/nios2/linux-unwind.h: New file.
8093 * config/nios2/lib2-divmod.c: New file.
8094 * config/nios2/linux-atomic.c: New file.
8095 * config/nios2/t-nios2: New file.
8096 * config/nios2/crti.asm: New file.
8097 * config/nios2/t-linux: New file.
8098 * config/nios2/lib2-divtable.c: New file.
8099 * config/nios2/lib2-mul.c: New file.
8100 * config/nios2/tramp.c: New file.
8101 * config/nios2/crtn.asm: New file.
8103 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
8105 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
8106 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
8107 from cpuid.h to check vendor signatures.
8109 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
8111 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
8112 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
8113 (get_amd_cpu): Likewise.
8115 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
8117 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
8120 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
8121 H.J. Lu <hongjiu.lu@intel.com>
8124 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
8126 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
8127 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
8128 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
8129 FEATURE_XOP and FEATURE_FMA.
8130 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
8132 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
8133 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
8134 FEATURE_FMA4 and FEATURE_XOP.
8136 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
8138 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
8139 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
8140 (get_intel_cpu): Updated.
8142 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
8144 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
8146 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
8148 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8149 instructions when __SSE_MATH__ is defined.
8151 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
8153 * config.host (microblaze-*-rtems*): New.
8155 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
8157 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
8158 architectures that do not have hardware divide instruction.
8159 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
8161 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
8163 * longlong.h: Delete (moved to include/).
8165 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8167 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
8168 of normal number and qNaN to not raise an inexact exception.
8170 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
8172 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
8174 2013-11-28 Matthew Leach <matthew.leach@arm.com>
8176 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
8177 for correct opcodes on BE.
8179 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
8181 * soft-fp/op-4.h: Update from glibc.
8183 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
8185 * libgcc2.c (__udivmoddi4): Define new implementation when
8186 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
8187 divide instructions.
8189 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
8191 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
8193 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8195 * config/t-softfp (soft-fp-objects-base): New variable.
8196 (soft-fp-objects): Use it.
8198 2013-11-23 David Edelson <dje.gcc@gmail.com>
8199 Andrew Dixie <andrewd@gentrack.com>
8202 * config/rs6000/aixinitfini.c: New file.
8203 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
8204 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
8207 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
8209 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
8211 2013-11-18 Jan Hubicka <jh@suse.cz>
8213 * libgcov-driver.c (run_accounted): Make global level static.
8214 (gcov_exit_merge_summary): Silence warning; do not clear
8216 (gcov_exit): Clear it here.
8218 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
8221 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
8222 (all_prg, crc32): Remove static vars.
8223 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
8225 (gcov_exit_merge_gcda): Add crc32 parameter.
8226 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
8227 do not account run if it was already accounted.
8228 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
8229 (gcov_exit): Initialize all_prg; update.
8231 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
8233 * configure: Regenerate.
8235 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8236 Alan Modra <amodra@gmail.com>
8238 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
8239 (frob_update_context): Use it.
8241 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8242 Alan Modra <amodra@gmail.com>
8244 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
8245 (trampoline_initial): Provide ELFv2 variant.
8246 (__trampoline_setup): Likewise.
8248 * config/rs6000/linux-unwind.h (frob_update_context): Do not
8249 check for AIX indirect function call sequence if _CALL_ELF == 2.
8251 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8252 Alan Modra <amodra@gmail.com>
8254 * config/rs6000/linux-unwind.h (get_regs): Do not support
8255 old kernel versions if _CALL_ELF == 2.
8256 (frob_update_context): Do not support PLT stub variants only
8257 generated by old linkers if _CALL_ELF == 2.
8259 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8260 Alan Modra <amodra@gmail.com>
8262 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
8263 location of CR save area for 64-bit little-endian systems.
8265 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
8267 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
8269 * config/arm/t-vxworks: Delete.
8271 2013-11-10 Kai Tietz <ktietz@redhat.com>
8273 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
8274 Increment load-count on use of LIBGCC_SONAME DLL.
8275 (hmod_libgcc): New static variable to hold handle of
8277 (__gcc_deregister_frame): Decrement load-count of
8280 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
8282 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
8284 * configure: Regenerate
8286 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
8288 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
8289 FP_EX_DENORM. Store result to volatile location after SSE division
8290 to close interrupt window. Remove unneeded fwait after x87
8291 division since interrupt window will be closed by emitted fstp.
8292 Rewrite FP_EX_INEXACT handling.
8294 2013-11-06 Joseph Myers <joseph@codesourcery.com>
8296 * soft-fp/README: Update.
8297 * soft-fp/adddf3.c: Update from glibc.
8298 * soft-fp/addsf3.c: Likewise.
8299 * soft-fp/addtf3.c: Likewise.
8300 * soft-fp/divdf3.c: Likewise.
8301 * soft-fp/divsf3.c: Likewise.
8302 * soft-fp/divtf3.c: Likewise.
8303 * soft-fp/double.h: Likewise.
8304 * soft-fp/eqdf2.c: Likewise.
8305 * soft-fp/eqsf2.c: Likewise.
8306 * soft-fp/eqtf2.c: Likewise.
8307 * soft-fp/extenddftf2.c: Likewise.
8308 * soft-fp/extended.h: Likewise.
8309 * soft-fp/extendsfdf2.c: Likewise.
8310 * soft-fp/extendsftf2.c: Likewise.
8311 * soft-fp/extendxftf2.c: Likewise.
8312 * soft-fp/fixdfdi.c: Likewise.
8313 * soft-fp/fixdfsi.c: Likewise.
8314 * soft-fp/fixdfti.c: Likewise.
8315 * soft-fp/fixsfdi.c: Likewise.
8316 * soft-fp/fixsfsi.c: Likewise.
8317 * soft-fp/fixsfti.c: Likewise.
8318 * soft-fp/fixtfdi.c: Likewise.
8319 * soft-fp/fixtfsi.c: Likewise.
8320 * soft-fp/fixtfti.c: Likewise.
8321 * soft-fp/fixunsdfdi.c: Likewise.
8322 * soft-fp/fixunsdfsi.c: Likewise.
8323 * soft-fp/fixunsdfti.c: Likewise.
8324 * soft-fp/fixunssfdi.c: Likewise.
8325 * soft-fp/fixunssfsi.c: Likewise.
8326 * soft-fp/fixunssfti.c: Likewise.
8327 * soft-fp/fixunstfdi.c: Likewise.
8328 * soft-fp/fixunstfsi.c: Likewise.
8329 * soft-fp/fixunstfti.c: Likewise.
8330 * soft-fp/floatdidf.c: Likewise.
8331 * soft-fp/floatdisf.c: Likewise.
8332 * soft-fp/floatditf.c: Likewise.
8333 * soft-fp/floatsidf.c: Likewise.
8334 * soft-fp/floatsisf.c: Likewise.
8335 * soft-fp/floatsitf.c: Likewise.
8336 * soft-fp/floattidf.c: Likewise.
8337 * soft-fp/floattisf.c: Likewise.
8338 * soft-fp/floattitf.c: Likewise.
8339 * soft-fp/floatundidf.c: Likewise.
8340 * soft-fp/floatundisf.c: Likewise.
8341 * soft-fp/floatunditf.c: Likewise.
8342 * soft-fp/floatunsidf.c: Likewise.
8343 * soft-fp/floatunsisf.c: Likewise.
8344 * soft-fp/floatunsitf.c: Likewise.
8345 * soft-fp/floatuntidf.c: Likewise.
8346 * soft-fp/floatuntisf.c: Likewise.
8347 * soft-fp/floatuntitf.c: Likewise.
8348 * soft-fp/gedf2.c: Likewise.
8349 * soft-fp/gesf2.c: Likewise.
8350 * soft-fp/getf2.c: Likewise.
8351 * soft-fp/ledf2.c: Likewise.
8352 * soft-fp/lesf2.c: Likewise.
8353 * soft-fp/letf2.c: Likewise.
8354 * soft-fp/muldf3.c: Likewise.
8355 * soft-fp/mulsf3.c: Likewise.
8356 * soft-fp/multf3.c: Likewise.
8357 * soft-fp/negdf2.c: Likewise.
8358 * soft-fp/negsf2.c: Likewise.
8359 * soft-fp/negtf2.c: Likewise.
8360 * soft-fp/op-1.h: Likewise.
8361 * soft-fp/op-2.h: Likewise.
8362 * soft-fp/op-4.h: Likewise.
8363 * soft-fp/op-8.h: Likewise.
8364 * soft-fp/op-common.h: Likewise.
8365 * soft-fp/quad.h: Likewise.
8366 * soft-fp/single.h: Likewise.
8367 * soft-fp/soft-fp.h: Likewise.
8368 * soft-fp/subdf3.c: Likewise.
8369 * soft-fp/subsf3.c: Likewise.
8370 * soft-fp/subtf3.c: Likewise.
8371 * soft-fp/truncdfsf2.c: Likewise.
8372 * soft-fp/trunctfdf2.c: Likewise.
8373 * soft-fp/trunctfsf2.c: Likewise.
8374 * soft-fp/trunctfxf2.c: Likewise.
8375 * soft-fp/unorddf2.c: Likewise.
8376 * soft-fp/unordsf2.c: Likewise.
8377 * soft-fp/unordtf2.c: Likewise.
8379 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
8381 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
8382 (_FP_MUL_MEAT_D): Ditto.
8383 (_FP_DIV_MEAT_S): Ditto.
8384 (_FP_DIV_MEAT_D): Ditto.
8385 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
8386 t-softfp-sfdf and t-softfp to tmake_file.
8388 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
8390 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
8391 * config/i386/crtprec.c: Ditto.
8393 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
8394 Shiva Chen <shiva0217@gmail.com>
8396 * config.host (nds32*-elf*): Add nds32 target.
8397 * config/nds32 : New directory and files.
8399 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
8401 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
8402 * config.host (cpu_type) <Setting default>: Add entry for
8404 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
8405 <crisv32-*-linux*>: Adjust.
8406 * longlong.h: Wrap the whole CRIS section in a single
8407 defined(__CRIS__) conditional. Add comment about add_ssaaaa
8409 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
8411 [__CRIS__] (__umulsidi3): Define.
8412 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
8413 * config/cris/sfp-machine.h: New file.
8414 * config/cris/umulsidi3.S: New file.
8415 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
8416 * config/cris/arit.c (SIGNMULT): New macro.
8417 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
8418 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
8419 saving 3 out of originally 33 cycles from the fastest
8420 path, 3 out of 54 from the medium path and one from the longest
8421 path. Improve comments.
8423 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
8425 * sync.c: Remove static aliases and define each function directly
8426 under its real name.
8428 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
8430 * config.host (hppa*64*-*-linux*): Define extra_parts.
8431 (hppa*-*-linux*): Likewise.
8433 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
8435 * config/arc/crtgend.S: Add 2013 to Copyright years.
8436 * config/arc/gmon/atomic.h: Likewise.
8437 * config/arc/gmon/auxreg.h: Likewise.
8438 * config/arc/gmon/sys/gmon_out.h: Likewise.
8439 * config/arc/gmon/sys/gmon.h: Likewise.
8440 * config/arc/gmon/prof-freq.c: Likewise.
8441 * config/arc/gmon/mcount.c: Likewise.
8442 * config/arc/gmon/prof-freq-stub.S: Likewise.
8443 * config/arc/gmon/gmon.c: Likewise.
8444 * config/arc/gmon/machine-gmon.h: Likewise.
8445 * config/arc/gmon/profil.S: Likewise.
8446 * config/arc/gmon/dcache_linesz.S: Likewise.
8447 * config/arc/crtg.S: Likewise.
8448 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
8449 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
8450 * config/arc/ieee-754/adddf3.S: Likewise.
8451 * config/arc/ieee-754/truncdfsf2.S: Likewise.
8452 * config/arc/ieee-754/fixsfsi.S: Likewise.
8453 * config/arc/ieee-754/gtsf2.S: Likewise.
8454 * config/arc/ieee-754/floatsisf.S: Likewise.
8455 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
8456 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
8457 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
8458 * config/arc/ieee-754/fixdfsi.S: Likewise.
8459 * config/arc/ieee-754/addsf3.S: Likewise.
8460 * config/arc/ieee-754/gesf2.S: Likewise.
8461 * config/arc/ieee-754/floatsidf.S: Likewise.
8462 * config/arc/ieee-754/extendsfdf2.S: Likewise.
8463 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
8464 * config/arc/ieee-754/gtdf2.S: Likewise.
8465 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
8466 * config/arc/ieee-754/uneqdf2.S: Likewise.
8467 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
8468 * config/arc/ieee-754/uneqsf2.S: Likewise.
8469 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
8470 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
8471 * config/arc/ieee-754/eqdf2.S: Likewise.
8472 * config/arc/ieee-754/ordsf2.S: Likewise.
8473 * config/arc/ieee-754/divsf3.S: Likewise.
8474 * config/arc/ieee-754/divdf3.S: Likewise.
8475 * config/arc/ieee-754/floatunsidf.S: Likewise.
8476 * config/arc/ieee-754/orddf2.S: Likewise.
8477 * config/arc/ieee-754/eqsf2.S: Likewise.
8478 * config/arc/ieee-754/gedf2.S: Likewise.
8479 * config/arc/crtn.S: Likewise.
8480 * config/arc/crti.S: Likewise.
8481 * config/arc/t-arc700-uClibc: Likewise.
8482 * config/arc/asm.h: Likewise.
8483 * config/arc/libgcc-excl.ver: Likewise.
8484 * config/arc/t-arc-newlib: Likewise.
8485 * config/arc/divtab-arc700.c: Likewise.
8486 * config/arc/initfini.c: Likewise.
8487 * config/arc/fp-hack.h: Likewise.
8489 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8490 Diego Novillo <dnovillo@google.com>
8492 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
8493 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
8494 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
8495 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
8497 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8498 Brendan Kehoe <brendan@zen.org>
8499 Simon Cook <simon.cook@embecosm.com>
8501 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
8502 * config/arc: New directory.
8503 * longlong.h [__arc__] (umul_ppmm): Remove.
8504 [__arc__] (__umulsidi3): Define.
8505 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
8506 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
8508 2013-09-17 Jacek Caban <jacek@codeweavers.com>
8510 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
8512 * config/i386/gthr-win32.h: Likewise.
8514 2013-09-16 DJ Delorie <dj@redhat.com>
8516 * config/rl78/vregs.h: Add G10 register definitions.
8517 * config/rl78/lib2mul.c: Enable for RL78/G10.
8518 * config/rl78/lib2div.c: Likewise.
8519 * config/rl78/lshrsi3.S: Use vregs.h.
8520 * config/rl78/cmpsi2.S: Likewise.
8521 * config/rl78/trampoline.S: Likewise.
8522 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
8524 2013-09-14 DJ Delorie <dj@redhat.com>
8525 Nick Clifton <nickc@redhat.com>
8527 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8528 * config/rl78/vregs.h: New.
8529 * config/rl78/signbit.S: New file. Implements signbit function.
8530 * config/rl78/divmodsi.S: New.
8531 * config/rl78/divmodhi.S: New.
8532 * config/rl78/divmodqi.S: New.
8533 * config/rl78/t-rl78: Build them here...
8534 * config/rl78/lib2div.c: ...but not here.
8536 2013-09-12 DJ Delorie <dj@redhat.com>
8538 * config.host (msp*-*-elf): New.
8539 * config/msp430/: New port.
8541 2013-08-18 Iain Sandoe <iain@codesourcery.com>
8543 PR gcov-profile/58127
8544 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8545 __thread var for emulated TLS.
8546 (__gcov_indirect_call_counters): Likewise.
8548 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
8549 Catherine Moore <clm@codesourcery.com>
8550 Richard Sandiford <rdsandiford@googlemail.com>
8552 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8553 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8554 (CALL_STUB_NO_RET): Likewise.
8555 (CALL_STUB_RET): Likewise.
8556 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8557 __mips16_ret call/return stub symbols.
8558 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8561 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
8563 * config.host <mips*-*-linux*>: Remove a stray comment.
8565 2013-08-10 Jan Hubicka <jh@suse.cz>
8567 Work around binutils PR14342
8568 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8569 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8570 (L_gcov_indirect_call_profiler_v2): New.
8572 2013-08-06 Jan Hubicka <jh@suse.cz>
8574 * libgcov.c (__gcov_indirect_call_callee,
8575 __gcov_indirect_call_counters): New global vars.
8576 (__gcov_indirect_call_profiler): replace by ...
8577 (__gcov_indirect_call_profiler_v2) ... this one.
8579 2013-08-06 Caroline Tice <cmtice@google.com>
8581 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
8582 vtv_start_preinit.o and vtv_end_preinit.o.
8583 * configure.ac: Add code to check/set enable_vtable_verify.
8584 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
8586 * vtv_start_preinit.c: New file.
8587 * vtv_end_preinit.c: New file.
8588 * vtv_start.c: New file.
8589 * vtv_end.c: New file.
8590 * configure: Regenerated.
8592 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
8594 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8595 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8596 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8597 GPL-3.0-with-GCC-exception.
8599 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
8601 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8604 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8606 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8607 mapping for FPRs when creating the fallback framestate.
8609 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
8612 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8613 (__round_s2_const, __round_u2_const)
8614 (__round_s4_const, __round_u4_const, __round_x8):
8615 Saturate result if addition result cannot be represented.
8617 2013-07-15 Matthias Klose <doko@ubuntu.com>
8619 * libgcc2.c: Don't include <limits.h>.
8621 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
8623 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8625 2013-07-06 Jakub Jelinek <jakub@redhat.com>
8628 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8630 2013-06-28 Jakub Jelinek <jakub@redhat.com>
8633 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8635 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8636 instead of table lookups.
8637 (__popcountDI2): Likewise.
8639 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
8641 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8644 2013-06-21 Joseph Myers <joseph@codesourcery.com>
8647 * soft-fp/adddf3.c: Update from glibc.
8648 * soft-fp/addsf3.c: Likewise.
8649 * soft-fp/addtf3.c: Likewise.
8650 * soft-fp/divdf3.c: Likewise.
8651 * soft-fp/divsf3.c: Likewise.
8652 * soft-fp/divtf3.c: Likewise.
8653 * soft-fp/double.h: Likewise.
8654 * soft-fp/eqdf2.c: Likewise.
8655 * soft-fp/eqsf2.c: Likewise.
8656 * soft-fp/eqtf2.c: Likewise.
8657 * soft-fp/extenddftf2.c: Likewise.
8658 * soft-fp/extended.h: Likewise.
8659 * soft-fp/extendsfdf2.c: Likewise.
8660 * soft-fp/extendsftf2.c: Likewise.
8661 * soft-fp/fixdfdi.c: Likewise.
8662 * soft-fp/fixdfsi.c: Likewise.
8663 * soft-fp/fixsfdi.c: Likewise.
8664 * soft-fp/fixsfsi.c: Likewise.
8665 * soft-fp/fixtfdi.c: Likewise.
8666 * soft-fp/fixtfsi.c: Likewise.
8667 * soft-fp/fixunsdfdi.c: Likewise.
8668 * soft-fp/fixunsdfsi.c: Likewise.
8669 * soft-fp/fixunssfdi.c: Likewise.
8670 * soft-fp/fixunssfsi.c: Likewise.
8671 * soft-fp/fixunstfdi.c: Likewise.
8672 * soft-fp/fixunstfsi.c: Likewise.
8673 * soft-fp/floatdidf.c: Likewise.
8674 * soft-fp/floatdisf.c: Likewise.
8675 * soft-fp/floatditf.c: Likewise.
8676 * soft-fp/floatsidf.c: Likewise.
8677 * soft-fp/floatsisf.c: Likewise.
8678 * soft-fp/floatsitf.c: Likewise.
8679 * soft-fp/floatundidf.c: Likewise.
8680 * soft-fp/floatundisf.c: Likewise.
8681 * soft-fp/floatunditf.c: Likewise.
8682 * soft-fp/floatunsidf.c: Likewise.
8683 * soft-fp/floatunsisf.c: Likewise.
8684 * soft-fp/floatunsitf.c: Likewise.
8685 * soft-fp/gedf2.c: Likewise.
8686 * soft-fp/gesf2.c: Likewise.
8687 * soft-fp/getf2.c: Likewise.
8688 * soft-fp/ledf2.c: Likewise.
8689 * soft-fp/lesf2.c: Likewise.
8690 * soft-fp/letf2.c: Likewise.
8691 * soft-fp/muldf3.c: Likewise.
8692 * soft-fp/mulsf3.c: Likewise.
8693 * soft-fp/multf3.c: Likewise.
8694 * soft-fp/negdf2.c: Likewise.
8695 * soft-fp/negsf2.c: Likewise.
8696 * soft-fp/negtf2.c: Likewise.
8697 * soft-fp/op-1.h: Likewise.
8698 * soft-fp/op-2.h: Likewise.
8699 * soft-fp/op-4.h: Likewise.
8700 * soft-fp/op-8.h: Likewise.
8701 * soft-fp/op-common.h: Likewise.
8702 * soft-fp/quad.h: Likewise.
8703 * soft-fp/single.h: Likewise.
8704 * soft-fp/soft-fp.h: Likewise.
8705 * soft-fp/subdf3.c: Likewise.
8706 * soft-fp/subsf3.c: Likewise.
8707 * soft-fp/subtf3.c: Likewise.
8708 * soft-fp/truncdfsf2.c: Likewise.
8709 * soft-fp/trunctfdf2.c: Likewise.
8710 * soft-fp/trunctfsf2.c: Likewise.
8711 * soft-fp/unorddf2.c: Likewise.
8712 * soft-fp/unordsf2.c: Likewise.
8713 * soft-fp/unordtf2.c: Likewise.
8714 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8715 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8716 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8717 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8718 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8719 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8720 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8721 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8722 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8723 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8724 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8725 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8727 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
8729 * config/mips/lib2funcs.c: New file.
8730 * config/mips/t-mips (LIB2ADD_ST): Add it.
8732 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
8735 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8736 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
8738 2013-06-08 Walter Lee <walt@tilera.com>
8740 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8741 Replace int64_t with long long. Add __extension__ where
8743 * config/tilepro/atomic.c: Include config.h.
8745 2013-06-06 Douglas B Rupp <rupp@adacore.com>
8747 * config.host (arm-wrs-vxworks): Configure with other soft float.
8749 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
8751 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8752 (mips64r5900el-*-elf*): New configurations.
8754 2013-06-04 Alan Modra <amodra@gmail.com>
8756 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
8758 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
8760 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
8762 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
8764 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
8765 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
8766 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
8768 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8770 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
8771 (powerpc-wrs-vxworks): Likewise.
8773 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8775 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
8776 signal frames as well.
8777 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
8778 STACK_BIAS to the CFA offset.
8780 2013-05-17 Richard Henderson <rth@redhat.com>
8783 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
8784 (execute_cfa_program): Use it when storing to fs->regs.
8786 2013-05-08 Kai Tietz <ktietz@redhat.com>
8788 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
8789 (__deregister_frame_info): Likewise.
8791 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
8793 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
8796 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
8798 2013-04-25 Alan Modra <amodra@gmail.com>
8800 * config.host: Match little-endian powerpc-linux.
8802 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
8804 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
8805 as 'unsigned long long' instead of 'unsigned long'.
8806 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
8809 2013-04-10 Julian Brown <julian@codesourcery.com>
8811 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
8812 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
8813 unsigned char/unsigned short.
8814 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
8816 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8819 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
8821 2013-04-04 Meador Inge <meadori@codesourcery.com>
8823 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8824 computing the location of the link register.
8825 (aeabi_uldivmod): Ditto.
8827 2013-03-27 Kai Tietz <ktietz@redhat.com>
8829 * config.host: Add support for cygwin x64 target.
8830 * configure: Regenerated.
8832 2013-03-26 Walter Lee <walt@tilera.com>
8834 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
8835 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
8837 2013-03-25 Kai Tietz <ktietz@redhat.com>
8839 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
8841 2013-03-20 Robert Mason <rbmj@verizon.net>
8843 * config/vxlib-tls.c (__gthread_get_tsd_data,)
8844 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
8845 (__gthread_leave_tsd_dtor_context): Add prototypes.
8846 (tls_delete_hook): Update.
8848 2013-03-20 Catherine Moore <clm@codesourcery.com>
8849 Joseph Myers <joseph@codesourcery.com>
8850 Chao-ying Fu <fu@mips.com>
8852 * config/mips/mips16.S: Don't build for microMIPS.
8853 * config/mips/linux-unwind.h: Handle microMIPS frame.
8854 * config/mips/crtn.S (fini, init): New labels.
8856 2013-03-14 Jakub Jelinek <jakub@redhat.com>
8858 PR tree-optimization/53265
8859 * unwind-dw2.c (execute_cfa_program): Avoid
8860 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
8861 on targets with DWARF_FRAME_REGISTERS < 32.
8863 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
8866 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
8867 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
8869 2013-03-07 Sriraman Tallam <tmsriram@google.com>
8871 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
8872 sandybridge processors.
8874 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
8877 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
8880 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
8882 * config/microblaze/crti.S: Setup stack protection at entry
8884 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
8886 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
8887 (__rotldi3): Shift bytewise if applicable.
8889 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
8891 * config/aarch64/sync-cache.c
8892 (__aarch64_sync_cache_range): Silence warnings.
8894 2013-02-25 Catherine Moore <clm@codesourcery.com>
8897 2013-02-24 Catherine Moore <clm@codesourcery.com>
8898 Joseph Myers <joseph@codesourcery.com>
8899 Chao-ying Fu <fu@mips.com>
8901 * config/mips/mips16.S: Don't build for microMIPS.
8902 * config/mips/linux-unwind.h: Handle microMIPS frame.
8903 * config/mips/crtn.S (fini, init): New labels.
8905 2013-02-24 Catherine Moore <clm@codesourcery.com>
8906 Joseph Myers <joseph@codesourcery.com>
8907 Chao-ying Fu <fu@mips.com>
8909 * config/mips/mips16.S: Don't build for microMIPS.
8910 * config/mips/linux-unwind.h: Handle microMIPS frame.
8911 * config/mips/crtn.S (fini, init): New labels.
8913 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
8914 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
8917 2013-02-16 Alan Modra <amodra@gmail.com>
8920 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
8921 (ppc_fallback_frame_state): Always set up save locations for fp
8922 and altivec. Don't bother with non-callee-saved regs, r0-r13
8923 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
8925 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
8928 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
8930 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
8931 _ssmulha3, _usmulusa3, _ssmulsa3.
8932 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
8933 (__muldi3): XCALL __muldi3_6 instead of rcall.
8934 (__umulsidi3, __mulsidi3): New functions.
8935 (do_prologue_saves, do_epilogue_restores): New .macros.
8936 (__divdi3_moddi3): Use them.
8937 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
8938 (__usmulusa3, __ssmulsa3): New functions.
8940 2013-02-11 Iain Sandoe <iain@codesourcery.com>
8941 Jack Howarth <howarth@bromo.med.uc.edu>
8942 Patrick Marlier <patrick.marlier@gmail.com>
8945 * config/darwin-crt-tm.c: Remove dummy functions hack.
8947 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
8950 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
8951 * config/avr/lib2-object.mk: New iterator to build objects from it.
8952 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
8954 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
8955 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
8956 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
8957 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
8958 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
8959 * config/avr/lib1funcs-fixed.S: Implement them.
8961 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
8963 Update copyright years.
8965 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
8968 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
8969 Add crtcxa to extra_parts.
8970 * config/rs6000/exit.h: New file.
8971 * config/rs6000/cxa_atexit.c: New file.
8972 * config/rs6000/cxa_finalize.c: New file.
8973 * config/rs6000/crtcxa.c: New file.
8974 * config/rs6000/t-aix-cxa: New file.
8975 * config/rs6000/libgcc-aix-cxa.ver: New file.
8977 2013-01-31 Nick Clifton <nickc@redhat.com>
8979 * config/v850/lib1funcs.S: Add support for e3v5 architecture
8982 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
8985 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
8986 _mulQQ, _mulHQ, _mulHA, _mulSA,
8987 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
8988 _divQQ, _divHQ, _divHA, _divSA,
8989 _divUQQ, _divUHQ, _divUHA, _divUSA.
8991 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
8993 * config.host(microblaze*-linux*): tmake_file: Remove
8994 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
8995 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
8996 to exclude functions from being built with libgcc.c and use
8997 the microblaze assembly.
8999 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
9001 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
9004 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
9006 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
9007 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
9008 __UINTPTR_TYPE__; also cast 'base' to the same type before the
9009 alignment operation.
9011 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
9013 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
9014 loop start address for cache clearing.
9016 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
9018 * config/avr/lib1funcs.S: Remove trailing blanks.
9019 * config/avr/lib1funcs-fixed.S: Ditto.
9021 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
9023 * config/avr/avr-lib.h: Add GPL copyright notice.
9025 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
9027 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
9028 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
9029 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
9030 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
9032 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
9034 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
9035 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
9037 2013-01-04 Nick Clifton <nickc@redhat.com>
9039 * config/v850/lib1funcs.S: Only provide CALLT support functions if
9040 the CALLT instruction is supported.
9042 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
9044 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
9045 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
9047 2012-12-13 John Tytgat <John@bass-software.com>
9049 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
9052 2012-12-12 Jakub Jelinek <jakub@redhat.com>
9055 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
9056 undefined signed overflows.
9058 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
9061 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
9063 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
9065 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
9066 (FP_TRAPPING_EXCEPTIONS): Define.
9067 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
9068 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
9070 2012-12-04 Richard Henderson <rth@redhat.com>
9073 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
9075 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
9077 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
9078 (FP_EX_SHIFT): Define.
9079 (FP_TRAPPING_EXCEPTIONS): Define.
9081 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
9083 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
9084 (FP_ROUNDMODE): Use FP_RND_MASK.
9085 * config/aarch64/sfp-exceptions.c: New.
9086 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
9087 Use __sfp_handle_exceptions.
9089 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
9091 * config.host: (arm*-*-freebsd*): Remove.
9092 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
9093 (arm*-*-elf*): Remove.
9094 (arm*-*-wince-pe*): Remove.
9095 * arm/unwind-arm.c (struct fpa_reg): Delete.
9096 (struct fpa_regs): Delete.
9097 (phase1_vrs): Remove fpa element.
9098 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
9099 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
9100 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
9101 * ieee754-sf.S (floatundisf): Remove FPA support.
9102 (floatdisf): Likewise.
9103 * ieee75f-df.S (floatundidf): Likewise.
9104 (floatdidf): Likewise.
9106 2012-11-29 Kai Tietz <ktietz@redhat.com>
9109 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
9110 * unwind-generic.h: Likewise.
9111 * unwind-seh.c: Likewise.
9113 2012-11-28 Richard Henderson <rth@redhat.com>
9116 * emutls.c (__emutls_get_address): Avoid race condition between
9117 obj->loc.offset read and emutls_key initialization.
9119 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
9121 Adjust decimal point of signed accum mode to GCC default.
9124 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
9126 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
9127 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
9128 (__mulha3, __mulsa3)
9129 (__divqq3, __divha3, __divsa3): Adjust to new position of
9130 decimal point of signed accum types.
9132 (__mulusa3_round): New function.
9133 (__mulusa3): Use it.
9134 (__divqq_helper): New function.
9135 (__udivuqq3): Use it.
9137 2012-11-20 Jakub Jelinek <jakub@redhat.com>
9140 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
9142 2012-11-18 Teresa Johnson <tejohnson@google.com>
9145 * libgcov.c (gcov_exit): Remove merged program summary
9146 comparison unless !GCOV_LOCKED.
9148 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
9150 * soft-fp: Updated from glibc upstream.
9152 2012-11-06 Ian Lance Taylor <iant@google.com>
9154 * generic-morestack.c (__generic_morestack): Align the returned
9155 stack pointer to a 32 byte boundary.
9156 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
9157 increment the return address until we have decided that we don't
9158 have a varargs function.
9159 (__morestack) [32-bit]: Align stack correctly when calling C
9161 (__morestack) [64-bit]: Likewise.
9163 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9165 * configure: Regenerate.
9167 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
9170 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
9171 * config/i386/sfp-machine.h: Guard exception handling
9172 code with _SOFT_FLOAT.
9173 * config/i386/32/sfp-machine.h: Guard rounding handling
9174 code with _SOFT_FLOAT.
9175 * config/i386/64/sfp-machine.h: Ditto.
9177 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
9179 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
9182 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
9184 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
9185 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
9186 when appropriate. Correct structure element types.
9187 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
9188 -minline-all-stringops from compile flags.
9190 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
9192 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
9194 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
9196 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
9198 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
9200 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
9203 2012-10-23 Ian Bolton <ian.bolton@arm.com>
9204 Jim MacArthur <jim.macarthur@arm.com>
9205 Marcus Shawcroft <marcus.shawcroft@arm.com>
9206 Nigel Stephens <nigel.stephens@arm.com>
9207 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
9208 Richard Earnshaw <rearnsha@arm.com>
9209 Sofiane Naci <sofiane.naci@arm.com>
9210 Stephen Thomas <stephen.thomas@arm.com>
9211 Tejas Belagod <tejas.belagod@arm.com>
9212 Yufeng Zhang <yufeng.zhang@arm.com>
9214 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
9215 * config/aarch64/crti.S: New file.
9216 * config/aarch64/crtn.S: New file.
9217 * config/aarch64/linux-unwind.h: New file.
9218 * config/aarch64/sfp-machine.h: New file.
9219 * config/aarch64/sync-cache.c: New file.
9220 * config/aarch64/t-aarch64: New file.
9221 * config/aarch64/t-softfp: New file.
9223 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
9225 * config/mmix/crti.S: Mark program and data addresses using PRELD.
9226 Remove typo'd and unnecessary alignment-LOC for .data. Remove
9227 no-longer-needed LDBU insns.
9229 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
9232 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
9233 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
9235 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9237 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
9239 2012-10-15 Matthias Klose <doko@ubuntu.com>
9241 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
9243 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
9245 * configure: Regenerate.
9246 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
9248 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
9250 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
9251 instructions for 64bit targets only.
9253 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
9255 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9256 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
9257 * config/i386/32/sfp-machine.h: ... here.
9258 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
9259 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
9262 2012-10-07 Matthias Klose <doko@ubuntu.com>
9264 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
9266 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
9268 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
9270 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
9271 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
9272 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
9275 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
9278 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9279 Fix parameter names.
9281 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
9284 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
9285 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
9286 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
9288 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
9291 * config/sh/linux-atomic.S: Delete.
9292 * config/sh/linux-atomic.c: New.
9293 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
9294 linux-atomic.c. Add cflags to disable warnings.
9296 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
9299 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
9301 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
9302 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
9303 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
9304 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
9305 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
9307 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9309 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
9311 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
9312 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
9314 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
9316 * config.host (hppa-*-openbsd*): New target.
9317 * config/pa/t-openbsd: New file.
9319 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
9322 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
9323 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
9324 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
9325 (__divsa3): Use __negsi2 to negate r_quoL.
9326 * config/avr/lib1funcs.S (FALIAS): New macro.
9327 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
9328 (__negsi2): ...this new function.
9329 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
9330 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
9331 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
9332 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
9333 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
9334 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
9336 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
9339 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
9340 (lshrsi3): Reimplement as lshrsi3_r0.
9342 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
9345 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
9348 2012-09-07 Teresa Johnson <tejohnson@google.com>
9350 PR gcov-profile/54487
9351 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9354 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
9357 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
9358 not configured --with-avrlibc=no.
9359 * config/avr/t-avrlibc: New file.
9360 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
9361 (DPBIT_FUNCS): Ditto.
9362 (TPBIT_FUNCS): Ditto.
9364 2012-09-04 Teresa Johnson <tejohnson@google.com>
9366 * libgcov.c (struct gcov_summary_buffer): New structure.
9367 (gcov_histogram_insert): New function.
9368 (gcov_compute_histogram): Ditto.
9369 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
9370 histograms during summary merging.
9372 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
9374 * config.host (x86_64-*-openbsd*): New target.
9376 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
9378 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
9381 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
9384 * config/avr/t-avr (conv_X): Rename to func_X.
9386 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
9389 * config/avr/lib1funcs-fixed.S: New file.
9390 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
9391 after they are used.
9392 (neg2, neg4): New macros.
9393 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
9394 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
9395 (__umulhisi3): Speed up MUL variant if there is enough flash.
9396 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
9398 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
9399 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
9400 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
9401 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
9402 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
9403 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
9404 (LIB2FUNCS_EXCLUDE): Add supported functions.
9406 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
9408 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
9409 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
9411 * fixed-obj.mk: Only expand dependency if $o is not in
9414 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
9416 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
9418 2012-08-22 Joseph Myers <joseph@codesourcery.com>
9420 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
9421 depend on --enable-shared.
9422 ($(lib1asmfuncs-o)): Use %.vis files independent of
9424 * static-object.mk ($(base)$(objext), $(base).vis)
9425 ($(base)_s$(objext)): Use same rules for visibility handling as in
9428 2012-08-21 Ian Lance Taylor <iant@google.com>
9430 * config/i386/morestack.S (__morestack_non_split): Increase amount
9431 of space allocated for non-split code stack.
9433 2012-08-19 Joseph Myers <joseph@codesourcery.com>
9435 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
9436 even if inhibit_libc.
9438 2012-08-17 Julian Brown <julian@codesourcery.com>
9440 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
9441 -fexceptions -fnon-call-exceptions if not defined.
9442 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
9443 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
9445 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
9447 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
9450 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
9452 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
9453 rs6000/t-slibgcc-aix.
9455 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9457 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
9459 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9461 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
9463 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
9466 * Makefile.in (version): Replace top_srcdir with srcdir.
9468 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
9470 * Makefile.in (version): set to BASE-VER file from gcc directory.
9472 2012-08-01 Nick Clifton <nickc@redhat.com>
9474 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
9475 Implements __clrsb for an HImode argument.
9477 2012-07-31 Nick Clifton <nickc@redhat.com>
9479 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
9480 Implements __clrsb for an HImode argument.
9481 * config/stormy16/clrsbhi2.c: New file:
9482 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
9484 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
9486 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
9488 2012-07-19 Tristan Gingold <gingold@adacore.com>
9489 Richard Henderson <rth@redhat.com>
9491 * unwind-seh.c: New file.
9492 * unwind-generic.h: Include windows.h for SEH.
9493 (_Unwind_Exception): Use 6 private fields for SEH.
9494 (_GCC_specific_handler): Declare.
9495 * unwind-c.c (__gcc_personality_seh0): New function.
9497 * config/i386/libgcc-cygming.ver: New file.
9498 * config/i386/t-seh-eh: New file.
9499 * config.host (x86_64-*-mingw*): Default to seh.
9501 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
9503 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
9505 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
9507 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
9508 __builtin_expect when checking for exceptions.
9509 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
9511 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
9513 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
9514 function declaration.
9515 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9517 * config/ia64/sfp-exceptions.c: New.
9518 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
9520 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
9522 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9523 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9524 * config/i386/64/sfp-machine: ... (delete here) ...
9525 * config/i386/sfp-machine.h: ... to here.
9526 (FP_EX_MASK): Remove.
9528 (FP_INIT_ROUNDMODE): Declare asm as volatile.
9530 2012-06-11 Sriraman Tallam <tmsriram@google.com>
9532 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9533 * config/i386/libgcc-sol2.ver: Ditto.
9534 * config/i386/libgcc-glibc.ver: Ditto.
9536 2012-06-11 Roland McGrath <mcgrathr@google.com>
9538 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9539 If __GLIBC__ is defined, refer to __pthread_key_create instead of
9542 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
9544 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9545 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9546 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9547 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9548 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9549 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9550 * config/i386/64/sfp-machine: ... (delete here) ...
9551 * config/i386/sfp-machine.h: ... to here.
9553 (__sfp_handle_exceptions): New function declaration.
9554 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9555 * config/i386/sfp-exceptions.c: New.
9556 * config/i386/t-softfp: New.
9557 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9558 i386/t-softfp to tmake_file.
9560 2012-06-03 David S. Miller <davem@davemloft.net>
9562 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9565 2012-05-31 David S. Miller <davem@davemloft.net>
9567 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9568 multiply and divide instructions on 32-bit when V9.
9569 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9571 2012-05-29 Joseph Myers <joseph@codesourcery.com>
9573 * config/arm/ieee754-df.S: Fix typos.
9574 * config/arm/ieee754-sf.S: Fix typos.
9575 * config/c6x/libunwind.S: Fix typos.
9576 * config/epiphany/udivsi3-float.c: Fix typos.
9577 * config/microblaze/muldi3_hard.S: Fix typos.
9578 * config/picochip/adddi3.S: Fix typos.
9579 * config/picochip/ashlsi3.S: Fix typos.
9580 * config/picochip/ashrsi3.S: Fix typos.
9581 * config/picochip/clzsi2.S: Fix typos.
9582 * config/picochip/cmpsi2.S: Fix typos.
9583 * config/picochip/divmod15.S: Fix typos.
9584 * config/picochip/divmodhi4.S: Fix typos.
9585 * config/picochip/divmodsi4.S: Fix typos.
9586 * config/picochip/longjmp.S: Fix typos.
9587 * config/picochip/lshrsi3.S: Fix typos.
9588 * config/picochip/parityhi2.S: Fix typos.
9589 * config/picochip/popcounthi2.S: Fix typos.
9590 * config/picochip/setjmp.S: Fix typos.
9591 * config/picochip/subdi3.S: Fix typos.
9592 * config/picochip/ucmpsi2.S: Fix typos.
9593 * config/picochip/udivmodhi4.S: Fix typos.
9594 * config/picochip/udivmodsi4.S: Fix typos.
9595 * config/spu/divv2df3.c: Fix typos.
9596 * config/spu/mfc_multi_tag_release.c: Fix typos.
9597 * config/spu/mfc_tag_release.c: Fix typos.
9598 * configure.ac: Fix typos.
9599 * configure: Regenerate.
9601 2012-05-25 Ian Lance Taylor <iant@google.com>
9603 * config/i386/morestack.S (__morestack_non_split): Check whether
9604 caller is varargs and needs %bp to hold the stack frame on return.
9606 2012-05-25 Olivier Hainque <hainque@adacore.com>
9608 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9609 sequence in the non pic case on VxWorks.
9611 2012-05-24 Olivier Hainque <hainque@adacore.com>
9613 * Makefile.in: Move dependency on install-unwind_h from
9614 "install-leaf" to "install".
9616 2012-05-24 Olivier Hainque <hainque@adacore.com>
9618 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9619 Use a separate command for stamp removals.
9621 2012-05-21 Andrew Pinski <apinski@cavium.com>
9624 * configure.ac: Define the default includes to being none.
9625 * configure: Regenerate.
9627 2012-05-16 Olivier Hainque <hainque@adacore.com>
9629 * Makefile.in (install-unwind_h): Rename into ...
9630 (install-unwind_h-forbuild): New target.
9631 (all): Use it instead of the former install-unwind_h.
9632 (install-unwind_h): Reinstate, copy to user install destination
9633 for include files, not to the internal gcc object directory one.
9634 (install-leaf): Depend on it.
9636 2012-05-15 Olivier Hainque <hainque@adacore.com>
9638 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9639 register numbers. LR_REGNO replaces R_LR.
9640 (ucontext_for): New, helper for ...
9641 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9643 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9645 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9647 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9648 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9649 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9651 (i[34567]86-*-*, x86_64-*-*): ... here.
9653 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9654 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9656 * config/i386/i386-cpuinfo.c: Rename to ...
9657 * config/i386/cpuinfo.c: ... this.
9658 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9660 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9661 (libgcc_cv_init_priority): New test.
9662 * configure: Regenerate.
9663 * config.in: New file.
9664 * Makefile.in (clean): Rename config.h to auto-target.h.
9665 (config.h): Likewise.
9666 (stamp-h): Likewise.
9668 * config/i386/cpuinfo.c (auto-target.h): Include.
9669 (CONSTRUCTOR_PRIORITY): Define.
9670 (__cpu_indicator_init): Use it.
9672 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9674 * longlong.h: Use a URL instead of an FSF postal address.
9675 Replace spaces with tab.
9677 2012-05-08 Teresa Johnson <tejohnson@google.com>
9679 * libgcov.c (gcov_clear, __gcov_reset): New functions.
9680 (__gcov_dump): Ditto.
9681 (gcov_dump_complete): New global variable.
9682 (gcov_exit): Export hidden to enable use in L_gcov_dump.
9683 (__gcov_flush): Outline functionality now in gcov_clear.
9684 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9686 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
9688 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9689 (mips*-*-linux*): Include mips/t-tpbit when long double is
9692 2012-04-25 Sriraman Tallam <tmsriram@google.com>
9694 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9695 (get_available_features): New argument. Check for AVX2.
9696 (__cpu_indicator_init): Modify call to get_available_features.
9698 2012-04-25 Alan Modra <amodra@gmail.com>
9700 * config/rs6000/crtsavevr.S: New file.
9701 * config/rs6000/crtrestvr.S: New file.
9702 * config/rs6000/t-savresfgpr: Build the above.
9703 * config/rs6000/t-netbsd: Likewise.
9705 2012-04-24 Sriraman Tallam <tmsriram@google.com>
9707 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9709 2012-04-24 Sriraman Tallam <tmsriram@google.com>
9711 * libgcc/config/i386/i386-cpuinfo.c: New file.
9712 * libgcc/config/i386/t-cpuinfo: New file.
9713 * libgcc/config.host: Include t-cpuinfo.
9714 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9716 2012-04-24 Chao-ying Fu <fu@mips.com>
9718 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9720 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
9722 struct siginfo vs. siginfo_t
9724 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9725 siginfo_t instead of struct siginfo.
9726 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9727 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9728 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9729 (ia64_handle_unwabi): Likewise.
9730 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9731 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9732 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9733 (sh_fallback_frame_state): Likewise.
9734 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9735 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9737 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
9739 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9742 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
9744 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9745 if it hasn't been previously saved.
9747 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
9749 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
9752 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
9755 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
9756 instead of __AVR_HAVE_8BIT_SP__.
9758 2012-03-26 Tristan Gingold <gingold@adacore.com>
9760 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
9761 (unw_table_entry): Use unw_word instead of unsigned long.
9762 (_Unwind_FindTableEntry): Likewise.
9763 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
9764 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
9765 (_Unwind_FindTableEntry): Likewise.
9766 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
9767 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
9768 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
9769 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
9770 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
9771 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
9772 (uw_init_context_1, uw_install_context): Likewise.
9773 (unw_word): Move to unwind-ia64.h
9775 2012-03-26 Tristan Gingold <gingold@adacore.com>
9777 * config/vms/vms-ucrt0.c: Update copyright years.
9779 (___gcc_main_flags): Declare.
9780 (__main): Check flags to remap argv and exit code.
9781 * config.host (*-*-*vms*): Adjust extra_parts.
9782 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
9785 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
9787 * arm/lib1funcs.asm (ctzsi2): New function.
9788 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
9789 * arm/t-linux (LIB1ASMFUNCS): Likewise.
9790 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
9791 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
9792 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9793 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
9795 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
9797 * config.host: Add bits to support powerpc64-*-freebsd*.
9798 * config/rs6000/freebsd-unwind.h: New file.
9799 * config/rs6000/t-freebsd64: New file.
9801 2012-03-20 Richard Guenther <rguenther@suse.de>
9803 PR gcov-profile/52627
9804 * libgcov.c (init_mx): Fix mutex name.
9806 2012-03-16 Tristan Gingold <gingold@adacore.com>
9808 * config/ia64/vms-unwind.h: Remove ulong (and replace
9809 it by unw_reg where used). Define unw_reg with __int64.
9811 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9813 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
9815 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
9817 (sparc_is_sighandler): Likewise.
9819 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
9821 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9824 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9826 * config/arm/crtn.S: Fix typo.
9828 2012-03-13 Richard Guenther <rguenther@suse.de>
9830 * libgcov.c: Remove stdio.h include and NULL un-define.
9832 2012-03-13 Richard Guenther <rguenther@suse.de>
9835 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
9837 2012-03-13 Richard Guenther <rguenther@suse.de>
9839 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
9841 2012-03-13 Richard Guenther <rguenther@suse.de>
9843 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
9844 and __gthread_mutex_init_function definitions.
9846 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9848 * config.host (mips*-*-openbsd*): Remove.
9850 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9852 * config.host: Remove alpha*-dec-osf5.1* handling.
9853 * config/alpha/gthr-posix.c: Remove.
9854 * config/alpha/libgcc-osf5.ver: Remove.
9855 * config/alpha/osf5-unwind.h: Remove.
9856 * config/alpha/t-osf-pthread: Remove.
9857 * config/alpha/t-slibgcc-osf: Remove.
9858 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
9859 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
9860 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
9861 * mkmap-flat.awk: Remove osf_export handling.
9863 2012-03-12 Richard Guenther <rguenther@suse.de>
9865 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
9866 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9867 (__gthread_mutex_init_function): New function.
9868 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9871 * libgcov.c: Include gthr.h.
9872 (__gcov_flush_mx): New global variable.
9873 (init_mx, init_mx_once): New functions.
9874 (__gcov_flush): Protect self with a mutex.
9875 (__gcov_fork): Re-initialize mutex after forking.
9876 * unwind-dw2-fde.c: Change condition under which to use
9877 __GTHREAD_MUTEX_INIT_FUNCTION.
9879 2012-03-12 Tristan Gingold <gingold@adacore.com>
9881 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
9882 * config/ia64/t-vms: Likewise.
9884 2012-03-11 Michael Hope <michael.hope@linaro.org>
9886 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
9889 2012-03-07 Walter Lee <walt@tilera.com>
9891 * config/tilepro/atomic.c: Rename "atomic_" prefix to
9893 (atomic_xor): Rename and move definition to
9894 config/tilepro/atomic.h.
9895 (atomic_nand): Ditto.
9896 * config/tilepro/atomic.h: Rename "atomic_" prefix to
9898 (arch_atomic_xor): Move from config/tilepro/atomic.c.
9899 (arch_atomic_nand): Ditto.
9901 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
9904 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
9906 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
9909 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
9912 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
9916 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
9917 if RAMPZ affects reading from RAM.
9918 (__tablejump_elpm__): Ditto.
9920 (__movmemx_hi): Ditto.
9921 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
9922 (__do_global_dtors): Ditto.
9923 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
9924 (__movmemx_hi): Ditto.
9926 2012-03-05 Richard Henderson <rth@redhat.com>
9928 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
9929 [ARM] (count_trailing_zeros): Use the builtin.
9931 2012-03-01 Kai Tietz <ktietz@redhat.com>
9933 * soft-fp: Imported from glibc upstream.
9935 2012-02-28 Kai Tietz <ktietz@redhat.com>
9937 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
9938 for mingw-targets as attribute gcc_struct.
9940 2012-02-28 Ian Lance Taylor <iant@google.com>
9942 * generic-morestack.c (__splitstack_releasecontext): Correct call
9943 to __morestack_release_segments.
9945 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9948 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
9949 for __linux__ when removing signals from __morestack_fullmask.
9951 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
9954 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
9956 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9958 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
9959 instead of HAVE_INITFINI_ARRAY.
9960 * config/ia64/crtend.S: Likewise.
9962 2012-02-20 Kai Tietz <ktietz@redhat.com>
9965 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
9967 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
9968 to w32-unwind.h header.
9970 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9972 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
9973 (mips*-*-linux*): Remove t-slibgcc-libgcc.
9974 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
9975 * config/mips/mips16.S (__mips16_rdhwr): Delete.
9977 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9979 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
9981 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9984 * config/darwin-crt-tm.c: Correct typo.
9986 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9987 Patrick Marlier <patrick.marlier@gmail.com>
9990 * config/darwin-crt-tm.c: Generate dummy functions.
9992 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9993 Patrick Marlier <patrick.marlier@gmail.com>
9996 * config/darwin-crt-tm.c (getTMCloneTable): New function.
9997 (__doTMRegistrations): Call it.
9998 (__doTMdeRegistrations): Likewise.
10000 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
10001 Anatoly Sokolov <aesok@post.ru>
10002 Eric Weddington <eric.weddington@atmel.com>
10005 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
10006 (__epilogue_restores__): Ditto.
10008 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
10012 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
10013 Solaris 11 and slightly reformat.
10014 (sparc_is_sighandler): Likewise.
10016 2012-02-14 Walter Lee <walt@tilera.com>
10018 * config.host: Handle tilegx and tilepro.
10019 * config/tilegx/sfp-machine.h: New file.
10020 * config/tilegx/sfp-machine32.h: New file.
10021 * config/tilegx/sfp-machine64.h: New file.
10022 * config/tilegx/t-crtstuff: New file.
10023 * config/tilegx/t-softfp: New file.
10024 * config/tilegx/t-tilegx: New file.
10025 * config/tilepro/atomic.c: New file.
10026 * config/tilepro/atomic.h: New file.
10027 * config/tilepro/linux-unwind.h: New file.
10028 * config/tilepro/sfp-machine.h: New file.
10029 * config/tilepro/softdivide.c: New file.
10030 * config/tilepro/softmpy.S: New file.
10031 * config/tilepro/t-crtstuff: New file.
10032 * config/tilepro/t-tilepro: New file.
10034 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
10038 * gthr-posix.h: Allow static initializer macros to be disabled.
10039 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
10041 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
10043 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
10044 Add t-slibgcc-libgcc to tmake_file.
10045 * config/mips/libgcc-mips16.ver: Revert previous patch.
10046 * config/mips/mips16.S (__mips16_rdhwr): Hide.
10048 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
10049 Jayant R Sonar <jayant.sonar@kpitcummins.com>
10051 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
10052 * config/cr16/crti.S: New file.
10053 * config/cr16/crtlibid.S: New file.
10054 * config/cr16/crtn.S: New file.
10055 * config/cr16/lib1funcs.S: New file.
10056 * config/cr16/t-cr16: New file.
10057 * config/cr16/t-crtlibid: New file.
10058 * config/cr16/unwind-dw2.h: New file.
10059 * config/cr16/unwind-cr16.c: New file.
10060 * config/cr16/divmodhi3.c: New file.
10062 2012-01-25 Alan Modra <amodra@gmail.com>
10064 * config/rs6000/t-linux64: Delete. Move..
10065 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
10066 * config/rs6000/t-linux: ..and libgcc flags to here.
10068 2012-01-22 Douglas B Rupp <rupp@gnat.com>
10070 * config.host (i[34567]86-*-interix3*):
10071 Change triplet to i[34567]86-*-interix[3-9]*.
10072 * configure: Regenerate.
10074 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
10075 Richard Sandiford <rdsandiford@googlemail.com>
10077 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
10078 * config/mips/mips16.S (__mips16_rdhwr): New function.
10079 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
10081 2012-01-11 Nathan Sidwell <nathan@acm.org>
10083 * libgcov.c (__gcov_init): Ignore objects with no functions.
10085 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
10088 Extend __pgmx semantics to linearize memory.
10089 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
10090 * config/avr/lib1funcs.S (__xload_1): New function.
10091 (__movmemx_qi, __movmemx_hi): New functions.
10092 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
10095 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
10097 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
10098 purported sigacthandler address isn't null before dereferencing it.
10099 (sparc_is_sighandler): Likewise.
10101 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
10104 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
10105 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
10106 (sparc_is_sighandler): Likewise.
10107 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
10109 2012-01-06 Tristan Gingold <gingold@adacore.com>
10111 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
10112 compatibility thunks...
10113 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
10114 (crtbeginS.o, crtendS.o): ... and these to ...
10115 * config/ia64/t-ia64-elf: ... this new file.
10116 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
10117 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
10119 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10121 * configure: Regenerate.
10122 * config/s390/t-crtstuff: Remove -fPIC.
10124 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
10127 * enable-execute-stack-mprotect.c (getpagesize): Do not define
10130 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
10133 * config/avr/lib1funcs.S: Remove FIXME comments.
10134 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
10136 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
10138 Implement light-weight DImode support.
10139 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
10140 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
10141 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
10142 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
10144 2011-12-30 Nathan Sidwell <nathan@acm.org>
10146 * libgcov.c (gcov_crc32): Remove global var.
10147 (free_fn_data): New function.
10148 (buffer_fn_data): Pass in filename, more robust error recovery.
10149 (crc32_unsigned): New function.
10150 (gcov_exit): More robust detection of new program. More robust
10152 (__gcov_init): Do not update program's crc here.
10154 2011-12-21 Tristan Gingold <gingold@adacore.com>
10156 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
10158 2011-12-21 Ian Lance Taylor <iant@google.com>
10160 * config/i386/morestack.S: Simplify CFI opcodes throughout.
10162 2011-12-20 Ian Lance Taylor <iant@google.com>
10164 * config/i386/morestack.S (__morestack_non_split): If there is
10165 enough stack space already, don't split. Ask for more stack space
10168 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
10170 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
10172 (_Unwind_DebugHook): New function.
10173 (uw_restore_core_regs): New define.
10174 (unwind_phase2): Use uw_restore_core_regs instead of
10176 (unwind_phase2_forced): Likewise.
10177 (__gnu_Unwind_Resume): Likewise.
10179 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
10181 * config/alpha/linux-unwind.h: Update copyright years.
10182 (MD_FROB_UPDATE_CONTEXT): New define.
10183 (alpha_frob_update_context): New function.
10185 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
10187 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
10188 tmake_file rather replacing it.
10190 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
10192 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
10193 function is not used for PPC64.
10194 (save_world): Amend comments. Update the VRsave mask to reflect the
10196 (rest_world): Update comments, do not clobber r10, do not use r8.
10197 (eh_rest_world_r10): Amend comments, do not use r8.
10198 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
10199 no longer used, move restore of CR and target address to the end of
10202 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
10204 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
10205 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
10207 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
10210 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
10211 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
10213 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
10215 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
10217 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
10220 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
10221 * config/avr/lib1funcs.S (__muldi3): New function.
10223 2011-12-06 Andrew Pinski <apinski@cavium.com>
10225 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
10227 (__frame_dummy_init_array_entry): Likewise.
10229 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
10231 Forward-port from gcc-4_6-branch r181936 2011-12-02.
10235 * config/avr/lib1funcs.S (__prologue_saves__,
10236 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
10237 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
10239 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
10241 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
10243 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10246 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
10247 (_ITM_deregisterTMCloneTable): Likewise.
10248 (__register_frame_info): Fix unused warning.
10249 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
10250 pthread_default_stacksize_np): Likewise.
10251 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
10253 2011-11-29 DJ Delorie <dj@redhat.com>
10255 * config.host (rl78-*-elf): New case.
10256 * config/rl78: New directory for the Renesas RL78.
10258 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
10260 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
10263 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10266 * config/rs6000/t-savresfgpr: New file.
10267 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
10268 $(srcdir)/config/rs6000/eabi.S.
10269 * config/rs6000/t-ppccomm-ldbl: Remove.
10270 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
10272 (powerpc-*-eabispe*): Likewise.
10273 (powerpc-*-eabi*): Likewise.
10274 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10275 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
10276 to tmake_file, remove rs6000/t-ppccomm-ldbl.
10277 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
10279 (powerpc-*-eabisim*): Likewise.
10280 (powerpc-*-elf*): Likewise.
10281 (powerpc-*-eabialtivec*): Likewise.
10282 (powerpc-xilinx-eabi*): Likewise.
10283 (powerpc-*-rtems*): Likewise.
10284 (powerpcle-*-elf*): Likewise.
10285 (powerpcle-*-eabisim*): Likewise.
10286 (powerpcle-*-eabi*): Likewise.
10288 2011-11-27 Ian Lance Taylor <iant@google.com>
10290 * generic-morestack.c (__splitstack_find): Check for NULL old
10292 (__splitstack_resetcontext): New function.
10293 (__splitstack_releasecontext): New function.
10294 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10296 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
10298 * config/darwin-crt-tm.c: Correct comments, use correct licence.
10300 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
10302 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
10304 2011-11-26 Richard Henderson <rth@redhat.com>
10306 * config/m68k/linux-atomic.c: New file.
10307 * config/m68k/t-linux: New file.
10308 * config.host (m68k-uclinux, m68k-linux): Use it.
10310 2011-11-26 Richard Henderson <rth@redhat.com>
10312 * crtstuff.c (__TMC_LIST__): Mark used not unused.
10313 (__TMC_END__): Only declare if hidden is available; in the definition,
10314 if hidden is unavailable add a null record.
10315 (deregister_tm_clones, register_tm_clones): New.
10316 (__do_global_dtors_aux, frame_dummy): Use them.
10317 (__do_global_dtors, __do_global_ctors_1): Likewise.
10319 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
10321 * config/darwin-crt-tm.c: New file.
10322 * config.host (darwin): Build crttms.o crttme.o to provide
10323 startup and shutdown for tm clones.
10324 * config/t-darwin (crttms.o): New build rule.
10325 (crttme.o): Likewise.
10327 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
10329 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
10332 2011-11-21 Richard Henderson <rth@redhat.com>
10334 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
10335 (__TMC_LIST__, __TMC_END__): New.
10336 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
10337 (__do_global_dtors): Likewise.
10338 (frame_dummy): Call _ITM_registerTMCloneTable.
10339 (__do_global_ctors_1): Likewise.
10341 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10343 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
10344 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10345 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
10346 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
10347 * config/i386/t-darwin64: Remove.
10348 * config/sh/t-netbsd (LIB2ADD): Remove.
10350 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
10353 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
10354 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
10355 * config/avr/lib1funcs.S (wmov): New assembler macro.
10356 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
10357 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
10358 (__udivmod64): New function.
10359 (__negdi2): New function.
10361 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
10363 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
10364 *-*-freebsd*aout*): Remove.
10366 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
10368 * static-object.mk (c_flags-$o): Save c_flags.
10369 ($(base)$(objext)): Use it.
10371 2011-11-18 Steve Ellcey <sje@cup.hp.com>
10373 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
10375 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
10378 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
10379 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
10382 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
10384 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
10386 (aeabi_uidivmod): Likewise.
10387 (umodsi3): Likewise.
10388 (divsi3): Likewise.
10389 (aeabi_idivmod): Likewise.
10390 (modsi3): Likewise.
10392 2011-11-16 Tristan Gingold <gingold@adacore.com>
10394 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
10396 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
10399 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
10400 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
10402 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10404 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
10406 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
10407 * config/pa/t-stublib64: Delete.
10409 2011-11-12 Richard Henderson <rth@redhat.com>
10411 * config/rs6000/linux-unwind.h (frob_update_context): Properly
10412 cast the pointer argument to _Unwind_SetGRPtr.
10414 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10416 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
10418 2011-11-09 Ian Lance Taylor <iant@google.com>
10420 * generic-morestack.c: Include <string.h>.
10421 (uintptr_type): Define.
10422 (struct initial_sp): Add dont_block_signals field. Reduce size of
10424 (allocate_segment): Set prev field to NULL. Don't set
10425 __morestack_current_segment or __morestack_segments.
10426 (__generic_morestack): Update current->prev and *pp after calling
10428 (__morestack_block_signals): Don't do anything if
10429 dont_block_signals is set.
10430 (__morestack_unblock_signals): Likewise.
10431 (__generic_findstack): Check for initial_sp == NULL. Add casts to
10433 (__splitstack_block_signals): New function.
10434 (enum __splitstack_content_offsets): Define.
10435 (__splitstack_getcontext, __splitstack_setcontext): New functions.
10436 (__splitstack_makecontext): New function.
10437 (__splitstack_block_signals_context): New function.
10438 (__splitstack_find_context): New function.
10439 * config/i386/morestack.S (__morestack_get_guard): New function.
10440 (__morestack_set_guard, __morestack_make_guard): New functions.
10441 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10443 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10445 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
10446 (i[34567]86-*-mingw*): ... here.
10447 (x86_64-*-mingw*): ... here.
10449 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10451 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
10453 2011-11-07 Nathan Sidwell <nathan@acm.org>
10455 * libgcov.c (struct gcov_fn_buffer): New struct.
10456 (buffer_fn_data): New helper.
10457 (gcov_exit): Rework for new gcov data structures.
10459 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
10462 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
10464 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10466 * config.host (tmake_file): Correct comment.
10467 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
10469 (bfin*-uclinux*): Likewise.
10470 (bfin*-linux-uclibc*): Likewise.
10471 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
10473 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
10475 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10476 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
10477 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10478 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
10479 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10480 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
10481 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
10482 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10483 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
10484 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
10485 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
10486 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
10487 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
10489 * config/bfin/t-elf: Remove.
10490 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
10492 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10494 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
10495 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
10496 (lm32-*-elf*, lm32-*-rtems*): Split into ...
10497 (lm32-*-elf*): ... this.
10498 (lm32-*-rtems*): ... and this.
10500 (m32r-*-rtems*): Add to tmake_file.
10501 (moxie-*-rtems*): Likewise.
10502 (sparc-*-rtems*): Likewise.
10503 Remove t-rtems from tmake_file.
10504 (sparc64-*-rtems*): Likewise.
10505 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
10508 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10511 * config/gthr-posix.h: Move ...
10512 * gthr-posix.h: ... here.
10513 * config/gthr-lynx.h: Reflect this.
10514 * config/gthr-vxworks.h: Likewise.
10515 * config/rs6000/gthr-aix.h: Likewise.
10516 * configure.ac (target_thread_file): Likewise.
10517 * configure: Regenerate.
10519 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
10521 * config.host (arm*-*-rtemseabi*): New target.
10523 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10526 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10529 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
10531 * config.host (epiphany-*-elf*): New configuration.
10532 * config/epiphany: New Directory.
10534 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
10536 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10537 * config/avr/t-rtems: New.
10538 Filter out _exit from LIB1ASMFUNCS.
10540 2011-11-04 David S. Miller <davem@davemloft.net>
10542 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10543 * configure: Rebuild.
10545 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10547 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10550 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
10553 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10554 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10556 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
10559 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10561 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10563 * config/c6x/t-elf (LIB2ADDEH): Set.
10564 * config/c6x/t-c6x-elf: Remove.
10566 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10568 * config/i386/sol2-ci.S: Rename to ...
10569 * config/i386/crti.S: ... this.
10570 * config/i386/sol2-cn.S: Rename to ...
10571 * config/i386/crtn.S: ... this.
10572 * config/sparc/sol2-ci.S: Rename to ...
10573 * config/sparc/crti.S: ... this.
10574 * config/sparc/sol2-cn.S: Rename to ...
10575 * config/sparc/crtn.S: ... this.
10576 * config/t-sol2 (CUSTOM_CRTIN): Remove.
10577 (crti.o, crtn.o): Remove.
10579 2011-11-04 Tristan Gingold <gingold@adacore.com>
10581 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10583 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
10585 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10587 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
10589 * config.host (crisv32-*-none, cris-*-none): Remove.
10590 (crisv32-*-elf): Append to tmake_file, don't just set it.
10591 (cris-*-elf): Add missing t-fdpbit to tmake_file.
10593 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10595 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10596 (ecrtn$(objext)): Likewise.
10597 (ncrti$(objext)): Likewise.
10598 (ncrtn$(objext)): Likewise.
10600 2011-11-03 Andreas Schwab <schwab@redhat.com>
10602 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10604 2011-11-02 David S. Miller <davem@davemloft.net>
10606 * configure.ac: Set host_address on sparc too.
10607 * configure: Regenerate.
10608 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10609 based upon host_address.
10610 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10612 2011-11-02 Jason Merrill <jason@redhat.com>
10614 * config/rs6000/t-ppccomm: Add missing \.
10616 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10618 * gthr-single.h, gthr.h: New files.
10619 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10620 config/gthr-vxworks.h, config/i386/gthr-win32.h,
10621 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10622 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10623 * config/i386/gthr-win32.c: Include "gthr-win32.h".
10624 * configure.ac (thread_header): New variable.
10625 Set it depending on target_thread_file.
10626 (gthr-default.h): Link from $thread_header.
10627 * configure: Regenerate.
10628 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10630 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10632 * configure.ac (tm_file_): New variable.
10633 Determine from tm_file.
10634 (tm_file, tm_defines): Substitute.
10635 * configure: Regenerate.
10636 * mkheader.sh: New file.
10637 * Makefile.in (clean): Remove libgcc_tm.h.
10638 ($(objects)): Depend on libgcc_tm.h.
10639 (libgcc_tm_defines, libgcc_tm_file): New variables.
10640 (libgcc_tm.h, libgcc_tm.stamp): New targets.
10641 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10642 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10643 ($(extra-parts)): Depend on libgcc_tm.h.
10644 * config.host (tm_defines, tm_file): New variable.
10645 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10646 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10647 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10648 (avr-*-rtems*): Likewise.
10649 (avr-*-*): Likewise.
10650 (frv-*-elf): Likewise.
10651 (frv-*-*linux*): Likewise.
10652 (h8300-*-rtems*): Likewise.
10653 (h8300-*-elf*): Likewise.
10654 (i[34567]86-*-darwin*): Likewise.
10655 (x86_64-*-darwin*): Likewise.
10656 (rx-*-elf): Likewise.
10657 (tic6x-*-uclinux): Likewise.
10658 (tic6x-*-elf): Likewise.
10659 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10660 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10661 * config/i386/cygming-crtbegin.c: Likewise.
10662 * config/i386/cygming-crtend.c: Likewise.
10663 * config/ia64/fde-vms.c: Likewise.
10664 * config/ia64/unwind-ia64.c: Likewise.
10665 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10666 * config/rs6000/darwin-fallback.c: Likewise.
10667 * config/stormy16/lib2funcs.c: Likewise.
10668 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10669 * crtstuff.c: Likewise.
10670 * dfp-bit.h: Likewise.
10671 * emutls.c: Likewise.
10672 * fixed-bit.c: Likewise.
10673 * fp-bit.c: Likewise.
10674 * generic-morestack-thread.c: Likewise.
10675 * generic-morestack.c: Likewise.
10676 * libgcc2.c: Likewise.
10677 * libgcov.c: Likewise.
10678 * unwind-dw2-fde-dip.c: Likewise.
10679 * unwind-dw2-fde.c: Likewise.
10680 * unwind-dw2.c: Likewise.
10681 * unwind-sjlj.c: Likewise.
10683 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10685 * configure.ac: Include ../config/picflag.m4.
10686 (GCC_PICFLAG): Call it.
10688 * configure: Regenerate.
10689 * Makefile.in (gcc_srcdir): Remove.
10690 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10691 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10692 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10693 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10694 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10697 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10698 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10699 to refer to libgcc2.c.
10701 * config/darwin-64.c: New file.
10702 * config/darwin-crt3.c: Remove comment.
10703 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10704 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10705 config/udivmodsi4.c: New files.
10706 * config/memcmp.c, config/memcpy.c, config/memmove.c,
10707 config/memset.c: New files.
10708 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10709 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10710 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10711 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10712 * config/t-openbsd-thread: New file.
10713 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10714 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10715 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10716 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10719 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10720 to refer to gthr-posix.c.
10721 * config/alpha/t-vms (LIB2ADD): Set.
10722 * config/alpha/vms-gcc_shell_handler.c: New file.
10723 * config/arm/bpabi.c, config/arm/fp16.c,
10724 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10725 config/arm/unaligned-funcs.c: New files.
10726 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10727 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10728 * config/arm/t-linux: Likewise.
10729 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10730 * config/arm/t-netbsd: New file.
10731 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10732 * config/arm/t-symbian (LIB2ADD_ST): Set.
10733 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10734 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10735 * config/bfin/t-elf: New file.
10736 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10737 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10738 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10739 config/c6x/ltf.c: New files.
10740 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10741 (HOST_LIBGCC2_CFLAGS): Set.
10742 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10743 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10744 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10746 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
10747 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
10748 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
10749 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
10750 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
10752 * config/frv/t-frv (LIB2ADD): Set.
10753 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10754 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
10755 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
10756 config/h8300/popcounthi2.c: New files.
10757 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10758 * config/i386/gthr-win32.c: New file.
10759 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
10760 * config/i386/t-cygwin: Likewise.
10761 * config/i386/t-darwin, config/i386/t-darwin64,
10762 config/i386/t-gthr-win32, config/i386/t-interix: New files.
10763 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
10764 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10765 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10766 * config/ia64/quadlib.c: New file.
10767 * config/ia64/t-hpux (LIB2ADD): Set.
10768 * config/ia64/t-ia64: Add comment.
10769 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
10770 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10771 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
10772 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
10773 * config/m32c/t-m32c (LIB2ADD): Set.
10774 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10775 * config/m32r/t-m32r: Likewise.
10776 * config/m68k/fpgnulib.c: New file.
10777 * config/m68k/t-floatlib (LIB2ADD): Set.
10778 (xfgnulib.c): New target.
10779 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
10780 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
10781 * config/mep/t-mep (LIB2ADD): Set.
10782 * config/microblaze/divsi3.asm: Rename to divsi3.S.
10783 * config/microblaze/moddi3.asm: Rename to moddi3.S.
10784 * config/microblaze/modsi3.asm: Rename to modsi3.S.
10785 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
10786 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
10787 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
10788 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
10789 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
10790 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
10791 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
10793 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
10794 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
10795 * config/pa/fptr.c, config/pa/lib2funcs.S,
10796 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
10797 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10798 (LIB2ADD, LIB2ADD_ST): Set.
10799 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
10800 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
10802 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
10803 * config/pdp11/t-pdp11: New file.
10804 * config/picochip/libgccExtras/adddi3.S,
10805 config/picochip/libgccExtras/ashlsi3.S,
10806 config/picochip/libgccExtras/ashrsi3.S,
10807 config/picochip/libgccExtras/clzsi2.S,
10808 config/picochip/libgccExtras/cmpsi2.S,
10809 config/picochip/libgccExtras/divmod15.S,
10810 config/picochip/libgccExtras/divmodhi4.S,
10811 config/picochip/libgccExtras/divmodsi4.S,
10812 config/picochip/libgccExtras/lshrsi3.S,
10813 config/picochip/libgccExtras/parityhi2.S,
10814 config/picochip/libgccExtras/popcounthi2.S,
10815 config/picochip/libgccExtras/subdi3.S,
10816 config/picochip/libgccExtras/ucmpsi2.S,
10817 config/picochip/libgccExtras/udivmodhi4.S,
10818 config/picochip/libgccExtras/udivmodsi4.S: New files.
10819 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
10820 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10821 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10822 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10823 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10824 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10825 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
10826 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
10828 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
10829 (HOST_LIBGCC2_CFLAGS): Set.
10830 * config/rs6000/t-darwin64: New file.
10831 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
10832 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
10833 * config/rs6000/t-ppccomm (LIB2ADD): Add
10834 $(srcdir)/config/rs6000/tramp.S.
10835 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
10836 Add $(srcdir)/config/rs6000/eabi.S.
10837 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
10838 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
10839 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
10840 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
10841 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
10842 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
10843 * config/rs6000/tramp.S: New file.
10844 * config/s390/t-tpf: Remove.
10845 * config/sh/linux-atomic.S: New file.
10846 * config/sh/t-linux (LIB2ADD): Set.
10847 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
10848 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10849 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
10851 (HOST_LIBGCC2_CFLAGS): Set.
10852 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10853 * config/spu/divmodti4.c, config/spu/divv2df3.c,
10854 config/spu/float_disf.c, config/spu/float_unsdidf.c,
10855 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
10856 config/spu/mfc_multi_tag_release.c,
10857 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
10858 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
10859 config/spu/multi3.c: New files.
10860 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
10861 (HOST_LIBGCC2_CFLAGS): Set.
10862 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
10863 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
10864 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
10865 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
10866 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
10867 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
10868 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
10869 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
10870 config/stormy16/umodsi3.c: New files.
10871 * config/xtensa/lib2funcs.S: New file.
10872 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10873 * config/xtensa/t-xtensa (LIB2ADD): Set.
10874 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
10875 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
10876 Add t-freebsd-thread to tmake_file for posix threads.
10877 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
10878 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
10879 (*-*-lynxos*): Likewise.
10880 (*-*-netbsd*): Likewise.
10881 (*-*-openbsd*): Likewise.
10882 Add t-openbsd-thread to tmake_file for posix threads.
10883 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
10884 (*-*-vxworks*): Set tmake_file.
10885 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10886 (alpha*-*-freebsd*): Likewise.
10887 (alpha*-*-netbsd*): Likewise.
10888 (alpha*-*-openbsd*): Likewise.
10889 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
10890 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10891 (alpha*-dec-*vms*): Likewise.
10892 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
10893 (bfin*-elf*): Add bfin/t-elf to tmake_file.
10894 (bfin*-uclinux*): Likewise.
10895 (bfin*-linux-uclibc*): Likewise.
10896 (crisv32-*-elf): Add cris/t-cris to tmake_file.
10897 (crisv32-*-none): Likewise.
10898 (cris-*-elf): Likewise.
10899 (cris-*-none): Likewise.
10900 (cris-*-linux*, crisv32-*-linux*): Likewise.
10901 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
10903 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
10905 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
10906 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
10907 (x86_64-*-elf*): Likewise.
10908 (i[34567]86-*-nto-qnx*): Likewise.
10909 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
10911 (x86_64-*-mingw*): Likewise.
10912 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
10913 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
10914 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10915 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10916 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
10918 (mipsisa64sr71k-*-elf*): Likewise.
10919 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10920 (mips-*-elf*, mipsel-*-elf*): Likewise.
10921 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10922 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10923 (mips*-*-rtems*): Likewise.
10924 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
10926 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
10927 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
10928 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
10929 (spu-*-elf*): Likewise.
10930 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
10932 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10934 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
10935 $(srcdir) to refer to $(LIB1ASMSRC).
10937 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
10938 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
10939 config/arm/lib1funcs.S: New files.
10940 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
10941 * config/arm/t-arm: New file.
10942 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
10943 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
10944 config/arm/t-strongarm-elf: New files.
10945 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
10946 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
10947 * config/avr/lib1funcs.S: New file.
10948 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10949 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
10950 * config/c6x/lib1funcs.S: New file.
10951 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10952 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
10953 * config/frv/lib1funcs.S: New file.
10954 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10955 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
10956 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
10957 * config/ia64/__divxf3.asm: Rename to ...
10958 * config/ia64/__divxf3.S: ... this.
10959 Adapt lib1funcs.asm filename.
10960 * config/ia64/_fixtfdi.asm: Rename to ...
10961 * config/ia64/_fixtfdi.S: ... this.
10962 Adapt lib1funcs.asm filename.
10963 * config/ia64/_fixunstfdi.asm: Rename to ...
10964 * config/ia64/_fixunstfdi.S: ... this.
10965 Adapt lib1funcs.asm filename.
10966 * config/ia64/_floatditf.asm: Rename to ...
10967 * config/ia64/_floatditf.S: ... this.
10968 Adapt lib1funcs.asm filename.
10969 * config/ia64/lib1funcs.S: New file.
10970 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
10971 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10972 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
10973 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
10974 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
10975 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
10976 * config/mep/lib1funcs.S: New file.
10977 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10978 * config/mips/mips16.S: New file.
10979 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10980 * config/pa/milli64.S: New file.
10981 * config/pa/t-linux, config/pa/t-linux64: New files.
10982 * config/picochip/lib1funcs.S: New file.
10983 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10984 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
10985 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
10986 * config/sh/t-netbsd: New file.
10987 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
10988 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
10989 * config/sh/t-sh64: New file.
10990 * config/sparc/lb1spc.S: New file.
10991 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
10993 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
10994 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
10995 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
10996 config/xtensa/lib1funcs.S: New files.
10997 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10998 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
11000 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
11001 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
11002 (arm*-*-linux*): Likewise.
11003 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
11004 arm*-*-linux-*eabi, add arm/t-linux otherwise.
11005 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
11006 (arm*-*-ecos-elf): Likewise.
11007 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11008 (arm*-*-rtems*): Likewise.
11009 (arm*-*-elf): Likewise.
11010 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
11011 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
11012 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
11013 (bfin*-uclinux*): Likewise.
11014 (bfin*-linux-uclibc*): Likewise.
11015 (bfin*-rtems*): Likewise.
11016 (bfin*-*): Likewise.
11017 (fido-*-elf): Merge into m68k-*-elf*.
11018 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
11019 (frv-*-*linux*): Add frv/t-frv to tmake_file.
11020 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
11021 (h8300-*-elf*): Likewise.
11022 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
11023 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
11024 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
11025 (i[34567]86-*-mingw*): Likewise.
11026 (x86_64-*-mingw*): Likewise.
11027 (i[34567]86-*-interix3*): Likewise.
11028 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
11029 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
11030 (m68k-*-elf*): Also handle fido-*-elf.
11031 Add m68k/t-floatlib to tmake_file.
11032 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
11033 (m68k-*-linux*): Likewise.
11034 (m68k-*-rtems*): Likewise.
11035 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
11036 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
11038 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
11039 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
11040 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
11041 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
11042 sh/t-netbsd to tmake_file.
11043 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
11044 (sh-*-rtems*): Add sh/t-sh to tmake_file.
11045 (sh-wrs-vxworks): Likewise.
11046 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
11048 (v850*-*-*): Add v850/t-v850 to tmake_file.
11049 (vax-*-linux*): Add vax/t-linux to tmake_file.
11050 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
11052 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11054 * crtstuff.c: New file.
11055 * Makefile.in (CRTSTUFF_CFLAGS): Define.
11056 (CRTSTUFF_T_CFLAGS): Define.
11057 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
11058 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
11059 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
11062 (crtbeginT.o): Use $(objext).
11063 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
11064 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
11065 (gcc-extra-parts): Remove.
11066 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
11068 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11069 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
11070 Add t-crtstuff-pic to tmake_file.
11071 (*-*-lynxos*): New case.
11072 Set tmake_file, extra_parts.
11073 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
11074 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
11075 *-*-netbsdelf[2-9]*.
11076 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
11077 (*-*-rtems*): Set extra_parts.
11078 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
11079 (*-*-uclinux*): New case.
11081 (*-*-vms*): New case.
11082 Set tmake_file, extra_parts.
11083 (*-*-elf): Set extra_parts.
11084 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
11085 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
11088 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
11090 (arm*-*-freebsd*): Add t-crtin to tmake_file.
11091 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
11092 (arm-wrs-vxworks): Append to tmake_file.
11094 (arm*-*-uclinux*): Set extra_parts.
11095 (arm*-*-ecos-elf): Likewise.
11096 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
11098 (arm*-*-rtems*): Set extra_parts.
11099 (arm*-*-elf): Likewise.
11100 (avr-*-rtems*): Clear extra_parts.
11101 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
11103 (bfin*-uclinux*): Likewise.
11104 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
11105 (bfin*-rtems*): Append to tmake_file.
11107 (bfin*-*): Likewise.
11108 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
11109 (crisv32-*-elf): ... this.
11110 (crisv32-*-none): ... this.
11111 (cris-*-elf, cris-*-none): New cases.
11112 Add cris/t-elfmulti to tmake_file.
11113 (fr30-*-elf): Append to tmake_file.
11115 (frv-*-elf): Append to tmake_file, add frv/t-frv.
11117 (h8300-*-rtems*): Append to tmake_file.
11119 (h8300-*-elf*): Likewise.
11120 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
11122 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
11124 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
11125 (x86_64-*-elf*): Likewise.
11126 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
11127 (x86_64-*-freebsd*): Likewise.
11128 (x86_64-*-netbsd*): Likewise.
11129 (i[34567]86-*-linux*): Likewise.
11130 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11131 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11132 (x86_64-*-linux*): Likewise.
11133 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11134 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
11137 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
11138 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
11139 Append to extra_parts, remove crtbegin.o, crtend.o.
11140 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
11141 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
11142 crtend.o, crtbeginS.o, crtendS.o.
11143 (ia64*-*-linux*): Comment extra_parts.
11144 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
11146 (iq2000*-*-elf*): Clear extra_parts.
11147 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
11148 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
11149 (m32r-*-elf*, m32r-*-rtems*): Split off ...
11150 (m32r-*-rtems*): ... this.
11151 Add m32r/t-m32r to tmake_file.
11152 (m68k-*-elf*): Add t-crtin to tmake_file.
11153 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
11154 (mcore-*-elf): Likewise.
11155 (microblaze*-*-*): Set extra_parts.
11156 (mips*-sde-elf*): New case.
11157 Set tmake_file, extra_parts.
11158 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
11159 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
11160 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
11163 (mipsisa64sr71k-*-elf*): Likewise.
11164 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
11165 (mips-*-elf*, mipsel-*-elf*): Likewise.
11166 (mips64-*-elf*, mips64el-*-elf*): Likewise.
11167 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
11168 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
11169 (mips*-*-rtems*): Likewise.
11170 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
11171 (moxie-*-*): Split into ...
11172 (moxie-*-elf, moxie-*-uclinux*): ... this.
11173 Add to extra_parts, remove crtbegin.o, crtend.o.
11174 (moxie-*-rtems*): New case.
11177 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
11179 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
11180 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
11183 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
11184 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
11186 (powerpc-*-eabisim*): Likewise.
11187 (powerpc-*-elf*): Likewise.
11188 (powerpc-*-eabialtivec*): Likewise.
11189 (powerpc-xilinx-eabi*): Likewise.
11190 (powerpc-*-eabi*): Likewise.
11191 (powerpc-*-rtems*): Likewise.
11192 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
11195 (powerpc-*-lynxos*): Add to tmake_file.
11196 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
11197 rs6000/t-crtstuff, t-crtstuff-pic.
11199 (powerpcle-*-eabisim*): Likewise.
11200 (powerpcle-*-eabi*): Likewise.
11201 (rx-*-elf): Remove extra_parts.
11202 (s390x-ibm-tpf*): Set extra_parts.
11203 (score-*-elf): Set extra_parts.
11204 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11205 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11206 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11207 (sh64l*-*-netbsd*): Split into ...
11208 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
11209 Add t-crtstuff-pic to tmake_file.
11211 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
11213 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
11214 (sparc-*-elf*): Remove t-crtin from tmake_file.
11215 Add to extra_parts, remove crtbegin.o, crtend.o.
11216 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
11217 (sparc64-*-linux*): Likewise.
11218 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
11219 Add to extra_parts, remove crtbegin.o, crtend.o.
11220 (sparc64-*-elf*): Remove t-crtin from tmake_file.
11221 Add to extra_parts, remove crtbegin.o, crtend.o.
11222 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
11223 Add to extra_parts, remove crtbegin.o, crtend.o.
11224 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
11225 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
11226 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
11228 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
11230 (tic6x-*-*): Change to ...
11231 (tic6x-*-elf): ... this.
11233 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
11235 (am33_2.0-*-linux*): Add comment.
11236 (mep*-*-*): Add mep/t-mep to tmake_file.
11238 * config/alpha/t-vms: New file.
11239 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
11240 * config/arm/crti.S, config/arm/crtn.S: New files.
11241 * config/bfin/crti.S, config/bfin/crtn.S: New files.
11242 * config/bfin/crtlibid.S: New file.
11243 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
11244 * config/c6x/crti.S, config/c6x/crtn.S: New files.
11245 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
11246 (crti.o, crtin.o): New rules.
11247 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11248 * config/c6x/t-uclinux: New file.
11249 * config/cris/t-elfmulti: New file.
11250 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
11251 * config/fr30/crti.S, config/fr30/crtn.S: New files.
11252 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
11253 * config/frv/t-frv: New file.
11254 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
11255 * config/h8300/crti.S, config/h8300/crtn.S: New files.
11256 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
11258 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
11259 refer to cygming-crtbegin.c, cygming-crtend.c.
11261 * config/i386/t-nto: New file.
11262 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
11263 * config/ia64/crti.S, config/ia64/crtn.S: New files.
11264 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
11265 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
11268 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11269 (crtinitS.o): New rule.
11270 * config/ia64/vms-crtinit.S: New file.
11271 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
11272 * config/m32r/initfini.c: New file.
11273 * config/m32r/t-linux, config/m32r/t-m32r: New files.
11274 * config/m68k/crti.S, config/m68k/crtn.S: New files.
11275 * config/mcore/crti.S, config/mcore/crtn.S: New files.
11276 * config/mep/t-mep: New file.
11277 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
11278 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
11279 * config/mips/crti.S, config/mips/crtn.S: New files.
11280 * config/mips/t-crtstuff: New file.
11281 * config/mmix/crti.S, config/mmix/crtn.S: New files.
11282 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
11283 (CUSTOM_CRTIN): Set.
11284 ($(T)crti.o, $(T)crtn.o): Remove $(T),
11286 Use $(srcdir) to refer to crti.S, crtn.S.
11287 Use .S extension, $<.
11288 * config/moxie/crti.asm: Rename to ...
11289 * config/moxie/crti.S: ... this.
11290 * config/moxie/crtn.asm: Rename to ...
11291 * config/moxie/crtn.S: ... this.
11292 * config/moxie/t-moxie: Remove.
11293 * config/pa/stublib.c: New file.
11294 * config/pa/t-stublib, config/pa/t-stublib64: New files.
11295 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
11296 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
11297 * config/rs6000/t-crtstuff: New file.
11298 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
11299 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
11300 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
11301 Make output file explicit.
11302 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
11303 Make output file explicit.
11304 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
11305 Make output file explicit.
11306 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
11307 Make output file explicit.
11308 * config/score/crti.S, config/score/crtn.S: New files.
11309 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
11310 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
11312 * config/sh/t-sh, config/sh/t-superh: New files.
11313 * config/sparc/t-linux64: New file.
11314 * config/spu/cache.S, config/spu/cachemgr.c: New files.
11315 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
11316 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
11317 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
11318 * config/t-crtin: Remove.
11319 * config/t-crtstuff-pic: New file.
11320 * config/t-sol2 (CUSTOM_CRTIN): Set.
11321 (crti.o, crtn.o): New rules.
11322 * config/vms/t-vms: New file.
11323 * config/vms/vms-ucrt0.c: New file.
11324 * config/xtensa/t-elf: New file.
11326 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11328 * Makefile.in (SHLIB_NM_FLAGS): Set.
11329 * mkmap-flat.awk, mkmap-symver.awk: New files.
11330 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
11332 * configure: Regenerate.
11333 * config/libgcc-glibc.ver: New file.
11334 * config/libgcc-libsystem.ver: New file.
11335 * config/t-libunwind (SHLIB_LC): Set.
11336 * config/t-linux: New file.
11337 * config/t-slibgcc (INSTALL_SHLIB): New.
11338 (SHLIB_INSTALL): Use it.
11339 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
11340 to mkmap-symver.awk.
11341 (SHLIB_MAPFILES): Don't append, adapt pathname.
11342 (SHLIB_VERPFX): Set.
11343 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
11344 to mkmap-symver.awk.
11345 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
11346 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
11347 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
11348 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
11350 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
11351 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
11352 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
11353 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
11354 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
11355 * config/i386/libgcc-darwin.10.4.ver,
11356 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
11358 * config/i386/t-darwin: Remove.
11359 * config/i386/t-darwin64: Likewise.
11360 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
11361 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
11362 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
11363 * config/i386/t-linux: New file.
11364 * config/i386/t-mingw32: New file.
11365 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
11366 * config/ia64/t-glibc: Rename to ...
11367 * config/ia64/t-linux: ... this.
11368 (SHLIB_MAPFILES): Set.
11369 * config/ia64/t-glibc-libunwind: Rename to ...
11370 * config/ia64/t-linux-libunwind: ... this.
11371 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
11372 * config/ia64/t-slibgcc-hpux: New file.
11373 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
11374 * config/m68k/t-slibgcc-elf-ver: New file.
11375 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
11376 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
11378 * config/pa/t-slibgcc-hpux: New file.
11379 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
11381 * config/rs6000/libgcc-darwin.10.4.ver,
11382 config/rs6000/libgcc-darwin.10.5.ver: New files.
11383 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
11384 config/rs6000/libgcc-glibc.ver.
11385 * config/rs6000/libgcc-ppc64.ver: Rename to
11386 config/rs6000/libgcc-ibm-ldouble.ver.
11387 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
11388 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
11389 * config/rs6000/t-ldbl128: Rename to ...
11390 * config/rs6000/t-linux: ... this.
11391 (SHLIB_MAPFILES): Adapt filename.
11392 * config/rs6000/t-slibgcc-aix: New file.
11393 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
11394 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
11395 libgcc-excl.ver, libgcc-glibc.ver.
11396 (SHLIB_LINK, SHLIB_INSTALL): Remove.
11397 * config/sparc/libgcc-glibc.ver: New file.
11398 * config/sparc/t-linux: New file.
11399 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
11400 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
11401 t-slibgcc-elf-ver to tmake_file.
11402 Add t-slibgcc-nolc-override to tmake_file for posix threads on
11404 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11405 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
11406 t-slibgcc-elf-ver, t-linux to tmake_file.
11407 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
11409 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
11410 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
11411 (alpha*-dec-*vms*): Likewise.
11412 (arm*-*-freebsd*): Append to tmake_file.
11413 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
11414 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
11415 arm*-*-linux-*eabi.
11416 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
11417 tmake_file for arm*-*-symbianelf*.
11418 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
11419 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
11421 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
11422 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
11423 pa/t-slibgcc-dwarf-ver to tmake_file.
11424 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
11425 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
11426 (hppa*64*-*-hpux11*): Likewise.
11427 (hppa[12]*-*-hpux11*): Likewise.
11428 (x86_64-*-darwin*): Don't override tmake_file, but only keep
11429 i386/t-crtpc, i386/t-crtfm.
11430 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
11431 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11433 Add i386/t-cygwin to tmake_file.
11434 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
11435 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
11436 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11438 Add i386/t-mingw32 to tmake_file.
11439 (x86_64-*-mingw*): Likewise.
11440 (ia64*-*-freebsd*): Append to tmake_file.
11441 (ia64*-*-linux*): Append to tmake_file.
11442 Replace ia64/t-glibc by ia64/t-linux.
11443 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
11445 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
11446 t-slibgcc-hpux to tmake_file.
11447 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
11448 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
11449 (m32rle-*-linux*): Likewise.
11450 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
11452 (microblaze*-linux*): New case.
11453 Append to tmake_file, add t-slibgcc-nolc-override.
11454 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
11455 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11456 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
11457 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11458 rs6000/t-slibgcc-aix to tmake_file.
11459 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11460 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11461 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11462 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11463 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11464 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
11466 (sparc-*-linux*): Append to tmake_file for *-leon*.
11467 Add sparc/t-linux to tmake_file for non-Leon targets.
11468 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
11469 (tic6x-*-uclinux): New case.
11470 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
11471 (tic6x-*-*): Add c6x/t-elf to tmake_file.
11472 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
11473 (am33_2.0-*-linux*): Append to tmake_file.
11474 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
11475 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
11476 x86_64-*-kfreebsd*-gnu.
11477 Add i386/t-linux to tmake_file.
11479 2011-10-28 Ian Lance Taylor <iant@google.com>
11481 * config/i386/morestack.S: Correct CFI information to do proper
11482 returns throughout function. In 32-bit mode, save %ebx so that it
11483 is restored on unwind.
11485 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
11487 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
11488 case where B3 isn't the return register.
11490 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
11491 logic for doubleword pops.
11493 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
11495 * config/rs6000/t-freebsd: Add wildcard.
11497 2011-10-21 Paul Brook <paul@codesourcery.com>
11499 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
11501 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
11502 Eric Botcazou <ebotcazou@adacore.com>
11505 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
11506 fs->signal_frame to 1.
11508 2011-10-07 Ian Lance Taylor <iant@google.com>
11510 * generic-morestack-thread.c: #include <errno.h>.
11512 2011-10-07 Ian Lance Taylor <iant@google.com>
11515 * generic-morestack.c (__generic_morestack): Make sure the segment
11516 is large enough for both the stack frame and the copied
11519 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11522 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11525 2011-09-28 Nick Clifton <nickc@redhat.com>
11527 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11528 64-bit doubles are not enabled.
11529 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11530 and floatunsisf functions.
11532 2011-09-13 Paul Brook <paul@codesourcery.com>
11534 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
11535 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11536 * unwind-arm-common.inc: New file.
11537 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11538 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11539 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11540 * config/c6x/libunwind.S: New file.
11541 * config/c6x/pr-support.c: New file.
11542 * config/c6x/unwind-c6x.c: New file.
11543 * config/c6x/unwind-c6x.h: New file.
11544 * config/c6x/t-c6x-elf: New file.
11546 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
11548 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11549 (ASM_DIVZERO): Ditto.
11550 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11552 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
11554 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11556 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
11559 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11560 instead of an assembly one.
11562 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
11565 * Makefile.in (install-unwind_h): Create
11566 $(gcc_objdir)/include/unwind.h atomically.
11568 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11570 * Makefile.in (install-unwind_h): Remove destination file first.
11572 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11574 * sync.c: New file.
11575 * config/mips/t-mips16: New file.
11576 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11577 (mips*-*-linux*): Likewise.
11578 (mips*-sde-elf*): Likewise.
11579 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11580 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11581 Add mips/t-mips16 to tmake_file.
11582 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11583 (mips-*-elf*): Likewise.
11584 (mips64-*-elf*): Likewise.
11585 (mips64orion-*-elf*): Likewise.
11586 (mips*-*-rtems*): Likewise.
11587 (mipstx39-*-elf*): Likewise.
11588 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11589 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11590 LIBGCC_SYNC_CFLAGS.
11591 Use $(srcdir) to refer to sync.c.
11593 ($(libgcc-sync-funcs-o)): Likewise.
11594 ($(libgcc-sync-size-funcs-s-o)): Likewise.
11595 ($(libgcc-sync-funcs-s-o)): Likewise.
11597 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11599 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11602 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
11605 * config/i386/value-unwind.h: New.
11607 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
11609 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11610 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11611 Add to tmake_file rather than overriding it.
11613 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11615 * config/t-softfp: Remove.
11616 * soft-fp: Moved from ../gcc/config.
11617 * soft-fp/README: Remove t-softfp reference.
11618 * soft-fp/t-softfp: Move to config/t-softfp.
11619 (softfp_machine_header): Remove.
11620 (softfp_file_list): Remove config subdir.
11621 (soft-fp-objects): New variable.
11622 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11623 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11624 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11625 * config/t-softfp-excl: New file.
11626 * config/t-softfp-sfdf: New file.
11627 * config/t-softfp-tf: New file.
11628 * config/no-sfp-machine.h: New file.
11629 * config/arm/sfp-machine.h: New file.
11630 * config/arm/t-softfp: New file.
11631 * config/c6x/sfp-machine.h: New file.
11632 * config/i386/32/t-fprules-softfp: Rename to ...
11633 * config/i386/32/t-softfp: ... this.
11634 (tifunctions, LIB2ADD): Remove.
11635 (softfp_int_modes): Override.
11636 * config/i386/64/t-softfp-compat (tf-functions): Remove config
11638 * config/i386/64/eqtf2.c: Likewise.
11639 * config/i386/64/getf2.c: Likewise.
11640 * config/i386/64/letf2.c: Likewise.
11641 * config/ia64/sft-machine.h: New file.
11642 * config/ia64/t-fprules-softfp: Rename to ...
11643 * config/ia64/t-softfp: ... this.
11644 * config/lm32/sfp-machine.h: New file.
11645 * config/moxie/t-moxie-softfp: Remove.
11646 * config/rs6000/ibm-ldouble-format: New file.
11647 * config/rs6000/ibm-ldouble.c: New file.
11648 * config/rs6000/libgcc-ppc-glibc.ver: New file
11649 * config/rs6000/libgcc-ppc64.ver: New file
11650 * config/rs6000/sfp-machine.h: New file.
11651 * config/rs6000/t-freebsd: New file.
11652 * config/rs6000/t-ibm-ldouble: New file.
11653 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11654 libgcc-ppc-glibc.ver.
11655 * config/rs6000/t-linux64: New file.
11656 * config/rs6000/t-ppccomm (LIB2ADD): Add
11657 $(srcdir)/config/rs6000/ibm-ldouble.c.
11658 * config/rs6000/t-ppccomm-ldbl: New file.
11659 * config/score/sfp-machine.h: New file.
11660 * config.host (sfp_machine_header): Explain.
11661 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11662 t-softfp to tmake_file.
11663 (arm*-*-uclinux*): Likewise.
11664 (arm*-*-ecos-elf): Likewise.
11665 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11666 (arm*-*-rtems*): Likewise.
11667 (arm*-*-elf): Likewise.
11668 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11670 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11671 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11672 (lm32-*-uclinux*): Likewise.
11673 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11674 t-softfp-excl, t-softfp.
11675 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11676 (powerpc64-*-darwin*): Likewise.
11677 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11679 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11681 (powerpc-*-eabisim*): Likewise.
11682 (powerpc-*-elf*): Likewise.
11683 (powerpc-*-eabialtivec*): Likewise.
11684 (powerpc-xilinx-eabi*): Likewise.
11685 (powerpc-*-rtems*): Likewise.
11686 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11687 t-softfp-excl, t-softfp to tmake_file.
11688 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11689 rs6000/t-ppccomm-ldbl to tmake_file.
11690 (powerpcle-*-elf*): Likewise.
11691 (powerpcle-*-eabisim*): Likewise.
11692 (powerpcle-*-eabi*): Likewise.
11693 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11694 rs6000/t-ibm-ldouble to tmake_file.
11695 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11696 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11697 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11698 (tic6x-*-*): Likewise.
11699 (i[34567]86-*-darwin*, x86_64-*-darwin*,
11700 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11701 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11702 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11703 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11704 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11705 t-softfp to tmake_file.
11706 * configure.ac (sfp_machine_header): Provide default if unset.
11708 Link sfp-machine.h to config/$sfp_machine_header.
11709 * configure: Regenerate.
11711 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11713 * Makefile.in (double_type_size, long_double_type_size): Set.
11714 Remove $(fpbit-in-libgcc) support.
11715 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11716 (fpbit-src): New variable.
11717 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11718 Compile with -DFLOAT $(FPBIT_CFLAGS).
11720 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11721 Compile with $(FPBIT_CFLAGS).
11723 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11724 Compile with -DFLOAT $(TPBIT_CFLAGS).
11726 * configure.ac (double_type_size, long_double_type_size):
11727 Determine and substitute.
11728 * configure: Regenerate.
11729 * fp-bit.c, fp-bit.h: New files.
11730 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11731 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11732 * config/mips/t-mips: New file.
11733 * config/mips/t-sdemtk: New file.
11734 * config/rs6000/ppc64-fp.c: New file.
11735 * config/rs6000/t-darwin (LIB2ADD): Add
11736 $(srcdir)/config/rs6000/ppc64-fp.c.
11737 * config/rs6000/t-ppc64-fp: New file.
11738 * config/rx/rx-lib.h: New file.
11739 * config/rx/t-rx (FPBIT): Set to true.
11740 ($(gcc_objdir)/fp-bit.c): Remove.
11741 (DPBIT): Set to true only with -m64bit-doubles.
11742 ($(gcc_objdir)/dp-bit.c): Remove.
11743 * config/sparc/t-softfp: Remove.
11744 * config/spu/t-elf: New file.
11745 * config/t-fdpbit, config/t-fpbit: New files.
11746 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
11747 (mips*-*-*): Likewise.
11748 (arm-wrs-vxworks): Likewise.
11749 (arm*-*-freebsd*): Likewise.
11750 (avr-*-rtems*): Add t-fpbit to tmake_file.
11751 (avr-*-*): Likewise.
11752 (bfin*-elf*): Add t-fdpbit to tmake_file.
11753 (bfin*-uclinux*): Likewise.
11754 (bfin*-linux-uclibc*): Likewise.
11755 (bfin*-rtems*): New case.
11756 Add t-fdpbit to tmake_file.
11757 (bfin*-*): Add t-fdpbit to tmake_file.
11758 (crisv32-*-elf): Likewise.
11759 (cris-*-linux*): Likewise.
11760 (fr30-*-elf): Likewise.
11761 (frv-*-elf, frv-*-*linux*): Likewise.
11762 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
11763 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
11764 (m32r-*-elf*): Likewise.
11765 (m32rle-*-elf*): Likewise.
11766 (m32r-*-linux*): Likewise.
11767 (m32rle-*-linux*): Likewise.
11768 (mcore-*-elf): Add t-fdpbit to tmake_file.
11769 (microblaze*-*-*): Likewise.
11770 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
11771 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
11772 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
11774 Add mips/t-tpbit to tmake-file.
11775 (mips*-*-linux*): Fix typo.
11776 (mips*-sde-elf*): New case
11777 Add mips/t-sdemtk unless using newlib.
11778 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
11779 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
11780 (mn10300-*-*): Likewise.
11781 (pdp11-*-*): Likewise.
11782 (picochip-*-*): Add t-fpbit to tmake_file.
11783 (powerpc-*-eabisimaltivec*): Likewise.
11784 (powerpc-*-eabisim*): Likewise.
11785 (powerpc-*-elf*): Likewise.
11786 (powerpc-*-eabialtivec*): Likewise.
11787 (powerpc-xilinx-eabi*): New case.
11788 Add t-fdpbit to tmake_file.
11789 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
11790 (powerpc-*-rtems*): Likewise.
11791 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
11793 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
11795 (powerpc-*-lynxos*): Likewise.
11796 (powerpcle-*-elf*): Likewise.
11797 (powerpcle-*-eabisim*): Likewise.
11798 (powerpcle-*-eabi*): Likewise.
11799 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11800 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
11801 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11802 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11803 (rx-*-elf): Add t-fdpbit to tmake_file.
11804 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11805 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11806 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11807 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
11809 (sh-*-rtems*): Add t-fdpbit to tmake_file.
11810 (sh-wrs-vxworks): Likewise.
11811 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
11812 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
11813 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
11814 (sparc64-*-rtems*): ... new case.
11815 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
11816 (spu-*-elf*): Likewise.
11817 Add spu/t-elf to tmake_file.
11818 (v850*-*-*): Add t-fdpbit to tmake_file.
11819 (xstormy16-*-elf): Likewise.
11820 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11821 (mep*-*-*): Likewise.
11823 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11825 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11827 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
11828 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
11829 (install-unwind_h): New target.
11830 (all): Depend on it.
11831 * config.host (unwind_header): New variable.
11832 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
11833 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11834 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
11835 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
11836 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
11838 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
11840 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
11842 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
11844 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
11845 (ia64*-*-freebsd*): Likewise.
11846 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
11848 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
11849 $with_system_libunwind.
11850 (ia64*-*-hpux*): Set tmake_file.
11851 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
11852 (picochip-*-*): Set tmake_file.
11853 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
11855 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11856 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11857 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
11858 (xtensa*-*-elf*): Set tmake_file.
11859 (xtensa*-*-linux*): Likewise.
11860 * configure.ac: Include ../config/unwind_ipinfo.m4.
11861 Call GCC_CHECK_UNWIND_GETIPINFO.
11862 Link unwind.h to $unwind_header.
11863 * configure: Regenerate.
11864 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
11865 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
11866 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
11867 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
11868 * config/unwind-dw2-fde-darwin.c: New file.
11869 * config/arm/libunwind.S, config/arm/pr-support.c,
11870 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
11871 config/arm/unwind-arm.h,: New files.
11872 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
11873 config/ia64/t-eh-ia64, config/ia64/t-glibc,
11874 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
11875 config/ia64/t-vms, config/ia64/unwind-ia64.c,
11876 config/ia64/unwind-ia64.h: New files.
11877 * config/picochip/t-picochip: New file.
11878 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
11880 * config/rs6000/t-darwin (LIB2ADDEH): Set.
11881 * config/s390/t-tpf (LIB2ADDEH): Remove.
11882 * config/t-darwin (LIB2ADDEH): Set.
11883 * config/t-eh-dw2-dip: New file.
11884 * config/t-libunwind, config/t-libunwind-elf: New files.
11885 * config/t-sol2 (LIB2ADDEH): Remove.
11886 * config/xtensa/t-xtensa: New file.
11888 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
11890 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
11891 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
11892 long long to check rt_sigreturn syscall.
11894 2011-08-02 Alan Modra <amodra@gmail.com>
11896 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11897 Restore for indirect call bcrtl from correct stack slot, and only
11898 if cfa+40 isn't valid.
11900 2011-08-01 Julian Brown <julian@codesourcery.com>
11902 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
11903 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
11904 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
11906 2011-08-01 Julian Brown <julian@codesourcery.com>
11908 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
11909 (libgcc-std.ver.in): Use above.
11910 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
11911 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
11913 * config/t-fixedpoint-gnu-prefix: New file.
11914 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
11915 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
11916 instead of __PFX__.
11918 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
11920 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
11921 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
11922 for x86-64. Properly check __x86_64__ and __LP64__.
11924 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
11926 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
11928 (_FP_WS_TYPE): Likewise.
11929 (_FP_I_TYPE): Likewise.
11931 2011-07-28 Alan Modra <amodra@gmail.com>
11933 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11934 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
11935 in a plt call stub. Do restore r2 if stopped on bctrl.
11937 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11939 * config.host (i[3456x]86-*-netware*): Remove.
11940 * config/i386/netware-crt0.c, config/i386/t-nwld,
11941 config/i386/t-slibgcc-nwld: Remove.
11943 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
11945 * config.host: Handle tic6x-*-*.
11946 * config/c6x/c6x-abi.h: New file.
11948 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11950 * config/i386/crtprec.c: New file.
11951 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
11952 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
11953 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
11954 (x86_64-*-darwin*): Likewise.
11955 (i[34567]86-*-solaris2*: Likewise.
11957 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11959 * config/alpha/crtfastmath.c: New file.
11960 * config/i386/crtfastmath.c: New file.
11961 * config/ia64/crtfastmath.c: New file.
11962 * config/mips/crtfastmath.c: New file.
11963 * config/sparc/crtfastmath.c: New file.
11965 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
11967 Add -frandom-seed=gcc-crtfastmath.
11968 * config/alpha/t-crtfm: Remove.
11969 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
11970 * config/ia64/t-ia64 (crtfastmath.o): Remove.
11972 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
11973 (alpha*-dec-osf5.1*): Likewise.
11974 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
11975 Add crtfastmath.o to extra_parts.
11976 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
11977 Add crtfastmath.o to extra_parts.
11978 (x86_64-*-darwin*): Likewise.
11979 (x86_64-*-mingw*): Likewise.
11980 (ia64*-*-elf*): Add t-crtfm to tmake_file.
11981 (ia64*-*-freebsd*): Likewise.
11982 (ia64*-*-linux*): Likewise.
11983 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
11984 Add crtfastmath.o to extra_parts.
11986 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11988 * config/darwin-crt3.o: New file.
11989 * config/rs6000/darwin-crt2.c: New file.
11990 * config/t-darwin: New file.
11991 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
11992 (crt2.o): New rule.
11993 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
11994 (powerpc-*-darwin*): Add crt2.o to extra_parts.
11995 (powerpc64-*-darwin*): Likewise.
11997 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11999 * config/i386/netware-crt0.c: New file.
12000 * config/i386/t-nwld: Rename to ...
12001 * config/i386/t-slibgcc-nwld: ... this.
12002 * config/i386/t-nwld: New file.
12003 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
12005 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
12008 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12010 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
12012 * configure: Regenerate.
12014 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12016 * dfp-bit.c, dfp-bit.h: New files.
12017 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
12019 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
12020 ($(d64pbit-o)): Likewise.
12021 ($(d128pbit-o)): Likewise.
12022 * config/t-dfprules: New file.
12023 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
12024 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
12025 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
12026 (x86_64-*-linux*): Likewise.
12027 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
12028 (i[34567]86-*-cygwin*): Likewise.
12029 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
12030 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
12032 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12034 * Makfile.in (LIBGCOV): New variable.
12035 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
12036 * libgcov.c: New file.
12038 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12040 * fixed-bit.c, fixed-bit.h: New files.
12041 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
12042 refer to fixed-bit.c.
12044 2011-07-07 Joseph Myers <joseph@codesourcery.com>
12046 * config.host (*local*): Remove.
12048 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12051 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
12052 like i?86-*-solaris2.1[0-9]*.
12053 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
12054 * configure.ac (i?86-*-solaris2*): Likewise.
12055 * configure: Regenerate.
12057 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
12059 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
12060 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
12061 md_unwind_header by splitting out of...
12062 (i[34567]86-*-linux*): ... this.
12063 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
12064 Remove md_unwind_header by splitting out of...
12065 (x86_64-*-linux*): ... this.
12067 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
12069 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
12071 2011-06-28 Nick Clifton <nickc@redhat.com>
12073 * config.host: Recognize all V850 variants.
12075 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
12077 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
12079 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12081 * shared-object.mk (c_flags-$o): Save c_flags.
12082 ($(base)$(objext)): Use it.
12083 ($(base)_s$(objext)): Likewise.
12085 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
12087 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
12088 * libgcc-std.ver.in (GCC_4.7.0): New section.
12090 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
12094 * config/avr/t-avr: Fix line endings.
12095 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
12098 2011-06-14 Olivier Hainque <hainque@adacore.com>
12099 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12101 * config/mips/irix6-unwind.h: New file.
12102 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
12104 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
12106 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
12107 (sparc64_fallback_frame_state): Use it.
12108 (sparc64_frob_update_context): Further adjust context.
12109 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
12110 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
12111 * config/sparc/sol2-cn.S: Likewise.
12113 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12115 * enable-execute-stack-empty.c: New file.
12116 * enable-execute-stack-mprotect.c: New file.
12117 * config/i386/enable-execute-stack-mingw32.c: New file.
12118 * config.host (enable_execute_stack): New variable.
12119 Select appropriate variants.
12120 * configure.ac: Link enable-execute-stack.c to
12121 $enable_execute_stack.
12122 * configure: Regenerate.
12123 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
12124 (lib2funcs): Remove _enable_execute_stack.
12126 2011-06-09 David S. Miller <davem@davemloft.net>
12127 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12129 * config.host (sparc-*-linux*): Correct md_unwind_header
12131 (s390x-ibm-tpf*): Fix typo.
12133 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12135 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
12136 Add crtfastmath.o to extra_parts.
12137 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
12139 * config/mips/t-crtfm: Remove.
12141 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
12143 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
12145 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
12147 * config.host (sh*-*-linux*): Fix typo.
12149 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12151 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
12152 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
12153 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
12154 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
12155 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
12156 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
12157 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
12158 Wrap in !__MINGW64__.
12159 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
12160 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
12161 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
12162 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
12163 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
12164 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
12165 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
12167 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
12168 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
12169 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
12170 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
12171 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
12172 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
12173 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
12174 * config/no-unwind.h: New file.
12175 * config.host (md_unwind_header): Document.
12177 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
12178 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
12179 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
12180 hppa[12]*-*-hpux11*): Set md_unwind_header.
12181 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
12182 Set md_unwind_header.
12183 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
12184 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
12185 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
12186 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
12187 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
12188 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
12189 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
12191 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
12192 * configure: Regenerate.
12194 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12196 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
12197 Set tmake_file, extra_parts.
12198 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
12199 Remove O32 support.
12200 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
12201 Remove O32 support.
12202 * config/mips/t-irix6: New file.
12203 * config/mips/t-slibgcc-irix: New file.
12205 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12207 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
12208 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
12210 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12212 * configure.ac (target_thread_file): Determine thread model.
12213 * configure: Regenerate.
12214 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
12215 * config/alpha/t-alpha: New file.
12216 * config/alpha/t-crtfm: Use $<.
12217 * config/alpha/t-ieee: New file.
12218 * config/alpha/t-osf-pthread: New file.
12219 * config/alpha/t-slibgcc-osf: New file.
12220 * config/alpha/libgcc-osf5.ver: New file.
12222 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12224 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
12226 Add crtfastmath.o to extra_parts.
12228 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12230 * config/gmon-sol2.c: Reindent.
12232 Remove, correct casts.
12233 Use STDERR_FILENO, NULL.
12234 (BASEADDRESS): Remove.
12236 (errno, sbrk): Remove declarations.
12237 (monstartup) [hp300]: Remove.
12240 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12242 * Makefile.in (cpu_type): Define.
12243 * config.host (i[34567]86-*-rtems*): Handle it.
12244 (i[34567]86-*-solaris2*): Move body ...
12245 (*-*-solaris2*): ... here.
12246 New case, generalize.
12247 (sparc-*-elf*): Handle it.
12248 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
12249 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
12250 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
12252 (sparc*-*-solaris2*): ... this.
12254 (sparc64-*-elf*): Handle it.
12255 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
12256 Merge ../gcc/config/i386/gmon-sol2.c.
12257 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
12259 Merge ../gcc/config/i386/sol2-gc1.asm.
12260 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
12262 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
12264 * config/i386/t-crtfm (crtfastmath.o): Use $<.
12265 * config/i386/t-crtstuff: New file.
12266 * config/i386/t-softfp: New file.
12267 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
12268 $(T)crti.o, $(T)crtn.o): Remove.
12269 (gcrt1.o): New rule.
12270 (TARGET_LIBGCC2_CFLAGS): Remove.
12271 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
12272 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
12273 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
12274 * config/sparc/t-sol2: New file.
12275 * config/sparc/t-crtfm: Move to ...
12276 * config/t-crtfm: ... this.
12277 Use $(cpu_type), $<.
12278 * config/t-crtin: New file.
12279 * config/sparc/t-softfp: New file.
12280 * config/sparc/t-softmul: New file.
12281 * config/t-rtems: New file.
12282 * config/t-slibgcc: New file.
12283 * config/t-slibgcc-elf-ver: New file.
12284 * config/t-slibgcc-gld: New file.
12285 * config/t-slibgcc-sld: New file.
12286 * config/t-sol2: New file.
12287 * configure.ac: Include ../config/lib-ld.m4.
12288 Call AC_LIB_PROG_LD_GNU.
12289 Substitute cpu_type.
12290 * configure: Regenerate.
12292 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
12295 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
12296 libgcc-std.ver in the build directory.
12297 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
12298 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
12300 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
12302 * libgcc-std.ver.in: New file.
12303 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
12305 (libgcc-std.ver): New rule.
12306 * config/t-gnu-prefix: New file.
12308 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12310 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
12312 2011-05-10 Joseph Myers <joseph@codesourcery.com>
12314 * config/i386/darwin-lib.h: New file.
12316 2011-05-10 Joseph Myers <joseph@codesourcery.com>
12318 * config/arm/symbian-lib.h: New.
12320 2011-05-04 Chris Demetriou <cgd@google.com>
12322 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
12323 (__x86.get_pc_thunk.bx): ...this.
12324 (__morestack): Adjust for rename, remove undef of __i686.
12326 2011-05-03 Chris Demetriou <cgd@google.com>
12328 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
12330 2011-03-22 Joseph Myers <joseph@codesourcery.com>
12332 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
12333 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
12334 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
12335 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
12336 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
12339 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
12341 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
12342 Adjust copyright year.
12344 2011-03-07 Ian Lance Taylor <iant@google.com>
12346 * generic-morestack.c (__splitstack_find): Adjust returned stack
12347 pointer to include all registers pushed by __morestack.
12349 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
12352 * configure.ac: Call ACX_NONCANONICAL_TARGET.
12353 (toolexecdir): Calculate and AC_SUBST.
12354 (toolexeclibdir): Likewise.
12355 * Makefile.in (target_noncanonical): Import.
12356 (toolexecdir): Likewise.
12357 (toolexeclibdir): Likewise.
12358 * configure: Regenerate.
12360 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
12363 * config/arm/bpabi.h: Rename to...
12364 * config/arm/bpabi-lib.h: ...this.
12366 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12368 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
12370 * configure: Regenerate.
12372 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
12374 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
12375 __FLOAT_WORD_ORDER__.
12376 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
12379 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12382 * Makefile.in (install-strip): New phony target.
12384 2010-11-07 Ian Lance Taylor <iant@google.com>
12387 * config/i386/morestack.S (__morestack_large_model): New
12390 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
12392 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
12394 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
12396 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
12398 * config/arm/bpabi.h: New file.
12399 * config/frv/frv-abi.h: New file.
12401 2010-10-01 Ian Lance Taylor <iant@google.com>
12403 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
12404 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
12406 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
12409 * config.host: Add the missing `$'.
12411 2010-09-30 Michael Eager <eager@eagercon.com>
12413 * config.host: Add microblaze*-*-*.
12414 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
12415 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
12416 udivsi3.asm,umodsi3.asm}: New.
12418 2010-09-28 Ian Lance Taylor <iant@google.com>
12420 * configure.ac: Adjust CFI test to test assembler directly rather
12421 than checking gcc preprocessor macro.
12422 * configure: Rebuild.
12424 2010-09-27 Ian Lance Taylor <iant@google.com>
12426 * configure.ac: Test whether assembler supports CFI directives.
12427 * config.host: Only add t-stack and i386/t-stack-i386 to
12428 tmake_file if libgcc_cv_cfi is "yes".
12429 * configure: Rebuild.
12431 2010-09-27 Ian Lance Taylor <iant@google.com>
12433 * generic-morestack.h: New file.
12434 * generic-morestack.c: New file.
12435 * generic-morestack-thread.c: New file.
12436 * config/i386/morestack.S: New file.
12437 * config/t-stack: New file.
12438 * config/i386/t-stack-i386: New file.
12439 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
12440 i386/t-stack-i386 to tmake_file.
12442 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
12444 * Makefile.in (libgcc-extra-parts): Check for static archives and
12445 invoke ranlib after installing them.
12446 (gcc-extra-parts): Likewise.
12447 (install-leaf): Likewise.
12449 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
12451 * configure: Regenerated.
12453 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
12455 * configure: Regenerated.
12457 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
12458 Andrew Pinski <pinskia@gmail.com>
12461 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
12463 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
12466 * configure: Regenerated.
12468 2010-09-06 Andreas Schwab <schwab@redhat.com>
12470 * configure: Regenerate.
12472 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
12474 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
12476 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
12479 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
12480 Iain Sandoe <iains@gcc.gnu.org>
12483 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
12484 LIB2FUNCS_EXCLUDE functions.
12486 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12488 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
12490 * configure: Regenerate.
12492 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
12494 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
12495 i386/t-freebsd to tmake_file.
12496 * config/i386/t-freebsd: New file.
12497 * config/i386/libgcc-bsd.ver: New file.
12499 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
12501 * config.host (powerpc*-eabispe*): Set tmake_file.
12502 (powerpc*-eabi*): Likewise.
12503 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
12504 crtbeginS, crtendS, crtbeginT.
12506 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
12508 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
12509 to tmake_file. Add crtfastmath.o to extra_parts.
12510 * config/mips/t-crtfm: New.
12512 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
12514 * config.host (sparc64-*-rtems*): New target.
12516 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12518 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12521 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
12523 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12525 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12527 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12528 alpha-dec-osf5.0* support.
12530 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
12532 * config.host: Add lm32-*-rtems*.
12534 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12535 Uros Bizjak <ubizjak@gmail.com>
12538 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12539 like other remaining 32-bit x86 OSes.
12540 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12542 * config/i386/libgcc-sol2.ver: New file.
12543 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12545 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
12548 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12549 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12550 is used and substitute set_use_emutls.
12551 * configure: Regenerated.
12553 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
12555 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12557 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12560 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12562 ($(T)gcrt1.o): Likewise.
12563 ($(T)crt1.o): Likewise.
12564 ($(T)crti.o): Likewise.
12565 ($(T)crtn.o): Likewise.
12567 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12570 * Makefile.in (install): Use $(MAKE) string in rule, for
12573 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
12575 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12576 * config/mmix/t-mmix: New file.
12577 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12579 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
12582 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12585 2010-01-04 Anthony Green <green@moxielogic.com>
12587 * config/moxie/crti.asm, config/moxie/crtn.asm,
12588 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12589 config/moxie/t-moxie: New files.
12590 * config.host: Add t-moxie-softfp reference.
12592 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
12595 * config/t-slibgcc-darwin: Fix embedded rpaths for
12596 --enable-version-specific-runtime-libs, build extension stub
12597 libs exposing features available from current libgcc_s.
12599 2009-11-11 Jon Beniston <jon@beniston.com>
12601 * config.host: Add lm32 targets.
12602 * config/lm32: New directory.
12603 * config/lm32/libgcc_lm32.h: New file.
12604 * config/lm32/_mulsi3.c: New file.
12605 * config/lm32/_udivmodsi4.c: New file.
12606 * config/lm32/_divsi3.c: New file.
12607 * config/lm32/_modsi3.c: New file.
12608 * config/lm32/_udivsi3.c: New file.
12609 * config/lm32/_umodsi3.c: New file.
12610 * config/lm32/_lshrsi3.S: New file.
12611 * config/lm32/_ashrsi3.S: New file.
12612 * config/lm32/_ashlsi3.S: New file.
12613 * config/lm32/crti.S: New file.
12614 * config/lm32/crtn.S: New file.
12615 * config/lm32/t-lm32: New file.
12616 * config/lm32/t-elf: New file.
12617 * config/lm32/t-uclinux: New file.
12619 2009-10-26 Nick Clifton <nickc@redhat.com>
12621 * config.host: Add support for RX target.
12622 * config/rx: New directory.
12623 * config/rx/rx-abi-functions.c: New file. Supplementary
12624 functions for libgcc to support the RX ABI.
12625 * config/rx/rx-abi.h: New file. Supplementary header file for
12626 libgcc RX ABI functions.
12627 * config/rx/t-rx: New file: Makefile fragment for building
12630 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
12632 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12633 constraint of y0 to "g".
12635 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12637 * config.host: Include the s390 makefile fragments.
12638 * config/s390/32/_fixdfdi.c: New file.
12639 * config/s390/32/_fixsfdi.c: New file.
12640 * config/s390/32/_fixtfdi.c: New file.
12641 * config/s390/32/_fixunsdfdi.c: New file.
12642 * config/s390/32/_fixunssfdi.c: New file.
12643 * config/s390/32/_fixunstfdi.c: New file.
12644 * config/s390/32/t-floattodi: New file.
12645 * config/s390/libgcc-glibc.ver: New file.
12646 * config/s390/t-crtstuff: New file.
12647 * config/s390/t-linux: New file.
12648 * config/s390/t-tpf: New file.
12650 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12652 * configure.ac (AC_PREREQ): Bump to 2.64.
12654 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
12656 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12658 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12660 * configure: Regenerate.
12662 2009-08-09 Douglas B Rupp <rupp@gnat.com>
12664 * config.host (ia64-hp-*vms*): New target.
12665 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12666 with ia64-hp-*vms*.
12668 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12670 * configure.ac: Add snippet for maintainer-mode.
12671 * configure: Regenerate.
12672 * Makefile.in (AUTOCONF, configure_deps): New variables.
12673 ($(srcdir)/configure)): New rule, active only with maintainer
12676 2009-06-23 DJ Delorie <dj@redhat.com>
12679 * config.host: Add mep support.
12681 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
12683 * config.host: Add i386/${host_address}/t-fprules-softfp and
12684 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
12686 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12688 * config/i386/64/_multc3.c: Likewise.
12689 * config/i386/64/_powitf2.c: Likewise.
12690 * config/i386/64/eqtf2.c: Likewise.
12691 * config/i386/64/getf2.c: Likewise.
12692 * config/i386/64/letf2.c: Likewise.
12693 * config/i386/64/letf2.c: Likewise.
12694 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12695 unsigned long long for x64 mingw targets.
12696 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12697 (_FP_I_TYPE): Define as long long for x64 mingw target.
12699 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
12701 * config.host (vax-*-linux*): New.
12703 2009-05-31 Anthony Green <green@moxielogic.com>
12705 * config.host: Add moxie support.
12706 * config/moxie/t-moxie: New file.
12708 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
12710 * config.host: Add i386/${host_address}/t-fprules-softfp and
12711 t-softfp to tmake_file for i[34567]86-*-cygwin*.
12713 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
12715 * config.host: Add i386/${host_address}/t-fprules-softfp to
12716 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12718 2009-04-09 Nick Clifton <nickc@redhat.com>
12720 * config/ia64/tf-signs.c: Change copyright header to refer to
12721 version 3 of the GNU General Public License with version 3.1
12722 of the GCC Runtime Library Exception and to point readers at
12723 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12725 * config/i386/32/tf-signs.c: Likewise.
12726 * config/libbid/_addsub_dd.c: Likewise.
12727 * config/libbid/_addsub_sd.c: Likewise.
12728 * config/libbid/_addsub_td.c: Likewise.
12729 * config/libbid/_dd_to_df.c: Likewise.
12730 * config/libbid/_dd_to_di.c: Likewise.
12731 * config/libbid/_dd_to_sd.c: Likewise.
12732 * config/libbid/_dd_to_sf.c: Likewise.
12733 * config/libbid/_dd_to_si.c: Likewise.
12734 * config/libbid/_dd_to_td.c: Likewise.
12735 * config/libbid/_dd_to_tf.c: Likewise.
12736 * config/libbid/_dd_to_udi.c: Likewise.
12737 * config/libbid/_dd_to_usi.c: Likewise.
12738 * config/libbid/_dd_to_xf.c: Likewise.
12739 * config/libbid/_df_to_dd.c: Likewise.
12740 * config/libbid/_df_to_sd.c: Likewise.
12741 * config/libbid/_df_to_td.c: Likewise.
12742 * config/libbid/_di_to_dd.c: Likewise.
12743 * config/libbid/_di_to_sd.c: Likewise.
12744 * config/libbid/_di_to_td.c: Likewise.
12745 * config/libbid/_div_dd.c: Likewise.
12746 * config/libbid/_div_sd.c: Likewise.
12747 * config/libbid/_div_td.c: Likewise.
12748 * config/libbid/_eq_dd.c: Likewise.
12749 * config/libbid/_eq_sd.c: Likewise.
12750 * config/libbid/_eq_td.c: Likewise.
12751 * config/libbid/_ge_dd.c: Likewise.
12752 * config/libbid/_ge_sd.c: Likewise.
12753 * config/libbid/_ge_td.c: Likewise.
12754 * config/libbid/_gt_dd.c: Likewise.
12755 * config/libbid/_gt_sd.c: Likewise.
12756 * config/libbid/_gt_td.c: Likewise.
12757 * config/libbid/_isinfd128.c: Likewise.
12758 * config/libbid/_isinfd32.c: Likewise.
12759 * config/libbid/_isinfd64.c: Likewise.
12760 * config/libbid/_le_dd.c: Likewise.
12761 * config/libbid/_le_sd.c: Likewise.
12762 * config/libbid/_le_td.c: Likewise.
12763 * config/libbid/_lt_dd.c: Likewise.
12764 * config/libbid/_lt_sd.c: Likewise.
12765 * config/libbid/_lt_td.c: Likewise.
12766 * config/libbid/_mul_dd.c: Likewise.
12767 * config/libbid/_mul_sd.c: Likewise.
12768 * config/libbid/_mul_td.c: Likewise.
12769 * config/libbid/_ne_dd.c: Likewise.
12770 * config/libbid/_ne_sd.c: Likewise.
12771 * config/libbid/_ne_td.c: Likewise.
12772 * config/libbid/_sd_to_dd.c: Likewise.
12773 * config/libbid/_sd_to_df.c: Likewise.
12774 * config/libbid/_sd_to_di.c: Likewise.
12775 * config/libbid/_sd_to_sf.c: Likewise.
12776 * config/libbid/_sd_to_si.c: Likewise.
12777 * config/libbid/_sd_to_td.c: Likewise.
12778 * config/libbid/_sd_to_tf.c: Likewise.
12779 * config/libbid/_sd_to_udi.c: Likewise.
12780 * config/libbid/_sd_to_usi.c: Likewise.
12781 * config/libbid/_sd_to_xf.c: Likewise.
12782 * config/libbid/_sf_to_dd.c: Likewise.
12783 * config/libbid/_sf_to_sd.c: Likewise.
12784 * config/libbid/_sf_to_td.c: Likewise.
12785 * config/libbid/_si_to_dd.c: Likewise.
12786 * config/libbid/_si_to_sd.c: Likewise.
12787 * config/libbid/_si_to_td.c: Likewise.
12788 * config/libbid/_td_to_dd.c: Likewise.
12789 * config/libbid/_td_to_df.c: Likewise.
12790 * config/libbid/_td_to_di.c: Likewise.
12791 * config/libbid/_td_to_sd.c: Likewise.
12792 * config/libbid/_td_to_sf.c: Likewise.
12793 * config/libbid/_td_to_si.c: Likewise.
12794 * config/libbid/_td_to_tf.c: Likewise.
12795 * config/libbid/_td_to_udi.c: Likewise.
12796 * config/libbid/_td_to_usi.c: Likewise.
12797 * config/libbid/_td_to_xf.c: Likewise.
12798 * config/libbid/_tf_to_dd.c: Likewise.
12799 * config/libbid/_tf_to_sd.c: Likewise.
12800 * config/libbid/_tf_to_td.c: Likewise.
12801 * config/libbid/_udi_to_dd.c: Likewise.
12802 * config/libbid/_udi_to_sd.c: Likewise.
12803 * config/libbid/_udi_to_td.c: Likewise.
12804 * config/libbid/_unord_dd.c: Likewise.
12805 * config/libbid/_unord_sd.c: Likewise.
12806 * config/libbid/_unord_td.c: Likewise.
12807 * config/libbid/_usi_to_dd.c: Likewise.
12808 * config/libbid/_usi_to_sd.c: Likewise.
12809 * config/libbid/_usi_to_td.c: Likewise.
12810 * config/libbid/_xf_to_dd.c: Likewise.
12811 * config/libbid/_xf_to_sd.c: Likewise.
12812 * config/libbid/_xf_to_td.c: Likewise.
12813 * config/libbid/bid128.c: Likewise.
12814 * config/libbid/bid128_2_str.h: Likewise.
12815 * config/libbid/bid128_2_str_macros.h: Likewise.
12816 * config/libbid/bid128_2_str_tables.c: Likewise.
12817 * config/libbid/bid128_add.c: Likewise.
12818 * config/libbid/bid128_compare.c: Likewise.
12819 * config/libbid/bid128_div.c: Likewise.
12820 * config/libbid/bid128_fma.c: Likewise.
12821 * config/libbid/bid128_logb.c: Likewise.
12822 * config/libbid/bid128_minmax.c: Likewise.
12823 * config/libbid/bid128_mul.c: Likewise.
12824 * config/libbid/bid128_next.c: Likewise.
12825 * config/libbid/bid128_noncomp.c: Likewise.
12826 * config/libbid/bid128_quantize.c: Likewise.
12827 * config/libbid/bid128_rem.c: Likewise.
12828 * config/libbid/bid128_round_integral.c: Likewise.
12829 * config/libbid/bid128_scalb.c: Likewise.
12830 * config/libbid/bid128_sqrt.c: Likewise.
12831 * config/libbid/bid128_string.c: Likewise.
12832 * config/libbid/bid128_to_int16.c: Likewise.
12833 * config/libbid/bid128_to_int32.c: Likewise.
12834 * config/libbid/bid128_to_int64.c: Likewise.
12835 * config/libbid/bid128_to_int8.c: Likewise.
12836 * config/libbid/bid128_to_uint16.c: Likewise.
12837 * config/libbid/bid128_to_uint32.c: Likewise.
12838 * config/libbid/bid128_to_uint64.c: Likewise.
12839 * config/libbid/bid128_to_uint8.c: Likewise.
12840 * config/libbid/bid32_to_bid128.c: Likewise.
12841 * config/libbid/bid32_to_bid64.c: Likewise.
12842 * config/libbid/bid64_add.c: Likewise.
12843 * config/libbid/bid64_compare.c: Likewise.
12844 * config/libbid/bid64_div.c: Likewise.
12845 * config/libbid/bid64_fma.c: Likewise.
12846 * config/libbid/bid64_logb.c: Likewise.
12847 * config/libbid/bid64_minmax.c: Likewise.
12848 * config/libbid/bid64_mul.c: Likewise.
12849 * config/libbid/bid64_next.c: Likewise.
12850 * config/libbid/bid64_noncomp.c: Likewise.
12851 * config/libbid/bid64_quantize.c: Likewise.
12852 * config/libbid/bid64_rem.c: Likewise.
12853 * config/libbid/bid64_round_integral.c: Likewise.
12854 * config/libbid/bid64_scalb.c: Likewise.
12855 * config/libbid/bid64_sqrt.c: Likewise.
12856 * config/libbid/bid64_string.c: Likewise.
12857 * config/libbid/bid64_to_bid128.c: Likewise.
12858 * config/libbid/bid64_to_int16.c: Likewise.
12859 * config/libbid/bid64_to_int32.c: Likewise.
12860 * config/libbid/bid64_to_int64.c: Likewise.
12861 * config/libbid/bid64_to_int8.c: Likewise.
12862 * config/libbid/bid64_to_uint16.c: Likewise.
12863 * config/libbid/bid64_to_uint32.c: Likewise.
12864 * config/libbid/bid64_to_uint64.c: Likewise.
12865 * config/libbid/bid64_to_uint8.c: Likewise.
12866 * config/libbid/bid_b2d.h: Likewise.
12867 * config/libbid/bid_binarydecimal.c: Likewise.
12868 * config/libbid/bid_conf.h: Likewise.
12869 * config/libbid/bid_convert_data.c: Likewise.
12870 * config/libbid/bid_decimal_data.c: Likewise.
12871 * config/libbid/bid_decimal_globals.c: Likewise.
12872 * config/libbid/bid_div_macros.h: Likewise.
12873 * config/libbid/bid_dpd.c: Likewise.
12874 * config/libbid/bid_flag_operations.c: Likewise.
12875 * config/libbid/bid_from_int.c: Likewise.
12876 * config/libbid/bid_functions.h: Likewise.
12877 * config/libbid/bid_gcc_intrinsics.h: Likewise.
12878 * config/libbid/bid_inline_add.h: Likewise.
12879 * config/libbid/bid_internal.h: Likewise.
12880 * config/libbid/bid_round.c: Likewise.
12881 * config/libbid/bid_sqrt_macros.h: Likewise.
12883 2009-04-09 Jakub Jelinek <jakub@redhat.com>
12885 * Makefile.in: Change copyright header to refer to version
12886 3 of the GNU General Public License and to point readers at the
12887 COPYING3 file and the FSF's license web page.
12888 * config.host: Likewise.
12890 2009-04-07 Alan Modra <amodra@bigpond.net.au>
12892 * config.host: Reorder and merge to match config.gcc change.
12894 2009-04-03 Alan Modra <amodra@bigpond.net.au>
12896 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
12898 2009-03-28 Joseph Myers <joseph@codesourcery.com>
12900 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
12901 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
12902 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
12903 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
12905 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
12907 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
12908 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12910 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
12912 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
12913 ia64/t-softfp-compat to tmake_file.
12915 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
12917 * config/ia64/__divxf3.asm: New.
12918 * config/ia64/_fixtfdi.asm: Likewise.
12919 * config/ia64/_fixunstfdi.asm: Likewise.
12920 * config/ia64/_floatditf.asm: Likewise.
12921 * config/ia64/t-fprules-softfp: Likewise.
12922 * config/ia64/t-softfp-compat: Likewise.
12923 * config/ia64/tf-signs.c: Likewise.
12925 2009-01-18 Ben Elliston <bje@au.ibm.com>
12927 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12929 2009-01-16 Ben Elliston <bje@au.ibm.com>
12931 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
12934 2009-01-13 Ben Elliston <bje@au.ibm.com>
12936 * config/t-softfp: New file.
12937 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
12938 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
12940 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
12942 * config.host: Add m32r*-*-rtems*.
12944 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
12946 * config.host: Add m32c*-*-rtems*.
12948 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12951 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
12952 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
12953 * configure: Regenerate.
12954 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
12955 tmake_file here from gcc/config.gcc.
12956 Move extra_parts here from gcc/config.gcc.
12957 * config/i386/t-sol2: Move here from gcc/config/i386.
12958 Use gcc_srcdir instead of srcdir.
12960 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
12962 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
12965 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
12967 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
12969 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
12971 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
12973 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
12976 * config.host: Add picochip-*-*.
12978 2008-08-06 Bob Wilson <bob.wilson@acm.org>
12980 * config.host: Match more processor names for Xtensa.
12982 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
12984 * config/i386/64/t-softfp-compat: Update comments.
12986 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
12988 * config/i386/64/_divtc3-compat.c: Moved to ...
12989 * config/i386/64/_divtc3.c: Here.
12991 * config/i386/64/_multc3-compat.c: Moved to ...
12992 * config/i386/64/_multc3.c: Here.
12994 * config/i386/64/_powitf2-compat.c: Moved to ...
12995 * config/i386/64/_powitf2.c: Here.
12997 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
12998 .c suffix instead of -compat.c.
13000 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
13002 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
13003 (_FP_MUL_MEAT_D): Ditto.
13004 (_FP_DIV_MEAT_S): Ditto.
13005 (_FP_DIV_MEAT_D): Ditto.
13007 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
13009 * Makefile.in: Add support for __sync_* libgcc functions.
13011 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
13013 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
13015 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
13018 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
13019 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
13021 * config/i386/64/t-fprules-softfp: Moved to ...
13022 * config/i386/64/t-softfp-compat: This. New.
13024 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
13026 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
13027 Initialize f with 0.0.
13029 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
13032 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
13034 * config/i386/64/_divtc3-compat.c: New.
13035 * config/i386/64/_multc3-compat.c: Likewise.
13036 * config/i386/64/_powitf2-compat.c: Likewise.
13037 * config/i386/64/eqtf2.c: Likewise.
13038 * config/i386/64/getf2.c: Likewise.
13039 * config/i386/64/letf2.c: Likewise.
13040 * config/i386/64/t-fprules-softfp: Likewise.
13042 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
13044 * config.host: Add i386/${host_address}/t-fprules-softfp to
13045 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
13046 i[34567]86-*-linux*, x86_64-*-linux*.
13048 * configure.ac: Set host_address to 64 or 32 for x86.
13049 * configure: Regenerated.
13051 * Makefile.in (config.status): Also depend on
13052 $(srcdir)/config.host.
13054 * config/i386/32/t-fprules-softfp: New.
13055 * config/i386/32/tf-signs.c: Likewise.
13057 * config/i386/64/sfp-machine.h: New. Moved from gcc.
13059 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
13060 Uros Bizjak <ubizjak@gmail.com>
13062 * config/i386/32/sfp-machine.h: New.
13064 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
13066 * config/rs6000/t-ppccomm: Remove rules that conflict with
13067 auto-generated rules.
13069 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13071 * configure.ac: sinclude override.m4.
13072 * configure: Regenerate.
13074 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
13076 * configure: Regenerate.
13078 2008-06-10 Joseph Myers <joseph@codesourcery.com>
13080 * Makefile.in (DECNUMINC): Remove
13081 -I$(MULTIBUILDTOP)../../libdecnumber.
13084 2008-06-07 Joseph Myers <joseph@codesourcery.com>
13086 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
13087 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
13088 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
13089 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
13090 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
13091 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
13092 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
13093 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
13094 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
13095 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
13096 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
13097 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
13098 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
13099 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
13101 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
13103 * config.host (sh2[lbe]*-*-linux*): Allow target.
13105 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
13107 * config/rs6000/t-ppccomm: Add build rules for new files.
13108 (LIB2ADD_ST): New variable.
13110 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
13114 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
13115 * config/t-avr: New file. Build 16bit libgcc functions.
13117 2008-03-02 Jakub Jelinek <jakub@redhat.com>
13120 * config/t-slibgcc-darwin: Make install-leaf dependent on
13121 install-darwin-libgcc-stubs instead of install.
13123 2008-01-25 Joseph Myers <joseph@codesourcery.com>
13125 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
13126 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
13127 sh-*-rtemscoff*): Remove cases.
13129 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
13131 * Makefile.in (all): Use install-leaf rather than install.
13132 (install): Split most of the rule into...
13133 (install-leaf): ...this new one.
13135 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
13136 Paolo Bonzini <bonzini@gnu.org>
13139 * Makefile.in: Use @shlib_slibdir@ substitution to get
13140 correct install name on darwin.
13141 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
13143 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
13145 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
13146 cris-*-elf and cris-*-none.
13147 (crisv32-*-linux*): Similar, as cris-*-linux*.
13149 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
13151 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
13153 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
13155 PR regression/33926
13156 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
13157 * configure: Regenerated.
13159 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
13161 * Makefile.in (dfp-filenames): Replace decimal_globals,
13162 decimal_data, binarydecimal and convert_data with
13163 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
13164 and bid_convert_data, respectively.
13166 2007-09-17 Chao-ying Fu <fu@mips.com>
13167 Nigel Stephens <nigel@mips.com>
13169 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
13170 * Makefile.in (fixed_point): Define.
13171 Check if fixed_point is yes to build support functions.
13172 * configure.ac: Check for fixed_point support.
13173 * configure: Regenerated.
13174 * gen-fixed.sh: New file to generate lists of fixed-point labels,
13175 funcs, modes, from, to.
13177 2007-09-11 Janis Johnson <janis187@us.ibm.com
13179 * Makefile.in (dfp-filenames): Add bid128_noncomp.
13181 2007-09-10 Janis Johnson <janis187@us.ibm.com>
13183 * Makefile.in (dfp-filenames): Remove decUtility, add
13184 decDouble, decPacked, decQuad, decSingle.
13186 2007-08-27 Hans Kester <hans.kester@ellips.nl>
13188 * config.host : Add x86_64-elf target.
13190 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
13192 * configure.ac (set_have_cc_tls): Add a missing =.
13193 * configure: Regenerated.
13195 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
13197 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
13198 and x86_64-*-linux*.
13200 * config/t-tls: New file.
13202 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
13204 * configure.ac: Include ../config/enable.m4 and
13205 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
13206 supports TLS and substitute set_have_cc_tls.
13207 * configure: Regenerated.
13209 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
13211 * Makefile.in: Use libbid for DFP when BID is enabled.
13213 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
13215 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
13216 extra_parts. Add config/i386/t-cygming to tmake_file.
13217 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
13219 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
13220 Danny Smith <dannysmith@users.sourceforge.net>
13223 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
13224 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
13225 * config/i386/t-crtfm: Compile crtfastmath.o with
13226 -minline-all-stringops.
13228 2007-05-10 Richard Sandiford <richard@codesourcery.com>
13230 * config.host (sparc-wrs-vxworks): New target.
13232 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
13234 * config.host: Recognize fido.
13236 2007-04-04 Janis Johnson <janis187@us.ibm.com>
13238 * configure: Check host, not target, for decimal float support.
13240 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
13242 * config/i386/t-crtpc: New file.
13243 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
13244 (x86_64-*-linux*): Ditto.
13246 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
13248 * config.host (x86_64-*-mingw*): New target.
13250 2007-03-23 Michael Meissner <michael.meissner@amd.com>
13251 H.J. Lu <hongjiu.lu@intel.com>
13253 * Makefile.in (enable_decimal_float): New.
13255 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
13256 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
13257 (decbits-filenames): This.
13258 (decbits-objects): New.
13259 (libgcc-objects): Add $(decbits-objects).
13261 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
13262 Substitute enable_decimal_float.
13263 * configure: Regenerated.
13265 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
13267 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
13269 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
13271 * Makefile.in (install-info): New dummy target.
13273 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
13275 * config.host (bfin*-linux-uclibc*): Set extra_parts.
13277 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
13279 * Makefile.in: Add install-html and install-pdf dummy
13282 2007-02-05 Roger Sayle <roger@eyesopen.com>
13283 Daniel Jacobowitz <dan@codesourcery.com>
13285 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
13286 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
13287 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
13289 2007-01-29 Janis Johnson <janis187@us.ibm.com>
13291 * Makefile.in (dec-filenames): Add decExcept.
13293 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
13296 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
13299 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
13301 * configure.ac: Add --enable-version-specific-runtime-libs.
13302 Correct $slibdir default.
13303 * configure: Regenerated.
13305 2007-01-23 Joseph Myers <joseph@codesourcery.com>
13307 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
13309 2007-01-21 Andrew Pinski <pinskia@gmail.com>
13312 * config.host (alpha*-*-linux*): Set extra_parts.
13314 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
13316 * config/sh/t-linux: New.
13317 * config.host (sh*-*-linux*): Set tmake_file.
13319 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
13321 * Makefile.in (install): Handle multilibs.
13323 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
13325 * Makefile.in: Added .PHONY entry for documentation targets.
13327 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
13329 * Makefile.in: Add empty info, html, dvi, pdf targets.
13331 2007-01-04 Mike Stump <mrs@apple.com>
13333 * Makefile.in (MAKEINFO): Remove.
13336 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
13338 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
13339 * configure: Regenerate.
13340 * Makefile.in (host_subdir): Substitute it.
13341 (gcc_objdir): Use it.
13343 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
13345 * config.host (ia64*-*-linux*): Set tmake_file.
13347 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
13349 * Makefile.in (version): Define.
13351 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
13352 Paolo Bonzini <bonzini@gnu.org>
13354 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
13355 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
13356 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
13357 config/sparc/t-crtfm, config/t-slibgcc-darwin,
13358 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
13359 shared-object.mk, siditi-object.mk, static-object.mk: New files.
13360 * configure: Generated.
13362 Copyright (C) 2007-2024 Free Software Foundation, Inc.
13364 Copying and distribution of this file, with or without modification,
13365 are permitted in any medium without royalty provided the copyright
13366 notice and this notice are preserved.