Daily bump.
[official-gcc.git] / libgcc / ChangeLog
blobcbe15b9291961e212cd599845576bf533611e451
1 2024-03-15  Jakub Jelinek  <jakub@redhat.com>
3         PR libgcc/114327
4         * libgcc2.c (bitint_negate): Return UWtype bitwise or of all the limbs
5         before negation rather than void.
6         (__divmodbitint4): Determine whether to fill in the upper limbs after
7         negation based on whether bitint_negate returned 0 or non-zero, rather
8         then always filling with -1.
10 2024-02-22  Kewen Lin  <linkw@linux.ibm.com>
12         PR target/109987
13         * config/rs6000/t-float128-hw: Replace options -mpower{8,9}-vector
14         with -mcpu=power9.
15         * configure.ac: Update use of option -mpower9-vector with
16         -mcpu=power9.
17         * configure: Regenerate.
19 2024-02-21  Iain Sandoe  <iain@sandoe.co.uk>
21         * config/aarch64/heap-trampoline.c
22         (aarch64_trampoline_insns): Arrange to encode instructions as a
23         byte array so that the order is independent of memory byte order.
24         (struct aarch64_trampoline): Likewise.
26 2024-02-20  Iain Sandoe  <iain@sandoe.co.uk>
28         PR target/113971
29         * config/aarch64/heap-trampoline.c: Allow all linux variants.
31 2024-02-16  Matteo Italia  <matteo@mitalia.net>
33         PR libgcc/113850
34         * config/i386/gthr-win32-cond.c (__gthr_win32_abs_to_rel_time):
35         fix absolute timespec to relative milliseconds count
36         conversion (it incorrectly returned seconds instead of
37         milliseconds); this avoids spurious wakeups in
38         __gthr_win32_cond_timedwait
40 2024-02-14  Jakub Jelinek  <jakub@redhat.com>
41             H.J. Lu  <hjl.tools@gmail.com>
43         PR target/113855
44         * config/i386/heap-trampoline.c (trampoline_insns): Add IBT
45         support and pad to the multiple of 4 bytes.  Use movabsq
46         instead of movabs in comments.  Add -mx32 variant.
48 2024-02-13  Jakub Jelinek  <jakub@redhat.com>
50         * soft-fp/bitint.h (FP_FROM_BITINT): If iprec < 0 and msb is all ones,
51         just set n to 1 instead of using __builtin_clzll (~msb).
53 2024-02-12  Iain Sandoe  <iain@sandoe.co.uk>
55         PR target/113855
56         * config.host: Add trampoline support to x?86-linux.
57         * config/i386/heap-trampoline.c (trampoline_insns): Provide
58         a variant for IA32.
59         (union ix86_trampoline): Likewise.
60         (__gcc_nested_func_ptr_created): Implement a basic trampoline
61         for IA32.
63 2024-02-10  Jakub Jelinek  <jakub@redhat.com>
65         * soft-fp/floatbitintdd.c (__bid_floatbitintdd): Or in all remainder
66         limbs into inexact rather than just first two.
67         * soft-fp/floatbitintsd.c (__bid_floatbitintsd): Likewise.
68         * soft-fp/floatbitinttd.c (__bid_floatbitinttd): Likewise.
70 2024-02-10  Jakub Jelinek  <jakub@redhat.com>
72         * soft-fp/fixddbitint.c (__bid_fixddbitint): Fix up
73         BIL_TYPE_SIZE == 32 shifts.
74         * soft-fp/fixsdbitint.c (__bid_fixsdbitint): Likewise.
75         * soft-fp/fixtdbitint.c (__bid_fixtdbitint): Likewise.
76         * soft-fp/floatbitintdd.c (__bid_floatbitintdd): Likewise.
77         * soft-fp/floatbitinttd.c (__bid_floatbitinttd): Likewise.
79 2024-02-09  Iain Sandoe  <iain@sandoe.co.uk>
81         * config/i386/libgcc-darwin.ver: Export bf and bitint-related
82         synbols.
84 2024-02-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
86         PR target/113700
87         * config/i386/libgcc-sol2.ver (GCC_14.0.0): Added all symbols from
88         i386/libgcc-glibc.ver (GCC_12.0.0, GCC_13.0.0, GCC_14.0.0).
89         * config/i386/libgcc-glibc.ver: Request notifications on updates.
91 2024-02-06  Matteo Italia  <matteo@mitalia.net>
93         PR libgcc/113337
94         * unwind-seh.c (_Unwind_Resume_or_Rethrow): forward
95         _Unwind_RaiseException return code back to caller instead of
96         calling abort, allowing __cxa_rethrow to invoke std::terminate
97         in case of uncaught rethrown exception
99 2024-02-02  Jakub Jelinek  <jakub@redhat.com>
101         PR libgcc/113604
102         * libgcc2.c (__divmodbitint4): If uv1 >= vv1, subtract
103         vv1 from uv1:uv0 once or twice as needed, rather than
104         subtracting vv1:vv1.
106 2024-02-02  Khem Raj  <raj.khem@gmail.com>
108         * config/i386/enable-execute-stack-mingw32.c: Include
109         stdlib.h for abort() definition.
111 2024-02-02  Jakub Jelinek  <jakub@redhat.com>
113         PR target/113700
114         * config/i386/libgcc-glibc.ver (GCC_14.0.0): Remove __PFX prefixes
115         from symbol names.
117 2024-02-01  Jakub Jelinek  <jakub@redhat.com>
119         PR libgcc/113402
120         * libgcc2.h (__gcc_nested_func_ptr_created): Change type of last
121         argument from void ** to void *.
122         * config/i386/heap-trampoline.c (__gcc_nested_func_ptr_created):
123         Change type of dst from void ** to void * and cast dst to void **
124         before dereferencing it.
125         * config/aarch64/heap-trampoline.c (__gcc_nested_func_ptr_created):
126         Likewise.
128 2024-02-01  Jakub Jelinek  <jakub@redhat.com>
130         PR libgcc/113403
131         * config/i386/t-heap-trampoline: Add to LIB2ADDEHSHARED
132         i386/heap-trampoline.c rather than aarch64/heap-trampoline.c.
134 2024-02-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
136         * config/aarch64/crti.S: Remove stack marking.
137         * config/aarch64/crtn.S: Remove stack marking, include aarch64-asm.h
138         * config/aarch64/lse.S: Remove stack and GNU property markings.
140 2024-01-30  Iain Sandoe  <iain@sandoe.co.uk>
142         PR libgcc/113403
143         * config.host: Build libheap_t.a for i686/x86_64 Darwin.
144         * config/aarch64/heap-trampoline.c (HEAP_T_ATTR): New.
145         (allocate_tramp_ctrl): Allow a target to build this as a weak def.
146         (__gcc_nested_func_ptr_created): Likewise.
147         * config/i386/heap-trampoline.c (HEAP_T_ATTR): New.
148         (allocate_tramp_ctrl): Allow a target to build this as a weak def.
149         (__gcc_nested_func_ptr_created): Likewise.
150         * config/t-darwin: Build libheap_t.a (a CRT with heap trampoline
151         support).
153 2024-01-30  Iain Sandoe  <iain@sandoe.co.uk>
155         PR libgcc/113403
156         * config/aarch64/t-heap-trampoline: Move the heap trampoline
157         support functions from libgcc.a to libgcc_eh.a.
158         * config/i386/t-heap-trampoline: Likewise.
160 2024-01-28  Iain Sandoe  <iain@sandoe.co.uk>
161             Jakub Jelinek   <jakub@redhat.com>
163         PR libgcc/113402
164         * config/aarch64/heap-trampoline.c: Rename
165         __builtin_nested_func_ptr_created to __gcc_nested_func_ptr_created and
166         __builtin_nested_func_ptr_deleted to __gcc_nested_func_ptr_deleted.
167         * config/i386/heap-trampoline.c: Likewise.
168         * libgcc2.h: Likewise.
169         * libgcc-std.ver.in (GCC_7.0.0): Likewise and then move
170         __gcc_nested_func_ptr_created and
171         __gcc_nested_func_ptr_deleted from this symbol version to ...
172         (GCC_14.0.0): ... this one.
174 2024-01-26  Andrew Stubbs  <ams@baylibre.com>
176         * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Handle RDNA3.
178 2024-01-23  Zac Walker  <zacwalker@microsoft.com>
180         * config/aarch64/aarch64-asm.h (HIDDEN, SYMBOL_SIZE, SYMBOL_TYPE)
181         (ENTRY_ALIGN, GNU_PROPERTY): New macros.
182         * config/aarch64/__arm_sme_state.S: Use them.
183         * config/aarch64/__arm_tpidr2_save.S: Likewise.
184         * config/aarch64/__arm_za_disable.S: Likewise.
185         * config/aarch64/crti.S: Likewise.
186         * config/aarch64/lse.S: Likewise.
188 2024-01-12  Jakub Jelinek  <jakub@redhat.com>
190         * libgcc2.h (UBILtype): New typedef with may_alias attribute.
191         (__mulbitint3, __divmodbitint4): Use UBILtype * instead of
192         UWtype * and const UBILtype * instead of const UWtype *.
193         * libgcc2.c (bitint_reduce_prec, bitint_mul_1, bitint_addmul_1,
194         __mulbitint3, bitint_negate, bitint_submul_1, __divmodbitint4):
195         Likewise.
196         * soft-fp/bitint.h (UBILtype): Change define into a typedef with
197         may_alias attribute.
199 2024-01-12  Sandra Loosemore  <sandra@codesourcery.com>
201         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Do not try to use
202         _dl_find_object on nios2; it doesn't work.
204 2023-12-23  Thomas Schwinge  <thomas@codesourcery.com>
206         * c++-minimal/README: New.
207         * c++-minimal/guard.c: New.
208         * config/gcn/t-amdgcn (LIB2ADD): Add it.
209         * config/nvptx/t-nvptx (LIB2ADD): Likewise.
211 2023-12-20  Alexandre Oliva  <oliva@adacore.com>
213         PR middle-end/112917
214         * config.host (sparc, sparc64): Enable...
215         * config/sparc/t-sparc: ... this new fragment.
217 2023-12-20  Alexandre Oliva  <oliva@adacore.com>
219         * strub.c (ATTRIBUTE_NOINLINE): New.
220         (ATTRIBUTE_STRUB_CALLABLE): Add it.
221         (__strub_dummy_force_no_leaf): Drop it.
223 2023-12-16  Andrew Carlotti  <andrew.carlotti@arm.com>
225         * config/aarch64/cpuinfo.c (enum CPUFeatures): Move to shared
226         copy in gcc/common
228 2023-12-16  Andrew Carlotti  <andrew.carlotti@arm.com>
229             Pavel Iliin  <Pavel.Iliin@arm.com>
231         * config/aarch64/t-aarch64: Include cpuinfo.c
232         * config/aarch64/cpuinfo.c: New file
233         (__init_cpu_features_constructor) New.
234         (__init_cpu_features_resolver) New.
235         (__init_cpu_features) New.
237 2023-12-11  Lipeng Zhu  <lipeng.zhu@intel.com>
239         * gthr-posix.h (__GTHREAD_RWLOCK_INIT): New macro.
240         (__gthrw): New function.
241         (__gthread_rwlock_rdlock): New function.
242         (__gthread_rwlock_tryrdlock): New function.
243         (__gthread_rwlock_wrlock): New function.
244         (__gthread_rwlock_trywrlock): New function.
245         (__gthread_rwlock_unlock): New function.
247 2023-12-08  Florian Weimer  <fweimer@redhat.com>
249         * libgcov-interface.c (__gcov_fork): Use __builtin_fork instead
250         of fork.
252 2023-12-08  Szabolcs Nagy  <szabolcs.nagy@arm.com>
254         * config.in: Regenerate.
256 2023-12-08  Szabolcs Nagy  <szabolcs.nagy@arm.com>
258         * config/aarch64/__arm_za_disable.S: Add hidden alias.
259         * config/aarch64/aarch64-unwind.h: Reset the SME state before
260         EH return via the _Unwind_Frames_Extra hook.
262 2023-12-08  Szabolcs Nagy  <szabolcs.nagy@arm.com>
264         * config/aarch64/t-aarch64: Add sources to the build.
265         * config/aarch64/__aarch64_have_sme.c: New file.
266         * config/aarch64/__arm_sme_state.S: New file.
267         * config/aarch64/__arm_tpidr2_restore.S: New file.
268         * config/aarch64/__arm_tpidr2_save.S: New file.
269         * config/aarch64/__arm_za_disable.S: New file.
270         * config/aarch64/aarch64-asm.h: New file.
271         * config/aarch64/libgcc-sme.ver: New file.
273 2023-12-08  Szabolcs Nagy  <szabolcs.nagy@arm.com>
275         * config.in: Undef HAVE___GETAUXVAL.
276         * configure: Regenerate.
277         * configure.ac: Check for __getauxval.
279 2023-12-08  Szabolcs Nagy  <szabolcs.nagy@arm.com>
281         * config.in: Undef HAVE_AS_VARIANT_PCS.
282         * configure: Regenerate.
283         * configure.ac: Check for .variant_pcs.
285 2023-12-07  Alexandre Oliva  <oliva@adacore.com>
287         * configure.ac: Check for strub support.
288         * configure: Rebuilt.
289         * Makefile.in: Compile strub.c conditionally.
291 2023-12-06  Thomas Schwinge  <thomas@codesourcery.com>
292             Jakub Jelinek  <jakub@redhat.com>
294         PR libgcc/109289
295         * emutls.c: Add GCC diagnostic ignored "-Wbuiltin-declaration-mismatch"
296         pragma.
298 2023-12-06  Alexandre Oliva  <oliva@adacore.com>
300         * Makefile.in (LIB2ADD): Add strub.c.
301         * libgcc2.h (__strub_enter, __strub_update, __strub_leave):
302         Declare.
303         * strub.c: New.
304         * libgcc-std.ver.in (__strub_enter): Add to GCC_14.0.0.
305         (__strub_update, __strub_leave): Likewise.
307 2023-12-03  Jeff Law  <jlaw@ventanamicro.com>
309         * unwind-pe.h (_Unwind_gnu_Find_got): Add prototype.
311 2023-12-03  Jeff Law  <jlaw@ventanamicro.com>
313         * config/rx/rx-abi-functions.c (__ltdf2, __gtdf2): Add prototype.
314         (__ledf2, __gedf2, __eqdf2, __nedf2): Likewise.
315         (__ltsf2, __gtsf2, __lesf2, __gesf2, __eqsf2, __nesf2): Likewise.
317 2023-12-03  Jeff Law  <jlaw@ventanamicro.com>
319         * config/frv/frvbegin.c (atexit): Add prototype.
321 2023-12-01  Alexandre Oliva  <oliva@adacore.com>
323         * libgcc-std.ver.in (__hardcfr_check): Add to GCC_14.0.0.
325 2023-12-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
327         PR target/112777
328         * libgcov.h (GCOV_SUPPORTS_ATOMIC):  Honor that __LIBGCC_HAVE_LIBATOMIC is
329         always defined as either 0 or 1.
331 2023-12-01  Florian Weimer  <fweimer@redhat.com>
333         * config/aarch64/linux-unwind.h
334         (aarch64_fallback_frame_state): Add cast to the expected type
335         in sc assignment.
337 2023-11-30  Wilco Dijkstra  <wilco.dijkstra@arm.com>
339         PR target/111404
340         * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Execute STLXP using
341         either new value or loaded value.
343 2023-11-27  Richard Earnshaw  <rearnsha@arm.com>
345         * config/arm/lib1funcs.S (__sync_synchronize): Adjust warning message.
347 2023-11-24  Richard Earnshaw  <rearnsha@arm.com>
349         * config.host (arm*-*-eabi* | arm*-*-rtems*):
350         Add arm/t-sync to the makefile rules.
351         * config/arm/lib1funcs.S (__sync_synchronize_none)
352         (__sync_synchronize_cp15dmb, __sync_synchronize_dmb)
353         (__sync_synchronize): New functions.
354         * config/arm/t-sync: New file.
355         * config/arm/sync-none.specs: Likewise.
356         * config/arm/sync-dmb.specs: Likewise.
357         * config/arm/sync-cp15dmb.specs: Likewise.
359 2023-11-23  Jose E. Marchesi  <jose.marchesi@oracle.com>
361         * hardcfr.c (__hardcfr_check_fail): Mark as always_inline.
363 2023-11-21  Jakub Jelinek  <jakub@redhat.com>
365         * libgcov.h (GCOV_SUPPORTS_ATOMIC): Formatting fixes.
367 2023-11-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
369         * libgcov.h (GCOV_SUPPORTS_ATOMIC): Always define it.
370         Set it also to 1, if __LIBGCC_HAVE_LIBATOMIC is defined.
372 2023-11-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
374         Revert:
375         2023-11-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
377         * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
378         (gcov_type_unsigned): Likewise.
380 2023-11-10  Keith Packard  <keithp@keithp.com>
382         * config/m68k/lb1sf68.S (__adddf3): Properly check for non-zero denorm.
383         (__divdf3): Restore sign bit properly.
384         (__addsf3): Correct exponent check.
385         * config/m68k/fpgnulib.c (EXPMASK): Define.
386         (__extendsfdf2): Handle Inf and NaN properly.
387         (__truncdfsf2): Handle underflow and overflow correctly.
388         (__extenddfxf2): Handle underflow, denorms, Inf and NaN correctly.
389         (__truncxfdf2): Handle underflow and denorms correctly.
390         (__fixxfsi): Reimplement.
392 2023-11-09  Jakub Jelinek  <jakub@redhat.com>
394         PR libgcc/65833
395         * config/t-softfp (softfp_bid_list): Add
396         {U,}TItype <-> _Decimal{32,64,128} conversions.
397         * soft-fp/floattisd.c: New file.
398         * soft-fp/floattidd.c: New file.
399         * soft-fp/floattitd.c: New file.
400         * soft-fp/floatuntisd.c: New file.
401         * soft-fp/floatuntidd.c: New file.
402         * soft-fp/floatuntitd.c: New file.
403         * soft-fp/fixsdti.c: New file.
404         * soft-fp/fixddti.c: New file.
405         * soft-fp/fixtdti.c: New file.
406         * soft-fp/fixunssdti.c: New file.
407         * soft-fp/fixunsddti.c: New file.
408         * soft-fp/fixunstdti.c: New file.
410 2023-11-07  Kwok Cheung Yeung  <kcy@codesourcery.com>
412         * offloadstuff.c (OFFLOAD_IND_FUNC_TABLE_SECTION_NAME): New.
413         (__offload_ind_func_table): New.
414         (__offload_ind_funcs_end): New.
415         (__OFFLOAD_TABLE__): Add entries for indirect functions.
417 2023-11-03  Thomas Schwinge  <thomas@codesourcery.com>
419         * config/gcn/gthr-gcn.h (__gthread_getspecific): 's%NULL%0'.
421 2023-10-31  Alexandre Oliva  <oliva@adacore.com>
423         * hardcfr.c: Adjust copyright year.
425 2023-10-24  Sergei Trofimovich  <siarheit@google.com>
427         * config/aarch64/heap-trampoline.c: Disable when libc is not
428         present.
429         * config/i386/heap-trampoline.c: Ditto.
431 2023-10-22  Iain Sandoe  <iain@sandoe.co.uk>
433         * config/t-slibgcc-darwin: Generate libgcc_s
434         with an @rpath name.
435         * config.host: Handle Darwin rpaths.
436         * config/t-darwin-rpath: New file.
438 2023-10-22  Andrew Burgess  <andrew.burgess@embecosm.com>
439             Maxim Blinov  <maxim.blinov@embecosm.com>
440             Iain Sandoe  <iain@sandoe.co.uk>
441             Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
443         * libgcc2.h (__builtin_nested_func_ptr_created): Declare.
444         (__builtin_nested_func_ptr_deleted): Declare.
445         * libgcc-std.ver.in: Add the new symbols.
446         * config/aarch64/heap-trampoline.c: Implement heap-based
447         trampolines for aarch64.
448         * config/aarch64/t-heap-trampoline: Add rule to build
449         config/aarch64/heap-trampoline.c
450         * config/i386/heap-trampoline.c: Implement heap-based
451         trampolines for x86_64.
452         * config/i386/t-heap-trampoline: Add rule to build
453         config/i386/heap-trampoline.cc
454         * config.host: Handle --enable-heap-trampolines on
455         x86_64-*-linux*, aarch64-*-linux*, x86_64-*-darwin*.
457 2023-10-20  Andrew Stubbs  <ams@codesourcery.com>
459         * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Set false for __RDNA2__.
461 2023-10-20  Alexandre Oliva  <oliva@adacore.com>
463         * Makefile.in (LIB2ADD): Add hardcfr.c.
464         * hardcfr.c: New.
466 2023-10-13  Florian Weimer  <fweimer@redhat.com>
468         * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Add
469         missing cast.
471 2023-10-13  Florian Weimer  <fweimer@redhat.com>
473         * config/arc/linux-unwind.h (arc_fallback_frame_state): Add
474         missing cast.
476 2023-10-13  Florian Weimer  <fweimer@redhat.com>
478         * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Add
479         missing cast.
481 2023-10-13  Florian Weimer  <fweimer@redhat.com>
483         * config/csky/linux-unwind.h (csky_fallback_frame_state): Add
484         missing cast.
486 2023-10-13  Florian Weimer  <fweimer@redhat.com>
488         * config/m68k/fpgnulib.c (__cmpdf2): Declare.
490 2023-09-26  Wilco Dijkstra  <wilco.dijkstra@arm.com>
492         * config/aarch64/lse.S (BTI_C): Remove define.
494 2023-09-20  Pekka Seppänen  <pexu@gcc.mail.kapsi.fi>
496         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key):
497         Use const unsigned type and a builtin.
499 2023-09-06  Jakub Jelinek  <jakub@redhat.com>
501         PR c/102989
502         * libgcc2.c (bitint_negate): Add function comment.
503         * soft-fp/bitint.h (bitint_negate): Add function comment.
504         (FP_TO_BITINT, FP_FROM_BITINT): Add comment explaining the macros.
506 2023-09-06  Jakub Jelinek  <jakub@redhat.com>
508         PR c/102989
509         * config/aarch64/t-softfp (softfp_extras): Use += rather than :=.
510         * config/i386/64/t-softfp (softfp_extras): Likewise.
511         * config/i386/libgcc-glibc.ver (GCC_14.0.0): Export _BitInt support
512         routines.
513         * config/i386/t-softfp (softfp_extras): Add fixxfbitint and
514         bf, hf and xf mode floatbitint.
515         (CFLAGS-floatbitintbf.c, CFLAGS-floatbitinthf.c): Add -msse2.
516         * config/riscv/t-softfp32 (softfp_extras): Use += rather than :=.
517         * config/rs6000/t-e500v1-fp (softfp_extras): Likewise.
518         * config/rs6000/t-e500v2-fp (softfp_extras): Likewise.
519         * config/t-softfp (softfp_floatbitint_funcs): New.
520         (softfp_bid_list): New.
521         (softfp_func_list): Add sf and df mode from and to _BitInt libcalls.
522         (softfp_bid_file_list): New.
523         (LIB2ADD_ST): Add $(softfp_bid_file_list).
524         * config/t-softfp-sfdftf (softfp_extras): Add fixtfbitint and
525         floatbitinttf.
526         * config/t-softfp-tf (softfp_extras): Likewise.
527         * libgcc2.c (bitint_reduce_prec): New inline function.
528         (BITINT_INC, BITINT_END): Define.
529         (bitint_mul_1, bitint_addmul_1): New helper functions.
530         (__mulbitint3): New function.
531         (bitint_negate, bitint_submul_1): New helper functions.
532         (__divmodbitint4): New function.
533         * libgcc2.h (LIBGCC2_UNITS_PER_WORD): When building _BitInt support
534         libcalls, redefine depending on __LIBGCC_BITINT_LIMB_WIDTH__.
535         (__mulbitint3, __divmodbitint4): Declare.
536         * libgcc-std.ver.in (GCC_14.0.0): Export _BitInt support routines.
537         * Makefile.in (lib2funcs): Add _mulbitint3.
538         (LIB2_DIVMOD_FUNCS): Add _divmodbitint4.
539         * soft-fp/bitint.h: New file.
540         * soft-fp/fixdfbitint.c: New file.
541         * soft-fp/fixsfbitint.c: New file.
542         * soft-fp/fixtfbitint.c: New file.
543         * soft-fp/fixxfbitint.c: New file.
544         * soft-fp/floatbitintbf.c: New file.
545         * soft-fp/floatbitintdf.c: New file.
546         * soft-fp/floatbitinthf.c: New file.
547         * soft-fp/floatbitintsf.c: New file.
548         * soft-fp/floatbitinttf.c: New file.
549         * soft-fp/floatbitintxf.c: New file.
550         * soft-fp/op-common.h (_FP_FROM_INT): Add support for rsize up to
551         4 * _FP_W_TYPE_SIZE rather than just 2 * _FP_W_TYPE_SIZE.
552         * soft-fp/bitintpow10.c: New file.
553         * soft-fp/fixsdbitint.c: New file.
554         * soft-fp/fixddbitint.c: New file.
555         * soft-fp/fixtdbitint.c: New file.
556         * soft-fp/floatbitintsd.c: New file.
557         * soft-fp/floatbitintdd.c: New file.
558         * soft-fp/floatbitinttd.c: New file.
560 2023-09-06  Jakub Jelinek  <jakub@redhat.com>
562         PR c/102989
563         * soft-fp/bitintpow10.h: New file.
565 2023-09-05  Yang Yujie  <yangyujie@loongson.cn>
567         * config.host: add loongarch*-elf target.
569 2023-08-11  Thomas Neumann  <thomas.neumann@in.tum.de>
571         PR libgcc/110956
572         * unwind-dw2-fde.c: Associate object with address of unwinding
573         table.
575 2023-08-07  John Ericson  <git@JohnEricson.me>
577         * configure: Regenerate.
579 2023-08-07  Alan Modra  <amodra@gmail.com>
581         * configure: Regenerate.
583 2023-07-23  Andrew Pinski  <apinski@marvell.com>
585         * config.host (riscv*-*-linux*): Add t-crtstuff to tmake_file.
586         (riscv*-*-freebsd*): Likewise.
587         * config/riscv/t-crtstuff: New file.
589 2023-07-19  liuhongt  <hongtao.liu@intel.com>
591         * config/i386/t-softfp: Add -msse2 to libbid HFtype related
592         files.
594 2023-07-11  Florian Weimer  <fweimer@redhat.com>
596         PR libgcc/110179
597         * unwind-dw2-fde-dip.c (find_fde_tail): Add cast to avoid
598         implicit conversion of pointer value to integer.
600 2023-07-06  Kito Cheng  <kito.cheng@sifive.com>
602         * config/riscv/sfp-machine.h (FP_INIT_ROUNDMODE): Check zfinx.
603         (FP_HANDLE_EXCEPTIONS): Ditto.
605 2023-06-19  Andrew Stubbs  <ams@codesourcery.com>
607         * config/gcn/lib2-divmod-di.c: Reimplement like lib2-divmod.c.
608         * config/gcn/lib2-divmod.c: Likewise.
609         * config/gcn/lib2-gcn.h: Add new types and prototypes for all the
610         new vector libfuncs.
611         * config/gcn/t-amdgcn: Add new files.
612         * config/gcn/amdgcn_veclib.h: New file.
613         * config/gcn/lib2-vec_divmod-di.c: New file.
614         * config/gcn/lib2-vec_divmod-hi.c: New file.
615         * config/gcn/lib2-vec_divmod-qi.c: New file.
616         * config/gcn/lib2-vec_divmod.c: New file.
618 2023-06-19  Andrew Stubbs  <ams@codesourcery.com>
620         * config/gcn/lib2-gcn.h (QItype, UQItype, HItype, UHItype): Delete.
621         (__divhi3, __modhi3, __udivhi3, __umodhi3): Delete.
622         * config/gcn/t-amdgcn: Don't build lib2-divmod-hi.c.
623         * config/gcn/lib2-divmod-hi.c: Removed.
625 2023-06-07  Florian Weimer  <fweimer@redhat.com>
627         PR libgcc/109712
628         * unwind-dw2-fde-dip.c (find_fde_tail): Correct fast path for
629         parsing eh_frame.
631 2023-06-05  Kewen Lin  <linkw@linux.ibm.com>
633         * config/i386/morestack.S: Use @init_array rather than
634         @progbits for section type of section .init_array.
635         * config/rs6000/morestack.S: Likewise.
636         * config/s390/morestack.S: Likewise.
638 2023-06-05  YunQiang Su  <yunqiang.su@cipunited.com>
640         * config/mips/lib1funcs.S: New file.
641         define __speculation_barrier and include mips16.S.
642         * config/mips/t-mips: define LIB1ASMSRC as mips/lib1funcs.S.
643         define LIB1ASMFUNCS as _speculation_barrier.
644         set version info for __speculation_barrier.
645         * config/mips/libgcc-mips.ver: New file.
646         * config/mips/t-mips16: don't define LIB1ASMSRC as mips16.S
647         included in lib1funcs.S now.
649 2023-06-03  Thomas Neumann  <tneumann@users.sourceforge.net>
651         PR libgcc/109670
652         * unwind-dw2-fde.c: Fix radix sort buffer management.
654 2023-06-03  Thomas Neumann  <tneumann@users.sourceforge.net>
656         PR libgcc/109685
657         * unwind-dw2-fde.c: Free sort array in atomic fast path.
659 2023-05-19  Iain Sandoe  <iain@sandoe.co.uk>
661         * config.host: Arrange to set min Darwin OS versions from
662         the configured host version.
663         * config/darwin10-unwind-find-enc-func.c: Do not use current
664         headers, but declare the nexessary structures locally to the
665         versions in use for Mac OSX 10.6.
666         * config/t-darwin: Amend to handle configured min OS
667         versions.
668         * config/t-darwin-min-1: New.
669         * config/t-darwin-min-5: New.
670         * config/t-darwin-min-8: New.
672 2023-05-15  Thomas Neumann  <tneumann@users.sourceforge.net>
674         * unwind-dw2-fde.c: Fix assert in non-atomic path.
676 2023-05-15  Sören Tempel  <soeren+git@soeren-tempel.net>
678         * unwind-dw2-fde.c: Accept empty ranges when deregistering frames.
680 2023-05-02  Patrick O'Neill  <patrick@rivosinc.com>
682         * config/riscv/atomic.c: Change LR.aq/SC.rl pairs into
683         sequentially consistent LR.aqrl/SC.rl pairs.
685 2023-05-01  Dimitar Dimitrov  <dimitar@dinux.eu>
687         * config/pru/t-pru (HOST_LIBGCC2_CFLAGS): Add
688         -DTARGET_HAS_NO_HW_DIVIDE.
690 2023-04-27  Hans-Peter Nilsson  <hp@axis.com>
692         * config/cris/t-cris (HOST_LIBGCC2_CFLAGS): Add
693         -DTARGET_HAS_NO_HW_DIVIDE.
695 2023-04-26  Patrick O'Neill  <patrick@rivosinc.com>
697         PR target/104338
698         * config/riscv/atomic.c: Add reference to duplicate logic.
700 2023-04-08  Tetsuma Hoshino  <t-hoshino@pony-e.jp>
702         PR target/109402
703         * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
704         stack manipulations.
706 2023-04-05  John David Anglin  <danglin@gcc.gnu.org>
708         PR target/109374
709         * config/pa/milli64.S (RETURN_COLUMN): Define.
710         ($$divI): Add CFI directives.
711         ($$divU): Likewise.
712         ($$remI): Likewise.
713         ($$remU): Likewise.
715 2023-03-19  Stafford Horne  <shorne@gmail.com>
717         * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
718         statement clearing existing exceptions.
720 2023-03-13  Max Filippov  <jcmvbkbc@gmail.com>
722         * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
723         * config/xtensa/crtn.S: Likewise.
724         * config/xtensa/lib1funcs.S: Likewise.
725         * config/xtensa/lib2funcs.S: Likewise.
727 2023-03-12  Jakub Jelinek  <jakub@redhat.com>
729         * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
730         (softfp_truncations): Add tfbf dfbf sfbf hfbf.
731         (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
732         * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
733         __extendbfsf2 and __trunc{s,d,t,h}fbf2.
734         * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
735         * soft-fp/floatundibf.c: New file.
736         * soft-fp/floatdibf.c: New file.
738 2023-03-10  Jakub Jelinek  <jakub@redhat.com>
740         PR target/107703
741         * soft-fp/floattibf.c: New file.
742         * soft-fp/floatuntibf.c: New file.
743         * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
744         * config/i386/64/t-softfp (softfp_extras): Add floattibf and
745         floatuntibf.
746         (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
748 2023-03-08  Kewen Lin  <linkw@linux.ibm.com>
750         PR libgcc/108727
751         * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
752         bump size.
754 2023-03-06   Michael Meissner  <meissner@linux.ibm.com>
756         PR target/107299
757         * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
758         whether long double is IBM or IEEE.
759         (INFINITY): Likewise.
760         (FABS): Likewise.
761         * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
762         (INFINITY): Likewise.
763         * config/rs6000/quad-float128.h (TF): Remove definition.
764         (TFtype): Define to be long double or _Float128.
765         (TCtype): Define to be _Complex long double or _Complex _Float128.
766         * libgcc2.h (TFtype): Allow machine config files to override this.
767         (TCtype): Likewise.
768         * soft-fp/quad.h (TFtype): Likewise.
770 2023-02-13  Kito Cheng  <kito.cheng@sifive.com>
772         * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
773         * config/riscv/value-unwind.h: New.
775 2023-02-03  Christophe Lyon  <christophe.lyon@arm.com>
777         * config/arm/pr-support.c (__gnu_unwind_execute): Use
778         TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
780 2023-01-30  Flavio Cruz  <flaviocruz@gmail.com>
782         * config.host: Recognize x86_64-*-gnu* targets.
783         * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
784         TODO for now.
786 2023-01-23  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
788         * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
789         "0xb5".
791 2023-01-23  Andrea Corallo  <andrea.corallo@arm.com>
792             Tejas Belagod   <tbelagod@arm.com>
793             Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
795         * config/arm/pr-support.c (__gnu_unwind_execute): Decode
796         exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
797         with AUTG if found.
798         * config/arm/unwind-arm.c (struct pseudo_regs): New.
799         (phase1_vrs): Introduce new field to store pseudo-reg state.
800         (phase2_vrs): Likewise.
801         (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
802         (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
803         (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
805 2023-01-18  Wilco Dijkstra  <wilco.dijkstra@arm.com>
807         PR target/107678
808         * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
809         * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
810         * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
811         encode the return address signing state.
812         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
813         Check current return address signing state.
814         (aarch64_frob_update_contex): Remove.
816 2023-01-13  John David Anglin  <danglin@gcc.gnu.org>
818         * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
819         pa/t-pa64-linux.
820         (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
821         instead of pa/t-hpux and pa/t-pa64.
822         * config/pa/linux-atomic.c: Define u32 type.
823         (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
824         atomic_load_2, atomic_load_4 and atomic_load_8.  Update sync
825         defines to use atomic_load calls for type.
826         (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
827         * config/pa/sync-libfuncs.c: New file.
828         * config/pa/t-netbsd (LIB2ADD_ST): Define.
829         * config/pa/t-openbsd (LIB2ADD_ST): Define.
830         * config/pa/t-pa64-hpux: New file.
831         * config/pa/t-pa64-linux: New file.
833 2023-01-13  Jonathan Wakely  <jwakely@redhat.com>
835         PR libstdc++/108331
836         * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
837         struct matching the previous __gthread_mutex_t struct.
838         (__GTHREAD_LEGACY_MUTEX_T): Define.
840 2023-01-13  Seija Kijin  <doremylover456@gmail.com>
842         * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
843         unified syntax.
845 2023-01-07  LIU Hao  <lh_mouse@126.com>
847         PR middle-end/108300
848         * config/i386/enable-execute-stack-mingw32.c: Define
849         `WIN32_LEAN_AND_MEAN` before <windows.h>.
850         * libgcc2.c: Likewise.
851         * unwind-generic.h: Likewise.
853 2023-01-03  Florian Weimer  <fweimer@redhat.com>
855         * unwind-dw2-execute_cfa.h: New file.  Extracted from
856         the execute_cfa_program function in unwind-dw2.c.
857         * unwind-dw2.c (execute_cfa_program_generic): New function.
858         (execute_cfa_program_specialized): Likewise.
859         (execute_cfa_program): Call execute_cfa_program_specialized
860         or execute_cfa_program_generic, as appropriate.
862 2023-01-03  Florian Weimer  <fweimer@redhat.com>
864         Revert:
865         2023-01-03  Florian Weimer  <fweimer@redhat.com>
867         * unwind-dw2.c (dwarf_reg_size): New function.
868         (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
869         (_Unwind_SetSpColumn, uw_install_context_1): Use it.
870         (uw_init_context_1): Do not initialize dwarf_reg_size_table
871         if not in use.
873 2023-01-03  Florian Weimer  <fweimer@redhat.com>
875         Revert:
876         2023-01-03  Florian Weimer  <fweimer@redhat.com>
878         * unwind-dw2-execute_cfa.h: New file.  Extracted from
879         the execute_cfa_program function in unwind-dw2.c.
880         * unwind-dw2.c (execute_cfa_program_generic): New function.
881         (execute_cfa_program_specialized): Likewise.
882         (execute_cfa_program): Call execute_cfa_program_specialized
883         or execute_cfa_program_generic, as appropriate.
885 2023-01-02  Florian Weimer  <fweimer@redhat.com>
887         * unwind-dw2-execute_cfa.h: New file.  Extracted from
888         the execute_cfa_program function in unwind-dw2.c.
889         * unwind-dw2.c (execute_cfa_program_generic): New function.
890         (execute_cfa_program_specialized): Likewise.
891         (execute_cfa_program): Call execute_cfa_program_specialized
892         or execute_cfa_program_generic, as appropriate.
894 2023-01-02  Florian Weimer  <fweimer@redhat.com>
896         * unwind-dw2.c (dwarf_reg_size): New function.
897         (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
898         (_Unwind_SetSpColumn, uw_install_context_1): Use it.
899         (uw_init_context_1): Do not initialize dwarf_reg_size_table
900         if not in use.
902 2022-12-25  Jonathan Yong  <10walls@gmail.com>
904         * config/i386/gthr-win32.h: undef CC_NONE
906 2022-12-24  Iain Sandoe  <iain@sandoe.co.uk>
908         * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
909         install of libgcc_s.1.dylib when the installation is into the build
910         gcc directory.
912 2022-12-23  Eric Botcazou  <ebotcazou@adacore.com>
914         * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
915         as well as new i386/t-slibgcc-mingw fragment.
916         (x86_64-*-mingw*): Likewise.
917         * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
918         both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
919         Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
920         Include stdlib.h instead of errno.h and do not include _mingw.h.
921         (CONST_CAST2): Add specific definition for C++.
922         (ATTRIBUTE_UNUSED): New macro.
923         (__UNUSED_PARAM): Delete.
924         Define WIN32_LEAN_AND_MEAN before including windows.h.
925         (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
926         (__gthread_objc_init_thread_system): Likewise.
927         (__gthread_objc_thread_get_data): Minor tweak.
928         (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
929         (__gthread_objc_condition_deallocate): Likewise.
930         (__gthread_objc_condition_wait): Likewise.
931         (__gthread_objc_condition_broadcast): Likewise.
932         (__gthread_objc_condition_signal): Likewise.
933         Include sys/time.h.
934         (__gthr_win32_DWORD): New typedef.
935         (__gthr_win32_HANDLE): Likewise.
936         (__gthr_win32_CRITICAL_SECTION): Likewise.
937         (__gthr_win32_CONDITION_VARIABLE): Likewise.
938         (__gthread_t): Adjust.
939         (__gthread_key_t): Likewise.
940         (__gthread_mutex_t): Likewise.
941         (__gthread_recursive_mutex_t): Likewise.
942         (__gthread_cond_t): New typedef.
943         (__gthread_time_t): Likewise.
944         (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
945         (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
946         (__GTHREAD_COND_INIT_FUNCTION): Define.
947         (__GTHREAD_TIME_INIT): Likewise.
948         (__gthr_i486_lock_cmp_xchg): Delete.
949         (__gthr_win32_create): Declare.
950         (__gthr_win32_join): Likewise.
951         (__gthr_win32_self): Likewise.
952         (__gthr_win32_detach): Likewise.
953         (__gthr_win32_equal): Likewise.
954         (__gthr_win32_yield): Likewise.
955         (__gthr_win32_mutex_destroy): Likewise.
956         (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
957         (__gthr_win32_cond_broadcast): Likewise.
958         (__gthr_win32_cond_signal): Likewise.
959         (__gthr_win32_cond_wait): Likewise.
960         (__gthr_win32_cond_timedwait): Likewise.
961         (__gthr_win32_recursive_mutex_init_function): Delete.
962         (__gthr_win32_recursive_mutex_lock): Likewise.
963         (__gthr_win32_recursive_mutex_unlock): Likewise.
964         (__gthr_win32_recursive_mutex_destroy): Likewise.
965         (__gthread_create): New inline function.
966         (__gthread_join): Likewise.
967         (__gthread_self): Likewise.
968         (__gthread_detach): Likewise.
969         (__gthread_equal): Likewise.
970         (__gthread_yield): Likewise.
971         (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
972         (__gthread_cond_broadcast): Likewise.
973         (__gthread_cond_signal): Likewise.
974         (__gthread_cond_wait): Likewise.
975         (__gthread_cond_timedwait): Likewise.
976         (__GTHREAD_WIN32_INLINE): New macro.
977         (__GTHREAD_WIN32_COND_INLINE): Likewise.
978         (__GTHREAD_WIN32_ACTIVE_P): Likewise.
979         Define WIN32_LEAN_AND_MEAN before including windows.h.
980         (__gthread_once): Minor tweaks.
981         (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
982         (__gthread_key_delete): Minor tweak.
983         (__gthread_getspecific): Likewise.
984         (__gthread_setspecific): Likewise.
985         (__gthread_mutex_init_function): Reimplement.
986         (__gthread_mutex_destroy): Likewise.
987         (__gthread_mutex_lock): Likewise.
988         (__gthread_mutex_trylock): Likewise.
989         (__gthread_mutex_unlock): Likewise.
990         (__gthr_win32_abs_to_rel_time): Declare.
991         (__gthread_recursive_mutex_init_function): Reimplement.
992         (__gthread_recursive_mutex_destroy): Likewise.
993         (__gthread_recursive_mutex_lock): Likewise.
994         (__gthread_recursive_mutex_trylock): Likewise.
995         (__gthread_recursive_mutex_unlock): Likewise.
996         (__gthread_cond_destroy): New inline function.
997         (__gthread_cond_wait_recursive): Likewise.
998         * config/i386/gthr-win32.c: Delete everything.
999         Include gthr-win32.h to get the out-of-line version of inline routines.
1000         Add compile-time checks for the local version of the Win32 types.
1001         * config/i386/gthr-win32-cond.c: New file.
1002         * config/i386/gthr-win32-thread.c: Likewise.
1003         * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
1004         EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
1005         the static version of libgcc.
1006         * config/i386/t-slibgcc-mingw: New file.
1007         * config/i386/libgcc-mingw.ver: Likewise.
1009 2022-12-16  Thomas Neumann  <tneumann@users.sourceforge.net>
1011         * unwind-dw2-fde.c: Initialize fde object lazily when
1012         the first exception tries to pass through.
1014 2022-12-16  Thomas Neumann  <tneumann@users.sourceforge.net>
1016         * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
1018 2022-12-08  Max Filippov  <jcmvbkbc@gmail.com>
1020         * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
1021         (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
1022         (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
1023         (XSHAL_ABI): Remove stray symbols from macro definitions.
1025 2022-12-07  Max Filippov  <jcmvbkbc@gmail.com>
1027         * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
1028         xtensa-config-builtin.h.
1029         * config/xtensa/crtn.S: Likewise.
1030         * config/xtensa/lib1funcs.S: Likewise.
1031         * config/xtensa/lib2funcs.S: Likewise.
1032         * config/xtensa/xtensa-config-builtin.h: New File.
1034 2022-11-04  Florian Weimer  <fweimer@redhat.com>
1036         * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
1037         values actually used by BFD ld.
1039 2022-10-23  LIU Hao  <lh_mouse@126.com>
1041         * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
1042         libobjc, instead of 'gthr.h'
1044 2022-10-19  LIU Hao  <lh_mouse@126.com>
1046         * config.host: Add new cases for `mcf` thread model
1047         * config/i386/gthr-mcf.h: New file
1048         * config/i386/t-mingw-mcfgthread: New file
1049         * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
1050         * configure: Regenerate
1052 2022-10-18  Jonathan Wakely  <jwakely@redhat.com>
1054         * Makefile.in: Quote variable.
1056 2022-10-17  H.J. Lu  <hjl.tools@gmail.com>
1058         * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
1059         argument.
1060         * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
1061         _Unwind_Frames_Increment.
1062         (_Unwind_ForcedUnwind_Phase2): Likewise.
1063         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1064         Take the EXC argument.  Return _URC_FATAL_PHASE2_ERROR if the
1065         return address on normal stack doesn't match the return address
1066         on shadow stack.
1068 2022-10-17  Florian Weimer  <fweimer@redhat.com>
1070         * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
1071         and reduce its size.
1073 2022-10-14  Jakub Jelinek  <jakub@redhat.com>
1075         * config/i386/t-softfp (softfp_extensions): Add bfsf.
1076         (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
1077         (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
1078         CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
1079         -msse2.
1080         * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
1081         __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
1082         * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
1083         * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
1084         * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
1085         * soft-fp/brain.h: New file.
1086         * soft-fp/truncsfbf2.c: New file.
1087         * soft-fp/truncdfbf2.c: New file.
1088         * soft-fp/truncxfbf2.c: New file.
1089         * soft-fp/trunctfbf2.c: New file.
1090         * soft-fp/trunchfbf2.c: New file.
1091         * soft-fp/truncbfhf2.c: New file.
1092         * soft-fp/extendbfsf2.c: New file.
1094 2022-10-12  Martin Liska  <mliska@suse.cz>
1096         * libgcov-driver.c: Use new function.
1097         * libgcov.h (gcov_write_summary): Rename to ...
1098         (gcov_write_object_summary): ... this.
1100 2022-10-11  Olivier Hainque  <hainque@adacore.com>
1102         * config.host (*vxworks*): When enable_shared, add
1103         libgcc and crtstuff "shared" fragments for rtp except
1104         large code model.
1105         (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
1106         the list of fragments.
1108 2022-10-06  Jakub Jelinek  <jakub@redhat.com>
1110         * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1111         fs->regs.how[X] instead of fs->regs.reg[X].how.
1113 2022-10-06  Jakub Jelinek  <jakub@redhat.com>
1115         * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
1116         REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
1117         REG_UNDEFINED): New anonymous enum, moved from inside of
1118         struct frame_state_reg_info.
1119         (struct frame_state_reg_info): Remove reg[].how element and the
1120         anonymous enum there.  Add how element.
1121         * unwind-dw2.c: Include stddef.h.
1122         (uw_frame_state_for): Don't clear first
1123         offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
1124         (execute_cfa_program, __frame_state_for, uw_update_context_1,
1125         uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
1126         or fs.regs.how[X] instead of fs.regs.reg[X].how.
1127         * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
1128         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
1129         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
1130         * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
1131         UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
1132         Likewise.
1133         * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
1134         Likewise.
1135         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
1136         * config/arc/linux-unwind.h (arc_fallback_frame_state,
1137         arc_frob_update_context): Likewise.
1138         * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
1139         * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
1140         * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
1141         * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
1142         * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
1143         * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
1144         MD_FALLBACK_FRAME_STATE_FOR): Likewise.
1145         * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
1146         sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
1147         * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
1148         x86_fallback_frame_state): Likewise.
1149         * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
1150         * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1151         x86_fallback_frame_state): Likewise.
1152         * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
1153         Likewise.
1154         * config/i386/dragonfly-unwind.h
1155         (x86_64_dragonfly_fallback_frame_state): Likewise.
1156         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
1157         * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
1158         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
1159         Likewise.
1160         * config/aarch64/freebsd-unwind.h
1161         (aarch64_freebsd_fallback_frame_state): Likewise.
1162         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1163         Likewise.
1164         * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
1165         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
1166         * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
1167         Likewise.
1168         * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
1169         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1170         Likewise.
1171         * config/rs6000/darwin-fallback.c (set_offset): Likewise.
1172         * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
1173         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
1174         * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
1176 2022-10-02  Olivier Hainque  <hainque@adacore.com>
1178         * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment.  Move
1179         -I options for gcc/include and gcc/include-fixed at the end
1180         and make them -isystem.
1182 2022-10-02  Olivier Hainque  <hainque@adacore.com>
1184         * config/gthr-vxworks.h: Prevent Wpragma warning for the
1185         pragma diagnostics on Wstrict-prototypes.
1187 2022-09-29  Olivier Hainque  <hainque@adacore.com>
1189         * config/vxcrtstuff.c: Improve the comment attached to the use
1190         of auto-host.h and of __dso_handle.  Remove redundant guard on
1191         HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
1193 2022-09-26  Thomas Neumann  <tneumann@users.sourceforge.net>
1195         * unwind-dw2-fde.c: Introduce a constant for in_shutdown
1196         for the non-fast-path case. Drop destructor priority.
1198 2022-09-22  Thomas Neumann  <tneumann@users.sourceforge.net>
1200         * unwind-dw2-fde.c: (release_register_frames) Remember
1201         when the btree has been destroyed.
1202         (__deregister_frame_info_bases) Disable the assert when
1203         shutting down.
1205 2022-09-18  Thomas Neumann  <tneumann@users.sourceforge.net>
1207         * unwind-dw2-fde.c: Replace uintptr_t with typedef
1208         for __UINTPTR_TYPE__.
1209         * unwind-dw2-btree.h: Likewise.
1211 2022-09-16  Thomas Neumann  <tneumann@users.sourceforge.net>
1213         * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
1214         (__register_frame_info_table_bases): Use btree in atomic fast path.
1215         (__deregister_frame_info_bases): Likewise.
1216         (_Unwind_Find_FDE): Likewise.
1217         (base_from_object): Make parameter const.
1218         (classify_object_over_fdes): Add query-only mode.
1219         (get_pc_range): Compute PC range for lookup.
1220         * unwind-dw2-fde.h (last_fde): Make parameter const.
1221         * unwind-dw2-btree.h: New file.
1223 2022-08-31  Martin Liska  <mliska@suse.cz>
1225         * config.host: Remove hppa.
1227 2022-08-30  Martin Liska  <mliska@suse.cz>
1229         * config.host: Remove the port.
1231 2022-08-26  Martin Liska  <mliska@suse.cz>
1233         * config.host: Remove cr16 related stuff.
1234         * config/cr16/crti.S: Removed.
1235         * config/cr16/crtlibid.S: Removed.
1236         * config/cr16/crtn.S: Removed.
1237         * config/cr16/divmodhi3.c: Removed.
1238         * config/cr16/lib1funcs.S: Removed.
1239         * config/cr16/t-cr16: Removed.
1240         * config/cr16/t-crtlibid: Removed.
1241         * config/cr16/unwind-cr16.c: Removed.
1242         * config/cr16/unwind-dw2.h: Removed.
1244 2022-08-16  Kito Cheng  <kito.cheng@sifive.com>
1246         * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
1247         (_FP_NANFRAC_H): Ditto.
1248         (_FP_NANSIGN_H): Ditto.
1249         * config/riscv/t-softfp32 (softfp_extensions): Add HF related
1250         routines.
1251         (softfp_truncations): Ditto.
1252         (softfp_extras): Ditto.
1253         * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
1255 2022-08-16  Kito Cheng  <kito.cheng@sifive.com>
1257         * soft-fp/fixhfdi.c: New.
1258         * soft-fp/fixhfsi.c: Likewise.
1259         * soft-fp/fixunshfdi.c: Likewise.
1260         * soft-fp/fixunshfsi.c: Likewise.
1261         * soft-fp/floatdihf.c: Likewise.
1262         * soft-fp/floatsihf.c: Likewise.
1263         * soft-fp/floatundihf.c: Likewise.
1264         * soft-fp/floatunsihf.c: Likewise.
1265         * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
1266         lines and update URL for license.
1267         * soft-fp/addsf3.c: Likewise.
1268         * soft-fp/addtf3.c: Likewise.
1269         * soft-fp/divdf3.c: Likewise.
1270         * soft-fp/divsf3.c: Likewise.
1271         * soft-fp/divtf3.c: Likewise.
1272         * soft-fp/double.h: Likewise.
1273         * soft-fp/eqdf2.c: Likewise.
1274         * soft-fp/eqhf2.c: Likewise.
1275         * soft-fp/eqsf2.c: Likewise.
1276         * soft-fp/eqtf2.c: Likewise.
1277         * soft-fp/extenddftf2.c: Likewise.
1278         * soft-fp/extended.h: Likewise.
1279         * soft-fp/extendhfdf2.c: Likewise.
1280         * soft-fp/extendhfsf2.c: Likewise.
1281         * soft-fp/extendhftf2.c: Likewise.
1282         * soft-fp/extendhfxf2.c: Likewise.
1283         * soft-fp/extendsfdf2.c: Likewise.
1284         * soft-fp/extendsftf2.c: Likewise.
1285         * soft-fp/extendxftf2.c: Likewise.
1286         * soft-fp/fixdfdi.c: Likewise.
1287         * soft-fp/fixdfsi.c: Likewise.
1288         * soft-fp/fixdfti.c: Likewise.
1289         * soft-fp/fixhfti.c: Likewise.
1290         * soft-fp/fixsfdi.c: Likewise.
1291         * soft-fp/fixsfsi.c: Likewise.
1292         * soft-fp/fixsfti.c: Likewise.
1293         * soft-fp/fixtfdi.c: Likewise.
1294         * soft-fp/fixtfsi.c: Likewise.
1295         * soft-fp/fixtfti.c: Likewise.
1296         * soft-fp/fixunsdfdi.c: Likewise.
1297         * soft-fp/fixunsdfsi.c: Likewise.
1298         * soft-fp/fixunsdfti.c: Likewise.
1299         * soft-fp/fixunshfti.c: Likewise.
1300         * soft-fp/fixunssfdi.c: Likewise.
1301         * soft-fp/fixunssfsi.c: Likewise.
1302         * soft-fp/fixunssfti.c: Likewise.
1303         * soft-fp/fixunstfdi.c: Likewise.
1304         * soft-fp/fixunstfsi.c: Likewise.
1305         * soft-fp/fixunstfti.c: Likewise.
1306         * soft-fp/floatdidf.c: Likewise.
1307         * soft-fp/floatdisf.c: Likewise.
1308         * soft-fp/floatditf.c: Likewise.
1309         * soft-fp/floatsidf.c: Likewise.
1310         * soft-fp/floatsisf.c: Likewise.
1311         * soft-fp/floatsitf.c: Likewise.
1312         * soft-fp/floattidf.c: Likewise.
1313         * soft-fp/floattihf.c: Likewise.
1314         * soft-fp/floattisf.c: Likewise.
1315         * soft-fp/floattitf.c: Likewise.
1316         * soft-fp/floatundidf.c: Likewise.
1317         * soft-fp/floatundisf.c: Likewise.
1318         * soft-fp/floatunditf.c: Likewise.
1319         * soft-fp/floatunsidf.c: Likewise.
1320         * soft-fp/floatunsisf.c: Likewise.
1321         * soft-fp/floatunsitf.c: Likewise.
1322         * soft-fp/floatuntidf.c: Likewise.
1323         * soft-fp/floatuntihf.c: Likewise.
1324         * soft-fp/floatuntisf.c: Likewise.
1325         * soft-fp/floatuntitf.c: Likewise.
1326         * soft-fp/gedf2.c: Likewise.
1327         * soft-fp/gesf2.c: Likewise.
1328         * soft-fp/getf2.c: Likewise.
1329         * soft-fp/half.h: Likewise.
1330         * soft-fp/ledf2.c: Likewise.
1331         * soft-fp/lesf2.c: Likewise.
1332         * soft-fp/letf2.c: Likewise.
1333         * soft-fp/muldf3.c: Likewise.
1334         * soft-fp/mulsf3.c: Likewise.
1335         * soft-fp/multf3.c: Likewise.
1336         * soft-fp/negdf2.c: Likewise.
1337         * soft-fp/negsf2.c: Likewise.
1338         * soft-fp/negtf2.c: Likewise.
1339         * soft-fp/op-1.h: Likewise.
1340         * soft-fp/op-2.h: Likewise.
1341         * soft-fp/op-4.h: Likewise.
1342         * soft-fp/op-8.h: Likewise.
1343         * soft-fp/op-common.h: Likewise.
1344         * soft-fp/quad.h: Likewise.
1345         * soft-fp/single.h: Likewise.
1346         * soft-fp/soft-fp.h: Likewise.
1347         * soft-fp/subdf3.c: Likewise.
1348         * soft-fp/subsf3.c: Likewise.
1349         * soft-fp/subtf3.c: Likewise.
1350         * soft-fp/truncdfhf2.c: Likewise.
1351         * soft-fp/truncdfsf2.c: Likewise.
1352         * soft-fp/truncsfhf2.c: Likewise.
1353         * soft-fp/trunctfdf2.c: Likewise.
1354         * soft-fp/trunctfhf2.c: Likewise.
1355         * soft-fp/trunctfsf2.c: Likewise.
1356         * soft-fp/trunctfxf2.c: Likewise.
1357         * soft-fp/truncxfhf2.c: Likewise.
1358         * soft-fp/unorddf2.c: Likewise.
1359         * soft-fp/unordsf2.c: Likewise.
1360         * soft-fp/unordtf2.c: Likewise.
1362 2022-07-18  Claudiu Zissulescu  <claziss@synopsys.com>
1364         * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
1365         * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
1366         configurations.
1368 2022-06-25  Jeff Law  <jeffreyalaw@gmail.com>
1370         * config.host: Removed tilegx and tilepro entries.
1371         * config/tilegx/sfp-machine.h: Removed.
1372         * config/tilegx/sfp-machine32.h: Removed.
1373         * config/tilegx/sfp-machine64.h: Removed.
1374         * config/tilegx/t-crtstuff: Removed.
1375         * config/tilegx/t-softfp: Removed.
1376         * config/tilegx/t-tilegx: Removed.
1377         * config/tilepro/atomic.c: Removed.
1378         * config/tilepro/atomic.h: Removed.
1379         * config/tilepro/linux-unwind.h: Removed.
1380         * config/tilepro/sfp-machine.h: Removed.
1381         * config/tilepro/softdivide.c: Removed.
1382         * config/tilepro/softmpy.S: Removed.
1383         * config/tilepro/t-crtstuff: Removed.
1384         * config/tilepro/t-tilepro: Removed.
1386 2022-06-09  Takayuki 'January June' Suwa  <jjsuwa_sys3175@yahoo.co.jp>
1388         * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
1389         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
1391 2022-06-01  H.J. Lu  <hjl.tools@gmail.com>
1393         PR libgcc/27576
1394         * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
1396 2022-05-25  Wilco Dijkstra  <wilco.dijkstra@arm.com>
1398         PR libgcc/105708
1399         * config/aarch64/lse-init.c: Increase constructor priority.
1401 2022-05-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1403         PR target/104689
1404         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1405         Handle the !REG_UNSAVED case.
1406         * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
1408 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
1410         * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
1411         (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
1412         (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
1414 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
1416         * config.host: Add t-dfprules to AArch64 targets.
1418 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
1420         * configure: Regenerate.
1422 2022-05-13  Sebastian Pop  <spop@amazon.com>
1424         PR target/105162
1425         * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
1426         * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
1428 2022-05-10  Martin Liska  <mliska@suse.cz>
1429             Hans-Peter Helfert  <peter-helfert@t-online.de>
1431         PR gcov-profile/105535
1432         * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
1433         n_functions.
1435 2022-05-02  Martin Liska  <mliska@suse.cz>
1437         * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
1439 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1441         * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
1442         (gcov_profile_merge_stream): Likewise.
1444 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1446         * libgcov-util.c (consume_stream): New.
1447         (get_target_profiles_for_merge): Likewise.
1448         (gcov_profile_merge_stream): Likewise.
1450 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1452         * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
1454 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1456         * libgcov-util.c (read_gcda_file): Do not open file.
1457         (ftw_read_file): Open file here.
1459 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1461         * libgcov-util.c (read_gcda_file): Prepend new info object to global
1462         list.
1463         (ftw_read_file): Remove list append here.
1465 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1467         * libgcov-util.c (read_gcda_file): Do not duplicate filename.
1468         (ftw_read_file): Duplicate filename for read_gcda_file().
1470 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1472         * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
1473         (__gcov_filename_to_gcfn): Declare and document.
1474         * libgcov-driver.c (dump_string): New.
1475         (__gcov_filename_to_gcfn): Likewise.
1476         (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
1478 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1480         * libgcov.h (gcov_seek): Remove define and declaration.
1482 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1484         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
1485         parameter.  Pass mode to gcov_open() calls.
1486         * libgcov-driver.c (dump_one_gcov):  Add mode parameter.  Pass mode to
1487         gcov_exit_open_gcda_file() call.
1488         (gcov_do_dump): Add mode parameter.  Pass mode to dump_one_gcov()
1489         calls.
1490         (__gcov_dump_one):  Open file for reading and writing.
1492 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1494         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
1495         reading and writing.
1496         * libgcov-util.c (read_gcda_file): Open file for reading.
1497         * libgcov.h (gcov_open): Delete declaration.
1499 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1501         * libgcov-util.c (gcov_profile_merge): Return the list of merged
1502         profiles.  Accept empty target and source profile lists.
1504 2022-04-08  Sergei Trofimovich  <siarheit@google.com>
1506         * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
1508 2022-03-29  Chenghua Xu  <xuchenghua@loongson.cn>
1509             Lulu Cheng  <chenglulu@loongson.cn>
1511         * configure: Regenerate file.
1513 2022-03-29  Chenghua Xu  <xuchenghua@loongson.cn>
1514             Lulu Cheng  <chenglulu@loongson.cn>
1516         * config/loongarch/crtfastmath.c: New file.
1517         * config/loongarch/linux-unwind.h: Like wise.
1518         * config/loongarch/sfp-machine.h: Like wise.
1519         * config/loongarch/t-crtstuff: Like wise.
1520         * config/loongarch/t-loongarch: Like wise.
1521         * config/loongarch/t-loongarch64: Like wise.
1522         * config/loongarch/t-softfp-tf: Like wise.
1523         * config.host: Add LoongArch tuples.
1524         * configure.ac: Add LoongArch support.
1526 2022-03-19  Sergei Trofimovich  <slyfox at gentoo dot org>
1528         PR libgcc/86224
1529         * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
1530         for __mulsi3.
1531         (__udivsi3_internal, __divsi3_internal): Similarly.
1532         (__umodsi3, __modsi3): Use the internal function names.
1534 2022-03-09  Tobias Burnus  <tobias@codesourcery.com>
1536         PR target/102215
1537         * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
1538         a line up to non-arg-dependent value first.
1539         (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
1540         __atomic_compare_exchange_{1,2}.
1542 2022-03-04  Iain Sandoe  <iain@sandoe.co.uk>
1544         * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
1545         * config/t-darwin-ehs: Add dependency on unwind.h.
1547 2022-02-24  Xi Ruoyao  <xry111@mengyan1223.wang>
1549         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
1550         with 0 instead of NULL.
1552 2022-02-24  Jose E. Marchesi  <jose.marchesi@oracle.com>
1554         PR target/104656
1555         * configure.ac: --disable-gcov if targetting bpf-*.
1556         * configure: Regenerate.
1558 2022-01-25  Florian Weimer  <fweimer@redhat.com>
1560         PR libgcc/104207
1561         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
1563 2022-01-17  Martin Liska  <mliska@suse.cz>
1565         * libgcov-driver.c: Rename .c names to .cc.
1567 2022-01-15  David  <gccbugzilla@limegreensocks.com>
1569         * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
1570         Remove inlined version, Windows 95 is no longer relevant.
1571         * config/i386/gthr-win32.h
1572         (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
1574 2022-01-14  Claudiu Zissulescu  <claziss@synopsys.com>
1576         * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1577         DWARF_ALT_FRAME_RETURN_COLUMN macro.
1579 2022-01-04  Florian Weimer  <fweimer@redhat.com>
1581         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
1582         if available.
1584 2022-01-02  John David Anglin  <danglin@gcc.gnu.org>
1586         * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
1587         (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
1588         return is not equal _ASM_EFAULT.
1589         (__kernel_cmpxchg2): Likewise.
1591 2021-12-17  Iain Sandoe  <iain@sandoe.co.uk>
1593         * config.host: Add shim declaration header to powerpc*-darwin builds.
1594         * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
1595         file.
1596         * config/t-darwin-ehs: Add dependencies to the shared unwinder
1597         objects.
1598         * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
1599         the shared EH lib.  Add all-multi to the dependencies for the
1600         libgcc_s.1.dylib redirections.
1602 2021-12-13  Olivier Hainque  <hainque@adacore.com>
1604         * config.host (powerpc*-*-vxworks7*): Remove
1605         rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
1607 2021-12-13  Olivier Hainque  <hainque@adacore.com>
1609         * config.host (*vxworks*): Remove special case for
1610         arm on the use of vxcrtstuff.
1612 2021-12-13  Fred Konrad  <konrad@adacore.com>
1613             Olivier Hainque  <hainque@adacore.com>
1615         * config/t-vxcrtstuffS: New Makefile fragment.
1616         * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
1617         functions for INITFINI_ARRAY support in shared libs and guard
1618         the definition of eh table registration functions on conditions
1619         indicating they are needed.
1621 2021-12-13  Olivier Hainque  <hainque@adacore.com>
1623         * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
1624         ahead of the other files in tmake_files.
1625         * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
1626         overriding it.
1628 2021-12-13  Olivier Hainque  <hainque@adacore.com>
1630         * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
1631         both VxWorks7 and earlier.
1632         * config/t-vxworks7: Remove.
1633         * config.host: Remove special case for vxworks7.
1635 2021-12-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1637         * config/vxcrtstuff.c: Make constructor and destructor
1638         functions static when possible.
1640 2021-12-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1642         * config/vxcrtstuff.c: Remove constructor/destructor
1643         declarations.
1645 2021-12-10  Iain Sandoe  <iain@sandoe.co.uk>
1647         * config/t-darwin: Add libgcc_tm.h to the dependencies
1648         for darwin10-unwind-find-enc-func.
1650 2021-12-10  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1652         * config/rs6000/t-vxworks: New file.
1653         * config.host (powerpc*-*-vxworks*): Use it instead of
1654         t-ppccomm.
1656 2021-12-09  Fred Konrad  <konrad@adacore.com>
1658         * config.host (powerpc*-wrs-vxworks7*): Fix path to
1659         rs6000/t-ppc64-fp, relative to config/ not libgcc/.
1661 2021-12-09  Olivier Hainque  <hainque@adacore.com>
1662             Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1664         * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
1665         $(LIBGCC2_INCLUDES).
1666         * config/t-vxworks7: Likewise.
1668 2021-12-08  Iain Sandoe  <iain@sandoe.co.uk>
1670         * config.host (*-*-darwin*): Add logic to build a shared
1671         unwinder library for Darwin8-10.
1672         * config/i386/t-darwin: Build legacy libgcc_s.1.
1673         * config/rs6000/t-darwin: Likewise.
1674         * config/t-darwin: Reorganise the EH fragments to place
1675         them for inclusion in a shared EH lib.
1676         * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
1677         the supporting pieces (all FAT libs).
1678         * config/t-darwin-noeh: Removed.
1679         * config/darwin-unwind.ver: New file.
1680         * config/rs6000/t-darwin-ehs: New file.
1681         * config/t-darwin-ehs: New file.
1683 2021-12-06  Nelson Chu  <nelson.chu@sifive.com>
1685         * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
1686         then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
1687         * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
1688         HIDDEN_DEF.
1690 2021-11-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1692         * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
1693         ssize_t and vfork after including auto-host.h.
1695 2021-11-29  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1697         * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
1698         crtend.o to extra_parts.
1700 2021-11-27  John David Anglin  <danglin@gcc.gnu.org>
1702         * config/pa/t-dimode (lib2difuncs): Fix typo.
1704 2021-11-25  Florian Weimer  <fweimer@redhat.com>
1706         * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
1707         Remove func, ret.
1708         (find_fde_tail): New function.  Split from
1709         _Unwind_IteratePhdrCallback.  Move the result initialization
1710         from _Unwind_Find_FDE.
1711         (_Unwind_Find_FDE): Updated to call find_fde_tail.
1713 2021-11-22  Florian Weimer  <fweimer@redhat.com>
1715         * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
1716         (struct unw_eh_callback_data): Make dbase member conditional.
1717         (unw_eh_callback_data_dbase): New function.
1718         (base_from_cb_data): Simplify for the non-dbase case.
1719         (_Unwind_IteratePhdrCallback): Adjust.
1720         (_Unwind_Find_FDE): Likewise.
1722 2021-11-22  Florian Weimer  <fweimer@redhat.com>
1724         * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
1725         tbase member.
1726         (base_from_cb_data): Adjust.
1727         (_Unwind_IteratePhdrCallback): Likewise.
1728         (_Unwind_Find_FDE): Likewise.
1730 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
1732         * config.host: Add weak emutls crt to the extra_parts.
1733         * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1734         workaround.
1735         * config/libgcc-libsystem.ver: Add exclude list for the system-
1736         provided unwinder.
1737         * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1738         * config/i386/libgcc-darwin.10.4.ver: Removed.
1739         * config/i386/libgcc-darwin.10.5.ver: Removed.
1740         * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1741         * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1742         * config/t-darwin-noeh: New file.
1744 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
1746         * config/t-darwin: Build weak-defined emutls objects.
1747         * emutls.c (__emutls_get_address): Add optional attributes.
1748         (__emutls_register_common): Likewise.
1749         (EMUTLS_ATTR): New.
1751 2021-11-11  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
1753         PR libgcc/103044
1754         * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1755         called with a null argument or at the end of the backtrace and return.
1756         * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1758 2021-11-10  Jakub Jelinek  <jakub@redhat.com>
1760         * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1761         formatting fix.
1763 2021-11-05  Iain Sandoe  <iain@sandoe.co.uk>
1765         * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1766         * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1768 2021-11-05  John David Anglin  <danglin@gcc.gnu.org>
1770         PR libgomp/96661
1771         * config.host (hppa*64*-*-linux*): Revise tmake_file.
1772         (hppa*64*-*-hpux11*): Likewise.
1773         * config/pa/sfp-exceptions.c: New.
1774         * config/pa/sfp-machine.h: New.
1775         * config/pa/t-dimode: New.
1776         * config/pa/t-softfp-sfdftf: New.
1778 2021-10-27  John David Anglin  <danglin@gcc.gnu.org>
1780         * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1781         tmake_file.
1782         * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1783         Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1784         SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1785         * config/pa/t-linux64 (LIB1ASMSRC): New define.
1786         (LIB1ASMFUNCS): Revise.
1787         (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1789 2021-10-22  Stafford Horne  <shorne@gmail.com>
1791         * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1792         Change to 0.
1794 2021-10-14  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
1796         * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1797         outside of get_regs() in order to use it in another function, this
1798         is done twice: for __powerpc64__ and for !__powerpc64__.
1799         (struct trace_arg): New struct.
1800         (struct layout): New struct.
1801         (ppc_backchain_fallback): New function.
1802         * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1803         state and call MD_BACKCHAIN_FALLBACK.
1805 2021-10-13  Martin Liska  <mliska@suse.cz>
1807         PR gcov-profile/90364
1808         * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1809         checksums.
1810         (write_one_data): Write also checksum.
1811         * libgcov-util.c (read_gcda_file): Read also checksum field.
1812         * libgcov.h (struct gcov_info): Add new field.
1814 2021-10-08  Ian Lance Taylor  <iant@golang.org>
1816         * config/i386/morestack.S: Use .init_array for constructor if
1817         available.
1818         * config/rs6000/morestack.S: Likewise.
1819         * config/s390/morestack.S: Likewise.
1821 2021-10-03  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
1823         PR target/101104
1824         * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1825         Use more correct values for native IBM 128-bit.
1827 2021-09-28  Iain Sandoe  <iain@sandoe.co.uk>
1829         * config/i386/libgcc-darwin.ver: Add Symbols for
1830         __cpu_model, __cpu_indicator_init.
1832 2021-09-22  Iain Sandoe  <iain@sandoe.co.uk>
1834         * config/i386/sfp-machine.h: Guard Mach-O-specific code
1835         using __APPLE__.
1837 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1839         * config/t-slibgcc-darwin: Delete unused code.
1841 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1843         * config/i386/t-darwin: Add in a vers file for X86-specific
1844         symbols.
1845         * config/t-darwin: Add the generic symbol maps here...
1846         * config/t-slibgcc-darwin: ... removing from here.
1847         * config/i386/libgcc-darwin.ver: New file.
1849 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1851         * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1852         and __mulhc3.
1854 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1856         * config.host: Use convenience library for Darwin10
1857         unwinder shim.
1858         * config/t-darwin: Build Darwin10 unwinder shim as a
1859         convenience library.
1861 2021-09-13  Andrew Pinski  <apinski@marvell.com>
1863         * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1864         * config/m32r/libgcc-glibc.ver: Removed.
1865         * config/m32r/t-linux: Removed.
1867 2021-09-08  liuhongt  <hongtao.liu@intel.com>
1869         * config/i386/t-softfp: Compile __{mul,div}hc3 into
1870         libgcc_s.so.1.
1872 2021-09-08  Jakub Jelinek  <jakub@redhat.com>
1873             Iain Sandoe  <iain@sandoe.co.uk>
1875         * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1876         and export *hf* and *hc* functions at GCC_12.0.0.
1878 2021-09-06  liuhongt  <hongtao.liu@intel.com>
1880         * Makefile.in: Adjust to support specific CFLAGS for each
1881         libgcc source file.
1882         * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1883         related libgcc source files.
1884         * config/i386/t-softfp: Ditto.
1885         * config/i386/_divhc3.c: New file.
1886         * config/i386/_mulhc3.c: New file.
1888 2021-09-03  Iain Sandoe  <iain@sandoe.co.uk>
1890         * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1891         alias_DFtype, alias_TFtype): New.
1892         (ALIAS_SELECTOR): New.
1893         (strong_alias): Use __typeof and a _Generic selector to
1894         provide the type to the synthesized function.
1896 2021-09-02  liuhongt  <hongtao.liu@intel.com>
1898         * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1899         * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1900         * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1901         * config/i386/t-softfp: Add hf soft-fp.
1902         * config.host: Add i386/64/t-softfp.
1903         * config/i386/64/t-softfp: New file.
1905 2021-09-02  liuhongt  <hongtao.liu@intel.com>
1907         * soft-fp/eqhf2.c: New file.
1908         * soft-fp/extendhfdf2.c: New file.
1909         * soft-fp/extendhfsf2.c: New file.
1910         * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1911         * soft-fp/truncdfhf2.c: New file
1912         * soft-fp/truncsfhf2.c: New file
1914 2021-09-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1916         * unwind-arm-common.inc (abort): Remove.
1918 2021-08-31  Richard Sandiford  <richard.sandiford@arm.com>
1920         * config/aarch64/value-unwind.h: Add missing runtime exception
1921         paragraph.
1922         * config/frv/frv-abi.h: Likewise.
1923         * config/i386/value-unwind.h: Likewise.
1924         * config/pa/pa64-hpux-lib.h: Likewise.
1926 2021-08-26  David Edelsohn  <dje.gcc@gmail.com>
1928         * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1929         __gcc_qadd.
1930         (__gcc_qadd): Call ldouble_qadd_internal.
1931         (__gcc_qsub): Call ldouble_qadd_internal with second long double
1932         argument negated.
1934 2021-08-26  Jonathan Yong  <10walls@gmail.com>
1936         * config/i386/cygming-crtend.c: Fix register_frame_ctor
1937         and register_frame_dtor warnings.
1939 2021-08-24  Richard Earnshaw  <rearnsha@arm.com>
1941         PR target/102035
1942         * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1943         Add vlldm erratum work-around.
1945 2021-08-21  John David Anglin  <danglin@gcc.gnu.org>
1947         * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1949 2021-08-16  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1951         * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1952         (gcov_type_unsigned): Likewise.
1954 2021-08-14  Stafford Horne  <shorne@gmail.com>
1956         PR target/99783
1957         * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
1958         * config/or1k/t-crtstuff: New file.
1960 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1962         * libgcov-driver.c (#include <stdint.h>): Remove.
1963         (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
1965 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1967         * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
1968         * gcov.h (gcov_info): Declare.
1969         (__gcov_info_to_gdca): Likewise.
1970         * libgcov.h (gcov_write_counter): Remove.
1971         (gcov_write_tag_length): Likewise.
1972         * libgcov-driver.c (#include <stdint.h>): New.
1973         (#include <string.h>): Remove.
1974         (NEED_L_GCOV): Conditionally define.
1975         (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
1976         (are_all_counters_zero): New.
1977         (gcov_dump_handler): Likewise.
1978         (gcov_allocate_handler): Likewise.
1979         (dump_unsigned): Likewise.
1980         (dump_counter): Likewise.
1981         (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
1982         Use dump_unsigned() and dump_counter().
1983         (write_one_data): Add dump_fn, allocate_fn, and arg parameters.  Use
1984         dump_unsigned(), dump_counter(), and are_all_counters_zero().
1985         (__gcov_info_to_gcda): New.
1987 2021-08-05  Jakub Jelinek  <jakub@redhat.com>
1989         * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
1990         * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
1991         * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
1992         * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
1994 2021-08-04  Jakub Jelinek  <jakub@redhat.com>
1996         * config/t-slibgcc-fuchsia: Undo doubly applied patch.
1998 2021-07-15  Alan Modra  <amodra@gmail.com>
2000         * config/rs6000/morestack.S (R2_SAVE): Define.
2001         (__morestack): Save and restore r2.  Set up r2 for called
2002         functions.
2004 2021-07-01  H.J. Lu  <hjl.tools@gmail.com>
2006         * soft-fp/extendhfxf2.c: New file.
2007         * soft-fp/truncxfhf2.c: Likewise.
2009 2021-06-29  Julian Brown  <julian@codesourcery.com>
2011         * config/gcn/lib2-bswapti2.c: New file.
2012         * config/gcn/lib2-divmod-di.c: New file.
2013         * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
2014         typedefs.
2015         (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
2016         * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
2017         lib2-bswapti2.c.
2019 2021-06-29  Julian Brown  <julian@codesourcery.com>
2021         * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
2022         return types to USItype.
2023         * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
2025 2021-06-23  Kewen Lin  <linkw@linux.ibm.com>
2027         * configure: Regenerate.
2028         * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
2029         typos among the name, CFLAGS and the test.
2030         * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
2031         fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
2032         Remove.
2033         * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
2034         macro FLOAT128_HW_INSNS_ISA3_1.
2035         (FP128_3_1_CFLAGS_HW): Fix option typo.
2036         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
2037         FLOAT128_HW_INSNS_ISA3_1.
2038         (__floattikf_resolve): Likewise.
2039         (__floatuntikf_resolve): Likewise.
2040         (__fixkfti_resolve): Likewise.
2041         (__fixunskfti_resolve): Likewise.
2042         (__floattikf): Likewise.
2043         (__floatuntikf): Likewise.
2044         (__fixkfti): Likewise.
2045         (__fixunskfti): Likewise.
2047 2021-06-11  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
2049         PR target/99939
2050         * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
2051         macro.
2052         * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
2053         on passing -mcmse option.
2055 2021-06-10  Segher Boessenkool  <segher@kernel.crashing.org>
2057         * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
2058         _ARCH_PPC64 .
2060 2021-06-09  Carl Love  <cel@us.ibm.com>
2062         * config.host: Add if test and set for
2063         libgcc_cv_powerpc_3_1_float128_hw.
2064         * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
2065         Change calls of __fixkfti to __fixkfti_sw.
2066         * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
2067         Change calls of __fixunskfti to __fixunskfti_sw.
2068         * config/rs6000/float128-p10.c (__floattikf_hw,
2069         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
2070         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
2071         (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
2072         __fixunskfti_resolve): Add resolve functions.
2073         (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
2074         * config/rs6000/float128-sed (floattitf, __floatuntitf,
2075         __fixtfti, __fixunstfti): Add editor commands to change names.
2076         * config/rs6000/float128-sed-hw (__floattitf,
2077         __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
2078         change names.
2079         * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
2080         * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
2081         * config/rs6000/quad-float128.h (__floattikf_sw,
2082         __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
2083         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
2084         __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
2085         * config/rs6000/t-float128 (floattikf, floatuntikf,
2086         fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
2087         (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
2088         file names to fp128_ppc_funcs.
2089         * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
2090         fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
2091         fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
2092         * config/rs6000/t-float128-p10-hw: New file.
2093         * configure: Update script for isa 3.1 128-bit float support.
2094         * configure.ac: Add check for 128-bit float hardware support.
2095         * config/rs6000/fixkfti-sw.c: New file.
2096         * config/rs6000/fixunskfti-sw.c: New file.
2097         * config/rs6000/floattikf-sw.c: New file.
2098         * config/rs6000/floatuntikf-sw.c: New file.
2100 2021-05-13  Dimitar Dimitrov  <dimitar@dinux.eu>
2102         * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
2104 2021-05-13  Martin Liska  <mliska@suse.cz>
2106         * libgcov-driver.c: Fix GNU coding style.
2108 2021-05-10  Martin Liska  <mliska@suse.cz>
2110         * libgcov-driver.c (gcov_version): Use different name that does
2111         not clash with newly introduced macro.
2113 2021-04-29  Eric Botcazou  <ebotcazou@adacore.com>
2115         * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
2116         if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
2117         * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
2119 2021-04-28  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
2121         * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
2122         Define.
2123         (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
2124         * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
2125         Define.
2126         (__divkc3): Improve complex divide.
2128 2021-04-23  Michael Meissner  <meissner@linux.ibm.com>
2130         PR target/98952
2131         * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
2132         trampoline size comparison in 32-bit by reversing test and
2133         combining load immediate with compare.
2134         (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
2135         in 32-bit by reversing test and combining load immediate with
2136         compare.
2138 2021-04-05  Florian Weimer  <fweimer@redhat.com>
2139             Michael Meissner   <meissner@linux.ibm.com>
2141         * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
2142         point functions for $(decimal_float) only.
2144 2021-04-03  Jakub Jelinek  <jakub@redhat.com>
2146         PR target/97653
2147         * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
2148         $(objext) instead of $(object).  Use _floatunditf instead of
2149         _floatunsditf.  Add tf <-> ti conversion objects.
2150         (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
2152 2021-03-29  Michael Meissner  <meissner@linux.ibm.com>
2154         * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
2155         (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
2156         (fp128_decstr_objs): Delete.
2157         * dfp-bit.h: Call __sprintfieee128 to do conversions from
2158         _Float128 to a Decimal type.  Call __strtoieee128 to do
2159         conversions from a Decimal type to _Float128.
2160         * config/rs6000/_sprintfkf.c: Delete file.
2161         * config/rs6000/_sprintfkf.h: Delete file.
2162         * config/rs6000/_strtokf.c: Delete file.
2163         * config/rs6000/_strtokf.h: Delete file.
2165 2021-03-23  Marcus Comstedt  <marcus@mc.pp.se>
2167         * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
2168         to __BYTE_ORDER__.
2170 2021-03-06  Jakub Jelinek  <jakub@redhat.com>
2172         PR gcov-profile/99406
2173         * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
2174         defined, define these macros if not defined already.
2176 2021-03-04  Martin Liska  <mliska@suse.cz>
2178         PR gcov-profile/99105
2179         * libgcov-driver.c (write_top_counters): Rename to ...
2180         (write_topn_counters): ... this.
2181         (write_one_data): Pre-allocate buffer for number of items
2182         in the corresponding linked lists.
2183         * libgcov.h (malloc_mmap): New function.
2184         (allocate_gcov_kvp): Use it.
2186 2021-03-04  Martin Liska  <mliska@suse.cz>
2188         PR gcov-profile/99385
2189         * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
2191 2021-03-03  Martin Liska  <mliska@suse.cz>
2193         PR gcov-profile/97461
2194         * config.in: Regenerate.
2195         * configure: Likewise.
2196         * configure.ac: Check sys/mman.h header file
2197         * libgcov-driver.c (struct gcov_kvp): Remove static
2198         pre-allocated pool and use a dynamic one.
2199         * libgcov.h (MMAP_CHUNK_SIZE): New.
2200         (gcov_counter_add): Use mmap to allocate pool for struct
2201         gcov_kvp.
2203 2021-03-02  Michael Meissner  <meissner@linux.ibm.com>
2205         * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
2206         the function.
2207         * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
2209 2021-02-24  Jakub Jelinek  <jakub@redhat.com>
2211         PR libgcc/99236
2212         * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
2213         negation of m in unsigned type.
2215 2021-02-24  Christophe Lyon  <christophe.lyon@linaro.org>
2216             Hau Hsu  <hsuhau617@gmail.com>
2218         PR target/99157
2219         * config/arm/t-arm: Fix cmse support detection.
2221 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
2223         * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
2225 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
2227         * config/rs6000/_dd_to_kf.c: New file.
2228         * config/rs6000/_kf_to_dd.c: New file.
2229         * config/rs6000/_kf_to_sd.c: New file.
2230         * config/rs6000/_kf_to_td.c: New file.
2231         * config/rs6000/_sd_to_kf.c: New file.
2232         * config/rs6000/_sprintfkf.c: New file.
2233         * config/rs6000/_sprintfkf.h: New file.
2234         * config/rs6000/_strtokf.h: New file.
2235         * config/rs6000/_strtokf.c: New file.
2236         * config/rs6000/_td_to_kf.c: New file.
2237         * config/rs6000/quad-float128.h: Add new declarations.
2238         * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
2239         (fp128_decstr_funcs): New macro.
2240         (ibm128_dec_funcs): New macro.
2241         (fp128_ppc_funcs): Add the new conversions.
2242         (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
2243         compiled with -mabi=ieeelongdouble.
2244         (fp128_decstr_objs): Force __float128 <-> string conversions to be
2245         compiled with -mabi=ibmlongdouble.
2246         (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
2247         compiled with -mabi=ieeelongdouble.
2248         (FP128_CFLAGS_DECIMAL): New macro.
2249         (IBM128_CFLAGS_DECIMAL): New macro.
2250         * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
2251         (BFP_TO_DFP): Add PowerPC _Float128 support.
2252         * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
2253         IEEE 128-bit floating point.
2254         (DFP_TO_BFP): Add PowerPC _Float128 support.
2255         (BFP_TO_DFP): Add PowerPC _Float128 support.
2256         (BFP_SPRINTF): New macro.
2258 2021-01-27  Jakub Jelinek  <jakub@redhat.com>
2260         * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
2261         * config/i386/savms64f.h: Likewise.
2262         * config/i386/resms64.h: Likewise.
2263         * config/i386/resms64f.h: Likewise.
2264         * config/i386/resms64x.h: Likewise.
2265         * config/i386/resms64fx.h: Likewise.
2267 2021-01-26  Martin Liska  <mliska@suse.cz>
2269         PR gcov-profile/98739
2270         * libgcov.h (gcov_topn_add_value): Do not train when
2271         we have a merged profile with a negative number of total
2272         value.
2274 2021-01-25  Martin Liska  <mliska@suse.cz>
2276         PR gcov-profile/98739
2277         * libgcov-merge.c (__gcov_merge_topn): Mark when merging
2278         ends with a dropped counter.
2279         * libgcov.h (gcov_topn_add_value): Add return value.
2281 2021-01-13  Stafford Horne  <shorne@gmail.com>
2283         * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
2284         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
2285         FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
2286         FP_EX_ALL): New constant macros.
2287         (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
2288         FP_HANDLE_EXCEPTIONS): New macros.
2289         (_FP_TININESS_AFTER_ROUNDING): Change to 1.
2291 2021-01-13  Samuel Thibault  <samuel.thibault@gnu.org>
2293         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
2294         posix siginfo case to struct handler_args. Detect between legacy
2295         and siginfo from the second parameter, which is a small sigcode in
2296         the legacy case, and a pointer in the siginfo case.
2298 2020-12-20  Max Filippov  <jcmvbkbc@gmail.com>
2300         * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
2301         functions.
2302         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
2303         _bswapdi2.
2305 2020-12-08  Ian Lance Taylor  <iant@golang.org>
2307         * generic-morestack-thread.c (free_segments): Block signals during
2308         thread exit.
2310 2020-12-03  Michael Meissner  <meissner@linux.ibm.com>
2312         PR libgcc/97543
2313         PR libgcc/97643
2314         * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
2315         (IBM128_SHARED_OBJS): New make variable.
2316         (IBM128_OBJS): New make variable.  Set all objects to use the
2317         explicit IBM format, and disable gnu attributes.
2318         (IBM128_CFLAGS): New make variable.
2319         (gcc_s_compile): Add -mno-gnu-attribute to all shared library
2320         modules.
2322 2020-12-03  Alexandre Oliva  <oliva@adacore.com>
2324         * config/t-vxworks (LIB2ADD): Drop.
2325         * config/t-vxworks7 (LIB2ADD): Likewise.
2326         * config/vxcache.c: Remove.
2328 2020-11-30  Stefan Kanthak  <stefan.kanthak@nexgo.de>
2330         * libgcc2.c (bswapsi2): Make constants unsigned.
2332 2020-11-25  Stefan Kanthak  <stefan.kanthak@nexgo.de>
2334         * libgcc2.c (absvSI2): Simplify/improve implementation by using
2335         builtin_add_overflow.
2336         (absvsi2, absvDI2): Likewise.
2338 2020-11-20  Maciej W. Rozycki  <macro@linux-mips.org>
2340         * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
2341         (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
2343 2020-11-18  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2345         * config/msp430/lib2hw_mul.S (mult64_hw): New.
2346         (if MUL_32): Use mult64_hw for __muldi3.
2347         (if MUL_F5): Use mult64_hw for __muldi3.
2348         * config/msp430/lib2mul.c (__muldi3): New.
2349         * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
2351 2020-11-17  Alan Modra  <amodra@gmail.com>
2353         * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
2354         (LIB2_SIDITI_CONV_FUNCS): Define.
2355         * config/rs6000/ppc64-fp.c: Delete file.
2357 2020-11-15  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2359         * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
2360         hwmult library functions.
2362 2020-11-10  Jeff Law  <law@redhat.com>
2364         * libgcc2.c: Fix whitespace issues in most recent change.
2366 2020-11-10  Stefan Kanthak  <stefan.kanthak@nexgo.de>
2368         * libgcc2.c (__addvSI3): Use overflow builtins.
2369         (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
2370         (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
2371         (__negvsi2, __negvDI2): Likewise.
2372         (__cmpdi2, __ucmpdi2): Adjust implementation to improve
2373         generated code.
2374         * libgcc2.h (__ucmpdi2): Adjust prototype.
2376 2020-11-03  Pat Bernardi  <bernardi@adacore.com>
2377             Olivier Hainque   <hainque@adacore.com>
2379         * config.host (aarch64-vxworks7*, tmake_file): Add
2380         ${cpu_type}/t-lse and t-slibgcc-libgcc.
2382 2020-11-03  Martin Storsjö  <martin@martin.st>
2384         * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
2385         before calling the callback.
2387 2020-10-30  Olivier Hainque  <hainque@adacore.com>
2388             Douglas Rupp  <rupp@adacore.com>
2389             Pat Bernardi  <bernardi@adacore.com>
2391         * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
2392         to apply to VxWorks 7 as well.
2394 2020-10-29  Olivier Hainque  <hainque@adacore.com>
2396         * config/gthr-vxworks-tls.c: Fix preprocessor logic
2397         controlling the definition of VX_ENTER_TLS_DTOR and
2398         VX_LEAVE_TLS_DTOR based on a version major check.
2400 2020-10-29  Olivier Hainque  <hainque@adacore.com>
2402         * config/gthr-vxworks-thread.c: Fix name of macro used
2403         to condition the inclusion of an actual implementation.
2405 2020-10-27  Martin Liska  <mliska@suse.cz>
2407         PR gcov-profile/97461
2408         * libgcov.h (gcov_counter_add): Use first static counters
2409         as it should help to have malloc wrappers set up.
2411 2020-10-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2413         * config/gthr-vxworks-thread.c: #include gthr.h before
2414         testing the guard defined there.
2415         * config/gthr-vxworks-cond.c: Likewise.
2417 2020-10-21  Douglas Rupp  <rupp@adacore.com>
2418             Olivier Hainque  <hainque@adacore.com>
2420         * config.host (powerpc*-wrs-vxworks7*): New case.
2421         * configure.ac: Handle powerpc*-*-vxworks7* as
2422         powerpc*-*-linux* for ppc-fp_type.
2423         * configure: Regenerate.
2425 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2427         * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
2428         section on VxWorks >= 6.
2429         * config/gthr-vxworks-thread.c: Condition the entire
2430         implementation on __GTHREAD_CXX0X.
2432 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2434         * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
2435         section on VxWorks >= 6.
2436         * config/gthr-vxworks-cond.c: Condition the entire
2437         implementation on __GTHREAD_HAS_COND.
2439 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2441         * config/gthr-vxworks.c: #include <taskLib.h>.
2443 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2445         * config/gthr-vxworks.h: Rewrite remaining occurrence
2446         of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
2448 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2449              Olivier Hainque   <hainque@adacore.com>
2451         * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
2452         except on VxWorks 6.
2454 2020-10-16  Olivier Hainque  <hainque@adacore.com>
2456         * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
2458 2020-10-14  Alexandre Oliva  <oliva@adacore.com>
2460         * config/gthr-vxworks-thread.c: Include stdlib.h.
2461         (tls_delete_hook): Prototype it.
2462         (__gthread_cond_signal): Return early if no waiters.  Consume
2463         signal in case the semaphore got full.  Use semInfoGet instead
2464         of kernel-mode-only semInfo.
2465         (__gthread_cond_timedwait): Use semExchange.  Always take the
2466         mutex again before returning.
2467         * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
2469 2020-10-14  Olivier Hainque  <hainque@adacore.com>
2471         * config/t-vxworks (LIBGCC2_INCLUDES): Append
2472         $(MULTISUBDIR) to the -I path for fixed headers, as we
2473         arrange to have different sets of such headers for different
2474         multilibs when they are activated.
2475         * config/t-vxworks7: Likewise.
2477 2020-10-14  Olivier Hainque  <hainque@adacore.com>
2479         * config/t-vxworks: Add include-fixed to include search
2480         paths for libgcc on VxWorks.
2481         * config/t-vxworks7: Likewise.
2483 2020-10-09  H.J. Lu  <hjl.tools@gmail.com>
2485         PR target/97148
2486         * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
2487         instead of <cetintrin.h>.
2489 2020-10-01  Alan Modra  <amodra@gmail.com>
2491         * config/rs6000/morestack.S,
2492         * config/rs6000/tramp.S: Support __PCREL__ code.
2494 2020-10-01  Alan Modra  <amodra@gmail.com>
2496         * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
2498 2020-09-29  Maciej W. Rozycki  <macro@wdc.com>
2500         * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
2501         variable.
2503 2020-09-28  Richard Sandiford  <richard.sandiford@arm.com>
2505         * config/aarch64/libgcc-softfp.ver: New file.
2506         * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
2508 2020-09-27  Clement Chigot  <clement.chigot@atos.net>
2510         * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
2512 2020-09-22  Sergei Trofimovich  <siarheit@google.com>
2514         PR gcov-profile/96913
2515         * libgcov-driver.c (write_one_data): Avoid function pointer
2516         comparison in TOP streaming decision.
2518 2020-09-17  Torbjörn SVENSSON  <torbjorn.svensson@st.com>
2519             Christophe Lyon  <christophe.lyon@linaro.org>
2521         * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
2522         qualifier.
2523         (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
2524         (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
2525         missing prototypes.
2527 2020-09-17  Wei Wentao  <weiwt.fnst@cn.fujitsu.com>
2529         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
2530         unused variable warning.
2532 2020-09-16  Jojo R  <jiejie_rong@c-sky.com>
2534         * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
2536 2020-09-09  Tom de Vries  <tdevries@suse.de>
2538         * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
2539         Wbuiltin-declaration-mismatch.
2541 2020-08-26  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2543         * config/msp430/slli.S (__gnu_mspabi_sllp): New.
2544         * config/msp430/srai.S (__gnu_mspabi_srap): New.
2545         * config/msp430/srli.S (__gnu_mspabi_srlp): New.
2547 2020-08-13  Kwok Cheung Yeung  <kcy@codesourcery.com>
2549         * config/nvptx/atomic.c: New.
2550         * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
2552 2020-08-03  Ian Lance Taylor  <iant@golang.org>
2554         * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
2556 2020-08-03  Jakub Jelinek  <jakub@redhat.com>
2558         PR target/96402
2559         * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
2560         of x(tmp0), x(tmp1) in STXP arguments.
2562 2020-07-31  Maciej W. Rozycki  <macro@wdc.com>
2564         * config/riscv/save-restore.S [__riscv_xlen == 64]
2565         (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
2566         (__riscv_save_2): Replace negative immediates used for the final
2567         stack pointer adjustment with positive ones, right-shifted by 4.
2569 2020-07-31  Martin Liska  <mliska@suse.cz>
2571         * libgcov-driver.c: Add __gcov_kvp_pool
2572         and __gcov_kvp_pool_index variables.
2573         * libgcov.h (allocate_gcov_kvp): New.
2574         (gcov_topn_add_value): Use it.
2576 2020-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2578         * config/aarch64/lse.S: Add PAC property note.
2580 2020-07-23  Martin Liska  <mliska@suse.cz>
2582         PR gcov-profile/96035
2583         * libgcov-driver-system.c: Create gcov folders with 0777
2584         so that it respects a system umask.
2586 2020-07-14  David Edelsohn  <dje.gcc@gmail.com>
2588         * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
2590 2020-07-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2592         PR target/94891
2593         * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
2594         (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
2595         (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
2596         (MD_DEMANGLE_RETURN_ADDR): This.
2597         (aarch64_post_extract_frame_addr): Rename to ...
2598         (aarch64_demangle_return_addr): This.
2599         (aarch64_post_frob_eh_handler_addr): Remove.
2600         * unwind-dw2.c (uw_update_context): Demangle return address.
2601         (uw_frob_return_addr): Remove.
2603 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2605         PR target/96001
2606         * config/aarch64/lse.S: Add BTI marking and related definitions,
2607         and add BTI c to function entries.
2609 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2611         * config/aarch64/lse.S: Add stack note.
2613 2020-07-02  Martin Liska  <mliska@suse.cz>
2615         PR gcov-profile/95348
2616         * libgcov-driver.c (merge_one_data): Merge only profiles
2617         that are not of non-zero type.
2618         (write_one_data): Write counters only if there's one non-zero
2619         value.
2620         * libgcov-util.c (tag_function): Change signature from unsigned
2621         to int.
2622         (tag_blocks): Likewise.
2623         (tag_arcs): Likewise.
2624         (tag_counters): Likewise.
2625         (tag_summary): Likewise.
2626         (tag_lines): Read only if COUNTERS is non-zero.
2627         (read_gcda_file): Handle negative length for COUNTERS type.
2629 2020-06-25  Martin Liska  <mliska@suse.cz>
2631         * libgcov-driver.c (merge_summary): Remove function as its name
2632         is misleading and doing something different.
2633         (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
2634         in gcov-tool.
2635         * libgcov-util.c (curr_object_summary): Remove.
2636         (read_gcda_file): Remove unused curr_object_summary.
2637         (gcov_merge): Merge summaries.
2638         * libgcov.h: Add summary argument for gcov_info struct.
2640 2020-06-24  H.J. Lu  <hjl.tools@gmail.com>
2642         PR target/95259
2643         * config/i386/cpuinfo.c: Don't include "cpuinfo.h".  Include
2644         "common/config/i386/i386-cpuinfo.h" and
2645         "common/config/i386/cpuinfo.h".
2646         (__cpu_features2): Changed to array.
2647         (get_amd_cpu): Removed.
2648         (get_intel_cpu): Likewise.
2649         (get_available_features): Likewise.
2650         (__cpu_indicator_init): Call cpu_indicator_init.
2651         * config/i386/cpuinfo.h: Removed.
2653 2020-06-23  David Edelsohn  <dje.gcc@gmail.com>
2655         * Makefile.in: Remove uses of empty.mk. Use -include.
2656         * config/avr/t-avr: Use -include.
2657         * empty.mk: Delete.
2659 2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
2661         * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
2662         * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
2663         and 64 bit with -maix64.
2664         * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
2665         Build and install AIX-style FAT libraries.
2667 2020-06-17  Samuel Thibault  <samuel.thibault@gnu.org>
2669         * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
2670         'i386/gnu-unwind.h'
2671         * config/i386/gnu-unwind.h: New file.
2673 2020-06-17  Martin Liska  <mliska@suse.cz>
2675         * libgcov-util.c (read_gcda_finalize): Remove const operator.
2676         (merge_wrapper): Add both counts and use them properly.
2677         (topn_to_memory_representation): New function.
2678         (gcov_merge): Covert on disk representation to in memory
2679         representation.
2680         * libgcov.h: Remove const operator.
2682 2020-06-15  Max Filippov  <jcmvbkbc@gmail.com>
2684         * configure: Regenerate.
2685         * configure.ac: Use AC_COMPILE_IFELSE instead of manual
2686         preprocessor invocation to check for __XTENSA_CALL0_ABI__.
2688 2020-06-09  Martin Liska  <mliska@suse.cz>
2690         PR gcov-profile/95494
2691         * libgcov-driver.c (write_top_counters): Cast first to
2692         intptr_t as sizeof(*) != sizeof(gcov_type).
2693         * libgcov.h (gcov_counter_set_if_null): Remove.
2694         (gcov_topn_add_value): Cast first to intptr_t and update
2695         linked list directly.
2697 2020-06-09  Max Filippov  <jcmvbkbc@gmail.com>
2699         * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
2700         with uw_install_context_1.
2702 2020-06-04  Andreas Schwab  <schwab@suse.de>
2704         PR target/59230
2705         PR libfortran/59227
2706         * config/ia64/t-softfp-compat (softfp_file_list): Filter out
2707         soft-fp/divtf3.c.
2708         (LIB2ADD): Add config/ia64/divtf3.c.
2709         * config/ia64/divtf3.c: New file.
2711 2020-06-03  Martin Liska  <mliska@suse.cz>
2713         PR gcov-profile/95480
2714         * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
2715         * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
2716         (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
2717         (gcov_counter_set_if_null): Likewise.
2719 2020-06-02  Jim Wilson  <jimw@sifive.com>
2721         * config/riscv/div.S (__divdi3): For negative arguments, change bgez
2722         to bgtz.
2724 2020-06-02  Martin Liska  <mliska@suse.cz>
2726         * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2727         of xmalloc.
2729 2020-06-02  Martin Liska  <mliska@suse.cz>
2731         * libgcov-driver.c (prune_topn_counter): Remove.
2732         (prune_counters): Likewise.
2733         (merge_one_data): Special case TOP N counters
2734         as they have variable length.
2735         (write_top_counters): New.
2736         (write_one_data): Special case TOP N.
2737         (dump_one_gcov): Do not prune TOP N counters.
2738         * libgcov-merge.c (merge_topn_values_set): Remove.
2739         (__gcov_merge_topn): Use gcov_topn_add_value.
2740         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2741         Likewise here.
2742         * libgcov.h (gcov_counter_add): New.
2743         (gcov_counter_set_if_null): Likewise.
2744         (gcov_topn_add_value): New.
2746 2020-06-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2748         * config/i386/sfp-exceptions.c (struct fenv):
2749         Add __attribute__ ((gcc_struct)).
2751 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
2753         PR bootstrap/95413
2754         * configure: Regenerated.
2756 2020-05-28  Dong JianQiang  <dongjianqiang2@huawei.com>
2758         PR gcov-profile/95332
2759         * libgcov-util.c (read_gcda_file): Call gcov_magic.
2760         * libgcov.h (gcov_magic): Disable GCC poison.
2762 2020-05-21  H.J. Lu  <hongjiu.lu@intel.com>
2764         PR target/95212
2765         * config/i386/cpuinfo.h (processor_features): Move
2766         FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2768 2020-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2770         PR target/91695
2771         * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2772         check.
2774 2020-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2776         PR target/95212
2777         PR target/95220
2778         * config/i386/cpuinfo.c (get_available_features): Fix
2779         FEATURE_GFNI check.  Also check FEATURE_AVX512VP2INTERSECT.
2780         * config/i386/cpuinfo.h (processor_features): Add
2781         FEATURE_AVX512VP2INTERSECT.
2783 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2785         PR bootstrap/95147
2786         * configure: Regenerated.
2788 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2790         * configure: Regenerated.
2792 2020-05-09  Hans-Peter Nilsson  <hp@axis.com>
2794         * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2795         * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2797 2020-05-06  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2799         * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2800         (__math_force_eval_div): New define.
2801         (__sfp_handle_exceptions): Use __math_force_eval_div to use
2802         generic division to generate INVALID, DIVZERO and INEXACT
2803         exceptions.
2805 2020-05-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2807         * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2808         instead of getauxval.
2809         (AT_HWCAP): Define.
2810         (HWCAP_ATOMICS): Define.
2811         Guard detection on __gnu_linux__.
2813 2020-05-05  Michael Meissner  <meissner@linux.ibm.com>
2815         * config.host: Delete changes meant for a private branch.
2816         * config/rs6000/t-float128: Likewise.
2817         * configure.ac: Likewise.
2818         * configure: Likewise.
2820 2020-05-05  Martin Liska  <mliska@suse.cz>
2822         PR gcov-profile/93623
2823         * Makefile.in: Remove __gcov_flush.
2824         * gcov.h (__gcov_flush): Remove.
2825         * libgcov-interface.c (__gcov_flush): Remove.
2826         (init_mx): Use renamed mutex.
2827         (__gcov_lock): Likewise.
2828         (__gcov_unlock): Likewise.
2829         (__gcov_fork): Likewise.
2830         (__gcov_flush): Remove.
2832 2020-05-05  Martin Liska  <mliska@suse.cz>
2834         PR gcov-profile/93623
2835         * libgcov-interface.c (__gcov_fork): Do not flush
2836         and reset only in child process.
2837         (__gcov_execl): Dump counters only and reset them
2838         only if exec* fails.
2839         (__gcov_execlp): Likewise.
2840         (__gcov_execle): Likewise.
2841         (__gcov_execv): Likewise.
2842         (__gcov_execvp): Likewise.
2843         (__gcov_execve): Likewise.
2845 2020-05-05  Martin Liska  <mliska@suse.cz>
2847         PR gcov-profile/93623
2848         * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2849         * libgcov-interface.c (ALIAS_void_fn): Remove.
2850         (__gcov_lock): New.
2851         (__gcov_unlock): New.
2852         (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2853         (__gcov_reset): Likewise.
2854         (__gcov_dump): Likewise.
2855         * libgcov.h (__gcov_lock): New declaration.
2856         (__gcov_unlock): Likewise.
2858 2020-05-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2860         * config/i386/sfp-exceptions.c (__math_force_eval): New define.
2861         (__sfp_handle_exceptions): Use __math_force_eval to evaluate
2862         generic division to generate INVALID and DIVZERO exceptions.
2864 2020-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2866         * config/rs6000/crtresfpr.S: Use .machine ppc.
2867         * config/rs6000/crtresxfpr.S: Likewise.
2868         * config/rs6000/crtsavfpr.S: Likewise.
2870 2020-04-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2872         PR target/94514
2873         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2874         Update context->flags accroding to the frame state.
2876 2020-04-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2878         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2879         Remove unneeded assignments to volatile memory.
2881 2020-04-15  Jakub Jelinek  <jakub@redhat.com>
2883         PR target/93053
2884         * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2885         * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2886         is not defined, use just .arch armv8-a.
2887         (B, M, N, OPN): Define.
2888         (COMMENT): New .macro.
2889         (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2890         defined.  Otherwise, move the operands right after the glue? and
2891         comment out operands where the macros are used.
2892         * configure: Regenerated.
2893         * config.in: Regenerated.
2895 2020-04-07  Ian Lance Taylor  <iant@golang.org>
2897         PR libgcc/94513
2898         * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2899         syscall instead.
2901 2020-04-04  Ian Lance Taylor  <iant@golang.org>
2903         * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2905 2020-04-03  Ian Lance Taylor  <iant@golang.org>
2907         * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2908         than mmap/munmap, to avoid hooks.
2910 2020-04-03  Jim Johnston  <jjohnst@us.ibm.com>
2912         * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2913         (TPFRA_OFFSET): Macros removed.
2914         (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2915         (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2916         (PG3_SKIPPING_OFFSET): New macros.
2917         (__isPATrange): Use cinfc_fast for the check.
2918         (__isSkipResetAddr): New function.
2919         (s390_fallback_frame_state): Check for skip trace addresses. Use
2920         either ICST_CRET or ICST_SRET to calculate return address
2921         location.
2922         (__tpf_eh_return): Handle skip trace addresses.
2924 2020-03-26  Richard Earnshaw  <rearnsha@arm.com>
2926         PR target/94220
2927         * config/arm/lib1funcs.asm (COND): Use a single definition for
2928         unified syntax.
2929         (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2930         (aeabi_idivmod): Likewise.
2931         (divsi3_skip_div0_test): Likewise.
2933 2020-03-17  Mihail Ionescu  <mihail.ionescu@arm.com>
2935         * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2937 2020-03-04  Andreas Krebbel  <krebbel@linux.ibm.com>
2939         * config.host: Include the new makefile fragment.
2940         * config/s390/t-tpf: New file.
2942 2020-03-03  Richard Earnshaw  <rearnsha@arm.com>
2944         * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2945         syntax.
2946         (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2947         (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2948         (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
2949         (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
2950         * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
2951         syntax.
2952         (divsi3, modsi3): Likewise.
2953         (clzdi2, ctzsi2): Likewise.
2954         * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
2955         unified syntax.
2956         (UNWIND_WRAPPER): Likewise.
2958 2020-03-02  Martin Liska  <mliska@suse.cz>
2960         * libgcov-interface.c: Remove duplicate
2961         declaration of __gcov_flush_mx.
2963 2020-02-18  Martin Liska  <mliska@suse.cz>
2965         PR ipa/92924
2966         * libgcov-merge.c (merge_topn_values_set): Record
2967         when a TOP N counter becomes invalid.  When merging
2968         remove a smallest value if the space is needed.
2970 2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
2972         PR libstdc++/79193
2973         PR libstdc++/88999
2975         * configure: Regenerated.
2977 2020-02-10  Jeff Law  <law@redhat.com>
2979         * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
2980         sections.
2981         * config/frv/frvend.c: Similarly.
2983 2020-02-10  H.J. Lu  <hongjiu.lu@intel.com>
2985         PR libgcc/85334
2986         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2987         New.
2989 2020-02-10  Christophe Lyon  <christophe.lyon@linaro.org>
2991         PR target/93615
2992         * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
2993         _Unwind_gnu_Find_got.
2994         * unwind-pe.h: Likewise.
2996 2020-02-07  Jakub Jelinek  <jakub@redhat.com>
2998         PR target/93615
2999         * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
3000         (_Unwind_gnu_Find_got): ... this.  Use __asm instead of asm.  Remove
3001         trailing :s in asm.  Formatting fixes.
3002         (_Unwind_decode_typeinfo_ptr): Adjust caller.
3004 2020-01-31  Sandra Loosemore  <sandra@codesourcery.com>
3006         nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
3008         * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
3009         * config/nios2-elf-lib.h: New.
3010         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
3011         code for finding GOT base for nios2.
3013 2020-01-27  Martin Liska  <mliska@suse.cz>
3015         PR gcov-profile/93403
3016         * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
3017         Call __gcov_indirect_call_profiler_body.
3018         (__gcov_indirect_call_profiler_body): New.
3019         (__gcov_indirect_call_profiler_v4_atomic): New.
3020         * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
3021         New declaration.
3023 2020-01-27  Claudiu Zissulescu  <claziss@synopsys.com>
3025         * config/arc/crti.S: Add RF16 object attribute.
3026         * config/arc/crtn.S: Likewise.
3027         * config/arc/crttls.S: Likewise.
3028         * config/arc/lib1funcs.S: Likewise.
3029         * config/arc/fp-hack.h (ARC_OPTFPE): Define.
3030         * config/arc/lib2funcs.c: New file.
3031         * config/arc/t-arc: Add lib2funcs to LIB2ADD.
3033 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
3035         * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
3036         * configure.ac: Handle `--with-toolexeclibdir='.
3037         * configure: Regenerate.
3039 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
3041         * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
3043 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
3045         * config/mips/gnustack.h: New file.
3046         * config/mips/crti.S: Include gnustack.h.
3047         * config/mips/crtn.S: Likewise.
3048         * config/mips/mips16.S: Likewise.
3049         * config/mips/vr4120-div.S: Likewise.
3051 2020-01-23  Martin Liska  <mliska@suse.cz>
3053         * libgcov-driver.c (prune_topn_counter): Remove
3054         check for -1 as we only prune run-time counters
3055         that do not generate an invalid state.
3057 2020-01-22  Martin Liska  <mliska@suse.cz>
3059         PR tree-optimization/92924
3060         * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
3061         try to find an existing value, then find an empty slot
3062         if not found.
3064 2020-01-22  Martin Liska  <mliska@suse.cz>
3066         PR tree-optimization/92924
3067         * libgcov-driver.c (prune_topn_counter): New.
3068         (prune_counters): Likewise.
3069         (dump_one_gcov): Prune a run-time counter.
3070         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
3071         For a known value, add GCOV_TOPN_VALUES to value.
3072         Otherwise, decrement all counters by one.
3074 2020-01-18  Hans-Peter Nilsson  <hp@axis.com>
3076         * config/cris/arit.c (DS): Apply attribute __fallthrough__.
3078 2020-01-18  John David Anglin  <danglin@gcc.gnu.org>
3080         PR libgcc/92988
3081         * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
3082         DEFAULT_USE_CXA_ATEXIT is true.
3084 2020-01-16  Mihail-Calin Ionescu  <mihail.ionescu@arm.com>
3085             Thomas Preud'homme  <thomas.preudhomme@arm.com>
3087         * config/arm/t-arm: Check return value of gcc rather than lack of
3088         output.
3090 2020-01-14  Georg-Johann Lay  <avr@gjlay.de>
3092         * config/avr/lib1funcs.S (skip): Simplify.
3094 2020-01-10  Kwok Cheung Yeung  <kcy@codesourcery.com>
3096         * config/gcn/atomic.c: Remove include of stdint.h.
3097         (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
3098         __UINTPTR_TYPE__.
3100 2020-01-09  Kwok Cheung Yeung  <kcy@codesourcery.com>
3102         * config/gcn/atomic.c: New.
3103         * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
3105 2020-01-08  Georg-Johann Lay  <avr@gjlay.de>
3107         Implement 64-bit double functions.
3109         PR target/92055
3110         * config.host (tmake_file) [target=avr]: Add t-libf7,
3111         t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
3112         * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
3113         depending on sizeof (double) or sizeof (long double).
3114         * config/avr/libf7: New folder.
3116 2020-01-05  Olivier Hainque  <hainque@adacore.com>
3118         * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
3119         by IN_LIBGCC2.
3121 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
3123         Update copyright years.
3125 2019-12-30  Olivier Hainque  <hainque@adacore.com>
3127         * config/gthr-vxworks.h: Use _vxworks-versions.h.
3128         * config/gthr-vxworks-tls.c: Likewise.
3130 2019-12-30  Olivier Hainque  <hainque@adacore.com>
3132         * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
3133         standard zero-initializer syntax.
3135 2019-12-30  Olivier Hainque  <hainque@adacore.com>
3137         * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
3138         reference to the internal VX_GET_TLS_DATA interface.
3140 2019-12-30  Olivier Hainque  <hainque@adacore.com>
3142         * config/vxcrtstuff.c: Fix incorrect spelling of
3143         USE_INITFINI_ARRAY in guard.
3145 2019-12-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3147         * config.host: s/msp430*-*-elf/msp430-*-elf*.
3148         Override default "extra_parts" variable.
3149         * configure: Regenerate.
3150         * configure.ac: Disable TM clone registry by default for
3151         msp430-elfbare.
3153 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3155         * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
3156         "extra_parts".
3157         * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
3159 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3161         * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
3162         true.
3164 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3166         * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
3167         defined instead of its value.
3169 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3171         * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
3172         if it will have contents.
3174 2019-12-05  Georg-Johann Lay  <avr@gjlay.de>
3176         PR target/92055
3177         * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
3179 2019-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3181         PR libgcc/91737
3182         * config.host: Add t-gthr-noweak on *-*-musl*.
3183         * config/t-gthr-noweak: New file.
3185 2019-11-17  John David Anglin  <danglin@gcc.gnu.org>
3187         * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
3188         volatile void *.  Remove trap check.
3189         (__kernel_cmpxchg2): Likewise.
3190         (FETCH_AND_OP_2): Adjust operand types.
3191         (OP_AND_FETCH_2): Likewise.
3192         (FETCH_AND_OP_WORD): Likewise.
3193         (OP_AND_FETCH_WORD): Likewise.
3194         (COMPARE_AND_SWAP_2): Likewise.
3195         (__sync_val_compare_and_swap_4): Likewise.
3196         (__sync_bool_compare_and_swap_4): Likewise.
3197         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3198         (__sync_lock_test_and_set_4): Likewise.
3199         (SYNC_LOCK_RELEASE_1): Likewise.  Use __kernel_cmpxchg2 for release.
3200         (__sync_lock_release_4): Adjust operand types.  Use __kernel_cmpxchg
3201         for release.
3202         (__sync_lock_release_8): Remove.
3204 2019-11-15  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3206         * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
3207         of __sigset_t.
3209 2019-11-14  Jerome Lambourg  <lambourg@adacore.com>
3210             Doug Rupp <rupp@adacore.com>
3211             Olivier Hainque  <hainque@adacore.com>
3213         * config.host: Collapse the arm-vxworks entries into
3214         a single arm-wrs-vxworks7* one.
3215         * config/arm/unwind-arm-vxworks.c: Update comments.  Provide
3216         __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
3217         kernel modules, to be overriden by libstdc++ when we link with
3218         it.  Rely on externally provided __exidx_start/end.
3220 2019-11-14  Doug Rupp  <rupp@adacore.com>
3221             Olivier Hainque  <hainque@adacore.com>
3223         * config.host: Handle aarch64*-wrs-vxworks7*.
3225 2019-11-12  Olivier Hainque  <hainque@adacore.com>
3227         * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
3228         sources except the cxx0x support to LIB2ADDEH.  We don't support
3229         cxx0x on AE/653.
3230         * config/t-vxworksae: New file.
3231         * config.host: Handle *-*-vxworksae: Add the two aforementioned
3232         Makefile fragment files at their expected position in the tmake_file
3233         list, in accordance with what is done for other VxWorks variants.
3235 2019-11-12  Corentin Gay  <gay@adacore.com>
3236             Jerome Lambourg  <lambourg@adacore.com>
3237             Olivier Hainque  <hainque@adacore.com>
3239         * config/t-gthr-vxworks: New file, add all the gthr-vxworks
3240         sources to LIB2ADDEH.
3241         * config/t-vxworks: Remove adjustments to LIB2ADDEH.
3242         * config/t-vxworks7: Likewise.
3244         * config.host: Append a block at the end of the file to add the
3245         t-gthr files to the tmake_file list for VxWorks after everything
3246         else.
3248         * config/vxlib.c: Rename as gthr-vxworks.c.
3249         * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
3251         * config/gthr-vxworks.h: Simplify a few comments.  Expose a TAS
3252         API and a basic error checking API, both internal.  Simplify the
3253         __gthread_once_t type definition and initializers.  Add sections
3254         for condition variables support and for the C++0x thread support,
3255         conditioned against Vx653 for the latter.
3257         * config/gthr-vxworks.c (__gthread_once): Simplify comments and
3258         implementation, leveraging the TAS internal API.
3259         * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
3260         API, leveraging the general availability of TLS services in VxWorks7
3261         post SR6xxx.
3262         (__gthread_setspecific, __gthread_setspecific): Use it.
3263         (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
3264         * config/gthr-vxworks-cond.c: New file.  GTHREAD_COND variable
3265         support based on VxWorks primitives.
3266         * config/gthr-vxworks-thread.c: New file.  GTHREAD_CXX0X support
3267         based on VxWorks primitives.
3269 2019-11-06  Jerome Lambourg  <lambourg@adacore.com>
3270             Olivier Hainque  <hainque@adacore.com>
3272         * config/vxcrtstuff.c: New file.
3273         * config/t-vxcrtstuff: New Makefile fragment.
3274         * config.host: Append t-vxcrtstuff to the tmake_file list
3275         on all VxWorks ports using dwarf for table based EH.
3277 2019-11-07  Georg-Johann Lay  <avr@gjlay.de>
3279         Support 64-bit double and 64-bit long double configurations.
3281         PR target/92055
3282         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
3283         long double is a 32-bit type.
3284         * config/avr/t-avrlibc: Copy double64 and long-double64
3285         multilib(s) from the vanilla one.
3286         * config/avr/t-copy-libgcc: New Makefile snip.
3288 2019-11-04  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3290         * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
3291         the target output object format is not ELF.
3292         s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
3294 2019-11-03  Oleg Endo  <olegendo@gcc.gnu.org>
3296         PR libgcc/78804
3297         * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
3298         * fp-bit.c (pack_d, unpack_d): Remove special cases for
3299         FLOAT_BIT_ORDER_MISMATCH.
3300         * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
3302 2019-11-01  Jim Wilson  <jimw@sifive.com>
3304         * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
3306 2019-10-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3308         * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
3309         s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY, 
3310         s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
3311         Define symbols for 32-bit and f5series hardware multiply
3312         register addresses.
3313         Replace hard-coded register addresses with symbols.
3314         Fix "_mspabi*" typo.
3315         Fix whitespace.
3316         * config/msp430/lib2mul.c: Add comment.
3318 2019-10-15  John David Anglin  <danglin@gcc.gnu.org>
3320         * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
3321         unsigned int.  Adjust callers.
3322         (__canonicalize_funcptr_for_compare): Change plabel type to volatile
3323         unsigned int *.  Load relocation offset before function pointer.
3324         Add barrier to ensure ordering.
3326 2019-10-12  John David Anglin  <danglin@gcc.gnu.org>
3328         * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
3329         Load PIC register after branch target.  Fix white space.
3330         * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
3331         implementations.  Load PIC register after branch target.  Don't
3332         clobber function pointer when it points to function descriptor.
3333         Use nullification instead of branch in LINUX implementation.
3335 2019-10-03  John David Anglin  <danglin@gcc.gnu.org>
3337         * config/pa/fptr.c: Disable -Warray-bounds warning.
3339 2019-09-25  Richard Henderson  <richard.henderson@linaro.org>
3341         * config.in, configure: Re-rebuild with stock autoconf 2.69,
3342         not the ubuntu modified 2.69.
3344         PR target/91833
3345         * config/aarch64/lse-init.c: Include auto-target.h.  Disable
3346         initialization if !HAVE_SYS_AUXV_H.
3347         * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
3348         * config.in, configure: Rebuild.
3350         PR target/91834
3351         * config/aarch64/lse.S (LDNM): Ensure STXR output does not
3352         overlap the inputs.
3354 2019-09-25  Shaokun Zhang  <zhangshaokun@hisilicon.com>
3356         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
3357         CTR_EL0.IDC and CTR_EL0.DIC.
3359 2019-09-20  Christophe Lyon  <christophe.lyon@st.com>
3361         Revert:
3362         2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3363                 Mickaël Guêné <mickael.guene@st.com>
3365         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3366         architecture.
3368 2019-09-19  Richard Henderson  <richard.henderson@linaro.org>
3370         * config/aarch64/lse-init.c: New file.
3371         * config/aarch64/lse.S: New file.
3372         * config/aarch64/t-lse: New file.
3373         * config.host: Add t-lse to all aarch64 tuples.
3375 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3376         Mickaël Guêné <mickael.guene@st.com>
3378         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3379         architecture.
3381 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3382         Mickaël Guêné <mickael.guene@st.com>
3384         * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
3385         (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
3386         (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
3387         (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
3388         (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
3389         (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
3390         (__gnu_personality_sigframe_fdpic): New.
3391         (get_eit_entry): Add FDPIC signal frame support.
3393 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3394         Mickaël Guêné <mickael.guene@st.com>
3396         * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
3397         (__kernel_dmb): Likewise.
3398         (__fdpic_cmpxchg): New function.
3399         (__fdpic_dmb): New function.
3400         * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
3401         (gnu_Unwind_Find_got): New function.
3402         (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
3403         * unwind-arm-common.inc (UCB_PR_GOT): New.
3404         (funcdesc_t): New struct.
3405         (get_eit_entry): Add FDPIC support.
3406         (unwind_phase2): Likewise.
3407         (unwind_phase2_forced): Likewise.
3408         (__gnu_Unwind_RaiseException): Likewise.
3409         (__gnu_Unwind_Resume): Likewise.
3410         (__gnu_Unwind_Backtrace): Likewise.
3411         * unwind-pe.h (read_encoded_value_with_base): Likewise.
3413 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3414         Mickaël Guêné <mickael.guene@st.com>
3416         * libgcc/crtstuff.c: Add support for FDPIC.
3418 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3420         * config.host: Handle *-*-uclinuxfdpiceabi.
3422 2019-09-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
3424         * config.host: Set cpu_type for bpf-*-* targets.
3425         * config/bpf/t-bpf: Likewise.
3426         * config/bpf/crtn.S: Likewise.
3427         * config/bpf/crti.S: New file.
3429 2019-09-06  Jim Wilson  <jimw@sifive.com>
3431         * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3432         (riscv*-*-freebsd*): Likewise.
3434 2019-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
3436         * config.host: Remove references to spu.
3437         * config/spu/: Remove directory.
3439 2019-08-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3441         PR target/91306
3442         * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
3443         element type, instead of "sizeof" the element type.
3444         (__DTOR_LIST__): Likewise.
3445         (__TMC_LIST__): Likewise.
3446         (__do_global_dtors_aux_fini_array_entry): Likewise.
3447         (__frame_dummy_init_array_entry): Likewise.
3448         (__CTOR_END__): Likewise.
3449         (__DTOR_END__): Likweise.
3450         (__FRAME_END__): Likewise.
3451         (__TMC_END__): Likewise.
3453 2019-08-20  Lili Cui  <lilicui@intel.com>
3455         * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
3456         INTEL_COREI7_COOPERLAKE.
3458 2019-07-31  Matt Thomas  <matt@3am-software.com>
3459             Nick Hudson <nick@nthcliff.demon.co.uk>
3460             Matthew Green <mrg@eterna.com.au>
3461             Maya Rashish <coypu@sdf.org>
3463         * config.host (hppa*-*-netbsd*): New case.
3464         * config/pa/t-netbsd: New file.
3466 2019-07-31  Joel Hutton  <Joel.Hutton@arm.com>
3468         * config/arm/cmse.c (cmse_check_address_range): Add
3469         warn_unused_result attribute.
3471 2019-07-22  Martin Liska  <mliska@suse.cz>
3473         * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
3474         * config/pa/t-stublib: Likewise.
3476 2019-07-22  Stafford Horne  <shorne@gmail.com>
3478         PR target/90362
3479         * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
3480         to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
3481         instructions are not available on every processor.  Change a
3482         l.bnf to l.bf to fix logic issue.
3484 2019-07-04  Iain Sandoe  <iain@sandoe.co.uk>
3486         * config.host: Remove reference to t-darwin8.
3488 2019-07-03  Iain Sandoe  <iain@sandoe.co.uk>
3490         * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
3491         list.
3492         * config/rs6000/t-darwin: Build crt3_2 for older systems.  Revise
3493         mmacosx-version-min for crts to run across all system versions.
3494         * config/rs6000/t-darwin64 (LIB2ADD): Remove.
3495         * config/t-darwin: Revise mmacosx-version-min for crts to run across
3496         system versions >= 10.4.
3498 2019-07-03  Martin Liska  <mliska@suse.cz>
3500         * Makefile.in: Use topn_values instead of one_value names.
3501         * libgcov-merge.c (__gcov_merge_single): Move to ...
3502         (__gcov_merge_topn): ... this.
3503         (merge_single_value_set): Move to ...
3504         (merge_topn_values_set): ... this.
3505         * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
3506         ...
3507         (__gcov_topn_values_profiler_body): ... this.
3508         (__gcov_one_value_profiler_v2): Move to ...
3509         (__gcov_topn_values_profiler): ... this.
3510         (__gcov_one_value_profiler_v2_atomic): Move to ...
3511         (__gcov_topn_values_profiler_atomic): ... this.
3512         (__gcov_indirect_call_profiler_v4): Remove.
3513         * libgcov-util.c (__gcov_single_counter_op): Move to ...
3514         (__gcov_topn_counter_op): ... this.
3515         * libgcov.h (L_gcov_merge_single): Remove.
3516         (L_gcov_merge_topn): New.
3517         (__gcov_merge_single): Remove.
3518         (__gcov_merge_topn): New.
3519         (__gcov_one_value_profiler_v2): Move to ..
3520         (__gcov_topn_values_profiler): ... this.
3521         (__gcov_one_value_profiler_v2_atomic): Move to ...
3522         (__gcov_topn_values_profiler_atomic): ... this.
3524 2019-07-03  Martin Liska  <mliska@suse.cz>
3526         * libgcov-merge.c (merge_single_value_set): Support N values.
3527         * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
3529 2019-06-27  Ilia Diachkov  <ilia.diachkov@optimitech.com>
3531         * Makefile.in (USE_TM_CLONE_REGISTRY): New.
3532         (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
3533         * configure.ac: Add --disable-tm-clone-registry option.
3534         * configure: Regenerate.
3536 2019-06-27  Martin Liska  <mliska@suse.cz>
3538         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
3539         dead assignments.
3540         * libgcov-util.c: Likewise.
3542 2019-06-27  Martin Liska  <mliska@suse.cz>
3544         * libgcov-util.c (gcov_profile_merge): Release allocated
3545         memory.
3546         (calculate_overlap): Likewise.
3548 2019-06-25  Iain Sandoe  <iain@sandoe.co.uk>
3550         * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
3551         * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
3552         Build objects for the out of line save/restore register functions
3553         so that they can be used for any supported Darwin version.
3554         * config/t-darwin: Default the build Darwin version to Darwin8
3555         (MacOS 10.4).
3557 2019-06-25  Martin Liska  <mliska@suse.cz>
3559         * libgcov-driver-system.c (replace_filename_variables): Do not
3560         call strlen with NULL argument.
3562 2019-06-25  Andrew Stubbs  <ams@codesourcery.com>
3564         * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
3565         * config/gcn/unwind-gcn.c: New file.
3567 2019-06-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
3568             Andrew Stubbs  <ams@codesourcery.com>
3570         * configure: Regenerate.
3571         * config/gcn/gthr-gcn.h: New.
3573 2019-06-18  Tom de Vries  <tdevries@suse.de>
3575         * config/nvptx/crt0.c (__main): Declare.
3577 2019-06-17  Matthew Green  <mrg@eterna.com.au>
3578             Maya Rashish  <coypu@sdf.org>
3580         * config.host (aarch64*-*-netbsd*): New case.
3582 2019-06-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3584         * config/msp430/slli.S (__mspabi_sllll): New library function for
3585         performing a logical left shift of a 64-bit value.
3586         * config/msp430/srai.S (__mspabi_srall): New library function for
3587         performing a arithmetic right shift of a 64-bit value.
3588         * config/msp430/srll.S (__mspabi_srlll): New library function for
3589         performing a logical right shift of a 64-bit value.
3591 2019-06-14  Matt Thomas  <matt@3am-software.com>
3592             Matthew Green  <mrg@eterna.com.au>
3593             Nick Hudson  <skrll@netbsd.org>
3594             Maya Rashish  <coypu@sdf.org>
3596         * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
3597         * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
3598         functions to build.
3599         * config/arm/t-netbsd-eabi: New file.
3601 2019-06-12  Dimitar Dimitrov  <dimitar@dinux.eu>
3603         * config.host: Add PRU target.
3604         * config/pru/asri.c: New file.
3605         * config/pru/eqd.c: New file.
3606         * config/pru/eqf.c: New file.
3607         * config/pru/ged.c: New file.
3608         * config/pru/gef.c: New file.
3609         * config/pru/gtd.c: New file.
3610         * config/pru/gtf.c: New file.
3611         * config/pru/led.c: New file.
3612         * config/pru/lef.c: New file.
3613         * config/pru/lib2bitcountHI.c: New file.
3614         * config/pru/lib2divHI.c: New file.
3615         * config/pru/lib2divQI.c: New file.
3616         * config/pru/lib2divSI.c: New file.
3617         * config/pru/libgcc-eabi.ver: New file.
3618         * config/pru/ltd.c: New file.
3619         * config/pru/ltf.c: New file.
3620         * config/pru/mpyll.S: New file.
3621         * config/pru/pru-abi.h: New file.
3622         * config/pru/pru-asm.h: New file.
3623         * config/pru/pru-divmod.h: New file.
3624         * config/pru/sfp-machine.h: New file.
3625         * config/pru/t-pru: New file.
3627 2019-06-11  Jakub Jelinek  <jakub@redhat.com>
3629         * libgcov-merge.c (__gcov_merge_single): Revert previous change.
3631 2019-06-10  Martin Liska  <mliska@suse.cz>
3633         PR bootstrap/90808
3634         * libgcov.h: Add ATTRIBUTE_UNUSED.
3636 2019-06-10  Martin Liska  <mliska@suse.cz>
3638         * Makefile.in: Add __gcov_one_value_profiler_v2,
3639         __gcov_one_value_profiler_v2_atomic and
3640         __gcov_indirect_call_profiler_v4.
3641         * libgcov-merge.c (__gcov_merge_single): Change
3642         function signature.
3643         (merge_single_value_set): New.
3644         * libgcov-profiler.c (__gcov_one_value_profiler_body):
3645         Update functionality.
3646         (__gcov_one_value_profiler): Remove.
3647         (__gcov_one_value_profiler_v2): ... this.
3648         (__gcov_one_value_profiler_atomic): Rename to ...
3649         (__gcov_one_value_profiler_v2_atomic): this.
3650         (__gcov_indirect_call_profiler_v3): Rename to ...
3651         (__gcov_indirect_call_profiler_v4): ... this.
3652         * libgcov.h (__gcov_one_value_profiler): Remove.
3653         (__gcov_one_value_profiler_atomic): Remove.
3654         (__gcov_one_value_profiler_v2_atomic): New.
3655         (__gcov_indirect_call_profiler_v3): Remove.
3656         (__gcov_one_value_profiler_v2): New.
3657         (__gcov_indirect_call_profiler_v4): New.
3658         (gcov_get_counter_ignore_scaling): New function.
3660 2019-06-07  Martin Liska  <mliska@suse.cz>
3662         * Makefile.in: Remove usage of
3663         _gcov_merge_icall_topn.
3664         * libgcov-driver.c (gcov_sort_n_vals): Remove.
3665         (gcov_sort_icall_topn_counter): Likewise.
3666         (gcov_sort_topn_counter_arrays): Likewise.
3667         (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
3668         * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
3669         * libgcov-profiler.c (__gcov_topn_value_profiler_body):
3670         Likewise.
3671         (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
3672         (struct indirect_call_tuple): Remove.
3673         (__gcov_indirect_call_topn_profiler): Remove.
3674         * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
3675         * libgcov.h (gcov_sort_n_vals): Remove.
3676         (L_gcov_merge_icall_topn): Likewise.
3677         (__gcov_merge_icall_topn): Likewise.
3678         (__gcov_indirect_call_topn_profiler): Likewise.
3680 2019-06-06  Iain Sandoe  <iain@sandoe.co.uk>
3682         * config/rs6000/t-darwin: Ensure that the unwinder is built with
3683         altivec enabled.
3685 2019-06-06  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3687         * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
3688         section.
3689         (__mspabi_slli): Likewise.
3690         (__mspabi_slll_n): Likewise.
3691         (__mspabi_slll): Likewise.
3692         * config/msp430/srai.S (__mspabi_srai_n): Likewise.
3693         (__mspabi_srai): Likewise.
3694         (__mspabi_sral_n): Likewise.
3695         (__mspabi_sral): Likewise.
3696         * config/msp430/srli.S (__mspabi_srli_n): Likewise.
3697         (__mspabi_srli): Likewise.
3698         (__mspabi_srll_n): Likewise.
3699         (__mspabi_srll): Likewise.
3701 2019-06-05  Yoshinori Sato  <ysato@users.sourceforge.jp>
3703         * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
3704         Add appropriate tm_file clause as well.
3705         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
3707 2019-06-05  James Clarke  <jrtc27@jrtc27.com>
3709         * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
3710         rather than .data/.bss so it can be accessed via gp-relative
3711         addressing.
3713 2019-06-05  David Edelsohn  <dje.gcc@gmail.com>
3715         * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
3716         (CR2_REGNO): Rename to R_CR2.
3717         (XER_REGNO): Rename to R_XER.
3718         (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
3719         (VRSAVE_REGNO): Rename to R_VRSAVE.
3720         (VSCR_REGNO): R_VSCR.
3722 2019-05-29  Yoshinori Sato  <ysato@users.sourceforge.jp>
3724         * config.host (rx-*-linux*): Add new case.
3725         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3727 2019-05-29  Sam Tebbs  <sam.tebbs@arm.com>
3729         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3730         function.
3731         * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3732         aarch64_post_frob_eh_handler_addr): Add check for b-key.
3733         * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3734         aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3735         Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3736         * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3737         string.
3738         * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3739         string.
3740         (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3742 2019-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3744         * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3745         Remove Solaris 9 and 10 support.
3746         (sparc_is_sighandler): Likewise.
3748 2019-05-26  John David Anglin  <danglin@gcc.gnu.org>
3750         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3752 2019-05-17  H.J. Lu  <hongjiu.lu@intel.com>
3754         * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3755         4_FP_W_TYPEs are used for IEEE quad precision.
3756         * soft-fp/extendhftf2.c: Likewise.
3757         * soft-fp/extendsftf2.c: Likewise.
3758         * soft-fp/extendxftf2.c: Likewise.
3759         * soft-fp/trunctfdf2.c: Likewise.
3760         * soft-fp/trunctfhf2.c: Likewise.
3761         * soft-fp/trunctfsf2.c: Likewise.
3762         * soft-fp/trunctfxf2.c: Likewise.
3763         * config/rs6000/ibm-ldouble.c: Likewise.
3765 2019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3767         * config.host: Simplify various *-*-solaris2.1[0-9]* to
3768         *-*-solaris2*.
3769         * configure.ac: Likewise.
3770         * configure: Regenerate.
3772         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3773         Solaris 10 and Solaris 11 < snv_125 handling.
3775 2019-05-12  Iain Sandoe  <iain@sandoe.co.uk>
3777         * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3779 2019-05-07  Hongtao Liu  <hongtao.liu@intel.com>
3781         * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3782         * config/i386/cpuinfo.h (enum processor_features): Add
3783         FEATURE_AVX512BF16.
3785 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
3786             Bernd Edlinger  <bernd.edlinger@hotmail.de>
3787             Jakub Jelinek  <jakub@redhat.com>
3789         PR target/89093
3790         * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3791         * config/arm/unwind-arm.c: Likewise.
3792         * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3793         attribute for ARM.
3795 2019-04-15  Monk Chiang  <sh.chiang04@gmail.com>
3797         * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3798         (RT_SIGRETURN): Update.
3799         (nds32_fallback_frame_state): Update.
3801 2019-02-21  Martin Sebor  <msebor@redhat.com>
3803         * libgcc2.h (__clear_cache): Correct signature.
3804         * libgcc2.c (__clear_cache): Same.
3806 2019-02-20  UroÅ¡ Bizjak  <ubizjak@gmail.com>
3808         * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3809         Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3811 2019-02-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
3813         * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3814         regno instead of index to DWARF_ZERO_REG.
3816 2019-02-15  Eric Botcazou  <ebotcazou@adacore.com>
3818         * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3819         TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3821 2019-01-31  UroÅ¡ Bizjak  <ubizjak@gmail.com>
3823         * config/alpha/t-linux: Add -mfp-rounding-mode=d
3824         to HOST_LIBGCC2_CFLAGS.
3826 2019-01-23  Joseph Myers  <joseph@codesourcery.com>
3828         PR libgcc/88931
3829         * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
3831 2019-01-18  Martin Liska  <mliska@suse.cz>
3833         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3834         to ...
3835         (__gcov_indirect_call_profiler_v3): ... this.
3836         * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3837         (__gcov_indirect_call_profiler_v3): Likewise.
3838         * Makefile.in: Bump function name.
3840 2019-01-18  Martin Liska  <mliska@suse.cz>
3842         * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3843         (gcov_version): Use in gcov_error.
3844         (merge_one_data): Likewise.
3845         (dump_one_gcov): Likewise.
3847 2019-01-18  Martin Liska  <mliska@suse.cz>
3849         * libgcov-driver.c (gcov_version_string): New function.
3850         (gcov_version): Convert version integer into string.
3852 2019-01-17  Andrew Stubbs  <ams@codesourcery.com>
3853             Kwok Cheung Yeung  <kcy@codesourcery.com>
3854             Julian Brown  <julian@codesourcery.com>
3855             Tom de Vries  <tom@codesourcery.com>
3857         * config.host: Recognize amdgcn*-*-amdhsa.
3858         * config/gcn/crt0.c: New file.
3859         * config/gcn/lib2-divmod-hi.c: New file.
3860         * config/gcn/lib2-divmod.c: New file.
3861         * config/gcn/lib2-gcn.h: New file.
3862         * config/gcn/sfp-machine.h: New file.
3863         * config/gcn/t-amdgcn: New file.
3865 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
3867         PR other/16615
3869         * config/c6x/libunwind.S: Mechanically replace "can not" with
3870         "cannot".
3871         * config/tilepro/atomic.h: Likewise.
3872         * config/vxlib-tls.c: Likewise.
3873         * generic-morestack-thread.c: Likewise.
3874         * generic-morestack.c: Likewise.
3875         * mkmap-symver.awk: Likewise.
3877 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
3879         Update copyright years.
3881 2018-12-20  H.J. Lu  <hongjiu.lu@intel.com>
3883         * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3884         to ignore -Waddress-of-packed-member.
3886 2018-12-19  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
3888         * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3889         parameter and corresponding code.
3890         (ARM_FUNC_START): Likewise in both definitions.
3891         Also update footer comment about condition that need to match with
3892         gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3893         * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3894         defined.  Weakly define it in this case.
3895         * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3896         * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3897         _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3898         comment to keep condition in sync with the one in
3899         libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3901 2018-12-18  Wei Xiao  <wei3.xiao@intel.com>
3903         * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3904         * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3906 2018-12-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3908         * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3909         and .cfi_endproc directives for VxWorks targets.
3911 2018-12-05  Paul Koning  <ni1d@arrl.net>
3913         * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3915 2018-11-27  Alan Modra  <amodra@gmail.com>
3917         * config/rs6000/morestack.S (__stack_split_initialize),
3918         (__morestack_get_guard, __morestack_set_guard),
3919         (__morestack_make_guard): Provide CFI covering these functions.
3920         * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3922 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3924         * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
3925         (sc_pt_regs_lr): Update for kernel.
3926         (sc_pt_regs_tls): Update for kernel.
3928 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3930         * config/csky/linux-unwind.h: Fix coding style.
3932 2018-11-13  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3934         * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
3935         (csky_fallback_frame_state): Modify the check of the
3936         instructions to adapt to changes in the kernel
3938 2018-11-09  Stafford Horne  <shorne@gmail.com>
3939             Richard Henderson  <rth@twiddle.net>
3941         * config.host: Add OpenRISC support.
3942         * config/or1k/*: New.
3944 2018-11-08  Kito Cheng  <kito@andestech.com>
3946         * soft-fp/adddf3.c: Update from glibc.
3947         * soft-fp/addsf3.c: Likewise.
3948         * soft-fp/addtf3.c: Likewise.
3949         * soft-fp/divdf3.c: Likewise.
3950         * soft-fp/divsf3.c: Likewise.
3951         * soft-fp/divtf3.c: Likewise.
3952         * soft-fp/double.h: Likewise.
3953         * soft-fp/eqdf2.c: Likewise.
3954         * soft-fp/eqsf2.c: Likewise.
3955         * soft-fp/eqtf2.c: Likewise.
3956         * soft-fp/extenddftf2.c: Likewise.
3957         * soft-fp/extended.h: Likewise.
3958         * soft-fp/extendhftf2.c: Likewise.
3959         * soft-fp/extendsfdf2.c: Likewise.
3960         * soft-fp/extendsftf2.c: Likewise.
3961         * soft-fp/extendxftf2.c: Likewise.
3962         * soft-fp/fixdfdi.c: Likewise.
3963         * soft-fp/fixdfsi.c: Likewise.
3964         * soft-fp/fixdfti.c: Likewise.
3965         * soft-fp/fixhfti.c: Likewise.
3966         * soft-fp/fixsfdi.c: Likewise.
3967         * soft-fp/fixsfsi.c: Likewise.
3968         * soft-fp/fixsfti.c: Likewise.
3969         * soft-fp/fixtfdi.c: Likewise.
3970         * soft-fp/fixtfsi.c: Likewise.
3971         * soft-fp/fixtfti.c: Likewise.
3972         * soft-fp/fixunsdfdi.c: Likewise.
3973         * soft-fp/fixunsdfsi.c: Likewise.
3974         * soft-fp/fixunsdfti.c: Likewise.
3975         * soft-fp/fixunshfti.c: Likewise.
3976         * soft-fp/fixunssfdi.c: Likewise.
3977         * soft-fp/fixunssfsi.c: Likewise.
3978         * soft-fp/fixunssfti.c: Likewise.
3979         * soft-fp/fixunstfdi.c: Likewise.
3980         * soft-fp/fixunstfsi.c: Likewise.
3981         * soft-fp/fixunstfti.c: Likewise.
3982         * soft-fp/floatdidf.c: Likewise.
3983         * soft-fp/floatdisf.c: Likewise.
3984         * soft-fp/floatditf.c: Likewise.
3985         * soft-fp/floatsidf.c: Likewise.
3986         * soft-fp/floatsisf.c: Likewise.
3987         * soft-fp/floatsitf.c: Likewise.
3988         * soft-fp/floattidf.c: Likewise.
3989         * soft-fp/floattihf.c: Likewise.
3990         * soft-fp/floattisf.c: Likewise.
3991         * soft-fp/floattitf.c: Likewise.
3992         * soft-fp/floatundidf.c: Likewise.
3993         * soft-fp/floatundisf.c: Likewise.
3994         * soft-fp/floatunditf.c: Likewise.
3995         * soft-fp/floatunsidf.c: Likewise.
3996         * soft-fp/floatunsisf.c: Likewise.
3997         * soft-fp/floatunsitf.c: Likewise.
3998         * soft-fp/floatuntidf.c: Likewise.
3999         * soft-fp/floatuntihf.c: Likewise.
4000         * soft-fp/floatuntisf.c: Likewise.
4001         * soft-fp/floatuntitf.c: Likewise.
4002         * soft-fp/gedf2.c: Likewise.
4003         * soft-fp/gesf2.c: Likewise.
4004         * soft-fp/getf2.c: Likewise.
4005         * soft-fp/half.h: Likewise.
4006         * soft-fp/ledf2.c: Likewise.
4007         * soft-fp/lesf2.c: Likewise.
4008         * soft-fp/letf2.c: Likewise.
4009         * soft-fp/muldf3.c: Likewise.
4010         * soft-fp/mulsf3.c: Likewise.
4011         * soft-fp/multf3.c: Likewise.
4012         * soft-fp/negdf2.c: Likewise.
4013         * soft-fp/negsf2.c: Likewise.
4014         * soft-fp/negtf2.c: Likewise.
4015         * soft-fp/op-1.h: Likewise.
4016         * soft-fp/op-2.h: Likewise.
4017         * soft-fp/op-4.h: Likewise.
4018         * soft-fp/op-8.h: Likewise.
4019         * soft-fp/op-common.h: Likewise.
4020         * soft-fp/quad.h: Likewise.
4021         * soft-fp/single.h: Likewise.
4022         * soft-fp/soft-fp.h: Likewise.
4023         * soft-fp/subdf3.c: Likewise.
4024         * soft-fp/subsf3.c: Likewise.
4025         * soft-fp/subtf3.c: Likewise.
4026         * soft-fp/truncdfsf2.c: Likewise.
4027         * soft-fp/trunctfdf2.c: Likewise.
4028         * soft-fp/trunctfhf2.c: Likewise.
4029         * soft-fp/trunctfsf2.c: Likewise.
4030         * soft-fp/trunctfxf2.c: Likewise.
4031         * soft-fp/unorddf2.c: Likewise.
4032         * soft-fp/unordsf2.c: Likewise.
4033         * soft-fp/unordtf2.c: Likewise.
4035 2018-11-04  Venkataramanan Kumar  <Venkataramanan.kumar@amd.com>
4037         * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
4038         * config/i386/cpuinfo.h (processor_types): Add znver2.
4040 2018-11-01  Paul Koning  <ni1d@arrl.net>
4042         * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
4043         (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
4045 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
4047         PR bootstrap/82856
4048         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
4049         * configure: Regenerate.
4051 2018-10-31  Claudiu Zissulescu  <claziss@synopsys.com>
4053         * config/arc/lib1funcs.S (_muldi3): New function.
4054         * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
4056 2018-10-30  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4058         * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
4060 2018-10-25  Martin Liska  <mliska@suse.cz>
4062         PR other/87735
4063         * libgcov-profiler.c: Revert.
4065 2018-10-24  Martin Liska  <mliska@suse.cz>
4067         * libgcov-profiler.c: Start from 1 in order to distinguish
4068         functions which were seen and these that were not.
4070 2018-10-18  Paul Koning  <ni1d@arrl.net>
4072         * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
4073         standard.
4074         * divmod.c: Update references to __udivmodsi4.
4075         * udivmod.c: Ditto.
4076         * udivhi3.c: New file.
4077         * udivmodhi4.c: New file.
4078         * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
4080 2018-10-17  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4082         * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
4084 2018-10-12  Olivier Hainque  <hainque@adacore.com>
4086         * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
4087         defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
4089 2018-10-08  Paul Koning  <ni1d@arrl.net>
4091         * config/pdp11/t-pdp11: Remove -mfloat32 switch.
4093 2018-10-04  Martin Liska  <mliska@suse.cz>
4095         PR gcov-profile/84107
4096         * libgcov-profiler.c (__gcov_indirect_call):
4097         Change type to indirect_call_tuple.
4098         (struct indirect_call_tuple): New struct.
4099         (__gcov_indirect_call_topn_profiler): Change type.
4100         (__gcov_indirect_call_profiler_v2): Use the new
4101         variables.
4102         * libgcov.h (struct indirect_call_tuple): New struct
4103         definition.
4105 2018-10-03  Uros Bizjak  <ubizjak@gmail.com>
4107         * libgcc2.c (isnan): Use __builtin_isnan.
4108         (isfinite): Use __builtin_isfinite.
4109         (isinf): Use __builtin_isinf.
4111 2018-09-26  Uros Bizjak  <ubizjak@gmail.com>
4113         * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
4115 2018-09-21  Alexandre Oliva  <oliva@adacore.com>
4117         * config/vxcache.c: New file.  Provide __clear_cache, based on
4118         the cacheTextUpdate VxWorks service.
4119         * config/t-vxworks (LIB2ADD): Add vxcache.c.
4120         (LIB2FUNCS_EXCLUDE): Add _clear_cache.
4121         * config/t-vxwoks7: Likewise.
4123 2018-09-21  Martin Liska  <mliska@suse.cz>
4125         * libgcov-driver.c (crc32_unsigned): Remove.
4126         (gcov_histogram_insert): Likewise.
4127         (gcov_compute_histogram): Likewise.
4128         (compute_summary): Simplify rapidly.
4129         (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
4130         (merge_summary): Rapidly simplify.
4131         (dump_one_gcov): Ignore gcov_summary.
4132         (gcov_do_dump): Do not handle program summary, it's not
4133         used.
4134         * libgcov-util.c (tag_summary): Remove.
4135         (read_gcda_finalize): Fix coding style.
4136         (read_gcda_file): Initialize curr_object_summary.
4137         (compute_summary): Remove.
4138         (calculate_overlap): Remove settings of run_max.
4140 2018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
4142         * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
4143         ucontext_t type instead.
4144         (nds32_fallback_frame_state): Remove struct _sigframe statement.
4146 2018-09-21  Kito Cheng  <kito.cheng@gmail.com>
4148         * config/nds32/t-nds32-glibc: New file.
4150 2018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4152         * configure.ac (solaris_ld_v2_maps): New test.
4153         * configure: Regenerate.
4154         * Makefile.in (solaris_ld_v2_maps): New variable.
4155         * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
4156         if supported.
4158 2018-08-23  Richard Earnshaw  <rearnsha@arm.com>
4160         PR target/86951
4161         * config/arm/lib1funcs.asm (speculation_barrier): New function.
4162         * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
4163         to build.
4165 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
4167         * config/unwind-dw2-fde-darwin.c
4168         (_darwin10_Unwind_FindEnclosingFunction): move from here ...
4169         * config/darwin10-unwind-find-enc-func.c: â€¦ to here.
4170         * config/t-darwin: Build Darwin10 unwinder shim crt.
4171         * libgcc/config.host: Add the Darwin10 unwinder shim.
4173 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4175         * config.host: Add crtbegin.o and crtend.o for
4176         powerpc-wrs-vxworks target.
4178 2018-08-17  Jojo  <jijie_rong@c-sky.com>
4179             Huibin Wang  <huibin_wang@c-sky.com>
4180             Sandra Loosemore  <sandra@codesourcery.com>
4181             Chung-Lin Tang  <cltang@codesourcery.com>
4183         C-SKY port: libgcc
4185         * config.host: Add C-SKY support.
4186         * config/csky/*: New.
4188 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
4190         * config/nds32/t-nds32-isr: Rearrange object dependency.
4191         * config/nds32/initfini.c: Add dwarf2 unwinding support.
4192         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
4193         and registers usage.
4194         * config/nds32/isr-library/excp_isr.S: Ditto.
4195         * config/nds32/isr-library/intr_isr.S: Ditto.
4196         * config/nds32/isr-library/reset.S: Ditto.
4197         * config/nds32/isr-library/restore_all.inc: Ditto.
4198         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
4199         * config/nds32/isr-library/restore_partial.inc: Ditto.
4200         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
4201         * config/nds32/isr-library/save_all.inc: Ditto.
4202         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
4203         * config/nds32/isr-library/save_partial.inc: Ditto.
4204         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
4205         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
4207 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
4209         * config/pa/linux-atomic.c: Update comment.
4210         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
4211         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
4212         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
4213         __ATOMIC_RELAXED for atomic loads.
4214         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
4215         unordered store to release lock.
4216         (__sync_lock_release_8): Likewise.
4217         (SYNC_LOCK_RELEASE_2): Remove define.
4219 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
4221         PR libgcc/86512
4222         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
4223         exponent goes negative. Update my email address.
4224         * config/arm/ieee754-sf.S: Likewise.
4226 2018-08-01  Martin Liska  <mliska@suse.cz>
4228         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
4229         check that  __gcov_indirect_call_callee is non-null.
4231 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
4233         * config/arm/ieee754-df.S: Fix comment for code working on
4234         architectures >= 4.
4235         * config/arm/ieee754-sf.S: Likewise.
4237 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
4239         PR libgcc/85334
4240         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4241         Removed.
4243 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
4245         * configure: Regenerated.
4247 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4249         * Makefile.in (install_leaf): Use enable_gcov instead of
4250         enable_libgcov.
4252 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4254         * configure.ac: Add --disable-gcov option.
4255         * configure: Regenerate.
4256         * Makefile.in: Honour @enable_gcov@.
4258 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
4260         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
4261         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
4262         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
4263         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
4264         __ARM_ARCH__.
4265         * config/arm/ieee754-sf.S: Likewise.
4266         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
4268 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
4270         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
4271         longer supported.
4272         * config/arm/ieee754-sf.S: Likewise.
4274 2018-06-20  Than McIntosh  <thanm@google.com>
4276         PR libgcc/86213
4277         * generic-morestack.c (allocate_segment): Move calls to getenv and
4278         getpagesize to __morestack_load_mmap.
4279         (__morestack_load_mmap) Initialize static_pagesize and
4280         use_guard_page here so as to avoid clobbering SSE regs during a
4281         __morestack call.
4283 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
4285         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
4286         support modules with -mno-gnu-attribute.
4287         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
4289 2018-06-07  Olivier Hainque  <hainque@adacore.com>
4291         * config/t-vxworks (LIBGCC_INCLUDES): Add
4292         -I$(MULTIBUILDTOP)../../gcc/include.
4293         * config/t-vxworks7: Likewise. Reformat a bit to match
4294         the t-vxworks layout.
4296 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
4298         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
4300 2018-06-07  Martin Liska  <mliska@suse.cz>
4302         * libgcov-driver.c: Rename cs_all to all and assign it from
4303         all_prg.
4305 2018-06-07  Martin Liska  <mliska@suse.cz>
4307         PR bootstrap/86057
4308         * libgcov-driver-system.c (replace_filename_variables): Use
4309         memcpy instead of mempcpy.
4310         (allocate_filename_struct): Do not allocate filename, allocate
4311         prefix and set it.
4312         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
4313         here and properly copy content into it.
4314         * libgcov-driver.c (struct gcov_filename): Remove max_length
4315         field, change prefix from size_t into char *.
4316         (compute_summary): Do not calculate longest filename.
4317         (gcov_do_dump): Release memory of gf.filename after each file.
4318         * libgcov-util.c (compute_summary): Use new signature of
4319         compute_summary.
4320         (calculate_overlap): Likewise.
4322 2018-06-05  Martin Liska  <mliska@suse.cz>
4324         PR gcov-profile/47618
4325         * libgcov-driver-system.c (replace_filename_variables): New
4326         function.
4327         (gcov_exit_open_gcda_file): Use it.
4329 2018-06-05  Martin Liska  <mliska@suse.cz>
4331         * libgcov-driver.c (gcov_compute_histogram): Remove usage
4332         of gcov_ctr_summary.
4333         (compute_summary): Do it just for a single summary.
4334         (merge_one_data): Likewise.
4335         (merge_summary): Simplify as we read just single summary.
4336         (dump_one_gcov): Pass proper argument.
4337         * libgcov-util.c (compute_one_gcov): Simplify as we have just
4338         single summary.
4339         (gcov_info_count_all_cold): Likewise.
4340         (calculate_overlap): Likewise.
4342 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
4343             Monk Chiang  <sh.chiang04@gmail.com>
4345         * config.host (nds32*-linux*): New.
4346         * config/nds32/linux-atomic.c: New file.
4347         * config/nds32/linux-unwind.h: New file.
4349 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
4351         PR target/85591
4352         * config/i386/cpuinfo.c (get_amd_cpu): Return
4353         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
4355 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
4357         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
4359 2018-05-29  Martin Liska  <mliska@suse.cz>
4361         PR gcov-profile/85759
4362         * libgcov-driver-system.c (gcov_error): Introduce usage of
4363         GCOV_EXIT_AT_ERROR env. variable.
4364         * libgcov-driver.c (merge_one_data): Print error that we
4365         overwrite a gcov file with a different timestamp.
4367 2018-05-23  Kalamatee  <kalamatee@gmail.com>
4369         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
4370         path to Lf$finfty.
4372 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
4373             Monk Chiang  <sh.chiang04@gmail.com>
4374             Jim Wilson <jimw@sifive.com>
4376         * config/riscv/save-restore.S: Add support for rv32e.
4378 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
4380         * config/arm/libunwind.S: Update comment relating to armv5.
4382 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
4384         * config/arm/cmse.c (cmse_check_address_range): Replace
4385         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
4387 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
4389         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
4390         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
4392 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
4394         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
4395         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
4397 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
4399         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
4401 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
4402             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
4404         PR libgcc/84292
4405         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
4406         op_and_fetch to return the right result.
4408 2018-04-27  Alan Modra  <amodra@gmail.com>
4410         PR libgcc/85532
4411         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
4412         -fno-asynchronous-unwind-tables.
4414 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
4416         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
4417         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
4419 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
4421         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
4422         when including "config/i386/shadow-stack-unwind.h".
4424 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
4426         * configure: Regenerated.
4428 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
4430         PR target/85456
4431         * config/rs6000/_powikf2.c: New file.  Add support for the
4432         __builtin_powil function when long double is IEEE 128-bit floating
4433         point.
4434         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
4435         __powikf2 support.
4436         (__powikf2): Likewise.
4437         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
4438         (__powikf2_hw): Likewise.
4439         (__powikf2): Likewise.
4440         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
4441         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
4442         (_powikf2-hw.c): Likewise.
4444 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
4446         PR libgcc/85334
4447         * unwind-generic.h (_Unwind_Frames_Increment): New.
4448         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4449         Likewise.
4450         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
4451         count with _Unwind_Frames_Increment.
4452         (_Unwind_ForcedUnwind_Phase2): Likewise.
4454 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
4456         PR libgcc/85379
4457         * config/i386/morestack.S (__stack_split_initialize): Add
4458         _CET_ENDBR.
4460 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
4462         * configure: Regenerated.
4464 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
4466         PR jit/85384
4467         * configure: Regenerate.
4469 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
4471         PR target/84945
4472         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
4473         -Wdangling-else warnings.  Mask shift counts to avoid
4474         -Wshift-count-negative and -Wshift-count-overflow false positives.
4476 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
4478         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
4480 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
4482         PR target/85100
4483         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
4484         (XSTATE_FP): Likewise.
4485         (XSTATE_SSE): Likewise.
4486         (XSTATE_YMM): Likewise.
4487         (XSTATE_OPMASK): Likewise.
4488         (XSTATE_ZMM): Likewise.
4489         (XSTATE_HI_ZMM): Likewise.
4490         (XCR_AVX_ENABLED_MASK): Likewise.
4491         (XCR_AVX512F_ENABLED_MASK): Likewise.
4492         (get_available_features): Enable AVX and AVX512 features only
4493         if their states are supported by OSXSAVE.
4495 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4497         PR target/85025
4498         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4499         Fix a typo, tmp => 255.
4501 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
4503         PR target/84945
4504         * config/i386/cpuinfo.h (__cpu_features2): Declare.
4505         * config/i386/cpuinfo.c (__cpu_features2): New variable for
4506         ifndef SHARED only.
4507         (set_feature): Define.
4508         (get_available_features): Use set_feature macro.  Set __cpu_features2
4509         to the second word of features ifndef SHARED.
4511 2018-03-15  Julia Koval  <julia.koval@intel.com>
4513         * config/i386/cpuinfo.c (get_available_features): Add
4514         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
4515         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
4516         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
4517         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
4518         FEATURE_AVX512BITALG.
4520 2018-03-14  Julia Koval  <julia.koval@intel.com>
4522         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
4523         icelake client and icelake server.
4525 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
4527         * config/pa/fptr.c (_dl_read_access_allowed): New.
4528         (__canonicalize_funcptr_for_compare): Use it.
4530 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
4532         PR debug/83917
4533         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
4534         $asm_hidden_op if visibility ("hidden") attribute works.
4535         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
4536         * config/i386/i386-asm.h: Don't include auto-host.h.
4537         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
4538         PACKAGE_URL): Don't undefine.
4539         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
4540         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
4541         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
4542         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
4543         definition instead of hardcoded .hidden.
4544         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
4545         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
4546         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
4547         (USE_GAS_CFI_DIRECTIVES): Don't define.
4548         * configure: Regenerated.
4549         * config.in: Likewise.
4551 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
4553         PR debug/83917
4554         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
4555         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
4556         inclusion of auto-target.h and auto-host.h.
4557         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
4558         __GCC_HAVE_DWARF2_CFI_ASM.
4559         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4560         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
4561         cfi_pop): Define.
4562         * config/i386/cygwin.S: Don't include auto-host.h here, just
4563         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
4564         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4565         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
4566         * config/i386/resms64fx.h: Add cfi_* directives.
4567         * config/i386/resms64x.h: Likewise.
4569 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
4571         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
4572         .literal_position directive.
4573         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
4575 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4577         PR target/84148
4578         * configure: Regenerate.
4580 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4582         PR target/84239
4583         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4584         Include cetintrin.h not x86intrin.h.
4586 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4588         PR target/84239
4589         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4590         Use new _get_ssp and _inc_ssp intrinsics.
4592 2018-02-02  Julia Koval  <julia.koval@intel.com>
4594         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
4596 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
4598         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
4599         option.
4600         (__divsi3): Use RF16 safe registers.
4601         (__modsi3): Likewise.
4603 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
4605         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
4606         (__divsf3): Make NaN return value quiet.
4607         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
4608         (__divdf3): Make NaN return value quiet.
4610 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4612         * config/rl78/anddi3.S: New assembly file.
4613         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
4615 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4617         * config/rl78/umindi3.S: New assembly file.
4618         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
4620 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4622         * config/rl78/smindi3.S: New assembly file.
4623         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
4625 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4627         * config/rl78/smaxdi3.S: New assembly file.
4628         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
4630 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4632         * config/rl78/umaxdi3.S: New assembly file.
4633         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
4635 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
4637         PR lto/83452
4638         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
4639         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
4641 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
4643         * config/aarch64/value-unwind.h (aarch64_vg): New function.
4644         (DWARF_LAZY_REGISTER_VALUE): Define.
4645         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
4646         to provide a fallback register value.
4648 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
4650         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
4651         __ibm128, instead of trying to use long double.
4652         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
4653         accomidate -mabi=ieeelongdouble multilibs.
4654         (CVT_IBM128_TO_FLOAT128): Likewise.
4655         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
4656         the appropriate IBM extended double type.
4657         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
4658         (__gcc_qsub): Likewise.
4659         (__gcc_qmul): Likewise.
4660         (__gcc_qdiv): Likewise.
4661         (pack_ldouble): Likewise.
4662         (__gcc_qneg): Likewise.
4663         (__gcc_qeq): Likewise.
4664         (__gcc_qne): Likewise.
4665         (__gcc_qge): Likewise.
4666         (__gcc_qle): Likewise.
4667         (__gcc_stoq): Likewise.
4668         (__gcc_dtoq): Likewise.
4669         (__gcc_itoq): Likewise.
4670         (__gcc_utoq): Likewise.
4671         (__gcc_qunord): Likewise.
4672         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
4673         quad-float128.h for the definitions.
4674         (COPYSIGN): Use the f128 version instead of the q version.
4675         (INFINITY): Likewise.
4676         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
4677         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
4678         quad-float128.h for the definitions.
4679         (COPYSIGN): Use the f128 version instead of the q version.
4680         (INFINITY): Likewise.
4681         (FABS): Likewise.
4682         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
4683         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
4684         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
4686 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4688         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
4689         configuration.
4691 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
4693         Update copyright years.
4695 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
4697         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
4698         * config/riscv/multi3.c: New file.
4699         * config/riscv/multi3.S: Remove.
4701 2017-12-08  Jim Wilson  <jimw@sifive.com>
4703         * config/riscv/div.S: Use FUNC_* macros.
4704         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
4705         * config/riscv/save-restore.S: Likewise.
4706         * config/riscv/riscv-asm.h: New.
4708 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
4710         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
4711         * config/rs6000/_divkc3.c (__divkc3): Likewise.
4713         PR libgcc/83112
4714         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
4715         correct type for all ifunc resolvers to silence -Wattribute-alias
4716         warnings.  Eliminate the forward declaration of the resolver
4717         functions which is no longer needed.
4718         (__subkf3_resolve): Likewise.
4719         (__mulkf3_resolve): Likewise.
4720         (__divkf3_resolve): Likewise.
4721         (__negkf2_resolve): Likewise.
4722         (__eqkf2_resolve): Likewise.
4723         (__nekf2_resolve): Likewise.
4724         (__gekf2_resolve): Likewise.
4725         (__gtkf2_resolve): Likewise.
4726         (__lekf2_resolve): Likewise.
4727         (__ltkf2_resolve): Likewise.
4728         (__unordkf2_resolve): Likewise.
4729         (__extendsfkf2_resolve): Likewise.
4730         (__extenddfkf2_resolve): Likewise.
4731         (__trunckfsf2_resolve): Likewise.
4732         (__trunckfdf2_resolve): Likewise.
4733         (__fixkfsi_resolve): Likewise.
4734         (__fixkfdi_resolve): Likewise.
4735         (__fixunskfsi_resolve): Likewise.
4736         (__fixunskfdi_resolve): Likewise.
4737         (__floatsikf_resolve): Likewise.
4738         (__floatdikf_resolve): Likewise.
4739         (__floatunsikf_resolve): Likewise.
4740         (__floatundikf_resolve): Likewise.
4741         (__extendkftf2_resolve): Likewise.
4742         (__trunctfkf2_resolve): Likewise.
4744         PR libgcc/83103
4745         * config/rs6000/quad-float128.h (TF): Don't define if long double
4746         is IEEE 128-bit floating point.
4747         (TCtype): Define as either TCmode or KCmode, depending on whether
4748         long double is IEEE 128-bit floating point.
4749         (__mulkc3_sw): Add declarations for software/hardware versions of
4750         complex multiply/divide.
4751         (__divkc3_sw): Likewise.
4752         (__mulkc3_hw): Likewise.
4753         (__divkc3_hw): Likewise.
4754         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4755         handlers to switch between using software emulation and hardware
4756         float128 instructions, build the complex multiply/divide functions
4757         for both software and hardware support.
4758         * config/rs6000/_divkc3.c (_divkc3): Likewise.
4759         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4760         (__divkc3_resolve): Likewise.
4761         (__mulkc3): Likewise.
4762         (__divkc3): Likewise.
4763         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4764         (fp128_hw_src): Likewise.
4765         (fp128_hw_static_obj): Likewise.
4766         (fp128_hw_shared_obj): Likewise.
4767         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4768         _mulkc3.c and _divkc3.c, changing the function name.
4769         (_divkc3-hw.c): Likewise.
4770         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4771         and _divkc3-hw.c.
4773 2017-11-26  Julia Koval  <julia.koval@intel.com>
4775         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4776         * config/i386/cpuinfo.h (processor_subtypes): Add
4777         INTEL_COREI7_CANNONLAKE.
4779 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4781         PR bootstrap/83015
4782         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4783         parameter.
4784         * config/xtensa/unwind-dw2-xtensa.c: Likewise
4785         * config/ia64/unwind-ia64.c: Add frames parameter.
4786         * unwind-sjlj.c: Likewise.
4788 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4790         * config/i386/linux-unwind.h: Include
4791         config/i386/shadow-stack-unwind.h.
4792         * config/i386/shadow-stack-unwind.h: New file.
4793         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4794         pass it to _Unwind_Frames_Extra.
4795         * unwind-generic.h (_Unwind_Frames_Extra): New.
4796         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4797         parameter. Add local variable frames to count number of frames.
4798         (_Unwind_ForcedUnwind_Phase2): Likewise.
4799         (_Unwind_RaiseException): Add local variable frames to count
4800         number of frames, pass it to _Unwind_RaiseException_Phase2 and
4801         uw_install_context.
4802         (_Unwind_ForcedUnwind): Likewise.
4803         (_Unwind_Resume): Likewise.
4804         (_Unwind_Resume_or_Rethrow): Likewise.
4806 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4808         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4809         (CET_FLAGS): New.
4810         * config/i386/morestack.S: Include <cet.h>.
4811         (__morestack_large_model): Add _CET_ENDBR at function entrance.
4812         * config/i386/resms64.h: Include <cet.h>.
4813         * config/i386/resms64f.h: Likewise.
4814         * config/i386/resms64fx.h: Likewise.
4815         * config/i386/resms64x.h: Likewise.
4816         * config/i386/savms64.h: Likewise.
4817         * config/i386/savms64f.h: Likewise.
4818         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4819         (CRTSTUFF_T_CFLAGS): Likewise.
4820         * configure.ac: Include ../config/cet.m4.
4821         Set and substitute CET_FLAGS.
4822         * configure: Regenerated.
4824 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4826         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4827         renaming.
4828         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4829         * configure.ac (libgcc_cv_solaris_crts): Likewise.
4830         * configure: Regenerate.
4832 2017-11-07  Tom de Vries  <tom@codesourcery.com>
4834         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4835         after "do {} while (0)".
4837 2017-11-07  Tom de Vries  <tom@codesourcery.com>
4839         PR other/82784
4840         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4841         semicolon after "do {} while (0)".
4842         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4843         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4844         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4845         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4847 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
4849         PR libgcc/82635
4850         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4851         sysctl to determine whether we're in a trampoline.
4852         Keep the pattern matching method for systems without
4853         KERN_PROC_SIGTRAMP sysctl.
4855 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
4856             Vineet Gupta <vgupta@synopsys.com>
4858         * config.host (arc*-*-linux*): Set md_unwind_header variable.
4859         * config/arc/linux-unwind-reg.def: New file.
4860         * config/arc/linux-unwind-reg.h: Likewise.
4862 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
4864         * config/rl78/subdi3.S: New assembly file.
4865         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4867 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
4869         * config/rl78/adddi3.S: New assembly file.
4870         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4872 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
4874         PR target/82274
4875         * libgcc2.c (__mulvDI3): If both operands have
4876         the same highpart of -1 and the topmost bit of lowpart is 0,
4877         multiplication overflows even if both lowparts are 0.
4879 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
4881         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4883 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
4885         * config/microblaze/crti.S, config/microblaze/crtn.S,
4886         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4887         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4888         config/microblaze/mulsi3.S,
4889         config/microblaze/stack_overflow_exit.S,
4890         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4891         config/pa/milli64.S: Add .note.GNU-stack section.
4893 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
4895         * configure.ac: Add Check for HAVE_AS_AVX.
4896         * config.in: Regenerate.
4897         * configure: Likewise.
4898         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4899         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4900         Correct out-of-date comments.
4902 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
4904         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4905         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4907 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
4909         * config/i386/i386-asm.h (PASTE2): New macro.
4910         (ASMNAME): Modify to use PASTE2.
4911         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4912         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
4913         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
4914         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
4915         * config/i386/resms64f.S: Likewise.
4916         * config/i386/resms64fx.S: Likewise.
4917         * config/i386/resms64x.S: Likewise.
4918         * config/i386/savms64.S: Likewise.
4919         * config/i386/savms64f.S: Likewise.
4920         * config/i386/avx_resms64.S: New file that only defines a macro and
4921         includes it's corresponding header file.
4922         * config/i386/avx_resms64f.S: Likewise.
4923         * config/i386/avx_resms64fx.S: Likewise.
4924         * config/i386/avx_resms64x.S: Likewise.
4925         * config/i386/avx_savms64.S: Likewise.
4926         * config/i386/avx_savms64f.S: Likewise.
4927         * config/i386/sse_resms64.S: Likewise.
4928         * config/i386/sse_resms64f.S: Likewise.
4929         * config/i386/sse_resms64fx.S: Likewise.
4930         * config/i386/sse_resms64x.S: Likewise.
4931         * config/i386/sse_savms64.S: Likewise.
4932         * config/i386/sse_savms64f.S: Likewise.
4933         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
4935 2017-09-01  Olivier Hainque  <hainque@adacore.com>
4936         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4938 2017-08-31  Olivier Hainque  <hainque@adacore.com>
4940         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4941         match as powerpc-wrs-vxworks*.
4943 2017-08-07  Jonathan Yong  <10walls@gmail.com>
4945         * config.host (*-cygwin): Include file from mingw
4946         config/i386/enable-execute-stack-mingw32.c
4948 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
4949             Doug Rupp  <rupp@adacore.com>
4950             Olivier Hainque  <hainque@adacore.com>
4952         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
4953         as well as arm-wrs-vxworks.
4954         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
4955         LIB2ADDEH.
4956         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
4957         __exidx_start and __exidx_end for downloadable modules.
4959 2017-08-01  Olivier Hainque  <hainque@adacore.com>
4961         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
4962         * config/t-vxworks7: Likewise.
4964 2017-08-01  Olivier Hainque  <hainque@adacore.com>
4966         * config/t-vxworks: Instead of redefining LIB2ADD,
4967         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
4969 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4971         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
4973 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
4975         PR testsuite/80759
4976         * config.host: include i386/t-msabi for darwin and solaris.
4977         * config/i386/i386-asm.h
4978         (ELFFN): Rename to FN_TYPE.
4979         (FN_SIZE): New macro.
4980         (FN_HIDDEN): Likewise.
4981         (ASMNAME): Likewise.
4982         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
4983         .globl.
4984         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
4985         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
4986         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
4987         .macro.
4988         * config/i386/resms64f.S: Likewise.
4989         * config/i386/resms64fx.S: Likewise.
4990         * config/i386/resms64x.S: Likewise.
4991         * config/i386/savms64.S: Likewise.
4992         * config/i386/savms64f.S: Likewise.
4994 2017-07-19  John Marino  <gnugcc@marino.st>
4996         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
4998 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
5000         PR target/81193
5001         * configure.ac (PowerPC float128 hardware support): Test whether
5002         we can use __builtin_cpu_supports before enabling the ifunc
5003         handler.
5004         * configure: Regenerate.
5006 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
5008         * config.host: Remove uclibc from arc target spec.
5010 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
5012         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
5014 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
5016         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
5017         (have_ieee_hw_p): Delete function.
5018         (SW_OR_HW) Use __builtin_cpu_supports().
5020 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5022         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
5024 2017-07-03  Olivier Hainque  <hainque@adacore.com>
5026         * config/t-vxworks7: New file, really.
5028 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
5030         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
5031         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
5032         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
5033         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
5034         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
5035         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
5036         config/pa/linux-unwind.h (pa32_fallback_frame_state),
5037         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
5038         config/sh/linux-unwind.h (sh_fallback_frame_state),
5039         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
5040         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
5041         ucontext_t instead of struct ucontext.
5043 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
5045         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
5046         (x86_64-wrs-vxworks7): Likewise.
5048 2017-06-27  Olivier Hainque  <hainque@adacore.com>
5050         * config/t-vxworks7: New file.
5051         * config.host (*-*-vxworks7): Use it.
5053 2017-06-22  Matt Turner  <mattst88@gmail.com>
5055         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
5056         skylake case.
5058 2017-06-21  Richard Biener  <rguenther@suse.de>
5060         PR gcov-profile/81080
5061         * configure.ac: Add AC_SYS_LARGEFILE.
5062         * libgcov.h: Include auto-target.h before tsystem.h to pick
5063         up _FILE_OFFSET_BITS which might differ for multilibs.
5064         * config.in: Regenerate.
5065         * configure: Likewise.
5067 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
5069         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
5071 2017-06-09  Martin Liska  <mliska@suse.cz>
5073         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
5074         Reset __gcov_indirect_call_callee to NULL.
5076 2017-06-08  Olivier Hainque  <hainque@adacore.com>
5078         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
5079         the set of -I options, support for direct inclusions of net/uio.h
5080         by VxWorks header files via ioLib.h.
5082 2017-06-07  Tony Reix  <tony.reix@atos.net>
5083             Matthieu Sarter  <matthieu.sarter.external@atos.net>
5084             David Edelsohn  <dje.gcc@gmail.com>
5086         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
5087         unconditionally.
5088         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
5089         AIX 7.2 support.
5091 2017-06-02  Olivier Hainque  <hainque@adacore.com>
5093         * config/vxlib.c (__gthread_once): Add missing value to
5094         return statement.
5096 2017-05-30  Olivier Hainque  <hainque@adacore.com>
5098         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
5099         dollar sign before $(MULTIDIR).
5101 2017-05-26  Richard Henderson  <rth@redhat.com>
5103         PR libgcc/80037
5104         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
5106 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
5108         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
5109         _Unwind_SetIP available as functions for arm*-*-freebsd*.
5110         * config/arm/unwind-arm.c: Implement the above.
5112 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5114         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
5115         section for a non-executable stack.
5117 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
5119         PR target/80600
5120         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
5122 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
5124         * config.host: Add i386/t-msabi to i386/t-linux file list.
5125         * config/i386/i386-asm.h: New file.
5126         * config/i386/resms64.S: New file.
5127         * config/i386/resms64f.S: New file.
5128         * config/i386/resms64fx.S: New file.
5129         * config/i386/resms64x.S: New file.
5130         * config/i386/savms64.S: New file.
5131         * config/i386/savms64f.S: New file.
5132         * config/i386/t-msabi: New file.
5134 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
5136         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
5137         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
5139 2017-05-05  Joshua Conner  <joshconner@google.com>
5141         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
5142         pc-relative indirect handling for fuchsia.
5143         * config/t-slibgcc-fuchsia: New file.
5144         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
5145         x86_64-*-fuchsia*): Add definitions.
5147 2017-04-19  Martin Liska  <mliska@suse.cz>
5149         PR gcov-profile/80435
5150         * Makefile.in: Install gcov.h.
5151         * gcov.h: New file.
5152         * libgcov.h: Use the header and make __gcov_flush publicly
5153         visible.
5155 2017-04-18  Martin Liska  <mliska@suse.cz>
5157         PR gcov-profile/78783
5158         * libgcov-driver.c (gcov_get_filename): New function.
5160 2017-04-07  Jeff Law  <law@redhat.com>
5162         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
5163         target makefile fragment.
5164         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
5166 2017-04-07  Alan Modra  <amodra@gmail.com>
5168         PR target/45053
5169         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
5171 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
5173         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
5175 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
5177         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
5179 2017-03-10  John Marino  <gnugcc@marino.st>
5181         * config/aarch64/freebsd-unwind.h: New file.
5182         * config.host: Add aarch64-*-freebsd unwinder.
5184 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
5186         * config/rs6000/crtrestvr.s: Use .machine altivec.
5187         * config/rs6000/crtsavevr.s: Ditto.
5189 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
5191         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
5192         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
5193         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
5194         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
5195         * configure: Regenerate.
5196         * config.in: Regenerate.
5198 2017-03-02  Jonathan Yong <10walls@gmail.com>
5200         * config/i386/gthr-win32.h: Define NOGDI before
5201         windows.h include to prevent w32api CC_NONE macro
5202         clash with libgfortran.
5204 2017-03-02  Jonathan Yong <10walls@gmail.com>
5206         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
5208 2017-02-16  Andrew Pinski  <apinski@cavium.com>
5210         * config/aarch64/value-unwind.h: New file.
5211         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
5212         to tm_file.
5214 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
5216         * config.host: Add RISC-V tuples.
5217         * config/riscv/atomic.c: New file.
5218         * config/riscv/crti.S: Likewise.
5219         * config/riscv/crtn.S: Likewise.
5220         * config/riscv/div.S: Likewise.
5221         * config/riscv/linux-unwind.h: Likewise.
5222         * config/riscv/muldi3.S: Likewise.
5223         * config/riscv/multi3.S: Likewise.
5224         * config/riscv/save-restore.S: Likewise.
5225         * config/riscv/sfp-machine.h: Likewise.
5226         * config/riscv/t-elf: Likewise.
5227         * config/riscv/t-elf32: Likewise.
5228         * config/riscv/t-elf64: Likewise.
5229         * config/riscv/t-softfp32: Likewise.
5230         * config/riscv/t-softfp64: Likewise.
5232 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
5234         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
5235         /* FALLTHRU */ comments.
5237 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
5239         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
5241 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
5243         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
5244         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
5245         DW_CFA_GNU_window_save for AArch64 and LP64.
5247 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
5249         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
5251 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
5253         * config/aarch64/aarch64-unwind.h: New file.
5254         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
5255         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
5256         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
5257         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
5258         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
5259         (aarch64_post_extract_frame_addr): New function.
5260         (aarch64_post_frob_eh_handler_addr): New function.
5261         (aarch64_frob_update_context): New function.
5262         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
5263         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
5264         aarch64*-*-freebsd*):
5265         Initialize md_unwind_header to include aarch64-unwind.h.
5266         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
5267         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
5268         __aarch64__.
5269         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
5270         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
5271         (uw_frob_return_addr): New function.
5272         (uw_install_context): Use uw_frob_return_addr.
5274 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
5276         PR other/79046
5277         * configure.ac: Add GCC_BASE_VER.
5278         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
5279         version from BASE-VER file.
5280         * configure: Regenerated.
5282 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
5284         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
5285         libmul_f5.a): Filter archived prerequisites.
5287 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
5289         * config/i386/cpuinfo.h (processor_features): Add
5290         FEATURE_AVX512VPOPCNTDQ.
5291         * config/i386/cpuinfo.c (get_available_features): Habdle new
5292         feature.
5294 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
5296         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
5297         payload if [__mips_nan2008].
5299 2017-01-04  Alan Modra  <amodra@gmail.com>
5301         * Makefile.in (configure_deps): Update.
5302         * configure: Regenerate.
5304 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
5306         Update copyright years.
5308 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
5310         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
5311         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
5312         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
5314 2016-12-17  Matthias Klose  <doko@ubuntu.com>
5316         * config/arc/gmon: Remove empty directory.
5318 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
5320         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
5321         crtgend.
5322         (arc*-*-elf*): Likewise.
5323         * config/arc/t-arc: Remove old gmon lib targets.
5324         * config/arc/crtg.S: Remove.
5325         * config/arc/crtgend.S: Likewise.
5326         * config/arc/gmon/atomic.h: Likewise.
5327         * config/arc/gmon/auxreg.h: Likewise.
5328         * config/arc/gmon/dcache_linesz.S: Likewise.
5329         * config/arc/gmon/gmon.c: Likewise.
5330         * config/arc/gmon/machine-gmon.h: Likewise.
5331         * config/arc/gmon/mcount.c: Likewise.
5332         * config/arc/gmon/prof-freq-stub.S: Likewise.
5333         * config/arc/gmon/prof-freq.c: Likewise.
5334         * config/arc/gmon/profil.S: Likewise.
5335         * config/arc/gmon/sys/gmon.h: Likewise.
5336         * config/arc/gmon/sys/gmon_out.h: Likewise.
5337         * config/arc/t-arc-newlib: Likewise.
5338         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
5340 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
5342         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
5344 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
5346         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
5347         R16 instead of push + pop.
5348         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
5350 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
5352         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
5353         tmake_file.
5355 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
5357         * config.host (arc*-*-linux-uclibc*): Use default extra
5358         objects. Include linux-android header.
5359         * config/arc/crti.S (_init): Declare symbol as function.
5360         (_fini): Likewise.
5362 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
5364         PR fortran/78379
5365         * config/i386/cpuinfo.c:  Move denums for processor vendors,
5366         processor type, processor subtypes and declaration of
5367         struct __processor_model into
5368         * config/i386/cpuinfo.h:  New header file.
5370 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
5371             Thomas Preud'homme  <thomas.preudhomme@arm.com>
5373         * config/arm/cmse_nonsecure_call.S: New.
5374         * config/arm/t-arm: Compile cmse_nonsecure_call.S
5376 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
5377             Thomas Preud'homme  <thomas.preudhomme@arm.com>
5379         * config/arm/t-arm (HAVE_CMSE): New.
5380         * config/arm/cmse.c: New.
5382 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
5384         PR gcc/74748
5385         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
5386         use generic linker version information on Blackfin.
5388         PR gcc/74748
5389         * libgcc/mkmap-symver.awk: add support for skip_underscore
5391 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
5392             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5394         PR target/67710
5395         *  config/t-darwin: Default builds to 10.5 codegen.
5397 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
5399         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
5400         (_FP_NANSIGN_H): Likewise.
5401         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
5402         (softfp_truncations): Add tfhf.
5403         (softfp_extras): Add required conversion functions.
5405 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
5406             Matthew Wahab  <matthew.wahab@arm.com>
5408         * config/arm/fp16.c (binary64): New.
5409         (__gnu_d2h_internal): New.
5410         (__gnu_d2h_ieee): New.
5411         (__gnu_d2h_alternative): New.
5413 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
5414             Matthew Wahab  <matthew.wahab@arm.com>
5416         * config/arm/fp16.c (struct format): New.
5417         (binary32): New.
5418         (__gnu_float2h_internal): New.  Body moved from
5419         __gnu_f2h_internal and generalize.
5420         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
5421         Call it with binary32.
5423 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
5425         * soft-fp/extendhftf2.c: Update from glibc.
5426         * soft-fp/fixhfti.c: Likewise.
5427         * soft-fp/fixunshfti.c: Likewise.
5428         * soft-fp/floattihf.c: Likewise.
5429         * soft-fp/floatuntihf.c: Likewise.
5430         * soft-fp/half.h: Likewise.
5431         * soft-fp/trunctfhf2.c: Likewise.
5433 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
5435         PR libgcc/77813
5436         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
5437         __TMC_END__ behind a passthrough asm.
5439 2016-11-18  Walter Lee  <walt@tilera.com>
5441         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
5443 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
5445         * config/i386/cpuinfo.c (processor_features): Add
5446         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
5448 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
5450         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
5451         (__ARC_NORM__): Use instead ARC_OPTFPE.
5452         * config/arc/fp-hack.h: Likewise.
5453         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
5454         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
5456 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
5458         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
5459         * config/nvptx/mgomp.c: New file.
5460         * config/nvptx/t-nvptx: Add mgomp.c
5462 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
5464         PR libgcc/68468
5465         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
5467 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
5469         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
5470         of checking for cpus.
5471         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
5472         (__modsi3, __clzsi2): Likewise.
5474 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5476         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
5477         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
5478         * config/i386/t-cpuinfo-static: New.
5480 2016-11-03  Martin Liska  <mliska@suse.cz>
5482         * libgcov-profiler.c (__gcov_time_profiler): Remove.
5483         (__gcov_time_profiler_atomic): Likewise.
5485 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
5487         PR libgcc/78067
5488         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
5489         count_leading_zeros.
5491 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
5493         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
5494         * libgcc2.c (__divmoddi4): New function.
5495         * libgcc2.h (__divmoddi4): Declare.
5496         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
5497         and __PFX_divmodti4.
5499 2016-10-24  Florian Weimer  <fweimer@redhat.com>
5501         PR libgcc/78064
5502         * unwind-c.c: Include auto-target.h.
5504 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
5506         * config/pa/pa64-hpux-lib.h: New file.
5507         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
5508         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
5509         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
5510         hppa*64*-*-hpux11*.
5512 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
5514         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5515         definition.
5516         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5517         definition.
5518         * config/xtensa/t-windowed (LIB2ADDEH): Use
5519         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
5520         or xtensa/t-linux.
5522 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
5524         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
5525         __ieee754_sqrt): New functions.
5526         (__divdf3): Add implementation with new FPU instructions under
5527         #if XCHAL_HAVE_DFP_DIV.
5528         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
5529         __ieee754_sqrtf): New functions.
5530         (__divsf3): Add implementation with new FPU instructions under
5531         #if XCHAL_HAVE_FP_DIV.
5532         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
5533         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
5535 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5537         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
5538         equivalent.
5539         * config/tilepro/atomic.c: Likewise and stop casting model to
5540         enum memmodel.
5542 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
5544         PR target/77586
5545         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
5546         soft-fp.
5548 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
5550         * config.host: Add support for aarch64-*-freebsd*.
5552 2016-10-05  Andreas Schwab  <schwab@suse.de>
5554         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
5555         (.section .init_array): Don't call __do_jv_register_classes.
5556         (.section .init): Likewise.
5558 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
5560         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
5561         (__JCR_LIST__): Remove.
5562         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
5563         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
5564         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
5565         * config/ia64/crtend.S (__JCR_END__): Remove.
5566         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
5567         conditionals.
5568         (__JCR_LIST__, __JCR_END__): Remove.
5569         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
5570         (__do_global_ctors_1): Likewise.
5572 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
5574         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
5575         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
5577 2016-09-27  Martin Liska  <mliska@suse.cz>
5579         PR gcov-profile/7970
5580         PR gcov-profile/16855
5581         PR gcov-profile/44779
5582         * libgcov-driver.c (__gcov_init): Do not register a atexit
5583         handler.
5584         (__gcov_exit): Rename from gcov_exit.
5585         * libgcov.h (__gcov_exit): Declare.
5587 2016-09-27  Martin Liska  <mliska@suse.cz>
5589         PR bootstrap/77749
5590         * Makefile.in: Remove _gcov_merge_delta.
5591         * libgcov-merge.c (void __gcov_merge_delta): Remove.
5592         * libgcov-util.c (__gcov_delta_counter_op): Remove.
5593         * libgcov.h: Remove declaration of __gcov_merge_delta.
5595 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
5597         * configure.ac: Do not create links, only substitute the filenames.
5598         * configure: Regenerate.
5599         * Makefile.in: Assign the substitution results to variables.
5600         (LIBGCC_LINKS): Define.
5601         (enable-execute-stack.c): New rule.
5602         (unwind.h): Likewise.
5603         (md-unwind-support.h): Likewise.
5604         (sfp-machine.h): Likewise.
5605         (gthr-default.h): Likewise.
5606         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
5607         unwind.h as prerequisite of install-unwind_h-forbuild.
5609 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
5611         PR libgcc/71744
5612         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
5613         is not the primary registry and atomics are available.
5614         (any_objects_registered): New variable.
5615         (__register_frame_info_bases, __register_frame_info_table_bases):
5616         Atomically store 1 to any_objects_registered after registering first
5617         unwind info.
5618         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
5620 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
5622         PR target/63250
5623         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
5624         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
5625         (HFtype): Likewise.
5626         (HCtype): Likewise.
5627         (__divhc3): Likewise.
5628         (__mulhc3): Likewise.
5629         * libgcc2.c: Support _mulhc3 and _divhc3.
5631 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
5633         PR libgcc/77519
5634         * libgcc2.c (NOTRUNC): Invert settings.
5636 2016-09-06  Martin Liska  <mliska@suse.cz>
5638         PR gcov-profile/77378
5639         PR gcov-profile/77466
5640         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
5641         conditionaly enable/disable *_atomic functions.
5643 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
5645         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
5646         where not already enabled.
5648 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5650         * config/mips/linux-unwind.h: Use sys/syscall.h.
5652 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
5654         PR libgcc/77265
5655         * soft-fp/adddf3.c: Update from glibc.
5656         * soft-fp/addsf3.c: Likewise.
5657         * soft-fp/addtf3.c: Likewise.
5658         * soft-fp/divdf3.c: Likewise.
5659         * soft-fp/divsf3.c: Likewise.
5660         * soft-fp/divtf3.c: Likewise.
5661         * soft-fp/double.h: Likewise.
5662         * soft-fp/eqdf2.c: Likewise.
5663         * soft-fp/eqsf2.c: Likewise.
5664         * soft-fp/eqtf2.c: Likewise.
5665         * soft-fp/extenddftf2.c: Likewise.
5666         * soft-fp/extended.h: Likewise.
5667         * soft-fp/extendsfdf2.c: Likewise.
5668         * soft-fp/extendsftf2.c: Likewise.
5669         * soft-fp/extendxftf2.c: Likewise.
5670         * soft-fp/fixdfdi.c: Likewise.
5671         * soft-fp/fixdfsi.c: Likewise.
5672         * soft-fp/fixdfti.c: Likewise.
5673         * soft-fp/fixsfdi.c: Likewise.
5674         * soft-fp/fixsfsi.c: Likewise.
5675         * soft-fp/fixsfti.c: Likewise.
5676         * soft-fp/fixtfdi.c: Likewise.
5677         * soft-fp/fixtfsi.c: Likewise.
5678         * soft-fp/fixtfti.c: Likewise.
5679         * soft-fp/fixunsdfdi.c: Likewise.
5680         * soft-fp/fixunsdfsi.c: Likewise.
5681         * soft-fp/fixunsdfti.c: Likewise.
5682         * soft-fp/fixunssfdi.c: Likewise.
5683         * soft-fp/fixunssfsi.c: Likewise.
5684         * soft-fp/fixunssfti.c: Likewise.
5685         * soft-fp/fixunstfdi.c: Likewise.
5686         * soft-fp/fixunstfsi.c: Likewise.
5687         * soft-fp/fixunstfti.c: Likewise.
5688         * soft-fp/floatdidf.c: Likewise.
5689         * soft-fp/floatdisf.c: Likewise.
5690         * soft-fp/floatditf.c: Likewise.
5691         * soft-fp/floatsidf.c: Likewise.
5692         * soft-fp/floatsisf.c: Likewise.
5693         * soft-fp/floatsitf.c: Likewise.
5694         * soft-fp/floattidf.c: Likewise.
5695         * soft-fp/floattisf.c: Likewise.
5696         * soft-fp/floattitf.c: Likewise.
5697         * soft-fp/floatundidf.c: Likewise.
5698         * soft-fp/floatundisf.c: Likewise.
5699         * soft-fp/floatunditf.c: Likewise.
5700         * soft-fp/floatunsidf.c: Likewise.
5701         * soft-fp/floatunsisf.c: Likewise.
5702         * soft-fp/floatunsitf.c: Likewise.
5703         * soft-fp/floatuntidf.c: Likewise.
5704         * soft-fp/floatuntisf.c: Likewise.
5705         * soft-fp/floatuntitf.c: Likewise.
5706         * soft-fp/gedf2.c: Likewise.
5707         * soft-fp/gesf2.c: Likewise.
5708         * soft-fp/getf2.c: Likewise.
5709         * soft-fp/ledf2.c: Likewise.
5710         * soft-fp/lesf2.c: Likewise.
5711         * soft-fp/letf2.c: Likewise.
5712         * soft-fp/muldf3.c: Likewise.
5713         * soft-fp/mulsf3.c: Likewise.
5714         * soft-fp/multf3.c: Likewise.
5715         * soft-fp/negdf2.c: Likewise.
5716         * soft-fp/negsf2.c: Likewise.
5717         * soft-fp/negtf2.c: Likewise.
5718         * soft-fp/op-1.h: Likewise.
5719         * soft-fp/op-2.h: Likewise.
5720         * soft-fp/op-4.h: Likewise.
5721         * soft-fp/op-8.h: Likewise.
5722         * soft-fp/op-common.h: Likewise.
5723         * soft-fp/quad.h: Likewise.
5724         * soft-fp/single.h: Likewise.
5725         * soft-fp/soft-fp.h: Likewise.
5726         * soft-fp/subdf3.c: Likewise.
5727         * soft-fp/subsf3.c: Likewise.
5728         * soft-fp/subtf3.c: Likewise.
5729         * soft-fp/truncdfsf2.c: Likewise.
5730         * soft-fp/trunctfdf2.c: Likewise.
5731         * soft-fp/trunctfsf2.c: Likewise.
5732         * soft-fp/trunctfxf2.c: Likewise.
5733         * soft-fp/unorddf2.c: Likewise.
5734         * soft-fp/unordsf2.c: Likewise.
5735         * soft-fp/unordtf2.c: Likewise.
5737 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
5739         PR gcov-profile/67097
5740         * libgcov-util.c (gcov_profile_merge): Skip missing files.
5742 2016-08-10  Martin Liska  <mliska@suse.cz>
5744         PR gcov-profile/58306
5745         * Makefile.in: New functions (modules) are added.
5746         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5747         function.
5748         (__gcov_pow2_profiler_atomic): New function.
5749         (__gcov_one_value_profiler_body): New argument is instroduced.
5750         (__gcov_one_value_profiler): Call with the new argument.
5751         (__gcov_one_value_profiler_atomic): Likewise.
5752         (__gcov_indirect_call_profiler_v2): Likewise.
5753         (__gcov_time_profiler_atomic): New function.
5754         (__gcov_average_profiler_atomic): Likewise.
5755         (__gcov_ior_profiler_atomic): Likewise.
5756         * libgcov.h: Declare the aforementioned functions.
5758 2016-08-09  Martin Liska  <mliska@suse.cz>
5760         * libgcov-util.c: Fix typo and GNU coding style.
5762 2016-08-09  Martin Liska  <mliska@suse.cz>
5764         * Makefile.in: Remove __gcov_indirect_call_profiler.
5765         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5766         function.
5767         * libgcov.h: And the declaration of the function.
5769 2016-08-09  Martin Liska  <mliska@suse.cz>
5771         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5772         power of two.
5774 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
5776         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5777         * config/rs6000/_mulkc3.c: Likewise.
5779 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
5781         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5782         zero_reg as previous call to __umulhisi3 already cleared it.
5784 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
5786         PR target/59833
5787         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5789 2016-07-19  Nick Clifton  <nickc@redhat.com>
5791         * config.host (m32r): Add m32r/t-m32r to tmake_file.
5792         Add crtinit.o and crtfini.o to extra_parts.
5794 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
5796         * config/rs6000/_divkc3.c: New.
5797         * config/rs6000/_mulkc3.c: New.
5798         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5799         and _divkc3.
5800         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5801         fp128_ppc_funcs.
5803 2016-07-11  Hale Wang  <hale.wang@arm.com>
5804             Andre Vieira  <andre.simoesdiasvieira@arm.com>
5806         * config/arm/lib1funcs.S: Add new wrapper.
5808 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5810         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5812 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5814         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5815         and ARMv5t* rather than for a fixed list of architectures.
5817 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5819         * config/arm/bpabi-v6m.S: Clarify what architectures is the
5820         implementation suitable for.
5821         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5822         for all Thumb-1 only targets.
5823         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5824         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5825         __ARM_ARCH_6M__.
5826         (EQUIV): Likewise.
5827         (ARM_FUNC_ALIAS): Likewise.
5828         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5829         version.
5830         (modsi3): Likewise.
5831         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5832         (clzdi2): Likewise.
5833         (ctzsi2): Likewise.
5834         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5835         __ARM_ARCH_6M__ in guard for checking whether it is defined.
5836         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5837         __ARM_ARCH_6M__ and add comment to indicate the connection between
5838         this condition and the one in gcc/config/arm/elf.h.
5839         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5840         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5841         * config/arm/t-softfp: Likewise.
5843 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5845         * libgcc2.c (SYMBOL__MAIN): Remove checks for
5846         CTOR_LISTS_DEFINED_EXTERNALLY.
5848 2016-06-28  Walter Lee  <walt@tilera.com>
5850         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5851         asm/unistd.h.
5852         (SPR_CMPEXCH_VALUE): Define for tilegx.
5853         (__NR_FAST_cmpxchg): Define for tilepro.
5854         (__NR_FAST_atomic_update): Define for tilepro.
5855         (__NR_FAST_cmpxchg64): Define for tilepro.
5857 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
5859         * config.host: Add suport for arm*-*-phoenix* targets.
5861 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5863         * config.host: Remove support for mep-*.
5864         * config/mep/lib1funcs.S: Remove.
5865         * config/mep/lib2funcs.c: Remove.
5866         * config/mep/t-mep: Remove.
5867         * config/mep/tramp.c: Remove.
5869 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5871         * config.host: Remove support for avr-rtems.
5872         * config/avr/t-rtems: Remove.
5874 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5876         * config.host: Remove m32r-rtems support.
5878 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5880         * config.host: Remove h8300-rtems support.
5882 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5884         * config.host: Remove support for knetbsd.
5886 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5888         * config.host: Remove support for openbsd 2 and 3.
5890 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5892         * config.host: Remove interix support.
5893         * config/i386/t-interix: Remove.
5895 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
5897         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5898         least-significant bit in function pointer for fixup.
5900 2016-06-05  Aaron Conole  <aconole@redhat.com>
5901             Nathan Sidwell  <nathan@acm.org>
5903         PR libgcc/71400
5904         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5905         (get_gcov_error_file): Check __gcov_error_file before trying to
5906         initialize it.
5907         (gcov_error): Always use get_gcov_error_file.
5909 2016-06-02  Aaron Conole  <aconole@redhat.com>
5911         * libgcov-driver-system.c (__gcov_error_file): New.
5912         (get_gcov_error_file): New.
5913         (gcov_error): Use and set __gcov_error_file.
5914         (gcov_error_exit): New.
5915         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5917 2016-05-26  Nathan Sidwell  <nathan@acm.org>
5919         * config/nvptx/free.asm: Delete.
5920         * config/nvptx/malloc.asm: Delete.
5921         * config/nvptx/realloc.c: Delete.
5922         * t-nvptx: Update.
5924 2016-05-25  Nathan Sidwell  <nathan@acm.org>
5926         * config/nvptx/crt0.s: Delete.
5927         * config/nvptx/crt0.c: New.
5928         * t-nvptx: Update.
5930 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
5932         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
5933         dw2/seh configuration.
5934         [x86_64-*-mingw*]: Likewise.
5936 2016-05-10  Joel Sherrill <joel@rtems.org>
5938         PR libgcc/70720
5939         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5940         targets so the same extra_parts are built.  Also have tmake_file add
5941         on to its value rather than override.
5943 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
5945         * config.host: Remove SH5 support.
5946         * configure: Likewise.
5948 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
5950         * config/sh/crt1.S: Remove SH5 support.
5951         * config/sh/crti.S: Likewise.
5952         * config/sh/crtn.S: Likewise.
5953         * config/sh/lib1funcs-4-300.S: Likewise.
5954         * config/sh/lib1funcs-Os-4-200.S: Likewise.
5955         * config/sh/lib1funcs.S: Likewise.
5956         * config/sh/linux-unwind.h: Likewise.
5957         * config/sh/t-sh64: Delete.
5959 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
5961         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
5963 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
5964             Joern Rennecke  <joern.rennecke@embecosm.com>
5966         * config/arc/crttls.S: New file.
5967         * config/arc/t-arc: New rule.
5968         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
5970 2016-04-25  Nick Clifton  <nickc@redhat.com>
5972         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
5973         (__mspabi_cmpd): Likewise.
5974         * config/msp430/floathidf.c (__floathidf): Likewise.
5975         * config/msp430/floathisf.c (__floathisf): Likewise
5976         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
5977         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
5978         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
5979         second parameter.
5980         (__ashrsi3): Likewise.
5982 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
5984         * config/m68k/linux-atomic.c: Do not include unistd.h
5986 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
5988         * config/arm/ieee754-df.S: Fix typos in comments.
5990 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
5992         PR target/70381
5993         * configure.ac (powerpc*-*-linux*): Rework tests to build
5994         __float128 emulation routines to not depend on using #pragma GCC
5995         target to enable -mfloat128.
5996         * configure: Regnerate.
5998 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
6000         PR target/67172
6001         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
6002         __MINGW32__ is defined.
6004 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
6006         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
6008 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
6010         PR libgcc/70363
6011         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
6012         built with an assembler that does not support ISA 3.0
6013         instructions, rename __extendkftf2_sw to __extendkftf2.
6015 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6017         PR target/38239
6018         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
6019         call-clobbered registers.
6020         (internal_mcount): Remove __i386__ handling.
6022 2016-02-26  Joel Sherrill <joel@rtems.org>
6024         * config.host: Add x86_64-*-rtems*.
6026 2016-02-26  Joel Sherrill <joel@rtems.org>
6028         * libgcc/config.host: Add aarch64-*-rtems*.
6030 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6031             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
6033         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
6034         union of u64 and double.
6035         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
6036         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
6037         value.
6038         (FP_ROUNDMODE): Update the usage of _fpscr.
6040 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
6042         PR driver/68463
6043         * Makefile.in (crtoffloadtable$(objext)): New rule.
6044         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
6045         enable_offload_targets is not empty.
6046         * configure: Regenerate.
6047         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
6048         crtoffloadtable.
6050 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
6052         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
6053         .literal_position before the function.
6054         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
6055         Likewise.
6057 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
6059         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
6060         * config/s390/morestack.S: New file.
6061         * config/s390/t-stack-s390: New file.
6062         * generic-morestack.c (__splitstack_find): Add s390-specific code.
6064 2016-02-12  Walter Lee  <walt@tilera.com>
6066         * config.host (tilegx*-*-linux*): remove ti from
6067         softfp_int_modes for 32-bit configs.
6069 2016-02-10  Ian Lance Taylor  <iant@google.com>
6071         PR go/68562
6072         * config/i386/morestack.S (__stack_split_initialize): Align
6073         stack.
6075 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
6077         PR bootstrap/69611
6078         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
6079         __FLOAT128__ to compile only for __float128 capable targets.
6081 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
6083         PR target/69444
6084         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
6085         instead of ___NO_FPRS__.
6087 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
6088             Steven Munroe  <munroesj@linux.vnet.ibm.com>
6089             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
6091         * config/rs6000/float128-sed: New files to convert TF names to KF
6092         names for PowerPC IEEE 128-bit floating point support.
6093         * config/rs6000/float128-sed-hw: Likewise.
6095         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
6096         floating point hardware support.
6098         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
6099         128-bit floating point software emulation or use ISA 3.0 hardware
6100         support if it is available.
6102         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
6103         floating point.
6105         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
6106         floating point to IBM extended double.
6108         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
6109         double to IEEE 128-bit floating point.
6111         * config/rs6000/t-float128: New Makefile fragments to enable
6112         building __float128 emulation support.
6113         * config/rs6000/t-float128-hw: Likewise.
6115         * config/rs6000/sfp-exceptions.c: New file to provide exception
6116         support for IEEE 128-bit floating point.
6118         * config/rs6000/floattikf.c: New files for converting between IEEE
6119         128-bit floating point and signed/unsigned 128-bit integers.
6120         * config/rs6000/fixunskfti.c: Likewise.
6121         * config/rs6000/fixkfti.c: Likewise.
6122         * config/rs6000/floatuntikf.c: Likewise.
6124         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
6125         when building on 64-bit systems, or when VSX is enabled.
6126         (_FP_W_TYPE): Likewise.
6127         (_FP_WS_TYPE): Likewise.
6128         (_FP_I_TYPE): Likewise.
6129         (TItype): Define on 64-bit systems.
6130         (UTItype): Likewise.
6131         (TI_BITS): Likewise.
6132         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
6133         (_FP_MUL_MEAT_Q): Likewise.
6134         (_FP_DIV_MEAT_D): Likewise.
6135         (_FP_DIV_MEAT_Q): Likewise.
6136         (_FP_NANFRAC_D): Likewise.
6137         (_FP_NANFRAC_Q): Likewise.
6138         (ISA_BIT): Add exception support if we are being compiled on a
6139         machine with hardware floating point support to build the IEEE
6140         128-bit emulation functions.
6141         (FP_EX_INVALID): Likewise.
6142         (FP_EX_OVERFLOW): Likewise.
6143         (FP_EX_UNDERFLOW): Likewise.
6144         (FP_EX_DIVZERO): Likewise.
6145         (FP_EX_INEXACT): Likewise.
6146         (FP_EX_ALL): Likewise.
6147         (__sfp_handle_exceptions): Likewise.
6148         (FP_HANDLE_EXCEPTIONS): Likewise.
6149         (FP_RND_NEAREST): Likewise.
6150         (FP_RND_ZERO): Likewise.
6151         (FP_RND_PINF): Likewise.
6152         (FP_RND_MINF): Likewise.
6153         (FP_RND_MASK): Likewise.
6154         (_FP_DECL_EX): Likewise.
6155         (FP_INIT_ROUNDMODE): Likewise.
6156         (FP_ROUNDMODE): Likewise.
6158         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
6159         VSX code, enable IEEE 128-bit floating point.  If the compiler can
6160         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
6161         floating point hardware instructions and it supports declaring
6162         functions with the ifunc attribute, enable ifunc functions to
6163         switch between software and hardware support.
6164         * configure.ac (powerpc*-*-linux*): Likewise.
6165         * configure: Regenerate.
6167 2016-01-15  Nick Clifton  <nickc@redhat.com>
6169         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
6170         dependency as the source file to be compiled.
6171         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
6172         (lib2hw_mul_f5.o): Likewise.
6174 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
6176         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
6177         * libgcc/config/rs6000/fixkfti.c: Likewise.
6178         * libgcc/config/rs6000/fixunskfti.c: Likewise.
6179         * libgcc/config/rs6000/float128-hw.c: Likewise.
6180         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
6181         * libgcc/config/rs6000/float128-sed: Likewise.
6182         * libgcc/config/rs6000/floattikf.c: Likewise.
6183         * libgcc/config/rs6000/floatuntikf.c: Likewise.
6184         * libgcc/config/rs6000/quad-float128.h: Likewise.
6185         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
6186         * libgcc/config/rs6000/sfp-machine.h: Likewise.
6187         * libgcc/config/rs6000/t-float128: Likewise.
6188         * libgcc/config/rs6000/t-float128-hw: Likewise.
6189         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
6190         * libgcc/config.host: Likewise.
6191         * libgcc/configure: Likewise.
6192         * libgcc/configure.ac: Likewise.
6194 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
6195             Steven Munroe  <munroesj@linux.vnet.ibm.com>
6196             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
6198         * config/rs6000/sfp-exceptions.c: New file to provide exception
6199         support for IEEE 128-bit floating point.
6201         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
6202         floating point hardware support.
6204         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
6205         point conversions.
6206         * config/rs6000/fixunskfti.c: Likewise.
6207         * config/rs6000/fixkfti.c: Likewise.
6208         * config/rs6000/floatuntikf.c: Likewise.
6209         * config/rs6000/extendkftf2-sw.c: Likewise.
6210         * config/rs6000/trunctfkf2-sw.c: Likewise.
6212         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
6213         128-bit floating point software emulation or use ISA 3.0 hardware
6214         support if it is available.
6216         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
6217         floating point.
6219         * config/rs6000/t-float128: New Makefile fragments to enable
6220         building __float128 emulation support.
6221         * config/rs6000/t-float128-hw: Likewise.
6223         * config/rs6000/float128-sed: New file to convert TF names to KF
6224         names for PowerPC IEEE 128-bit floating point support.
6226         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
6227         when building on 64-bit systems, or when VSX is enabled.
6228         (_FP_W_TYPE): Likewise.
6229         (_FP_WS_TYPE): Likewise.
6230         (_FP_I_TYPE): Likewise.
6231         (TItype): Define on 64-bit systems.
6232         (UTItype): Likewise.
6233         (TI_BITS): Likewise.
6234         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
6235         (_FP_MUL_MEAT_Q): Likewise.
6236         (_FP_DIV_MEAT_D): Likewise.
6237         (_FP_DIV_MEAT_Q): Likewise.
6238         (_FP_NANFRAC_D): Likewise.
6239         (_FP_NANFRAC_Q): Likewise.
6240         (ISA_BIT): Add exception support if we are being compiled on a
6241         machine with hardware floating point support to build the IEEE
6242         128-bit emulation functions.
6243         (FP_EX_INVALID): Likewise.
6244         (FP_EX_OVERFLOW): Likewise.
6245         (FP_EX_UNDERFLOW): Likewise.
6246         (FP_EX_DIVZERO): Likewise.
6247         (FP_EX_INEXACT): Likewise.
6248         (FP_EX_ALL): Likewise.
6249         (__sfp_handle_exceptions): Likewise.
6250         (FP_HANDLE_EXCEPTIONS): Likewise.
6251         (FP_RND_NEAREST): Likewise.
6252         (FP_RND_ZERO): Likewise.
6253         (FP_RND_PINF): Likewise.
6254         (FP_RND_MINF): Likewise.
6255         (FP_RND_MASK): Likewise.
6256         (_FP_DECL_EX): Likewise.
6257         (FP_INIT_ROUNDMODE): Likewise.
6258         (FP_ROUNDMODE): Likewise.
6260         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
6261         compiler can do __float128.
6262         * configure: Regenerate.
6264         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
6265         VSX code, enable IEEE 128-bit floating point.
6267 2016-01-05  Olivier Hainque  <hainque@adacore.com>
6269         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
6270         specificities.
6272 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
6274         Update copyright years.
6276 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
6278         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
6279         soft-fp targets.
6281 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
6283         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
6284         instead of abort to avoid dependency on stdlib.h.
6286 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
6288         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
6289         to initialize call to __dl_fixup once.
6291 2015-12-04  Nick Clifton  <nickc@redhat.com>
6293         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
6294         Allow for the second argument being negative.
6295         * config.host (extra_parts): Define for MSP430.  Create separate
6296         libraries for each of the hardware multiply formats.
6297         * config/msp430/lib2hw_mul.S: Build only the multiply routines
6298         that are needed.
6299         * config/msp430/lib2mul.c: Likewise.
6300         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
6301         Add rules to build hardware multiply libraries.
6302         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
6303         __mspabi_divul function.
6304         (__mspabi_divllu): New stub function.
6306 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
6308         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
6309         fixup values if saved GOT address doesn't match runtime address.
6310         (fixup_branch_offset): Reorder list.
6312 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6314         * Makefile.in (VTV_CFLAGS): New variable.
6315         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
6316         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
6317         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6318         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
6319         to extra_parts if $enable_vtable_verify = yes.
6321 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6323         PR target/68059
6324         * config/arm/linux-atomic-64bit.c (__write): Rename to...
6325         (write): ...this and fix the return type.
6327 2015-11-19  DJ Delorie  <dj@redhat.com>
6329         * config/msp430/lib2hw_mul.S: Fix alignment.
6331 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
6333         * config/nvptx/reduction.c: New.
6334         * config/nvptx/t-nvptx (LIB2ADD): Add it.
6336 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
6338         * config/rs6000/on_exit.c: New file.
6339         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
6340         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
6342 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
6344         * config/arc/dp-hack.h: Add support for ARCHS.
6345         * config/arc/ieee-754/divdf3.S: Likewise.
6346         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6347         * config/arc/ieee-754/muldf3.S: Likewise.
6348         * config/arc/ieee-754/mulsf3.S: Likewise
6349         * config/arc/lib1funcs.S: Likewise
6350         * config/arc/gmon/dcache_linesz.S: Don't read the build register
6351         for ARCv2 cores.
6352         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
6353         for ARCv2 cores.
6354         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
6355         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
6356         cores.
6358 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6360         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
6361         value.
6362         * config/ia64/crtend.S: Likewise.
6364 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
6366         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
6367         __CHAR_BIT__ instead of BITS_PER_UNIT.
6368         * fixed-bit.h: Likewise.
6369         * fp-bit.h: Likewise.
6370         * libgcc2.c (__popcountSI2): Likewise.
6371         (__popcountDI2): Likewise.
6372         * libgcc2.h: Likewise.
6373         * libgcov.h: Likewise.
6375 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
6377         * config/rs6000/atexit.c: New file.
6378         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
6379         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
6380         * config/rs6000/cxa_finalize.c
6381         (catomic_compare_and_exchange_bool_acq): Negate return value.
6383 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
6385         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
6386         (processor_subtypes): Add znver1.
6387         (get_amd_cpu): Detect znver1.
6389 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
6391         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
6392         Include crtfastmath.o.
6394 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
6396         PR libgcc/66883
6397         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
6399 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
6401         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
6402         * config/rl78/divmodsi.S: Update return register to r8.
6403         * config/rl78/divmodhi.S: Update return register to r8,r9.
6404         Branch to main_loop_done_himode to pop registers before return.
6406 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
6408         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
6409         (__cpu_indicator_init): Fix model selection for AMD CPUs.
6411 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
6413         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
6415 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
6417         * config.host (xtensa*-*-uclinux*): New configuration.
6419 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
6421         * config/i386/cpuinfo.c (processor_features): Add
6422         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
6424 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
6426         * soft-fp/adddf3.c: Update from glibc.
6427         * soft-fp/addsf3.c: Likewise.
6428         * soft-fp/addtf3.c: Likewise.
6429         * soft-fp/divdf3.c: Likewise.
6430         * soft-fp/divsf3.c: Likewise.
6431         * soft-fp/divtf3.c: Likewise.
6432         * soft-fp/double.h: Likewise.
6433         * soft-fp/eqdf2.c: Likewise.
6434         * soft-fp/eqsf2.c: Likewise.
6435         * soft-fp/eqtf2.c: Likewise.
6436         * soft-fp/extenddftf2.c: Likewise.
6437         * soft-fp/extended.h: Likewise.
6438         * soft-fp/extendsfdf2.c: Likewise.
6439         * soft-fp/extendsftf2.c: Likewise.
6440         * soft-fp/extendxftf2.c: Likewise.
6441         * soft-fp/fixdfdi.c: Likewise.
6442         * soft-fp/fixdfsi.c: Likewise.
6443         * soft-fp/fixdfti.c: Likewise.
6444         * soft-fp/fixsfdi.c: Likewise.
6445         * soft-fp/fixsfsi.c: Likewise.
6446         * soft-fp/fixsfti.c: Likewise.
6447         * soft-fp/fixtfdi.c: Likewise.
6448         * soft-fp/fixtfsi.c: Likewise.
6449         * soft-fp/fixtfti.c: Likewise.
6450         * soft-fp/fixunsdfdi.c: Likewise.
6451         * soft-fp/fixunsdfsi.c: Likewise.
6452         * soft-fp/fixunsdfti.c: Likewise.
6453         * soft-fp/fixunssfdi.c: Likewise.
6454         * soft-fp/fixunssfsi.c: Likewise.
6455         * soft-fp/fixunssfti.c: Likewise.
6456         * soft-fp/fixunstfdi.c: Likewise.
6457         * soft-fp/fixunstfsi.c: Likewise.
6458         * soft-fp/fixunstfti.c: Likewise.
6459         * soft-fp/floatdidf.c: Likewise.
6460         * soft-fp/floatdisf.c: Likewise.
6461         * soft-fp/floatditf.c: Likewise.
6462         * soft-fp/floatsidf.c: Likewise.
6463         * soft-fp/floatsisf.c: Likewise.
6464         * soft-fp/floatsitf.c: Likewise.
6465         * soft-fp/floattidf.c: Likewise.
6466         * soft-fp/floattisf.c: Likewise.
6467         * soft-fp/floattitf.c: Likewise.
6468         * soft-fp/floatundidf.c: Likewise.
6469         * soft-fp/floatundisf.c: Likewise.
6470         * soft-fp/floatunditf.c: Likewise.
6471         * soft-fp/floatunsidf.c: Likewise.
6472         * soft-fp/floatunsisf.c: Likewise.
6473         * soft-fp/floatunsitf.c: Likewise.
6474         * soft-fp/floatuntidf.c: Likewise.
6475         * soft-fp/floatuntisf.c: Likewise.
6476         * soft-fp/floatuntitf.c: Likewise.
6477         * soft-fp/gedf2.c: Likewise.
6478         * soft-fp/gesf2.c: Likewise.
6479         * soft-fp/getf2.c: Likewise.
6480         * soft-fp/ledf2.c: Likewise.
6481         * soft-fp/lesf2.c: Likewise.
6482         * soft-fp/letf2.c: Likewise.
6483         * soft-fp/muldf3.c: Likewise.
6484         * soft-fp/mulsf3.c: Likewise.
6485         * soft-fp/multf3.c: Likewise.
6486         * soft-fp/negdf2.c: Likewise.
6487         * soft-fp/negsf2.c: Likewise.
6488         * soft-fp/negtf2.c: Likewise.
6489         * soft-fp/op-1.h: Likewise.
6490         * soft-fp/op-2.h: Likewise.
6491         * soft-fp/op-4.h: Likewise.
6492         * soft-fp/op-8.h: Likewise.
6493         * soft-fp/op-common.h: Likewise.
6494         * soft-fp/quad.h: Likewise.
6495         * soft-fp/single.h: Likewise.
6496         * soft-fp/soft-fp.h: Likewise.
6497         * soft-fp/subdf3.c: Likewise.
6498         * soft-fp/subsf3.c: Likewise.
6499         * soft-fp/subtf3.c: Likewise.
6500         * soft-fp/truncdfsf2.c: Likewise.
6501         * soft-fp/trunctfdf2.c: Likewise.
6502         * soft-fp/trunctfsf2.c: Likewise.
6503         * soft-fp/trunctfxf2.c: Likewise.
6504         * soft-fp/unorddf2.c: Likewise.
6505         * soft-fp/unordsf2.c: Likewise.
6506         * soft-fp/unordtf2.c: Likewise.
6508 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
6510         PR libgcc/67624
6511         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
6513 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6515         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6516         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
6517         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
6518         messages.
6519         (internal_mcount): Likewise.
6520         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
6521         crt_compile, add CRTSTUFF_T_CFLAGS_S.
6523 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6525         * configure.ac (libgcc_cv_solaris_crts): New test.
6526         * configure: Regenerate.
6527         * config.in: Regenerate.
6528         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
6529         * config/gmon-sol2.c: Rename to ...
6530         * config/sol2/gmon.c: ... this.
6531         Include auto-target.h.
6532         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
6533         * config/t-sol2: Rename to ...
6534         * config/sol2/t-sol2: ... this.
6535         (gmon.o): Reflect renaming.
6536         (crtp.o, crtpg.o): New rules.
6537         * config.host (*-*-solaris2*): Reflect renaming.
6538         Use system CRTs if present.
6539         Remove default CRT case.
6541 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
6543         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
6544         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
6545         __kernel_cmpxchg2.
6546         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
6547         (__sync_val_compare_and_swap_##WIDTH): Likewise.
6548         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
6549         (__sync_lock_test_and_set_##WIDTH): Likewise.
6550         (__sync_lock_release_##WIDTH): Likewise.
6551         (__sync_fetch_and_##OP##_4): Change result to match type of
6552         __kernel_cmpxchg.
6553         (__sync_##OP##_and_fetch_4): Likewise.
6554         (__sync_val_compare_and_swap_4): Likewise.
6555         (__sync_bool_compare_and_swap_4): likewise.
6556         (__sync_lock_test_and_set_4): Likewise.
6557         (__sync_lock_release_4): Likewise.
6558         (FETCH_AND_OP_2): Add long long variants.
6559         (OP_AND_FETCH_2): Likewise.
6560         (COMPARE_AND_SWAP_2 ): Likewise.
6561         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6562         (SYNC_LOCK_RELEASE_2): Likewise.
6563         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
6565 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
6567         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
6568         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
6569         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
6570         (get_available_features): Habdle new features.
6572 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
6574         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
6575         memory layout. Deal correctly with BSS region larger than 32K.
6576         Handle a watchdog reset like a power-on reset. Clean up unused
6577         code.
6579 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
6580             David Edelsohn  <dje.gcc@gmail.com>
6582         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
6583         * config/rs6000/crtdbase.S: New file.
6584         * config/rs6000/t-aix-cxa: Build crtdbase.o.
6586 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
6588         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
6589         Add support for call0 ABI.
6591 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
6593         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
6595 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
6597         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
6598         (__GTHREAD_HAS_COND): Likewise.
6599         (__gthread_t): Likewise.
6600         (__gthread_cond_t): Likewise.
6601         (__gthread_time_t): Likewise.
6602         (__GTHREAD_MUTEX_INIT): Likewise.
6603         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
6604         (__GTHREAD_COND_INIT): Likewise.
6605         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
6606         (__GTHREAD_TIME_INIT): Likewise.
6607         (__gthread_create): Likewise.
6608         (__gthread_join): Likewise.
6609         (__gthread_detach): Likewise.
6610         (__gthread_equal): Likewise.
6611         (__gthread_self): Likewise.
6612         (__gthread_yield): Likewise.
6613         (__gthread_cond_broadcast): Likewise.
6614         (__gthread_cond_signal): Likewise.
6615         (__gthread_cond_wait): Likewise.
6616         (__gthread_cond_timedwait): Likewise.
6617         (__gthread_cond_wait_recursive): Likewise.
6618         (__gthread_cond_destroy): Likewise.
6619         (rtems_gxx_once): Delete.
6620         (rtems_gxx_key_create): Likewise.
6621         (rtems_gxx_key_delete): Likewise.
6622         (rtems_gxx_getspecific): Likewise.
6623         (rtems_gxx_setspecific): Likewise.
6624         (rtems_gxx_mutex_init): Likewise.
6625         (rtems_gxx_mutex_destroy): Likewise.
6626         (rtems_gxx_mutex_lock): Likewise.
6627         (rtems_gxx_mutex_trylock): Likewise.
6628         (rtems_gxx_mutex_unlock): Likewise.
6629         (rtems_gxx_recursive_mutex_init): Likewise.
6630         (rtems_gxx_recursive_mutex_lock): Likewise.
6631         (rtems_gxx_recursive_mutex_trylock): Likewise.
6632         (rtems_gxx_recursive_mutex_unlock): Likewise.
6633         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
6634         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
6635         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
6636         (__gthread_once): Likewise.
6637         (__gthread_key_create): Likewise.
6638         (__gthread_key_delete): Likewise.
6639         (__gthread_getspecific): Likewise.
6640         (__gthread_setspecific): Likewise.
6641         (__gthread_key_t): Use <pthread.h> type.
6642         (__gthread_once_t): Likewise
6643         (__gthread_mutex_t): Use <sys/lock.h> type.
6644         (__gthread_recursive_mutex_t): Likewise
6645         (__gthread_mutex_lock): Use <sys/lock.h> function.
6646         (__gthread_mutex_trylock): Likewise.
6647         (__gthread_mutex_timedlock): Likewise.
6648         (__gthread_mutex_unlock): Likewise.
6649         (__gthread_mutex_destroy): Likewise.
6650         (__gthread_recursive_mutex_lock): Likewise.
6651         (__gthread_recursive_mutex_trylock): Likewise.
6652         (__gthread_recursive_mutex_timedlock): Likewise.
6653         (__gthread_recursive_mutex_unlock): Likewise.
6654         (__gthread_recursive_mutex_destroy): Likewise.
6656 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
6658         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
6659         context->sp instead of context->cfa.
6661 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
6663         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
6664         with unwind-dw2-fde-dip.
6666 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
6668         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
6669         CALL12 followed by series of ENTRY to spill windowed registers.
6670         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
6671         instead of making linux spill syscall.
6673 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
6675         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
6676         (get_intel_cpu): Likewise.
6678 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
6680         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
6681         (get_intel_cpu): Add Knights Landing support.
6683 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
6685         PR target/66954
6686         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
6687         (get_available_features): Handle FEATURE_PCLMUL.
6689 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
6691         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
6692         Broadwell.
6694 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
6696         PR target/66954
6697         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
6698         (get_available_features): Handle FEATURE_AES.
6700 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
6702         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
6703         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
6705 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
6707         * offloadstuff.c: Constify host data.
6709 2015-07-17  Jan Beulich  <jbeulich@suse.com>
6711         * config/t-softfp: Split up "else ifneq".
6713 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
6714             Cesar Philippidis  <cesar@codesourcery.com>
6715             Chung-Lin Tang  <cltang@codesourcery.com>
6717         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
6718         for __nios2_arch__ level.
6720 2015-07-13  John Marino  <gnugcc@marino.st>
6722         * config/i386/t-dragonfly: New.
6724 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
6726         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6727         better match light-weight syscall argument order.
6728         (__kernel_cmpxchg2): Likewise.
6729         Adjust callers.
6731 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
6733         * config.host: Support i[34567]86-*-elfiamcu target.
6734         * config/t-softfp-sfdftf: New file.
6735         * config/i386/32/t-iamcu: Likewise.
6736         * configure: Regenerated.
6738 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
6740         libgcc/config/arm/
6741         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6743 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
6745         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6747 2015-05-27  John Marino  <gnugcc@marino.st>
6749         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6750         md_unwind_header
6751         * config/i386/freebsd-unwind.h: New.
6753 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
6755         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6756         i386/t-crtfm to tmake_file.
6757         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6758         (set_fast_math): Use set_fast_math_sse for SSE targets.
6759         * config/i386/t-crtfm: Remove.
6761 2015-05-21  Alan Modra  <amodra@gmail.com>
6763         PR libgcc/66225
6764         * config/rs6000/morestack.S: Remove ".abiversion 1".
6766 2015-05-20  Alan Modra  <amodra@gmail.com>
6768         * config/rs6000/morestack.S: New.
6769         * config/rs6000/t-stack-rs6000: New.
6770         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6771         to tmake_file.
6772         * generic-morestack.c: Don't build for powerpc 32-bit.
6774 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
6776         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6777         Remove useless endif/ifneq ($(enable_shared),yes) pair.
6779 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
6781         * config.host: FT32 target added.
6782         * config/ft32/*: New files for FT32 target.
6784 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
6786         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6787         New macros.
6788         * config/arm/ieee754-df.S: Add CFI directives.
6789         * config/arm/ieee754-sf.S: Add CFI directives.
6791 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
6793         * configure.ac: Include config/sjlj.m4.
6794         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6795         * config.in: Regenerate.
6796         * configure: Likewise.
6797         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6799 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
6801         * libgcov-util.c: Add space between string literal and macro name.
6803 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
6804             Chris Jones  <chrisj@nvidia.com>
6805             Joshua Conner  <jconner@nvidia.com>
6807         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6808         (arm*-*-uclinux*): Likewise.
6809         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6810         * config/arm/crtfastmath.c: New file.
6812 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
6814         * Makefile.in (real_host_noncanonical): New variable.
6815         (libsubdir): Use it.
6816         * configure.ac (real_host_noncanonical): Compute.  Remove special
6817         case for intelmicemul.
6818         * configure: Regenerate.
6820 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
6822         * config/frv/elf-lib.h: New file.
6823         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6824         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6825         to tm_file.
6827 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
6829         * config/frv/frvbengin.c: Do not include defaults.h
6830         * config/frv/frvend.c: Ditto.
6832 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
6834         * config.host: Add h8300-*-linux
6835         * config/h8300/t-linux: New file.
6836         * config/h8300/lib1funs.s: Change symbol prefix.
6837         * config/h8300/sfp-machine.h: 64bit double support.
6839 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
6840             Szabolcs Nagy  <szabolcs.nagy@arm.com>
6842         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6843         Linux if target provides dl_iterate_phdr.
6845 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
6847         PR target/65612
6848         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6849         * config/i386/cpuinfo.c (__cpu_model): Initialize.
6850         (__cpu_indicator_init@GCC_4.8.0): New.
6851         (__cpu_model@GCC_4.8.0): Likewise.
6852         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6853         -DUSE_ELF_SYMVER.
6855 2015-04-16  Nick Clifton  <nickc@redhat.com>
6857         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6858         and __modhi3 functions.
6859         * config/rl78/divmodso.S: Add G14 and G13 versions of the
6860         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6862 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
6864         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6865         do-while loop as macro body to avoid warnings.
6867 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
6868             Iain Sandoe  <iain@codesourcery.com>
6870         PR target/65351
6871         * configure: Regenerate.
6873 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
6874             Iain Sandoe  <iain@codesourcery.com>
6876         PR target/65351
6877         * configure: Regenerate.
6879 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
6881         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6883 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
6885         Implement call0 ABI for xtensa
6886         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6887         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6888         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6889         use ret in call0 ABI.
6890         * config/xtensa/t-windowed: New file.
6891         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6892         * libgcc/configure: Regenerated.
6893         * libgcc/configure.ac: Check if xtensa target is configured for
6894         windowed ABI and thus needs to use custom unwind code.
6896 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
6898         PR libgcc/64885
6899         * gthr-single.h: Use __unused__ attribute instead of unused.
6900         * config/gthr-vxworks.h: Likewise.
6901         * config/i386/gthr-win32.h: Likewise.
6903 2015-02-27  Kai Tietz  <ktietz@redhat.com>
6905         PR target/65038
6906         * config.in: Regenerated.
6907         * configure: Likewise.
6908         * configure.ac (AC_HEADER_STDC): Added explicit.
6909         (AC_CHECK_HEADERS): Check for default headers  plus
6910         for ftw.h header.
6911         * libgcov-util.c (gcov_read_profile_dir): Disable use
6912         of ftw-function, if header is not found.
6913         (ftw_read_file): Likewise.
6915 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
6917         PR target/65181
6918         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6919         -Dinhibit_libc.
6921 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
6923         * config/arm/bpabi.S (test_div_by_zero): Make label names
6924         consistent between thumb2 and arm mode cases.  Separate the
6925         signed comparison on the high word of the numerator from the
6926         unsigned comparison on the low word.
6927         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6928         signed comparison.
6930 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6932         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6933         and <string.h>.
6934         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6936 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
6938         PR gcov-profile/61889
6939         * libgcov-driver-system.c: undefine clashing macro for mkdir.
6941 2015-02-02  Nick Clifton  <nickc@redhat.com>
6943         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6944         rounding up the fraction.
6946 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
6948         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
6949         oldval and newval to const void *.  Fix typo.
6950         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
6951         (FETCH_AND_OP_WORD): Likewise.
6952         (OP_AND_FETCH_WORD): Likewise.
6953         (COMPARE_AND_SWAP_2): Likewise.
6954         (__sync_val_compare_and_swap_4): Likewise.
6955         (__sync_lock_test_and_set_4): Likewise.
6956         (SYNC_LOCK_RELEASE_2): Likewise.
6957         Remove support for long long atomic operations.
6959 2015-01-27  Caroline Tice  <cmtice@google.com>
6961         Committing VTV Cywin/Ming patch for Patrick Wollgast
6962         * Makefile.in: Move rules to build vtv_*.o out of the check
6963         for CUSTOM_CRTSTUFF.
6964         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
6965         i[34567]86-*-mingw*)
6966         (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
6967         enable_vtable_verify.
6969 2015-01-27  Nick Clifton  <nickc@redhat.com>
6971         * config/rl78/cmpsi2.S: Use function start and end macros.
6972         (__gcc_bcmp): New function.
6973         * config/rl78/lshrsi3.S: Use function start and end macros.
6974         * config/rl78/mulsi3.S: Add support for G10.
6975         (__mulqi3): New function for G10.
6976         * config/rl78/signbit.S: Use function start and end macros.
6977         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
6978         fpmath-sf.S.
6979         (LIB2FUNCS_EXCLUDE): Define.
6980         (LIB2FUNCS_ST): Define.
6981         * config/rl78/trampoline.S: Use function start and end macros.
6982         * config/rl78/vregs.h (START_FUNC): New macro.
6983         (START_ANOTHER_FUNC): New macro.
6984         (END_FUNC): New macro.
6985         (END_ANOTHER_FUNC): New macro.
6986         * config/rl78/bit-count.S: New file.  Contains assembler
6987         implementations of the bit counting functions: ___clzhi2,
6988         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
6989         __paritysi2, __popcounthi2 and __popcountsi2.
6990         * config/rl78/fpbit-sf.S: New file.  Contains assembler
6991         implementationas of the math functions: __negsf2, __cmpsf2,
6992         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
6993         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
6994         * config/rl78/fpmath-sf.S: New file.  Contains assembler
6995         implementations of the math functions: __subsf3, __addsf3,
6996         __mulsf3 and __divsf3
6998 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7000         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
7001         Add i386/elf-lib.h to tm_file.
7002         * config/i386/elf-lib.h: Fix comment.
7003         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
7004         && __sun__ && __svr4__]: Remove workaround.
7006 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
7008         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
7009         FEATURE_BMI2.
7010         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
7012 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
7014         * config/i386/cpuinfo.c (processor_subtypes): Add
7015         INTEL_COREI7_BROADWELL.
7016         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
7017         model numbers.
7019 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
7021         * config/i386/elf-lib.h: New file.
7022         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
7023         Wrap definition in #ifdef __i386__.
7024         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7025         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
7026         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
7027         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
7028         to tm_file.
7030 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
7032         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
7033         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
7035 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
7037         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
7038         Update rt_sigframe format and address for current Nios II
7039         Linux conventions.
7041 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
7043         * config.host (arm*-*-freebsd*): Add new configuration for
7044         arm*-*-freebsd*.
7045         * config/arm/freebsd-atomic.c: New file.
7046         * config/arm/t-freebsd: Likewise.
7047         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
7048         'PC-relative indirect' OS's.
7050 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
7052         * config.host: Add Visium support.
7053         * config/visium: New directory.
7055 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
7057         Update copyright years.
7059 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
7061         * config.host: Support mipsisa32r6 and mipsisa64r6.
7062         * config/mips/mips16.S: Do not build for R6.
7064 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
7066         * config/sh/crt.h: New.
7067         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
7068         symbols.
7069         * config/sh/crt1.S: Likewise.
7071 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
7073         PR libgcc/63832
7074         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
7075         func_ptr *dtor_list temporary variable to avoid "array subscript
7076         is above array bounds" warnings.
7078 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
7080         * Makefile.in (with_aix_soname): Define.
7081         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
7082         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
7083         * configure: Recreate.
7085 2014-12-05  Olivier Hainque  <hainque@adacore.com>
7087         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
7088         now provided by defaults.h.
7090 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
7092         PR target/55351
7093         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
7094         whether it's defined.
7096 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
7098         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
7099         * config/i386/cpuinfo.c (get_available_features): Detect it.
7101 2014-11-27  Tony Wang  <tony.wang@arm.com>
7103         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
7104         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
7105         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
7107 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
7109         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
7111 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
7113         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
7114         instead.
7116 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
7117             John David Anglin  <danglin@gcc.gnu.org>
7119         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
7120         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
7121         (OP_AND_FETCH_2): Likewise.
7122         (COMPARE_AND_SWAP_2): Likewise.
7123         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
7124         (SYNC_LOCK_RELEASE_2): Likewise.
7125         (SUBWORD_SYNC_OP): Remove.
7126         (SUBWORD_VAL_CAS): Likewise.
7127         (SUBWORD_BOOL_CAS): Likewise.
7128         (FETCH_AND_OP_WORD): Update.
7129         Consistently use signed types.
7131 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
7132             Thomas Schwinge  <thomas@codesourcery.com>
7133             Ilya Verbin  <ilya.verbin@intel.com>
7134             Andrey Turetskiy  <andrey.turetskiy@intel.com>
7136         * Makefile.in (crtoffloadbegin$(objext)): New rule.
7137         (crtoffloadend$(objext)): Likewise.
7138         * configure: Regenerate.
7139         * configure.ac (accel_dir_suffix): Compute new variable.
7140         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
7141         if enable_offload_targets is not empty.
7142         * offloadstuff.c: New file.
7144 2014-11-13  Nick Clifton  <nickc@redhat.com>
7146         * config/rl78/divmodhi.S: Add support for the G10 architecture.
7147         Use START_FUNC and END_FUNC macros to enable linker garbage
7148         collection.
7149         * config/rl78/divmodqi.S: Likewise.
7150         * config/rl78/divmodsi.S: Likewise.
7151         * config/rl78/mulsi3.S: Likewise.
7152         * config/rl78/lib2div.c: Remove G10 functions.
7153         * config/rl78/lib2muls.c: Likewise.
7154         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
7155         * config/rl78/vregs.h (START_FUNC): New macro.
7156         (END_FUNC): New macro.
7158 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
7160         * config/mips/mips16.S: Set .module when supported.  Update O32
7161         FP64 calling convention and use for FPXX when possible.  Add FPXX
7162         calling convention fallback case.
7164 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
7166         * config.host: Handle nvptx-*-*.
7167         * shared-object.mk (as-flags-$o): Define.
7168         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
7169         -xassembler-with-cpp.
7170         * static-object.mk: Identical changes.
7171         * config/nvptx/t-nvptx: New file.
7172         * config/nvptx/crt0.s: New file.
7173         * config/nvptx/free.asm: New file.
7174         * config/nvptx/malloc.asm: New file.
7175         * config/nvptx/realloc.c: New file.
7177 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
7179         * Makefile.in (libgcc.map.in): New target.
7180         (libgcc.map): Use libgcc.map.in.
7181         * config/t-softfp (softfp_compat): New variable to be set by
7182         users.
7183         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
7184         variables.
7185         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
7186         directory.
7187         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
7188         that use compat symbols and disable all code unless [SHARED].
7189         * config/t-softfp-compat: New file.
7190         * find-symver.awk: New file.
7191         * configure.ac (--with-glibc-version): New configure option.
7192         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
7193         * configure: Regenerate.
7194         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
7195         soft-float and e500.
7197 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
7199         * config/t-hardfp (hardfp_exclusions): Document new variable for
7200         user to define.
7201         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
7202         * config/t-softfp (softfp_extras): Document new variable for user
7203         to define.
7204         (softfp_func_list): Add functions from $(softfp_extras).
7205         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
7206         * config.host (powerpc*-*-linux*): For e500v1, use
7207         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
7208         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
7209         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
7211 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
7213         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
7214         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
7215         memory read accesses are ok.
7217 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
7219         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
7220         * configure: Regenerate.
7221         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
7222         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
7223         of soft-fp for 32-bit classic hard float.  Do not use
7224         t-softfp-excl for soft float.
7226 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
7228         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
7229         configurations.
7230         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
7231         Remove variables.
7233 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
7235         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
7236         introduced with 2014-10-21 trunk r216525.
7238 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
7239             Vidya Praveen  <vidya.praveen@atmel.com>
7240             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
7241             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
7242             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
7244         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
7245         order.
7247         Updated library functions for AVRTINY arch.
7248         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
7249         Replaced occurrences of r0/r1 with tmp/zero reg macros.
7250         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
7251         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
7252         wsubi/wadi macors.
7253         (__mulsi3_helper): Update stack, preserve callee saved regs and
7254         argument from stack. Restore callee save registers.
7255         (__mulpsi3): Likewise.
7256         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
7257         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
7258         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
7259         AVRTINY.
7260         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
7261         (__do_copy_data): Added new definition for AVRTINY.
7262         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
7263         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
7264         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
7265         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
7266         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
7267         macors.
7268         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
7269         AVRTINY.
7271         Fix broken long multiplication on tiny arch.
7273 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
7275         * soft-fp/double.h: Update from glibc.
7276         * soft-fp/eqdf2.c: Likewise.
7277         * soft-fp/eqsf2.c: Likewise.
7278         * soft-fp/eqtf2.c: Likewise.
7279         * soft-fp/extenddftf2.c: Likewise.
7280         * soft-fp/extended.h: Likewise.
7281         * soft-fp/extendsfdf2.c: Likewise.
7282         * soft-fp/extendsftf2.c: Likewise.
7283         * soft-fp/extendxftf2.c: Likewise.
7284         * soft-fp/gedf2.c: Likewise.
7285         * soft-fp/gesf2.c: Likewise.
7286         * soft-fp/getf2.c: Likewise.
7287         * soft-fp/ledf2.c: Likewise.
7288         * soft-fp/lesf2.c: Likewise.
7289         * soft-fp/letf2.c: Likewise.
7290         * soft-fp/op-1.h: Likewise.
7291         * soft-fp/op-2.h: Likewise.
7292         * soft-fp/op-4.h: Likewise.
7293         * soft-fp/op-8.h: Likewise.
7294         * soft-fp/op-common.h: Likewise.
7295         * soft-fp/quad.h: Likewise.
7296         * soft-fp/single.h: Likewise.
7297         * soft-fp/soft-fp.h: Likewise.
7298         * soft-fp/unorddf2.c: Likewise.
7299         * soft-fp/unordsf2.c: Likewise.
7300         * soft-fp/unordtf2.c: Likewise.
7301         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
7302         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
7303         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
7304         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
7305         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
7306         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
7307         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
7308         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
7309         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
7310         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
7312 2014-10-08  Rong Xu  <xur@google.com>
7314         * libgcov-util.c (read_gcda_file): Fix format.
7315         (find_match_gcov_info): Ditto.
7316         (calculate_2_entries): New.
7317         (compute_one_gcov): Ditto.
7318         (gcov_info_count_all_cold): Ditto.
7319         (gcov_info_count_all_zero): Ditto.
7320         (extract_file_basename): Ditto.
7321         (get_file_basename): Ditto.
7322         (set_flag): Ditto.
7323         (matched_gcov_info): Ditto.
7324         (calculate_overlap): Ditto.
7325         (gcov_profile_overlap): Ditto.
7326         * libgcov-driver.c (compute_summary): Make
7327         it avavilable for external calls.
7329 2014-10-06  Rong Xu  <xur@google.com>
7331         * Makefile.in: Ditto.
7332         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
7333         (gcov_sort_icall_topn_counter): Ditto.
7334         (gcov_sort_topn_counter_arrays): Ditto.
7335         (dump_one_gcov): Sort indirect_call topn counters.
7336         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
7337         function.
7338         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
7339         utility function.
7340         (__gcov_indirect_call_topn_profiler): New profiler function.
7341         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
7342         * libgcov.h: New decls.
7344 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
7346         * config.host: Remove support for score-*.
7348 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
7350         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7351         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
7352         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
7353         __LIBGCC_XF_MANT_DIG__.
7354         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
7355         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
7356         __LIBGCC_TF_MANT_DIG__.
7357         * libgcc2.c (NOTRUNC): Define in terms of
7358         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
7359         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7361 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
7363         PR target/63312
7364         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
7365         New macros.
7367 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
7369         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
7370         override USE_PT_GNU_EH_FRAME.
7371         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
7372         check USE_EH_FRAME_REGISTRY_ALWAYS against
7373         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
7374         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
7375         variable for substituted force_explicit_eh_registry.
7376         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
7377         * configure.ac (explicit-exception-frame-registration):
7378         New AC_ARG_ENABLE.
7379         * configure: Regenerate.
7381 2014-09-19  Olivier Hainque  <hainque@adacore.com>
7383         * config.host (powerpc-wrs-vxworksmils): New configuration,
7384         same as vxworksae.
7386 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
7388         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
7390 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
7392         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
7393         bits not set bits as indicating trapping exceptions.
7395 2014-09-17  Nathan sidwell  <nathan@acm.org>
7397         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
7398         (LIBGCOV_DRIVER): ... here.
7399         * libgcov-driver.c (gcov_master): New.
7400         (gcov_exit): Remove from master chain.
7401         (__gcov_init): Add to master chain if version compatible.  Don't
7402         clear the version.
7403         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
7404         (gcov_reset_int): Clear master chain, if compatible.
7405         (gcov_dump_int): New internal interface.  Dump master chain, if
7406         compatible.
7407         (gcov_dump): Alias for gcov_dump_int.
7408         * libgcov.h (struct gcov_root): Add next and prev fields.
7409         (struct gcov_master): New struct.
7410         (__gcov_master): New.
7411         (gcov_dump_int): Declare.
7413 2014-09-17  Olivier Hainque  <hainque@adacore.com>
7415         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
7416         and crtbegin.o + crtend.o to extra_parts.
7418 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
7420         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
7421         __LIBGCC_HAS_SF_MODE__.
7422         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7423         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7424         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7425         * config/libbid/bid_gcc_intrinsics.h
7426         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7427         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7428         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7429         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7430         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
7431         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7433 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
7435         PR target/63223
7436         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
7437         and R24 as needed.  Make work for all devices and .text locations.
7438         (__do_global_ctors, __do_global_dtors): Use word addresses.
7439         (__tablejump__, __tablejump_elpm__): Remove functions.
7440         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
7441         Add _tablejump2.
7442         (XICALL, XIJMP): New macros.
7444 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7445         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
7447         * config.host (aarch64*): Include crtfastmath.o and
7448         t-crtfm.
7449         * config/aarch64/crtfastmath.c: New file.
7451 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
7453         * config.host: Remove picochip support.
7454         * config/picochip/adddi3.S: Remove.
7455         * config/picochip/ashlsi3.S: Remove.
7456         * config/picochip/ashlsi3.c: Remove.
7457         * config/picochip/ashrsi3.S: Remove.
7458         * config/picochip/ashrsi3.c: Remove.
7459         * config/picochip/clzsi2.S: Remove.
7460         * config/picochip/cmpsi2.S: Remove.
7461         * config/picochip/divmod15.S: Remove.
7462         * config/picochip/divmodhi4.S: Remove.
7463         * config/picochip/divmodsi4.S: Remove.
7464         * config/picochip/lib1funcs.S: Remove.
7465         * config/picochip/longjmp.S: Remove.
7466         * config/picochip/lshrsi3.S: Remove.
7467         * config/picochip/lshrsi3.c: Remove.
7468         * config/picochip/parityhi2.S: Remove.
7469         * config/picochip/popcounthi2.S: Remove.
7470         * config/picochip/setjmp.S: Remove.
7471         * config/picochip/subdi3.S: Remove.
7472         * config/picochip/t-picochip: Remove.
7473         * config/picochip/ucmpsi2.S: Remove.
7474         * config/picochip/udivmodhi4.S: Remove.
7475         * config/picochip/udivmodsi4.S: Remove.
7477 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
7479         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
7480         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
7481         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
7482         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
7483         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
7484         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
7485         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
7486         defined and LIBGCC2_HAS_DF_MODE is defined.
7487         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
7488         defined and LIBGCC2_HAS_XF_MODE is defined.
7489         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
7490         defined and LIBGCC2_HAS_TF_MODE is defined.
7492 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
7494         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
7495         and ROUND_TOWARDS_ZERO conditionals.
7497 2014-09-07  Nathan sidwell  <nathan@acm.org>
7499         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
7500         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
7502 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
7504         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
7505         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7506         uses to __LIBGCC_STACK_POINTER_REGNUM__.
7507         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7508         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7509         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7510         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7511         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
7512         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
7513         (DWARF_FRAME_REGISTERS): Change all uses to
7514         __LIBGCC_DWARF_FRAME_REGISTERS__.
7515         (EH_RETURN_STACKADJ_RTX): Change all uses to
7516         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7517         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
7518         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
7519         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
7520         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
7521         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
7522         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
7523         to __LIBGCC_EH_FRAME_SECTION_NAME__.
7524         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
7525         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
7526         __LIBGCC_STACK_POINTER_REGNUM__.
7527         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7528         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7529         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7530         to __LIBGCC_STACK_POINTER_REGNUM__.
7531         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7532         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7533         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7534         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7535         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7536         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7537         (STACK_POINTER_REGNUM): Change all uses to
7538         __LIBGCC_STACK_POINTER_REGNUM__.
7539         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
7540         use to __LIBGCC_STACK_POINTER_REGNUM__.
7541         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7542         uses to __LIBGCC_STACK_POINTER_REGNUM__.
7543         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
7544         to __LIBGCC_DWARF_FRAME_REGISTERS__.
7545         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
7546         to __LIBGCC_DWARF_FRAME_REGISTERS__.
7547         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7548         to __LIBGCC_STACK_POINTER_REGNUM__.
7549         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
7550         Remove conditional definition.
7551         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
7552         __LIBGCC_TEXT_SECTION_ASM_OP__.
7553         (EH_FRAME_SECTION_NAME): Change all uses to
7554         __LIBGCC_EH_FRAME_SECTION_NAME__.
7555         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
7556         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
7557         (CTORS_SECTION_ASM_OP): Change all uses to
7558         __LIBGCC_CTORS_SECTION_ASM_OP__.
7559         (DTORS_SECTION_ASM_OP): Change all uses to
7560         __LIBGCC_DTORS_SECTION_ASM_OP__.
7561         (JCR_SECTION_NAME): Change all uses to
7562         __LIBGCC_JCR_SECTION_NAME__.
7563         (INIT_SECTION_ASM_OP): Change all uses to
7564         __LIBGCC_INIT_SECTION_ASM_OP__.
7565         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7566         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7567         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
7568         __LIBGCC_STACK_GROWS_DOWNWARD__.
7569         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
7570         __LIBGCC_INIT_SECTION_ASM_OP__.
7571         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7572         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7573         (EH_FRAME_SECTION_NAME): Change all uses to
7574         __LIBGCC_EH_FRAME_SECTION_NAME__.
7575         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
7576         definitions.  Change all uses to
7577         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
7578         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
7579         __LIBGCC_STACK_GROWS_DOWNWARD__.
7580         (DWARF_FRAME_REGISTERS): Change all uses to
7581         __LIBGCC_DWARF_FRAME_REGISTERS__.
7582         (EH_RETURN_STACKADJ_RTX): Change all uses to
7583         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7584         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
7585         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
7586         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
7587         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
7588         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
7590 2014-09-02  Nathan sidwell  <nathan@acm.org>
7592         * libgcov-interface.c (STRONG_ALIAS): New.
7593         (__gcov_flush): Call __gcov_reset_int.
7594         (__gcov_reset): Strong alias for ...
7595         (__gcov_reset_ing): ... this renamed hidden version.
7596         * libgcov.h (__gcov_reset_int): New declaration.
7598 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
7600         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
7601         call from here...
7602         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
7603         (__dso_handle): Define on Cygwin.
7604         * config/i386/t-cygming (crtbeginS.o): New rule.
7605         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
7607         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
7608         declaration syntax.
7610 2014-08-13  Steve Ellcey  <sellcey@mips.com>
7612         * crtstuff.c: Undef caddr_t.
7614 2014-08-12  Steve Ellcey  <sellcey@mips.com>
7616         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
7618 2014-08-07  Nathan Sidwell  <nathan@acm.org>
7620         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
7621         (LIBGCOV_DRIVER): ... to here.
7622         * libgcov.h (gcov_do_dump): New #define.
7623         (struct gcov_root): New.
7624         (__gcov_root): New declaration.
7625         (__gcov_dump_one): Declare.
7626         * libgcov-driver.c (gcov_list, gcov_dump_complete,
7627         run_accounted): Delete.
7628         (gcov_compute_histogram): Add LIST argument, adjust.
7629         (compute_summary): Adjust gcov_compute_histogram call.
7630         (gcov_do_dump): Not hidden, static in libgcov.
7631         (gcov_clear): Move  to interface.c.
7632         (__gcov_dump_one): New, broken out of ...
7633         (gcov_exit): ... here.  Make static.
7634         (__gcov_root): New.
7635         (__gcov_init): Adjust.
7636         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
7637         declarations.
7638         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
7639         (gcov_clear): Moved from driver.c.   Add LIST argument.
7640         (__gcov_reset): Adjust for changed interfaces.
7641         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
7643 2014-08-04  Rohit  <rohitarulraj@freescale.com>
7645         PR target/60102
7646         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
7647         based on change in SPE high register numbers and 3 HTM registers.
7649 2014-08-01  Nathan Sidwell  <nathan@acm.org>
7651         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
7652         LIBGCOV_INTERFACE): Reformat.
7653         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
7654         IN_GCOV_TOOL.
7655         * libgcov-interface.c: Reformat some comments.
7656         (__gcov_flush_mx): Add declaration.  Tidy up definition.
7658 2014-07-31  Alan Modra  <amodra@gmail.com>
7659             Peter Bergner  <bergner@vnet.ibm.com>
7661         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
7662         (pack_ldouble): New function.
7663         (__gcc_qadd): Use it.
7664         (__gcc_qmul): Likewise.
7665         (__gcc_qdiv): Likewise.
7666         (__gcc_qneg): Likewise.
7667         (__gcc_stoq): Likewise.
7668         (__gcc_dtoq): Likewise.
7670 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
7672         * config/s390/tpf-unwind.h: Include <stdbool.h>.
7673         (__tpf_eh_return): Add original return address as second parameter.
7674         Handle cases where unwinder routines were called directly, instead
7675         of from within the C++ library.
7677 2014-07-29  Nathan Sidwell  <nathan@acm.org>
7679         * libgcov.h: Move renaming of entry points to lib gcov specific
7680         portion.
7681         (gcov_do_dump): New rename.
7682         (gcov_rewrite): Remove inline, make HIDDEN.
7683         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
7684         (gcov_exit_compute_summary): Rename to ...
7685         (compute_summary): ... here.  Add LIST argument.
7686         (gcov_exit_merge_gcda): Rename to ...
7687         (merge_one_data): ... here.
7688         (gcov_exit_write_gcda): Rename to ...
7689         (write_one_data): ... here.
7690         (gcov_exit_merge_summary): Rename to ...
7691         (merge_summary): Add RUN_COUNTED argument.
7692         (gcov_exit_dump_gcov): Rename to ...
7693         (dump_one_gcov): Add RUN_COUNTED argument.
7694         (gcov_do_dump): New function, broken out of ...
7695         (gcov_exit): ... here.  Call it.
7697 2014-07-27  Anthony Green  <green@moxielogic.com>
7699         * config.host: Add moxiebox configuration suppport.
7701 2014-07-27  Nathan Sidwell  <nathan@acm.org>
7703         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
7704         (struct gcov_filename): ... here.  Include buffer and max length
7705         fields.
7706         (gcov_max_filename): Remove.
7707         (gi_filename): Remove.
7708         (gcov_exit_compute_summary): Compute max filename here.
7709         (gcov_exit_merge_gcda): Add filename parm, adjust.
7710         (gcov_exit_merge_summary): Likewise.
7711         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
7712         (gcov_exit): Likewise.
7713         (__gcov_init): Don't calculate max length here.
7714         * libgcov_util.c (max_filename_len): Remove.
7715         (read_gcda_file): Don't calculate max length here.
7716         (gcov_read_profile_dir): Don't propagate here.
7717         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
7718         struct gcov_filename changes.
7719         (gcov_exit_open_gcda_file): Likewise.
7721 2014-07-25  Nathan Sidwell  <nathan@acm.org>
7723         * libgcov-driver.c (set_gcov_dump_complete,
7724         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
7725         functions polluting user's namespace.
7726         (gcov_exit): Set variable directly.
7727         (gcov_clear): Reset variable directly.
7728         * libgcov-interface.c (get_gcov_dymp_complete,
7729         reset_gov_dump_complete): Remove declarations.
7730         (__gcov_reset, __gcov_dump): Don't call them.
7732 2014-07-24  DJ Delorie  <dj@redhat.com>
7734         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
7735         (__gcc_deregister_frame): Move logic to detect deregister function
7736         to ...
7737         (__gcc_register_frame): here, so it's consistent with the register
7738         logic.
7740 2014-07-23  Nathan Sidwell  <nathan@acm.org>
7742         * libgcov-driver.c (set_gcov_list): Remove.
7743         (gcov_list): Make non-static in GCOV_TOOL.
7744         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7746 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
7748         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7749         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7750         Don't use SYNC_LOCK_RELEASE for int type.
7752 2014-07-14  Richard Biener  <rguenther@suse.de>
7754         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7756 2014-07-11  Rong Xu  <xur@google.com>
7758         * libgcov-util.c (gcov_max_filename): Fix declartion.
7760 2014-07-10  Rong Xu  <xur@google.com>
7762         Add gcov-tool: an offline gcda profile processing tool
7763         Support.
7764         * libgcov-driver.c (gcov_max_filename): Make available
7765         to gcov-tool.
7766         * libgcov-merge.c (__gcov_merge_add): Replace
7767         gcov_read_counter() with a Macro.
7768         (__gcov_merge_ior): Ditto.
7769         (__gcov_merge_time_profile): Ditto.
7770         (__gcov_merge_single): Ditto.
7771         (__gcov_merge_delta): Ditto.
7772         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7773         in the utility functions.
7774         (set_fn_ctrs): Utility function for reading gcda files to in-memory
7775         gcov_list object link lists.
7776         (tag_function): Ditto.
7777         (tag_blocks): Ditto.
7778         (tag_arcs): Ditto.
7779         (tag_lines): Ditto.
7780         (tag_counters): Ditto.
7781         (tag_summary): Ditto.
7782         (read_gcda_finalize): Ditto.
7783         (read_gcda_file): Ditto.
7784         (ftw_read_file): Ditto.
7785         (read_profile_dir_init): Ditto.
7786         (gcov_read_profile_dir): Ditto.
7787         (gcov_read_counter_mem): Ditto.
7788         (gcov_get_merge_weight): Ditto.
7789         (merge_wrapper): A wrapper function that calls merging handler.
7790         (gcov_merge): Merge two gcov_info objects with weights.
7791         (find_match_gcov_info): Find the matched gcov_info in the list.
7792         (gcov_profile_merge): Merge two gcov_info object lists.
7793         (__gcov_add_counter_op): Process edge profile counter values.
7794         (__gcov_ior_counter_op): Process IOR profile counter values.
7795         (__gcov_delta_counter_op): Process delta profile counter values.
7796         (__gcov_single_counter_op): Process single  profile counter values.
7797         (fp_scale): Callback function for float-point scaling.
7798         (int_scale): Callback function for integer fraction scaling.
7799         (gcov_profile_scale): Scaling profile counters.
7800         (gcov_profile_normalize): Normalize profile counters.
7801         * libgcov.h: Add headers and functions for gcov-tool use.
7802         (gcov_get_counter): New.
7803         (gcov_get_counter_target): Ditto.
7804         (struct gcov_info): Make the functions field mutable in gcov-tool
7805         compilation.
7807 2014-06-23  Kai Tietz  <ktietz@redhat.com>
7809         PR libgcc/61585
7810         * unwind-seh.c (_Unwind_GetGR): Check for proper
7811         index range.
7812         (_Unwind_SetGR): Likewise.
7814 2014-05-22  Nick Clifton  <nickc@redhat.com>
7816         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7817         -mhwmult=none.
7819 2014-05-22  Teresa Johnson  <tejohnson@google.com>
7821         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7822         include.
7824 2014-05-20  John Marino  <gnugcc@marino.st>
7826         * config.host (*-*-dragonfly*): New target.
7827         * crtstuff.c: Make dl_iterate_support generic on *bsd.
7828         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7829         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7830         * config/i386/dragonfly-unwind.h: New.
7832 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
7834         PR libgcc/60166
7835         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7836         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7838 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
7840         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7841         implementation.
7843 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
7845         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7847 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7849         PR libgcc/61097
7850         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7851         if --enable-shared.
7853 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
7855         Work around for current cygwin32 build problems.
7856         * config/i386/cygming-crtbegin.c (__register_frame_info,
7857         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7858         functions only for 64-bit systems.
7860 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7862         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7863         (sigill_caught, sigill_hdlr): Remove.
7865 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7867         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7868         check.
7869         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7870         Solaris 9 single-threaded support.
7871         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7872         Solaris 9 single-threaded support.  Add call_user_handler code
7873         sequences.
7874         (sparc_is_sighandler): Likewise.
7876 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7878         * config.host: Append t-floattodi to tmake_file depending on
7879         host_address.
7881 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
7883         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
7885 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
7887         PR libgcc/60472
7888         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
7889         variable to avoid "array subscript is above array bounds" warnings.
7890         Use __builtin_expect when checking *jcr_list for NULL.
7892 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7894         PR libgcc/59339
7895         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7896         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7897         vtv_*.o to extra_parts if enable_vtable_verify.
7899 2014-03-06  Nick Clifton  <nickc@redhat.com>
7901         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7902         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7904 2014-02-28  Joey Ye  <joey.ye@arm.com>
7906         PR libgcc/60166
7907         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7908         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7909         Set to zero.
7911 2014-02-24  Walter Lee  <walt@tilera.com>
7913         * config.host: Support "tilegx*" and "tilepro*" triplets.
7914         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7915         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7917 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
7918             Chung-Lin Tang  <cltang@codesourcery.com>
7920         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7921         * config/nios2/crti.S: Remove .file directive.
7922         * config/nios2/crtn.S: Likewise.
7924 2014-02-18  Kai Tietz  <ktietz@redhat.com>
7925         Jonathan Schleifer  <js@webkeks.org>
7927         PR objc/56870
7928         * unwind-seh.c (_GCC_specific_handler): Pass proper
7929         value to unwind-handler.
7931 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
7933         * soft-fp/adddf3.c: Update from glibc.
7934         * soft-fp/addsf3.c: Likewise.
7935         * soft-fp/addtf3.c: Likewise.
7936         * soft-fp/divdf3.c: Likewise.
7937         * soft-fp/divsf3.c: Likewise.
7938         * soft-fp/divtf3.c: Likewise.
7939         * soft-fp/double.h: Likewise.
7940         * soft-fp/eqdf2.c: Likewise.
7941         * soft-fp/eqsf2.c: Likewise.
7942         * soft-fp/eqtf2.c: Likewise.
7943         * soft-fp/extenddftf2.c: Likewise.
7944         * soft-fp/extended.h: Likewise.
7945         * soft-fp/extendsfdf2.c: Likewise.
7946         * soft-fp/extendsftf2.c: Likewise.
7947         * soft-fp/extendxftf2.c: Likewise.
7948         * soft-fp/fixdfdi.c: Likewise.
7949         * soft-fp/fixdfsi.c: Likewise.
7950         * soft-fp/fixdfti.c: Likewise.
7951         * soft-fp/fixsfdi.c: Likewise.
7952         * soft-fp/fixsfsi.c: Likewise.
7953         * soft-fp/fixsfti.c: Likewise.
7954         * soft-fp/fixtfdi.c: Likewise.
7955         * soft-fp/fixtfsi.c: Likewise.
7956         * soft-fp/fixtfti.c: Likewise.
7957         * soft-fp/fixunsdfdi.c: Likewise.
7958         * soft-fp/fixunsdfsi.c: Likewise.
7959         * soft-fp/fixunsdfti.c: Likewise.
7960         * soft-fp/fixunssfdi.c: Likewise.
7961         * soft-fp/fixunssfsi.c: Likewise.
7962         * soft-fp/fixunssfti.c: Likewise.
7963         * soft-fp/fixunstfdi.c: Likewise.
7964         * soft-fp/fixunstfsi.c: Likewise.
7965         * soft-fp/fixunstfti.c: Likewise.
7966         * soft-fp/floatdidf.c: Likewise.
7967         * soft-fp/floatdisf.c: Likewise.
7968         * soft-fp/floatditf.c: Likewise.
7969         * soft-fp/floatsidf.c: Likewise.
7970         * soft-fp/floatsisf.c: Likewise.
7971         * soft-fp/floatsitf.c: Likewise.
7972         * soft-fp/floattidf.c: Likewise.
7973         * soft-fp/floattisf.c: Likewise.
7974         * soft-fp/floattitf.c: Likewise.
7975         * soft-fp/floatundidf.c: Likewise.
7976         * soft-fp/floatundisf.c: Likewise.
7977         * soft-fp/floatunditf.c: Likewise.
7978         * soft-fp/floatunsidf.c: Likewise.
7979         * soft-fp/floatunsisf.c: Likewise.
7980         * soft-fp/floatunsitf.c: Likewise.
7981         * soft-fp/floatuntidf.c: Likewise.
7982         * soft-fp/floatuntisf.c: Likewise.
7983         * soft-fp/floatuntitf.c: Likewise.
7984         * soft-fp/gedf2.c: Likewise.
7985         * soft-fp/gesf2.c: Likewise.
7986         * soft-fp/getf2.c: Likewise.
7987         * soft-fp/ledf2.c: Likewise.
7988         * soft-fp/lesf2.c: Likewise.
7989         * soft-fp/letf2.c: Likewise.
7990         * soft-fp/muldf3.c: Likewise.
7991         * soft-fp/mulsf3.c: Likewise.
7992         * soft-fp/multf3.c: Likewise.
7993         * soft-fp/negdf2.c: Likewise.
7994         * soft-fp/negsf2.c: Likewise.
7995         * soft-fp/negtf2.c: Likewise.
7996         * soft-fp/op-1.h: Likewise.
7997         * soft-fp/op-2.h: Likewise.
7998         * soft-fp/op-4.h: Likewise.
7999         * soft-fp/op-8.h: Likewise.
8000         * soft-fp/op-common.h: Likewise.
8001         * soft-fp/quad.h: Likewise.
8002         * soft-fp/single.h: Likewise.
8003         * soft-fp/soft-fp.h: Likewise.
8004         * soft-fp/subdf3.c: Likewise.
8005         * soft-fp/subsf3.c: Likewise.
8006         * soft-fp/subtf3.c: Likewise.
8007         * soft-fp/truncdfsf2.c: Likewise.
8008         * soft-fp/trunctfdf2.c: Likewise.
8009         * soft-fp/trunctfsf2.c: Likewise.
8010         * soft-fp/trunctfxf2.c: Likewise.
8011         * soft-fp/unorddf2.c: Likewise.
8012         * soft-fp/unordsf2.c: Likewise.
8013         * soft-fp/unordtf2.c: Likewise.
8014         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
8015         macro.
8016         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8017         Likewise.
8018         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8019         Likewise.
8020         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8021         Likewise.
8022         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8023         Likewise.
8024         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8025         Likewise.
8026         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8027         Likewise.
8028         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8029         Likewise.
8030         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8031         Likewise.
8032         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8033         Likewise.
8034         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8035         Likewise.
8036         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8037         Likewise.
8038         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8039         Likewise.
8040         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
8041         Likewise.
8042         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
8043         Likewise.
8044         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8045         Likewise.
8047 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8049         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
8050         cannot be represented.
8051         * config/s390/32/_fixsfdi.c: Likewise.
8052         * config/s390/32/_fixtfdi.c: Likewise.
8053         * config/s390/32/_fixunsdfdi.c: Likewise.
8054         * config/s390/32/_fixunssfdi.c: Likewise.
8055         * config/s390/32/_fixunstfdi.c: Likewise.
8057 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
8059         * configure.ac (libgcc_cv_mips_hard_float): New.
8060         * configure: Regenerate.
8061         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
8062         t-softfp-sfdf for hard-float targets.
8063         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
8064         (softfp_float_modes, softfp_int_modes, softfp_extensions)
8065         (softfp_truncations, softfp_exclude_libgcc2): New.
8066         * config/t-hardfp: New file.
8067         * config/t-hardfp-sfdf: Likewise.
8068         * config/hardfp.c: Likewise.
8070 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8072         * config.host: Include t-floattodi also for s390x.
8073         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
8074         * config/s390/32/_fixsfdi.c: Likewise.
8075         * config/s390/32/_fixtfdi.c: Likewise.
8076         * config/s390/32/_fixunsdfdi.c: Likewise.
8077         * config/s390/32/_fixunssfdi.c: Likewise.
8078         * config/s390/32/_fixunstfdi.c: Likewise.
8080 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8082         PR target/59788
8083         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
8084         (install-libgcc-unwind-map-forbuild): New target.
8085         (all): Depend on install-libgcc-unwind-map-forbuild.
8086         (install-libgcc-unwind-map): New target.
8087         (install): Depend on install-libgcc-unwind-map.
8089 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
8091         * config/nios2/crti.S (_init): Initialize GOT pointer from
8092         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
8094 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
8096         * configure.ac: Check __mips64 when setting host_address.
8097         * configure: Regenerate.
8098         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
8099         mips/t-mips64 and t-softfp.
8100         (mips*-*-linux*): Don't add mips/t-tpbit.
8101         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
8102         (DPBIT, DPBIT_CFLAGS): Delete.
8103         * config/mips/sfp-machine.h: New file.
8104         * config/mips/t-mips64: Likewise.
8105         * config/mips/t-softfp-tf: Likewise.
8106         * config/mips/t-tpbit: Delete.
8108 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8110         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
8111         as long long.
8113 2014-01-25  Walter Lee  <walt@tilera.com>
8115         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
8116         config.h or system.h.
8117         (bool) Define.
8119 2014-01-25  Walter Lee  <walt@tilera.com>
8121         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
8122         (post_atomic_barrier): Ditto.
8123         (__fetch_and_do): New macro.
8124         (__atomic_fetch_and_do): Use __fetch_and_do.
8125         (__sync_fetch_and_do): New macro.
8126         (__sync_fetch_and_add_4): New function.
8127         (__sync_fetch_and_sub_4): New function.
8128         (__sync_fetch_and_or_4): New function.
8129         (__sync_fetch_and_and_4): New function.
8130         (__sync_fetch_and_xor_4): New function.
8131         (__sync_fetch_and_nand_4): New function.
8132         (__sync_fetch_and_add_8): New function.
8133         (__sync_fetch_and_sub_8): New function.
8134         (__sync_fetch_and_or_8): New function.
8135         (__sync_fetch_and_and_8): New function.
8136         (__sync_fetch_and_xor_8): New function.
8137         (__sync_fetch_and_nand_8): New function.
8138         (__do_and_fetch): New macro.
8139         (__atomic_do_and_fetch): Use __do_and_fetch.
8140         (__sync_do_and_fetch): New macro.
8141         (__sync_add_and_fetch_4): New function.
8142         (__sync_sub_and_fetch_4): New function.
8143         (__sync_or_and_fetch_4): New function.
8144         (__sync_and_and_fetch_4): New function.
8145         (__sync_xor_and_fetch_4): New function.
8146         (__sync_nand_and_fetch_4): New function.
8147         (__sync_add_and_fetch_8): New function.
8148         (__sync_sub_and_fetch_8): New function.
8149         (__sync_or_and_fetch_8): New function.
8150         (__sync_and_and_fetch_8): New function.
8151         (__sync_xor_and_fetch_8): New function.
8152         (__sync_nand_and_fetch_8): New function.
8153         (__sync_exchange_methods): New macro.
8154         (__sync_val_compare_and_swap_4): New function.
8155         (__sync_bool_compare_and_swap_4): New function.
8156         (__sync_lock_test_and_test_4): New function.
8157         (__sync_val_compare_and_swap_8): New function.
8158         (__sync_bool_compare_and_swap_8): New function.
8159         (__sync_lock_test_and_test_8): New function.
8160         (__subword_cmpxchg_body): New macro.
8161         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
8162         (__atomic_compare_exchange_2): Ditto.
8163         (__sync_subword_cmpxchg): New macro.
8164         (__sync_val_compare_and_swap_1): New function.
8165         (__sync_bool_compare_and_swap_1): New function.
8166         (__sync_val_compare_and_swap_2): New function.
8167         (__sync_bool_compare_and_swap_2): New function.
8168         (__atomic_subword): Rename to ...
8169         (__subword): ... New name.
8170         (__atomic_subword_fetch): Use __subword.
8171         (__sync_subword_fetch): New macro.
8172         (__sync_fetch_and_add_1): New function.
8173         (__sync_fetch_and_sub_1): New function.
8174         (__sync_fetch_and_or_1): New function.
8175         (__sync_fetch_and_and_1): New function.
8176         (__sync_fetch_and_xor_1): New function.
8177         (__sync_fetch_and_nand_1): New function.
8178         (__sync_fetch_and_add_2): New function.
8179         (__sync_fetch_and_sub_2): New function.
8180         (__sync_fetch_and_or_2): New function.
8181         (__sync_fetch_and_and_2): New function.
8182         (__sync_fetch_and_xor_2): New function.
8183         (__sync_fetch_and_nand_2): New function.
8184         (__sync_add_and_fetch_1): New function.
8185         (__sync_sub_and_fetch_1): New function.
8186         (__sync_or_and_fetch_1): New function.
8187         (__sync_and_and_fetch_1): New function.
8188         (__sync_xor_and_fetch_1): New function.
8189         (__sync_nand_and_fetch_1): New function.
8190         (__sync_add_and_fetch_2): New function.
8191         (__sync_sub_and_fetch_2): New function.
8192         (__sync_or_and_fetch_2): New function.
8193         (__sync_and_and_fetch_2): New function.
8194         (__sync_xor_and_fetch_2): New function.
8195         (__sync_nand_and_fetch_2): New function.
8196         (__atomic_subword_lock): Use __subword.
8197         (__sync_subword_lock): New macro.
8198         (__sync_lock_test_and_set_1): New function.
8199         (__sync_lock_test_and_set_2): New function.
8201 2014-01-25  Walter Lee  <walt@tilera.com>
8203         * config/tilepro/atomic.c (BIT_OFFSET): Define.
8204         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
8205         (__atomic_subword): Ditto.
8207 2014-01-25  Walter Lee  <walt@tilera.com>
8209         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
8210         a prefix op argument.
8211         (__atomic_nand_fetch_4): Add prefix op.
8212         (__atomic_nand_fetch_8): Ditto.
8214 2014-01-21  Baruch Siach  <barch@tkos.co.il>
8216         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
8218 2014-01-09  Rong Xu  <xur@google.com>
8220         * libgcov-driver.c (this_prg): make it local to save
8221         bss space.
8222         (gcov_exit_compute_summary): Ditto.
8223         (gcov_exit_merge_gcda): Ditto.
8224         (gcov_exit_merge_summary): Ditto.
8225         (gcov_exit_dump_gcov): Ditto.
8227 2014-01-08  Rong Xu  <xur@google.com>
8229         * libgcov-driver.c: Use libgcov.h.
8230         (buffer_fn_data): Use xmalloc instead of malloc.
8231         (gcov_exit_merge_gcda): Ditto.
8232         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
8233         * libgcov.h: New common header files for libgcov-*.h.
8234         * libgcov-interface.c: Use libgcov.h
8235         * libgcov-merge.c: Ditto.
8236         * libgcov-profiler.c: Ditto.
8237         * Makefile.in: Add dependence to libgcov.h
8239 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
8241         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
8242         case of small numerator and finite nonzero result.
8244 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
8246         Update copyright years
8248 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
8250         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
8251         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
8252         config/arc/dp-hack.h, config/arc/fp-hack.h,
8253         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
8254         config/arc/ieee-754/arc600-dsp/divdf3.S,
8255         config/arc/ieee-754/arc600-dsp/divsf3.S,
8256         config/arc/ieee-754/arc600-dsp/muldf3.S,
8257         config/arc/ieee-754/arc600-dsp/mulsf3.S,
8258         config/arc/ieee-754/arc600-mul64/divdf3.S,
8259         config/arc/ieee-754/arc600-mul64/divsf3.S,
8260         config/arc/ieee-754/arc600-mul64/muldf3.S,
8261         config/arc/ieee-754/arc600-mul64/mulsf3.S,
8262         config/arc/ieee-754/arc600/divsf3.S,
8263         config/arc/ieee-754/arc600/mulsf3.S,
8264         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
8265         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
8266         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
8267         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
8268         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
8269         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
8270         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
8271         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
8272         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
8273         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
8274         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
8275         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
8276         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
8277         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
8278         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
8279         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
8280         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
8281         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
8282         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
8283         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
8284         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
8285         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
8286         vtv_start_preinit.c: Use the standard form for the copyright notice.
8288 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
8289             Chung-Lin Tang  <cltang@codesourcery.com>
8290         Based on patches from Altera Corporation
8292         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
8293         * config/nios2/lib2-nios2.h: New file.
8294         * config/nios2/lib2-divmod-hi.c: New file.
8295         * config/nios2/linux-unwind.h: New file.
8296         * config/nios2/lib2-divmod.c: New file.
8297         * config/nios2/linux-atomic.c: New file.
8298         * config/nios2/t-nios2: New file.
8299         * config/nios2/crti.asm: New file.
8300         * config/nios2/t-linux: New file.
8301         * config/nios2/lib2-divtable.c: New file.
8302         * config/nios2/lib2-mul.c: New file.
8303         * config/nios2/tramp.c: New file.
8304         * config/nios2/crtn.asm: New file.
8306 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
8308         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
8309         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
8310         from cpuid.h to check vendor signatures.
8312 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
8314         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
8315         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
8316         (get_amd_cpu): Likewise.
8318 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
8320         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
8321         Haswell.
8323 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
8324             H.J. Lu  <hongjiu.lu@intel.com>
8326         PR target/59422
8327         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
8328         and AMD_JAGUAR.
8329         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
8330         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
8331         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
8332         FEATURE_XOP and FEATURE_FMA.
8333         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
8334         AMDFAM15H_BDVER3.
8335         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
8336         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
8337         FEATURE_FMA4 and FEATURE_XOP.
8339 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
8341         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
8342         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
8343         (get_intel_cpu): Updated.
8345 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
8347         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
8349 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
8351         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8352         instructions when __SSE_MATH__ is defined.
8354 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
8356         * config.host (microblaze-*-rtems*): New.
8358 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
8360         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
8361         architectures that do not have hardware divide instruction.
8362         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
8364 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
8366         * longlong.h: Delete (moved to include/).
8368 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8370         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
8371         of normal number and qNaN to not raise an inexact exception.
8373 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
8375         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
8377 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
8379         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
8380         for correct opcodes on BE.
8382 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
8384         * soft-fp/op-4.h: Update from glibc.
8386 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
8388         * libgcc2.c (__udivmoddi4): Define new implementation when
8389         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
8390         divide instructions.
8392 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
8394         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
8396 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8398         * config/t-softfp (soft-fp-objects-base): New variable.
8399         (soft-fp-objects): Use it.
8401 2013-11-23  David Edelson  <dje.gcc@gmail.com>
8402             Andrew Dixie  <andrewd@gentrack.com>
8404         PR target/33704
8405         * config/rs6000/aixinitfini.c: New file.
8406         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
8407         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
8408         symbols.
8410 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
8412         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
8414 2013-11-18  Jan Hubicka  <jh@suse.cz>
8416         * libgcov-driver.c (run_accounted): Make global level static.
8417         (gcov_exit_merge_summary): Silence warning; do not clear
8418         run_accounted here.
8419         (gcov_exit): Clear it here.
8421         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
8422         run_accounted.
8424         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
8425         (all_prg, crc32): Remove static vars.
8426         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
8427         all_prg.
8428         (gcov_exit_merge_gcda): Add crc32 parameter.
8429         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
8430         do not account run if it was already accounted.
8431         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
8432         (gcov_exit): Initialize all_prg; update.
8434 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
8436         * configure: Regenerate.
8438 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8439             Alan Modra  <amodra@gmail.com>
8441         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
8442         (frob_update_context): Use it.
8444 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8445             Alan Modra  <amodra@gmail.com>
8447         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
8448         (trampoline_initial): Provide ELFv2 variant.
8449         (__trampoline_setup): Likewise.
8451         * config/rs6000/linux-unwind.h (frob_update_context): Do not
8452         check for AIX indirect function call sequence if _CALL_ELF == 2.
8454 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8455             Alan Modra  <amodra@gmail.com>
8457         * config/rs6000/linux-unwind.h (get_regs): Do not support
8458         old kernel versions if _CALL_ELF == 2.
8459         (frob_update_context): Do not support PLT stub variants only
8460         generated by old linkers if _CALL_ELF == 2.
8462 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8463             Alan Modra  <amodra@gmail.com>
8465         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
8466         location of CR save area for 64-bit little-endian systems.
8468 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
8470         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
8471         in tmake_file.
8472         * config/arm/t-vxworks: Delete.
8474 2013-11-10  Kai Tietz  <ktietz@redhat.com>
8476         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
8477         Increment load-count on use of LIBGCC_SONAME DLL.
8478         (hmod_libgcc): New static variable to hold handle of
8479         LIBGCC_SONAME DLL.
8480         (__gcc_deregister_frame): Decrement load-count of
8481         LIBGCC_SONAME DLL.
8483 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
8485         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
8486         availability.
8487         * configure: Regenerate
8489 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
8491         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
8492         FP_EX_DENORM.  Store result to volatile location after SSE division
8493         to close interrupt window.  Remove unneeded fwait after x87
8494         division since interrupt window will be closed by emitted fstp.
8495         Rewrite FP_EX_INEXACT handling.
8497 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
8499         * soft-fp/README: Update.
8500         * soft-fp/adddf3.c: Update from glibc.
8501         * soft-fp/addsf3.c: Likewise.
8502         * soft-fp/addtf3.c: Likewise.
8503         * soft-fp/divdf3.c: Likewise.
8504         * soft-fp/divsf3.c: Likewise.
8505         * soft-fp/divtf3.c: Likewise.
8506         * soft-fp/double.h: Likewise.
8507         * soft-fp/eqdf2.c: Likewise.
8508         * soft-fp/eqsf2.c: Likewise.
8509         * soft-fp/eqtf2.c: Likewise.
8510         * soft-fp/extenddftf2.c: Likewise.
8511         * soft-fp/extended.h: Likewise.
8512         * soft-fp/extendsfdf2.c: Likewise.
8513         * soft-fp/extendsftf2.c: Likewise.
8514         * soft-fp/extendxftf2.c: Likewise.
8515         * soft-fp/fixdfdi.c: Likewise.
8516         * soft-fp/fixdfsi.c: Likewise.
8517         * soft-fp/fixdfti.c: Likewise.
8518         * soft-fp/fixsfdi.c: Likewise.
8519         * soft-fp/fixsfsi.c: Likewise.
8520         * soft-fp/fixsfti.c: Likewise.
8521         * soft-fp/fixtfdi.c: Likewise.
8522         * soft-fp/fixtfsi.c: Likewise.
8523         * soft-fp/fixtfti.c: Likewise.
8524         * soft-fp/fixunsdfdi.c: Likewise.
8525         * soft-fp/fixunsdfsi.c: Likewise.
8526         * soft-fp/fixunsdfti.c: Likewise.
8527         * soft-fp/fixunssfdi.c: Likewise.
8528         * soft-fp/fixunssfsi.c: Likewise.
8529         * soft-fp/fixunssfti.c: Likewise.
8530         * soft-fp/fixunstfdi.c: Likewise.
8531         * soft-fp/fixunstfsi.c: Likewise.
8532         * soft-fp/fixunstfti.c: Likewise.
8533         * soft-fp/floatdidf.c: Likewise.
8534         * soft-fp/floatdisf.c: Likewise.
8535         * soft-fp/floatditf.c: Likewise.
8536         * soft-fp/floatsidf.c: Likewise.
8537         * soft-fp/floatsisf.c: Likewise.
8538         * soft-fp/floatsitf.c: Likewise.
8539         * soft-fp/floattidf.c: Likewise.
8540         * soft-fp/floattisf.c: Likewise.
8541         * soft-fp/floattitf.c: Likewise.
8542         * soft-fp/floatundidf.c: Likewise.
8543         * soft-fp/floatundisf.c: Likewise.
8544         * soft-fp/floatunditf.c: Likewise.
8545         * soft-fp/floatunsidf.c: Likewise.
8546         * soft-fp/floatunsisf.c: Likewise.
8547         * soft-fp/floatunsitf.c: Likewise.
8548         * soft-fp/floatuntidf.c: Likewise.
8549         * soft-fp/floatuntisf.c: Likewise.
8550         * soft-fp/floatuntitf.c: Likewise.
8551         * soft-fp/gedf2.c: Likewise.
8552         * soft-fp/gesf2.c: Likewise.
8553         * soft-fp/getf2.c: Likewise.
8554         * soft-fp/ledf2.c: Likewise.
8555         * soft-fp/lesf2.c: Likewise.
8556         * soft-fp/letf2.c: Likewise.
8557         * soft-fp/muldf3.c: Likewise.
8558         * soft-fp/mulsf3.c: Likewise.
8559         * soft-fp/multf3.c: Likewise.
8560         * soft-fp/negdf2.c: Likewise.
8561         * soft-fp/negsf2.c: Likewise.
8562         * soft-fp/negtf2.c: Likewise.
8563         * soft-fp/op-1.h: Likewise.
8564         * soft-fp/op-2.h: Likewise.
8565         * soft-fp/op-4.h: Likewise.
8566         * soft-fp/op-8.h: Likewise.
8567         * soft-fp/op-common.h: Likewise.
8568         * soft-fp/quad.h: Likewise.
8569         * soft-fp/single.h: Likewise.
8570         * soft-fp/soft-fp.h: Likewise.
8571         * soft-fp/subdf3.c: Likewise.
8572         * soft-fp/subsf3.c: Likewise.
8573         * soft-fp/subtf3.c: Likewise.
8574         * soft-fp/truncdfsf2.c: Likewise.
8575         * soft-fp/trunctfdf2.c: Likewise.
8576         * soft-fp/trunctfsf2.c: Likewise.
8577         * soft-fp/trunctfxf2.c: Likewise.
8578         * soft-fp/unorddf2.c: Likewise.
8579         * soft-fp/unordsf2.c: Likewise.
8580         * soft-fp/unordtf2.c: Likewise.
8582 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
8584         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
8585         (_FP_MUL_MEAT_D): Ditto.
8586         (_FP_DIV_MEAT_S): Ditto.
8587         (_FP_DIV_MEAT_D): Ditto.
8588         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
8589         t-softfp-sfdf and t-softfp to tmake_file.
8591 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
8593         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
8594         * config/i386/crtprec.c: Ditto.
8596 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
8597             Shiva Chen  <shiva0217@gmail.com>
8599         * config.host (nds32*-elf*): Add nds32 target.
8600         * config/nds32 : New directory and files.
8602 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
8604         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
8605         * config.host (cpu_type) <Setting default>: Add entry for
8606         crisv32-*-*.
8607         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
8608         <crisv32-*-linux*>: Adjust.
8609         * longlong.h: Wrap the whole CRIS section in a single
8610         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
8611         and sub_ddmmss.
8612         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
8613         defined.
8614         [__CRIS__] (__umulsidi3): Define.
8615         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
8616         * config/cris/sfp-machine.h: New file.
8617         * config/cris/umulsidi3.S: New file.
8618         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
8619         * config/cris/arit.c (SIGNMULT): New macro.
8620         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
8621         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
8622         saving 3 out of originally 33 cycles from the fastest
8623         path, 3 out of 54 from the medium path and one from the longest
8624         path.  Improve comments.
8626 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
8628         * sync.c: Remove static aliases and define each function directly
8629         under its real name.
8631 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
8633         * config.host (hppa*64*-*-linux*): Define extra_parts.
8634         (hppa*-*-linux*): Likewise.
8636 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
8638         * config/arc/crtgend.S: Add 2013 to Copyright years.
8639         * config/arc/gmon/atomic.h: Likewise.
8640         * config/arc/gmon/auxreg.h: Likewise.
8641         * config/arc/gmon/sys/gmon_out.h: Likewise.
8642         * config/arc/gmon/sys/gmon.h: Likewise.
8643         * config/arc/gmon/prof-freq.c: Likewise.
8644         * config/arc/gmon/mcount.c: Likewise.
8645         * config/arc/gmon/prof-freq-stub.S: Likewise.
8646         * config/arc/gmon/gmon.c: Likewise.
8647         * config/arc/gmon/machine-gmon.h: Likewise.
8648         * config/arc/gmon/profil.S: Likewise.
8649         * config/arc/gmon/dcache_linesz.S: Likewise.
8650         * config/arc/crtg.S: Likewise.
8651         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
8652         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
8653         * config/arc/ieee-754/adddf3.S: Likewise.
8654         * config/arc/ieee-754/truncdfsf2.S: Likewise.
8655         * config/arc/ieee-754/fixsfsi.S: Likewise.
8656         * config/arc/ieee-754/gtsf2.S: Likewise.
8657         * config/arc/ieee-754/floatsisf.S: Likewise.
8658         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
8659         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
8660         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
8661         * config/arc/ieee-754/fixdfsi.S: Likewise.
8662         * config/arc/ieee-754/addsf3.S: Likewise.
8663         * config/arc/ieee-754/gesf2.S: Likewise.
8664         * config/arc/ieee-754/floatsidf.S: Likewise.
8665         * config/arc/ieee-754/extendsfdf2.S: Likewise.
8666         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
8667         * config/arc/ieee-754/gtdf2.S: Likewise.
8668         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
8669         * config/arc/ieee-754/uneqdf2.S: Likewise.
8670         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
8671         * config/arc/ieee-754/uneqsf2.S: Likewise.
8672         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
8673         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
8674         * config/arc/ieee-754/eqdf2.S: Likewise.
8675         * config/arc/ieee-754/ordsf2.S: Likewise.
8676         * config/arc/ieee-754/divsf3.S: Likewise.
8677         * config/arc/ieee-754/divdf3.S: Likewise.
8678         * config/arc/ieee-754/floatunsidf.S: Likewise.
8679         * config/arc/ieee-754/orddf2.S: Likewise.
8680         * config/arc/ieee-754/eqsf2.S: Likewise.
8681         * config/arc/ieee-754/gedf2.S: Likewise.
8682         * config/arc/crtn.S: Likewise.
8683         * config/arc/crti.S: Likewise.
8684         * config/arc/t-arc700-uClibc: Likewise.
8685         * config/arc/asm.h: Likewise.
8686         * config/arc/libgcc-excl.ver: Likewise.
8687         * config/arc/t-arc-newlib: Likewise.
8688         * config/arc/divtab-arc700.c: Likewise.
8689         * config/arc/initfini.c: Likewise.
8690         * config/arc/fp-hack.h: Likewise.
8692 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
8693             Diego Novillo  <dnovillo@google.com>
8695         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
8696         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
8697         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
8698         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
8700 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
8701             Brendan Kehoe  <brendan@zen.org>
8702             Simon Cook  <simon.cook@embecosm.com>
8704         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
8705         * config/arc: New directory.
8706         * longlong.h [__arc__] (umul_ppmm): Remove.
8707         [__arc__] (__umulsidi3): Define.
8708         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
8709         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
8711 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
8713         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
8714         CreateSemaphoreA.
8715         * config/i386/gthr-win32.h: Likewise.
8717 2013-09-16  DJ Delorie  <dj@redhat.com>
8719         * config/rl78/vregs.h: Add G10 register definitions.
8720         * config/rl78/lib2mul.c: Enable for RL78/G10.
8721         * config/rl78/lib2div.c: Likewise.
8722         * config/rl78/lshrsi3.S: Use vregs.h.
8723         * config/rl78/cmpsi2.S: Likewise.
8724         * config/rl78/trampoline.S: Likewise.
8725         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
8727 2013-09-14  DJ Delorie  <dj@redhat.com>
8728             Nick Clifton  <nickc@redhat.com>
8730         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8731         * config/rl78/vregs.h: New.
8732         * config/rl78/signbit.S: New file.  Implements signbit function.
8733         * config/rl78/divmodsi.S: New.
8734         * config/rl78/divmodhi.S: New.
8735         * config/rl78/divmodqi.S: New.
8736         * config/rl78/t-rl78: Build them here...
8737         * config/rl78/lib2div.c: ...but not here.
8739 2013-09-12  DJ Delorie  <dj@redhat.com>
8741         * config.host (msp*-*-elf): New.
8742         * config/msp430/: New port.
8744 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
8746         PR gcov-profile/58127
8747         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8748         __thread var for emulated TLS.
8749         (__gcov_indirect_call_counters): Likewise.
8751 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
8752             Catherine Moore  <clm@codesourcery.com>
8753             Richard Sandiford  <rdsandiford@googlemail.com>
8755         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8756         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8757         (CALL_STUB_NO_RET): Likewise.
8758         (CALL_STUB_RET): Likewise.
8759         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8760         __mips16_ret call/return stub symbols.
8761         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8762         to tmake_file.
8764 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
8766         * config.host <mips*-*-linux*>: Remove a stray comment.
8768 2013-08-10  Jan Hubicka  <jh@suse.cz>
8770         Work around binutils PR14342
8771         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8772         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8773         (L_gcov_indirect_call_profiler_v2): New.
8775 2013-08-06  Jan Hubicka  <jh@suse.cz>
8777         * libgcov.c (__gcov_indirect_call_callee,
8778         __gcov_indirect_call_counters): New global vars.
8779         (__gcov_indirect_call_profiler): replace by ...
8780         (__gcov_indirect_call_profiler_v2) ... this one.
8782 2013-08-06  Caroline Tice  <cmtice@google.com>
8784         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
8785         vtv_start_preinit.o and vtv_end_preinit.o.
8786         * configure.ac: Add code to check/set enable_vtable_verify.
8787         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
8788         true.
8789         * vtv_start_preinit.c: New file.
8790         * vtv_end_preinit.c: New file.
8791         * vtv_start.c: New file.
8792         * vtv_end.c: New file.
8793         * configure: Regenerated.
8795 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
8797         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8798         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8799         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8800         GPL-3.0-with-GCC-exception.
8802 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
8804         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8805         ISA and up.
8807 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8809         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8810         mapping for FPRs when creating the fallback framestate.
8812 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
8814         PR target/57516
8815         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8816         (__round_s2_const, __round_u2_const)
8817         (__round_s4_const, __round_u4_const, __round_x8):
8818         Saturate result if addition result cannot be represented.
8820 2013-07-15  Matthias Klose  <doko@ubuntu.com>
8822         * libgcc2.c: Don't include <limits.h>.
8824 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
8826         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8828 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
8830         PR target/29776
8831         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8833 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
8835         PR middle-end/36041
8836         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8837         Define.
8838         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8839         instead of table lookups.
8840         (__popcountDI2): Likewise.
8842 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
8844         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8845         correctly.
8847 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
8849         PR other/53317
8850         * soft-fp/adddf3.c: Update from glibc.
8851         * soft-fp/addsf3.c: Likewise.
8852         * soft-fp/addtf3.c: Likewise.
8853         * soft-fp/divdf3.c: Likewise.
8854         * soft-fp/divsf3.c: Likewise.
8855         * soft-fp/divtf3.c: Likewise.
8856         * soft-fp/double.h: Likewise.
8857         * soft-fp/eqdf2.c: Likewise.
8858         * soft-fp/eqsf2.c: Likewise.
8859         * soft-fp/eqtf2.c: Likewise.
8860         * soft-fp/extenddftf2.c: Likewise.
8861         * soft-fp/extended.h: Likewise.
8862         * soft-fp/extendsfdf2.c: Likewise.
8863         * soft-fp/extendsftf2.c: Likewise.
8864         * soft-fp/fixdfdi.c: Likewise.
8865         * soft-fp/fixdfsi.c: Likewise.
8866         * soft-fp/fixsfdi.c: Likewise.
8867         * soft-fp/fixsfsi.c: Likewise.
8868         * soft-fp/fixtfdi.c: Likewise.
8869         * soft-fp/fixtfsi.c: Likewise.
8870         * soft-fp/fixunsdfdi.c: Likewise.
8871         * soft-fp/fixunsdfsi.c: Likewise.
8872         * soft-fp/fixunssfdi.c: Likewise.
8873         * soft-fp/fixunssfsi.c: Likewise.
8874         * soft-fp/fixunstfdi.c: Likewise.
8875         * soft-fp/fixunstfsi.c: Likewise.
8876         * soft-fp/floatdidf.c: Likewise.
8877         * soft-fp/floatdisf.c: Likewise.
8878         * soft-fp/floatditf.c: Likewise.
8879         * soft-fp/floatsidf.c: Likewise.
8880         * soft-fp/floatsisf.c: Likewise.
8881         * soft-fp/floatsitf.c: Likewise.
8882         * soft-fp/floatundidf.c: Likewise.
8883         * soft-fp/floatundisf.c: Likewise.
8884         * soft-fp/floatunditf.c: Likewise.
8885         * soft-fp/floatunsidf.c: Likewise.
8886         * soft-fp/floatunsisf.c: Likewise.
8887         * soft-fp/floatunsitf.c: Likewise.
8888         * soft-fp/gedf2.c: Likewise.
8889         * soft-fp/gesf2.c: Likewise.
8890         * soft-fp/getf2.c: Likewise.
8891         * soft-fp/ledf2.c: Likewise.
8892         * soft-fp/lesf2.c: Likewise.
8893         * soft-fp/letf2.c: Likewise.
8894         * soft-fp/muldf3.c: Likewise.
8895         * soft-fp/mulsf3.c: Likewise.
8896         * soft-fp/multf3.c: Likewise.
8897         * soft-fp/negdf2.c: Likewise.
8898         * soft-fp/negsf2.c: Likewise.
8899         * soft-fp/negtf2.c: Likewise.
8900         * soft-fp/op-1.h: Likewise.
8901         * soft-fp/op-2.h: Likewise.
8902         * soft-fp/op-4.h: Likewise.
8903         * soft-fp/op-8.h: Likewise.
8904         * soft-fp/op-common.h: Likewise.
8905         * soft-fp/quad.h: Likewise.
8906         * soft-fp/single.h: Likewise.
8907         * soft-fp/soft-fp.h: Likewise.
8908         * soft-fp/subdf3.c: Likewise.
8909         * soft-fp/subsf3.c: Likewise.
8910         * soft-fp/subtf3.c: Likewise.
8911         * soft-fp/truncdfsf2.c: Likewise.
8912         * soft-fp/trunctfdf2.c: Likewise.
8913         * soft-fp/trunctfsf2.c: Likewise.
8914         * soft-fp/unorddf2.c: Likewise.
8915         * soft-fp/unordsf2.c: Likewise.
8916         * soft-fp/unordtf2.c: Likewise.
8917         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8918         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8919         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8920         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8921         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8922         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8923         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8924         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8925         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8926         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8927         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8928         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8930 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
8932         * config/mips/lib2funcs.c: New file.
8933         * config/mips/t-mips (LIB2ADD_ST): Add it.
8935 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
8937         PR target/6526
8938         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8939         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
8941 2013-06-08  Walter Lee  <walt@tilera.com>
8943         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8944         Replace int64_t with long long.  Add __extension__ where
8945         appropriate.
8946         * config/tilepro/atomic.c: Include config.h.
8948 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
8950         * config.host (arm-wrs-vxworks): Configure with other soft float.
8952 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
8954         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8955         (mips64r5900el-*-elf*): New configurations.
8957 2013-06-04  Alan Modra  <amodra@gmail.com>
8959         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
8961 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
8963         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
8965 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
8967         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
8968         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
8969         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
8971 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
8973         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
8974         (powerpc-wrs-vxworks): Likewise.
8976 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
8978         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
8979         signal frames as well.
8980         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
8981         STACK_BIAS to the CFA offset.
8983 2013-05-17  Richard Henderson  <rth@redhat.com>
8985         PR target/49146
8986         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
8987         (execute_cfa_program): Use it when storing to fs->regs.
8989 2013-05-08  Kai Tietz  <ktietz@redhat.com>
8991         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
8992         (__deregister_frame_info): Likewise.
8994 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
8996         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
8997         NaN's payload.
8999         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
9001 2013-04-25  Alan Modra  <amodra@gmail.com>
9003         * config.host: Match little-endian powerpc-linux.
9005 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
9007         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
9008         as 'unsigned long long' instead of 'unsigned long'.
9009         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
9010         'signed long'.
9012 2013-04-10  Julian Brown  <julian@codesourcery.com>
9014         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
9015         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
9016         unsigned char/unsigned short.
9017         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
9019 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9021         PR other/55274
9022         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
9024 2013-04-04  Meador Inge  <meadori@codesourcery.com>
9026         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
9027         computing the location of the link register.
9028         (aeabi_uldivmod): Ditto.
9030 2013-03-27  Kai Tietz  <ktietz@redhat.com>
9032         * config.host: Add support for cygwin x64 target.
9033         * configure: Regenerated.
9035 2013-03-26  Walter Lee  <walt@tilera.com>
9037         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
9038         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
9040 2013-03-25  Kai Tietz  <ktietz@redhat.com>
9042         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
9044 2013-03-20  Robert Mason  <rbmj@verizon.net>
9046         * config/vxlib-tls.c (__gthread_get_tsd_data,)
9047         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
9048         (__gthread_leave_tsd_dtor_context): Add prototypes.
9049         (tls_delete_hook): Update.
9051 2013-03-20  Catherine Moore  <clm@codesourcery.com>
9052             Joseph Myers  <joseph@codesourcery.com>
9053             Chao-ying Fu  <fu@mips.com>
9055         * config/mips/mips16.S:  Don't build for microMIPS.
9056         * config/mips/linux-unwind.h: Handle microMIPS frame.
9057         * config/mips/crtn.S (fini, init): New labels.
9059 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
9061         PR tree-optimization/53265
9062         * unwind-dw2.c (execute_cfa_program): Avoid
9063         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
9064         on targets with DWARF_FRAME_REGISTERS < 32.
9066 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
9068         PR target/49880
9069         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
9070         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
9072 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
9074         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
9075         sandybridge processors.
9077 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
9079         PR target/56529
9080         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
9081         inclusion list.
9083 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
9085         * config/microblaze/crti.S: Setup stack protection at entry
9087 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
9089         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
9090         (__rotldi3): Shift bytewise if applicable.
9092 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
9094         * config/aarch64/sync-cache.c
9095         (__aarch64_sync_cache_range): Silence warnings.
9097 2013-02-25  Catherine Moore  <clm@codesourcery.com>
9099         Revert:
9100         2013-02-24  Catherine Moore  <clm@codesourcery.com>
9101             Joseph Myers  <joseph@codesourcery.com>
9102             Chao-ying Fu  <fu@mips.com>
9104         * config/mips/mips16.S:  Don't build for microMIPS.
9105         * config/mips/linux-unwind.h: Handle microMIPS frame.
9106         * config/mips/crtn.S (fini, init): New labels.
9108 2013-02-24  Catherine Moore  <clm@codesourcery.com>
9109             Joseph Myers  <joseph@codesourcery.com>
9110             Chao-ying Fu  <fu@mips.com>
9112         * config/mips/mips16.S:  Don't build for microMIPS.
9113         * config/mips/linux-unwind.h: Handle microMIPS frame.
9114         * config/mips/crtn.S (fini, init): New labels.
9116 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
9117         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
9118         as dividend.
9120 2013-02-16  Alan Modra  <amodra@gmail.com>
9122         PR target/55431
9123         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
9124         (ppc_fallback_frame_state): Always set up save locations for fp
9125         and altivec.  Don't bother with non-callee-saved regs, r0-r13
9126         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
9128 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
9130         PR target/54222
9131         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
9132         _ssmulHA, _ssmulSA.
9133         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
9134         _ssmulha3, _usmulusa3, _ssmulsa3.
9135         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
9136         (__muldi3): XCALL __muldi3_6 instead of rcall.
9137         (__umulsidi3, __mulsidi3): New functions.
9138         (do_prologue_saves, do_epilogue_restores): New .macros.
9139         (__divdi3_moddi3): Use them.
9140         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
9141         (__usmulusa3, __ssmulsa3): New functions.
9143 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
9144             Jack Howarth  <howarth@bromo.med.uc.edu>
9145             Patrick Marlier  <patrick.marlier@gmail.com>
9147         PR libitm/55693
9148         * config/darwin-crt-tm.c: Remove dummy functions hack.
9150 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
9152         PR target/54222
9153         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
9154         * config/avr/lib2-object.mk: New iterator to build objects from it.
9155         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
9156         lib2funcs.c.
9157         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
9158         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
9159         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
9160         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
9161         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
9162         * config/avr/lib1funcs-fixed.S: Implement them.
9164 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
9166         Update copyright years.
9168 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
9170         PR target/54601
9171         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
9172         Add crtcxa to extra_parts.
9173         * config/rs6000/exit.h: New file.
9174         * config/rs6000/cxa_atexit.c: New file.
9175         * config/rs6000/cxa_finalize.c: New file.
9176         * config/rs6000/crtcxa.c: New file.
9177         * config/rs6000/t-aix-cxa: New file.
9178         * config/rs6000/libgcc-aix-cxa.ver: New file.
9180 2013-01-31  Nick Clifton  <nickc@redhat.com>
9182         * config/v850/lib1funcs.S: Add support for e3v5 architecture
9183         variant.
9185 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
9187         PR target/54222
9188         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
9189         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
9190         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
9191         _divQQ,  _divHQ,  _divHA,  _divSA,
9192         _divUQQ, _divUHQ, _divUHA, _divUSA.
9194 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
9196         * config.host(microblaze*-linux*): tmake_file: Remove
9197         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
9198         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
9199         to exclude functions from being built with libgcc.c and use
9200         the microblaze assembly.
9202 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
9204         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
9205         extra_parts.
9207 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
9209         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
9210         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
9211         __UINTPTR_TYPE__; also cast 'base' to the same type before the
9212         alignment operation.
9214 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
9216         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
9217         loop start address for cache clearing.
9219 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
9221         * config/avr/lib1funcs.S: Remove trailing blanks.
9222         * config/avr/lib1funcs-fixed.S: Ditto.
9224 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
9226         * config/avr/avr-lib.h: Add GPL copyright notice.
9228 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
9230         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
9231         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
9232         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
9233         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
9235 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
9237         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
9238         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
9240 2013-01-04  Nick Clifton  <nickc@redhat.com>
9242         * config/v850/lib1funcs.S: Only provide CALLT support functions if
9243         the CALLT instruction is supported.
9245 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
9247         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
9248         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
9250 2012-12-13  John Tytgat  <John@bass-software.com>
9252         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
9253         is 25.
9255 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
9257         PR libgcc/55451
9258         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
9259         undefined signed overflows.
9261 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
9263         PR target/55344
9264         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
9266 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
9268         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
9269         (FP_TRAPPING_EXCEPTIONS): Define.
9270         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
9271         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
9273 2012-12-04  Richard Henderson  <rth@redhat.com>
9275         PR bootstrap/55571
9276         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
9278 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9280         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
9281         (FP_EX_SHIFT): Define.
9282         (FP_TRAPPING_EXCEPTIONS): Define.
9284 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9286         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
9287         (FP_ROUNDMODE): Use FP_RND_MASK.
9288         * config/aarch64/sfp-exceptions.c: New.
9289         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
9290         Use __sfp_handle_exceptions.
9292 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
9294         * config.host: (arm*-*-freebsd*): Remove.
9295         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
9296         (arm*-*-elf*): Remove.
9297         (arm*-*-wince-pe*): Remove.
9298         * arm/unwind-arm.c (struct fpa_reg): Delete.
9299         (struct fpa_regs): Delete.
9300         (phase1_vrs): Remove fpa element.
9301         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
9302         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
9303         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
9304         * ieee754-sf.S (floatundisf): Remove FPA support.
9305         (floatdisf): Likewise.
9306         * ieee75f-df.S (floatundidf): Likewise.
9307         (floatdidf): Likewise.
9309 2012-11-29  Kai Tietz  <ktietz@redhat.com>
9311         PR target/55445
9312         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
9313         * unwind-generic.h: Likewise.
9314         * unwind-seh.c: Likewise.
9316 2012-11-28  Richard Henderson  <rth@redhat.com>
9318         PR libgcc/48076
9319         * emutls.c (__emutls_get_address): Avoid race condition between
9320         obj->loc.offset read and emutls_key initialization.
9322 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
9324         Adjust decimal point of signed accum mode to GCC default.
9326         PR target/54222
9327         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
9328         _divqq_helper.
9329         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
9330         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
9331         (__mulha3, __mulsa3)
9332         (__divqq3, __divha3, __divsa3): Adjust to new position of
9333         decimal point of signed accum types.
9335         (__mulusa3_round): New function.
9336         (__mulusa3): Use it.
9337         (__divqq_helper): New function.
9338         (__udivuqq3): Use it.
9340 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
9342         PR bootstrap/55370
9343         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
9345 2012-11-18  Teresa Johnson  <tejohnson@google.com>
9347         PR bootstrap/55051
9348         * libgcov.c (gcov_exit): Remove merged program summary
9349         comparison unless !GCOV_LOCKED.
9351 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9353         * soft-fp: Updated from glibc upstream.
9355 2012-11-06  Ian Lance Taylor  <iant@google.com>
9357         * generic-morestack.c (__generic_morestack): Align the returned
9358         stack pointer to a 32 byte boundary.
9359         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
9360         increment the return address until we have decided that we don't
9361         have a varargs function.
9362         (__morestack) [32-bit]: Align stack correctly when calling C
9363         functions.
9364         (__morestack) [64-bit]: Likewise.
9366 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
9368         * configure: Regenerate.
9370 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
9372         PR target/55175
9373         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
9374         * config/i386/sfp-machine.h: Guard exception handling
9375         code with _SOFT_FLOAT.
9376         * config/i386/32/sfp-machine.h: Guard rounding handling
9377         code with _SOFT_FLOAT.
9378         * config/i386/64/sfp-machine.h: Ditto.
9380 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
9382         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
9383         as extra_parts.
9385 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
9387         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
9388         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
9389         when appropriate.  Correct structure element types.
9390         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
9391         -minline-all-stringops from compile flags.
9393 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
9395         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
9397 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
9399         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
9401 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
9403         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
9404         tmake_file.
9406 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
9407             Jim MacArthur  <jim.macarthur@arm.com>
9408             Marcus Shawcroft  <marcus.shawcroft@arm.com>
9409             Nigel Stephens  <nigel.stephens@arm.com>
9410             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
9411             Richard Earnshaw  <rearnsha@arm.com>
9412             Sofiane Naci  <sofiane.naci@arm.com>
9413             Stephen Thomas  <stephen.thomas@arm.com>
9414             Tejas Belagod  <tejas.belagod@arm.com>
9415             Yufeng Zhang  <yufeng.zhang@arm.com>
9417         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
9418         * config/aarch64/crti.S: New file.
9419         * config/aarch64/crtn.S: New file.
9420         * config/aarch64/linux-unwind.h: New file.
9421         * config/aarch64/sfp-machine.h: New file.
9422         * config/aarch64/sync-cache.c: New file.
9423         * config/aarch64/t-aarch64: New file.
9424         * config/aarch64/t-softfp: New file.
9426 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
9428         * config/mmix/crti.S: Mark program and data addresses using PRELD.
9429         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
9430         no-longer-needed LDBU insns.
9432 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
9434         * config.host
9435         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
9436         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
9438 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
9440         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
9442 2012-10-15  Matthias Klose  <doko@ubuntu.com>
9444         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
9446 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
9448         * configure: Regenerate.
9449         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
9451 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
9453         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
9454         instructions for 64bit targets only.
9456 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
9458         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9459         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
9460         * config/i386/32/sfp-machine.h: ... here.
9461         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
9462         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
9463         New defines.
9465 2012-10-07  Matthias Klose  <doko@ubuntu.com>
9467         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
9468         as unused.
9469         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
9471 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
9473         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
9474         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
9475         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
9476         (ElfW): Likewise.
9478 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
9480         PR other/53889
9481         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9482         Fix parameter names.
9484 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
9486         PR target/33135
9487         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
9488         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
9489         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
9491 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
9493         PR target/50457
9494         * config/sh/linux-atomic.S: Delete.
9495         * config/sh/linux-atomic.c: New.
9496         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
9497         linux-atomic.c.  Add cflags to disable warnings.
9499 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
9501         PR other/53889
9502         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
9503         function.
9504         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
9505         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
9506         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
9507         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
9508         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
9509         Likewise.
9510         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9511         Likewise.
9512         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
9513         Likewise.
9514         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
9515         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
9517 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
9519         * config.host (hppa-*-openbsd*): New target.
9520         * config/pa/t-openbsd: New file.
9522 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
9524         PR target/54222
9525         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
9526         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
9527         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
9528         (__divsa3): Use __negsi2 to negate r_quoL.
9529         * config/avr/lib1funcs.S (FALIAS): New macro.
9530         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
9531         (__negsi2): ...this new function.
9532         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
9533         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
9534         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
9535         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
9536         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
9537         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
9539 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
9541         PR target/54089
9542         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
9543         (lshrsi3): Reimplement as lshrsi3_r0.
9545 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
9547         PR target/46191
9548         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
9549         of libgcc.a.
9551 2012-09-07  Teresa Johnson  <tejohnson@google.com>
9553         PR gcov-profile/54487
9554         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9555         differences.
9557 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
9559         PR target/54461
9560         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
9561         not configured --with-avrlibc=no.
9562         * config/avr/t-avrlibc: New file.
9563         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
9564         (DPBIT_FUNCS): Ditto.
9565         (TPBIT_FUNCS): Ditto.
9567 2012-09-04  Teresa Johnson  <tejohnson@google.com>
9569         * libgcov.c (struct gcov_summary_buffer): New structure.
9570         (gcov_histogram_insert): New function.
9571         (gcov_compute_histogram): Ditto.
9572         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
9573         histograms during summary merging.
9575 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
9577         * config.host (x86_64-*-openbsd*): New target.
9579 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
9581         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
9582         attribute.
9584 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
9586         PR target/54222
9587         * config/avr/t-avr (conv_X): Rename to func_X.
9589 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
9591         PR target/54222
9592         * config/avr/lib1funcs-fixed.S: New file.
9593         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
9594         after they are used.
9595         (neg2, neg4): New macros.
9596         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
9597         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
9598         (__umulhisi3): Speed up MUL variant if there is enough flash.
9599         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
9600         avr-modes.def.
9601         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
9602         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
9603         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
9604         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
9605         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
9606         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
9607         (LIB2FUNCS_EXCLUDE): Add supported functions.
9609 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
9611         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
9612         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
9613         libgcc-s-objects.
9614         * fixed-obj.mk: Only expand dependency if $o is not in
9615         LIB2FUNCS_EXCLUDE.
9617 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
9619         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
9621 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
9623         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
9624         depend on --enable-shared.
9625         ($(lib1asmfuncs-o)): Use %.vis files independent of
9626         --enable-shared.
9627         * static-object.mk ($(base)$(objext), $(base).vis)
9628         ($(base)_s$(objext)): Use same rules for visibility handling as in
9629         shared-object.mk.
9631 2012-08-21  Ian Lance Taylor  <iant@google.com>
9633         * config/i386/morestack.S (__morestack_non_split): Increase amount
9634         of space allocated for non-split code stack.
9636 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
9638         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
9639         even if inhibit_libc.
9641 2012-08-17  Julian Brown  <julian@codesourcery.com>
9643         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
9644         -fexceptions -fnon-call-exceptions if not defined.
9645         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
9646         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
9648 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
9650         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
9651         type.
9653 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
9655         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
9656         rs6000/t-slibgcc-aix.
9658 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
9660         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
9662 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
9664         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
9666 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
9668         PR driver/54171
9669         * Makefile.in (version): Replace top_srcdir with srcdir.
9671 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
9673         * Makefile.in (version): set to BASE-VER file from gcc directory.
9675 2012-08-01  Nick Clifton  <nickc@redhat.com>
9677         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
9678         Implements __clrsb for an HImode argument.
9680 2012-07-31  Nick Clifton  <nickc@redhat.com>
9682         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
9683         Implements __clrsb for an HImode argument.
9684         * config/stormy16/clrsbhi2.c: New file:
9685         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
9687 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
9689         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
9691 2012-07-19  Tristan Gingold  <gingold@adacore.com>
9692             Richard Henderson  <rth@redhat.com>
9694         * unwind-seh.c: New file.
9695         * unwind-generic.h: Include windows.h for SEH.
9696         (_Unwind_Exception): Use 6 private fields for SEH.
9697         (_GCC_specific_handler): Declare.
9698         * unwind-c.c (__gcc_personality_seh0): New function.
9699         Adjust for SEH.
9700         * config/i386/libgcc-cygming.ver: New file.
9701         * config/i386/t-seh-eh: New file.
9702         * config.host (x86_64-*-mingw*): Default to seh.
9704 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
9706         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
9708 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
9710         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
9711         __builtin_expect when checking for exceptions.
9712         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
9714 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
9716         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
9717         function declaration.
9718         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9719         (FP_RND_MASK): New.
9720         * config/ia64/sfp-exceptions.c: New.
9721         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
9723 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
9725         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9726         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9727         * config/i386/64/sfp-machine: ... (delete here) ...
9728         * config/i386/sfp-machine.h: ... to here.
9729         (FP_EX_MASK): Remove.
9730         (FP_RND_MASK): New.
9731         (FP_INIT_ROUNDMODE): Declare asm as volatile.
9733 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
9735         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9736         * config/i386/libgcc-sol2.ver: Ditto.
9737         * config/i386/libgcc-glibc.ver: Ditto.
9739 2012-06-11  Roland McGrath  <mcgrathr@google.com>
9741         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9742         If __GLIBC__ is defined, refer to __pthread_key_create instead of
9743         pthread_cancel.
9745 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
9747         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9748         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9749         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9750         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9751         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9752         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9753         * config/i386/64/sfp-machine: ... (delete here) ...
9754         * config/i386/sfp-machine.h: ... to here.
9755         (FP_EX_MASK): New.
9756         (__sfp_handle_exceptions): New function declaration.
9757         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9758         * config/i386/sfp-exceptions.c: New.
9759         * config/i386/t-softfp: New.
9760         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9761         i386/t-softfp to tmake_file.
9763 2012-06-03  David S. Miller  <davem@davemloft.net>
9765         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9766         change.
9768 2012-05-31  David S. Miller  <davem@davemloft.net>
9770         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9771         multiply and divide instructions on 32-bit when V9.
9772         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9774 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
9776         * config/arm/ieee754-df.S: Fix typos.
9777         * config/arm/ieee754-sf.S: Fix typos.
9778         * config/c6x/libunwind.S: Fix typos.
9779         * config/epiphany/udivsi3-float.c: Fix typos.
9780         * config/microblaze/muldi3_hard.S: Fix typos.
9781         * config/picochip/adddi3.S: Fix typos.
9782         * config/picochip/ashlsi3.S: Fix typos.
9783         * config/picochip/ashrsi3.S: Fix typos.
9784         * config/picochip/clzsi2.S: Fix typos.
9785         * config/picochip/cmpsi2.S: Fix typos.
9786         * config/picochip/divmod15.S: Fix typos.
9787         * config/picochip/divmodhi4.S: Fix typos.
9788         * config/picochip/divmodsi4.S: Fix typos.
9789         * config/picochip/longjmp.S: Fix typos.
9790         * config/picochip/lshrsi3.S: Fix typos.
9791         * config/picochip/parityhi2.S: Fix typos.
9792         * config/picochip/popcounthi2.S: Fix typos.
9793         * config/picochip/setjmp.S: Fix typos.
9794         * config/picochip/subdi3.S: Fix typos.
9795         * config/picochip/ucmpsi2.S: Fix typos.
9796         * config/picochip/udivmodhi4.S: Fix typos.
9797         * config/picochip/udivmodsi4.S: Fix typos.
9798         * config/spu/divv2df3.c: Fix typos.
9799         * config/spu/mfc_multi_tag_release.c: Fix typos.
9800         * config/spu/mfc_tag_release.c: Fix typos.
9801         * configure.ac: Fix typos.
9802         * configure: Regenerate.
9804 2012-05-25  Ian Lance Taylor  <iant@google.com>
9806         * config/i386/morestack.S (__morestack_non_split): Check whether
9807         caller is varargs and needs %bp to hold the stack frame on return.
9809 2012-05-25  Olivier Hainque  <hainque@adacore.com>
9811         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9812         sequence in the non pic case on VxWorks.
9814 2012-05-24  Olivier Hainque  <hainque@adacore.com>
9816         * Makefile.in: Move dependency on install-unwind_h from
9817         "install-leaf" to "install".
9819 2012-05-24  Olivier Hainque  <hainque@adacore.com>
9821         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9822         Use a separate command for stamp removals.
9824 2012-05-21  Andrew Pinski  <apinski@cavium.com>
9826         PR bootstrap/53183
9827         * configure.ac: Define the default includes to being none.
9828         * configure: Regenerate.
9830 2012-05-16  Olivier Hainque  <hainque@adacore.com>
9832         * Makefile.in (install-unwind_h): Rename into ...
9833         (install-unwind_h-forbuild): New target.
9834         (all): Use it instead of the former install-unwind_h.
9835         (install-unwind_h): Reinstate, copy to user install destination
9836         for include files, not to the internal gcc object directory one.
9837         (install-leaf): Depend on it.
9839 2012-05-15  Olivier Hainque  <hainque@adacore.com>
9841         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9842         register numbers. LR_REGNO replaces R_LR.
9843         (ucontext_for): New, helper for ...
9844         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9845         and 5.3 of ...
9846         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9848 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9850         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9851         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9852         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9853         i386/t-cpuinfo ...
9854         (i[34567]86-*-*, x86_64-*-*): ... here.
9856         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9857         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9859         * config/i386/i386-cpuinfo.c: Rename to ...
9860         * config/i386/cpuinfo.c: ... this.
9861         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9863         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9864         (libgcc_cv_init_priority): New test.
9865         * configure: Regenerate.
9866         * config.in: New file.
9867         * Makefile.in (clean): Rename config.h to auto-target.h.
9868         (config.h): Likewise.
9869         (stamp-h): Likewise.
9871         * config/i386/cpuinfo.c (auto-target.h): Include.
9872         (CONSTRUCTOR_PRIORITY): Define.
9873         (__cpu_indicator_init): Use it.
9875 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
9877         * longlong.h: Use a URL instead of an FSF postal address.
9878         Replace spaces with tab.
9880 2012-05-08  Teresa Johnson  <tejohnson@google.com>
9882         * libgcov.c (gcov_clear, __gcov_reset): New functions.
9883         (__gcov_dump): Ditto.
9884         (gcov_dump_complete): New global variable.
9885         (gcov_exit): Export hidden to enable use in L_gcov_dump.
9886         (__gcov_flush): Outline functionality now in gcov_clear.
9887         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9889 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
9891         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9892         (mips*-*-linux*): Include mips/t-tpbit when long double is
9893         16 bytes long.
9895 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
9897         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9898         (get_available_features): New argument. Check for AVX2.
9899         (__cpu_indicator_init): Modify call to get_available_features.
9901 2012-04-25  Alan Modra  <amodra@gmail.com>
9903         * config/rs6000/crtsavevr.S: New file.
9904         * config/rs6000/crtrestvr.S: New file.
9905         * config/rs6000/t-savresfgpr: Build the above.
9906         * config/rs6000/t-netbsd: Likewise.
9908 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
9910         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9912 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
9914         * libgcc/config/i386/i386-cpuinfo.c: New file.
9915         * libgcc/config/i386/t-cpuinfo: New file.
9916         * libgcc/config.host: Include t-cpuinfo.
9917         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9919 2012-04-24  Chao-ying Fu  <fu@mips.com>
9921         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9923 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
9925         struct siginfo vs. siginfo_t
9927         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9928         siginfo_t instead of struct siginfo.
9929         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9930         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9931         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9932         (ia64_handle_unwabi): Likewise.
9933         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9934         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9935         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9936         (sh_fallback_frame_state): Likewise.
9937         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9938         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9940 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
9942         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9943         system call number.
9945 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
9947         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9948         if it hasn't been previously saved.
9950 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
9952         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
9953         only for glibc.
9955 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
9957         PR target/52737
9958         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
9959         instead of __AVR_HAVE_8BIT_SP__.
9961 2012-03-26  Tristan Gingold  <gingold@adacore.com>
9963         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
9964         (unw_table_entry): Use unw_word instead of unsigned long.
9965         (_Unwind_FindTableEntry): Likewise.
9966         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
9967         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
9968         (_Unwind_FindTableEntry): Likewise.
9969         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
9970         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
9971         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
9972         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
9973         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
9974         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
9975         (uw_init_context_1, uw_install_context): Likewise.
9976         (unw_word): Move to unwind-ia64.h
9978 2012-03-26  Tristan Gingold  <gingold@adacore.com>
9980         * config/vms/vms-ucrt0.c: Update copyright years.
9981         Add a sanity check.
9982         (___gcc_main_flags): Declare.
9983         (__main): Check flags to remap argv and exit code.
9984         * config.host (*-*-*vms*): Adjust extra_parts.
9985         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
9986         (crt0.o): Add.
9988 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
9990         * arm/lib1funcs.asm (ctzsi2): New function.
9991         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
9992         * arm/t-linux (LIB1ASMFUNCS): Likewise.
9993         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
9994         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
9995         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9996         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
9998 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
10000         * config.host: Add bits to support powerpc64-*-freebsd*.
10001         * config/rs6000/freebsd-unwind.h: New file.
10002         * config/rs6000/t-freebsd64: New file.
10004 2012-03-20  Richard Guenther  <rguenther@suse.de>
10006         PR gcov-profile/52627
10007         * libgcov.c (init_mx): Fix mutex name.
10009 2012-03-16  Tristan Gingold  <gingold@adacore.com>
10011         * config/ia64/vms-unwind.h: Remove ulong (and replace
10012         it by unw_reg where used).  Define unw_reg with __int64.
10014 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10016         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
10017         Solaris 8 handling.
10018         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
10019         Solaris 8 handling.
10020         (sparc_is_sighandler): Likewise.
10022 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
10024         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
10025         <= saved reg size.
10027 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10029         * config/arm/crtn.S: Fix typo.
10031 2012-03-13  Richard Guenther  <rguenther@suse.de>
10033         * libgcov.c: Remove stdio.h include and NULL un-define.
10035 2012-03-13  Richard Guenther  <rguenther@suse.de>
10037         PR target/52569
10038         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
10040 2012-03-13  Richard Guenther  <rguenther@suse.de>
10042         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
10044 2012-03-13  Richard Guenther  <rguenther@suse.de>
10046         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
10047         and __gthread_mutex_init_function definitions.
10049 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10051         * config.host (mips*-*-openbsd*): Remove.
10053 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10055         * config.host: Remove alpha*-dec-osf5.1* handling.
10056         * config/alpha/gthr-posix.c: Remove.
10057         * config/alpha/libgcc-osf5.ver: Remove.
10058         * config/alpha/osf5-unwind.h: Remove.
10059         * config/alpha/t-osf-pthread: Remove.
10060         * config/alpha/t-slibgcc-osf: Remove.
10061         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
10062         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
10063         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
10064         * mkmap-flat.awk: Remove osf_export handling.
10066 2012-03-12  Richard Guenther  <rguenther@suse.de>
10068         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
10069         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
10070         (__gthread_mutex_init_function): New function.
10071         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
10073         PR gcov/49484
10074         * libgcov.c: Include gthr.h.
10075         (__gcov_flush_mx): New global variable.
10076         (init_mx, init_mx_once): New functions.
10077         (__gcov_flush): Protect self with a mutex.
10078         (__gcov_fork): Re-initialize mutex after forking.
10079         * unwind-dw2-fde.c: Change condition under which to use
10080         __GTHREAD_MUTEX_INIT_FUNCTION.
10082 2012-03-12  Tristan Gingold  <gingold@adacore.com>
10084         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
10085         * config/ia64/t-vms: Likewise.
10087 2012-03-11  Michael Hope  <michael.hope@linaro.org>
10089         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
10090         for Thumb-2.
10092 2012-03-07  Walter Lee  <walt@tilera.com>
10094         * config/tilepro/atomic.c: Rename "atomic_" prefix to
10095         "arch_atomic_".
10096         (atomic_xor): Rename and move definition to
10097         config/tilepro/atomic.h.
10098         (atomic_nand): Ditto.
10099         * config/tilepro/atomic.h: Rename "atomic_" prefix to
10100         "arch_atomic_".
10101         (arch_atomic_xor): Move from config/tilepro/atomic.c.
10102         (arch_atomic_nand): Ditto.
10104 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
10106         PR target/52507
10107         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
10109 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
10111         PR target/52505
10112         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
10113         from RAM.
10115 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
10117         PR target/52461
10118         PR target/52508
10119         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
10120         if RAMPZ affects reading from RAM.
10121         (__tablejump_elpm__): Ditto.
10122         (.xload): Ditto.
10123         (__movmemx_hi): Ditto.
10124         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
10125         (__do_global_dtors): Ditto.
10126         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
10127         (__movmemx_hi): Ditto.
10129 2012-03-05  Richard Henderson  <rth@redhat.com>
10131         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
10132         [ARM] (count_trailing_zeros): Use the builtin.
10134 2012-03-01  Kai Tietz  <ktietz@redhat.com>
10136         * soft-fp: Imported from glibc upstream.
10138 2012-02-28  Kai Tietz  <ktietz@redhat.com>
10140         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
10141         for mingw-targets as attribute gcc_struct.
10143 2012-02-28  Ian Lance Taylor  <iant@google.com>
10145         * generic-morestack.c (__splitstack_releasecontext): Correct call
10146         to __morestack_release_segments.
10148 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10150         PR target/52390
10151         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
10152         for __linux__ when removing signals from __morestack_fullmask.
10154 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
10156         PR target/52261
10157         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
10159 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10161         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
10162         instead of HAVE_INITFINI_ARRAY.
10163         * config/ia64/crtend.S: Likewise.
10165 2012-02-20  Kai Tietz  <ktietz@redhat.com>
10167         PR libstdc++/52300
10168         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
10170         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
10171         to w32-unwind.h header.
10173 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
10175         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
10176         (mips*-*-linux*): Remove t-slibgcc-libgcc.
10177         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
10178         * config/mips/mips16.S (__mips16_rdhwr): Delete.
10180 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
10182         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
10184 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
10186         PR libitm/52220
10187         * config/darwin-crt-tm.c: Correct typo.
10189 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
10190             Patrick Marlier  <patrick.marlier@gmail.com>
10192         PR libitm/52220
10193         * config/darwin-crt-tm.c: Generate dummy functions.
10195 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
10196             Patrick Marlier  <patrick.marlier@gmail.com>
10198         PR libitm/52042
10199         * config/darwin-crt-tm.c (getTMCloneTable): New function.
10200         (__doTMRegistrations): Call it.
10201         (__doTMdeRegistrations): Likewise.
10203 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
10204             Anatoly Sokolov  <aesok@post.ru>
10205             Eric Weddington  <eric.weddington@atmel.com>
10207         PR target/52261
10208         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
10209         (__epilogue_restores__): Ditto.
10211 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
10213         PR target/51921
10214         PR target/52205
10215         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
10216         Solaris 11 and slightly reformat.
10217         (sparc_is_sighandler): Likewise.
10219 2012-02-14  Walter Lee  <walt@tilera.com>
10221         * config.host: Handle tilegx and tilepro.
10222         * config/tilegx/sfp-machine.h: New file.
10223         * config/tilegx/sfp-machine32.h: New file.
10224         * config/tilegx/sfp-machine64.h: New file.
10225         * config/tilegx/t-crtstuff: New file.
10226         * config/tilegx/t-softfp: New file.
10227         * config/tilegx/t-tilegx: New file.
10228         * config/tilepro/atomic.c: New file.
10229         * config/tilepro/atomic.h: New file.
10230         * config/tilepro/linux-unwind.h: New file.
10231         * config/tilepro/sfp-machine.h: New file.
10232         * config/tilepro/softdivide.c: New file.
10233         * config/tilepro/softmpy.S: New file.
10234         * config/tilepro/t-crtstuff: New file.
10235         * config/tilepro/t-tilepro: New file.
10237 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
10239         PR libstdc++/51296
10240         PR libstdc++/51906
10241         * gthr-posix.h: Allow static initializer macros to be disabled.
10242         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
10244 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
10246         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
10247         Add t-slibgcc-libgcc to tmake_file.
10248         * config/mips/libgcc-mips16.ver: Revert previous patch.
10249         * config/mips/mips16.S (__mips16_rdhwr): Hide.
10251 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
10252             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
10254         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
10255         * config/cr16/crti.S: New file.
10256         * config/cr16/crtlibid.S: New file.
10257         * config/cr16/crtn.S: New file.
10258         * config/cr16/lib1funcs.S: New file.
10259         * config/cr16/t-cr16: New file.
10260         * config/cr16/t-crtlibid: New file.
10261         * config/cr16/unwind-dw2.h: New file.
10262         * config/cr16/unwind-cr16.c: New file.
10263         * config/cr16/divmodhi3.c: New file.
10265 2012-01-25  Alan Modra  <amodra@gmail.com>
10267         * config/rs6000/t-linux64: Delete.  Move..
10268         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
10269         * config/rs6000/t-linux: ..and libgcc flags to here.
10271 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
10273         * config.host (i[34567]86-*-interix3*):
10274         Change triplet to i[34567]86-*-interix[3-9]*.
10275         * configure: Regenerate.
10277 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
10278             Richard Sandiford  <rdsandiford@googlemail.com>
10280         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
10281         * config/mips/mips16.S (__mips16_rdhwr): New function.
10282         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
10284 2012-01-11  Nathan Sidwell  <nathan@acm.org>
10286         * libgcov.c (__gcov_init): Ignore objects with no functions.
10288 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
10290         PR target/49868
10291         Extend __pgmx semantics to linearize memory.
10292         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
10293         * config/avr/lib1funcs.S (__xload_1): New function.
10294         (__movmemx_qi, __movmemx_hi): New functions.
10295         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
10296         semantics.
10298 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
10300         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
10301         purported sigacthandler address isn't null before dereferencing it.
10302         (sparc_is_sighandler): Likewise.
10304 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
10306         PR ada/41929
10307         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
10308         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
10309         (sparc_is_sighandler): Likewise.
10310         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
10312 2012-01-06  Tristan Gingold  <gingold@adacore.com>
10314         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
10315         compatibility thunks...
10316         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
10317         (crtbeginS.o, crtendS.o): ... and these to ...
10318         * config/ia64/t-ia64-elf: ... this new file.
10319         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
10320         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
10322 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10324         * configure: Regenerate.
10325         * config/s390/t-crtstuff: Remove -fPIC.
10327 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
10329         PR bootstrap/51006
10330         * enable-execute-stack-mprotect.c (getpagesize): Do not define
10331         for NetBSD.
10333 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
10335         PR target/51345
10336         * config/avr/lib1funcs.S: Remove FIXME comments.
10337         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
10339 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
10341         Implement light-weight DImode support.
10342         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
10343         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
10344         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
10345         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
10347 2011-12-30  Nathan Sidwell  <nathan@acm.org>
10349         * libgcov.c (gcov_crc32): Remove global var.
10350         (free_fn_data): New function.
10351         (buffer_fn_data): Pass in filename, more robust error recovery.
10352         (crc32_unsigned): New function.
10353         (gcov_exit): More robust detection of new program. More robust
10354         error recovery.
10355         (__gcov_init): Do not update program's crc here.
10357 2011-12-21  Tristan Gingold  <gingold@adacore.com>
10359         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
10361 2011-12-21  Ian Lance Taylor  <iant@google.com>
10363         * config/i386/morestack.S: Simplify CFI opcodes throughout.
10365 2011-12-20  Ian Lance Taylor  <iant@google.com>
10367         * config/i386/morestack.S (__morestack_non_split): If there is
10368         enough stack space already, don't split.  Ask for more stack space
10369         than we required.
10371 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
10373         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
10374         `sys/sdt.h'.
10375         (_Unwind_DebugHook): New function.
10376         (uw_restore_core_regs): New define.
10377         (unwind_phase2): Use uw_restore_core_regs instead of
10378         restore_core_regs.
10379         (unwind_phase2_forced): Likewise.
10380         (__gnu_Unwind_Resume): Likewise.
10382 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
10384         * config/alpha/linux-unwind.h: Update copyright years.
10385         (MD_FROB_UPDATE_CONTEXT): New define.
10386         (alpha_frob_update_context): New function.
10388 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
10390         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
10391         tmake_file rather replacing it.
10393 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
10395         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
10396         function is not used for PPC64.
10397         (save_world): Amend comments.  Update the VRsave mask to reflect the
10398         saved regs.
10399         (rest_world): Update comments, do not  clobber r10, do not use r8.
10400         (eh_rest_world_r10): Amend comments, do not use r8.
10401         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
10402         no longer used, move restore of CR and target address to the end of
10403         the routine.
10405 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
10407         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
10408         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
10410 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
10412         PR target/49313
10413         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
10414         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
10416 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
10418         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
10420 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
10422         PR target/49313
10423         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
10424         * config/avr/lib1funcs.S (__muldi3): New function.
10426 2011-12-06  Andrew Pinski  <apinski@cavium.com>
10428         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
10429         size of func_ptr.
10430         (__frame_dummy_init_array_entry): Likewise.
10432 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
10434         Forward-port from gcc-4_6-branch r181936 2011-12-02.
10436         PR target/51345
10437         PR target/51002
10438         * config/avr/lib1funcs.S (__prologue_saves__,
10439         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
10440         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
10442 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
10444         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
10446 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10448         PR other/51272
10449         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
10450         (_ITM_deregisterTMCloneTable): Likewise.
10451         (__register_frame_info): Fix unused warning.
10452         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
10453         pthread_default_stacksize_np): Likewise.
10454         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
10456 2011-11-29  DJ Delorie  <dj@redhat.com>
10458         * config.host (rl78-*-elf): New case.
10459         * config/rl78: New directory for the Renesas RL78.
10461 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
10463         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
10464         formatting.
10466 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10468         PR other/51022
10469         * config/rs6000/t-savresfgpr: New file.
10470         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
10471         $(srcdir)/config/rs6000/eabi.S.
10472         * config/rs6000/t-ppccomm-ldbl: Remove.
10473         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
10474         tmake_file.
10475         (powerpc-*-eabispe*): Likewise.
10476         (powerpc-*-eabi*): Likewise.
10477         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10478         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
10479         to tmake_file, remove rs6000/t-ppccomm-ldbl.
10480         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
10481         tmake_file.
10482         (powerpc-*-eabisim*): Likewise.
10483         (powerpc-*-elf*): Likewise.
10484         (powerpc-*-eabialtivec*): Likewise.
10485         (powerpc-xilinx-eabi*): Likewise.
10486         (powerpc-*-rtems*): Likewise.
10487         (powerpcle-*-elf*): Likewise.
10488         (powerpcle-*-eabisim*): Likewise.
10489         (powerpcle-*-eabi*): Likewise.
10491 2011-11-27  Ian Lance Taylor  <iant@google.com>
10493         * generic-morestack.c (__splitstack_find): Check for NULL old
10494         stack value.
10495         (__splitstack_resetcontext): New function.
10496         (__splitstack_releasecontext): New function.
10497         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10499 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
10501         * config/darwin-crt-tm.c: Correct comments, use correct licence.
10503 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
10505         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
10507 2011-11-26  Richard Henderson  <rth@redhat.com>
10509         * config/m68k/linux-atomic.c: New file.
10510         * config/m68k/t-linux: New file.
10511         * config.host (m68k-uclinux, m68k-linux): Use it.
10513 2011-11-26  Richard Henderson  <rth@redhat.com>
10515         * crtstuff.c (__TMC_LIST__): Mark used not unused.
10516         (__TMC_END__): Only declare if hidden is available; in the definition,
10517         if hidden is unavailable add a null record.
10518         (deregister_tm_clones, register_tm_clones): New.
10519         (__do_global_dtors_aux, frame_dummy): Use them.
10520         (__do_global_dtors, __do_global_ctors_1): Likewise.
10522 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
10524         * config/darwin-crt-tm.c: New file.
10525         * config.host (darwin): Build crttms.o crttme.o to provide
10526         startup and shutdown for tm clones.
10527         * config/t-darwin (crttms.o): New build rule.
10528         (crttme.o): Likewise.
10530 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
10532         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
10533         et al.
10535 2011-11-21  Richard Henderson  <rth@redhat.com>
10537         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
10538         (__TMC_LIST__, __TMC_END__): New.
10539         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
10540         (__do_global_dtors): Likewise.
10541         (frame_dummy): Call _ITM_registerTMCloneTable.
10542         (__do_global_ctors_1): Likewise.
10544 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10546         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
10547         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10548         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
10549         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
10550         * config/i386/t-darwin64: Remove.
10551         * config/sh/t-netbsd (LIB2ADD): Remove.
10553 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
10555         PR target/49313
10556         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
10557         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
10558         * config/avr/lib1funcs.S (wmov): New assembler macro.
10559         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
10560         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
10561         (__udivmod64): New function.
10562         (__negdi2): New function.
10564 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
10566         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
10567         *-*-freebsd*aout*): Remove.
10569 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
10571         * static-object.mk (c_flags-$o): Save c_flags.
10572         ($(base)$(objext)): Use it.
10574 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
10576         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
10578 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
10580         PR target/49868
10581         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
10582         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
10583         New functions.
10585 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
10587         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
10588         functions.
10589         (aeabi_uidivmod): Likewise.
10590         (umodsi3): Likewise.
10591         (divsi3): Likewise.
10592         (aeabi_idivmod): Likewise.
10593         (modsi3): Likewise.
10595 2011-11-16  Tristan Gingold  <gingold@adacore.com>
10597         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
10599 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
10601         PR target/49868
10602         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
10603         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
10605 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10607         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
10608         tmake_file list.
10609         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
10610         * config/pa/t-stublib64: Delete.
10612 2011-11-12  Richard Henderson  <rth@redhat.com>
10614         * config/rs6000/linux-unwind.h (frob_update_context): Properly
10615         cast the pointer argument to _Unwind_SetGRPtr.
10617 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10619         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
10621 2011-11-09  Ian Lance Taylor  <iant@google.com>
10623         * generic-morestack.c: Include <string.h>.
10624         (uintptr_type): Define.
10625         (struct initial_sp): Add dont_block_signals field.  Reduce size of
10626         extra array by 1.
10627         (allocate_segment): Set prev field to NULL.  Don't set
10628         __morestack_current_segment or __morestack_segments.
10629         (__generic_morestack): Update current->prev and *pp after calling
10630         allocate_segment.
10631         (__morestack_block_signals): Don't do anything if
10632         dont_block_signals is set.
10633         (__morestack_unblock_signals): Likewise.
10634         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
10635         uintptr_type.
10636         (__splitstack_block_signals): New function.
10637         (enum __splitstack_content_offsets): Define.
10638         (__splitstack_getcontext, __splitstack_setcontext): New functions.
10639         (__splitstack_makecontext): New function.
10640         (__splitstack_block_signals_context): New function.
10641         (__splitstack_find_context): New function.
10642         * config/i386/morestack.S (__morestack_get_guard): New function.
10643         (__morestack_set_guard, __morestack_make_guard): New functions.
10644         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10646 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10648         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
10649         (i[34567]86-*-mingw*): ... here.
10650         (x86_64-*-mingw*): ... here.
10652 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10654         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
10656 2011-11-07  Nathan Sidwell  <nathan@acm.org>
10658         * libgcov.c (struct gcov_fn_buffer): New struct.
10659         (buffer_fn_data): New helper.
10660         (gcov_exit): Rework for new gcov data structures.
10662 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
10664         PR target/49313
10665         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
10667 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10669         * config.host (tmake_file): Correct comment.
10670         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
10671         t-libgcc-pic.
10672         (bfin*-uclinux*): Likewise.
10673         (bfin*-linux-uclibc*): Likewise.
10674         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
10676         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
10677         assigning.
10678         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10679         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
10680         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10681         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
10682         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10683         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
10684         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
10685         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10686         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
10687         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
10688         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
10689         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
10690         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
10692         * config/bfin/t-elf: Remove.
10693         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
10695 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10697         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
10698         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
10699         (lm32-*-elf*, lm32-*-rtems*): Split into ...
10700         (lm32-*-elf*): ... this.
10701         (lm32-*-rtems*): ... and this.
10702         Add to tmake_file.
10703         (m32r-*-rtems*): Add to tmake_file.
10704         (moxie-*-rtems*): Likewise.
10705         (sparc-*-rtems*): Likewise.
10706         Remove t-rtems from tmake_file.
10707         (sparc64-*-rtems*): Likewise.
10708         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
10709         instead.
10711 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10713         PR bootstrap/50982
10714         * config/gthr-posix.h: Move ...
10715         * gthr-posix.h: ... here.
10716         * config/gthr-lynx.h: Reflect this.
10717         * config/gthr-vxworks.h: Likewise.
10718         * config/rs6000/gthr-aix.h: Likewise.
10719         * configure.ac (target_thread_file): Likewise.
10720         * configure: Regenerate.
10722 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
10724         * config.host (arm*-*-rtemseabi*): New target.
10726 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10728         PR other/50991
10729         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10730         extra-parts.
10732 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
10734         * config.host (epiphany-*-elf*): New configuration.
10735         * config/epiphany: New Directory.
10737 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
10739         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10740         * config/avr/t-rtems: New.
10741         Filter out _exit from LIB1ASMFUNCS.
10743 2011-11-04  David S. Miller  <davem@davemloft.net>
10745         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10746         * configure: Rebuild.
10748 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10750         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10751         variable.
10753 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
10755         PR target/50931
10756         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10757         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10759 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
10761         PR target/50989
10762         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10764 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10766         * config/c6x/t-elf (LIB2ADDEH): Set.
10767         * config/c6x/t-c6x-elf: Remove.
10769 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10771         * config/i386/sol2-ci.S: Rename to ...
10772         * config/i386/crti.S: ... this.
10773         * config/i386/sol2-cn.S: Rename to ...
10774         * config/i386/crtn.S: ... this.
10775         * config/sparc/sol2-ci.S: Rename to ...
10776         * config/sparc/crti.S: ... this.
10777         * config/sparc/sol2-cn.S: Rename to ...
10778         * config/sparc/crtn.S: ... this.
10779         * config/t-sol2 (CUSTOM_CRTIN): Remove.
10780         (crti.o, crtn.o): Remove.
10782 2011-11-04  Tristan Gingold  <gingold@adacore.com>
10784         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10786 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
10788         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10790 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
10792         * config.host (crisv32-*-none, cris-*-none): Remove.
10793         (crisv32-*-elf): Append to tmake_file, don't just set it.
10794         (cris-*-elf): Add missing t-fdpbit to tmake_file.
10796 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10798         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10799         (ecrtn$(objext)): Likewise.
10800         (ncrti$(objext)): Likewise.
10801         (ncrtn$(objext)): Likewise.
10803 2011-11-03  Andreas Schwab  <schwab@redhat.com>
10805         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10807 2011-11-02  David S. Miller  <davem@davemloft.net>
10809         * configure.ac: Set host_address on sparc too.
10810         * configure: Regenerate.
10811         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10812         based upon host_address.
10813         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10815 2011-11-02  Jason Merrill  <jason@redhat.com>
10817         * config/rs6000/t-ppccomm: Add missing \.
10819 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10821         * gthr-single.h, gthr.h: New files.
10822         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10823         config/gthr-vxworks.h, config/i386/gthr-win32.h,
10824         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10825         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10826         * config/i386/gthr-win32.c: Include "gthr-win32.h".
10827         * configure.ac (thread_header): New variable.
10828         Set it depending on target_thread_file.
10829         (gthr-default.h): Link from $thread_header.
10830         * configure: Regenerate.
10831         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10833 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10835         * configure.ac (tm_file_): New variable.
10836         Determine from tm_file.
10837         (tm_file, tm_defines): Substitute.
10838         * configure: Regenerate.
10839         * mkheader.sh: New file.
10840         * Makefile.in (clean): Remove libgcc_tm.h.
10841         ($(objects)): Depend on libgcc_tm.h.
10842         (libgcc_tm_defines, libgcc_tm_file): New variables.
10843         (libgcc_tm.h, libgcc_tm.stamp): New targets.
10844         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10845         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10846         ($(extra-parts)): Depend on libgcc_tm.h.
10847         * config.host (tm_defines, tm_file): New variable.
10848         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10849         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10850         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10851         (avr-*-rtems*): Likewise.
10852         (avr-*-*): Likewise.
10853         (frv-*-elf): Likewise.
10854         (frv-*-*linux*): Likewise.
10855         (h8300-*-rtems*): Likewise.
10856         (h8300-*-elf*): Likewise.
10857         (i[34567]86-*-darwin*): Likewise.
10858         (x86_64-*-darwin*): Likewise.
10859         (rx-*-elf): Likewise.
10860         (tic6x-*-uclinux): Likewise.
10861         (tic6x-*-elf): Likewise.
10862         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10863         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10864         * config/i386/cygming-crtbegin.c: Likewise.
10865         * config/i386/cygming-crtend.c: Likewise.
10866         * config/ia64/fde-vms.c: Likewise.
10867         * config/ia64/unwind-ia64.c: Likewise.
10868         * config/libbid/bid_gcc_intrinsics.h: Likewise.
10869         * config/rs6000/darwin-fallback.c: Likewise.
10870         * config/stormy16/lib2funcs.c: Likewise.
10871         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10872         * crtstuff.c: Likewise.
10873         * dfp-bit.h: Likewise.
10874         * emutls.c: Likewise.
10875         * fixed-bit.c: Likewise.
10876         * fp-bit.c: Likewise.
10877         * generic-morestack-thread.c: Likewise.
10878         * generic-morestack.c: Likewise.
10879         * libgcc2.c: Likewise.
10880         * libgcov.c: Likewise.
10881         * unwind-dw2-fde-dip.c: Likewise.
10882         * unwind-dw2-fde.c: Likewise.
10883         * unwind-dw2.c: Likewise.
10884         * unwind-sjlj.c: Likewise.
10886 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10888         * configure.ac: Include ../config/picflag.m4.
10889         (GCC_PICFLAG): Call it.
10890         Substitute.
10891         * configure: Regenerate.
10892         * Makefile.in (gcc_srcdir): Remove.
10893         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10894         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10895         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10896         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10897         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10898         Use $<.
10899         Remove comment.
10900         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10901         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10902         to refer to libgcc2.c.
10903         Use $<.
10904         * config/darwin-64.c: New file.
10905         * config/darwin-crt3.c: Remove comment.
10906         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10907         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10908         config/udivmodsi4.c: New files.
10909         * config/memcmp.c, config/memcpy.c, config/memmove.c,
10910         config/memset.c: New files.
10911         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10912         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10913         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10914         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10915         * config/t-openbsd-thread: New file.
10916         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10917         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10918         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10919         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10920         qrnnd.S.
10921         Adapt filename.
10922         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10923         to refer to gthr-posix.c.
10924         * config/alpha/t-vms (LIB2ADD): Set.
10925         * config/alpha/vms-gcc_shell_handler.c: New file.
10926         * config/arm/bpabi.c, config/arm/fp16.c,
10927         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10928         config/arm/unaligned-funcs.c: New files.
10929         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10930         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10931         * config/arm/t-linux: Likewise.
10932         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10933         * config/arm/t-netbsd: New file.
10934         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10935         * config/arm/t-symbian (LIB2ADD_ST): Set.
10936         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10937         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10938         * config/bfin/t-elf: New file.
10939         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10940         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10941         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10942         config/c6x/ltf.c: New files.
10943         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10944         (HOST_LIBGCC2_CFLAGS): Set.
10945         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10946         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10947         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10948         New files.
10949         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
10950         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
10951         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
10952         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
10953         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
10954         files.
10955         * config/frv/t-frv (LIB2ADD): Set.
10956         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10957         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
10958         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
10959         config/h8300/popcounthi2.c: New files.
10960         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10961         * config/i386/gthr-win32.c: New file.
10962         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
10963         * config/i386/t-cygwin: Likewise.
10964         * config/i386/t-darwin, config/i386/t-darwin64,
10965         config/i386/t-gthr-win32, config/i386/t-interix: New files.
10966         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
10967         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10968         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10969         * config/ia64/quadlib.c: New file.
10970         * config/ia64/t-hpux (LIB2ADD): Set.
10971         * config/ia64/t-ia64: Add comment.
10972         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
10973         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10974         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
10975         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
10976         * config/m32c/t-m32c (LIB2ADD): Set.
10977         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10978         * config/m32r/t-m32r: Likewise.
10979         * config/m68k/fpgnulib.c: New file.
10980         * config/m68k/t-floatlib (LIB2ADD): Set.
10981         (xfgnulib.c): New target.
10982         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
10983         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
10984         * config/mep/t-mep (LIB2ADD): Set.
10985         * config/microblaze/divsi3.asm: Rename to divsi3.S.
10986         * config/microblaze/moddi3.asm: Rename to moddi3.S.
10987         * config/microblaze/modsi3.asm: Rename to modsi3.S.
10988         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
10989         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
10990         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
10991         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
10992         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
10993         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
10994         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
10995         New files.
10996         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
10997         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
10998         * config/pa/fptr.c, config/pa/lib2funcs.S,
10999         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
11000         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
11001         (LIB2ADD, LIB2ADD_ST): Set.
11002         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
11003         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
11004         Set.
11005         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
11006         * config/pdp11/t-pdp11: New file.
11007         * config/picochip/libgccExtras/adddi3.S,
11008         config/picochip/libgccExtras/ashlsi3.S,
11009         config/picochip/libgccExtras/ashrsi3.S,
11010         config/picochip/libgccExtras/clzsi2.S,
11011         config/picochip/libgccExtras/cmpsi2.S,
11012         config/picochip/libgccExtras/divmod15.S,
11013         config/picochip/libgccExtras/divmodhi4.S,
11014         config/picochip/libgccExtras/divmodsi4.S,
11015         config/picochip/libgccExtras/lshrsi3.S,
11016         config/picochip/libgccExtras/parityhi2.S,
11017         config/picochip/libgccExtras/popcounthi2.S,
11018         config/picochip/libgccExtras/subdi3.S,
11019         config/picochip/libgccExtras/ucmpsi2.S,
11020         config/picochip/libgccExtras/udivmodhi4.S,
11021         config/picochip/libgccExtras/udivmodsi4.S: New files.
11022         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
11023         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
11024         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
11025         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
11026         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
11027         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
11028         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
11029         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
11030         files.
11031         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
11032         (HOST_LIBGCC2_CFLAGS): Set.
11033         * config/rs6000/t-darwin64: New file.
11034         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
11035         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
11036         * config/rs6000/t-ppccomm (LIB2ADD): Add
11037         $(srcdir)/config/rs6000/tramp.S.
11038         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
11039         Add  $(srcdir)/config/rs6000/eabi.S.
11040         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
11041         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
11042         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
11043         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
11044         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
11045         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
11046         * config/rs6000/tramp.S: New file.
11047         * config/s390/t-tpf: Remove.
11048         * config/sh/linux-atomic.S: New file.
11049         * config/sh/t-linux (LIB2ADD): Set.
11050         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
11051         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
11052         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
11053         to unwind-dw2.c.
11054         (HOST_LIBGCC2_CFLAGS): Set.
11055         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11056         * config/spu/divmodti4.c, config/spu/divv2df3.c,
11057         config/spu/float_disf.c, config/spu/float_unsdidf.c,
11058         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
11059         config/spu/mfc_multi_tag_release.c,
11060         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
11061         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
11062         config/spu/multi3.c: New files.
11063         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
11064         (HOST_LIBGCC2_CFLAGS): Set.
11065         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
11066         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
11067         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
11068         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
11069         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
11070         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
11071         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
11072         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
11073         config/stormy16/umodsi3.c: New files.
11074         * config/xtensa/lib2funcs.S: New file.
11075         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
11076         * config/xtensa/t-xtensa (LIB2ADD): Set.
11077         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
11078         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
11079         Add t-freebsd-thread to tmake_file for posix threads.
11080         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
11081         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
11082         (*-*-lynxos*): Likewise.
11083         (*-*-netbsd*): Likewise.
11084         (*-*-openbsd*): Likewise.
11085         Add t-openbsd-thread to tmake_file for posix threads.
11086         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
11087         (*-*-vxworks*): Set tmake_file.
11088         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
11089         (alpha*-*-freebsd*): Likewise.
11090         (alpha*-*-netbsd*): Likewise.
11091         (alpha*-*-openbsd*): Likewise.
11092         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
11093         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
11094         (alpha*-dec-*vms*): Likewise.
11095         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
11096         (bfin*-elf*): Add bfin/t-elf to tmake_file.
11097         (bfin*-uclinux*): Likewise.
11098         (bfin*-linux-uclibc*): Likewise.
11099         (crisv32-*-elf): Add cris/t-cris to tmake_file.
11100         (crisv32-*-none): Likewise.
11101         (cris-*-elf): Likewise.
11102         (cris-*-none): Likewise.
11103         (cris-*-linux*, crisv32-*-linux*): Likewise.
11104         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
11105         tmake_file.
11106         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
11107         tmake_file.
11108         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
11109         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
11110         (x86_64-*-elf*): Likewise.
11111         (i[34567]86-*-nto-qnx*): Likewise.
11112         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
11113         win32 threads.
11114         (x86_64-*-mingw*): Likewise.
11115         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
11116         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
11117         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
11118         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
11119         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
11120         tmake_file.
11121         (mipsisa64sr71k-*-elf*): Likewise.
11122         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
11123         (mips-*-elf*, mipsel-*-elf*): Likewise.
11124         (mips64-*-elf*, mips64el-*-elf*): Likewise.
11125         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
11126         (mips*-*-rtems*): Likewise.
11127         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
11128         to tmake_file.
11129         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
11130         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
11131         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
11132         (spu-*-elf*): Likewise.
11133         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
11135 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11137         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
11138         $(srcdir) to refer to $(LIB1ASMSRC).
11139         Use $<.
11140         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
11141         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
11142         config/arm/lib1funcs.S: New files.
11143         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
11144         * config/arm/t-arm: New file.
11145         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
11146         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
11147         config/arm/t-strongarm-elf: New files.
11148         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
11149         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
11150         * config/avr/lib1funcs.S: New file.
11151         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11152         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
11153         * config/c6x/lib1funcs.S: New file.
11154         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11155         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
11156         * config/frv/lib1funcs.S: New file.
11157         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11158         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
11159         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
11160         * config/ia64/__divxf3.asm: Rename to ...
11161         * config/ia64/__divxf3.S: ... this.
11162         Adapt lib1funcs.asm filename.
11163         * config/ia64/_fixtfdi.asm: Rename to ...
11164         * config/ia64/_fixtfdi.S: ... this.
11165         Adapt lib1funcs.asm filename.
11166         * config/ia64/_fixunstfdi.asm: Rename to ...
11167         * config/ia64/_fixunstfdi.S: ... this.
11168         Adapt lib1funcs.asm filename.
11169         * config/ia64/_floatditf.asm: Rename to ...
11170         * config/ia64/_floatditf.S: ... this.
11171         Adapt lib1funcs.asm filename.
11172         * config/ia64/lib1funcs.S: New file.
11173         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
11174         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11175         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
11176         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
11177         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
11178         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
11179         * config/mep/lib1funcs.S: New file.
11180         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11181         * config/mips/mips16.S: New file.
11182         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11183         * config/pa/milli64.S: New file.
11184         * config/pa/t-linux, config/pa/t-linux64: New files.
11185         * config/picochip/lib1funcs.S: New file.
11186         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11187         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
11188         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
11189         * config/sh/t-netbsd: New file.
11190         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
11191         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
11192         * config/sh/t-sh64: New file.
11193         * config/sparc/lb1spc.S: New file.
11194         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
11195         filename.
11196         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
11197         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
11198         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
11199         config/xtensa/lib1funcs.S: New files.
11200         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11201         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
11202         tmake_file.
11203         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
11204         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
11205         (arm*-*-linux*): Likewise.
11206         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
11207         arm*-*-linux-*eabi, add arm/t-linux otherwise.
11208         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
11209         (arm*-*-ecos-elf): Likewise.
11210         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11211         (arm*-*-rtems*): Likewise.
11212         (arm*-*-elf): Likewise.
11213         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
11214         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
11215         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
11216         (bfin*-uclinux*): Likewise.
11217         (bfin*-linux-uclibc*): Likewise.
11218         (bfin*-rtems*): Likewise.
11219         (bfin*-*): Likewise.
11220         (fido-*-elf): Merge into m68k-*-elf*.
11221         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
11222         (frv-*-*linux*): Add frv/t-frv to tmake_file.
11223         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
11224         (h8300-*-elf*): Likewise.
11225         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
11226         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
11227         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
11228         (i[34567]86-*-mingw*): Likewise.
11229         (x86_64-*-mingw*): Likewise.
11230         (i[34567]86-*-interix3*): Likewise.
11231         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
11232         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
11233         (m68k-*-elf*): Also handle fido-*-elf.
11234         Add m68k/t-floatlib to tmake_file.
11235         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
11236         (m68k-*-linux*): Likewise.
11237         (m68k-*-rtems*): Likewise.
11238         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
11239         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
11240         sh64*-*-*.
11241         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
11242         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
11243         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
11244         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
11245         sh/t-netbsd to tmake_file.
11246         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
11247         (sh-*-rtems*): Add sh/t-sh to tmake_file.
11248         (sh-wrs-vxworks): Likewise.
11249         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
11250         *-leon[3-9]*.
11251         (v850*-*-*): Add v850/t-v850 to tmake_file.
11252         (vax-*-linux*): Add vax/t-linux to tmake_file.
11253         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
11255 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11257         * crtstuff.c: New file.
11258         * Makefile.in (CRTSTUFF_CFLAGS): Define.
11259         (CRTSTUFF_T_CFLAGS): Define.
11260         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
11261         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
11262         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
11263         crtstuff.c.
11264         Use $<.
11265         (crtbeginT.o): Use $(objext).
11266         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
11267         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
11268         (gcc-extra-parts): Remove.
11269         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
11270         Set extra_parts.
11271         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11272         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
11273         Add t-crtstuff-pic to tmake_file.
11274         (*-*-lynxos*): New case.
11275         Set tmake_file, extra_parts.
11276         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
11277         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
11278         *-*-netbsdelf[2-9]*.
11279         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
11280         (*-*-rtems*): Set extra_parts.
11281         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
11282         (*-*-uclinux*): New case.
11283         Set extra_parts.
11284         (*-*-vms*): New case.
11285         Set tmake_file, extra_parts.
11286         (*-*-elf): Set extra_parts.
11287         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
11288         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
11289         vms/t-vms64.
11290         Set extra_parts.
11291         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
11292         Set extra_parts.
11293         (arm*-*-freebsd*): Add t-crtin to tmake_file.
11294         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
11295         (arm-wrs-vxworks): Append to tmake_file.
11296         Set extra_parts.
11297         (arm*-*-uclinux*): Set extra_parts.
11298         (arm*-*-ecos-elf): Likewise.
11299         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
11300         arm*-*-eabi*.
11301         (arm*-*-rtems*): Set extra_parts.
11302         (arm*-*-elf): Likewise.
11303         (avr-*-rtems*): Clear extra_parts.
11304         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
11305         Set extra_parts.
11306         (bfin*-uclinux*): Likewise.
11307         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
11308         (bfin*-rtems*): Append to tmake_file.
11309         Set extra_parts.
11310         (bfin*-*): Likewise.
11311         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
11312         (crisv32-*-elf): ... this.
11313         (crisv32-*-none): ... this.
11314         (cris-*-elf, cris-*-none): New cases.
11315         Add cris/t-elfmulti to tmake_file.
11316         (fr30-*-elf): Append to tmake_file.
11317         Set extra_parts.
11318         (frv-*-elf): Append to tmake_file, add frv/t-frv.
11319         Set extra_parts.
11320         (h8300-*-rtems*): Append to tmake_file.
11321         Set extra_parts.
11322         (h8300-*-elf*): Likewise.
11323         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
11324         Set extra_parts.
11325         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
11326         Set extra_parts.
11327         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
11328         (x86_64-*-elf*): Likewise.
11329         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
11330         (x86_64-*-freebsd*): Likewise.
11331         (x86_64-*-netbsd*): Likewise.
11332         (i[34567]86-*-linux*): Likewise.
11333         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11334         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11335         (x86_64-*-linux*): Likewise.
11336         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11337         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
11338         tmake_file.
11339         Set extra_parts.
11340         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
11341         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
11342         Append to extra_parts, remove crtbegin.o, crtend.o.
11343         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
11344         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
11345         crtend.o, crtbeginS.o, crtendS.o.
11346         (ia64*-*-linux*): Comment extra_parts.
11347         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
11348         Set extra_parts.
11349         (iq2000*-*-elf*): Clear extra_parts.
11350         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
11351         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
11352         (m32r-*-elf*, m32r-*-rtems*): Split off ...
11353         (m32r-*-rtems*): ... this.
11354         Add m32r/t-m32r to tmake_file.
11355         (m68k-*-elf*): Add t-crtin to tmake_file.
11356         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
11357         (mcore-*-elf): Likewise.
11358         (microblaze*-*-*): Set extra_parts.
11359         (mips*-sde-elf*): New case.
11360         Set tmake_file, extra_parts.
11361         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
11362         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
11363         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
11364         tmake_file.
11365         Set extra_parts.
11366         (mipsisa64sr71k-*-elf*): Likewise.
11367         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
11368         (mips-*-elf*, mipsel-*-elf*): Likewise.
11369         (mips64-*-elf*, mips64el-*-elf*): Likewise.
11370         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
11371         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
11372         (mips*-*-rtems*): Likewise.
11373         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
11374         (moxie-*-*): Split into ...
11375         (moxie-*-elf, moxie-*-uclinux*): ... this.
11376         Add to extra_parts, remove crtbegin.o, crtend.o.
11377         (moxie-*-rtems*): New case.
11378         Set tmake_file.
11379         Clear extra_parts.
11380         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
11381         Set extra_parts.
11382         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
11383         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
11384         tmake_file.
11385         Set extra_parts.
11386         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
11387         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
11388         Set extra_parts.
11389         (powerpc-*-eabisim*): Likewise.
11390         (powerpc-*-elf*): Likewise.
11391         (powerpc-*-eabialtivec*): Likewise.
11392         (powerpc-xilinx-eabi*): Likewise.
11393         (powerpc-*-eabi*): Likewise.
11394         (powerpc-*-rtems*): Likewise.
11395         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
11396         tmake_file.
11397         Set extra_parts.
11398         (powerpc-*-lynxos*): Add to tmake_file.
11399         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
11400         rs6000/t-crtstuff, t-crtstuff-pic.
11401         Set extra_parts.
11402         (powerpcle-*-eabisim*): Likewise.
11403         (powerpcle-*-eabi*): Likewise.
11404         (rx-*-elf): Remove extra_parts.
11405         (s390x-ibm-tpf*): Set extra_parts.
11406         (score-*-elf): Set extra_parts.
11407         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11408         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11409         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11410         (sh64l*-*-netbsd*): Split into ...
11411         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
11412         Add t-crtstuff-pic to tmake_file.
11413         Set extra_parts.
11414         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
11415         Set extra_parts.
11416         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
11417         (sparc-*-elf*): Remove t-crtin from tmake_file.
11418         Add to extra_parts, remove crtbegin.o, crtend.o.
11419         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
11420         (sparc64-*-linux*): Likewise.
11421         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
11422         Add to extra_parts, remove crtbegin.o, crtend.o.
11423         (sparc64-*-elf*): Remove t-crtin from tmake_file.
11424         Add to extra_parts, remove crtbegin.o, crtend.o.
11425         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
11426         Add to extra_parts, remove crtbegin.o, crtend.o.
11427         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
11428         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
11429         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
11430         Set extra_parts.
11431         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
11432         Set extra_parts.
11433         (tic6x-*-*): Change to ...
11434         (tic6x-*-elf): ... this.
11435         Set extra_parts.
11436         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
11437         Set extra_parts.
11438         (am33_2.0-*-linux*): Add comment.
11439         (mep*-*-*): Add mep/t-mep to tmake_file.
11440         Set extra_parts.
11441         * config/alpha/t-vms: New file.
11442         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
11443         * config/arm/crti.S, config/arm/crtn.S: New files.
11444         * config/bfin/crti.S, config/bfin/crtn.S: New files.
11445         * config/bfin/crtlibid.S: New file.
11446         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
11447         * config/c6x/crti.S, config/c6x/crtn.S: New files.
11448         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
11449         (crti.o, crtin.o): New rules.
11450         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11451         * config/c6x/t-uclinux: New file.
11452         * config/cris/t-elfmulti: New file.
11453         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
11454         * config/fr30/crti.S, config/fr30/crtn.S: New files.
11455         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
11456         * config/frv/t-frv: New file.
11457         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
11458         * config/h8300/crti.S, config/h8300/crtn.S: New files.
11459         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
11460         New files.
11461         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
11462         refer to cygming-crtbegin.c, cygming-crtend.c.
11463         Use $<.
11464         * config/i386/t-nto: New file.
11465         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
11466         * config/ia64/crti.S, config/ia64/crtn.S: New files.
11467         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
11468         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
11469         Use .S extension.
11470         Use $<.
11471         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11472         (crtinitS.o): New rule.
11473         * config/ia64/vms-crtinit.S: New file.
11474         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
11475         * config/m32r/initfini.c: New file.
11476         * config/m32r/t-linux, config/m32r/t-m32r: New files.
11477         * config/m68k/crti.S, config/m68k/crtn.S: New files.
11478         * config/mcore/crti.S, config/mcore/crtn.S: New files.
11479         * config/mep/t-mep: New file.
11480         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
11481         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
11482         * config/mips/crti.S, config/mips/crtn.S: New files.
11483         * config/mips/t-crtstuff: New file.
11484         * config/mmix/crti.S, config/mmix/crtn.S: New files.
11485         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
11486         (CUSTOM_CRTIN): Set.
11487         ($(T)crti.o, $(T)crtn.o): Remove $(T),
11488         dependencies.
11489         Use $(srcdir) to refer to crti.S, crtn.S.
11490         Use .S extension, $<.
11491         * config/moxie/crti.asm: Rename to ...
11492         * config/moxie/crti.S: ... this.
11493         * config/moxie/crtn.asm: Rename to ...
11494         * config/moxie/crtn.S: ... this.
11495         * config/moxie/t-moxie: Remove.
11496         * config/pa/stublib.c: New file.
11497         * config/pa/t-stublib, config/pa/t-stublib64: New files.
11498         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
11499         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
11500         * config/rs6000/t-crtstuff: New file.
11501         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
11502         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
11503         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
11504         Make output file explicit.
11505         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
11506         Make output file explicit.
11507         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
11508         Make output file explicit.
11509         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
11510         Make output file explicit.
11511         * config/score/crti.S, config/score/crtn.S: New files.
11512         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
11513         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
11514         files.
11515         * config/sh/t-sh, config/sh/t-superh: New files.
11516         * config/sparc/t-linux64: New file.
11517         * config/spu/cache.S, config/spu/cachemgr.c: New files.
11518         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
11519         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
11520         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
11521         * config/t-crtin: Remove.
11522         * config/t-crtstuff-pic: New file.
11523         * config/t-sol2 (CUSTOM_CRTIN): Set.
11524         (crti.o, crtn.o): New rules.
11525         * config/vms/t-vms: New file.
11526         * config/vms/vms-ucrt0.c: New file.
11527         * config/xtensa/t-elf: New file.
11529 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11531         * Makefile.in (SHLIB_NM_FLAGS): Set.
11532         * mkmap-flat.awk, mkmap-symver.awk: New files.
11533         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
11534         exceptions.
11535         * configure: Regenerate.
11536         * config/libgcc-glibc.ver: New file.
11537         * config/libgcc-libsystem.ver: New file.
11538         * config/t-libunwind (SHLIB_LC): Set.
11539         * config/t-linux: New file.
11540         * config/t-slibgcc (INSTALL_SHLIB): New.
11541         (SHLIB_INSTALL): Use it.
11542         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
11543         to mkmap-symver.awk.
11544         (SHLIB_MAPFILES): Don't append, adapt pathname.
11545         (SHLIB_VERPFX): Set.
11546         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
11547         to mkmap-symver.awk.
11548         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
11549         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
11550         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
11551         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
11552         to mkmap-flat.awk.
11553         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
11554         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
11555         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
11556         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
11557         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
11558         * config/i386/libgcc-darwin.10.4.ver,
11559         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
11560         New files.
11561         * config/i386/t-darwin: Remove.
11562         * config/i386/t-darwin64: Likewise.
11563         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
11564         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
11565         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
11566         * config/i386/t-linux: New file.
11567         * config/i386/t-mingw32: New file.
11568         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
11569         * config/ia64/t-glibc: Rename to ...
11570         * config/ia64/t-linux: ... this.
11571         (SHLIB_MAPFILES): Set.
11572         * config/ia64/t-glibc-libunwind: Rename to ...
11573         * config/ia64/t-linux-libunwind: ... this.
11574         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
11575         * config/ia64/t-slibgcc-hpux: New file.
11576         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
11577         * config/m68k/t-slibgcc-elf-ver: New file.
11578         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
11579         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
11580         to mkmap-flat.awk.
11581         * config/pa/t-slibgcc-hpux: New file.
11582         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
11583         files.
11584         * config/rs6000/libgcc-darwin.10.4.ver,
11585         config/rs6000/libgcc-darwin.10.5.ver: New files.
11586         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
11587         config/rs6000/libgcc-glibc.ver.
11588         * config/rs6000/libgcc-ppc64.ver: Rename to
11589         config/rs6000/libgcc-ibm-ldouble.ver.
11590         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
11591         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
11592         * config/rs6000/t-ldbl128: Rename to ...
11593         * config/rs6000/t-linux: ... this.
11594         (SHLIB_MAPFILES): Adapt filename.
11595         * config/rs6000/t-slibgcc-aix: New file.
11596         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
11597         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
11598         libgcc-excl.ver, libgcc-glibc.ver.
11599         (SHLIB_LINK, SHLIB_INSTALL): Remove.
11600         * config/sparc/libgcc-glibc.ver: New file.
11601         * config/sparc/t-linux: New file.
11602         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
11603         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
11604         t-slibgcc-elf-ver to tmake_file.
11605         Add t-slibgcc-nolc-override to tmake_file for posix threads on
11606         *-*-freebsd[34].
11607         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11608         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
11609         t-slibgcc-elf-ver, t-linux to tmake_file.
11610         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
11611         tmake_file.
11612         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
11613         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
11614         (alpha*-dec-*vms*): Likewise.
11615         (arm*-*-freebsd*): Append to tmake_file.
11616         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
11617         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
11618         arm*-*-linux-*eabi.
11619         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
11620         tmake_file for arm*-*-symbianelf*.
11621         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
11622         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
11623         cris/t-linux.
11624         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
11625         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
11626         pa/t-slibgcc-dwarf-ver to tmake_file.
11627         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
11628         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
11629         (hppa*64*-*-hpux11*): Likewise.
11630         (hppa[12]*-*-hpux11*): Likewise.
11631         (x86_64-*-darwin*): Don't override tmake_file, but only keep
11632         i386/t-crtpc, i386/t-crtfm.
11633         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
11634         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11635         to tmake_file.
11636         Add i386/t-cygwin to tmake_file.
11637         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
11638         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
11639         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11640         to tmake_file.
11641         Add i386/t-mingw32 to tmake_file.
11642         (x86_64-*-mingw*): Likewise.
11643         (ia64*-*-freebsd*): Append to tmake_file.
11644         (ia64*-*-linux*): Append to tmake_file.
11645         Replace ia64/t-glibc by ia64/t-linux.
11646         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
11647         system libunwind.
11648         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
11649         t-slibgcc-hpux to tmake_file.
11650         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
11651         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
11652         (m32rle-*-linux*): Likewise.
11653         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
11654         sjlj exceptions.
11655         (microblaze*-linux*): New case.
11656         Append to tmake_file, add t-slibgcc-nolc-override.
11657         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
11658         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11659         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
11660         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11661         rs6000/t-slibgcc-aix to tmake_file.
11662         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11663         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11664         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11665         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11666         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11667         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
11668         sh*-*-linux*.
11669         (sparc-*-linux*): Append to tmake_file for *-leon*.
11670         Add sparc/t-linux to tmake_file for non-Leon targets.
11671         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
11672         (tic6x-*-uclinux): New case.
11673         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
11674         (tic6x-*-*): Add c6x/t-elf to tmake_file.
11675         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
11676         (am33_2.0-*-linux*): Append to tmake_file.
11677         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
11678         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
11679         x86_64-*-kfreebsd*-gnu.
11680         Add i386/t-linux to tmake_file.
11682 2011-10-28  Ian Lance Taylor  <iant@google.com>
11684         * config/i386/morestack.S: Correct CFI information to do proper
11685         returns throughout function.  In 32-bit mode, save %ebx so that it
11686         is restored on unwind.
11688 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
11690         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
11691         case where B3 isn't the return register.
11693         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
11694         logic for doubleword pops.
11696 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
11698         * config/rs6000/t-freebsd: Add wildcard.
11700 2011-10-21  Paul Brook  <paul@codesourcery.com>
11702         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
11704 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
11705             Eric Botcazou  <ebotcazou@adacore.com>
11707         PR target/50737
11708         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
11709         fs->signal_frame to 1.
11711 2011-10-07  Ian Lance Taylor  <iant@google.com>
11713         * generic-morestack-thread.c: #include <errno.h>.
11715 2011-10-07  Ian Lance Taylor  <iant@google.com>
11717         PR target/46093
11718         * generic-morestack.c (__generic_morestack): Make sure the segment
11719         is large enough for both the stack frame and the copied
11720         parameters.
11722 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11724         PR bootstrap/49804
11725         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11726         extra_parts.
11728 2011-09-28  Nick Clifton  <nickc@redhat.com>
11730         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11731         64-bit doubles are not enabled.
11732         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11733         and floatunsisf functions.
11735 2011-09-13  Paul Brook  <paul@codesourcery.com>
11737         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
11738         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11739         * unwind-arm-common.inc: New file.
11740         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11741         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11742         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11743         * config/c6x/libunwind.S: New file.
11744         * config/c6x/pr-support.c: New file.
11745         * config/c6x/unwind-c6x.c: New file.
11746         * config/c6x/unwind-c6x.h: New file.
11747         * config/c6x/t-c6x-elf: New file.
11749 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
11751         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11752         (ASM_DIVZERO): Ditto.
11753         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11755 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
11757         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11759 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
11761         PR target/50090
11762         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11763         instead of an assembly one.
11765 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
11767         PR bootstrap/50047
11768         * Makefile.in (install-unwind_h): Create
11769         $(gcc_objdir)/include/unwind.h atomically.
11771 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11773         * Makefile.in (install-unwind_h): Remove destination file first.
11775 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11777         * sync.c: New file.
11778         * config/mips/t-mips16: New file.
11779         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11780         (mips*-*-linux*): Likewise.
11781         (mips*-sde-elf*): Likewise.
11782         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11783         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11784         Add mips/t-mips16 to tmake_file.
11785         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11786         (mips-*-elf*): Likewise.
11787         (mips64-*-elf*): Likewise.
11788         (mips64orion-*-elf*): Likewise.
11789         (mips*-*-rtems*): Likewise.
11790         (mipstx39-*-elf*): Likewise.
11791         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11792         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11793         LIBGCC_SYNC_CFLAGS.
11794         Use $(srcdir) to refer to sync.c.
11795         Use $<.
11796         ($(libgcc-sync-funcs-o)): Likewise.
11797         ($(libgcc-sync-size-funcs-s-o)): Likewise.
11798         ($(libgcc-sync-funcs-s-o)): Likewise.
11800 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
11802         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11803         t-libunwind.
11805 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
11807         PR other/48007
11808         * config/i386/value-unwind.h: New.
11810 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
11812         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11813         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11814         Add to tmake_file rather than overriding it.
11816 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11818         * config/t-softfp: Remove.
11819         * soft-fp: Moved from ../gcc/config.
11820         * soft-fp/README: Remove t-softfp reference.
11821         * soft-fp/t-softfp: Move to config/t-softfp.
11822         (softfp_machine_header): Remove.
11823         (softfp_file_list): Remove config subdir.
11824         (soft-fp-objects): New variable.
11825         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11826         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11827         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11828         * config/t-softfp-excl: New file.
11829         * config/t-softfp-sfdf: New file.
11830         * config/t-softfp-tf: New file.
11831         * config/no-sfp-machine.h: New file.
11832         * config/arm/sfp-machine.h: New file.
11833         * config/arm/t-softfp: New file.
11834         * config/c6x/sfp-machine.h: New file.
11835         * config/i386/32/t-fprules-softfp: Rename to ...
11836         * config/i386/32/t-softfp: ... this.
11837         (tifunctions, LIB2ADD): Remove.
11838         (softfp_int_modes): Override.
11839         * config/i386/64/t-softfp-compat (tf-functions): Remove config
11840         subdir.
11841         * config/i386/64/eqtf2.c: Likewise.
11842         * config/i386/64/getf2.c: Likewise.
11843         * config/i386/64/letf2.c: Likewise.
11844         * config/ia64/sft-machine.h: New file.
11845         * config/ia64/t-fprules-softfp: Rename to ...
11846         * config/ia64/t-softfp: ... this.
11847         * config/lm32/sfp-machine.h: New file.
11848         * config/moxie/t-moxie-softfp: Remove.
11849         * config/rs6000/ibm-ldouble-format: New file.
11850         * config/rs6000/ibm-ldouble.c: New file.
11851         * config/rs6000/libgcc-ppc-glibc.ver: New file
11852         * config/rs6000/libgcc-ppc64.ver: New file
11853         * config/rs6000/sfp-machine.h: New file.
11854         * config/rs6000/t-freebsd: New file.
11855         * config/rs6000/t-ibm-ldouble: New file.
11856         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11857         libgcc-ppc-glibc.ver.
11858         * config/rs6000/t-linux64: New file.
11859         * config/rs6000/t-ppccomm (LIB2ADD): Add
11860         $(srcdir)/config/rs6000/ibm-ldouble.c.
11861         * config/rs6000/t-ppccomm-ldbl: New file.
11862         * config/score/sfp-machine.h: New file.
11863         * config.host (sfp_machine_header): Explain.
11864         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11865         t-softfp to tmake_file.
11866         (arm*-*-uclinux*): Likewise.
11867         (arm*-*-ecos-elf): Likewise.
11868         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11869         (arm*-*-rtems*): Likewise.
11870         (arm*-*-elf): Likewise.
11871         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11872         in tmake_file.
11873         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11874         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11875         (lm32-*-uclinux*): Likewise.
11876         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11877         t-softfp-excl, t-softfp.
11878         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11879         (powerpc64-*-darwin*): Likewise.
11880         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11881         to tmake_file.
11882         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11883         tmake_file.
11884         (powerpc-*-eabisim*): Likewise.
11885         (powerpc-*-elf*): Likewise.
11886         (powerpc-*-eabialtivec*): Likewise.
11887         (powerpc-xilinx-eabi*): Likewise.
11888         (powerpc-*-rtems*): Likewise.
11889         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11890         t-softfp-excl, t-softfp to tmake_file.
11891         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11892         rs6000/t-ppccomm-ldbl to tmake_file.
11893         (powerpcle-*-elf*): Likewise.
11894         (powerpcle-*-eabisim*): Likewise.
11895         (powerpcle-*-eabi*): Likewise.
11896         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11897         rs6000/t-ibm-ldouble to tmake_file.
11898         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11899         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11900         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11901         (tic6x-*-*): Likewise.
11902         (i[34567]86-*-darwin*, x86_64-*-darwin*,
11903         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11904         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11905         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11906         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11907         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11908         t-softfp to tmake_file.
11909         * configure.ac (sfp_machine_header): Provide default if unset.
11910         Substitute.
11911         Link sfp-machine.h to config/$sfp_machine_header.
11912         * configure: Regenerate.
11914 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11916         * Makefile.in (double_type_size, long_double_type_size): Set.
11917         Remove $(fpbit-in-libgcc) support.
11918         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11919         (fpbit-src): New variable.
11920         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11921         Compile with -DFLOAT $(FPBIT_CFLAGS).
11922         Use $<.
11923         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11924         Compile with $(FPBIT_CFLAGS).
11925         Use $<.
11926         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11927         Compile with -DFLOAT $(TPBIT_CFLAGS).
11928         Use $<.
11929         * configure.ac (double_type_size, long_double_type_size):
11930         Determine and substitute.
11931         * configure: Regenerate.
11932         * fp-bit.c, fp-bit.h: New files.
11933         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11934         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11935         * config/mips/t-mips: New file.
11936         * config/mips/t-sdemtk: New file.
11937         * config/rs6000/ppc64-fp.c: New file.
11938         * config/rs6000/t-darwin (LIB2ADD): Add
11939         $(srcdir)/config/rs6000/ppc64-fp.c.
11940         * config/rs6000/t-ppc64-fp: New file.
11941         * config/rx/rx-lib.h: New file.
11942         * config/rx/t-rx (FPBIT): Set to true.
11943         ($(gcc_objdir)/fp-bit.c): Remove.
11944         (DPBIT): Set to true only with -m64bit-doubles.
11945         ($(gcc_objdir)/dp-bit.c): Remove.
11946         * config/sparc/t-softfp: Remove.
11947         * config/spu/t-elf: New file.
11948         * config/t-fdpbit, config/t-fpbit: New files.
11949         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
11950         (mips*-*-*): Likewise.
11951         (arm-wrs-vxworks): Likewise.
11952         (arm*-*-freebsd*): Likewise.
11953         (avr-*-rtems*): Add t-fpbit to tmake_file.
11954         (avr-*-*): Likewise.
11955         (bfin*-elf*): Add t-fdpbit to tmake_file.
11956         (bfin*-uclinux*): Likewise.
11957         (bfin*-linux-uclibc*): Likewise.
11958         (bfin*-rtems*): New case.
11959         Add t-fdpbit to tmake_file.
11960         (bfin*-*): Add t-fdpbit to tmake_file.
11961         (crisv32-*-elf): Likewise.
11962         (cris-*-linux*): Likewise.
11963         (fr30-*-elf): Likewise.
11964         (frv-*-elf, frv-*-*linux*): Likewise.
11965         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
11966         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
11967         (m32r-*-elf*): Likewise.
11968         (m32rle-*-elf*): Likewise.
11969         (m32r-*-linux*): Likewise.
11970         (m32rle-*-linux*): Likewise.
11971         (mcore-*-elf): Add t-fdpbit to tmake_file.
11972         (microblaze*-*-*): Likewise.
11973         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
11974         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
11975         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
11976         Fix typo.
11977         Add mips/t-tpbit to tmake-file.
11978         (mips*-*-linux*): Fix typo.
11979         (mips*-sde-elf*): New case
11980         Add mips/t-sdemtk unless using newlib.
11981         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
11982         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
11983         (mn10300-*-*): Likewise.
11984         (pdp11-*-*): Likewise.
11985         (picochip-*-*): Add t-fpbit to tmake_file.
11986         (powerpc-*-eabisimaltivec*): Likewise.
11987         (powerpc-*-eabisim*): Likewise.
11988         (powerpc-*-elf*): Likewise.
11989         (powerpc-*-eabialtivec*): Likewise.
11990         (powerpc-xilinx-eabi*): New case.
11991         Add t-fdpbit to tmake_file.
11992         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
11993         (powerpc-*-rtems*): Likewise.
11994         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
11995         tmake_file.
11996         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
11997         tmake_file.
11998         (powerpc-*-lynxos*): Likewise.
11999         (powerpcle-*-elf*): Likewise.
12000         (powerpcle-*-eabisim*): Likewise.
12001         (powerpcle-*-eabi*): Likewise.
12002         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
12003         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
12004         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
12005         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12006         (rx-*-elf): Add t-fdpbit to tmake_file.
12007         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
12008         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
12009         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
12010         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
12011         sh*-*-netbsd*.
12012         (sh-*-rtems*): Add t-fdpbit to tmake_file.
12013         (sh-wrs-vxworks): Likewise.
12014         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
12015         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
12016         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
12017         (sparc64-*-rtems*): ... new case.
12018         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
12019         (spu-*-elf*): Likewise.
12020         Add spu/t-elf to tmake_file.
12021         (v850*-*-*): Add t-fdpbit to tmake_file.
12022         (xstormy16-*-elf): Likewise.
12023         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
12024         (mep*-*-*): Likewise.
12026 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12028         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
12029         variables.
12030         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
12031         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
12032         (install-unwind_h): New target.
12033         (all): Depend on it.
12034         * config.host (unwind_header): New variable.
12035         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
12036         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
12037         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
12038         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
12039         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
12040         Set unwind_header.
12041         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
12042         Set unwind_header.
12043         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
12044         arm*-*-eabi*.
12045         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
12046         Set unwind_header.
12047         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
12048         (ia64*-*-freebsd*): Likewise.
12049         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
12050         tmake_file.
12051         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
12052         $with_system_libunwind.
12053         (ia64*-*-hpux*): Set tmake_file.
12054         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
12055         (picochip-*-*): Set tmake_file.
12056         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
12057         md_unwind_header.
12058         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
12059         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12060         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
12061         (xtensa*-*-elf*): Set tmake_file.
12062         (xtensa*-*-linux*): Likewise.
12063         * configure.ac: Include ../config/unwind_ipinfo.m4.
12064         Call GCC_CHECK_UNWIND_GETIPINFO.
12065         Link unwind.h to $unwind_header.
12066         * configure: Regenerate.
12067         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
12068         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
12069         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
12070         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
12071         * config/unwind-dw2-fde-darwin.c: New file.
12072         * config/arm/libunwind.S, config/arm/pr-support.c,
12073         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
12074         config/arm/unwind-arm.h,: New files.
12075         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
12076         config/ia64/t-eh-ia64, config/ia64/t-glibc,
12077         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
12078         config/ia64/t-vms, config/ia64/unwind-ia64.c,
12079         config/ia64/unwind-ia64.h: New files.
12080         * config/picochip/t-picochip: New file.
12081         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
12082         files.
12083         * config/rs6000/t-darwin (LIB2ADDEH): Set.
12084         * config/s390/t-tpf (LIB2ADDEH): Remove.
12085         * config/t-darwin (LIB2ADDEH): Set.
12086         * config/t-eh-dw2-dip: New file.
12087         * config/t-libunwind, config/t-libunwind-elf: New files.
12088         * config/t-sol2 (LIB2ADDEH): Remove.
12089         * config/xtensa/t-xtensa: New file.
12091 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
12093         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
12094         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
12095         long long to check rt_sigreturn syscall.
12097 2011-08-02  Alan Modra  <amodra@gmail.com>
12099         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
12100         Restore for indirect call bcrtl from correct stack slot, and only
12101         if cfa+40 isn't valid.
12103 2011-08-01  Julian Brown  <julian@codesourcery.com>
12105         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
12106         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
12107         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
12109 2011-08-01  Julian Brown  <julian@codesourcery.com>
12111         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
12112         (libgcc-std.ver.in): Use above.
12113         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
12114         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
12115         throughout file.
12116         * config/t-fixedpoint-gnu-prefix: New file.
12117         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
12118         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
12119         instead of __PFX__.
12121 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
12123         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
12124         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
12125         for x86-64.  Properly check __x86_64__ and __LP64__.
12127 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
12129         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
12130         version.
12131         (_FP_WS_TYPE): Likewise.
12132         (_FP_I_TYPE): Likewise.
12134 2011-07-28  Alan Modra  <amodra@gmail.com>
12136         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
12137         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
12138         in a plt call stub.  Do restore r2 if stopped on bctrl.
12140 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12142         * config.host (i[3456x]86-*-netware*): Remove.
12143         * config/i386/netware-crt0.c, config/i386/t-nwld,
12144         config/i386/t-slibgcc-nwld: Remove.
12146 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
12148         * config.host: Handle tic6x-*-*.
12149         * config/c6x/c6x-abi.h: New file.
12151 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12153         * config/i386/crtprec.c: New file.
12154         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
12155         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
12156         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
12157         (x86_64-*-darwin*): Likewise.
12158         (i[34567]86-*-solaris2*: Likewise.
12160 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12162         * config/alpha/crtfastmath.c: New file.
12163         * config/i386/crtfastmath.c: New file.
12164         * config/ia64/crtfastmath.c: New file.
12165         * config/mips/crtfastmath.c: New file.
12166         * config/sparc/crtfastmath.c: New file.
12168         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
12169         crtfastmath.c.
12170         Add -frandom-seed=gcc-crtfastmath.
12171         * config/alpha/t-crtfm: Remove.
12172         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
12173         * config/ia64/t-ia64 (crtfastmath.o): Remove.
12175         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
12176         (alpha*-dec-osf5.1*): Likewise.
12177         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
12178         Add crtfastmath.o to extra_parts.
12179         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
12180         Add crtfastmath.o to extra_parts.
12181         (x86_64-*-darwin*): Likewise.
12182         (x86_64-*-mingw*): Likewise.
12183         (ia64*-*-elf*): Add t-crtfm to tmake_file.
12184         (ia64*-*-freebsd*): Likewise.
12185         (ia64*-*-linux*): Likewise.
12186         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
12187         Add crtfastmath.o to extra_parts.
12189 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12191         * config/darwin-crt3.o: New file.
12192         * config/rs6000/darwin-crt2.c: New file.
12193         * config/t-darwin: New file.
12194         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
12195         (crt2.o): New rule.
12196         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
12197         (powerpc-*-darwin*): Add crt2.o to extra_parts.
12198         (powerpc64-*-darwin*): Likewise.
12200 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12202         * config/i386/netware-crt0.c: New file.
12203         * config/i386/t-nwld: Rename to ...
12204         * config/i386/t-slibgcc-nwld: ... this.
12205         * config/i386/t-nwld: New file.
12206         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
12207         tmake_file.
12208         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
12209         extra_parts.
12211 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12213         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
12214         i386/t-crtstuff.
12215         * configure: Regenerate.
12217 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12219         * dfp-bit.c, dfp-bit.h: New files.
12220         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
12221         variables.
12222         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
12223         ($(d64pbit-o)): Likewise.
12224         ($(d128pbit-o)): Likewise.
12225         * config/t-dfprules: New file.
12226         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
12227         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
12228         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
12229         (x86_64-*-linux*): Likewise.
12230         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
12231         (i[34567]86-*-cygwin*): Likewise.
12232         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
12233         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
12235 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12237         * Makfile.in (LIBGCOV): New variable.
12238         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
12239         * libgcov.c: New file.
12241 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12243         * fixed-bit.c, fixed-bit.h: New files.
12244         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
12245         refer to fixed-bit.c.
12247 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
12249         * config.host (*local*): Remove.
12251 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12253         PR target/39150
12254         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
12255         like i?86-*-solaris2.1[0-9]*.
12256         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
12257         * configure.ac (i?86-*-solaris2*): Likewise.
12258         * configure: Regenerate.
12260 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
12262         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
12263         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
12264         md_unwind_header by splitting out of...
12265         (i[34567]86-*-linux*): ... this.
12266         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
12267         Remove md_unwind_header by splitting out of...
12268         (x86_64-*-linux*): ... this.
12270 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
12272         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
12274 2011-06-28  Nick Clifton  <nickc@redhat.com>
12276         * config.host: Recognize all V850 variants.
12278 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
12280         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
12282 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12284         * shared-object.mk (c_flags-$o): Save c_flags.
12285         ($(base)$(objext)): Use it.
12286         ($(base)_s$(objext)): Likewise.
12288 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
12290         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
12291         * libgcc-std.ver.in (GCC_4.7.0): New section.
12293 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
12295         PR target/49313
12296         PR target/29524
12297         * config/avr/t-avr: Fix line endings.
12298         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
12299         _parityXX2.
12301 2011-06-14  Olivier Hainque  <hainque@adacore.com>
12302             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12304         * config/mips/irix6-unwind.h: New file.
12305         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
12307 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
12309         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
12310         (sparc64_fallback_frame_state): Use it.
12311         (sparc64_frob_update_context): Further adjust context.
12312         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
12313         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
12314         * config/sparc/sol2-cn.S: Likewise.
12316 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12318         * enable-execute-stack-empty.c: New file.
12319         * enable-execute-stack-mprotect.c: New file.
12320         * config/i386/enable-execute-stack-mingw32.c: New file.
12321         * config.host (enable_execute_stack): New variable.
12322         Select appropriate variants.
12323         * configure.ac: Link enable-execute-stack.c to
12324         $enable_execute_stack.
12325         * configure: Regenerate.
12326         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
12327         (lib2funcs): Remove _enable_execute_stack.
12329 2011-06-09  David S. Miller  <davem@davemloft.net>
12330             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12332         * config.host (sparc-*-linux*): Correct md_unwind_header
12333         filename.
12334         (s390x-ibm-tpf*): Fix typo.
12336 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12338         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
12339         Add crtfastmath.o to extra_parts.
12340         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
12341         mips/t-crtfm.
12342         * config/mips/t-crtfm: Remove.
12344 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
12346         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
12348 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
12350         * config.host (sh*-*-linux*): Fix typo.
12352 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12354         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
12355         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
12356         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
12357         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
12358         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
12359         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
12360         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
12361         Wrap in !__MINGW64__.
12362         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
12363         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
12364         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
12365         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
12366         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
12367         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
12368         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
12369         Wrap in !__LP64__.
12370         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
12371         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
12372         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
12373         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
12374         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
12375         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
12376         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
12377         * config/no-unwind.h: New file.
12378         * config.host (md_unwind_header): Document.
12379         Define.
12380         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
12381         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
12382         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
12383         hppa[12]*-*-hpux11*): Set md_unwind_header.
12384         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
12385         Set md_unwind_header.
12386         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
12387         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
12388         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
12389         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
12390         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
12391         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
12392         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
12393         md_unwind_header.
12394         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
12395         * configure: Regenerate.
12397 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12399         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
12400         Set tmake_file, extra_parts.
12401         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
12402         Remove O32 support.
12403         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
12404         Remove O32 support.
12405         * config/mips/t-irix6: New file.
12406         * config/mips/t-slibgcc-irix: New file.
12408 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12410         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
12411         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
12413 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12415         * configure.ac (target_thread_file): Determine thread model.
12416         * configure: Regenerate.
12417         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
12418         * config/alpha/t-alpha: New file.
12419         * config/alpha/t-crtfm: Use $<.
12420         * config/alpha/t-ieee: New file.
12421         * config/alpha/t-osf-pthread: New file.
12422         * config/alpha/t-slibgcc-osf: New file.
12423         * config/alpha/libgcc-osf5.ver: New file.
12425 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12427         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
12428         tmake_file.
12429         Add crtfastmath.o to extra_parts.
12431 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12433         * config/gmon-sol2.c: Reindent.
12434         Cleanup comments.
12435         Remove, correct casts.
12436         Use STDERR_FILENO, NULL.
12437         (BASEADDRESS): Remove.
12438         (minbrk): Remove.
12439         (errno, sbrk): Remove declarations.
12440         (monstartup) [hp300]: Remove.
12441         (mcount): Remove.
12443 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12445         * Makefile.in (cpu_type): Define.
12446         * config.host (i[34567]86-*-rtems*): Handle it.
12447         (i[34567]86-*-solaris2*): Move body ...
12448         (*-*-solaris2*): ... here.
12449         New case, generalize.
12450         (sparc-*-elf*): Handle it.
12451         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
12452         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
12453         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
12454         Fold into ...
12455         (sparc*-*-solaris2*): ... this.
12456         New case.
12457         (sparc64-*-elf*): Handle it.
12458         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
12459         Merge ../gcc/config/i386/gmon-sol2.c.
12460         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
12461         Use C comments.
12462         Merge ../gcc/config/i386/sol2-gc1.asm.
12463         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
12464         Use C comments.
12465         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
12466         Use C comments.
12467         * config/i386/t-crtfm (crtfastmath.o): Use $<.
12468         * config/i386/t-crtstuff: New file.
12469         * config/i386/t-softfp: New file.
12470         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
12471         $(T)crti.o, $(T)crtn.o): Remove.
12472         (gcrt1.o): New rule.
12473         (TARGET_LIBGCC2_CFLAGS): Remove.
12474         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
12475         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
12476         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
12477         * config/sparc/t-sol2: New file.
12478         * config/sparc/t-crtfm: Move to ...
12479         * config/t-crtfm: ... this.
12480         Use $(cpu_type), $<.
12481         * config/t-crtin: New file.
12482         * config/sparc/t-softfp: New file.
12483         * config/sparc/t-softmul: New file.
12484         * config/t-rtems: New file.
12485         * config/t-slibgcc: New file.
12486         * config/t-slibgcc-elf-ver: New file.
12487         * config/t-slibgcc-gld: New file.
12488         * config/t-slibgcc-sld: New file.
12489         * config/t-sol2: New file.
12490         * configure.ac: Include ../config/lib-ld.m4.
12491         Call AC_LIB_PROG_LD_GNU.
12492         Substitute cpu_type.
12493         * configure: Regenerate.
12495 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
12497         PR bootstrap/49173
12498         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
12499         libgcc-std.ver in the build directory.
12500         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
12501         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
12503 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
12505         * libgcc-std.ver.in: New file.
12506         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
12507         variables.
12508         (libgcc-std.ver): New rule.
12509         * config/t-gnu-prefix: New file.
12511 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12513         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
12515 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
12517         * config/i386/darwin-lib.h: New file.
12519 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
12521         * config/arm/symbian-lib.h: New.
12523 2011-05-04  Chris Demetriou  <cgd@google.com>
12525         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
12526         (__x86.get_pc_thunk.bx): ...this.
12527         (__morestack): Adjust for rename, remove undef of __i686.
12529 2011-05-03  Chris Demetriou  <cgd@google.com>
12531         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
12533 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
12535         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
12536         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
12537         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
12538         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
12539         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
12540         Remove cases.
12542 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
12544         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
12545         Adjust copyright year.
12547 2011-03-07  Ian Lance Taylor  <iant@google.com>
12549         * generic-morestack.c (__splitstack_find): Adjust returned stack
12550         pointer to include all registers pushed by __morestack.
12552 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
12554         PR target/40125
12555         * configure.ac: Call ACX_NONCANONICAL_TARGET.
12556         (toolexecdir): Calculate and AC_SUBST.
12557         (toolexeclibdir): Likewise.
12558         * Makefile.in (target_noncanonical): Import.
12559         (toolexecdir): Likewise.
12560         (toolexeclibdir): Likewise.
12561         * configure: Regenerate.
12563 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
12565         PR target/46040
12566         * config/arm/bpabi.h: Rename to...
12567         * config/arm/bpabi-lib.h: ...this.
12569 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12571         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
12572         appropriate.
12573         * configure: Regenerate.
12575 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
12577         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
12578         __FLOAT_WORD_ORDER__.
12579         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
12580         Delete.
12582 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12584         PR other/46202
12585         * Makefile.in (install-strip): New phony target.
12587 2010-11-07  Ian Lance Taylor  <iant@google.com>
12589         PR target/46089
12590         * config/i386/morestack.S (__morestack_large_model): New
12591         function.
12593 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
12595         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
12596         Delete.
12597         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
12599 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
12601         * config/arm/bpabi.h: New file.
12602         * config/frv/frv-abi.h: New file.
12604 2010-10-01  Ian Lance Taylor  <iant@google.com>
12606         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
12607         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
12609 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
12611         PR target/45858
12612         * config.host: Add the missing `$'.
12614 2010-09-30  Michael Eager  <eager@eagercon.com>
12616         * config.host: Add microblaze*-*-*.
12617         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
12618         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
12619         udivsi3.asm,umodsi3.asm}:  New.
12621 2010-09-28  Ian Lance Taylor  <iant@google.com>
12623         * configure.ac: Adjust CFI test to test assembler directly rather
12624         than checking gcc preprocessor macro.
12625         * configure: Rebuild.
12627 2010-09-27  Ian Lance Taylor  <iant@google.com>
12629         * configure.ac: Test whether assembler supports CFI directives.
12630         * config.host: Only add t-stack and i386/t-stack-i386 to
12631         tmake_file if libgcc_cv_cfi is "yes".
12632         * configure: Rebuild.
12634 2010-09-27  Ian Lance Taylor  <iant@google.com>
12636         * generic-morestack.h: New file.
12637         * generic-morestack.c: New file.
12638         * generic-morestack-thread.c: New file.
12639         * config/i386/morestack.S: New file.
12640         * config/t-stack: New file.
12641         * config/i386/t-stack-i386: New file.
12642         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
12643         i386/t-stack-i386 to tmake_file.
12645 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
12647         * Makefile.in (libgcc-extra-parts):  Check for static archives and
12648         invoke ranlib after installing them.
12649         (gcc-extra-parts): Likewise.
12650         (install-leaf): Likewise.
12652 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
12654         * configure: Regenerated.
12656 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
12658         * configure: Regenerated.
12660 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
12661             Andrew Pinski  <pinskia@gmail.com>
12663         PR target/40959
12664         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
12666 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12668         PR target/45524
12669         * configure: Regenerated.
12671 2010-09-06  Andreas Schwab  <schwab@redhat.com>
12673         * configure: Regenerate.
12675 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
12677         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
12678         64bit targets.
12679         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
12680         for 64bit targets.
12682 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
12683             Iain Sandoe  <iains@gcc.gnu.org>
12685         PR target/45476
12686         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
12687         LIB2FUNCS_EXCLUDE functions.
12689 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12691         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
12692         Include dfp.m4.
12693         * configure: Regenerate.
12695 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
12697         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
12698         i386/t-freebsd to tmake_file.
12699         * config/i386/t-freebsd: New file.
12700         * config/i386/libgcc-bsd.ver: New file.
12702 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
12704         * config.host (powerpc*-eabispe*): Set tmake_file.
12705         (powerpc*-eabi*): Likewise.
12706         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
12707         crtbeginS, crtendS, crtbeginT.
12709 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
12711         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
12712         to tmake_file.  Add crtfastmath.o to extra_parts.
12713         * config/mips/t-crtfm: New.
12715 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
12717         * config.host (sparc64-*-rtems*): New target.
12719 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12721         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12722         assembler syntax.
12724 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
12726         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12728 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12730         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12731         alpha-dec-osf5.0* support.
12733 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
12735         * config.host: Add lm32-*-rtems*.
12737 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12738             Uros Bizjak  <ubizjak@gmail.com>
12740         PR target/39048
12741         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12742         like other remaining 32-bit x86 OSes.
12743         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12744         assembler syntax.
12745         * config/i386/libgcc-sol2.ver: New file.
12746         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12748 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
12750         PR c/43553
12751         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12752         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12753         is used and substitute set_use_emutls.
12754         * configure: Regenerated.
12756 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
12758         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12760 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12762         PR target/38085
12763         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12764         MULTILIB_CFLAGS.
12765         ($(T)gcrt1.o): Likewise.
12766         ($(T)crt1.o): Likewise.
12767         ($(T)crti.o): Likewise.
12768         ($(T)crtn.o): Likewise.
12770 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12772         PR other/42980
12773         * Makefile.in (install): Use $(MAKE) string in rule, for
12774         parallel make.
12776 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
12778         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12779         * config/mmix/t-mmix: New file.
12780         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12782 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
12784         PR java/41991
12785         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12786         SHLIB_MAPFILES.
12788 2010-01-04  Anthony Green  <green@moxielogic.com>
12790         * config/moxie/crti.asm, config/moxie/crtn.asm,
12791         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12792         config/moxie/t-moxie: New files.
12793         * config.host: Add t-moxie-softfp reference.
12795 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
12797         PR other/39888
12798         * config/t-slibgcc-darwin: Fix embedded rpaths for
12799         --enable-version-specific-runtime-libs, build extension stub
12800         libs exposing features available from current libgcc_s.
12802 2009-11-11  Jon Beniston  <jon@beniston.com>
12804         * config.host: Add lm32 targets.
12805         * config/lm32: New directory.
12806         * config/lm32/libgcc_lm32.h: New file.
12807         * config/lm32/_mulsi3.c: New file.
12808         * config/lm32/_udivmodsi4.c: New file.
12809         * config/lm32/_divsi3.c: New file.
12810         * config/lm32/_modsi3.c: New file.
12811         * config/lm32/_udivsi3.c: New file.
12812         * config/lm32/_umodsi3.c: New file.
12813         * config/lm32/_lshrsi3.S: New file.
12814         * config/lm32/_ashrsi3.S: New file.
12815         * config/lm32/_ashlsi3.S: New file.
12816         * config/lm32/crti.S: New file.
12817         * config/lm32/crtn.S: New file.
12818         * config/lm32/t-lm32: New file.
12819         * config/lm32/t-elf: New file.
12820         * config/lm32/t-uclinux: New file.
12822 2009-10-26  Nick Clifton  <nickc@redhat.com>
12824         * config.host: Add support for RX target.
12825         * config/rx: New directory.
12826         * config/rx/rx-abi-functions.c: New file. Supplementary
12827         functions for libgcc to support the RX ABI.
12828         * config/rx/rx-abi.h: New file.  Supplementary header file for
12829         libgcc RX ABI functions.
12830         * config/rx/t-rx: New file: Makefile fragment for building
12831         libgcc for the RX.
12833 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
12835         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12836         constraint of y0 to "g".
12838 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12840         * config.host: Include the s390 makefile fragments.
12841         * config/s390/32/_fixdfdi.c: New file.
12842         * config/s390/32/_fixsfdi.c: New file.
12843         * config/s390/32/_fixtfdi.c: New file.
12844         * config/s390/32/_fixunsdfdi.c: New file.
12845         * config/s390/32/_fixunssfdi.c: New file.
12846         * config/s390/32/_fixunstfdi.c: New file.
12847         * config/s390/32/t-floattodi: New file.
12848         * config/s390/libgcc-glibc.ver: New file.
12849         * config/s390/t-crtstuff: New file.
12850         * config/s390/t-linux: New file.
12851         * config/s390/t-tpf: New file.
12853 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12855         * configure.ac (AC_PREREQ): Bump to 2.64.
12857 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
12859         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12861 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12863         * configure: Regenerate.
12865 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
12867         * config.host (ia64-hp-*vms*): New target.
12868         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12869         with ia64-hp-*vms*.
12871 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12873         * configure.ac: Add snippet for maintainer-mode.
12874         * configure: Regenerate.
12875         * Makefile.in (AUTOCONF, configure_deps): New variables.
12876         ($(srcdir)/configure)): New rule, active only with maintainer
12877         mode turned on.
12879 2009-06-23  DJ Delorie  <dj@redhat.com>
12881         Add MeP port.
12882         * config.host: Add mep support.
12884 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
12886         * config.host: Add i386/${host_address}/t-fprules-softfp and
12887         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
12889         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12890         for mingw targets.
12891         * config/i386/64/_multc3.c: Likewise.
12892         * config/i386/64/_powitf2.c: Likewise.
12893         * config/i386/64/eqtf2.c: Likewise.
12894         * config/i386/64/getf2.c: Likewise.
12895         * config/i386/64/letf2.c: Likewise.
12896         * config/i386/64/letf2.c: Likewise.
12897         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12898         unsigned long long for x64 mingw targets.
12899         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12900         (_FP_I_TYPE): Define as long long for x64 mingw target.
12902 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
12904         * config.host (vax-*-linux*): New.
12906 2009-05-31  Anthony Green  <green@moxielogic.com>
12908         * config.host: Add moxie support.
12909         * config/moxie/t-moxie: New file.
12911 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
12913         * config.host: Add i386/${host_address}/t-fprules-softfp and
12914         t-softfp to tmake_file for i[34567]86-*-cygwin*.
12916 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
12918         * config.host: Add i386/${host_address}/t-fprules-softfp to
12919         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12921 2009-04-09  Nick Clifton  <nickc@redhat.com>
12923         * config/ia64/tf-signs.c: Change copyright header to refer to
12924         version 3 of the GNU General Public License with version 3.1
12925         of the GCC Runtime Library Exception and to point readers at
12926         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12927         web page.
12928         * config/i386/32/tf-signs.c: Likewise.
12929         * config/libbid/_addsub_dd.c: Likewise.
12930         * config/libbid/_addsub_sd.c: Likewise.
12931         * config/libbid/_addsub_td.c: Likewise.
12932         * config/libbid/_dd_to_df.c: Likewise.
12933         * config/libbid/_dd_to_di.c: Likewise.
12934         * config/libbid/_dd_to_sd.c: Likewise.
12935         * config/libbid/_dd_to_sf.c: Likewise.
12936         * config/libbid/_dd_to_si.c: Likewise.
12937         * config/libbid/_dd_to_td.c: Likewise.
12938         * config/libbid/_dd_to_tf.c: Likewise.
12939         * config/libbid/_dd_to_udi.c: Likewise.
12940         * config/libbid/_dd_to_usi.c: Likewise.
12941         * config/libbid/_dd_to_xf.c: Likewise.
12942         * config/libbid/_df_to_dd.c: Likewise.
12943         * config/libbid/_df_to_sd.c: Likewise.
12944         * config/libbid/_df_to_td.c: Likewise.
12945         * config/libbid/_di_to_dd.c: Likewise.
12946         * config/libbid/_di_to_sd.c: Likewise.
12947         * config/libbid/_di_to_td.c: Likewise.
12948         * config/libbid/_div_dd.c: Likewise.
12949         * config/libbid/_div_sd.c: Likewise.
12950         * config/libbid/_div_td.c: Likewise.
12951         * config/libbid/_eq_dd.c: Likewise.
12952         * config/libbid/_eq_sd.c: Likewise.
12953         * config/libbid/_eq_td.c: Likewise.
12954         * config/libbid/_ge_dd.c: Likewise.
12955         * config/libbid/_ge_sd.c: Likewise.
12956         * config/libbid/_ge_td.c: Likewise.
12957         * config/libbid/_gt_dd.c: Likewise.
12958         * config/libbid/_gt_sd.c: Likewise.
12959         * config/libbid/_gt_td.c: Likewise.
12960         * config/libbid/_isinfd128.c: Likewise.
12961         * config/libbid/_isinfd32.c: Likewise.
12962         * config/libbid/_isinfd64.c: Likewise.
12963         * config/libbid/_le_dd.c: Likewise.
12964         * config/libbid/_le_sd.c: Likewise.
12965         * config/libbid/_le_td.c: Likewise.
12966         * config/libbid/_lt_dd.c: Likewise.
12967         * config/libbid/_lt_sd.c: Likewise.
12968         * config/libbid/_lt_td.c: Likewise.
12969         * config/libbid/_mul_dd.c: Likewise.
12970         * config/libbid/_mul_sd.c: Likewise.
12971         * config/libbid/_mul_td.c: Likewise.
12972         * config/libbid/_ne_dd.c: Likewise.
12973         * config/libbid/_ne_sd.c: Likewise.
12974         * config/libbid/_ne_td.c: Likewise.
12975         * config/libbid/_sd_to_dd.c: Likewise.
12976         * config/libbid/_sd_to_df.c: Likewise.
12977         * config/libbid/_sd_to_di.c: Likewise.
12978         * config/libbid/_sd_to_sf.c: Likewise.
12979         * config/libbid/_sd_to_si.c: Likewise.
12980         * config/libbid/_sd_to_td.c: Likewise.
12981         * config/libbid/_sd_to_tf.c: Likewise.
12982         * config/libbid/_sd_to_udi.c: Likewise.
12983         * config/libbid/_sd_to_usi.c: Likewise.
12984         * config/libbid/_sd_to_xf.c: Likewise.
12985         * config/libbid/_sf_to_dd.c: Likewise.
12986         * config/libbid/_sf_to_sd.c: Likewise.
12987         * config/libbid/_sf_to_td.c: Likewise.
12988         * config/libbid/_si_to_dd.c: Likewise.
12989         * config/libbid/_si_to_sd.c: Likewise.
12990         * config/libbid/_si_to_td.c: Likewise.
12991         * config/libbid/_td_to_dd.c: Likewise.
12992         * config/libbid/_td_to_df.c: Likewise.
12993         * config/libbid/_td_to_di.c: Likewise.
12994         * config/libbid/_td_to_sd.c: Likewise.
12995         * config/libbid/_td_to_sf.c: Likewise.
12996         * config/libbid/_td_to_si.c: Likewise.
12997         * config/libbid/_td_to_tf.c: Likewise.
12998         * config/libbid/_td_to_udi.c: Likewise.
12999         * config/libbid/_td_to_usi.c: Likewise.
13000         * config/libbid/_td_to_xf.c: Likewise.
13001         * config/libbid/_tf_to_dd.c: Likewise.
13002         * config/libbid/_tf_to_sd.c: Likewise.
13003         * config/libbid/_tf_to_td.c: Likewise.
13004         * config/libbid/_udi_to_dd.c: Likewise.
13005         * config/libbid/_udi_to_sd.c: Likewise.
13006         * config/libbid/_udi_to_td.c: Likewise.
13007         * config/libbid/_unord_dd.c: Likewise.
13008         * config/libbid/_unord_sd.c: Likewise.
13009         * config/libbid/_unord_td.c: Likewise.
13010         * config/libbid/_usi_to_dd.c: Likewise.
13011         * config/libbid/_usi_to_sd.c: Likewise.
13012         * config/libbid/_usi_to_td.c: Likewise.
13013         * config/libbid/_xf_to_dd.c: Likewise.
13014         * config/libbid/_xf_to_sd.c: Likewise.
13015         * config/libbid/_xf_to_td.c: Likewise.
13016         * config/libbid/bid128.c: Likewise.
13017         * config/libbid/bid128_2_str.h: Likewise.
13018         * config/libbid/bid128_2_str_macros.h: Likewise.
13019         * config/libbid/bid128_2_str_tables.c: Likewise.
13020         * config/libbid/bid128_add.c: Likewise.
13021         * config/libbid/bid128_compare.c: Likewise.
13022         * config/libbid/bid128_div.c: Likewise.
13023         * config/libbid/bid128_fma.c: Likewise.
13024         * config/libbid/bid128_logb.c: Likewise.
13025         * config/libbid/bid128_minmax.c: Likewise.
13026         * config/libbid/bid128_mul.c: Likewise.
13027         * config/libbid/bid128_next.c: Likewise.
13028         * config/libbid/bid128_noncomp.c: Likewise.
13029         * config/libbid/bid128_quantize.c: Likewise.
13030         * config/libbid/bid128_rem.c: Likewise.
13031         * config/libbid/bid128_round_integral.c: Likewise.
13032         * config/libbid/bid128_scalb.c: Likewise.
13033         * config/libbid/bid128_sqrt.c: Likewise.
13034         * config/libbid/bid128_string.c: Likewise.
13035         * config/libbid/bid128_to_int16.c: Likewise.
13036         * config/libbid/bid128_to_int32.c: Likewise.
13037         * config/libbid/bid128_to_int64.c: Likewise.
13038         * config/libbid/bid128_to_int8.c: Likewise.
13039         * config/libbid/bid128_to_uint16.c: Likewise.
13040         * config/libbid/bid128_to_uint32.c: Likewise.
13041         * config/libbid/bid128_to_uint64.c: Likewise.
13042         * config/libbid/bid128_to_uint8.c: Likewise.
13043         * config/libbid/bid32_to_bid128.c: Likewise.
13044         * config/libbid/bid32_to_bid64.c: Likewise.
13045         * config/libbid/bid64_add.c: Likewise.
13046         * config/libbid/bid64_compare.c: Likewise.
13047         * config/libbid/bid64_div.c: Likewise.
13048         * config/libbid/bid64_fma.c: Likewise.
13049         * config/libbid/bid64_logb.c: Likewise.
13050         * config/libbid/bid64_minmax.c: Likewise.
13051         * config/libbid/bid64_mul.c: Likewise.
13052         * config/libbid/bid64_next.c: Likewise.
13053         * config/libbid/bid64_noncomp.c: Likewise.
13054         * config/libbid/bid64_quantize.c: Likewise.
13055         * config/libbid/bid64_rem.c: Likewise.
13056         * config/libbid/bid64_round_integral.c: Likewise.
13057         * config/libbid/bid64_scalb.c: Likewise.
13058         * config/libbid/bid64_sqrt.c: Likewise.
13059         * config/libbid/bid64_string.c: Likewise.
13060         * config/libbid/bid64_to_bid128.c: Likewise.
13061         * config/libbid/bid64_to_int16.c: Likewise.
13062         * config/libbid/bid64_to_int32.c: Likewise.
13063         * config/libbid/bid64_to_int64.c: Likewise.
13064         * config/libbid/bid64_to_int8.c: Likewise.
13065         * config/libbid/bid64_to_uint16.c: Likewise.
13066         * config/libbid/bid64_to_uint32.c: Likewise.
13067         * config/libbid/bid64_to_uint64.c: Likewise.
13068         * config/libbid/bid64_to_uint8.c: Likewise.
13069         * config/libbid/bid_b2d.h: Likewise.
13070         * config/libbid/bid_binarydecimal.c: Likewise.
13071         * config/libbid/bid_conf.h: Likewise.
13072         * config/libbid/bid_convert_data.c: Likewise.
13073         * config/libbid/bid_decimal_data.c: Likewise.
13074         * config/libbid/bid_decimal_globals.c: Likewise.
13075         * config/libbid/bid_div_macros.h: Likewise.
13076         * config/libbid/bid_dpd.c: Likewise.
13077         * config/libbid/bid_flag_operations.c: Likewise.
13078         * config/libbid/bid_from_int.c: Likewise.
13079         * config/libbid/bid_functions.h: Likewise.
13080         * config/libbid/bid_gcc_intrinsics.h: Likewise.
13081         * config/libbid/bid_inline_add.h: Likewise.
13082         * config/libbid/bid_internal.h: Likewise.
13083         * config/libbid/bid_round.c: Likewise.
13084         * config/libbid/bid_sqrt_macros.h: Likewise.
13086 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
13088         * Makefile.in: Change copyright header to refer to version
13089         3 of the GNU General Public License and to point readers at the
13090         COPYING3 file and the FSF's license web page.
13091         * config.host: Likewise.
13093 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
13095         * config.host: Reorder and merge to match config.gcc change.
13097 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
13099         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
13101 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
13103         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
13104         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
13105         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
13106         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
13108 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
13110         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
13111         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
13113 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
13115         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
13116         ia64/t-softfp-compat to tmake_file.
13118         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
13120         * config/ia64/__divxf3.asm: New.
13121         * config/ia64/_fixtfdi.asm: Likewise.
13122         * config/ia64/_fixunstfdi.asm: Likewise.
13123         * config/ia64/_floatditf.asm: Likewise.
13124         * config/ia64/t-fprules-softfp: Likewise.
13125         * config/ia64/t-softfp-compat: Likewise.
13126         * config/ia64/tf-signs.c: Likewise.
13128 2009-01-18  Ben Elliston  <bje@au.ibm.com>
13130         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
13132 2009-01-16  Ben Elliston  <bje@au.ibm.com>
13134         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
13135         to tmake_file.
13137 2009-01-13  Ben Elliston  <bje@au.ibm.com>
13139         * config/t-softfp: New file.
13140         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
13141         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
13143 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
13145         * config.host: Add m32r*-*-rtems*.
13147 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
13149         * config.host: Add m32c*-*-rtems*.
13151 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13153         PR bootstrap/33100
13154         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
13155         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
13156         * configure: Regenerate.
13157         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
13158         tmake_file here from gcc/config.gcc.
13159         Move extra_parts here from gcc/config.gcc.
13160         * config/i386/t-sol2: Move here from gcc/config/i386.
13161         Use gcc_srcdir instead of srcdir.
13163 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
13165         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
13166         case.
13168 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
13170         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
13172 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
13174         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
13176 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
13178         Add picoChip port.
13179         * config.host: Add picochip-*-*.
13181 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
13183         * config.host: Match more processor names for Xtensa.
13185 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
13187         * config/i386/64/t-softfp-compat: Update comments.
13189 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13191         * config/i386/64/_divtc3-compat.c: Moved to ...
13192         * config/i386/64/_divtc3.c: Here.
13194         * config/i386/64/_multc3-compat.c: Moved to ...
13195         * config/i386/64/_multc3.c: Here.
13197         * config/i386/64/_powitf2-compat.c: Moved to ...
13198         * config/i386/64/_powitf2.c: Here.
13200         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
13201         .c suffix instead of -compat.c.
13203 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
13205         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
13206         (_FP_MUL_MEAT_D): Ditto.
13207         (_FP_DIV_MEAT_S): Ditto.
13208         (_FP_DIV_MEAT_D): Ditto.
13210 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
13212         * Makefile.in: Add support for __sync_* libgcc functions.
13214 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
13216         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
13218 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
13220         PR boostrap/36702
13221         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
13222         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
13224         * config/i386/64/t-fprules-softfp: Moved to ...
13225         * config/i386/64/t-softfp-compat: This.  New.
13227 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
13229         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
13230         Initialize f with 0.0.
13232 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
13234         PR target/36669
13235         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
13237         * config/i386/64/_divtc3-compat.c: New.
13238         * config/i386/64/_multc3-compat.c: Likewise.
13239         * config/i386/64/_powitf2-compat.c: Likewise.
13240         * config/i386/64/eqtf2.c: Likewise.
13241         * config/i386/64/getf2.c: Likewise.
13242         * config/i386/64/letf2.c: Likewise.
13243         * config/i386/64/t-fprules-softfp: Likewise.
13245 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
13247         * config.host: Add i386/${host_address}/t-fprules-softfp to
13248         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
13249         i[34567]86-*-linux*, x86_64-*-linux*.
13251         * configure.ac: Set host_address to 64 or 32 for x86.
13252         * configure: Regenerated.
13254         * Makefile.in (config.status): Also depend on
13255         $(srcdir)/config.host.
13257         * config/i386/32/t-fprules-softfp: New.
13258         * config/i386/32/tf-signs.c: Likewise.
13260         * config/i386/64/sfp-machine.h: New. Moved from gcc.
13262 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
13263             Uros Bizjak  <ubizjak@gmail.com>
13265         * config/i386/32/sfp-machine.h: New.
13267 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
13269         * config/rs6000/t-ppccomm: Remove rules that conflict with
13270         auto-generated rules.
13272 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
13274         * configure.ac: sinclude override.m4.
13275         * configure: Regenerate.
13277 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
13279         * configure: Regenerate.
13281 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
13283         * Makefile.in (DECNUMINC): Remove
13284         -I$(MULTIBUILDTOP)../../libdecnumber.
13285         * gstdint.h: New.
13287 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
13289         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
13290         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
13291         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
13292         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
13293         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
13294         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
13295         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
13296         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
13297         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
13298         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
13299         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
13300         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
13301         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
13302         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
13304 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
13306         * config.host (sh2[lbe]*-*-linux*): Allow target.
13308 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
13310         * config/rs6000/t-ppccomm: Add build rules for new files.
13311         (LIB2ADD_ST): New variable.
13313 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
13315         PR target/34210
13316         PR target/35508
13317         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
13318         * config/t-avr: New file. Build 16bit libgcc functions.
13320 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
13322         PR target/35401
13323         * config/t-slibgcc-darwin: Make install-leaf dependent on
13324         install-darwin-libgcc-stubs instead of install.
13326 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
13328         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
13329         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
13330         sh-*-rtemscoff*): Remove cases.
13332 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
13334         * Makefile.in (all): Use install-leaf rather than install.
13335         (install): Split most of the rule into...
13336         (install-leaf): ...this new one.
13338 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
13339             Paolo Bonzini  <bonzini@gnu.org>
13341         PR target/30572
13342         * Makefile.in: Use @shlib_slibdir@ substitution to get
13343         correct install name on darwin.
13344         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
13346 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
13348         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
13349         cris-*-elf and cris-*-none.
13350         (crisv32-*-linux*): Similar, as cris-*-linux*.
13352 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
13354         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
13356 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
13358         PR regression/33926
13359         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
13360         * configure: Regenerated.
13362 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
13364         * Makefile.in (dfp-filenames): Replace decimal_globals,
13365         decimal_data, binarydecimal and convert_data with
13366         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
13367         and bid_convert_data, respectively.
13369 2007-09-17  Chao-ying Fu  <fu@mips.com>
13370             Nigel Stephens  <nigel@mips.com>
13372         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
13373         * Makefile.in (fixed_point): Define.
13374         Check if fixed_point is yes to build support functions.
13375         * configure.ac: Check for fixed_point support.
13376         * configure: Regenerated.
13377         * gen-fixed.sh: New file to generate lists of fixed-point labels,
13378         funcs, modes, from, to.
13380 2007-09-11  Janis Johnson  <janis187@us.ibm.com
13382         * Makefile.in (dfp-filenames): Add bid128_noncomp.
13384 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
13386         * Makefile.in (dfp-filenames): Remove decUtility, add
13387         decDouble, decPacked, decQuad, decSingle.
13389 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
13391         * config.host : Add x86_64-elf target.
13393 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
13395         * configure.ac (set_have_cc_tls): Add a missing =.
13396         * configure: Regenerated.
13398 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
13400         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
13401         and x86_64-*-linux*.
13403         * config/t-tls: New file.
13405         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
13407         * configure.ac: Include ../config/enable.m4 and
13408         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
13409         supports TLS and substitute set_have_cc_tls.
13410         * configure: Regenerated.
13412 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
13414         * Makefile.in: Use libbid for DFP when BID is enabled.
13416 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
13418         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
13419         extra_parts. Add config/i386/t-cygming to tmake_file.
13420         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
13422 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
13423             Danny Smith  <dannysmith@users.sourceforge.net>
13425         PR target/29498
13426         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
13427         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
13428         * config/i386/t-crtfm: Compile crtfastmath.o with
13429         -minline-all-stringops.
13431 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
13433         * config.host (sparc-wrs-vxworks): New target.
13435 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
13437         * config.host: Recognize fido.
13439 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
13441         * configure: Check host, not target, for decimal float support.
13443 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
13445         * config/i386/t-crtpc: New file.
13446         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
13447         (x86_64-*-linux*): Ditto.
13449 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
13451         * config.host (x86_64-*-mingw*): New target.
13453 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
13454             H.J. Lu  <hongjiu.lu@intel.com>
13456         * Makefile.in (enable_decimal_float): New.
13457         (DECNUMINC): Add
13458         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
13459         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
13460         (decbits-filenames): This.
13461         (decbits-objects): New.
13462         (libgcc-objects): Add $(decbits-objects).
13464         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
13465         Substitute enable_decimal_float.
13466         * configure: Regenerated.
13468 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
13470         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
13472 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
13474         * Makefile.in (install-info): New dummy target.
13476 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
13478         * config.host (bfin*-linux-uclibc*): Set extra_parts.
13480 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
13482         * Makefile.in: Add install-html and install-pdf dummy
13483         targets.
13485 2007-02-05  Roger Sayle  <roger@eyesopen.com>
13486             Daniel Jacobowitz  <dan@codesourcery.com>
13488         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
13489         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
13490         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
13492 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
13494         * Makefile.in (dec-filenames): Add decExcept.
13496 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
13498         PR bootstrap/30469
13499         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
13500         -fprofile-use.
13502 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
13504         * configure.ac: Add --enable-version-specific-runtime-libs.
13505         Correct $slibdir default.
13506         * configure: Regenerated.
13508 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
13510         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
13512 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
13514         PR target/30519
13515         * config.host (alpha*-*-linux*): Set extra_parts.
13517 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
13519         * config/sh/t-linux: New.
13520         * config.host (sh*-*-linux*): Set tmake_file.
13522 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
13524         * Makefile.in (install): Handle multilibs.
13526 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
13528         * Makefile.in: Added .PHONY entry for documentation targets.
13530 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
13532         * Makefile.in: Add empty info, html, dvi, pdf targets.
13534 2007-01-04  Mike Stump  <mrs@apple.com>
13536         * Makefile.in (MAKEINFO): Remove.
13537         (PERL): Likewise.
13539 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
13541         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
13542         * configure: Regenerate.
13543         * Makefile.in (host_subdir): Substitute it.
13544         (gcc_objdir): Use it.
13546 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
13548         * config.host (ia64*-*-linux*): Set tmake_file.
13550 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
13552         * Makefile.in (version): Define.
13554 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
13555             Paolo Bonzini  <bonzini@gnu.org>
13557         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
13558         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
13559         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
13560         config/sparc/t-crtfm, config/t-slibgcc-darwin,
13561         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
13562         shared-object.mk, siditi-object.mk, static-object.mk: New files.
13563         * configure: Generated.
13565 Copyright (C) 2007-2024 Free Software Foundation, Inc.
13567 Copying and distribution of this file, with or without modification,
13568 are permitted in any medium without royalty provided the copyright
13569 notice and this notice are preserved.